/* =========================================================
   CleanLife Cars — design tokens
   Concept: precision + gloss. The brand IS the reflection a
   detailer produces on a panel — chrome, ceramic-glint cyan,
   graphite, one warm copper accent (brake-caliper heat).
   Premium/motion layer: ambient light, magnetic UI, 3D tilt,
   scroll reveals, animated wordmark — the site should feel
   the way a freshly ceramic-coated panel looks.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  --bg:            #0a0b0d;
  --panel:         #141618;
  --panel-raised:  #1b1e21;
  --stroke:        #2a2d31;
  --chrome:        #d7dbdf;
  --chrome-dim:    #9aa0a6;
  --muted:         #6d7278;
  --ceramic:       #5ecbe0;
  --ceramic-dim:   #3a8a9a;
  --copper:        #c1622d;
  --copper-bright: #e07a3f;

  --display: 'Bebas Neue', sans-serif;
  --body:    'Manrope', sans-serif;
  --mono:    'JetBrains Mono', monospace;

  --container: 1180px;
  --radius: 2px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.6s;
  --dur-slow: 1s;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--chrome);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
}
body.ready{
  opacity: 1;
  transition: opacity 0.6s var(--ease);
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ margin:0; font-weight:400; }

::selection{ background: var(--ceramic); color:#0a0b0d; }

:focus-visible{
  outline: 2px solid var(--ceramic);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .cursor-dot, .cursor-ring{ display:none !important; }
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ceramic);
}

/* ---------- background texture: faint brushed-graphite lines ---------- */
.grain{
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(100deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}

/* ---------- ambient drifting light (premium depth layer) ---------- */
.ambient{
  position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.ambient span{
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.28;
  will-change: transform;
}
.ambient .a1{
  width: 520px; height: 520px; top: -180px; right: -120px;
  background: radial-gradient(circle, var(--ceramic), transparent 70%);
  animation: drift1 22s var(--ease-soft) infinite alternate;
}
.ambient .a2{
  width: 420px; height: 420px; bottom: -140px; left: -100px;
  background: radial-gradient(circle, var(--copper), transparent 70%);
  opacity: 0.16;
  animation: drift2 26s var(--ease-soft) infinite alternate;
}
@keyframes drift1{
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-60px, 80px) scale(1.15); }
}
@keyframes drift2{
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(50px, -60px) scale(1.1); }
}

/* ---------- cursor-reactive spotlight grid (hero / page-hero) ---------- */
.hero-section, .page-hero{ position: relative; overflow: hidden; }
.spotlight-grid{
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(94,203,224,0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,203,224,0.16) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle 260px at var(--spot-x, 50%) var(--spot-y, 0%), black 0%, transparent 75%);
  mask-image: radial-gradient(circle 260px at var(--spot-x, 50%) var(--spot-y, 0%), black 0%, transparent 75%);
  opacity: 0.7;
}
.hero-inner, .hero-section .spec-strip, .page-hero .container{ position: relative; z-index: 1; }

/* ---------- shimmer text (wordmark accent) ---------- */
.hero-word span, .wordmark span{
  background: linear-gradient(100deg, var(--ceramic) 30%, #d9f6ff 45%, var(--ceramic) 60%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4.5s linear infinite;
}
@keyframes shimmer{
  0%   { background-position: 0% 0; }
  100% { background-position: -220% 0; }
}

/* ---------- infinite marquee strip ---------- */
.marquee{
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  overflow: hidden;
  background: var(--panel);
  position: relative;
  z-index: 1;
}
.marquee-track{
  display: flex; width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state: paused; }
.marquee-item{
  display:flex; align-items:center; gap: 14px;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--chrome-dim);
  padding: 18px 34px;
  white-space: nowrap;
}
.marquee-item::after{
  content: '✦';
  font-family: var(--body);
  font-size: 13px;
  color: var(--ceramic);
  margin-left: 14px;
}
@keyframes marquee-scroll{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- scroll progress bar ---------- */
.scroll-progress{
  position: fixed; top:0; left:0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--ceramic), var(--copper-bright));
  z-index: 100;
  transition: width 0.1s linear;
}

/* ---------- custom cursor (desktop, fine pointer only) ---------- */
.cursor-dot, .cursor-ring{
  position: fixed; top:0; left:0; z-index: 9999; pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot{
  width: 6px; height: 6px; background: var(--ceramic);
}
.cursor-ring{
  width: 34px; height: 34px; border: 1px solid rgba(94,203,224,0.5);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}
.cursor-ring.hovered{
  width: 54px; height: 54px; background: rgba(94,203,224,0.08); border-color: var(--ceramic);
}
body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button{
  cursor: none;
}

/* ---------- header / nav — floating glass pill ---------- */
header.site{
  position: sticky; top:0; z-index: 95;
  padding: 16px 20px 0;
  background: linear-gradient(180deg, rgba(10,11,13,0.9), transparent);
  border-bottom: none;
  transition: padding 0.35s var(--ease);
}
header.site.scrolled{ padding-top: 10px; }
.nav{
  display:flex; align-items:center; justify-content:space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 26px;
  background: rgba(20,22,24,0.55);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 34px -22px rgba(0,0,0,0.55);
  transition: padding 0.35s var(--ease), background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
header.site.scrolled .nav{
  padding: 11px 22px;
  background: rgba(13,14,16,0.82);
  box-shadow: 0 18px 44px -20px rgba(0,0,0,0.7);
  border-color: rgba(94,203,224,0.18);
}
.wordmark{
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.03em;
  color: var(--chrome);
  display:flex; align-items:baseline; gap:6px;
  transition: transform 0.3s var(--ease);
}
.wordmark:hover{ transform: translateY(-1px); }
.wordmark span{ color: var(--ceramic); }

.nav-links{
  display:flex; gap: 34px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a{
  position:relative; padding: 4px 0; color: var(--chrome-dim);
  transition: color .2s ease;
}
.nav-links a::before{
  content:''; position:absolute; left:0; right:100%; bottom:-4px; height:1px;
  background: var(--chrome-dim);
  transition: right 0.3s var(--ease);
}
.nav-links a:hover::before{ right: 0; }
.nav-links a:hover, .nav-links a.active{ color: var(--chrome); }
.nav-links a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-4px; height:1px;
  background: var(--ceramic);
}

.nav-right{ display:flex; align-items:center; gap: 20px; }
.lang-toggle.mobile-lang{ display:none; }

.lang-toggle{
  display:flex; border:1px solid var(--stroke); border-radius: var(--radius);
  font-family: var(--mono); font-size: 12px; overflow:hidden;
}
.lang-toggle button{
  background: transparent; color: var(--muted); border:none; cursor:pointer;
  padding: 7px 12px; letter-spacing:.05em; transition: all .2s ease;
}
.lang-toggle button.active{ background: var(--ceramic); color:#0a0b0d; }
.lang-toggle button:not(.active):hover{ color: var(--chrome); }

.btn{
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: var(--radius);
  display: inline-flex; align-items:center; gap:8px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), background 0.25s ease, border-color 0.25s ease, box-shadow 0.35s ease;
  will-change: transform;
}
.btn::before{
  content:'';
  position:absolute; top:0; left:-120%; width:60%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
}
.btn:hover::before{ left: 130%; }
.btn::after{
  content: '→';
  display: inline-block;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), max-width 0.3s var(--ease), margin 0.3s var(--ease);
}
.btn:hover::after{
  opacity: 1; max-width: 20px; transform: translateX(0); margin-left: 2px;
}
.btn-primary{
  background: var(--ceramic); color: #06090a; border-color: var(--ceramic);
}
.btn-primary:hover{ background: #7ad7e8; box-shadow: 0 10px 30px -10px rgba(94,203,224,0.55); }
.btn-ghost{
  background: transparent; color: var(--chrome); border-color: var(--stroke);
}
.btn-ghost:hover{ border-color: var(--chrome-dim); }

.menu-toggle{
  display:none; background:none; border:none; color: var(--chrome); cursor:pointer;
}

/* ---------- footer ---------- */
footer.site{
  border-top: 1px solid var(--stroke);
  margin-top: 120px;
  padding: 48px 0 32px;
}
.footer-grid{
  display:grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px;
}
.footer-col h4{
  font-family: var(--mono); font-size: 12px; letter-spacing:.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.footer-col a, .footer-col p{
  color: var(--chrome-dim); font-size: 14px; margin: 0 0 8px;
}
.footer-col a{ transition: color 0.2s ease, transform 0.2s ease; display:inline-block; }
.footer-col a:hover{ color: var(--ceramic); transform: translateX(2px); }
.footer-bottom{
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--stroke);
  display:flex; justify-content:space-between; align-items:center;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  letter-spacing: .04em;
}

/* ---------- shared: section spacing ---------- */
main{ position:relative; z-index:1; }
.section{ padding: 96px 0; }
.section-head{ max-width: 620px; margin-bottom: 56px; }
.section-head h2{
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: .01em;
  margin-top: 10px;
  color: var(--chrome);
}
.section-head p{ color: var(--chrome-dim); margin-top: 14px; font-size: 16px; max-width: 520px; }

/* ---------- reveal-on-scroll utility (applied via JS) ---------- */
.reveal{
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}

/* ---------- spec strip (mono tag row, echoes automotive spec plates) ---------- */
.spec-strip{
  display:flex; flex-wrap:wrap; gap: 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}
.spec-strip span{
  font-family: var(--mono); font-size: 12.5px; letter-spacing:.08em;
  color: var(--chrome-dim); text-transform: uppercase;
  padding: 14px 22px; border-right: 1px solid var(--stroke);
  transition: background 0.3s ease, color 0.3s ease;
}
.spec-strip span:hover{ background: rgba(94,203,224,0.06); color: var(--chrome); }
.spec-strip span:last-child{ border-right:none; }
.spec-strip span b{ color: var(--ceramic); font-weight:500; margin-right:6px; }

/* ---------- gloss sweep signature ---------- */
.sweep{
  position:relative; overflow:hidden;
}
.sweep::after{
  content:'';
  position:absolute; top:0; left:-60%; width:40%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(94,203,224,0.16), rgba(255,255,255,0.06), transparent);
  transform: skewX(-18deg);
  animation: sweep-move 5.5s ease-in-out infinite;
}
@keyframes sweep-move{
  0%   { left: -60%; }
  35%  { left: 130%; }
  100% { left: 130%; }
}

/* ---------- hero letter-by-letter reveal ---------- */
.hero-word .letter{
  display: inline-block;
  opacity: 0;
  transform: translateY(70px) rotateX(-50deg);
  animation: letterIn 0.85s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 0.032s + 0.1s);
  transform-origin: bottom;
}
@keyframes letterIn{
  to{ opacity: 1; transform: translateY(0) rotateX(0deg); }
}

/* ---------- cards (with 3D tilt applied via JS inline transform) ---------- */
.card{
  position: relative;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 30px;
  overflow: hidden;
  transition: border-color .25s ease, transform .12s ease-out, box-shadow .25s ease;
  will-change: transform;
}
.card:hover{ border-color: var(--ceramic-dim); box-shadow: 0 20px 50px -25px rgba(94,203,224,0.25); }
.card::after{
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card:hover::after{ opacity: 1; }
.card .code{
  font-family: var(--mono); font-size: 12px; color: var(--copper-bright);
  letter-spacing: .1em;
}
.card h3{
  font-family: var(--display); font-size: 26px; letter-spacing:.01em;
  margin-top: 10px; color: var(--chrome);
}
.card p{ color: var(--chrome-dim); font-size: 14.5px; margin-top: 10px; }

/* ---------- hero ---------- */
.hero-section{
  padding-top: 90px;
  background:
    radial-gradient(ellipse 900px 500px at 80% -10%, rgba(94,203,224,0.10), transparent 60%),
    radial-gradient(ellipse 700px 400px at 10% 10%, rgba(193,98,45,0.06), transparent 60%);
}
.hero-inner{ max-width: 900px; }
.hero-word{
  font-family: var(--display);
  font-size: clamp(64px, 13vw, 168px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--chrome);
  margin: 14px 0 26px;
  perspective: 600px;
}
.hero-word span{ color: var(--ceramic); }
.hero-sub{
  font-size: 18px; color: var(--chrome-dim); max-width: 560px; margin-bottom: 34px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.8s var(--ease) forwards;
  animation-delay: 0.65s;
}
.hero-ctas{
  display:flex; gap: 14px; margin-bottom: 56px; flex-wrap: wrap;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.8s var(--ease) forwards;
  animation-delay: 0.8s;
}
@keyframes fadeUp{
  to{ opacity: 1; transform: translateY(0); }
}

.container-full{ padding: 0 28px; }

/* ---------- why grid ---------- */
.why-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.why-grid .code{
  font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing:.1em;
}
.why-grid h3{ font-size: 24px; margin-top: 8px; }

/* ---------- gloss panels (portfolio placeholders) ---------- */
.panel-grid{ display:grid; gap: 18px; margin-top: 40px; }
.panel-grid.teaser{ grid-template-columns: repeat(4, 1fr); }
.gallery-link{
  font-family: var(--mono); font-size: 13px; color: var(--ceramic);
  white-space: nowrap; padding-bottom: 6px;
  position: relative;
}
.gallery-link::after{
  content:''; position:absolute; left:0; right:100%; bottom:0; height:1px; background: var(--ceramic);
  transition: right 0.3s var(--ease);
}
.gallery-link:hover::after{ right:0; }

.gloss-panel{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  overflow: hidden;
  background: var(--panel);
  transition: transform .15s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}
.gloss-panel:hover{ box-shadow: 0 24px 60px -28px rgba(0,0,0,0.6); }
.gloss-panel::before{
  content:'';
  position:absolute; inset:0;
  transition: transform 0.5s var(--ease);
}
.gloss-panel:hover::before{ transform: scale(1.06); }
.gloss-panel::after{
  content:'';
  position:absolute; top:0; left:-70%; width:45%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.10), transparent);
  transform: skewX(-16deg);
  transition: left 1.1s ease;
}
.gloss-panel:hover::after{ left: 130%; }

.p1::before{ background: linear-gradient(155deg, #1a1d20, #0c0d0f 55%, #26343a); }
.p2::before{ background: linear-gradient(155deg, #201411, #0c0d0f 55%, #3a2416); }
.p3::before{ background: linear-gradient(155deg, #14191a, #0c0d0f 55%, #1c3236); }
.p4::before{ background: linear-gradient(155deg, #1a1a1d, #0c0d0f 55%, #2e2a1c); }

/* ---------- cta band ---------- */
.cta-band{
  background: var(--panel-raised);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.cta-inner{
  display:flex; align-items:center; justify-content:space-between; gap: 24px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.cta-inner h2{ font-family: var(--display); font-size: 34px; color: var(--chrome); }
.cta-inner p{ color: var(--chrome-dim); margin-top: 6px; }

/* ---------- generic inner-page hero ---------- */
.page-hero{
  padding-top: 70px; padding-bottom: 60px;
  background: radial-gradient(ellipse 700px 400px at 85% -20%, rgba(94,203,224,0.10), transparent 60%);
}
.page-title{
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 84px);
  color: var(--chrome);
  margin: 12px 0 18px;
}
.page-sub{ color: var(--chrome-dim); max-width: 560px; font-size: 17px; }

/* ---------- services grid ---------- */
.services-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card .code{ font-size: 13px; color: var(--copper-bright); }
.service-card h3{ font-size: 23px; }

/* ---------- full gallery ---------- */
.panel-grid.full{
  grid-template-columns: repeat(3, 1fr);
}
.panel-grid.full .gloss-panel{ aspect-ratio: 4/4.6; margin: 0; }
.gloss-panel figcaption{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding: 18px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  display:flex; flex-direction:column; gap:4px;
}
.gloss-panel figcaption .tag{
  font-family: var(--mono); font-size: 11px; letter-spacing:.08em; text-transform:uppercase;
  color: var(--ceramic);
}
.gloss-panel figcaption .body{ font-size: 13px; color: var(--chrome-dim); }
.gallery-note{
  margin-top: 30px; font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  border-left: 2px solid var(--stroke); padding-left: 14px;
}

/* ---------- contact page ---------- */
.contact-grid{
  display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px;
  align-items: start;
}
.info-row{
  padding: 22px 0; border-bottom: 1px solid var(--stroke);
  display:flex; flex-direction:column; gap: 6px;
  transition: padding-left 0.3s var(--ease), border-color 0.3s ease;
}
.info-row:hover{ padding-left: 8px; border-color: var(--ceramic-dim); }
.info-row:first-child{ padding-top: 0; }
.info-label{
  font-family: var(--mono); font-size: 12px; letter-spacing:.1em; text-transform:uppercase;
  color: var(--muted);
}
.info-value{ font-size: 20px; color: var(--chrome); transition: color 0.2s ease; }
a.info-value:hover{ color: var(--ceramic); }

.contact-form h3{
  font-family: var(--display); font-size: 26px; color: var(--chrome); margin-bottom: 22px;
}
.contact-form label{
  display:flex; flex-direction:column; gap: 8px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing:.06em; text-transform:uppercase;
  color: var(--chrome-dim);
}
.contact-form input, .contact-form textarea{
  font-family: var(--body); font-size: 15px; color: var(--chrome);
  background: var(--panel-raised); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 12px 14px; resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form input:focus, .contact-form textarea:focus{
  outline: none; border-color: var(--ceramic-dim);
  box-shadow: 0 0 0 3px rgba(94,203,224,0.12);
}
.contact-form button{ margin-top: 4px; width:100%; justify-content:center; }
.contact-form button.sent{ background: #4fbd6f; border-color: #4fbd6f; }

/* ---------- responsive ---------- */
@media (max-width: 860px){
  .nav-links{ display:none; }
  .menu-toggle{ display:block; }
  .nav-right > .lang-toggle{ display:none; }
  .nav-right > .btn-primary{ display:none; }
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom{ flex-direction:column; gap:10px; align-items:flex-start; }
  .why-grid{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: 1fr; }
  .panel-grid.full{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; gap: 36px; }
  .panel-grid.teaser{ grid-template-columns: repeat(2, 1fr); }
  .cta-inner{ flex-direction:column; align-items:flex-start; }
}

/* ---------- mobile menu overlay ----------
   Built by JS and appended directly to <body> (NOT inside .nav),
   because .nav uses backdrop-filter, which creates a new containing
   block for any position:fixed descendant. A fixed panel nested
   inside a backdrop-filtered ancestor gets positioned relative to
   that ancestor instead of the viewport — this is what broke the
   old in-nav mobile menu. Keeping the overlay as a direct child of
   body avoids that entirely. */
.mobile-menu-overlay{
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 32px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.mobile-menu-overlay.open{
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear 0s;
}
.mobile-menu-links{ display:flex; flex-direction:column; width:100%; }
.mobile-menu-links a{
  font-family: var(--display); font-size: 15vw; line-height:1.15;
  letter-spacing: .01em; color: var(--chrome);
  padding: 10px 0; border-bottom: 1px solid var(--stroke);
}
.mobile-menu-links a.active{ color: var(--ceramic); }
.mobile-menu-close{
  position: absolute; top: 22px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--panel-raised); border: 1px solid var(--stroke); color: var(--chrome);
  cursor: pointer;
}
.mobile-menu-cta{
  margin-top: 26px; width: 100%; justify-content: center;
}
.mobile-menu-lang{ margin-top: 14px; }
@media (min-width: 861px){
  .mobile-menu-overlay{ display: none !important; }
}

/* hamburger → X morph */
.menu-toggle svg line{
  transform-box: fill-box; transform-origin: center;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle.is-open svg line:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open svg line:nth-child(2){ opacity: 0; }
.menu-toggle.is-open svg line:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 560px){
  .hero-ctas{ flex-direction:column; align-items:stretch; }
  .spec-strip span{ padding: 10px 14px; font-size: 11px; }
}
