/* Фотокабинка — fotokabinka.com */
:root {
  color-scheme: light;
  --bg: #fff8f1;
  --surface: #ffffff;
  --surface-2: #fff0f3;
  --ink: #1d1030;
  --ink-2: #4a3f5c;
  --primary: #e11d48;
  --primary-dark: #be123c;
  --on-primary: #ffffff;
  --accent: #ffc83d;
  --accent-soft: #fff3cc;
  --blue: #2563eb;
  --line: #f1dce2;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(29, 16, 48, .25);
  --shadow-lg: 0 24px 60px -20px rgba(29, 16, 48, .35);
  --font-head: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary-dark); text-underline-offset: 3px; }
a:hover { color: var(--primary); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s;
  touch-action: manipulation;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 10px 24px -10px rgba(225, 29, 72, .7); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: scale(.97); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 241, .9); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.logo:hover { color: var(--ink); }
.logo svg { width: 38px; height: 38px; }
.logo span b { color: var(--primary); font-weight: 800; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; white-space: nowrap; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); color: var(--primary-dark); }
.header-cta { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; margin: auto; }

@media (max-width: 1120px) {
  .menu-toggle { display: grid; place-items: center; }
  .header-cta { display: none; }
  .nav { position: absolute; inset: 72px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 20px; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 100px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 61, .55), rgba(255, 200, 61, 0) 65%); z-index: -1;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -30% -15%; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 72, .18), rgba(225, 29, 72, 0) 65%); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: .85rem; color: var(--primary-dark);
  margin-bottom: 20px;
}
.eyebrow svg { width: 16px; height: 16px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; background: var(--accent); z-index: -1; border-radius: 4px; transform: rotate(-1deg); }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; }
.hero-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; min-height: 44px; }
.hero-contact a:hover { color: var(--primary); }
.hero-contact svg { width: 20px; height: 20px; color: var(--primary); }

/* Photo strip illustration */
.strip-wrap { position: relative; display: flex; justify-content: center; gap: 22px; }
.strip {
  background: #fff; padding: 12px 12px 18px; border-radius: 6px; box-shadow: var(--shadow-lg);
  display: grid; gap: 10px; width: 200px; transform: rotate(-5deg);
}
.strip.alt { transform: rotate(6deg) translateY(40px); }
.strip .frame { aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; }
.strip .frame svg { width: 100%; height: 100%; }
.strip figcaption { font-family: var(--font-head); font-weight: 700; font-size: .72rem; text-align: center; color: var(--ink-2); letter-spacing: .02em; }
.sticker {
  position: absolute; z-index: 2; background: var(--accent); color: var(--ink); font-family: var(--font-head); font-weight: 800;
  font-size: .9rem; line-height: 1.15; text-align: center; width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center; padding: 12px; box-shadow: var(--shadow); transform: rotate(-12deg);
  top: -18px; right: 0;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .strip-wrap { margin-top: 10px; }
  .strip { width: 160px; }
}
@media (max-width: 420px) { .strip { width: 136px; } .sticker { width: 96px; height: 96px; font-size: .78rem; } }

/* Trust strip */
.trust { background: var(--ink); color: #fff; padding: 22px 0; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .98rem; }
.trust svg { width: 28px; height: 28px; color: var(--accent); flex: none; }
@media (max-width: 860px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .trust ul { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.kicker { display: inline-block; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); margin-bottom: 12px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.section-alt .card { background: var(--bg); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--ink-2); margin-bottom: 0; }
.icon-badge { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: var(--surface-2); color: var(--primary); }
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge.y { background: var(--accent-soft); color: #9a6a00; }
.icon-badge.b { background: #e6eeff; color: var(--blue); }

/* Booth cards */
.booth { position: relative; display: flex; flex-direction: column; }
.booth .art { border-radius: 14px; overflow: hidden; margin: -8px -8px 22px; aspect-ratio: 16 / 10; }
.booth .art svg { width: 100%; height: 100%; }
.booth ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.booth li { display: flex; gap: 10px; color: var(--ink-2); font-size: .98rem; }
.booth li svg { width: 20px; height: 20px; color: var(--primary); flex: none; margin-top: 3px; }
.badge { position: absolute; top: 18px; right: 18px; z-index: 1; background: var(--accent); color: var(--ink); font-weight: 800; font-size: .78rem; padding: 6px 12px; border-radius: 999px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 16px;
}
.steps p { color: var(--ink-2); margin: 0; font-size: .98rem; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan.featured p, .plan.featured li { color: rgba(255, 255, 255, .85); }
.plan.featured .price { color: var(--accent); }
.plan .price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1; margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 1rem; font-weight: 700; }
.plan .meta { font-weight: 700; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; color: var(--ink-2); }
.plan li svg { width: 20px; height: 20px; color: var(--primary); flex: none; margin-top: 3px; }
.plan.featured li svg { color: var(--accent); }
.plan .btn { width: 100%; }
.addons { margin-top: 30px; background: var(--accent-soft); border-radius: var(--radius); padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; align-items: center; }
.addons h3 { margin: 0; }
.addons ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.addons li { background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .95rem; }
.addons li b { color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.note { color: var(--ink-2); font-size: .95rem; margin-top: 18px; }
@media (max-width: 760px) { .addons { grid-template-columns: 1fr; } }

/* Areas */
.city-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.city-card:hover { color: var(--ink); }
.city-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.city-card h3 svg { width: 22px; height: 22px; color: var(--primary); transition: transform .2s; }
.city-card:hover h3 svg { transform: translateX(4px); }
.city-card .dist { display: inline-block; font-size: .85rem; font-weight: 800; color: var(--primary-dark); background: var(--surface-2); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; align-self: flex-start; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; }
.tags li { font-size: .88rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.section-alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 800; font-size: 1.05rem; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-2); }
.faq .answer p:last-child { margin: 0; }

/* Contact */
.contact { background: linear-gradient(135deg, var(--primary) 0%, #9f1239 100%); color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.contact h2 { color: #fff; }
.contact > div > p { color: rgba(255, 255, 255, .9); font-size: 1.1rem; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; text-decoration: none; min-height: 44px; }
.contact-list a:hover { color: var(--accent); }
.contact-list svg { width: 22px; height: 22px; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .92rem; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #d9cfdf; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(225, 29, 72, .15); }
.field .error { color: #b91c1c; font-size: .88rem; font-weight: 700; min-height: 0; }
.field.invalid input, .field.invalid select { border-color: #b91c1c; }
.form .btn { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 700; color: #15803d; }
.form-hint { grid-column: 1 / -1; margin: 0; font-size: .88rem; color: var(--ink-2); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* Breadcrumbs (city pages) */
.breadcrumbs { font-size: .9rem; font-weight: 700; color: var(--ink-2); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--primary); }
.breadcrumbs a { color: var(--ink-2); }

.prose { max-width: 72ch; }
.prose p { color: var(--ink-2); font-size: 1.08rem; }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.aside-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px; position: sticky; top: 96px; }
.aside-card h3 { color: #fff; }
.aside-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.aside-card li { display: flex; gap: 10px; color: rgba(255, 255, 255, .88); }
.aside-card li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.aside-card .btn { width: 100%; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 64px 0 110px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: var(--accent); }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
@media (min-width: 1121px) { .site-footer { padding-bottom: 40px; } }

/* Mobile sticky CTA */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(29, 16, 48, .3); }
.mobile-cta .btn { flex: 1; min-height: 48px; padding: 0 12px; }
@media (max-width: 1120px) { .mobile-cta { display: flex; } }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.booths .booth .art { aspect-ratio: 16 / 8; }
.hero-grid > *, .two-col > * { min-width: 0; }
.hero-contact a { overflow-wrap: anywhere; }
