/* ===== Шрифты (self-hosted, кириллица + латиница) ===== */
@font-face { font-family: 'Unbounded'; src: url('/fonts/unbounded-cyrillic.woff2') format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; src: url('/fonts/unbounded-latin.woff2') format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-cyrillic.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ===== Токены ===== */
:root {
  --brand: #1ad1d5;          /* бирюзовый из логотипа клиента */
  --brand-300: #8eeef0;
  --brand-100: #dcfafa;
  --brand-50: #f0fdfd;
  --brand-700: #087d82;      /* для текста на светлом — контраст ≥ 4.5 (4.73 на --brand-50, 4.92 на белом) */
  --deep: #06303a;
  --deep-2: #0b4a55;
  --deep-3: #0f6a73;
  --ink: #0c2a33;
  --muted: #4d6971;
  --line: rgba(12, 42, 51, .1);
  --bg: #f6fcfc;
  --surface: #fff;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(6, 48, 58, .06), 0 12px 32px -12px rgba(6, 48, 58, .18);
  --shadow-lg: 0 30px 60px -20px rgba(6, 48, 58, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-d: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 72px;
}

/* ===== База ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-d); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.ico { width: 22px; height: 22px; flex: none; }
.ico--flip { transform: scaleX(-1); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--deep); color: #fff; border-radius: 10px; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 880px; }
.section { padding: 72px 0; position: relative; }
.section--tight { padding: 40px 0 72px; }
sup { font-size: .65em; }
[hidden] { display: none !important; }

/* ===== Плашка «нужно от клиента» (только рабочая версия) ===== */
.todo { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1.5px dashed #e8a33d; border-radius: 8px; background: rgba(255, 196, 92, .14); color: #8a5300; font-size: .82em; font-weight: 600; line-height: 1.5; white-space: normal; cursor: help; }
.footer .todo, .hero .todo, body[data-page="/"] .header:not(.is-scrolled):not(.menu-open) .todo, body[data-page="/404.html"] .header:not(.is-scrolled) .todo { color: #ffd38a; background: rgba(255, 196, 92, .1); }
.header .todo { font-size: 12px; }

/* ===== Кнопки ===== */
.btn { --bg: var(--surface); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--bg); color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .2s; }
.btn .ico { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover .ico:not(.ico--flip) { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--primary { --bg: var(--brand); color: var(--deep); box-shadow: 0 10px 30px -10px rgba(26, 209, 213, .8); }
.btn--primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .65) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(26, 209, 213, .95); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--glass { --bg: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn--glass:hover { --bg: rgba(255, 255, 255, .18); }
.btn--ghost { --bg: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { --bg: var(--brand-50); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 16px 28px; font-size: 17px; }
.btn--block { width: 100%; }

/* ===== Шапка ===== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: #fff; transition: background-color .35s, box-shadow .35s, color .35s, backdrop-filter .35s; }
.header__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.header.is-scrolled, body:not([data-page="/"]) .header { background: rgba(246, 252, 252, .82); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
body:not([data-page="/"]) .header:not(.is-scrolled) { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__mark { width: 40px; height: 40px; transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-12deg) translateY(-2px); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text b { font-family: var(--font-d); font-weight: 700; font-size: 19px; letter-spacing: .04em; }
.logo__text small { font-size: 12px; opacity: .75; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color .2s; }
.nav a:hover, .nav a[aria-current] { background: rgba(26, 209, 213, .16); }
.nav__mobile-extra { display: none; }
.header__cta { display: flex; align-items: center; gap: 16px; }
.header__phone, .nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(26, 209, 213, .16); cursor: pointer; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 72px; color: #fff; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, var(--deep-3) 0%, var(--deep-2) 35%, var(--deep) 75%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero__glow--1 { width: 520px; height: 520px; right: -80px; top: 10%; background: var(--brand); animation: drift 14s ease-in-out infinite alternate; }
.hero__glow--2 { width: 380px; height: 380px; left: -120px; bottom: -120px; background: #2a7fbf; opacity: .35; animation: drift 18s ease-in-out infinite alternate-reverse; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; font-weight: 600; }
.hero__mini-bubbles { position: relative; display: inline-block; flex: 0 0 24px; width: 24px; height: 26px; }
.hero__mini-bubbles i { position: absolute; bottom: 0; left: 2px; width: 9px; height: 9px; border: 1px solid var(--brand-300); border-radius: 50%; background: radial-gradient(circle at 30% 25%, var(--surface) 0 8%, transparent 24%), radial-gradient(circle at 65% 75%, var(--brand), transparent 75%); opacity: 0; animation: heroBubbleRise 3s linear infinite; }
.hero__mini-bubbles i:nth-child(2) { left: 13px; width: 6px; height: 6px; animation-delay: -1s; }
.hero__mini-bubbles i:nth-child(3) { left: 8px; width: 11px; height: 11px; animation-delay: -2s; }
@keyframes heroBubbleRise { 0% { transform: translate(0, 2px) scale(.7); opacity: 0; } 20% { opacity: .9; } 70% { opacity: .8; } 100% { transform: translate(3px, -20px) scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__mini-bubbles i { animation: none; opacity: .8; } .hero__mini-bubbles i:nth-child(2) { bottom: 15px; } .hero__mini-bubbles i:nth-child(3) { bottom: 5px; } }
.hero__title { margin: 22px 0 20px; font-size: clamp(34px, 5.2vw, 66px); font-weight: 600; }
.hero__accent { display: block; background: linear-gradient(90deg, var(--brand) 0%, #b8fbfc 50%, var(--brand) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
.hero__lead { max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .82); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__promises { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 36px 0 0; padding: 0; list-style: none; font-size: 15px; color: rgba(255, 255, 255, .85); }
.hero__promises li { display: inline-flex; align-items: center; gap: 8px; }
.hero__promises .ico { color: var(--brand); }
.hero__art { position: relative; aspect-ratio: 420 / 575; max-height: 640px; justify-self: center; width: 100%; max-width: 440px; }
.jelly { width: 100%; height: 100%; overflow: visible; }
.jelly__body { animation: swim 7s ease-in-out infinite; transform-origin: 200px 160px; }
.jelly__bell { animation: pulse 3.5s ease-in-out infinite; transform-origin: 200px 200px; }
.jelly .t { transform-origin: top center; transform-box: fill-box; animation: sway 4s ease-in-out infinite; }
.jelly .t6 { animation-delay: -.8s; animation-duration: 4.6s; }
.jelly .t3 { animation-delay: -1.6s; animation-duration: 5s; }
.jelly .t7 { animation-delay: -2.4s; animation-duration: 4.3s; }
.jelly .t8 { animation-delay: -1.1s; animation-duration: 3.8s; }
.jelly .t9 { animation-delay: -2.9s; animation-duration: 4.1s; }
.jelly .oral { transform-box: fill-box; transform-origin: top center; animation: sway 5.5s ease-in-out infinite; }
.jelly .o2 { animation-delay: -2s; animation-duration: 6s; }
.jelly .o3 { animation-delay: -3.5s; animation-duration: 4.8s; }
/* Уплывание при скролле: main.js двигает купол рывками (сжатие → толчок → скольжение). */
.hero .jelly { translate: var(--jx, 0) var(--jy, 0); rotate: var(--jr, 0deg); scale: var(--js, 1); opacity: var(--jo, 1); transform-origin: 50% 30%; }
.jelly__bell { scale: calc(1 - .16 * var(--jc, 0)) calc(1 + .1 * var(--jc, 0)); }
.jelly__tentacles, .jelly__oral { transform-box: view-box; transform-origin: 200px 215px; scale: calc(1 - .12 * var(--jc, 0)) calc(1 + .1 * var(--jc, 0)); }
.jelly .arm { translate: 0 calc(var(--jc, 0) * 14px); }
.jelly .arm { transform-box: view-box; animation: hold 5s ease-in-out infinite; }
.jelly .arm--sponge { animation-duration: 4.4s; animation-delay: -1.2s; }
.jelly .arm--mop { animation-duration: 5.6s; animation-delay: -2.6s; }
.jelly .arm--bucket { animation-duration: 4.8s; animation-delay: -3.4s; }
.jelly .mist circle { transform-box: fill-box; transform-origin: center; opacity: 0; animation: mist 3.2s ease-out infinite; }
.jelly .mist circle:nth-child(2) { animation-delay: .08s; } .jelly .mist circle:nth-child(3) { animation-delay: .16s; }
.jelly .mist circle:nth-child(4) { animation-delay: .12s; } .jelly .mist circle:nth-child(5) { animation-delay: .2s; }
.jelly .foam circle { transform-box: fill-box; transform-origin: center bottom; animation: foam 2.4s ease-in-out infinite; }
.jelly .foam circle:nth-child(2) { animation-delay: -.6s; } .jelly .foam circle:nth-child(3) { animation-delay: -1.2s; } .jelly .foam circle:nth-child(4) { animation-delay: -1.8s; }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 20px 40px -20px rgba(0, 0, 0, .5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, .85); animation: float 6s ease-in-out infinite; }
.chip b { display: block; font-family: var(--font-d); font-size: 16px; font-weight: 600; color: #fff; }
.chip .ico { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--brand); color: var(--deep); }
.chip--1 { left: -30%; top: 4%; }
.chip--2 { left: -30%; bottom: 4%; animation-delay: -3s; }

/* Пузырьки */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bubbles span { position: absolute; bottom: -40px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .15) 40%, rgba(26, 209, 213, .1) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); animation: rise var(--d) linear infinite; animation-delay: var(--delay); opacity: .7; }

/* Бегущая строка */
.marquee-wrap { position: relative; z-index: 2; margin-top: -34px; padding: 12px 0 20px; overflow: hidden; }
.marquee { overflow: hidden; background: var(--brand); color: var(--deep); padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -20px; box-shadow: 0 10px 30px -10px rgba(26, 209, 213, .6); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--font-d); font-weight: 600; font-size: clamp(18px, 2.2vw, 26px); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee__track i { font-style: normal; opacity: .55; }

/* ===== Заголовки секций ===== */
.s-head { max-width: 720px; margin-bottom: 44px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700); }
.eyebrow::before { content: ''; width: 28px; height: 18px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 18'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.6'%3E%3Ccircle cx='5' cy='12.5' r='3.4'/%3E%3Ccircle cx='14' cy='7' r='5'/%3E%3Ccircle cx='23.5' cy='11.5' r='2.6'/%3E%3C/g%3E%3Cg fill='%23000'%3E%3Ccircle cx='4' cy='11.3' r='1'/%3E%3Ccircle cx='12.3' cy='5.3' r='1.4'/%3E%3Ccircle cx='22.8' cy='10.6' r='.8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 18'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.6'%3E%3Ccircle cx='5' cy='12.5' r='3.4'/%3E%3Ccircle cx='14' cy='7' r='5'/%3E%3Ccircle cx='23.5' cy='11.5' r='2.6'/%3E%3C/g%3E%3Cg fill='%23000'%3E%3Ccircle cx='4' cy='11.3' r='1'/%3E%3Ccircle cx='12.3' cy='5.3' r='1.4'/%3E%3Ccircle cx='22.8' cy='10.6' r='.8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; animation: bob 3.2s ease-in-out infinite; }
.eyebrow .ico { width: 18px; height: 18px; }
.eyebrow--light { color: var(--brand); }
.s-title { font-size: clamp(28px, 3.6vw, 46px); }
.s-title--light { color: #fff; }
.s-text { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 620px; }

/* ===== Карточки услуг ===== */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card { --mx: 50%; --my: 50%; position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 12px; min-height: 260px; padding: 28px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(26, 209, 213, .2), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.cards > .card:nth-child(1), .cards > .card:nth-child(2) { grid-column: span 3; }
.cards > .card:nth-child(1) { background: linear-gradient(150deg, var(--deep-2), var(--deep)); color: #fff; }
.cards > .card:nth-child(1) .card__text { color: rgba(255, 255, 255, .75); }
.card__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: var(--brand-100); color: var(--brand-700); transition: transform .5s var(--ease); }
.cards > .card:nth-child(1) .card__ico { background: rgba(26, 209, 213, .18); color: var(--brand); }
.card:hover .card__ico { transform: rotate(-8deg) scale(1.06); }
.card__ico .ico { width: 28px; height: 28px; }
.card__title { font-size: 22px; margin-top: 8px; }
.card__text { color: var(--muted); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; }
.card__price { font-family: var(--font-d); font-weight: 600; font-size: 15px; }
.card__go { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--deep); transition: transform .5s var(--ease); }
.card:hover .card__go { transform: rotate(-45deg); }

/* 9 услуг: сетка 3 × 3 — первые две тоже по трети (только в 6-колоночной сетке) */
@media (min-width: 901px) { .cards > .card:nth-child(1):nth-last-child(9), .cards > .card:nth-child(2):nth-last-child(8) { grid-column: span 2; } }

/* ===== До / После ===== */
.works-sec { background: linear-gradient(180deg, var(--bg), var(--brand-50)); }
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work { margin: 0; }
.work figcaption { margin-top: 12px; font-weight: 700; }
.work__media { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--brand-100); cursor: pointer; box-shadow: var(--shadow); }
.work--single .work__media { cursor: default; }
.work__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work__after { clip-path: inset(0 0 0 100%); transition: clip-path .9s var(--ease), transform 1.2s var(--ease) !important; }
.work__media:hover img { transform: scale(1.04); }
.work__media[aria-pressed="true"] .work__after { clip-path: inset(0 0 0 0); }
.work__tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; transition: opacity .4s, transform .5s var(--ease); }
.work__tag--before { background: rgba(6, 48, 58, .75); color: #fff; backdrop-filter: blur(6px); }
.work__tag--after { background: var(--brand); color: var(--deep); opacity: 0; transform: translateY(-8px); }
.work__media[aria-pressed="true"] .work__tag--before { opacity: 0; }
.work__media[aria-pressed="true"] .work__tag--after { opacity: 1; transform: none; }
.work__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--deep); font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.work__hint .ico { width: 18px; height: 18px; color: var(--brand-700); }
.work__media:hover .work__hint { transform: translateX(-50%) translateY(-3px); }
/* Луч-«шторка», пробегающий при переключении */
.work__media::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: #fff; box-shadow: 0 0 24px 6px rgba(26, 209, 213, .9); opacity: 0; pointer-events: none; }
.work__media.is-wiping::after { animation: wipe .9s var(--ease); }

/* ===== Зоны ===== */
.zones { padding: 12px; border-radius: calc(var(--radius) + 8px); background: var(--surface); box-shadow: var(--shadow); }
.zones__tabs { position: relative; display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--brand-50); overflow-x: auto; scrollbar-width: none; }
.zones__tab { position: relative; z-index: 1; flex: 1; min-height: 48px; padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; cursor: pointer; white-space: nowrap; transition: color .3s; }
.zones__tab[aria-selected="true"] { color: var(--deep); }
.zones__ink { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--brand); box-shadow: 0 8px 20px -8px rgba(26, 209, 213, .9); transition: transform .5s var(--ease), width .5s var(--ease); }
.zones__panel { padding: 28px 20px 16px; }
.checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.checklist .ico { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); }
.zones__panel:not([hidden]) .checklist li { animation: pop .5s var(--ease) both; }
.zones__panel .checklist li:nth-child(2) { animation-delay: .05s; } .zones__panel .checklist li:nth-child(3) { animation-delay: .1s; }
.zones__panel .checklist li:nth-child(4) { animation-delay: .15s; } .zones__panel .checklist li:nth-child(5) { animation-delay: .2s; }
.zones__panel .checklist li:nth-child(6) { animation-delay: .25s; }
.checklist--big { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; font-size: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.s-text a { color: var(--brand-700); font-weight: 700; }
/* Доп. услуги и цены под чек-листом зоны */
.zones__extra { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--line); }
.zones__extra-t { margin: 28px 0 0; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.zones__extra .zones__extra-t { margin-top: 0; }
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 8px 0 0; padding: 0; list-style: none; }
.prices li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.prices b { font-family: var(--font-d); font-weight: 600; white-space: nowrap; color: var(--deep); }
.inc__text .prices { grid-template-columns: 1fr; max-width: 520px; }
.zones__cta { margin-top: 32px; text-align: center; }
.nolist { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.nolist li { padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; }
.svc-note { margin-top: 24px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--brand-50); }

/* ===== Подход ===== */
.approach-sec { background: var(--deep); color: #fff; overflow: hidden; }
.approach-sec::before { content: ''; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%; background: var(--brand); filter: blur(120px); opacity: .22; }
.approach-sec .s-title { color: #fff; }
.approach-sec .eyebrow { color: var(--brand); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; margin: 0 0 20px; padding: 0; list-style: none; }
.stats__item { display: flex; flex-direction: column; gap: 6px; padding: 24px 28px; border-radius: var(--radius); background: rgba(26, 209, 213, .12); box-shadow: inset 0 0 0 1px rgba(26, 209, 213, .35); }
.stats__item b { font-family: var(--font-d); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; color: var(--brand); }
.stats__item span { color: rgba(255, 255, 255, .78); }
.approach { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.approach__item { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .4s, transform .5s var(--ease); }
.approach__item:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.approach__ico { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 16px; background: var(--brand); color: var(--deep); }
.approach__ico .ico { width: 26px; height: 26px; }
.approach__item h3 { font-size: 19px; margin-bottom: 10px; }
.approach__item p { color: rgba(255, 255, 255, .72); font-size: 16px; }

/* ===== Шаги ===== */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; position: relative; }
.steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 36px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 10px, transparent 10px 20px); opacity: .5; }
.step { position: relative; padding: 0 8px; }
.step__n { position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 2px var(--brand); font-family: var(--font-d); font-weight: 600; font-size: 20px; color: var(--brand-700); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ===== Квиз ===== */
.quiz-sec { background: linear-gradient(180deg, var(--brand-50), var(--bg)); }
.quiz-sec__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.quiz-sec__box { padding: 32px; border-radius: calc(var(--radius) + 8px); background: var(--surface); box-shadow: var(--shadow-lg); }
.quiz__top { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.quiz__count { font-family: var(--font-d); font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; }
.quiz__bar { flex: 1; height: 6px; border-radius: 6px; background: var(--brand-100); overflow: hidden; }
.quiz__bar span { display: block; width: 20%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brand-700), var(--brand)); transition: width .6s var(--ease); }
.quiz__step { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.quiz__step.is-active { display: block; animation: stepIn .55s var(--ease); }
.quiz__step.is-back { animation-name: stepBack; }
.quiz__step legend { padding: 0; margin-bottom: 20px; font-family: var(--font-d); font-weight: 600; font-size: 22px; }
.quiz__step legend small { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.opts--grid { grid-template-columns: repeat(2, 1fr); }
.opts--inline { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt__box { display: flex; align-items: center; gap: 12px; min-height: 58px; height: 100%; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--brand-50); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; line-height: 1.3; transition: box-shadow .25s, background-color .25s, transform .3s var(--ease); }
.opts--inline .opt__box { min-height: 46px; padding: 10px 18px; border-radius: 999px; }
.opt__box .ico { color: var(--brand-700); }
.opt:hover .opt__box { box-shadow: inset 0 0 0 1.5px var(--brand); }
.opt input:checked + .opt__box { background: var(--brand-100); box-shadow: inset 0 0 0 2px var(--brand-700); transform: scale(.985); }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--brand); outline-offset: 2px; }
.quiz__contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__sub { margin: 18px 0 10px; font-weight: 700; }
.quiz__nav { display: flex; gap: 12px; margin-top: 28px; }
.quiz__nav [data-quiz-next], .quiz__nav [data-quiz-submit] { margin-left: auto; }
.quiz.is-shake .quiz__step.is-active { animation: shake .4s; }

/* ===== Поля и формы ===== */
.field { position: relative; }
.field input { width: 100%; height: 60px; padding: 24px 18px 8px; border: 0; border-radius: var(--radius-sm); background: var(--brand-50); box-shadow: inset 0 0 0 1.5px var(--line); font: inherit; color: var(--ink); transition: box-shadow .25s; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brand-700); }
.field label { position: absolute; left: 18px; top: 19px; color: var(--muted); pointer-events: none; transition: transform .25s var(--ease), font-size .25s; transform-origin: left top; }
.field input:focus + label, .field input:not(:placeholder-shown) + label { transform: translateY(-11px); font-size: 12px; font-weight: 700; }
.field-error { display: block; margin: 6px 2px 0; color: #a31d35; font-size: 13px; line-height: 1.4; }
.field.is-invalid input { box-shadow: inset 0 0 0 2px #d6455d; }
.consent { display: flex; gap: 10px; margin-top: 16px; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--brand-700); }
.consent.is-invalid { color: #b3263f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form { display: grid; gap: 12px; padding: 32px; border-radius: calc(var(--radius) + 8px); background: var(--surface); box-shadow: var(--shadow-lg); }
.lead-form__title { font-family: var(--font-d); font-weight: 600; font-size: 22px; margin-bottom: 8px; }
.lead-form .btn { margin-top: 8px; }
.form-result { margin-top: 16px; padding: 16px 18px; border-radius: var(--radius-sm); background: #fff6e6; box-shadow: inset 0 0 0 1.5px #f0c27a; font-size: 15px; line-height: 1.5; animation: pop .5s var(--ease); }
.form-result.is-ok { background: var(--brand-50); box-shadow: inset 0 0 0 1.5px var(--brand); }

/* ===== Фото-CTA ===== */
.photo-cta { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 48px; border-radius: calc(var(--radius) + 12px); background: radial-gradient(120% 140% at 0% 0%, var(--deep-3), var(--deep) 70%); color: rgba(255, 255, 255, .82); overflow: hidden; }
.photo-cta__text { position: relative; }
.photo-cta__text p:last-child { margin-top: 14px; font-size: 18px; }
.photo-cta__btns { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.msg { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; font-weight: 700; text-decoration: none; transition: background-color .25s, transform .35s var(--ease); }
a.msg:hover { background: var(--brand); color: var(--deep); transform: translateY(-2px); }
.msg--todo { border: 1.5px dashed #e8a33d; font-size: 16px; }
.contacts .msg { background: var(--brand-50); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.contacts .msg--todo { color: #8a5300; }

/* ===== Финальная заявка ===== */
.final { background: linear-gradient(180deg, var(--bg), var(--brand-100)); }
.final__in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ticks { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--brand); color: var(--deep); }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.faq__item summary { display: flex; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { flex: 1; font-family: var(--font); font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.faq__ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); transition: transform .45s var(--ease), background-color .3s; }
.faq__item[open] .faq__ico { transform: rotate(45deg); background: var(--brand); color: var(--deep); }
.faq__a { padding: 0 24px 22px; color: var(--muted); }
.faq__item[open] .faq__a { animation: fadeDown .45s var(--ease); }

/* ===== Внутренние страницы ===== */
.page-hero { position: relative; padding: calc(var(--header-h) + 48px) 0 64px; background: radial-gradient(100% 120% at 100% 0%, var(--brand-100), var(--bg) 60%); overflow: hidden; }
.page-hero .bubbles span { background: radial-gradient(circle at 30% 30%, #fff, rgba(26, 209, 213, .25) 60%); box-shadow: inset 0 0 0 1px rgba(26, 209, 213, .4); }
.page-hero > .container { position: relative; }
.page-hero--plain { padding-bottom: 24px; }
.page-hero__title { font-size: clamp(30px, 4.4vw, 56px); max-width: 900px; margin-top: 18px; }
.page-hero__lead { margin-top: 20px; max-width: 760px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); }
.page-hero__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.svc-art { position: relative; justify-self: center; width: 100%; max-width: 340px; }
.svc-art__main { position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(2deg); animation: float 7s ease-in-out infinite; }
.svc-art__main img { width: 100%; height: auto; }
.svc-art__thumb { position: absolute; left: -18%; bottom: 8%; width: 46%; border-radius: 20px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow-lg); transform: rotate(-6deg); animation: float 7s ease-in-out infinite -3.5s; }
.svc-art .work__tag { opacity: 1; transform: none; }
.svc-art--jelly { max-width: 260px; filter: drop-shadow(0 30px 40px rgba(26, 209, 213, .45)); }
.page-hero__ico { display: grid; place-items: center; width: 64px; height: 64px; margin-top: 28px; border-radius: 20px; background: var(--brand); color: var(--deep); box-shadow: 0 16px 30px -12px rgba(26, 209, 213, .9); }
.page-hero__ico .ico { width: 32px; height: 32px; }
.price-badge { display: inline-flex; align-items: center; min-height: 58px; padding: 12px 22px; border-radius: 999px; background: var(--deep); color: #fff; font-family: var(--font-d); font-weight: 600; font-size: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; font-weight: 600; color: var(--brand-700); }
.crumbs a:hover { text-decoration: underline; }
.inc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.inc__aside { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: calc(var(--radius) + 8px); background: linear-gradient(160deg, var(--deep-2), var(--deep)); color: #fff; }
.inc__aside-title { font-family: var(--font-d); font-weight: 600; font-size: 24px; line-height: 1.2; }
.inc__aside .ticks { margin-bottom: 28px; }
.related { background: var(--brand-50); }
.related .cards > .card { grid-column: span 3; }
.related .cards > .card:nth-child(1) { background: var(--surface); color: var(--ink); }
.related .cards > .card:nth-child(1) .card__text { color: var(--muted); }
.related .cards > .card:nth-child(1) .card__ico { background: var(--brand-100); color: var(--brand-700); }
.contacts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.contacts__card, .legal-card { padding: 36px; border-radius: calc(var(--radius) + 8px); background: var(--surface); box-shadow: var(--shadow); }
.contacts__h { font-size: 24px; margin-bottom: 20px; }
.contacts__list { display: grid; grid-template-columns: max-content 1fr; gap: 14px 24px; margin: 0; }
.contacts__list dt { color: var(--muted); font-weight: 600; }
.contacts__list dd { margin: 0; font-weight: 700; }
.contacts__list a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.contacts__msg { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.footnote { margin-top: 20px; font-size: 13px; color: var(--muted); }
.prose { font-size: 17px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose p { color: #2c4850; }
.prose a { color: var(--brand-700); font-weight: 600; }
.nf { text-align: center; display: flex; flex-direction: column; align-items: center; }
.nf .page-hero__lead { margin-inline: auto; }
.nf .page-hero__btns { justify-content: center; }
.nf__jelly { width: 180px; filter: drop-shadow(0 20px 30px rgba(26, 209, 213, .4)); }
.page-hero--404 { min-height: 80svh; display: flex; align-items: center; background: radial-gradient(120% 90% at 50% 0%, var(--deep-3), var(--deep) 70%); color: #fff; }
.page-hero--404 .page-hero__lead { color: rgba(255, 255, 255, .8); }
body[data-page="/404.html"] .header { color: #fff; }

/* ===== Подвал ===== */
.footer { padding: 64px 0 120px; background: var(--deep); color: rgba(255, 255, 255, .72); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.logo--light { color: #fff; }
.footer__slogan { margin: 18px 0; font-family: var(--font-d); font-size: 18px; color: #fff; }
.footer__insta { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; }
.footer__insta:hover { color: var(--brand); }
.footer__title { margin-bottom: 14px; font-weight: 800; color: #fff; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.footer__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: var(--brand); }
.footer__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; }
.footer__note { flex-basis: 100%; order: 3; opacity: .7; }
.footer__studio { color: var(--brand); font-weight: 700; }

/* ===== Мобильная CTA-панель, cookie, диалог ===== */
.mobile-cta { display: none; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 16px; max-width: 620px; margin: 0 auto; padding: 14px 16px 14px 20px; border: 1px solid rgba(164, 221, 222, .45); border-radius: 18px; background: rgba(5, 36, 44, .97); color: rgba(255, 255, 255, .9); font-size: 14px; box-shadow: 0 16px 50px rgba(0, 0, 0, .38); backdrop-filter: blur(12px); animation: slideUp .6s var(--ease); }
.cookie__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; flex: 0 0 256px; }
.cookie__actions .btn { width: 100%; min-width: 0; height: 42px; padding-inline: 10px; }
.cookie .btn--ghost { --bg: rgba(255, 255, 255, .1); color: #d7e1e3; box-shadow: inset 0 0 0 1px rgba(215, 225, 227, .45); }
.cookie .btn--ghost:hover { --bg: rgba(255, 255, 255, .18); }
.cookie a { color: var(--brand); }
.cookie[hidden] { display: none; }
.quiz-dialog { width: min(680px, calc(100% - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: calc(var(--radius) + 8px); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; overscroll-behavior: contain; }
.quiz-dialog[open] { animation: dialogIn .5s var(--ease); }
.quiz-dialog::backdrop { background: rgba(6, 48, 58, .55); backdrop-filter: blur(6px); }
.quiz-dialog__in { position: relative; padding: 32px; }
.quiz-dialog__title { font-family: var(--font-d); font-weight: 600; font-size: 24px; margin: 0 48px 20px 0; }
.quiz-dialog__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--brand-50); cursor: pointer; transition: transform .4s var(--ease); }
.quiz-dialog__close:hover { transform: rotate(90deg); }

/* ===== Появление при скролле (только если JS загрузился) ===== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__text > * { animation: heroIn 1s var(--ease) both; }
.js .hero__text > :nth-child(2) { animation-delay: .1s; } .js .hero__text > :nth-child(3) { animation-delay: .2s; }
.js .hero__text > :nth-child(4) { animation-delay: .3s; } .js .hero__text > :nth-child(5) { animation-delay: .4s; }
.js .hero__art { animation: artIn 1.4s var(--ease) both .2s; }

/* ===== Анимации ===== */
@keyframes swim { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-26px) rotate(2deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.04, .95); } }
@keyframes sway { 0%, 100% { transform: rotate(-3deg) skewX(-2deg); } 50% { transform: rotate(3deg) skewX(2deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes hold { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes mist { 0%, 55% { opacity: 0; transform: translate(14px, 4px) scale(.3); } 62% { opacity: .95; } 100% { opacity: 0; transform: translate(-22px, -8px) scale(1.5); } }
@keyframes foam { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18) translateY(-2px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.15); } }
@keyframes rise { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: .7; } 50% { transform: translateY(-50vh) translateX(14px); } 100% { transform: translateY(-105vh) translateX(-10px); opacity: 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wipe { 0% { left: 100%; opacity: 1; } 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes artIn { from { opacity: 0; transform: translateY(60px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .bubbles { display: none; }
}

/* ===== Адаптив ===== */
@media (max-width: 1100px) {
  .nav a { padding: 8px 10px; }
  .header__phone { display: none; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .approach { grid-template-columns: repeat(2, 1fr); }
  .chip { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .burger { display: block; margin-left: auto; }
  .header__cta { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 4px; margin: 0; padding: 16px 20px 24px; background: rgba(246, 252, 252, .98); backdrop-filter: blur(16px); color: var(--ink); box-shadow: 0 20px 40px -20px rgba(6, 48, 58, .35); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .4s var(--ease), opacity .3s, visibility 0s .4s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .4s var(--ease), opacity .3s; }
  .nav a { padding: 14px 12px; font-size: 18px; }
  .nav__mobile-extra { display: grid; gap: 12px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
  .nav__mobile-extra .btn { color: var(--deep); }
  .header.menu-open { background: rgba(246, 252, 252, .98); color: var(--ink); }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 32px); }
  .hero__in { grid-template-columns: 1fr; gap: 8px; }
  .hero__art { order: -1; max-width: 230px; margin: 0 auto -10px; }
  .chip { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card, .cards > .card:nth-child(1), .cards > .card:nth-child(2) { grid-column: span 1; }
  .cards > .card:nth-child(1) { grid-column: span 2; }
  .checklist { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .steps::before { display: none; }
  .quiz-sec__in, .final__in, .inc, .contacts, .photo-cta { grid-template-columns: 1fr; gap: 32px; }
  .inc__aside { position: static; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .svc-art { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: block; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, rgba(246, 252, 252, .95) 35%); transform: translateY(110%); transition: transform .45s var(--ease); }
  .mobile-cta.is-visible { transform: none; }
  .cookie { bottom: 84px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .s-head { margin-bottom: 32px; }
  .hero__btns .btn { width: 100%; }
  .hero__promises { flex-direction: column; gap: 10px; }
  .cards { grid-template-columns: 1fr; }
  .cards > .card:nth-child(1) { grid-column: span 1; }
  .card { min-height: 0; padding: 24px; }
  .works { gap: 12px; }
  .work__hint { font-size: 12px; padding: 8px 12px; bottom: 10px; }
  .work__hint .ico { display: none; }
  .checklist, .prices { grid-template-columns: 1fr; }
  .page-hero__title { font-size: clamp(24px, 8.2vw, 30px); }
  .page-hero__title, .s-title { hyphens: auto; overflow-wrap: anywhere; }
  .zones { padding: 8px; }
  .zones__tab { padding: 8px 6px; font-size: 14px; min-height: 44px; }
  .zones__tabs { gap: 2px; padding: 4px; }
  .zones__ink { top: 4px; bottom: 4px; }
  .approach { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .stats__item { padding: 18px 22px; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 0; }
  .step__n { grid-row: span 2; width: 56px; height: 56px; margin: 0; font-size: 16px; }
  .quiz-sec__box, .lead-form, .quiz-dialog__in, .contacts__card, .legal-card, .inc__aside { padding: 22px; }
  .opts, .opts--grid, .quiz__contacts { grid-template-columns: 1fr; }
  .photo-cta { padding: 28px 22px; }
  .photo-cta__btns { grid-template-columns: 1fr; }
  .contacts__list { grid-template-columns: 1fr; gap: 2px; }
  .contacts__list dd { margin-bottom: 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand { grid-column: auto; }
  .page-hero { padding: calc(var(--header-h) + 28px) 0 48px; }
  .page-hero__btns .btn { width: 100%; }
  .cookie { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie__actions { flex: none; width: 100%; }
}
@media (min-width: 901px) and (max-height: 820px) {
  .hero { padding-top: calc(var(--header-h) + 24px); padding-bottom: 48px; }
  .hero__title { font-size: clamp(34px, 4.2vw, 54px); margin: 16px 0 14px; }
  .hero__btns { margin-top: 24px; }
  .hero__promises { margin-top: 24px; }
  .hero__art { max-height: 540px; max-width: 380px; }
}
@media (min-width: 1800px) {
  .container { max-width: 1400px; }
  body { font-size: 18px; }
}

/* Отзывы: текст доступен без JS, оригинал раскрывается по запросу. */
.reviews-sec { background: var(--brand-50); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; margin-top: 36px; }
.review { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow-wrap: anywhere; }
.review__source { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.7; }
.review blockquote p { margin: 0; }
.review__original { margin-top: 20px; }
.review__original summary { color: var(--brand-700); cursor: pointer; font-weight: 700; padding-block: 10px; }
.review__original img { display: block; width: 100%; height: auto; margin-top: 12px; border-radius: var(--radius-sm); }
.review__note { font-size: 13px; color: var(--muted); margin-top: 20px; }
.reviews-more { display: flex; justify-content: center; margin-top: 36px; }
.reviews-page { padding-top: calc(var(--header-h) + 32px); }
@media (max-width: 1100px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nav a { padding-inline: 8px; } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } .review { padding: 22px; } }

/* Выпадающие услуги: ссылка на раздел и отдельная кнопка раскрытия. */
.nav-services { position: relative; }
.nav-services__head { display: flex; align-items: center; height: 100%; }
.nav-services__toggle { display: grid; place-items: center; width: 28px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; }
.nav-services__toggle:hover { background: var(--brand-100); color: var(--deep); }
.nav-services__toggle .ico { width: 16px; height: 16px; transition: transform .2s; }
.nav-services__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav-services__dropdown { position: absolute; top: 100%; left: 0; width: 340px; max-width: calc(100vw - 32px); padding-top: 12px; color: var(--ink); z-index: 2; }
.nav-services__dropdown[hidden] { display: none; }
.nav-services__dropdown ul { margin: 0; padding: 10px; list-style: none; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-lg); max-height: calc(100dvh - 120px); overflow-y: auto; }
.nav .nav-services__dropdown a { display: block; padding: 11px 14px; border-radius: 8px; font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) {
  .nav { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav-services__head > a { flex: 1; }
  .nav-services__toggle { width: 44px; height: 44px; }
  .nav-services__dropdown { position: static; width: 100%; max-width: none; padding: 0 0 8px; }
  .nav-services__dropdown ul { max-height: none; box-shadow: none; background: var(--brand-50); }
}
