/* BM Detailing Studio · „Тъмната зала“
   Един тъмен фон, осветени неща. Един шрифт (TikTok Sans), един акцент (оранжево) само за записване. */

@font-face { font-family: 'TikTok Sans'; font-style: normal; font-weight: 300 900; font-stretch: 75% 150%; font-display: swap;
  src: url(/assets/fonts/tiktok-sans-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'TikTok Sans'; font-style: normal; font-weight: 300 900; font-stretch: 75% 150%; font-display: swap;
  src: url(/assets/fonts/tiktok-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #18191b;
  --surface: #222427;
  --surface-2: #2b2e32;
  --ink: #eff0f1;
  --muted: #a4a7ac;
  --dim: #8a8d93;            /* неактивни думи: 3:1+ срещу фона */
  --accent: #ff4a1f;
  --accent-hover: #ff6a45;
  --accent-ink: #18191b;
  --paper: #eff0f1;
  --paper-ink: #18191b;
  --paper-muted: #55585e;
  --line: #3a3d42;           /* само за полета във формите */

  --font: 'TikTok Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.25rem, 0.9rem + 8.4vw, 9rem);

  --margin: clamp(1rem, 2.6vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 13vw, 13rem);
  --header-h: 72px;
  --callbar-h: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-exit: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}
@media (max-width: 900px) { :root { --header-h: 60px; --callbar-h: calc(60px + env(safe-area-inset-bottom)); } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.55; font-kerning: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; padding-bottom: var(--callbar-h); overflow-x: clip; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
picture { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:target { scroll-margin-top: calc(var(--header-h) + 1rem); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -100px; z-index: 100; background: var(--paper); color: var(--paper-ink); padding: 12px 16px; }
.skip:focus { top: 12px; }
p { max-width: 36em; text-wrap: pretty; }
.nums { font-variant-numeric: tabular-nums; }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: inherit; text-wrap: balance; hyphens: none; }
.display { font-size: var(--step-display); line-height: 0.92; letter-spacing: -0.01em; font-stretch: 125%; font-weight: 600; text-transform: uppercase; }
.head { font-size: var(--step-head); line-height: 1; letter-spacing: -0.01em; font-stretch: 125%; font-weight: 500; text-transform: uppercase; }
.lead { font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; }
.statement { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); line-height: 1.22; letter-spacing: -0.01em; max-width: 34ch; font-weight: 400; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }

/* за попълване / за потвърждение */
mark.todo { background: rgb(255 74 31 / 0.16); color: #ffb39f; padding: 0.05em 0.3em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.paper mark.todo { background: rgb(255 74 31 / 0.18); color: #a3290b; }
.tbc { text-decoration: underline dotted 1.5px; text-decoration-color: var(--dim); text-underline-offset: 0.22em; cursor: help; }
.legend { color: var(--muted); font-size: var(--step-small); }
.legend .tbc { color: var(--ink); }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }
.cover { width: 100%; height: 100%; object-fit: cover; }
.cover img, picture.cover img { width: 100%; height: 100%; object-fit: cover; }
main { display: block; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 52px; padding: 0 1.5em; font-weight: 600; font-size: var(--step-body); letter-spacing: 0; white-space: nowrap; border-radius: 0; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-dark { background: var(--paper-ink); color: var(--paper); }
.btn-sm { min-height: 42px; padding: 0 1.1em; font-size: var(--step-small); }
.btn .ico { width: 1.15em; height: 1.15em; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-accent:hover { background: var(--accent-hover); }
  .btn-dark:hover { background: #2f3236; }
}
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; }
.link { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.28em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color var(--t-hover) ease; }
.link .ico-arrow { width: 1.1em; height: 1.1em; transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
  .link:hover .ico-arrow { transform: translateX(4px); }
}

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; view-transition-name: site-header; transition: transform 320ms var(--ease-out), background-color 240ms ease; background: var(--bg); }
.site-header.is-clear { background: transparent; }
.site-header.is-hidden { transform: translateY(-100%); }
.bar { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--gutter); padding-inline: var(--margin); }
.wordmark { display: inline-flex; align-items: baseline; gap: 0.6em; justify-self: start; line-height: 1; }
.wm-bm { font-size: 1.6rem; font-weight: 800; font-stretch: 150%; letter-spacing: -0.02em; }
.wm-rest { font-size: var(--step-small); font-weight: 500; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.nav { display: flex; gap: clamp(1.25rem, 2.5vw, 2.5rem); font-size: var(--step-body); font-weight: 500; }
.nav a, .nav-svc { position: relative; display: inline-flex; align-items: center; gap: 0.35em; padding: 0.6em 0; color: var(--ink); }
.nav a::after, .nav-svc::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.25em; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
.nav a[aria-current]::after, .nav-svc[data-current]::after, .nav-svc[aria-expanded='true']::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after, .nav-svc:hover::after { transform: scaleX(1); } }
.chev { width: 0.75em; height: 0.75em; transition: transform var(--t-ui) var(--ease-out); }
.nav-svc[aria-expanded='true'] .chev { transform: rotate(180deg); }
.bar-end { justify-self: end; display: flex; align-items: center; gap: 1.25rem; }
.bar-phone { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 500; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; align-items: center; gap: 0.7em; min-height: 44px; padding: 0 0 0 0.75rem; font-weight: 500; }
.burger { width: 22px; height: 12px; position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.burger::before { top: 0; } .burger::after { bottom: 0; }
.menu-btn[aria-expanded='true'] .burger::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded='true'] .burger::after { transform: translateY(-5px) rotate(-45deg); }

.bar-end .btn.got { animation: got 420ms var(--ease-out); }
@keyframes got { 0% { transform: scale(1.12); } 100% { transform: none; } }

/* услуги: падащ панел */
.svc-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); padding: clamp(1.5rem, 3vw, 2.5rem) var(--margin) clamp(2rem, 4vw, 3rem); opacity: 0; transform: translateY(-8px); transition: opacity 200ms ease, transform 240ms var(--ease-out); }
.svc-panel[data-open] { opacity: 1; transform: none; }
.svc-panel-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.svc-menu { grid-column: 1 / span 8; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); row-gap: 0.25rem; }
.svc-menu a { display: grid; gap: 0.15rem; padding: 0.85rem 1rem 0.85rem 0; transition: color var(--t-hover) ease; }
.m-name { font-size: var(--step-lead); font-weight: 500; }
.m-sub { color: var(--muted); font-size: var(--step-small); line-height: 1.4; }
.svc-menu a[aria-current] .m-name { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .svc-menu a:hover .m-name { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; } }
.svc-preview { grid-column: 10 / span 3; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity 200ms ease; }

/* мобилно меню */
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem var(--margin) calc(var(--callbar-h) + 2rem); opacity: 0; transform: translateY(-12px); transition: opacity 200ms ease, transform 260ms var(--ease-out); }
.mobile-menu[data-open] { opacity: 1; transform: none; }
.mm-in { display: grid; gap: 0.25rem; }
.mm-big { font-size: var(--step-lead); font-weight: 500; font-stretch: 125%; text-transform: uppercase; padding: 0.4rem 0; }
.mm-group { color: var(--muted); font-size: var(--step-small); margin-top: 1rem; }
.mm-svc { display: grid; margin: 0.25rem 0 1rem; }
.mm-svc a { display: block; font-size: var(--step-lead); padding: 0.55rem 0; }
.mm-in a[aria-current] { color: var(--accent); }
.mm-meta { color: var(--muted); margin-top: 1.5rem; font-size: var(--step-small); }

/* мобилна лента: обаждане и Viber, винаги видима */
.callbar { display: none; }
@media (max-width: 900px) {
  .nav, .bar-phone, .bar-end .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .bar { grid-template-columns: 1fr auto; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 60; height: var(--callbar-h); padding-bottom: env(safe-area-inset-bottom); background: var(--surface); view-transition-name: callbar; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 0.45em; padding-inline: 0.5rem; font-weight: 600; font-size: var(--step-small); transition: transform var(--t-press) var(--ease-out); user-select: none; -webkit-user-select: none; touch-action: manipulation; }
  .callbar a:active { transform: scale(0.97); }
  .callbar .ico { width: 1.15em; height: 1.15em; flex: none; }
  .cb-call { color: var(--ink); }
  .cb-viber { background: var(--accent); color: var(--accent-ink); }
}

/* ---------- footer ---------- */
.site-footer { padding: clamp(6rem, 18vh, 12rem) var(--margin) 2rem; }
.foot-name { font-size: 5.6vw; line-height: 0.85; font-weight: 700; font-stretch: 150%; text-transform: uppercase; letter-spacing: -0.02em; color: #66696f; white-space: nowrap; margin-bottom: 2.5rem; }
.foot-line { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem 24px; align-items: baseline; font-size: var(--step-body); }
.foot-what { color: var(--muted); }
.foot-what a, .foot-links a, .foot-legal a { color: var(--ink); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.foot-legal { justify-self: end; color: var(--muted); }
.foot-links a, .foot-legal a, .foot-what a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover, .foot-legal a:hover, .foot-what a:hover { text-decoration-color: currentColor; } }
.foot-credit { margin-top: 1.25rem; color: var(--muted); font-size: var(--step-small); }
@media (max-width: 900px) {
  .foot-line { grid-template-columns: 1fr; gap: 8px; font-size: var(--step-body); }
  .foot-links { justify-content: flex-start; gap: 8px 20px; }
  .foot-legal { justify-self: start; }
}

/* ---------- toast (Viber не се отвори) ---------- */
.toast { position: fixed; z-index: 70; right: var(--margin); bottom: calc(var(--callbar-h) + 1rem); max-width: min(380px, calc(100vw - 2 * var(--margin))); background: var(--paper); color: var(--paper-ink); padding: 1rem 1.1rem; box-shadow: 0 12px 40px rgb(0 0 0 / 0.45); opacity: 0; transform: translateY(12px); transition: opacity 200ms ease, transform 280ms var(--ease-out); }
.toast[data-show] { opacity: 1; transform: none; }
.toast p { font-size: var(--step-small); line-height: 1.45; }
.toast .t-actions { display: flex; gap: 0.75rem; margin-top: 0.75rem; flex-wrap: wrap; }
.toast button, .toast a { font-weight: 600; font-size: var(--step-small); text-decoration: underline; text-underline-offset: 0.25em; }

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-leave 180ms var(--ease-exit) both; }
::view-transition-new(root) { animation: vt-arrive 360ms var(--ease-out) 40ms both; }
@keyframes vt-leave { to { opacity: 0; } }
@keyframes vt-arrive { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ---------- reveal (само ако има JS и анимации) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); }
  .js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 80ms); }
}

/* =========================================================
   НАЧАЛО
   ========================================================= */

/* hero: работна карта върху тъмен бокс */
.hero { position: relative; height: calc(100svh - var(--callbar-h)); min-height: 620px; overflow: clip; display: grid; place-items: center; padding: calc(var(--header-h) + 1rem) var(--margin) clamp(1.5rem, 4vh, 3rem); }
.hero-media { position: absolute; inset: 0; background: #0f1011; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: rgb(12 13 14 / 0.42); }
.card { position: relative; z-index: 2; width: min(58vw, 880px); min-height: min(62svh, 600px); transform-origin: 50% 50%; background: var(--paper); color: var(--paper-ink); padding: clamp(1.25rem, 2.2vw, 2rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 901px) { .card { z-index: 55; } }
.card-title { display: flex; justify-content: space-between; gap: 1rem; font-size: clamp(1.75rem, 0.9rem + 1.9vw, 2.6rem); line-height: 1; font-weight: 750; font-stretch: 150%; text-transform: uppercase; letter-spacing: -0.015em; }
.card-body { display: grid; gap: 1.1em; font-size: clamp(1.25rem, 0.75rem + 1.25vw, 2.1rem); line-height: 1.05; font-weight: 500; letter-spacing: -0.01em; }
.card-facts { display: grid; }
.card-facts span:first-child { font-weight: 650; }
.card-say { max-width: 26ch; color: var(--paper-muted); }
.card-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; font-size: var(--step-small); }
.card-rating { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; }
.card-rating .ico { color: var(--paper-ink); }
.card-rating span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: rgb(24 25 27 / 0.35); }
.card-phone { justify-self: end; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .hero { place-items: end center; padding-bottom: 1rem; min-height: 560px; }
  .card { width: 100%; min-height: min(70svh, 560px); }
  .card-title { display: flex; flex-wrap: wrap; justify-content: start; column-gap: 0.3em; row-gap: 0.06em; font-size: 7.8vw; font-stretch: 135%; line-height: 0.95; }
  .card-body { font-size: clamp(1.15rem, 5.2vw, 1.5rem); }
  .card-foot { grid-template-columns: 1fr auto; }
  .card-foot .btn { grid-column: 1 / -1; grid-row: 2; width: 100%; min-height: 56px; }
}


/* студиото + оценката */
.intro { padding-top: var(--section); }
.intro-grid { row-gap: clamp(3rem, 6vw, 5rem); align-items: end; }
.intro-text { grid-column: 1 / span 7; display: grid; gap: 1.75rem; }
.intro-todo { color: var(--muted); max-width: 52ch; }
.rating { grid-column: 9 / span 4; display: grid; gap: 0.75rem; justify-items: start; }
.rating-num { font-size: clamp(5rem, 2rem + 9vw, 11rem); line-height: 0.8; font-weight: 600; font-stretch: 125%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stars { display: flex; gap: 4px; color: var(--ink); }
.stars .ico { width: 22px; height: 22px; }
.rating p { color: var(--muted); }
.praise { grid-column: 1 / -1; font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); line-height: 1.25; max-width: 44ch; color: var(--muted); }
.praise b { font-weight: 400; color: var(--dim); transition: color 400ms ease; }
.praise b.lit { color: var(--ink); }
.praise .p-open { color: var(--ink); }
@media (max-width: 900px) {
  .intro-text, .rating, .praise { grid-column: 1 / -1; }
  .praise { font-size: var(--step-lead); }
}

/* услугите: залепена снимка + активен списък */
.services { padding-top: var(--section); }
.svc-grid { grid-template-rows: auto 1fr; }
.svc-h { grid-column: 7 / span 6; grid-row: 1; margin-bottom: 2.5rem; padding-top: 2vh; }
.svc-fig { grid-row: 1 / span 2; grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 6vh); aspect-ratio: 4 / 5; overflow: hidden; background: #0f1011; align-self: start; }
.svc-fig picture { position: absolute; inset: 0; opacity: 0; transition: opacity 360ms ease; }
.svc-fig picture.on { opacity: 1; }
.svc-fig img { width: 100%; height: 100%; object-fit: cover; }
.svc-col { grid-column: 7 / span 6; grid-row: 2; }
.svc-rows { display: grid; }
.svc-row > a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.25rem 1.5rem; padding: 1.05rem 0; }
.svc-name { font-size: var(--step-lead); line-height: 1.2; font-weight: 500; color: var(--muted); transition: color 300ms ease; }
.svc-time { font-size: var(--step-small); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc-more { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease-out); }
.svc-more > div { overflow: hidden; }
.svc-more p { color: var(--ink); max-width: 40ch; padding-top: 0.6rem; font-size: var(--step-body); }
.svc-more .link { margin-top: 0.75rem; color: var(--ink); }
.svc-row.on .svc-name { color: var(--ink); }
.svc-row.on .svc-more { grid-template-rows: 1fr; }
.svc-row.on .svc-name::before { content: ''; display: inline-block; width: 0.5em; height: 0.5em; background: var(--accent); margin-right: 0.55em; vertical-align: 0.1em; }
.svc-legend { margin-top: 2rem; }
@media (max-width: 900px) {
  .svc-fig { grid-column: 1 / -1; position: sticky; top: var(--header-h); aspect-ratio: auto; height: 34svh; z-index: 2; margin-inline: calc(var(--margin) * -1); }
  .svc-h { grid-column: 1 / -1; grid-row: auto; margin-bottom: 1.25rem; padding-top: 0; }
  .svc-fig { grid-row: auto; }
  .svc-col { grid-column: 1 / -1; grid-row: auto; padding-top: 1rem; }
  .services .grid { row-gap: 0; grid-template-rows: none; }
  .services { padding-top: calc(var(--section) * 0.8); }
  .services-head { display: block; }
}

/* отблизо: една рамка, три разстояния */
.close { position: relative; height: 300vh; margin-top: var(--section); }
.close-stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: clip; padding-top: var(--header-h); }
.close-in { display: grid; grid-template-columns: minmax(0, 1fr) min(30vw, 54svh) minmax(0, 1fr); column-gap: calc(var(--gutter) * 2); width: 100%; padding-inline: var(--margin); align-items: start; }
.close-h { display: contents; }
.close-top, .close-bot { font-size: clamp(3.5rem, 1rem + 6.6vw, 8.1rem); line-height: 0.9; font-weight: 600; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.015em; text-align: center; white-space: nowrap; }
.close-top { grid-column: 1 / -1; grid-row: 1; margin-bottom: 0.18em; }
.close-bot { grid-column: 1 / -1; grid-row: 3; position: relative; z-index: 2; margin-top: -0.3em; }
.close-frame { grid-column: 2; grid-row: 2; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #0f1011; }
.close-frame picture, .close-frame img { width: 100%; height: 100%; }
.close-frame img { object-fit: cover; object-position: 50% 45%; transform-origin: 50% 50%; transition: transform 900ms var(--ease-in-out), transform-origin 0ms; }
.close-cap { grid-column: 3; grid-row: 2; align-self: end; max-width: 28ch; font-size: var(--step-body); color: var(--ink); padding-bottom: 12%; }
@media (prefers-reduced-motion: no-preference) {
  .js .close .close-bot, .js .close .close-cap { opacity: 0; transform: translateY(20px); transition: opacity 500ms ease, transform 700ms var(--ease-out); }
  .js .close[data-stage='2'] .close-bot, .js .close[data-stage='3'] .close-bot, .js .close[data-stage='3'] .close-cap { opacity: 1; transform: none; }
}
.close[data-stage='2'] .close-frame img { transform: scale(1.8); transform-origin: 48% 50%; }
.close[data-stage='3'] .close-frame img { transform: scale(3.2); transform-origin: 63% 47%; }
@media (prefers-reduced-motion: reduce) {
  .close { height: auto; }
  .close-stage { position: static; height: auto; padding-block: 2rem; }
  .close-frame img { transform: none !important; }
}
@media (max-width: 900px) {
  .close { height: 260vh; }
  .close-in { grid-template-columns: 1fr; justify-items: center; }
  .close-frame { grid-column: 1; width: min(64vw, 40svh); }
  .close-top, .close-bot { font-size: 10.5vw; }
  .close-cap { grid-column: 1; grid-row: 4; align-self: start; max-width: 30ch; text-align: center; margin-top: 1rem; font-size: var(--step-body); padding-bottom: 0; }
}

/* преди и след */
.ba-sec { padding-top: var(--section); }
.ba-head { align-items: end; row-gap: 1.25rem; margin-bottom: 2rem; }
.ba-head h2 { grid-column: 1 / span 6; }
.ba-head .ba-say { grid-column: 7 / span 4; color: var(--muted); }
.ba-tabs { grid-column: 11 / span 2; justify-self: end; display: flex; gap: 0.25rem; }
.ba-tabs button { min-height: 44px; padding: 0 1rem; font-weight: 600; color: var(--muted); background: var(--surface); transition: color var(--t-hover) ease, background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.ba-tabs button:active { transform: scale(0.97); }
.ba-tabs button[aria-selected='true'] { color: var(--paper-ink); background: var(--paper); }
.ba { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0f1011; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-light { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; pointer-events: none; }
.ba-grip { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 64px; margin: -32px 0 0 -22px; background: #fff; color: var(--paper-ink); display: grid; place-items: center; pointer-events: none; }
.ba-grip svg { width: 22px; height: 22px; }
.ba-tag { position: absolute; top: 1rem; padding: 0.35rem 0.6rem; background: rgb(15 16 17 / 0.78); color: var(--ink); font-size: var(--step-small); font-weight: 600; pointer-events: none; }
.ba-tag.l { left: 1rem; } .ba-tag.r { right: 1rem; }
.ba-sample { position: absolute; left: 1rem; bottom: 1rem; padding: 0.35rem 0.6rem; background: var(--paper); color: var(--paper-ink); font-size: var(--step-small); font-weight: 600; pointer-events: none; }
.ba input[type='range'] { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; pointer-events: none; }
.ba:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.ba-cap { margin-top: 1rem; color: var(--muted); font-size: var(--step-small); }
@media (max-width: 900px) {
  .ba-head h2, .ba-head .ba-say, .ba-tabs { grid-column: 1 / -1; justify-self: start; }
  .ba { aspect-ratio: 4 / 5; margin-inline: calc(var(--margin) * -1); }
}

/* процесът: една дума наведнъж */
.verbs { margin-top: var(--section); position: relative; }
/* с JS: една обща залепена сцена над снимките; думата се сменя с превъртане */
.verb-stage { display: none; }
.js .verb-stage { display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.verb-pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.verb-says { position: absolute; left: var(--margin); bottom: calc(var(--margin) + var(--callbar-h)); width: min(30rem, calc(100% - 2 * var(--margin))); height: 6rem; }
.verb-says .verb-text { left: 0; right: auto; bottom: 0; opacity: 0; transition: opacity 300ms ease; }
.verb-says .verb-text.on { opacity: 1; }
.js .verb-own { display: none; }
.verb-line { position: relative; height: 1em; line-height: 1; overflow: hidden; font-size: clamp(3rem, 0.5rem + 11vw, 12.5rem); font-weight: 650; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.02em; width: 100%; }
.vw { position: absolute; inset: 0; text-align: center; white-space: nowrap; transform: translateY(105%); color: var(--ink); }
.vw.on { transform: none; }
.vw.past { transform: translateY(-105%); }
@media (prefers-reduced-motion: no-preference) { .vw { transition: transform 720ms var(--ease-in-out); } }
.js .verb-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.verb { position: relative; height: 100svh; overflow: clip; }
.verb picture { position: absolute; inset: 0; }
.verb picture img { width: 100%; height: 100%; object-fit: cover; }
.verb::before { content: ''; position: absolute; inset: 0; background: rgb(12 13 14 / 0.38); z-index: 1; }
.verb-word { position: sticky; top: 50%; z-index: 2; height: 0; display: flex; justify-content: center; }
.verb-word h3 { transform: translateY(-50%); font-size: clamp(3rem, 0.5rem + 11vw, 12.5rem); line-height: 0.9; font-weight: 650; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.verb-text { position: absolute; left: var(--margin); bottom: calc(var(--margin) + var(--callbar-h)); z-index: 2; max-width: 30rem; background: rgb(15 16 17 / 0.82); padding: 1rem 1.25rem; font-size: var(--step-body); line-height: 1.45; }
@media (max-width: 900px) {
  .verb-word h3 { font-size: 12.5vw; }
  .verb-line { font-size: 12.5vw; }
  .verb-text { right: var(--margin); max-width: none; font-size: var(--step-body); }
}

/* ела в студиото: карта върху снимка */
.visit { position: relative; margin-top: var(--section); min-height: 100svh; }
.verbs + .visit { margin-top: 0; }
.visit-photo { position: absolute; inset: 0; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
.visit-card { position: relative; z-index: 2; margin-left: auto; margin-right: clamp(1rem, 4vw, 60px); top: 60px; width: 400px; background: var(--paper); color: var(--paper-ink); padding: 2rem; display: grid; gap: 1.25rem; }
.visit-card h2 { font-size: var(--step-lead); line-height: 1.1; font-weight: 400; font-stretch: 110%; }
.visit-card address { font-style: normal; font-size: var(--step-body); line-height: 1.45; }
.hours { display: grid; gap: 0.35rem; font-size: var(--step-body); }
.hrow { display: flex; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; }
.hrow dd { text-align: right; }
.hrow.today { font-weight: 650; }
.status { font-size: var(--step-small); font-weight: 600; display: flex; align-items: center; gap: 0.5em; min-height: 1.4em; }
.status::before { content: ''; width: 0.6em; height: 0.6em; background: var(--paper-muted); flex: none; }
.status[data-open='1']::before { background: #1f9d55; }
.visit-card .btn { width: 100%; margin-top: 0.25rem; }
.visit-phone { font-size: var(--step-lead); font-weight: 600; font-variant-numeric: tabular-nums; }
.visit-links { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step-small); flex-wrap: wrap; }
@media (max-width: 900px) {
  .visit { min-height: 0; display: grid; }
  .visit-photo { position: relative; height: 70svh; }
  .visit-card { width: auto; top: 0; margin: -80px var(--margin) 0; padding: 1.5rem; }
  .visit-card .btn { min-height: 56px; }
}

/* =========================================================
   УСЛУГА
   ========================================================= */
.s-hero { padding-top: calc(var(--header-h) + clamp(1.5rem, 5vh, 3rem)); min-height: 100svh; display: grid; }
.s-hero .grid { align-items: end; row-gap: 2rem; }
.s-hero-text { grid-column: 1 / span 7; display: grid; gap: 1.5rem; align-content: end; padding-bottom: clamp(0rem, 4vh, 2rem); }
.crumbs { color: var(--muted); font-size: var(--step-small); }
.crumbs a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.s-title { font-size: clamp(2.5rem, 0.6rem + 5vw, 5.75rem); line-height: 0.92; font-weight: 600; font-stretch: 118%; text-transform: uppercase; letter-spacing: -0.015em; }
.s-title.long { font-size: clamp(2rem, 0.3rem + 3.3vw, 3.6rem); }
.s-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.s-hero-media { grid-column: 8 / span 5; height: min(80svh, 860px); overflow: hidden; background: #0f1011; position: relative; }
.s-hero-media picture, .s-hero-media img, .s-hero-media video, .s-hero-media canvas { width: 100%; height: 100%; object-fit: cover; }
.s-hero-media canvas { position: absolute; inset: 0; }
.s-hero-media .drops-hint { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; background: rgb(15 16 17 / 0.8); padding: 0.4rem 0.7rem; font-size: var(--step-small); color: var(--ink); }
@media (max-width: 900px) {
  .s-hero { min-height: 0; }
  .s-hero-text, .s-hero-media { grid-column: 1 / -1; }
  .s-hero-media { order: -1; height: 40svh; margin-inline: calc(var(--margin) * -1); }
  .s-title, .s-title.long { font-size: clamp(2rem, 9.4vw, 3rem); }
  .s-title.long { font-size: clamp(1.6rem, 6.6vw, 2.6rem); }
  .s-actions .btn { width: 100%; min-height: 56px; }
}

.facts { padding-top: clamp(3rem, 8vw, 6rem); }
.facts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.facts dt { color: var(--muted); font-size: var(--step-small); margin-bottom: 0.4rem; }
.facts dd { font-size: var(--step-lead); line-height: 1.25; }
.facts dd small { display: block; font-size: var(--step-small); color: var(--muted); margin-top: 0.35rem; }
.facts .legend { margin-top: 1.5rem; }
@media (max-width: 700px) { .facts dl { grid-template-columns: 1fr; gap: 1.5rem; } }

.inc { padding-top: var(--section); }
.inc .grid { row-gap: 2rem; align-items: start; }
.inc-head { grid-column: 1 / span 5; display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.inc-list { grid-column: 7 / span 6; display: grid; }
.inc-list li { font-size: var(--step-lead); line-height: 1.3; padding: 1.1rem 0; display: grid; grid-template-columns: 1.6em 1fr; }
.inc-list li::before { content: ''; width: 0.45em; height: 0.45em; margin-top: 0.42em; background: var(--ink); }
.inc-photo { aspect-ratio: 4 / 3; overflow: hidden; margin-top: 1rem; }
.inc-photo video { width: 100%; height: 100%; object-fit: cover; }
.inc-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .inc-head, .inc-list { grid-column: 1 / -1; position: static; } }

.helps { padding-top: var(--section); }
.helps h2 { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.helps-rows { display: grid; gap: 0.5rem; }
.help { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding: 1.4rem 0; align-items: baseline; }
.help-p { grid-column: 1 / span 5; color: var(--muted); font-size: var(--step-lead); line-height: 1.3; }
.help-arrow { grid-column: 6 / span 1; color: var(--accent); }
.help-arrow .ico { width: 1.6rem; height: 1.6rem; }
.help-r { grid-column: 7 / span 6; font-size: var(--step-lead); line-height: 1.3; }
.helps-band { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); }
.helps-band picture { overflow: hidden; }
.helps-band picture:first-child { aspect-ratio: 16 / 10; }
.helps-band picture:last-child { aspect-ratio: 4 / 5; align-self: end; width: 78%; }
.helps-band img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .help { grid-template-columns: 1fr; gap: 0.25rem; padding: 1rem 0; }
  .help-p, .help-r, .help-arrow { grid-column: 1 / -1; }
  .help-arrow { display: none; }
  .help-p { font-size: var(--step-body); }
  .help-r { font-size: var(--step-lead); }
  .helps-band { grid-template-columns: 1fr; }
  .helps-band picture:last-child { width: 70%; justify-self: end; }
}

.steps { padding-top: var(--section); }
.steps h2 { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.steps ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gutter); list-style: none; padding: 0; }
.steps li { font-size: var(--step-body); line-height: 1.35; padding-top: 1.25rem; position: relative; }
.steps li::before { content: ''; position: absolute; top: 0; left: 0; width: 2.5rem; height: 4px; background: var(--surface-2); }
.steps li:first-child::before { background: var(--accent); }
@media (max-width: 900px) { .steps ol { grid-template-columns: 1fr 1fr; gap: 1.5rem var(--gutter); } }
@media (max-width: 520px) { .steps ol { grid-template-columns: 1fr; } }

.pkgs { padding-top: var(--section); }
.pkgs h2 { margin-bottom: 2rem; }
.pkg-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.pkg { background: var(--surface); padding: 1.75rem; display: grid; gap: 0.75rem; align-content: start; }
.pkg h3 { font-size: var(--step-lead); font-weight: 500; font-stretch: 112%; }
.pkg p { color: var(--muted); }
.pkg .price { color: var(--ink); }
@media (max-width: 900px) { .pkg-row { grid-template-columns: 1fr; } }

.faq { padding-top: var(--section); }
.faq .grid { align-items: start; row-gap: 2rem; }
.faq h2 { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-list { grid-column: 7 / span 6; display: grid; gap: 0.5rem; }
.faq details { background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.25rem 1.4rem; font-size: var(--step-body); font-weight: 500; line-height: 1.35; transition: background-color var(--t-hover) ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 14px; height: 14px; transition: transform var(--t-ui) var(--ease-out); }
.faq details[open] summary .plus { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { background: var(--surface-2); } }
.faq .ans { padding: 0 1.4rem 1.4rem; color: var(--ink); max-width: 60ch; }
@media (max-width: 900px) { .faq h2, .faq-list { grid-column: 1 / -1; position: static; } }

.book { margin-top: var(--section); background: var(--surface); padding-block: clamp(4rem, 9vw, 8rem); }
.book .grid { align-items: end; row-gap: 2rem; }
.book-h { grid-column: 1 / span 7; display: grid; gap: 1.25rem; }
.book-act { grid-column: 9 / span 4; display: grid; gap: 1rem; justify-items: start; }
.book-act .btn { width: 100%; }
.book-phone { font-size: var(--step-lead); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .book-h, .book-act { grid-column: 1 / -1; } }

.others { padding-top: var(--section); }
.others h2 { margin-bottom: 2rem; }
.others ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: calc(var(--gutter) * 2); list-style: none; padding: 0; margin: 0; }
.others a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-size: var(--step-lead); font-weight: 500; transition: color var(--t-hover) ease; }
.others a .ico-arrow { width: 1.3rem; height: 1.3rem; color: var(--muted); transition: transform var(--t-ui) var(--ease-out), color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .others a:hover .ico-arrow { transform: translateX(6px); color: var(--accent); } }
@media (max-width: 700px) { .others ul { grid-template-columns: 1fr; } .others a { font-size: var(--step-lead); padding: 0.9rem 0; } }

/* =========================================================
   СНИМКИ
   ========================================================= */
.g-hero { padding-top: calc(var(--header-h) + clamp(3rem, 10vh, 7rem)); }
.g-hero .grid { align-items: end; row-gap: 1.5rem; }
.g-hero h1 { grid-column: 1 / span 7; }
.g-hero .g-say { grid-column: 8 / span 5; display: grid; gap: 0.75rem; }
.sample-note { display: inline-flex; align-self: start; justify-self: start; background: var(--paper); color: var(--paper-ink); font-size: var(--step-small); font-weight: 600; padding: 0.35rem 0.6rem; }
.g-ba { padding-top: clamp(3rem, 7vw, 6rem); display: grid; gap: clamp(3rem, 6vw, 5rem); }
.g-ba-item h2 { font-size: var(--step-lead); font-weight: 500; margin-bottom: 1rem; text-transform: none; }
.g-filter { padding-top: var(--section); display: grid; gap: 1.5rem; }
.g-filter .grid { align-items: end; row-gap: 1.25rem; }
.g-filter h2 { grid-column: 1 / -1; }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: flex-start; }
.chips button { min-height: 42px; padding: 0 0.95rem; font-size: var(--step-small); font-weight: 500; color: var(--muted); background: var(--surface); transition: color var(--t-hover) ease, background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.chips button:active { transform: scale(0.97); }
.chips button[aria-pressed='true'] { background: var(--paper); color: var(--paper-ink); }
@media (hover: hover) and (pointer: fine) { .chips button:hover { color: var(--ink); } .chips button[aria-pressed='true']:hover { color: var(--paper-ink); } }
.wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); grid-auto-flow: dense; margin-top: 1rem; }
.tile { position: relative; display: block; overflow: hidden; background: #0f1011; text-align: left; transition: transform var(--t-press) var(--ease-out); }
.tile:active { transform: scale(0.985); }
.tile figure { margin: 0; height: 100%; }
.tile picture, .tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile img, .tile video { transition: transform 700ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) { .tile:hover img, .tile:hover video { transform: scale(1.03); } }
.tile figcaption { position: absolute; left: 0; bottom: 0; padding: 0.4rem 0.65rem; background: rgb(15 16 17 / 0.82); font-size: var(--step-small); color: var(--ink); }
.tile .play { position: absolute; right: 0.75rem; top: 0.75rem; background: rgb(15 16 17 / 0.82); font-size: var(--step-small); padding: 0.25rem 0.5rem; }
.tile.w7 { grid-column: span 7; aspect-ratio: 16 / 10; }
.tile.w5 { grid-column: span 5; aspect-ratio: 4 / 5; }
.tile.w4 { grid-column: span 4; aspect-ratio: 4 / 5; }
.tile.w6 { grid-column: span 6; aspect-ratio: 3 / 2; }
.tile[hidden] { display: none; }
@media (max-width: 900px) {
  .g-hero h1, .g-hero .g-say, .g-filter h2, .chips { grid-column: 1 / -1; justify-content: flex-start; }
  .wall { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .tile.w7, .tile.w6 { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .tile.w5, .tile.w4 { grid-column: span 1; aspect-ratio: 4 / 5; }
}

/* лайтбокс */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0c0d0e; color: var(--ink); }
.lb::backdrop { background: transparent; }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem var(--margin); }
.lb-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-close { min-height: 44px; padding: 0 0.5rem; font-weight: 600; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--margin); touch-action: pan-y; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem var(--margin) calc(0.75rem + env(safe-area-inset-bottom)); }
.lb-nav { display: flex; gap: 0.35rem; }
.lb-nav button { min-width: 52px; min-height: 48px; background: var(--surface); display: grid; place-items: center; transition: transform var(--t-press) var(--ease-out); }
.lb-nav button:active { transform: scale(0.96); }
.lb-nav .ico { width: 1.3rem; height: 1.3rem; }
.lb-prev .ico { transform: rotate(180deg); }
@media (prefers-reduced-motion: no-preference) {
  .lb[open] .lb-stage > * { animation: lb-in 260ms var(--ease-out); }
  @keyframes lb-in { from { opacity: 0; transform: scale(0.98); } }
}

/* =========================================================
   КОНТАКТ
   ========================================================= */
.c-hero { padding-top: calc(var(--header-h) + clamp(3rem, 9vh, 6rem)); }
.c-hero > .grid { row-gap: 3rem; align-items: start; }
.c-info { grid-column: 1 / span 6; display: grid; gap: 2rem; align-content: start; }
.c-phone { font-size: clamp(2.25rem, 1rem + 4vw, 4.75rem); line-height: 1; font-weight: 600; font-stretch: 112%; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.c-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.c-block { display: grid; gap: 0.6rem; }
.c-block h2 { font-size: var(--step-small); color: var(--muted); font-weight: 400; }
.c-block address { font-style: normal; font-size: var(--step-lead); line-height: 1.3; }
.c-hours { max-width: 26rem; font-size: var(--step-body); }
.c-hours .hrow.today { color: var(--ink); }
.c-hero .status::before { background: var(--dim); }
.form-card { grid-column: 8 / span 5; background: var(--surface); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.25rem; }
.form-card h2 { font-size: var(--step-lead); line-height: 1.1; font-weight: 500; font-stretch: 112%; }
.form-card > p { color: var(--ink); font-size: var(--step-body); }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: var(--step-small); font-weight: 500; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 0.8rem 0.9rem; font-size: var(--step-body); background: var(--bg); border: 1px solid var(--line); border-radius: 0; color: var(--ink); transition: border-color var(--t-hover) ease; appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 96px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8l4-3.5' fill='none' stroke='%23eff0f1' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 12px; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input[type='date']::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.7; }
.field .err { color: #ff9b83; font-size: var(--step-small); min-height: 0; }
.field[data-bad] input, .field[data-bad] select { border-color: #ff9b83; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-actions { display: grid; grid-template-columns: 1fr auto; gap: 0.75rem; align-items: center; }
.form-actions .btn { width: 100%; }
.form-alt { font-weight: 500; text-decoration: underline; text-underline-offset: 0.25em; min-height: 44px; padding: 0 0.25rem; }
.form-note { color: var(--muted); font-size: var(--step-small); }
.c-title { display: grid; gap: 1.25rem; }
.find { padding-top: var(--section); }
.find-grid { row-gap: 2rem; align-items: start; }
.find-text { grid-column: 1 / span 4; display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.find-pics { grid-column: 6 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.find-pic { overflow: hidden; aspect-ratio: 4 / 5; }
.find-pic:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.find-pic img, .find-pic video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .find-text, .find-pics { grid-column: 1 / -1; position: static; } }
.map { margin-top: var(--section); position: relative; height: min(70svh, 640px); background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(0.9) hue-rotate(180deg) grayscale(0.55) contrast(0.9); }
.map-card { position: absolute; left: var(--margin); top: var(--margin); background: var(--paper); color: var(--paper-ink); padding: 1.25rem 1.4rem; display: grid; gap: 0.5rem; max-width: 22rem; }
.map-card h2 { font-size: var(--step-lead); font-weight: 600; }
.map-card .link { color: var(--paper-ink); }
@media (max-width: 900px) {
  .c-info, .form-card { grid-column: 1 / -1; }
  .two, .form-actions { grid-template-columns: 1fr; }
  .form-actions .btn { min-height: 56px; }
  .map { height: 60svh; }
  .map-card { left: var(--margin); right: var(--margin); top: auto; bottom: var(--margin); max-width: none; }
}

/* =========================================================
   ТЕКСТОВИ СТРАНИЦИ
   ========================================================= */
.text-page { padding-top: calc(var(--header-h) + clamp(3rem, 9vh, 6rem)); }
.text-page .grid { row-gap: 2rem; }
.text-page h1 { grid-column: 1 / -1; }
.tp-head { grid-column: 1 / -1; display: grid; gap: 1.25rem; }
.tp-title { font-size: clamp(1.9rem, 7.6vw, 7.5rem); }
.tp-pics { grid-column: 9 / span 4; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; align-self: start; position: sticky; top: calc(var(--header-h) + 2rem); }
.tp-pic { aspect-ratio: 4 / 5; overflow: hidden; }
.tp-pic img { width: 100%; height: 100%; object-fit: cover; }
.prose { grid-column: 1 / span 7; display: grid; gap: 1rem; }
.prose h2 { font-size: var(--step-lead); font-weight: 500; margin-top: 2rem; }
.prose ul { padding-left: 1.2em; display: grid; gap: 0.35rem; }
.prose a { text-decoration: underline; text-underline-offset: 0.25em; }
@media (max-width: 900px) { .text-page h1, .prose, .tp-head, .tp-pics { grid-column: 1 / -1; grid-row: auto; position: static; } .tp-pics { grid-template-columns: repeat(4, 1fr); } }
.nf { align-items: end; row-gap: 2rem; }
.nf-text { grid-column: 1 / span 6; display: grid; gap: 1.5rem; justify-items: start; padding-bottom: 2rem; }
.nf-pic { grid-column: 8 / span 5; aspect-ratio: 4 / 5; overflow: hidden; }
.nf-pic img { width: 100%; height: 100%; object-fit: cover; }
.nf-svc { list-style: none; padding: 0; margin: var(--section) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem var(--gutter); }
.nf-svc a { display: grid; gap: 0.75rem; }
.nf-thumb { aspect-ratio: 4 / 3; overflow: hidden; display: block; }
.nf-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) { .nf-svc a:hover img { transform: scale(1.03); } }
.nf-name { font-size: var(--step-lead); line-height: 1.25; }
@media (max-width: 900px) { .nf-text, .nf-pic { grid-column: 1 / -1; } .nf-svc { grid-template-columns: 1fr 1fr; } .nf-name { font-size: var(--step-body); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
