/* =========================================================
   KOBALT Motorworks — Dark Luxury Automotive (v3, refined)
   Navy + ice blue for atmosphere, papaya for action.
   ========================================================= */
@font-face { font-family: 'Michroma'; src: url(../fonts/michroma.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(../fonts/manrope.woff2) format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; src: url(../fonts/manrope-cyr.woff2) format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; src: url(../fonts/jbmono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; src: url(../fonts/jbmono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; src: url(../fonts/jbmono-cyr-400.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; src: url(../fonts/jbmono-cyr-500.woff2) format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* Michroma has no Cyrillic — Unbounded carries the display type in UA / RU */
@font-face { font-family: 'Unbounded'; src: url(../fonts/unbounded-lat.woff2) format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B4, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; src: url(../fonts/unbounded-cyr.woff2) format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --g-silver: linear-gradient(180deg, #ffffff 0%, #eef0f3 38%, #b9bec6 72%, #e4e7eb 100%);
  --g-gold: linear-gradient(100deg, #ff3b30 0%, #ff5236 40%, #f08a3c 72%, #e9b45a 100%);
  --navy: #08080A;
  --navy-2: #111114;
  --blue: #1A1A1F;
  --electric: #8B0F14;
  --ice: #E3262B;
  --accent: #FF3B30;          /* papaya — the one warm colour, used only for action & emphasis */
  --accent-2: #FF6B61;
  --white: #F5F5F7;
  --silver: #A9A9B0;
  --dim: #8e8e97;   /* ≥4.5:1 on the dark background (WCAG AA) */
  --line: rgba(169, 169, 176, .12);
  --r: 20px;
  --f-display: 'Michroma', 'Manrope', sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--navy); color: var(--white); font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
::selection { background: rgba(255,59,48,.32); color: var(--white); }
/* Dragging over the 3D areas (to look around) must not select text */
.hero, .studio__stage, .scanchip, .header { -webkit-user-select: none; user-select: none; }
.hero ::selection, .studio__stage ::selection, .header ::selection { background: transparent; color: inherit; }
.hero canvas, .studio__stage canvas { -webkit-tap-highlight-color: transparent; outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.accent { color: var(--accent); }
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--accent); color: var(--navy); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Cyrillic: Unbounded replaces Michroma for display type */
html[data-lang="uk"], html[data-lang="ru"] { --f-display: 'Unbounded', 'Manrope', sans-serif; }
html[data-lang="uk"] .hero__title, html[data-lang="ru"] .hero__title { font-weight: 500; letter-spacing: -.02em; font-size: clamp(1.7rem, 3.4vw, 3.6rem); }
html[data-lang="uk"] .h2--display, html[data-lang="ru"] .h2--display { max-width: 19ch; }

/* Language switcher */
.lang { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line) inset; }
.lang button { padding: 6px 10px; border-radius: 999px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .08em; color: var(--dim); transition: color .3s, background .3s; }
.lang button:hover { color: var(--white); }
.lang button.is-on { background: rgba(245,245,247,.1); color: var(--white); }
.lang--lg { align-self: flex-start; }
.lang--lg button { padding: 10px 16px; font-size: .85rem; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 500 .72rem/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--silver); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.h2 { font: 700 clamp(1.7rem, 3vw, 2.6rem)/1.2 var(--f-body); letter-spacing: -.02em; margin: 0; max-width: 22ch; }
.h2--display { font: 400 clamp(1.6rem, 3.4vw, 3rem)/1.15 var(--f-display); letter-spacing: -.01em; text-transform: uppercase; max-width: 17ch; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--silver); line-height: 1.7; max-width: 46ch; margin: 26px 0 0; }
h3 { font: 600 1.15rem/1.3 var(--f-body); margin: 0; }
.split .word { display: inline-block; white-space: nowrap; }
.split .char { display: inline-block; }   /* no will-change: one GPU layer per letter costs memory on phones */

/* ---------- Buttons ---------- */
.btn { --h: 56px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--h); padding: 0 30px; border-radius: 999px; isolation: isolate; overflow: hidden;
  font: 600 .95rem/1 var(--f-body); white-space: nowrap; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s, color .3s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { --h: 44px; padding: 0 22px; font-size: .86rem; }
.btn--block { width: 100%; }
.btn--accent { color: #fff; background: var(--accent); box-shadow: 0 12px 40px -14px rgba(255,59,48,.75); }
.btn--accent::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-2); transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease); }
.btn--accent:hover::before { transform: none; }
.btn--accent:hover { box-shadow: 0 16px 50px -12px rgba(255,59,48,.9); }
.btn--ghost { color: var(--white); box-shadow: 0 0 0 1px rgba(245,245,247,.22) inset; background: rgba(8,8,10,.6);  }
.btn--ghost:hover { box-shadow: 0 0 0 1px var(--white) inset; }

/* Photo grading — every image sits in the navy palette */
.grade { position: relative; overflow: hidden; margin: 0; background: #0c0c0e; border-radius: 14px; }
.grade img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.grade::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--navy); }
.loader__inner { width: min(300px, 76vw); text-align: center; }
.loader__logo { width: 48px; height: 48px; fill: none; stroke: var(--white); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__brand { font: 400 1rem/1 var(--f-display); letter-spacing: .5em; margin: 22px 0 28px; padding-left: .5em; }
.loader__bar { height: 2px; background: rgba(169,169,176,.12); overflow: hidden; border-radius: 2px; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.loader__meta { display: flex; justify-content: space-between; margin-top: 12px; font: .66rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .5s, transform .5s var(--ease), border-color .5s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(8,8,10,.94);  border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--accent); }
.header__row { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; transition: height .4s var(--ease); }
.is-scrolled .header__row { height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo svg { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 5.5; stroke-linecap: round; }
.logo svg path:nth-child(1) { stroke: var(--accent); }
.logo__text { font: 400 .95rem/1 var(--f-display); letter-spacing: .32em; }
.nav { display: flex; gap: 34px; }
.nav a { position: relative; font-size: .9rem; color: var(--silver); transition: color .3s; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a.is-active::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line) inset; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--white); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 55; background: rgba(8,8,10,.97); display: flex; flex-direction: column; justify-content: space-between; padding: 120px var(--pad) 40px; }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font: 400 clamp(1.4rem, 7vw, 2.2rem)/1.2 var(--f-display); text-transform: uppercase; }
.mnav__foot { display: flex; flex-direction: column; gap: 18px; font-family: var(--f-mono); color: var(--silver); }

/* ---------- Hero ---------- */
.hero { background: var(--navy); position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero.no-webgl .hero__canvas, .hero--static .hero__canvas { display: none; }
.hero--static .scanchip { display: none; }
.hero__poster { position: absolute; inset: 0; background: #08080a url(../img/hero-wide.webp) 50% 50% / cover no-repeat; transition: opacity 1.2s ease, visibility 0s 1.2s; }
/* the live scene sits under the still; fading the still (not the WebGL canvas) keeps compositing cheap */
.hero.is-live .hero__poster { opacity: 0; visibility: hidden; }
@media (max-width: 1280px) { .hero__poster { background-image: url(../img/hero-wide-1280.webp); } }
@media (max-aspect-ratio: 4/5) { .hero__poster { background-image: url(../img/hero-tall.webp); } }
.hero__vignette { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,8,10,.94) 0%, rgba(8,8,10,.85) 28%, rgba(8,8,10,.5) 42%, transparent 60%), linear-gradient(0deg, var(--navy) 0%, transparent 25%), linear-gradient(180deg, rgba(8,8,10,.6) 0%, transparent 16%); }
.hero__content { position: relative; z-index: 2; padding-top: 40px; }
.hero__title { font: 400 clamp(1.8rem, 3.7vw, 3.9rem)/1.12 var(--f-display); letter-spacing: -.015em; margin: 0 0 30px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line--accent { color: var(--accent); }
.hero__sub { font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--silver); max-width: 34ch; margin: 0 0 40px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.scanchip { position: absolute; right: var(--pad); bottom: 36px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px; background: rgba(8,8,10,.8); box-shadow: 0 0 0 1px var(--line) inset; 
  font: .7rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--silver); opacity: 0; transition: opacity .8s; }
.scanchip.is-on { opacity: 1; }
.scanchip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.4s infinite; }
.scanchip.is-done i { background: #6fe0a8; box-shadow: 0 0 10px #6fe0a8; animation: none; }
.scanchip b { color: var(--white); font-weight: 500; min-width: 3ch; text-align: right; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.scrollcue { position: absolute; left: 50%; bottom: 30px; z-index: 2; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; box-shadow: 0 0 0 1.5px rgba(245,245,247,.35) inset; }
.scrollcue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

.grad { background: linear-gradient(100deg, #fff, var(--ice) 60%, var(--electric)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.section__head { margin-bottom: clamp(32px, 4vw, 52px); }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section__head--split .lead { margin: 0; max-width: 40ch; }

/* ===== Minimal blocks: hairlines, 14px radius, red ticks ===== */
/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__img { aspect-ratio: 4 / 5; max-height: 560px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(32px, 5vw, 64px); margin-top: 48px; }
.stat { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; position: relative; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 2px; background: var(--accent); }
.stat b { font: 700 clamp(1.6rem, 2.6vw, 2.3rem)/1 var(--f-body); white-space: nowrap; letter-spacing: -.02em; }
.stat > span { font-size: .82rem; color: var(--dim); }

/* Services — hairline cards */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.scard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px; border-radius: 14px; background: transparent; box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow .35s, background .35s; }
.scard::before { content: ""; position: absolute; left: 24px; top: 0; width: 22px; height: 2px; background: var(--accent); transition: width .45s var(--ease); }
.scard:hover { background: rgba(255,59,48,.03); box-shadow: 0 0 0 1px rgba(255,59,48,.4) inset; }
.scard:hover::before { width: 48px; }
.scard__no { font: 500 .72rem var(--f-mono); color: var(--dim); letter-spacing: .08em; }
.scard h3 { font: 600 1.08rem/1.3 var(--f-body); margin-top: 18px; }
.scard p { margin: 0 0 8px; color: var(--silver); font-size: .92rem; flex: 1; }
.scard__price { font-size: .92rem; font-weight: 600; color: var(--white); }
.scard__price > span { color: var(--dim); font-weight: 400; margin-right: 2px; }

/* How it works — numbered timeline */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; counter-reset: s; }
.step { position: relative; padding: 30px 0 0; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; width: 32px; height: 2px; background: var(--accent); }
.step__n { display: block; margin-bottom: 18px; font: 700 2.4rem/1 var(--f-body); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px var(--accent); }
.step h3 { font: 600 1.08rem/1.3 var(--f-body); margin-bottom: 8px; }
.step p { margin: 0; color: var(--silver); font-size: .92rem; }

/* Why — pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillar { position: relative; min-height: 280px; justify-content: flex-end; padding: 40px 36px 36px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; display: flex; flex-direction: column; gap: 12px; }
.pillar::before { content: ""; position: absolute; left: 36px; top: 0; width: 40px; height: 2px; background: var(--accent); }
.pillar b { margin-bottom: auto !important; font: 700 clamp(3rem, 5vw, 4.6rem)/1 var(--f-body); letter-spacing: -.02em; color: var(--white); margin-bottom: 8px; }
.pillar b small { font-size: .42em; color: var(--accent); margin-left: 4px; letter-spacing: 0; }
.pillar h3 { font-size: 1.3rem; margin-top: 40px; }
.pillar p { margin: 0; color: var(--silver); font-size: 1rem; max-width: 30ch; }

/* Studio */
.studio { padding-bottom: 0; }
.studio .section__head { margin-bottom: 0; }
.studio__stage { position: relative; height: min(86vh, 800px); min-height: 540px; overflow: hidden; touch-action: pan-y;
  background: radial-gradient(50% 45% at 50% 62%, rgba(139,15,20,.25), transparent 70%); }
.studio__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.studio__stage canvas:active { cursor: grabbing; }
.studio__loading em { font-style: normal; }
.studio__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; font: .74rem var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); transition: opacity .6s; }
.studio__loading span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.studio__loading.is-done { opacity: 0; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.spotpin { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; margin: -12px 0 0 -12px; transition: opacity .35s; }
.spotpin.is-hidden, .studio__stage:not(.is-ready) .spotpin { opacity: 0; pointer-events: none; }
.spotpin i { width: 24px; height: 24px; border-radius: 50%; display: block; position: relative; background: rgba(8,8,10,.6); box-shadow: 0 0 0 1.5px var(--white) inset; }
.spotpin i::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--white); transition: background .3s; }
.spotpin i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(245,245,247,.6); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.spotpin span { font: .72rem var(--f-body); font-weight: 600; padding: 6px 10px; border-radius: 8px; background: rgba(8,8,10,.8); opacity: 0; transform: translateX(-6px); transition: .35s var(--ease); white-space: nowrap; }
.spotpin:hover span, .spotpin.is-active span, .spotpin:focus-visible span { opacity: 1; transform: none; }
.spotpin.is-active i { box-shadow: 0 0 0 1.5px var(--accent) inset, 0 0 18px rgba(255,59,48,.6); }
.spotpin.is-active i::before { background: var(--accent); }
.studio__panel { position: absolute; left: var(--pad); top: 10%; width: min(340px, 40vw); z-index: 4; padding: 20px 22px; border-radius: 16px; background: rgba(8,8,10,.82); box-shadow: 0 0 0 1px var(--line) inset; }
.studio__panel .eyebrow { margin-bottom: 14px; }
.studio__panel h3 { font: 400 1.15rem/1.35 var(--f-display); text-transform: uppercase; margin: 0 0 10px; }
.studio__panel p { font-size: .95rem; color: var(--silver); margin: 0; }
.studio__controls { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 18px; align-items: center; padding: 10px 14px; z-index: 4; border-radius: 999px; background: rgba(17,17,20,.92); box-shadow: 0 0 0 1px var(--line) inset;  }
.sep { width: 1px; height: 22px; background: var(--line); }
.swatches { display: flex; gap: 8px; }
.swatches button { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.45), transparent 45%), var(--c); box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset; transition: box-shadow .3s, transform .3s var(--ease); }
.swatches button:hover { transform: scale(1.12); }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 0 0 2px #111114, 0 0 0 3.5px var(--white); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(8,8,10,.6); }
.seg button { white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-size: .8rem; color: var(--silver); transition: .3s; }
.seg button.is-on { background: var(--white); color: var(--navy); font-weight: 600; }
.reset { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; transition: .3s; }
.reset:hover { transform: rotate(-90deg); }
.reset svg { width: 16px; height: 16px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; }

/* Work */
.gallery { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: repeat(2, clamp(200px, 22vw, 300px)); gap: 12px; }
.g-item { cursor: zoom-in; }
.g-item--hero { grid-row: span 2; }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(0deg, rgba(8,8,10,.85), transparent); }
.g-item figcaption span { display: flex; align-items: center; gap: 8px; font: 500 .7rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--silver); }
.g-item figcaption span::before { content: ""; width: 14px; height: 2px; background: var(--accent); }
.g-item figcaption b { font-weight: 600; font-size: .98rem; }
.g-item:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 5vw; background: rgba(5,5,6,.94); }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--r); }
.lightbox figcaption { margin-top: 16px; color: var(--silver); }
.lightbox__close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line) inset; }

/* Reviews */
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.reviews__rating { display: flex; align-items: center; gap: 14px; }
.reviews__rating b { font: 700 2.6rem/1 var(--f-body); letter-spacing: -.02em; }
.reviews__rating div { display: flex; flex-direction: column; gap: 4px; }
.reviews__rating small { color: var(--dim); }
.stars { color: var(--accent); letter-spacing: .14em; font-size: .85rem; }
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rcard { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px 26px 24px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; }
.rcard::before { content: "\201C"; position: absolute; right: 22px; top: 6px; font: 700 4.2rem/1 var(--f-body); color: var(--accent); opacity: .9; }
.rcard p { margin: 0; flex: 1; line-height: 1.65; color: #dcdce0; }
.rcard footer { color: var(--dim); font-size: .86rem; padding-top: 16px; border-top: 1px solid var(--line); }
.rcard footer b { color: var(--white); font-weight: 600; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.cinfo { list-style: none; padding: 0; margin: 40px 0; display: grid; gap: 20px; }
.cinfo li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cinfo span { font-size: .85rem; color: var(--dim); }
.cinfo b { font-weight: 500; }
.cinfo a:hover { color: var(--accent); }
.map { position: relative; aspect-ratio: 1400 / 560; background: #0a0a0d; overflow: hidden; border-radius: 16px; box-shadow: 0 0 0 1px var(--line) inset; }
.map__art, .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.map iframe { filter: invert(.92) hue-rotate(180deg) saturate(.5) brightness(.9); }
.map__pin { position: absolute; left: 64.29%; top: 53.57%; transform: translate(-50%, -50%); }
.map__pin span { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(255,59,48,.22); position: relative; }
.map__pin span::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--accent); animation: ping 2.4s var(--ease) infinite; }
.map__actions { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; }
.map.is-live .map__pin, .map.is-live .map__art { display: none; }

.booking { position: relative; padding: clamp(26px, 3.5vw, 44px); display: grid; gap: 16px; border-radius: 24px; background: var(--navy-2); box-shadow: 0 0 0 1px var(--line) inset, 0 40px 100px -50px rgba(0,0,0,.9); overflow: hidden; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field select { width: 100%; height: 62px; padding: 24px 18px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--navy); color: var(--white); font: 400 1rem var(--f-body); outline: none; transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; color-scheme: dark; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AAB8C7' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; cursor: pointer; }
.field label { position: absolute; left: 19px; top: 20px; font-size: .98rem; color: var(--dim); pointer-events: none; transition: .3s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field label.up, .field select:focus + label, .field select.has-value + label { top: 10px; font-size: .7rem; color: var(--silver); }
.field input:focus, .field select:focus { border-color: rgba(255,59,48,.7); box-shadow: 0 0 0 4px rgba(255,59,48,.12); }
.err { display: none; font: normal .76rem var(--f-body); color: #ff9aa6; margin-top: 6px; }
.is-invalid .err { display: block; }
.is-invalid input, .is-invalid select { border-color: rgba(255,120,140,.6); }
.form-note { font-size: .82rem; margin: 0; text-align: center; color: var(--dim); }
.btn.is-loading .btn__label::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.booking__done { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 40px; background: var(--navy-2); border-radius: inherit; }
.booking__done svg { width: 80px; height: 80px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.booking__done circle { stroke-dasharray: 214; stroke-dashoffset: 214; }
.booking__done path { stroke-dasharray: 50; stroke-dashoffset: 50; }
.booking__done.is-shown circle { animation: dash .9s var(--ease) forwards; }
.booking__done.is-shown path { animation: dash .5s .6s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.booking__done h3 { font: 700 1.3rem var(--f-body); margin: 10px 0 0; }
.booking__done p { color: var(--silver); max-width: 36ch; margin: 0; }
.booking__done .mono { color: var(--accent); margin: 6px 0 14px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-top: clamp(36px, 4vw, 56px); }
.footer__top { padding-bottom: clamp(36px, 4vw, 56px); }
.footer__cta { margin: 0; font: 700 clamp(2.6rem, 7.5vw, 6.4rem)/1.05 var(--f-body); letter-spacing: -.035em; }
.footer__base { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 28px 36px; border-top: 1px solid var(--line); }
.footer__base nav { display: flex; gap: 28px; font-size: .9rem; color: var(--silver); }
.footer__base nav a:hover { color: var(--white); }
.footer__base small { width: 100%; color: var(--dim); font-size: .76rem; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line) inset; transition: .3s var(--ease); }
.socials a:hover { box-shadow: 0 0 0 1px var(--accent) inset; color: var(--accent); }
.socials svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }

/* Reveal base states (JS animates in) */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1); transition-delay: var(--rd, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .clip { clip-path: inset(100% 0 0 0 round var(--r)); }
.js .clip img { transform: scale(1.2); }
.js .clip.is-in { clip-path: inset(0 0 0 0 round var(--r)); transition: clip-path 1.4s cubic-bezier(.77,0,.18,1); }
.js .clip.is-in img { transform: scale(1); transition: transform 1.8s var(--ease), filter .6s; }
.js .g-item.clip.is-in:hover img { transform: scale(1.04); transition: transform 1.2s var(--ease); }

/* ---------- Responsive ---------- */
/* ===== v6: brands strip ===== */
.brands { border-block: 1px solid var(--line); background: #0b0b0d; }
.brands__row { display: flex; align-items: center; gap: 28px; height: 76px; }
.brands__label { flex: none; font: 500 .68rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.brands__track { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands__move { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.brands__move span { padding: 0 28px; font: 400 .82rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: #85858e; white-space: nowrap; }
.brands__move span:hover { color: var(--white); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== v6: services teaser (home) ===== */
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tcard { position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line) inset; background: #0c0c0e; transition: box-shadow .35s; }
.tcard figure { aspect-ratio: 4 / 3; border-radius: 0; }
.tcard figure::after { box-shadow: none; background: linear-gradient(0deg, #0c0c0e, transparent 55%); }
.tcard:hover { box-shadow: 0 0 0 1px rgba(255,59,48,.45) inset; }
.tcard:hover img { transform: scale(1.05); }
.tcard__body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 6px 22px 22px; flex: 1; }
.tcard__body::before { content: ""; position: absolute; left: 22px; top: -14px; width: 22px; height: 2px; background: var(--accent); transition: width .45s var(--ease); }
.tcard:hover .tcard__body::before { width: 48px; }
.tcard__no { font: 500 .7rem var(--f-mono); color: var(--dim); letter-spacing: .08em; }
.tcard p { margin: 0; color: var(--silver); font-size: .92rem; flex: 1; }
.tcard__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--dim); }
.tcard__foot b { color: var(--white); }
.tcard__foot i { font-style: normal; color: var(--accent); transition: transform .35s var(--ease); }
.tcard:hover .tcard__foot i { transform: translateX(4px); }
.svc-more { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 12px; padding: 18px 22px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; }
.svc-more__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: .92rem; color: var(--silver); }
.svc-more__list > span { color: var(--accent); font-weight: 600; }
.svc-more__list a:hover { color: var(--white); }

/* ===== v6: contact CTA card ===== */
.contact__grid { align-items: center; }
.ccard { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 44px); border-radius: 18px; background: #0f0f12; box-shadow: 0 0 0 1px var(--line) inset; overflow: hidden; }
.ccard::before { content: ""; position: absolute; left: clamp(28px, 3.5vw, 44px); top: 0; width: 40px; height: 2px; background: var(--accent); }
.ccard::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(rgba(255,59,48,.16), transparent 65%); pointer-events: none; }
.ccard h3 { font: 700 clamp(1.4rem, 2.2vw, 1.9rem)/1.2 var(--f-body); letter-spacing: -.02em; }
.ccard > p { color: var(--silver); margin: 12px 0 0; }
.ccard__steps { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ccard__steps li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line) inset; font-size: .92rem; font-weight: 600; }
.ccard__steps b { font: 700 .95rem var(--f-body); color: transparent; -webkit-text-stroke: 1px var(--accent); }
.ccard__ctas { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: auto; }
.ccard__tel { margin-top: 18px; font: 500 .8rem var(--f-mono); letter-spacing: .1em; color: var(--silver); }
.ccard__tel:hover { color: var(--white); }

/* ===== v6: services page ===== */
.page-sub .header { background: rgba(8,8,10,.94); border-color: var(--line); }
.nav a.is-active { color: var(--white); }
.phead { position: relative; padding: clamp(130px, 14vw, 180px) 0 clamp(48px, 6vw, 72px); overflow: hidden; }
.phead__bg { position: absolute; inset: 0; z-index: 0; }
.phead__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.phead__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 25%, rgba(8,8,10,.55) 70%, rgba(8,8,10,.8)), linear-gradient(0deg, var(--navy), transparent 45%); }
.phead__inner { position: relative; z-index: 1; }
.crumbs { display: flex; gap: 10px; margin-bottom: 28px; font: 500 .72rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.crumbs a:hover { color: var(--white); }
.phead__title { font: 700 clamp(2rem, 4.4vw, 3.6rem)/1.1 var(--f-body); letter-spacing: -.03em; margin: 0; max-width: 18ch; }
.phead__chips { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.phead__chips li { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; font-size: .86rem; background: rgba(17,17,20,.8); box-shadow: 0 0 0 1px var(--line) inset; }
.phead__chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.tabs { position: sticky; top: 68px; z-index: 30; background: rgba(8,8,10,.96); border-bottom: 1px solid var(--line); }
.page-sub .header.is-hidden { transform: none; }
.page-sub .header__row { height: 68px; }
.tabs__row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs [role="tab"] { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 20px 18px; font: 600 .95rem var(--f-body); color: var(--dim); white-space: nowrap; transition: color .3s; }
.tabs [role="tab"]::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .45s var(--ease); }
.tabs [role="tab"]:hover { color: var(--silver); }
.tabs [role="tab"][aria-selected="true"] { color: var(--white); }
.tabs [role="tab"][aria-selected="true"]::after { transform: none; }
.tabs__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 .7rem/1 var(--f-body); }

.panel { padding: clamp(36px, 5vw, 60px) 0 clamp(64px, 8vw, 110px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { padding: 9px 16px; border-radius: 999px; font-size: .86rem; color: var(--silver); box-shadow: 0 0 0 1px var(--line) inset; transition: .3s; }
.chip:hover { color: var(--white); box-shadow: 0 0 0 1px rgba(245,245,247,.3) inset; }
.chip.is-on { color: #fff; background: #d4261d; box-shadow: none; }   /* darker red: white text stays readable (AA) */

.slist { display: grid; gap: 10px; }
.srow { cursor: pointer; display: grid; grid-template-columns: 120px minmax(0, 1.25fr) minmax(0, 1.2fr) 190px 40px; align-items: center; gap: 28px; padding: 12px 22px 12px 12px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow .35s, background .35s; }
.srow:hover { background: rgba(255,59,48,.025); box-shadow: 0 0 0 1px rgba(255,59,48,.35) inset; }
.srow__img { aspect-ratio: 1; border-radius: 10px; }
.srow__cat { font: 500 .68rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.srow h3 { margin: 6px 0 4px; font-size: 1.1rem; }
.srow__main p { margin: 0; color: var(--silver); font-size: .9rem; }
.srow__incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; color: var(--silver); }
.srow__incl li { display: flex; gap: 10px; align-items: baseline; }
.srow__incl li::before { content: ""; flex: none; width: 10px; height: 2px; background: var(--accent); transform: translateY(-3px); }
.srow__meta { display: grid; grid-template-columns: 70px 1fr; gap: 20px; }
.srow__btn { justify-content: center; }
.srow__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--accent); box-shadow: 0 0 0 1px var(--line) inset; transition: background .3s, color .3s, transform .4s var(--ease); }
.srow:hover .srow__go, .srow:focus-visible .srow__go { background: var(--accent); color: #fff; box-shadow: none; transform: translateX(3px); }
.srow:focus-visible { outline: none; box-shadow: 0 0 0 1px rgba(255,59,48,.6) inset; }
.map__label { position: absolute; right: calc(35.71% + 26px); top: calc(53.57% - 26px); text-align: right; align-items: flex-end; display: flex; flex-direction: column; gap: 2px; padding: 9px 14px; border-radius: 10px; background: rgba(8,8,10,.88); box-shadow: 0 0 0 1px rgba(255,59,48,.35) inset; white-space: nowrap; font-size: .78rem; color: var(--silver); }
.map__label b { font: 400 .72rem var(--f-display); letter-spacing: .24em; color: var(--white); }
.map__chips { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.map__chips span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: .76rem; background: rgba(8,8,10,.85); box-shadow: 0 0 0 1px var(--line) inset; }
.map__chips span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.srow__meta span { display: flex; flex-direction: column; gap: 4px; white-space: nowrap; font-size: .95rem; }
.srow__meta small { font: 500 .66rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.srow__meta b { font-size: 1.1rem; }

.sub-block { margin-top: clamp(64px, 8vw, 100px); }
.faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.faq__item { border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; padding: 0 22px; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; transition: transform .3s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0 0 20px; color: var(--silver); font-size: .94rem; }

.book__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.booking__done-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.summary { position: sticky; top: 150px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line) inset; background: #0f0f12; }
.summary__img { aspect-ratio: 16 / 9; border-radius: 0; }
.summary__body { padding: 26px; }
.summary dl { margin: 0; display: grid; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--dim); font-size: .9rem; }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.summary__perks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; font-size: .9rem; color: var(--silver); }
.summary__perks li { display: flex; gap: 10px; align-items: center; }
.summary__perks li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.summary__tel { font: 500 .8rem var(--f-mono); letter-spacing: .1em; color: var(--silver); }

.orders__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.orders__head .lead { margin: 0; }
.olist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ocard { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; }
.ocard::before { content: ""; position: absolute; left: 24px; top: 0; width: 22px; height: 2px; background: var(--accent); }
.ocard__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ocard__top .mono { color: var(--dim); }
.ocard__status { font-size: .74rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; color: #ffb4ae; background: rgba(255,59,48,.12); }
.ocard dl { margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.ocard dl div { display: flex; justify-content: space-between; gap: 12px; }
.ocard dt { color: var(--dim); } .ocard dd { margin: 0; text-align: right; }
.ocard__cancel { align-self: flex-start; font-size: .84rem; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.ocard__cancel:hover { color: var(--accent); }
.oempty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 70px 20px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; color: var(--silver); text-align: center; }
.oempty p { margin: 0; }

@media (max-width: 1100px) {
  .srow { grid-template-columns: 96px 1fr 40px; gap: 18px; }
  .srow__incl { display: none; }
  .srow__go { grid-column: 3; grid-row: 1; }
  .srow__meta { grid-column: 2 / 4; grid-row: 2; justify-content: flex-start; }
}
@media (max-width: 1000px) {
  .tgrid { grid-template-columns: repeat(2, 1fr); }
  .book__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .olist { grid-template-columns: 1fr 1fr; }
  .faq__list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tgrid, .olist { grid-template-columns: 1fr; }
  .ccard__steps, .ccard__ctas { grid-template-columns: 1fr; }
  .brands__label { display: none; }
  .srow { grid-template-columns: 72px 1fr; padding-right: 14px; }
  .srow__meta { grid-column: 1 / -1; grid-row: auto; }
  .srow__go { display: none; }
}

@media (max-width: 1000px) {
  .svc-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .rgrid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .burger { display: block; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__img { aspect-ratio: 16 / 10; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .studio__panel { top: auto; bottom: 100px; width: auto; right: var(--pad); }
  .studio__panel p { display: none; }
  .hero__vignette { background: linear-gradient(0deg, var(--navy) 6%, rgba(8,8,10,.75) 45%, rgba(8,8,10,.1) 75%), linear-gradient(180deg, rgba(8,8,10,.7), transparent 18%); }
  .hero { justify-content: flex-end; }
  .hero__content { padding-bottom: 110px; }
}
@media (max-width: 760px) {
  .svc-grid, .steps { grid-template-columns: 1fr; }
  .header__cta > .btn { display: none; }
  .hero__ctas .btn { flex: 1; padding: 0 18px; }
  .scanchip { left: var(--pad); right: auto; bottom: 28px; }
  .scrollcue { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 180px; gap: 10px; }
  .g-item--hero { grid-column: span 2; grid-row: span 1; }
  .g-item figcaption { padding: 14px; } .g-item figcaption b { font-size: .88rem; }
  .row2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .studio__stage { height: 76vh; min-height: 500px; }
  .studio__controls { bottom: 16px; gap: 10px; padding: 8px 10px; }
  .studio__panel { bottom: 86px; }
  .footer__top .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .clip { clip-path: none; } .js .clip img { transform: none; }
}

/* ===== Metallic text: silver on white, gold on red ===== */
:is(.h2, .phead__title, .footer__cta, .stat b, .pillar b, .reviews__rating b, .ccard h3, .hero__title .line:not(.line--accent)),
:is(.h2, .phead__title, .footer__cta, .stat b, .pillar b, .reviews__rating b, .ccard h3, .hero__title .line:not(.line--accent)) * {
  background: var(--g-silver); background-size: 100% 1lh; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.accent, .accent *, .pillar b small { background: none !important; color: var(--accent) !important; -webkit-text-fill-color: var(--accent) !important; }

/* ===== Custom dropdown ===== */
.csel select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.csel__btn { width: 100%; height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 18px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--navy); color: var(--white); font: 400 1rem var(--f-body); text-align: left; cursor: pointer; transition: border-color .3s, box-shadow .3s; }
.csel__btn:hover { border-color: rgba(245,245,247,.22); }
.csel__btn:focus-visible, .csel.is-open .csel__btn { outline: none; border-color: rgba(255,59,48,.7); box-shadow: 0 0 0 4px rgba(255,59,48,.12); }
.csel__val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csel__btn i { flex: none; width: 10px; height: 10px; margin-top: -14px; border-right: 2px solid var(--silver); border-bottom: 2px solid var(--silver); transform: rotate(45deg); transition: transform .3s var(--ease), border-color .3s; }
.csel.is-open .csel__btn i { transform: translateY(5px) rotate(225deg); border-color: var(--accent); }
.csel.has-value label, .csel.is-open label { top: 10px; font-size: .7rem; color: var(--silver); }
.is-invalid .csel__btn { border-color: rgba(255,120,140,.6); }
.csel__list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; max-height: 340px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: #121215; box-shadow: 0 0 0 1px var(--line) inset, 0 30px 60px -20px rgba(0,0,0,.9); scrollbar-width: thin; scrollbar-color: #333 transparent; overscroll-behavior: contain; }
.csel__list [role="option"] { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 10px; cursor: pointer; transition: background .2s; }
.csel__list [role="option"].is-active { background: rgba(255,255,255,.05); }
.csel__list [role="option"][aria-selected="true"] { background: rgba(255,59,48,.1); }
.csel__list [role="option"][aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: var(--accent); }
.csel__name { display: flex; align-items: baseline; gap: 12px; font-weight: 500; }
.csel__name b { font: 500 .7rem var(--f-mono); color: var(--accent); }
.csel__meta { font-size: .8rem; color: var(--dim); white-space: nowrap; }
@media (max-width: 760px) { .csel__meta { display: none; } }
.booking { overflow: visible; }

/* Headings: balanced lines, accent phrase never split off */
.h2, .phead__title, .footer__cta, .ccard h3 { text-wrap: balance; }
.h2 .accent, .phead__title .accent, .footer__cta .accent { white-space: nowrap; }

/* ===== Responsive polish (v7) ===== */
@media (max-width: 1100px) {
  .contact__grid { grid-template-columns: 1fr; gap: 28px; }
  .ccard__steps { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1000px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillar { min-height: 0; padding: 30px 24px 26px; }
  .pillar::before { left: 24px; }
  .pillar h3 { margin-top: 18px; font-size: 1.12rem; }
  .rgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 8px; scrollbar-width: none; }
  .rgrid::-webkit-scrollbar { display: none; }
  .rcard { flex: 0 0 min(440px, 82%); scroll-snap-align: start; scroll-margin-left: var(--pad); }
}
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .tgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tcard figure { aspect-ratio: 1 / 1; }
  .tcard__body { padding: 4px 14px 14px; gap: 6px; }
  .tcard__body::before { left: 14px; }
  .tcard h3 { font-size: .95rem; }
  .tcard p { display: none; }
  .tcard__foot { margin-top: 4px; padding-top: 10px; font-size: .82rem; }
  .svc-more { padding: 16px; }
  .svc-more .btn { width: 100%; justify-content: center; }
  .pillars { grid-template-columns: 1fr; gap: 10px; }
  .pillar { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; padding: 22px 20px; }
  .pillar::before { left: 20px; }
  .pillar b { grid-row: span 2; margin: 0 !important; font-size: 2.4rem; min-width: 3.2ch; }
  .pillar h3 { margin: 0; font-size: 1.02rem; }
  .pillar p { font-size: .88rem; }
  .ccard__steps { grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0; }
  .ccard__steps li { padding: 12px; font-size: .84rem; gap: 8px; }
  .map__chips span { font-size: .68rem; padding: 5px 9px; }
  .map__label { padding: 6px 10px; font-size: .68rem; right: calc(35.71% + 20px); top: calc(53.57% - 20px); }
  .tabs [role="tab"] { padding: 16px 12px; font-size: .9rem; }
  .tabs__row { gap: 0; }
  .srow { grid-template-columns: 64px 1fr; gap: 6px 14px; padding: 10px; }
  .srow__main h3 { font-size: 1rem; margin-top: 4px; }
  .srow__main p { font-size: .84rem; }
  .srow__meta { grid-column: 2; grid-row: 2; display: flex; gap: 22px; }
  .srow__meta b { font-size: 1rem; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .step { padding-top: 20px; }
  .step__n { font-size: 1.8rem; margin-bottom: 12px; }
  .step h3 { font-size: .98rem; }
  .step p { font-size: .86rem; }
  .phead { padding-bottom: 36px; }
  .phead__chips { margin-top: 22px; }
  .stats { gap: 22px; }
}
@media (max-width: 400px) {
  .map__label { display: none; }
  .tcard__foot > span { font-size: .78rem; }
}
@media (max-width: 760px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
@media (min-width: 1600px) { :root { --container: 1440px; } }
.studio__panel { left: max(var(--pad), calc((100% - var(--container)) / 2 + var(--pad))); }
@media (max-width: 400px) {
  .header__row { gap: 10px; }
  .header__cta { gap: 8px; }
  .lang button { padding: 6px 7px; }
  .logo { gap: 9px; }
  .logo__text { letter-spacing: .22em; font-size: .85rem; }
}
/* Wide screens: hero copy and header hug the edges instead of the centred column */
.hero__content.container, .header .container { max-width: 1760px; padding-inline: clamp(20px, 4.5vw, 96px); }

/* ===== Red side ornaments in the empty gutters of wide screens ===== */
@media (min-width: 1480px) {
  main > .section:not(.studio)::before, main > .section:not(.studio)::after,
  .phead::after, .panel::before {
    content: ""; position: absolute; top: 50%; pointer-events: none; z-index: 0;
    background: center / contain no-repeat; opacity: .9;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  }
  main > .section:not(.studio)::before, .panel::before { left: calc((100% - var(--container)) / 4); width: 96px; height: 504px; transform: translate(-50%, -50%); background-image: url("../img/deco/ruler.svg"); }
  main > .section:not(.studio)::after, .phead::after { right: calc((100% - var(--container)) / 4); width: 120px; height: 456px; transform: translate(50%, -50%); background-image: url("../img/deco/panel.svg"); }
  /* alternate sides section by section */
  main > .section:not(.studio):nth-of-type(even)::before { background-image: url("../img/deco/panel.svg"); width: 120px; height: 456px; transform: translate(-50%, -50%) scaleX(-1); }
  main > .section:not(.studio):nth-of-type(even)::after { background-image: url("../img/deco/ruler.svg"); width: 96px; height: 504px; transform: translate(50%, -50%) scaleX(-1); }
  .phead::after { z-index: 1; top: 55%; }
  .panel { position: relative; }
  .panel::before { top: 360px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Placeholder English text stays invisible (but keeps its space) until the chosen language is applied */
.i18n-pending :is([data-i18n], [data-i18n-html], [data-i18n-html] *, .slist, .slist *, [data-price]) { color: transparent !important; -webkit-text-fill-color: transparent !important; }
.is-off, .is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }   /* looping animations sleep off screen */
@media (prefers-reduced-motion: reduce) { .brands__move { animation: none; } }
.studio__loading.is-manual { z-index: 5; text-transform: none; letter-spacing: 0; }
.footer__note { flex-basis: 100%; margin-top: -8px; color: var(--dim); font-size: .8rem; }

/* Map labels (HTML so they translate) */
.map__lbl { position: absolute; transform: translate(-50%, -50%); font: 500 .6rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: #74747e; white-space: nowrap; text-shadow: 0 0 6px #0a0a0d, 0 0 2px #0a0a0d; pointer-events: none; }
.map__lbl--v { transform: translate(-50%, -50%) rotate(-90deg); }
.map__lbl--d { font-size: .64rem; letter-spacing: .34em; color: #4c4c55; }
.map__lbl--w { color: #4f5566; font-style: italic; letter-spacing: .24em; }
.map__lbl--c { color: #c9c9d0; }
.map__scale { position: absolute; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font: 500 .6rem var(--f-mono); letter-spacing: .1em; color: #8a8a93; }
.map__scale i { width: 64px; height: 6px; border: 1px solid #5a5a63; border-top: 0; }
.map__north { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 500 .62rem var(--f-mono); color: #c9c9d0; background: rgba(8,8,10,.8); box-shadow: 0 0 0 1px var(--line) inset; }
.map__north::before { content: ""; position: absolute; top: -5px; left: 50%; margin-left: -4px; border: 4px solid transparent; border-bottom: 6px solid var(--accent); border-top: 0; }
.map__pin span { width: 16px; height: 16px; box-shadow: 0 0 0 6px rgba(255,59,48,.22), 0 0 24px 6px rgba(255,59,48,.45); }
@media (max-width: 760px) { .map__lbl--d, .map__lbl--w, .map__north { display: none; } .map__lbl { font-size: .5rem; } }

.map-wrap { margin-top: clamp(28px, 4vw, 48px); }
/* inner canvas keeps the map's own aspect; on narrow screens it overflows and stays centred on the route */
.map__inner { position: absolute; top: 0; left: 50%; height: 100%; aspect-ratio: 1400 / 560; transform: translateX(-50%); }
@media (max-width: 760px) {
  .map { aspect-ratio: auto; height: 300px; }
  .map__inner { transform: translateX(-54%); }
  .map__label { display: flex; }
}
@media (max-width: 760px) { .map__scale { display: none; } }
