/* 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: #141516;
  --surface: #222427;
  --surface-2: #2b2e32;
  --ink: #eff0f1;
  --muted: #a4a7ac;
  --dim: #8a8d93;            /* неактивни думи: 3:1+ срещу фона */
  --accent: #e0302a;   /* червеното от логото Angel Folio */
  --accent-hover: #f0443d;
  --accent-ink: #ffffff;
  --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; } }
@media (max-width: 640px) { :root { --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(224 48 42 / 0.2); color: #ffaba5; padding: 0.05em 0.3em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.paper mark.todo { background: rgb(224 48 42 / 0.16); color: #a51b15; }
.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: center; gap: 0.7rem; justify-self: start; line-height: 1; }
.wordmark .logo { width: auto; height: 40px; }
.wm-name { font-size: 1.0625rem; font-weight: 750; font-stretch: 140%; text-transform: uppercase; letter-spacing: 0.01em; white-space: nowrap; }
@media (max-width: 380px) { .wm-name { font-size: 0.9375rem; } }
.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-body); 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 { display: none; }
  .menu-btn { display: inline-flex; }
  .bar { grid-template-columns: 1fr auto; }
}
@media (max-width: 640px) {
  .bar-end .btn { display: none; }
  .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 { margin-top: clamp(5rem, 14vh, 10rem); padding: clamp(3rem, 6vw, 5rem) var(--margin) 2rem; background: var(--surface); }
/* името по цялата ширина (ширината на надписа е 15 пъти размера на шрифта) */
.foot-name { font-size: calc((100vw - 2 * var(--margin)) / 9.05); line-height: 0.8; font-weight: 700; font-stretch: 150%; text-transform: uppercase; letter-spacing: -0.02em; color: #74777d; white-space: nowrap; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem var(--gutter); font-size: var(--step-body); line-height: 1.55; }
.fcol { display: grid; gap: 0.6rem; align-content: start; }
.fh { color: var(--muted); }
.fbig { font-size: var(--step-lead); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.flink, .flist a, .foot-bottom a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: rgb(239 240 241 / 0.35); transition: text-decoration-color var(--t-hover) ease; justify-self: start; }
@media (hover: hover) and (pointer: fine) { .flink:hover, .flist a:hover, .foot-bottom a:hover { text-decoration-color: currentColor; } }
.foot-bottom { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; color: var(--muted); font-size: var(--step-body); }
.foot-bottom a { color: var(--ink); }
.foot-credit { color: var(--muted); font-size: var(--step-body); }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; }
}
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .foot-name { display: none; } }

/* ---------- 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); /* taste-skill-ignore: плаващо съобщение над страницата */ 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: 600px; overflow: clip; display: grid; align-items: end; }
.hero-media { position: absolute; inset: 0; background: #0f1011; transform-origin: 50% 100%; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: rgb(12 13 14 / 0.8); opacity: 0.62; }
.hero-in { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(1.25rem, 4vh, 2.5rem); display: grid; gap: clamp(2rem, 4.5vh, 3rem); }
.hero-in > * { min-width: 0; }
.hero-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.5rem; align-items: end; }
.hero-say { grid-column: 1 / span 6; display: grid; gap: 1.5rem; justify-items: start; }
.hero-lead { font-size: var(--step-lead); line-height: 1.35; max-width: 30ch; }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero-phone { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-facts { grid-column: 8 / span 5; justify-self: end; text-align: right; list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.hero-facts a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: rgb(239 240 241 / 0.4); transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .hero-facts a:hover { text-decoration-color: currentColor; } }
/* името като паметник: огромно BM + DETAILING / STUDIO на два реда, по цялата ширина */
.mark { --mark: calc((100vw - 2 * var(--margin)) / 6.05); display: flex; align-items: flex-end; justify-content: space-between; gap: 0.06em; font-size: var(--mark); line-height: 0.74; font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; white-space: nowrap; margin: 0; }
.mark-bm { display: block; font-stretch: 150%; }
.mark-rest { display: grid; font-size: 0.505em; font-stretch: 150%; line-height: 0.74; row-gap: 0.12em; text-align: right; }
.mark-rest > span { display: block; }
/* ANGEL FOLIO: един ред по цялата ширина (на телефон два реда) */
.mark.mark-line { --mark: calc((100vw - 2 * var(--margin)) / 9.05); display: block; line-height: 0.8; font-stretch: 150%; letter-spacing: -0.02em; }
.mark.mark-line > span { display: inline-block; }
.hero-facts .hero-logo { display: inline-flex; align-items: center; justify-content: flex-end; gap: 0.75rem; margin-bottom: 0.5rem; font-weight: 700; font-stretch: 125%; text-transform: uppercase; }
.hero-logo .logo { height: 64px; width: auto; }
.own-tag, .tbc-tag { position: absolute; z-index: 2; top: 0.75rem; padding: 0.3rem 0.55rem; font-size: var(--step-small); font-weight: 650; line-height: 1.2; pointer-events: none; }
.own-tag { left: 0.75rem; background: var(--accent); color: var(--accent-ink); }
.tbc-tag { right: 0.75rem; background: rgb(15 16 17 / 0.84); color: var(--ink); }
.svc-tbc { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .mark-bm, .js .mark-rest > span { animation: mark-in 1000ms var(--ease-expo) both; }
  .js .mark-rest > span:nth-child(1) { animation-delay: 90ms; }
  .js .mark-rest > span:nth-child(2) { animation-delay: 180ms; }
  .js .hero-row { animation: hero-rise 600ms var(--ease-out) 420ms both; }
}
@keyframes mark-in { from { clip-path: inset(0 0 100% 0); transform: translateY(40%); } to { clip-path: inset(-25% -5% -25% -5%); transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) {
  .hero { min-height: 540px; }
  .hero-in { gap: 1.5rem; }
  .hero-say, .hero-facts { grid-column: 1 / -1; }
  .hero-facts { justify-self: start; text-align: left; }
  .hero-act { width: 100%; }
  .hero-act .btn { min-height: 52px; }
}
@media (max-width: 640px) {
  .hero-act .btn { flex: 1 1 100%; min-height: 56px; }
  .mark { --mark: 31vw; flex-direction: column; align-items: flex-start; gap: 0.1em; }
  .mark.mark-line { --mark: calc((100vw - 2 * var(--margin)) / 4.72); line-height: 0.86; }
  .mark.mark-line > span { display: block; }
  .hero-facts .hero-logo { justify-content: flex-start; }
  .hero-logo .logo { height: 52px; }
  .mark-rest { display: flex; gap: 0.3em; font-size: 0.2em; font-stretch: 130%; letter-spacing: 0; line-height: 1; text-align: left; }
}


/* студиото + оценката */
.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; }
.intro-links { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.intro-photo { grid-column: 9 / span 4; position: relative; margin: 0; }
.intro-photo picture { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-photo figcaption { margin-top: 0.75rem; color: var(--muted); font-size: var(--step-small); }
@media (max-width: 900px) { .intro-photo { grid-column: 1 / -1; } .intro-photo picture { aspect-ratio: 4 / 3; } }
.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-head { align-items: end; row-gap: 1.25rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.svc-head h2 { grid-column: 1 / span 6; }
.svc-say { grid-column: 8 / span 5; display: grid; gap: 0.75rem; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 4.5vw, 4rem) var(--gutter); }
.t.w7 { grid-column: span 7; } .t.w5 { grid-column: span 5; } .t.w4 { grid-column: span 4; } .t.w6 { grid-column: span 6; }
.t a { display: grid; gap: 1.1rem; align-content: start; height: 100%; transition: transform var(--t-press) var(--ease-out); }
.t a:active { transform: scale(0.985); }
.t-img { display: block; position: relative; overflow: hidden; background: #0f1011; }
.t.w7 .t-img, .t.w5 .t-img { height: clamp(300px, 34vw, 620px); }
.t.w4 .t-img { aspect-ratio: 4 / 5; }
.t.w6 .t-img { aspect-ratio: 16 / 10; }
.t-img picture, .t-img img, .t-img video { display: block; width: 100%; height: 100%; object-fit: cover; }
.t-img img, .t-img video { transition: transform 900ms var(--ease-soft); }
.t-body { display: grid; gap: 0.5rem; }
.t-name { font-size: clamp(1.4rem, 0.95rem + 1.1vw, 2.1rem); line-height: 1.12; font-weight: 500; font-stretch: 112%; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; }
.t-short { color: var(--muted); max-width: 44ch; }
.t-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 0.35rem; }
.t-go { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; }
.t-go .ico-arrow { width: 1.15em; height: 1.15em; transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .t a:hover .t-img img, .t a:hover .t-img video { transform: scale(1.04); }
  .t a:hover .t-name { text-decoration-color: currentColor; }
  .t a:hover .t-go .ico-arrow { transform: translateX(5px); }
}
@media (max-width: 900px) {
  .svc-head h2, .svc-say { grid-column: 1 / -1; }
  .t.w7, .t.w5 { grid-column: 1 / -1; }
  .t.w7 .t-img, .t.w5 .t-img { height: auto; aspect-ratio: 4 / 3; }
  .t.w6 { grid-column: span 6; }
}
@media (max-width: 640px) {
  .t.w4, .t.w6 { grid-column: 1 / -1; }
  .t.w4 .t-img, .t.w6 .t-img { aspect-ratio: 4 / 3; }
  .tiles { row-gap: 2.75rem; }
}

/* отблизо: снимката на цял екран, три разстояния */
.close { position: relative; z-index: 3; background: var(--bg); height: 300vh; margin-top: var(--section); }
.close-stage { position: sticky; top: 0; height: 100svh; overflow: clip; }
.close-bg { position: absolute; inset: 0; background: #0f1011; }
.close-bg picture, .close-bg img { display: block; width: 100%; height: 100%; }
.close-bg img { object-fit: cover; object-position: 50% 42%; transform-origin: 50% 50%; transition: transform 1100ms var(--ease-in-out); }
.close-bg::after { content: ''; position: absolute; inset: 0; background: rgb(12 13 14 / 0.4); }
.close-h { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding: calc(var(--header-h) + clamp(1rem, 3vh, 2rem)) var(--margin) calc(var(--callbar-h) + clamp(1rem, 4vh, 2.5rem)); pointer-events: none; }
.close-top, .close-bot { font-size: clamp(3.5rem, 1rem + 7.6vw, 9.5rem); 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-row: 1; }
.close-bot { grid-row: 3; }
.close-cap { position: absolute; z-index: 2; right: var(--margin); top: 44%; max-width: 30ch; background: rgb(15 16 17 / 0.84); padding: 1rem 1.25rem; font-size: var(--step-body); color: var(--ink); }
@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-bg img { transform: scale(1.6); transform-origin: 50% 52%; }
.close[data-stage='3'] .close-bg img { transform: scale(2.4); transform-origin: 62% 46%; }
@media (prefers-reduced-motion: reduce) {
  .close { height: auto; }
  .close-stage { position: relative; }
  .close-bg img { transform: none !important; }
}
@media (max-width: 900px) {
  .close { height: 260vh; }
  .close-top, .close-bot { font-size: 11vw; }
  .close-cap { left: var(--margin); right: var(--margin); max-width: none; top: 42%; }
}

/* преди и след */
.ba-sec { padding-top: var(--section); }
.ba-split { align-items: center; row-gap: 2rem; }
.ba-media { grid-column: 1 / span 6; }
.ba-text { grid-column: 8 / span 5; display: grid; gap: 1.25rem; align-content: center; }
@media (max-width: 900px) { .ba-media, .ba-text { grid-column: 1 / -1; } .ba-text { order: -1; } }
.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-body); }
@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; color: var(--ink); }
.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: 11vw; }
  .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; overflow: hidden; }
.visit-photo picture { display: block; height: 100%; }
.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; position: relative; }
.inc-photo picture { display: block; height: 100%; }
.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 .hb { position: relative; overflow: hidden; }
.helps-band .hb:first-child { aspect-ratio: 16 / 10; }
.helps-band .hb:last-child { aspect-ratio: 4 / 5; align-self: end; width: 78%; }
.helps-band picture { display: block; height: 100%; }
.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 .hb: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-body); 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%; position: relative; }
.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-body); 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; }
.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; position: relative; }
.find-pic picture { display: block; height: 100%; }
.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; right: 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: 3.25rem; 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; }
}
