/* =========================================================
   CIVIC Construcción — Estilos (tema claro)
   Sin sombras, sin desenfoques, sin modos de fusión y sin
   degradados en textos.
   ========================================================= */
:root {
  --white: #ffffff;
  --navy: #0b1a33;
  --navy-2: #1b3563;
  --orange: #e58a00;
  --orange-2: #f39200;
  --orange-soft: #fff4e5;
  --gold: #e0a800;
  --steel: #5b7aa3;
  --ink: #0b1a33;
  --text: #33425c;
  --muted: #62718a;
  --surface: #f5f7fa;
  --line: #e3e8ef;
  --line-2: #cfd7e3;
  --radius: 12px;
  --radius-lg: 18px;
  --header-h: 78px;
  --ff-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading, body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a[data-wa], a[data-tel] { cursor: pointer; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.08; margin: 0; letter-spacing: -.01em; color: var(--ink); }
p { margin: 0 0 1rem; }
::selection { background: var(--orange-2); color: var(--white); }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1240px, 100% - 64px); } }
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.muted { color: var(--muted); }

/* ---------- Iconos ---------- */
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-display); font-weight: 700; font-size: 13px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow__line { width: 42px; height: 2px; background: var(--orange-2); position: relative; overflow: hidden; }
.eyebrow__line::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; background: var(--white); animation: sweep 2.8s var(--ease) infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(340%); } }

/* ---------- Títulos (color sólido) ---------- */
.section-title { font-size: clamp(34px, 5vw, 60px); font-weight: 800; margin-bottom: 22px; max-width: 16ch; }
.section-title em { font-style: normal; color: var(--orange-2); }
.section-head { margin-bottom: clamp(48px, 6vw, 72px); }
.section-head__p { max-width: 560px; color: var(--muted); font-size: 17px; }

.split-chars .w { display: inline-block; white-space: nowrap; }
.split-chars .c { display: inline-block; will-change: transform, opacity; }
.reveal-words .w, .reveal-scrub .w { display: inline-block; will-change: transform, opacity; }

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent;
  font-family: var(--ff-display); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  overflow: hidden; isolation: isolate; cursor: pointer; white-space: nowrap;
  transition: transform .45s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: -1; background: rgba(255, 255, 255, .35); transform: translateX(-150%) skewX(-20deg); transition: transform .8s var(--ease); }
.btn:hover::before { transform: translateX(350%) skewX(-20deg); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--orange-2); color: var(--white); }
.btn--primary:hover { background: var(--orange); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn .ico--arrow { transition: transform .45s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(5px); }

/* ---------- Fondo: patrón geométrico que rota ---------- */
.bg-live { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; background: var(--white); }
.bg-live__geo {
  position: absolute; width: 150vmax; height: 150vmax; left: 50%; top: 50%;
  margin: -75vmax 0 0 -75vmax; color: var(--steel); opacity: .07;
  animation: spin 240s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--orange-2); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--white); }
.preloader__panel--top { top: 0; border-bottom: 1px solid var(--line); }
.preloader__panel--bottom { bottom: 0; }
.preloader__content { position: relative; text-align: center; width: min(320px, 80vw); }
.preloader__crane { width: 150px; margin: 0 auto 14px; overflow: visible; }
.preloader__crane .draw { stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.preloader__crane .draw--hook { stroke: var(--navy); }
.preloader__crane .draw--steel { stroke: var(--steel); }
.preloader__word { font-family: var(--ff-display); font-weight: 900; font-size: 54px; letter-spacing: .06em; line-height: 1; display: flex; justify-content: center; color: var(--navy); }
.preloader__word span { display: inline-block; }
.preloader__sub { font-family: var(--ff-display); font-weight: 700; letter-spacing: .5em; font-size: 12px; color: var(--orange-2); margin: 8px 0 22px; padding-left: .5em; }
.preloader__bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: var(--orange-2); transform-origin: 0 50%; transform: scaleX(0); }
.preloader__count { margin-top: 10px; font-family: var(--ff-display); font-size: 13px; color: var(--muted); letter-spacing: .15em; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h);
  background: var(--white); border-bottom: 1px solid transparent;
  transition: border-color .4s, height .5s var(--ease), transform .5s var(--ease);
}
.header.is-scrolled { --header-h: 68px; border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header__brand { display: flex; align-items: center; gap: 12px; }
.header__brand img { height: 50px; width: auto; transition: transform .6s var(--ease); }
.header__brand:hover img { transform: rotate(-4deg) scale(1.06); }
.header__brand-text { display: flex; flex-direction: column; line-height: 1; }
.header__brand-text strong { font-family: var(--ff-display); font-weight: 900; font-size: 22px; letter-spacing: .04em; color: var(--navy); }
.header__brand-text small { font-family: var(--ff-display); font-weight: 700; font-size: 9.5px; letter-spacing: .32em; color: var(--orange-2); margin-top: 4px; }

.nav { position: relative; display: none; align-items: center; gap: 2px; }
.nav__link { position: relative; z-index: 1; padding: 10px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--text); transition: color .3s, background-color .3s; }
.nav__link:hover { color: var(--navy); background: var(--surface); }
.nav__link.is-active { color: var(--navy); font-weight: 600; }
.nav__bar { position: absolute; bottom: 2px; left: 0; height: 2px; width: 0; border-radius: 2px; background: var(--orange-2); pointer-events: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta span { display: none; }
@media (min-width: 420px) { .header__cta span { display: inline; } }

.burger { width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--white); display: grid; place-content: center; gap: 5px; position: relative; z-index: 1002; transition: border-color .3s; }
.burger:hover { border-color: var(--navy); }
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .5s var(--ease), opacity .3s, width .4s var(--ease); }
.burger span:nth-child(2) { width: 14px; justify-self: end; }
.burger:hover span:nth-child(2) { width: 20px; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1100px) { .nav { display: flex; } .burger { display: none; } }

/* ---------- Menú móvil ---------- */
.mmenu {
  position: fixed; inset: 0; z-index: 999; visibility: hidden; pointer-events: none; background: var(--white);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 20px) 28px 32px; overflow: hidden;
}
.mmenu.is-open { visibility: visible; pointer-events: auto; }
.mmenu__nav { display: flex; flex-direction: column; perspective: 900px; position: relative; z-index: 1; }
.mmenu__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0; color: var(--navy);
  font-family: var(--ff-display); font-weight: 800; font-size: clamp(30px, 8.5vw, 52px); line-height: 1.05;
  border-bottom: 1px solid var(--line); transform-origin: 50% 0; backface-visibility: hidden;
  transition: color .3s, padding-left .45s var(--ease);
}
.mmenu__nav a em { font-style: normal; font-size: 13px; color: var(--orange-2); letter-spacing: .1em; font-weight: 700; }
.mmenu__nav a:hover { color: var(--orange-2); padding-left: 10px; }
.mmenu__foot { position: relative; z-index: 1; margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--muted); }
.mmenu__orbits { position: absolute; right: -30vmin; top: 50%; width: 110vmin; height: 110vmin; transform: translateY(-50%); }
.orbit { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; animation: spin 18s linear infinite; }
.orbit i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--orange-2); }
.orbit--2 { inset: 14%; animation-duration: 12s; animation-direction: reverse; }
.orbit--2 i { background: var(--gold); }
.orbit--3 { inset: 28%; animation-duration: 8s; border-style: dashed; }
.orbit--3 i { background: var(--steel); }

/* ---------- HERO ---------- */
.hero { position: relative; background: var(--white); }
.hero__stage { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--white); will-change: clip-path, transform; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .85) 42%, rgba(255, 255, 255, 0) 72%); }
.hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; padding: calc(var(--header-h) + 40px) 0 110px; }
.hero__eyebrow { font-size: 12px; letter-spacing: .18em; }
.hero__title { margin: 6px 0 0; line-height: .88; }
.hero__civic { display: block; font-weight: 900; font-size: clamp(88px, 17vw, 210px); letter-spacing: -.02em; color: var(--navy); }
.hero__constr { display: block; font-weight: 800; font-size: clamp(22px, 3.6vw, 44px); letter-spacing: .28em; color: var(--orange-2); margin-top: 12px; padding-left: .08em; }
.hero__rule { width: min(560px, 100%); height: 12px; margin: 22px 0 18px; }
.hero__rule svg { width: 100%; height: 100%; overflow: visible; }
.hero__rule path { stroke: var(--orange-2); stroke-width: 2; fill: none; }
.hero__claim { font-family: var(--ff-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.1; margin: 0 0 10px; text-transform: uppercase; color: var(--navy); }
.hero__claim .w:nth-child(n+2) { color: var(--orange-2); }
.hero__types { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; font-family: var(--ff-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: clamp(14px, 1.6vw, 18px); margin: 0 0 26px; color: var(--navy); }
.hero__types i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange-2); }
.hero__badge { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; color: var(--navy); font-weight: 500; font-size: 17px; line-height: 1.3; }
.ico--shield { width: 46px; height: 46px; color: var(--orange-2); stroke-width: 1.5; animation: pulseIco 2.6s ease-in-out infinite; }
.ico__check { stroke-dasharray: 20; stroke-dashoffset: 20; animation: drawCheck 2.6s ease-in-out infinite; }
@keyframes pulseIco { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes drawCheck { 0% { stroke-dashoffset: 20; } 40%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -20; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; height: 420px; perspective: 1200px; display: none; }
.hero__card { position: absolute; border-radius: var(--radius-lg); overflow: hidden; border: 6px solid var(--white); outline: 1px solid var(--line); background: var(--surface); }
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card--a { width: 62%; height: 78%; right: 4%; top: 0; }
.hero__card--b { width: 48%; height: 42%; left: 0; bottom: 4%; }
.hero__card--c { width: 44%; height: 36%; right: 0; bottom: -8%; }
.hero__tag { position: absolute; left: 6%; top: 10%; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; background: var(--white); border: 1.5px solid var(--orange-2); }
.hero__tag b { font-family: var(--ff-display); font-weight: 900; font-size: 40px; color: var(--orange-2); line-height: 1; }
.hero__tag span { font-size: 12px; line-height: 1.25; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__mouse { width: 24px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 12px; display: flex; justify-content: center; padding-top: 7px; }
.hero__mouse i { width: 3px; height: 8px; border-radius: 3px; background: var(--orange-2); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.portal { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.portal__text { font-family: var(--ff-display); font-weight: 800; text-align: center; font-size: clamp(30px, 5.4vw, 72px); line-height: 1.05; opacity: 0; color: var(--navy); }
.portal__text span { color: var(--orange-2); }
@media (min-width: 992px) {
  .hero__content { grid-template-columns: 1.05fr .95fr; gap: 50px; }
  .hero__visual { display: block; }
}
@media (max-width: 991px) {
  .hero__vignette { background: linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .88) 60%, #fff 100%); }
  .hero__scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--white); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 34px; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--ff-display); font-weight: 800; font-size: clamp(22px, 3vw, 38px); text-transform: uppercase; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px var(--navy); white-space: nowrap; transition: color .4s, -webkit-text-stroke-color .4s; }
.marquee span:hover { color: var(--orange-2); -webkit-text-stroke-color: var(--orange-2); }
.marquee b { color: var(--orange-2); font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Nosotros ---------- */
.about { overflow-x: clip; }
.about__grid { display: grid; gap: 60px; align-items: center; }
@media (min-width: 992px) { .about__grid { grid-template-columns: .95fr 1.05fr; gap: 80px; } }
.about__visual { position: relative; }
.about__img { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.about__img img { width: 100%; height: 115%; object-fit: cover; }
.about__visual::after { content: ""; position: absolute; inset: -14px; border: 1.5px solid var(--orange-2); border-radius: calc(var(--radius-lg) + 8px); pointer-events: none; }
.about__stamp { position: absolute; z-index: 2; right: -14px; bottom: -28px; width: 128px; height: 128px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--orange-2); display: grid; place-items: center; }
.about__stamp svg { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.about__stamp text { font-family: var(--ff-display); font-weight: 700; font-size: 10.5px; letter-spacing: .18em; fill: var(--muted); }
.about__stamp b { font-family: var(--ff-display); font-weight: 900; font-size: 38px; color: var(--orange-2); }
.about__lead { font-family: var(--ff-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.45; color: var(--navy); margin-bottom: 22px; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 100px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { position: relative; padding: 34px 26px; background: var(--white); overflow: hidden; transition: background-color .5s; }
.stat::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--orange-2); transform: scaleX(0); transition: transform .6s var(--ease); }
.stat:hover { background: var(--orange-soft); }
.stat:hover::before { transform: scaleX(1); }
.stat__num { font-family: var(--ff-display); font-weight: 900; font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--navy); display: block; transition: transform .5s var(--ease), color .4s; }
.stat:hover .stat__num { transform: translateY(-4px); color: var(--orange); }
.stat__num small { color: var(--orange-2); font-size: .6em; }
.stat__label { display: block; margin-top: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.wave-divider { position: absolute; left: 0; bottom: -60px; width: 100%; height: 120px; pointer-events: none; z-index: 2; }
.wave-divider--top { top: -60px; bottom: auto; }

/* ---------- Servicios (SIN animaciones en tarjetas) ---------- */
.services { background: var(--white); }
.services__grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.svc { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); }
.svc__media { position: relative; aspect-ratio: 16 / 10; background: var(--surface); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__cat { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 8px; background: var(--navy); color: var(--white); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.svc__title { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.svc__desc { color: var(--text); font-size: 15px; margin-bottom: 16px; }
.svc__feats { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.svc__feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.svc__feats li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 4px; background: var(--orange-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.svc__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.svc__price small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.svc__price b { font-family: var(--ff-display); font-size: 20px; color: var(--navy); }
.svc__price b span { font-size: 13px; font-weight: 600; color: var(--muted); }
.svc__btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 10px; background: var(--navy); color: var(--white); font-family: var(--ff-display); font-weight: 700; font-size: 14px; }
.svc__btn:hover { background: var(--orange-2); }
.services__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px; }
.draw-line { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; pointer-events: none; }
.draw-line path { fill: none; stroke: var(--orange-2); stroke-width: 2; }

/* ---------- Proceso ---------- */
.process { background: var(--white); border-top: 1px solid var(--line); }
.process__wrap { position: relative; }
.process__thread { position: absolute; left: 0; right: 0; top: 10px; width: 100%; height: 120px; display: none; overflow: visible; }
.process__path { fill: none; stroke: var(--orange-2); stroke-width: 2.5; }
@media (min-width: 992px) { .process__thread { display: block; } }
.process__steps { position: relative; display: grid; gap: 22px; grid-template-columns: 1fr; perspective: 1400px; }
@media (min-width: 640px) { .process__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .process__steps { grid-template-columns: repeat(4, 1fr); padding-top: 60px; } }
/* El envoltorio no se mueve: así el cursor nunca pierde el hover
   cuando la tarjeta se eleva (evita el parpadeo o salto continuo). */
.step-3d { transform-style: preserve-3d; height: 100%; }
.step-3d > .step { height: 100%; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line-2); transform-style: preserve-3d;
  transition: transform .6s var(--ease), border-color .4s;
}
.step-3d:hover > .step, .step-3d:focus-within > .step { transform: translateY(-10px) rotateX(4deg); border-color: var(--orange-2); }
.step__icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; color: var(--orange-2); background: var(--orange-soft); border: 1px solid #ffd9a3; position: relative; }
.step__icon::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid var(--orange-2); opacity: 0; }
.step-3d:hover .step__icon::after { animation: ring 1.2s var(--ease) infinite; }
@keyframes ring { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }
.step__icon .ico { width: 28px; height: 28px; transition: transform .6s var(--ease); }
.step-3d:hover .step__icon .ico { transform: rotate(-8deg) scale(1.1); }
.ico__alt { stroke-dasharray: 30; stroke-dashoffset: 0; }
.step-3d:hover .ico__alt { animation: redraw 1s var(--ease); }
@keyframes redraw { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
.step__n { position: absolute; top: 24px; right: 24px; font-family: var(--ff-display); font-weight: 900; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--orange-2); }
/* Si no existe el envoltorio (movimiento reducido): sólo cambia el borde */
.process__steps > .step:hover { border-color: var(--orange-2); }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Cobertura ---------- */
.coverage { border-top: 1px solid var(--line); }
.coverage__grid { display: grid; gap: 50px; align-items: center; }
@media (min-width: 992px) { .coverage__grid { grid-template-columns: .9fr 1.1fr; } }
.coverage__list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.coverage__list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--white); transition: border-color .4s, background-color .4s, transform .5s var(--ease); }
.coverage__list li:hover { border-color: var(--orange-2); background: var(--orange-soft); transform: translateX(6px); }
.coverage__list .ico { color: var(--orange-2); margin-top: 2px; }
.coverage__list li:hover .ico { animation: pulseIco 1.4s ease-in-out infinite; }
.coverage__map { position: relative; border-radius: 22px; border: 1px solid var(--line-2); background: var(--white); overflow: hidden; }
.coverage__map svg { display: block; width: 100%; height: auto; }
.map-arc { fill: none; stroke: var(--orange-2); stroke-width: 1.8; stroke-linecap: round; }
.map-node circle.core { fill: var(--orange-2); }
.map-node circle.halo { fill: none; stroke: var(--orange-2); stroke-width: 1; }
.map-node--origin circle.core { fill: var(--navy); }
.map-node--origin circle.halo { stroke: var(--navy); }
.map-node text { font-family: var(--ff-display); font-size: 12px; font-weight: 700; fill: var(--navy); letter-spacing: .06em; }
.map-node:hover circle.core { fill: var(--navy); }
.map-pulse { fill: var(--orange); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(100px, 14vw, 170px) 0; text-align: center; overflow: hidden; background: var(--white); border-top: 1px solid var(--line); }
.cta__bg { position: absolute; left: 50%; top: 50%; width: min(1100px, 160vw); height: auto; transform: translate(-50%, -50%); color: var(--line-2); animation: ctaSpin 60s linear infinite; }
@keyframes ctaSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(42px, 8vw, 110px); font-weight: 900; text-transform: uppercase; line-height: .95; margin-bottom: 26px; max-width: 12ch; color: var(--navy); }
.cta__phone { display: inline-block; margin-bottom: 22px; padding: 14px 30px; border-radius: 14px; border: 1.5px solid var(--orange-2); background: var(--white); transition: background-color .4s, transform .5s var(--ease); }
.cta__phone:hover { background: var(--orange-2); transform: translateY(-4px); }
.cta__phone-num { font-family: var(--ff-display); font-weight: 900; font-size: clamp(30px, 5vw, 60px); color: var(--orange-2); letter-spacing: .02em; transition: color .4s; }
.cta__phone:hover .cta__phone-num { color: var(--white); }
.cta p { color: var(--text); max-width: 520px; }

/* ---------- Contacto ---------- */
.contact { border-top: 1px solid var(--line); }
.contact__grid { display: grid; gap: 60px; }
@media (min-width: 992px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.icards { display: grid; gap: 14px; margin-top: 28px; }
.icard { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--white); transition: transform .5s var(--ease), border-color .4s, background-color .4s; }
.icard:hover { transform: translateY(-4px); border-color: var(--orange-2); background: var(--orange-soft); }
.icard small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.icard b { font-family: var(--ff-display); font-size: 18px; font-weight: 700; color: var(--navy); }
.icard__ico { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--orange-2); background: var(--orange-soft); transition: transform .6s var(--ease), background-color .4s, color .4s; }
.icard:hover .icard__ico { transform: rotate(-12deg) scale(1.08); background: var(--orange-2); color: var(--white); }

.form { position: relative; padding: clamp(26px, 4vw, 42px); border-radius: 22px; background: var(--white); border: 1px solid var(--line-2); overflow: hidden; }
.field { position: relative; margin-bottom: 26px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 22px 2px 10px; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; color: var(--navy); font: 500 16px var(--ff-body); outline: none; resize: vertical; appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; }
.field--select::after { content: ""; position: absolute; right: 6px; top: 26px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.field label { position: absolute; left: 2px; top: 20px; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: 0 0; transition: transform .45s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-18px) scale(.78); color: var(--orange); }
.field__energy { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); background: var(--orange-2); transition: transform .5s var(--ease); }
.field--area .field__energy { bottom: 6px; }
.field.is-invalid .field__energy { --fill: 1 !important; background: #d93b3b; }
.bubble { position: absolute; border-radius: 50%; pointer-events: none; border: 1.5px solid var(--orange-2); background: var(--orange-soft); }
.form__note { margin: 14px 0 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--white); padding: 100px 0 30px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand img { width: 90px; height: auto; margin-bottom: 16px; }
.footer__brand p { color: var(--muted); max-width: 280px; }
.footer h4 { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 16px; }
.footer a, .footer span { display: block; color: var(--text); margin-bottom: 10px; font-size: 15px; transition: color .3s, transform .4s var(--ease); }
.footer a:hover { color: var(--orange-2); transform: translateX(4px); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.footer__bottom span, .footer__bottom a { color: var(--muted); margin: 0; font-size: 13px; }
.footer__bottom span span { display: inline; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: #25d366; color: #fff; transition: transform .5s var(--ease), border-radius .5s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: waPulse 2.4s var(--ease) infinite; }
.wa-float::after { animation-delay: 1.2s; }
.wa-float:hover { transform: translateY(-4px) rotate(-6deg); border-radius: 50%; }
@keyframes waPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- Accesibilidad ---------- */
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
