/* =========================================================
   Loveland Ford — Spec preview by Woodcrest Marketing
   Static, self-contained. System fonts only.
   ========================================================= */

:root {
  /* Brand */
  --ford-blue: #001489;      /* Ford oval navy */
  --bright:    #1668f0;      /* vivid CTA blue */
  --bright-2:  #3f8dff;
  --red:       #c8102e;      /* Loveland heart accent (used sparingly) */

  --ink:       #0a1230;      /* deep navy near-black */
  --ink-2:     #111a3d;
  --paper:     #f5f7fc;
  --paper-2:   #eef1f9;
  --white:     #ffffff;
  --line:      rgba(10,18,48,.12);
  --line-lite: rgba(255,255,255,.16);

  --text:      #14203f;
  --muted:     #566080;
  --muted-lite:rgba(255,255,255,.72);

  /* Type */
  --font-display: "Helvetica Neue", "Arial", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --step--1: clamp(.82rem, .78rem + .2vw, .92rem);
  --step-0:  clamp(1rem, .95rem + .25vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + .5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --step-4:  clamp(2.35rem, 1.7rem + 3.1vw, 4.6rem);
  --step-5:  clamp(2.55rem, 1.6rem + 4.6vw, 6.3rem);

  /* Space */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(3.5rem, 4rem + 4vw, 7rem);
  --maxw: 1240px;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -28px rgba(10,18,48,.45);
  --shadow-soft: 0 14px 40px -22px rgba(10,18,48,.35);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--bright); color: #fff; }

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

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--bright);
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--bright-2); }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--ink);
}

.h-xl { font-size: var(--step-5); text-transform: uppercase; line-height: 1.0; }
.h-lg { font-size: var(--step-4); text-transform: uppercase; }
.h-md { font-size: var(--step-3); }
.h-sm { font-size: var(--step-2); }

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--muted);
  max-width: 60ch;
  font-weight: 400;
}
.on-dark .lead, .lead.on-dark { color: var(--muted-lite); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--bright);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: var(--step--1);
  padding: 1rem 1.6rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  box-shadow: 0 10px 26px -12px rgba(22,104,240,.7);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -14px rgba(22,104,240,.8); }
.btn:active { transform: translateY(-1px); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: currentColor;
  box-shadow: none;
}
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }

.btn--ondark { --bg: #fff; --fg: var(--ink); box-shadow: 0 12px 30px -14px rgba(0,0,0,.6); }
.btn--ondark.btn--ghost { --bg: transparent; --fg: #fff; }
.btn--ondark.btn--ghost:hover { background: #fff; color: var(--ink); }

.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .85rem;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(10,18,48,.5);
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 34px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.brand .brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1;
}
.site-header.scrolled .brand .brand-name { color: var(--ink); }

.nav { display: flex; align-items: center; gap: clamp(1rem,2vw,2rem); }
.nav a.navlink {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .8rem;
  color: rgba(255,255,255,.9);
  position: relative;
  padding: .4rem 0;
  transition: color .2s var(--ease);
}
.site-header.scrolled .nav a.navlink { color: var(--text); }
.nav a.navlink::after {
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px;
  background: var(--bright); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a.navlink:hover::after { transform: scaleX(1); }
.nav a.navlink:hover { color: var(--bright); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .02em;
  color: #fff; font-size: .95rem;
}
.site-header.scrolled .header-phone { color: var(--ink); }
.header-phone svg { width: 18px; height: 18px; }
.header-phone:hover { color: var(--bright); }

.header-cta .btn { padding: .7rem 1.2rem; }

/* burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-lite);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  position: relative;
}
.site-header.scrolled .burger { border-color: var(--line); background: rgba(10,18,48,.04); }
.burger span, .burger span::before, .burger span::after {
  content:""; position:absolute; left:50%; top:50%;
  width: 20px; height: 2px; background: #fff; border-radius: 2px;
  transform: translate(-50%,-50%);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.site-header.scrolled .burger span,
.site-header.scrolled .burger span::before,
.site-header.scrolled .burger span::after { background: var(--ink); }
.burger span::before { transform: translate(-50%,-8px); }
.burger span::after { transform: translate(-50%,8px); }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: translate(-50%,0) rotate(45deg); background:#fff; }
body.nav-open .burger span::after { transform: translate(-50%,0) rotate(-45deg); background:#fff; }

/* mobile nav panel */
.mobile-nav {
  position: fixed; inset: 0; z-index: 55;
  background: linear-gradient(160deg, var(--ink), var(--ford-blue));
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  gap: .4rem;
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
  visibility: hidden;
}
body.nav-open .mobile-nav { transform: translateY(0); visibility: visible; }
.mobile-nav a {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.01em; font-size: clamp(1.7rem,7vw,2.6rem); color: #fff;
  padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
  transition: color .2s var(--ease), padding-left .25s var(--ease);
}
.mobile-nav a:hover { color: var(--bright-2); padding-left: .5rem; }
.mobile-nav .m-contact { margin-top: 1.6rem; border:0; font-size: 1rem; font-family: var(--font-body); text-transform:none; letter-spacing:0; color: var(--muted-lite); }
.mobile-nav .m-contact strong { color:#fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92svh, 920px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1100px 720px at 84% -10%, rgba(22,104,240,.40), transparent 58%),
    radial-gradient(820px 620px at -6% 108%, rgba(0,20,137,.5), transparent 60%),
    linear-gradient(162deg, #0c1636 0%, #0a1230 46%, #060b22 100%);
}
/* decorative background layers */
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero__glow {
  position: absolute; right: -12%; top: -18%;
  width: min(70vw, 900px); aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,141,255,.34), transparent 62%);
  filter: blur(6px);
}
.hero__oval {
  position: absolute; right: -6%; top: 12%;
  width: min(66vw, 860px); aspect-ratio: 1.95/1;
  border: 1.5px solid rgba(255,255,255,.09);
  border-radius: 50%;
  transform: rotate(-9deg);
}
.hero__oval::before {
  content: ""; position: absolute; inset: 14% 10%;
  border: 1.5px solid rgba(255,255,255,.06); border-radius: 50%;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 66px 66px;
  -webkit-mask-image: radial-gradient(90% 85% at 40% 24%, #000 26%, transparent 78%);
          mask-image: radial-gradient(90% 85% at 40% 24%, #000 26%, transparent 78%);
}
.hero__container {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
  padding-block: clamp(7.5rem, 14vh, 9.5rem) clamp(3rem, 7vh, 5rem);
}
.hero__inner { max-width: 40rem; }

/* framed vehicle showcase (cropped so the ad panel never shows) */
.hero__showcase { position: relative; }
.hero__frame {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 44px 90px -34px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
}
.hero__frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 18% center;
  transform-origin: 50% 30%;
  animation: heroZoom 16s var(--ease) forwards;
}
/* permanent zoom (origin biased down) crops the vehicles tight and clips the
   baked-in legal fine print at the bottom edge of the source ad image */
@keyframes heroZoom { from { transform: scale(1.22); } to { transform: scale(1.14); } }
.hero__chip {
  position: absolute; left: -1.4rem; bottom: 1.6rem;
  background: rgba(255,255,255,.97);
  color: var(--ink);
  padding: .9rem 1.2rem;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--red);
  max-width: 16rem;
  backdrop-filter: blur(4px);
}
.hero__chip .k { display: block; font-family: var(--font-display); font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--bright); }
.hero__chip .v { display: block; font-size: .9rem; margin-top: .25rem; color: var(--muted); line-height: 1.3; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  padding: .5rem .95rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; font-size: .72rem; color: #fff;
  margin-bottom: 1.4rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.25); }

.hero h1 {
  color: #fff; text-shadow: 0 6px 34px rgba(0,0,0,.45);
  max-width: 17ch; margin-bottom: 1.35rem;
  overflow-wrap: break-word; word-break: normal; text-wrap: balance;
}
.hero .lead { color: rgba(255,255,255,.92); max-width: 52ch; margin-bottom: 2rem; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero__scrollcue {
  position: absolute; left: var(--gutter); bottom: 1.4rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .2em;
  font-size: .68rem; color: rgba(255,255,255,.7);
}
.hero__scrollcue .line { width: 46px; height: 1px; background: rgba(255,255,255,.5); position: relative; overflow: hidden; }
.hero__scrollcue .line::after { content:""; position:absolute; inset:0; width: 40%; background:#fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%{ transform: translateX(-120%);} 60%,100%{ transform: translateX(320%);} }

/* ---------- Stat marquee ---------- */
.stats {
  background: var(--ink);
  color: #fff;
  position: relative;
  z-index: 2;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: clamp(1.8rem,3.5vw,2.8rem) clamp(1rem,2.5vw,2rem);
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
  letter-spacing: -.03em;
  background: linear-gradient(180deg,#fff, #9fc0ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { margin-top: .5rem; color: var(--muted-lite); font-size: var(--step--1); line-height: 1.4; }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__media .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.about__media .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 18% center; }
.about__media .tag {
  position: absolute; left: -1.2rem; bottom: 1.6rem;
  background: var(--white);
  color: var(--ink);
  padding: 1rem 1.3rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  max-width: 15rem;
  border-left: 4px solid var(--red);
}
.about__media .tag .k { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1; }
.about__media .tag .v { color: var(--muted); font-size: .82rem; margin-top: .3rem; }

.about__body h2 { margin-bottom: 1.3rem; }
.about__body p { color: var(--muted); max-width: 52ch; }
.about__points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .8rem; }
.about__points li { display: flex; gap: .8rem; align-items: flex-start; color: var(--text); font-size: var(--step-0); }
.about__points svg { flex: none; width: 22px; height: 22px; color: var(--bright); margin-top: 3px; }

/* ---------- Services ---------- */
.services { background: var(--paper-2); }
.services__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem,4vw,3.2rem);
}
.services__head p { color: var(--muted); max-width: 40ch; margin: 0; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(.9rem, 1.6vw, 1.4rem);
}
.svc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem,2.4vw,2rem);
  grid-column: span 2;
  display: flex; flex-direction: column; gap: .7rem;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc::after {
  content:""; position:absolute; left:0; top:0; height:3px; width:100%;
  background: linear-gradient(90deg,var(--bright), var(--ford-blue));
  transform: scaleX(0); transform-origin:left; transition: transform .35s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc__num { font-family: var(--font-display); font-weight: 800; font-size: .8rem; color: var(--bright); letter-spacing: .1em; }
.svc h3 { font-size: 1.28rem; letter-spacing: -.01em; }
.svc p { color: var(--muted); font-size: .95rem; margin: 0; }
/* feature (wide) service cards */
.svc--wide { grid-column: span 3; }
.svc--feature {
  grid-column: span 6;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  padding: 0; background: var(--ink); color: #fff; border-color: transparent;
}
.svc--feature .svc__text { padding: clamp(1.6rem,3vw,2.6rem); display:flex; flex-direction:column; justify-content:center; gap:.7rem; }
.svc--feature h3 { color:#fff; font-size: clamp(1.4rem,2.2vw,1.9rem); }
.svc--feature p { color: var(--muted-lite); }
.svc--feature .svc__num { color: var(--bright-2); }
.svc--feature .svc__media { position: relative; min-height: 240px; overflow: hidden; }
.svc--feature .svc__media img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }
.svc--feature:hover { transform: none; box-shadow: none; }
.svc--feature:hover::after { transform: scaleX(0); }

/* ---------- Feature spotlight rows ---------- */
.spotlight { background: var(--white); }
.spot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,5vw,4.5rem);
  align-items: center;
}
.spot + .spot { margin-top: clamp(3rem,6vw,6rem); }
.spot--reverse .spot__media { order: 2; }
.spot__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 5/4;
  position: relative;
}
.spot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.spot__media:hover img { transform: scale(1.05); }
.spot__media .chip {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(10,18,48,.72); color:#fff; backdrop-filter: blur(4px);
  font-family: var(--font-display); font-weight:700; text-transform:uppercase; letter-spacing:.08em;
  font-size:.68rem; padding:.45rem .8rem; border-radius:999px;
}
.spot__body h2 { margin-bottom: 1rem; }
.spot__body p { color: var(--muted); max-width: 48ch; }
.spot__list { list-style:none; margin:1.4rem 0 1.8rem; padding:0; display:grid; gap:.6rem; }
.spot__list li { display:flex; gap:.7rem; align-items:flex-start; color:var(--text); }
.spot__list svg { flex:none; width:20px; height:20px; color:var(--red); margin-top:4px; }

/* ---------- Electric band ---------- */
.electric {
  background: radial-gradient(1200px 600px at 15% 0%, #17235a 0%, var(--ink) 55%),
              linear-gradient(180deg, var(--ink), #060b22);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.electric::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(600px 300px at 90% 90%, rgba(22,104,240,.35), transparent 70%);
  pointer-events:none;
}
.electric__grid { display:grid; grid-template-columns: 1fr auto; gap: clamp(2rem,5vw,4rem); align-items:center; position:relative; }
.electric h2 { color:#fff; margin-bottom:1rem; }
.electric p { color: var(--muted-lite); max-width: 46ch; }
.ev-models { display:flex; flex-direction: column; gap: 1rem; }
.ev-pill {
  display: flex; align-items: center; gap: 1rem;
  border:1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 1.2rem 1.4rem;
  background: linear-gradient(120deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  min-width: 260px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.ev-pill::after {
  content:""; position:absolute; left:0; top:0; bottom:0; width:3px;
  background: linear-gradient(180deg, var(--bright-2), var(--ford-blue));
  transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
.ev-pill:hover { transform: translateY(-4px); border-color: var(--bright-2); background: linear-gradient(120deg, rgba(22,104,240,.18), rgba(255,255,255,.03)); }
.ev-pill:hover::after { transform: scaleY(1); }
.ev-bolt {
  flex: none; width: 30px; height: 30px; color: var(--bright-2);
  filter: drop-shadow(0 3px 10px rgba(63,141,255,.5));
}
.ev-pill .m { font-family:var(--font-display); font-weight:800; font-size:1.3rem; line-height:1.05; }
.ev-pill .s { color: var(--muted-lite); font-size:.82rem; margin-top:.25rem; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color:#fff; position: relative; overflow: hidden; }
.contact::before{
  content:""; position:absolute; right:-10%; top:-30%;
  width: 520px; height: 520px; border-radius:50%;
  background: radial-gradient(circle, rgba(22,104,240,.28), transparent 65%);
}
.contact__grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4rem); position:relative; }
.contact h2 { color:#fff; margin-bottom:1.1rem; }
.contact .lead { color: var(--muted-lite); margin-bottom: 2rem; }
.contact__actions { display:flex; gap:1rem; flex-wrap:wrap; }

.dept-card {
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: clamp(1.4rem,3vw,2rem);
}
.dept-card h3 { color:#fff; font-size:1.1rem; margin-bottom:1rem; text-transform:uppercase; letter-spacing:.06em; }
.dept-list { display:grid; gap:.2rem; }
.dept {
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:.7rem 0; border-bottom:1px solid rgba(255,255,255,.1);
}
.dept:last-child { border-bottom:0; }
.dept .d-name { font-family:var(--font-display); font-weight:700; text-transform:uppercase; letter-spacing:.05em; font-size:.82rem; color: var(--muted-lite); }
.dept .d-num { font-family:var(--font-display); font-weight:800; font-size:1.05rem; color:#fff; transition: color .2s var(--ease); }
.dept:hover .d-num { color: var(--bright-2); }
.contact__address {
  margin-top:1.4rem; display:flex; gap:.7rem; align-items:flex-start; color: var(--muted-lite); font-size:.95rem;
}
.contact__address svg { flex:none; width:20px; height:20px; color: var(--red); margin-top:3px; }
.habla {
  display:inline-flex; align-items:center; gap:.5rem; margin-top:1.2rem;
  font-family:var(--font-display); font-weight:700; text-transform:uppercase; letter-spacing:.08em;
  font-size:.72rem; color:#fff; background: rgba(200,16,46,.2); border:1px solid rgba(200,16,46,.5);
  padding:.45rem .9rem; border-radius:999px;
}

/* ---------- Footer ---------- */
.site-footer { background: #060b22; color: var(--muted-lite); padding-block: clamp(3rem,5vw,4.5rem) 1.5rem; }
.footer__top { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem,4vw,3rem); padding-bottom: 2.4rem; border-bottom:1px solid rgba(255,255,255,.12); }
.footer__brand img { height: 40px; margin-bottom: 1rem; }
.footer__brand p { max-width: 34ch; font-size:.92rem; }
.footer__col h4 { color:#fff; font-size:.82rem; text-transform:uppercase; letter-spacing:.12em; margin-bottom:1rem; }
.footer__col a { display:block; padding:.32rem 0; color: var(--muted-lite); font-size:.92rem; transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer__col a:hover { color:#fff; padding-left:.3rem; }
.footer__legal { display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; padding-top:1.4rem; font-size:.8rem; color: rgba(255,255,255,.5); }

/* ---------- Spec footer (mandatory) ---------- */
.spec-footer {
  background: #04081a;
  color: rgba(255,255,255,.66);
  text-align: center;
  font-size: .85rem;
  line-height: 1.6;
  padding: 2.2rem var(--gutter);
}
.spec-footer a { color: var(--bright-2); text-decoration: underline; text-underline-offset: 2px; }
.spec-footer a:hover { color: #fff; }

/* ---------- Reveal animation (JS-gated so content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay:.08s; }
.reveal[data-delay="2"]{ transition-delay:.16s; }
.reveal[data-delay="3"]{ transition-delay:.24s; }
.reveal[data-delay="4"]{ transition-delay:.32s; }
.reveal[data-delay="5"]{ transition-delay:.40s; }

/* hero on-load stagger — hidden state gated behind .js so copy is always
   visible without JS, and always resolves to visible (forwards) with it */
.js .hero__inner > * { opacity: 0; transform: translateY(22px); }
.js .hero.ready .hero__inner > * { animation: heroUp .8s var(--ease) forwards; }
.js .hero.ready .hero__inner > *:nth-child(1){ animation-delay:.10s; }
.js .hero.ready .hero__inner > *:nth-child(2){ animation-delay:.20s; }
.js .hero.ready .hero__inner > *:nth-child(3){ animation-delay:.30s; }
.js .hero.ready .hero__inner > *:nth-child(4){ animation-delay:.40s; }
@keyframes heroUp { to { opacity:1; transform:none; } }

.js .hero__showcase { opacity: 0; transform: translateY(30px) scale(.98); }
.js .hero.ready .hero__showcase { animation: heroShow 1s var(--ease) .28s forwards; }
@keyframes heroShow { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav, .header-cta .header-phone { display: none; }
  .burger { display: inline-flex; }
  .header-cta .btn { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .about__media .frame { aspect-ratio: 16/12; }
  .contact__grid { grid-template-columns: 1fr; }
  .electric__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .svc { grid-column: span 3; }
  .svc--wide { grid-column: span 6; }
}

@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero__container {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 7vw, 3rem);
    padding-block: clamp(6.5rem, 16vh, 8.5rem) clamp(2.6rem, 6vh, 3.6rem);
  }
  .hero__inner { max-width: 42rem; }
  .hero__showcase { max-width: 460px; }
  .hero__frame { aspect-ratio: 1/1; }
  .hero__frame img { object-position: 13% center; }
  .hero__chip { left: 1rem; bottom: 1rem; max-width: 15rem; }
  .hero__oval { top: 4%; }
}

@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2){ border-right:0; }
  .stat:nth-child(1),.stat:nth-child(2){ border-bottom:1px solid rgba(255,255,255,.1); }
  .spot { grid-template-columns: 1fr; }
  .spot--reverse .spot__media { order: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc, .svc--wide { grid-column: auto; }
  .svc--feature { grid-column: auto; grid-template-columns: 1fr; }
  .svc--feature .svc__media { min-height: 200px; }
  .footer__top { grid-template-columns: 1fr; }
  .about__media .tag { left: 0; }
  .hero { min-height: 92svh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__inner > * { opacity: 1 !important; transform: none !important; }
  .hero__media img { transform: none !important; }
}
