/* =========================================================
   AUTOMILE — Design System
   Palette derived from brand mark:
   Primary (deep blue)  #0071BC
   Accent  (bright blue) #3FA9F5
   ========================================================= */

:root{
  --bg:            #060a10;
  --bg-alt:        #0b121a;
  --surface:       #10181f;
  --surface-2:     #151f28;
  --primary:       #0071bc;
  --primary-dark:  #00436e;
  --accent:        #3fa9f5;
  --accent-soft:   rgba(63,169,245,0.12);
  --text:          #f3f6fa;
  --text-muted:    #8b98a8;
  --text-faint:    #56646f;
  --border:        rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.18);

  --font-display: 'Space Grotesk', sans-serif;
  --font-mono:    'Big Shoulders Display', sans-serif;
  --font-body:    'Inter', sans-serif;

  --container: 1240px;
  --edge: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: auto; }
html, body{ overflow-x: hidden; width: 100%; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style:none; }
button{ font: inherit; background:none; border:none; color: inherit; cursor:pointer; }
svg{ display:block; }

.skip-link{
  position:absolute; left:-999px; top:0; background:var(--accent); color:#02121f;
  padding:12px 20px; z-index:999; font-weight:600;
}
.skip-link:focus{ left: var(--edge); top: var(--edge); }

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

/* ---------- Grain overlay ---------- */
.grain{
  position: fixed; inset:0; pointer-events:none; z-index: 2;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Custom cursor (desktop only) ---------- */
.cursor-dot, .cursor-ring{
  position: fixed; top:0; left:0; pointer-events:none; z-index: 999;
  border-radius: 50%; transform: translate(-50%,-50%);
  display: none;
}
.has-fine-pointer .cursor-dot, .has-fine-pointer .cursor-ring{ display:block; }
.cursor-dot{
  width:6px; height:6px; background: var(--accent);
  transition: opacity .2s var(--ease);
}
.cursor-ring{
  width:32px; height:32px; border:1px solid var(--border-strong);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.cursor-ring.is-active{
  width: 56px; height:56px; border-color: var(--accent); background: var(--accent-soft);
}

/* ---------- Layout helpers ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(12px, 1.2vw, 14px);
  color: var(--accent);
  margin-bottom: 18px;
}
.section-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.section-lead{
  color: var(--text-muted);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 640px;
  line-height: 1.7;
}
.section-head{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge);
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items:center; gap:10px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn svg{ width:16px; height:16px; transition: transform .35s var(--ease); }
.btn:hover svg{ transform: translateX(4px); }
.btn:hover{ transform: translateY(-2px); }

.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #04101c;
}
.btn-primary:hover{ box-shadow: 0 10px 30px -8px rgba(63,169,245,0.55); }

.btn-ghost{
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }

.btn-ghost-light{ border-color: rgba(255,255,255,0.35); color:#fff; }
.btn-ghost-light:hover{ border-color:#fff; background: rgba(255,255,255,0.08); }

.btn-small{ padding: 11px 22px; font-size: 13.5px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: fixed; top:0; left:0; width:100%; z-index: 500;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  padding: 12px 0;
  background: rgba(6,10,16,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge);
  display:flex; align-items:center; justify-content:space-between; gap: 24px;
}
.brand-logo{ height: 30px; width:auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand-logo{ height: 26px; }

.main-nav ul{ display:flex; align-items:center; gap: 34px; }
.main-nav a{
  position: relative;
  font-size: 14.5px; font-weight: 500; color: var(--text-muted);
  transition: color .3s var(--ease);
  padding: 4px 0;
}
.main-nav a span{ position:relative; display:inline-block; }
.main-nav a span::after{
  content:''; position:absolute; left:0; bottom:-4px; width:100%; height:1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.main-nav a:hover{ color: var(--text); }
.main-nav a:hover span::after{ transform: scaleX(1); transform-origin: left; }

.nav-cta{ flex-shrink:0; }

.menu-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width: 40px; height: 40px;
}
.menu-toggle span{
  display:block; width: 22px; height:2px; background: var(--text);
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu{
  position: fixed; inset:0; z-index: 400;
  background: var(--bg-alt);
  display:flex; align-items:center; justify-content:center;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .55s var(--ease);
  pointer-events: none;
}
.mobile-menu.open{
  clip-path: circle(150% at calc(100% - 40px) 40px);
  pointer-events: auto;
}
.mobile-menu nav{ text-align:center; }
.mobile-menu ul{ display:flex; flex-direction:column; gap: 22px; margin-bottom: 40px; }
.mobile-menu a{
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 600;
  color: var(--text);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu.open a{ opacity: 1; transform: translateY(0); }
.mobile-menu.open ul li:nth-child(1) a{ transition-delay: .08s; }
.mobile-menu.open ul li:nth-child(2) a{ transition-delay: .13s; }
.mobile-menu.open ul li:nth-child(3) a{ transition-delay: .18s; }
.mobile-menu.open ul li:nth-child(4) a{ transition-delay: .23s; }
.mobile-menu.open ul li:nth-child(5) a{ transition-delay: .28s; }
.mobile-menu.open ul li:nth-child(6) a{ transition-delay: .33s; }
.mobile-menu-phone{
  display:inline-block; color: var(--accent); font-weight:600; font-size: 16px;
  letter-spacing: 0.03em;
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  min-height: 100svh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding: 140px var(--edge) 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 112%, rgba(63,169,245,0.16), transparent 55%),
    radial-gradient(circle at 85% -10%, rgba(0,113,188,0.22), transparent 45%),
    var(--bg);
}
.hero-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
}
.hero-gauge{
  position:absolute; bottom: -6%; left:50%; transform: translateX(-50%);
  width: min(1100px, 150vw); height:auto; opacity: 0.55;
  pointer-events:none;
}
.gauge-arc-track{
  fill:none; stroke: rgba(255,255,255,0.09); stroke-width: 3; stroke-linecap: round;
}
.gauge-arc-fill{
  fill:none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 942; stroke-dashoffset: 700;
  filter: drop-shadow(0 0 8px rgba(63,169,245,0.6));
}
.gauge-ticks line{ stroke: rgba(255,255,255,0.15); stroke-width:2; }
.gauge-needle{
  stroke: var(--accent); stroke-width: 3; stroke-linecap: round;
  transform-origin: 400px 380px;
  transform: rotate(-52deg);
  filter: drop-shadow(0 0 6px rgba(63,169,245,0.7));
}
.gauge-hub{ fill: var(--bg); stroke: var(--accent); stroke-width: 3; }

.hero-content{ position: relative; z-index: 2; max-width: 920px; text-align:center; }

.hero-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 8vw, 92px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-title .line{ display:block; overflow:hidden; }
.hero-title .line span{ display:inline-block; will-change: transform; }
.hero-title .accent{ color: var(--accent); }

.hero-sub{
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.hero-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

.reveal-up{ opacity: 0; transform: translateY(22px); }

.scroll-indicator{
  position:absolute; bottom: 38px; left:50%; transform: translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  z-index:2;
}
.scroll-line{
  width:1px; height:40px; background: linear-gradient(to bottom, var(--accent), transparent);
  position:relative; overflow:hidden;
}
.scroll-line::after{
  content:''; position:absolute; top:-100%; left:0; width:100%; height:100%;
  background: var(--accent);
  animation: scrollDown 2.2s var(--ease) infinite;
}
@keyframes scrollDown{ 0%{ top:-100%; } 60%{ top:100%; } 100%{ top:100%; } }
.scroll-label{
  font-family: var(--font-mono); font-size:11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
}

/* =========================================================
   STORY / HERITAGE
   ========================================================= */
.story{
  padding: 140px var(--edge);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.story-inner{ max-width: var(--container); margin:0 auto; }
.story .section-title{ max-width: 760px; }
.story-lead{
  color: var(--text-muted);
  font-size: clamp(15px, 1.5vw, 18px);
  max-width: 660px;
  line-height: 1.75;
  margin-bottom: 90px;
}

.timeline{ position: relative; padding-top: 10px; }
.timeline-track{
  position: relative;
  height: 2px;
  background: var(--border);
  margin-bottom: 56px;
}
.timeline-fill{
  position:absolute; left:0; top:0; height:100%; width:0%;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width .1s linear;
}
.timeline-points{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.timeline-point{
  position: relative;
  opacity: 0.4;
  transition: opacity .4s var(--ease);
}
.timeline-point.active{ opacity: 1; }
.tp-dot{
  position:absolute; top:-66px; left:0;
  width:12px; height:12px; border-radius:50%;
  background: var(--surface); border: 2px solid var(--border-strong);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.timeline-point.active .tp-dot{
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.tp-year{
  display:block; font-family: var(--font-mono); font-weight:700;
  font-size: clamp(30px, 4vw, 44px); letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.tp-label{
  display:block; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; max-width: 260px;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services{
  padding: 140px 0 0;
  position: relative;
}
.services .section-head{ margin-bottom: 64px; }

.service-list{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge);
  border-top: 1px solid var(--border);
}
.service-item{
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
  cursor: pointer;
  position: relative;
}
.service-row{
  display:flex; align-items:center; gap: 28px;
}
.service-num{
  font-family: var(--font-mono); font-weight:700; font-size: 18px;
  color: var(--text-faint, var(--text-muted));
  width: 44px; flex-shrink:0;
  transition: color .35s var(--ease);
}
.service-name{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 3.2vw, 36px);
  flex: 1;
  transition: transform .45s var(--ease), color .35s var(--ease);
}
.service-arrow{
  width: 42px; height:42px; border-radius:50%; border:1px solid var(--border-strong);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.service-arrow svg{ width:16px; height:16px; transition: transform .35s var(--ease); }
.service-desc{
  max-height: 0; overflow:hidden; color: var(--text-muted);
  font-size: 15px; line-height: 1.7; max-width: 640px;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .4s var(--ease);
  opacity:0; margin-left: 72px;
}
.service-item:hover .service-num,
.service-item.active .service-num{ color: var(--accent); }
.service-item:hover .service-name,
.service-item.active .service-name{ transform: translateX(10px); color: var(--accent); }
.service-item:hover .service-arrow,
.service-item.active .service-arrow{ background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }
.service-item:hover .service-arrow svg,
.service-item.active .service-arrow svg{ color: #04101c; }
.service-item.active .service-desc{ max-height: 120px; opacity:1; margin-top: 14px; }

.service-visual{
  display:none;
}

/* =========================================================
   INSTALLATIONS
   ========================================================= */
.installations{
  position: relative;
  padding: 140px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow:hidden;
}
.blueprint-grid{
  position:absolute; inset:0; opacity:0.5;
  background-image:
    linear-gradient(to right, rgba(63,169,245,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(63,169,245,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}
.installations .section-head{ margin-bottom: 70px; position:relative; }

.install-grid{
  position:relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge);
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.install-item{
  background: var(--bg-alt);
  padding: 40px 32px;
  position: relative;
  transition: background .4s var(--ease);
}
.install-item:hover{ background: var(--surface); }
.install-tag{
  display:block; font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 24px;
}
.install-item h3{
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.3;
  margin-bottom: 26px;
}
.install-line{
  display:block; height:1px; width: 30%;
  background: var(--border-strong);
  transition: width .5s var(--ease), background .5s var(--ease);
}
.install-item:hover .install-line{ width: 100%; background: var(--accent); }

/* =========================================================
   INSPECTIONS
   ========================================================= */
.inspections{
  padding: 140px var(--edge);
}
.inspections-inner{
  max-width: var(--container); margin:0 auto;
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items:center;
}
.inspection-list{
  margin-top: 36px; display:flex; flex-direction:column; gap: 14px;
}
.inspection-list li{
  position:relative; padding-left: 28px; font-weight:500; font-size:15.5px;
  color: var(--text);
}
.inspection-list li::before{
  content:''; position:absolute; left:0; top:7px; width:14px; height:1px; background: var(--accent);
}

.inspections-visual{ display:flex; justify-content:center; }
.scan-frame{
  position: relative;
  width: min(360px, 80vw); aspect-ratio: 1/1;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 50%, rgba(63,169,245,0.10), transparent 70%),
    var(--surface);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
}
.corner{ position:absolute; width: 26px; height: 26px; border: 2px solid var(--accent); }
.corner.tl{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.corner.tr{ top:-1px; right:-1px; border-left:none; border-bottom:none; }
.corner.bl{ bottom:-1px; left:-1px; border-right:none; border-top:none; }
.corner.br{ bottom:-1px; right:-1px; border-left:none; border-top:none; }
.scan-status{
  font-family: var(--font-mono); font-weight: 700; font-size: clamp(30px, 4vw, 42px);
  letter-spacing: 0.05em; color: var(--accent);
}
.scan-sub{
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================================
   SALES
   ========================================================= */
.sales{
  padding: 140px var(--edge);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sales-inner{ max-width: var(--container); margin:0 auto; }
.sales-cols{
  display:grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 20px;
}
.sales-quote{
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--text);
  border-left: 2px solid var(--accent);
  padding-left: 28px;
}
.sales-quote span{
  display:block; margin-top: 18px; font-family: var(--font-body); font-weight: 500;
  font-size: 13.5px; color: var(--text-muted); letter-spacing: 0.02em;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta{
  position: relative;
  padding: 160px var(--edge);
  text-align:center;
  background:
    radial-gradient(circle at 30% 20%, rgba(63,169,245,0.35), transparent 55%),
    radial-gradient(circle at 75% 90%, rgba(0,67,110,0.6), transparent 55%),
    linear-gradient(160deg, #052038, #030a12 65%);
  overflow: hidden;
}
.final-cta::before{
  content:'';
  position:absolute; inset:0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
                     linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, black, transparent 80%);
}
.final-cta-inner{ position:relative; max-width: 760px; margin:0 auto; }
.final-cta-title{
  font-family: var(--font-display); font-weight:600;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  margin-bottom: 24px;
}
.final-cta-sub{
  color: rgba(243,246,250,0.75);
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 560px; margin: 0 auto 44px;
  line-height: 1.7;
}
.final-cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact{
  padding: 140px var(--edge) 120px;
}
.contact-inner{ max-width: var(--container); margin:0 auto; text-align:center; }
.contact .section-title{ margin: 0 auto 44px; }
.contact-details{
  display:flex; flex-direction:column; align-items:center; gap: 22px;
}
.contact-line{
  display:inline-flex; align-items:center; gap:14px;
  font-family: var(--font-display); font-weight:500;
  font-size: clamp(19px, 2.6vw, 28px);
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.contact-line svg{ width:22px; height:22px; color: var(--accent); flex-shrink:0; }
.contact-line:hover{ color: var(--accent); border-color: var(--accent); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  padding: 60px var(--edge) 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.footer-inner{
  max-width: var(--container); margin:0 auto;
  display:flex; flex-direction:column; align-items:center; text-align:center; gap: 18px;
}
.footer-logo{ height: 26px; width:auto; opacity:0.9; }
.footer-tag{ color: var(--text-muted); font-size: 14px; }
.footer-nav{ display:flex; flex-wrap:wrap; justify-content:center; gap: 24px; margin: 8px 0; }
.footer-nav a{ font-size: 13.5px; color: var(--text-muted); transition: color .3s var(--ease); }
.footer-nav a:hover{ color: var(--accent); }
.footer-copy{ font-size: 12.5px; color: var(--text-faint, #4b5563); margin-top: 14px; }

/* =========================================================
   REVEAL ANIMATIONS (JS toggles .in-view)
   ========================================================= */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view{ opacity:1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px){
  .main-nav, .nav-cta{ display:none; }
  .menu-toggle{ display:flex; }

  .inspections-inner{ grid-template-columns: 1fr; gap: 56px; }
  .sales-cols{ grid-template-columns: 1fr; gap: 36px; }
  .install-grid{ grid-template-columns: repeat(2, 1fr); }
  .timeline-points{ grid-template-columns: 1fr; gap: 46px; }
  .tp-dot{ top: -30px; }
  .timeline-track{ display:none; }
}

@media (max-width: 640px){
  .install-grid{ grid-template-columns: 1fr; }
  .service-row{ gap: 16px; }
  .service-num{ width: 30px; font-size: 15px; }
  .service-arrow{ width: 36px; height:36px; }
  .service-desc{ margin-left: 46px; }
  .hero{ padding-top: 120px; }
  .contact-line{ flex-direction:row; font-size: 17px; }
  .final-cta, .sales, .inspections, .installations, .story, .contact{ padding-left: var(--edge); padding-right: var(--edge); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-up{ opacity:1 !important; transform:none !important; }
}
