/* ============================================================
   LUNOVA — hoja de estilos principal (modo oscuro)
   Layout: cuadrícula de "dimensión" — hero con escena 3D en perspectiva,
   secciones en una columna de 1180px con bandas alternadas.
   ============================================================ */
:root {
  /* Color */
  --void:    #070b10;   /* fondo */
  --deep:    #0b1118;   /* bandas alternas */
  --surface: #101821;   /* tarjetas */
  --line:    #1d2934;   /* bordes */
  --text:    #e4ecf1;   /* texto principal */
  --muted:   #8b9cab;   /* texto secundario */
  --teal:    #2cc5b5;   /* acento (logo) */
  --teal-2:  #138f84;
  --moon:    #bcd7e6;   /* acento frío secundario */
  --teal-glow: rgba(44, 197, 181, .16);

  /* Tipografía */
  --f-display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r: 14px;
  --nav-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font: 400 1rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--void); }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.4rem;
  font: 500 .97rem/1 var(--f-display);
  text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn--sm { min-height: 40px; padding: 0 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal); color: #04110f; box-shadow: 0 0 0 0 var(--teal-glow); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px -6px rgba(44,197,181,.55); }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(7, 11, 16, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(29, 41, 52, .7);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 46px; height: 46px; color: var(--teal); flex: none; }
.brand__mark .mk-win { stroke: var(--moon); }
.brand__mark .mk-teal { stroke: var(--teal); }
.brand__name { font: 500 1.7rem/1 var(--f-display); letter-spacing: -.01em; }
@media (max-width: 480px) { .brand__mark { width: 40px; height: 40px; } .brand__name { font-size: 1.5rem; } }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: .93rem; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 820px) { .nav__links { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; pointer-events: none; }
.hero::after { /* halo lunar */
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px;
  background: radial-gradient(circle, rgba(44,197,181,.14), transparent 62%); pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3.5rem, 7vw, 5.5rem);
}
.hero__copy { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 400 .92rem/1.35 var(--f-mono); letter-spacing: .04em; color: var(--moon);
  padding: .6rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(16,24,33,.6);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); flex: none; }
.hero__title { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 400; letter-spacing: -.03em; margin: 1.4rem 0 1.3rem; line-height: 1.04; }
.hero__title em {
  font-style: normal; font-weight: 500;
  background: linear-gradient(100deg, var(--teal) 10%, var(--moon) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { color: var(--muted); font-size: 1.1rem; max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2.2rem;
  margin: 2.6rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.hero__facts dt { font: 400 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hero__facts dd { margin: .45rem 0 0; font: 500 1.05rem/1.2 var(--f-display); font-variant-numeric: tabular-nums; }

/* Escena 3D */
.hero__visual { position: relative; min-width: 0; height: 440px; perspective: 1400px; }
.orbit {
  position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; margin: -230px 0 0 -230px;
  border-radius: 50%; border: 1px solid rgba(188,215,230,.12);
  box-shadow: inset 30px -24px 0 -8px rgba(44,197,181,.10);
}
.orbit::before { content: ""; position: absolute; inset: 48px; border-radius: 50%; border: 1px dashed rgba(188,215,230,.10); }
.orbit::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal); top: 50%; left: -5px; animation: orbit 14s linear infinite; transform-origin: 235px 0; }
@keyframes orbit { to { transform: rotate(360deg); } }
.stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(8deg); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: rotateY(-11deg) rotateX(5deg) translateY(-8px); } }
.browser {
  position: absolute; left: 8%; top: 12%; width: 78%; border-radius: 12px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(44,197,181,.06);
}
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--deep); border-bottom: 1px solid var(--line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser__bar span { margin-left: 10px; font: .68rem/1 var(--f-mono); color: var(--muted); padding: 5px 10px; background: var(--void); border-radius: 6px; }
.browser__body { padding: 18px; display: grid; gap: 14px; }
.mock-hero { display: grid; gap: 8px; padding: 18px; border-radius: 8px; background: linear-gradient(135deg, rgba(44,197,181,.20), rgba(188,215,230,.05)); }
.mock-hero b, .mock-lines b { display: block; height: 10px; border-radius: 5px; background: rgba(228,236,241,.75); width: 70%; }
.mock-hero b.s { width: 45%; background: rgba(228,236,241,.35); }
.mock-btn { width: 84px; height: 22px; border-radius: 11px; background: var(--teal); margin-top: 6px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards i { height: 56px; border-radius: 8px; background: var(--deep); border: 1px solid var(--line); }
.mock-lines { display: grid; gap: 7px; }
.mock-lines b { height: 7px; background: rgba(139,156,171,.35); width: 90%; }
.mock-lines b.s { width: 55%; }
.codecard {
  position: absolute; right: 0; bottom: 6%; width: 56%; transform: translateZ(70px);
  background: rgba(11,17,24,.92); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
}
.codecard pre { margin: 0; font: .76rem/1.6 var(--f-mono); color: var(--text); white-space: pre; overflow: hidden; }
.codecard .c { color: var(--muted); } .codecard .k { color: var(--moon); } .codecard .v { color: var(--teal); } .codecard .s { color: #e8c98a; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem;
  font: 500 .75rem/1 var(--f-mono); padding: .6rem .8rem; border-radius: 999px;
  background: rgba(16,24,33,.92); border: 1px solid var(--line); color: var(--text);
}
.chip--a { left: 0; top: 4%; transform: translateZ(90px); }
.chip--b { right: 4%; top: 2%; transform: translateZ(40px); color: var(--teal); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(44,197,181,.6); } 100% { box-shadow: 0 0 0 10px rgba(44,197,181,0); } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 360px; max-width: 520px; width: 100%; margin-inline: auto; }
  .orbit { width: 340px; height: 340px; margin: -170px 0 0 -170px; }
  .orbit::after { transform-origin: 175px 0; }
}
@media (max-width: 520px) {
  .hero__facts { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .hero__facts dd { font-size: .92rem; }
  .hero__visual { height: 300px; }
  .codecard { width: 68%; }
  .codecard pre { font-size: .66rem; }
  .chip--b { display: none; }
}

/* ---------- Pilares ---------- */
.pillars { border-bottom: 1px solid var(--line); background: var(--deep); }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 2rem 1.6rem 2.1rem; border-left: 1px solid var(--line); min-width: 0; }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar svg { width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 1.02rem; margin: 1rem 0 .4rem; }
.pillar p { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) {
  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .pillar { padding: 1.6rem 1.2rem; border-left: 0; border-top: 1px solid var(--line); }
  .pillar:nth-child(-n+2) { border-top: 0; }
  .pillar:nth-child(odd) { padding-left: 0; }
  .pillar:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(even) { border-left: 0; padding-left: 0; }
  .pillar:nth-child(2) { border-top: 1px solid var(--line); }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(4rem, 9vw, 6.5rem); }
.section--alt { background: var(--deep); border-block: 1px solid var(--line); }
.section__head { max-width: 46rem; margin-bottom: 2.8rem; }
.label { font: 500 .75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--teal); margin-bottom: 1rem; }
.section h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 400; letter-spacing: -.02em; }
.section__sub { color: var(--muted); margin-top: 1rem; max-width: 40rem; }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 1.6rem;
  padding: 2rem 1.7rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); min-width: 0;
}
.plan--featured { border-color: rgba(44,197,181,.55); background: linear-gradient(180deg, rgba(44,197,181,.09), var(--surface) 45%); }
.plan__tag { position: absolute; top: -12px; left: 1.7rem; font: 500 .7rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; background: var(--teal); color: #04110f; padding: .45rem .7rem; border-radius: 999px; }
.plan h4 { font: 500 1.3rem/1.15 var(--f-display); margin: 0; letter-spacing: -.01em; }
.plan__for { color: var(--muted); font-size: .93rem; margin-top: .4rem; }
.plan__price { font: 400 2.4rem/1 var(--f-display); margin-top: 1.3rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: 1.3rem; vertical-align: .55em; margin-right: 2px; color: var(--muted); }
.plan__price small { font: 400 .8rem var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; flex: 1; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.2rem; }
.extra { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem; align-items: center; padding: 1.3rem 1.6rem; border: 1px dashed var(--line); border-radius: var(--r); }
.extra__name { font: 500 1rem var(--f-display); }
.extra__desc { color: var(--muted); font-size: .88rem; grid-column: 1; }
.extra__price { grid-column: 2; grid-row: 1 / span 2; font: 500 1.05rem var(--f-display); color: var(--teal); text-align: right; }
.extra__price small { color: var(--muted); font-weight: 400; font-size: .8rem; }
.plan__note { font-size: .84rem; color: var(--muted); line-height: 1.5; padding-top: 1rem; border-top: 1px dashed var(--line); }
.plan__price--sm { font-size: 1.6rem; color: var(--teal); }
.plans--3 { grid-template-columns: repeat(3, 1fr); }
.plan__kind { font: 500 .7rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: .6rem; }
.plan header .plan__price { margin: .9rem 0 .7rem; }
.plan__price .to { font-style: normal; white-space: nowrap; margin-left: .25em; }
.plans--3 .plan__price { font-size: clamp(1.55rem, 2.3vw, 1.95rem); }
.plans--3 .plan__price span { font-size: .6em; }
@media (max-width: 1080px) { .plans--3 { grid-template-columns: repeat(2, 1fr); } }
.plan--next { background: transparent; border-style: dashed; justify-content: flex-start; }
.plan--next .label { margin: 0; }
.plan--next .btn { margin-top: auto; }

/* Grupos de planes */
.pgroup { margin-top: 3.2rem; }
.pgroup:first-of-type { margin-top: 0; }
.pgroup__head { display: flex; justify-content: space-between; align-items: baseline; gap: .4rem 2rem; flex-wrap: wrap; margin-bottom: 1.3rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.pgroup__head h3 { font-size: 1.35rem; }
.pgroup__head p { color: var(--muted); font-size: .93rem; }
.pgroup__foot { color: var(--muted); font-size: .86rem; margin-top: 1rem; }

/* Mantenimiento */
.maint { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.mplan { padding: 1.5rem 1.5rem 1.6rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: grid; gap: .55rem; align-content: start; min-width: 0; }
.mplan h4 { font: 500 1.12rem/1.2 var(--f-display); margin: 0; }
.mplan__price { font: 400 1.7rem/1 var(--f-display); color: var(--teal); font-variant-numeric: tabular-nums; }
.mplan__price small { font-size: .8rem; color: var(--muted); }
.mplan__for { color: var(--muted); font-size: .9rem; margin-bottom: .4rem; }
.mplan .ticks li { font-size: .9rem; }

/* Condiciones */
.terms { margin-top: 3.2rem; padding: 1.8rem 2rem; border-radius: var(--r); background: var(--deep); border: 1px solid var(--line); }
.terms h3 { font-size: 1.15rem; margin-bottom: 1.1rem; }
.terms dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.2rem 2rem; }
.terms dt { font: 500 .72rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: .35rem; }
.terms dd { margin: 0; font-size: .9rem; color: var(--muted); }

@media (max-width: 900px) { .plans, .plans--3 { grid-template-columns: 1fr; max-width: 600px; } .maint { grid-template-columns: 1fr; max-width: 600px; } }
@media (max-width: 480px) { .terms { padding: 1.4rem; } .plan { padding: 1.6rem 1.3rem; } .plan__price, .plans--3 .plan__price { font-size: 1.75rem; } }
@media (max-width: 480px) { .extra { grid-template-columns: 1fr; } .extra__price { grid-column: 1; grid-row: auto; text-align: left; margin-top: .4rem; } }

/* ---------- Portfolio ---------- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.work {
  display: grid; grid-template-rows: auto 1fr; text-decoration: none; border-radius: var(--r); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s;
}
.work:hover { border-color: rgba(44,197,181,.6); transform: translateY(-3px); }
.work__shot { position: relative; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; }
.ws-bar { position: absolute; inset: 0 0 auto; display: flex; gap: 5px; padding: 9px 11px; background: rgba(0,0,0,.25); z-index: 1; }
.ws-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); }
.work__shot > div:last-child { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 2.4rem 9% 1rem; transition: transform .5s; }
.work:hover .work__shot > div:last-child { transform: scale(1.03); }
.ws-t { line-height: 1; }
/* miniatura cafetería */
.work__shot--cafe { background: #f6f3ea; }
.ws-cafe .ws-t { font: 700 clamp(1.4rem, 3.4vw, 2.2rem)/0.95 "Bricolage Grotesque", var(--f-display); color: #1f3b2d; letter-spacing: -.03em; }
.ws-cup { width: 30%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #5a3825 0 38%, #c99a62 39% 44%, #fff 45% 62%, #1f3b2d 63%); box-shadow: 0 14px 30px -10px rgba(31,59,45,.5); }
/* miniatura barbería */
.work__shot--barber { background: #121110; }
.ws-barber .ws-t { font: 800 clamp(1.6rem, 4vw, 2.6rem)/1 "Big Shoulders Display", var(--f-display); color: #c9a45c; letter-spacing: .08em; }
.ws-pole { width: 12%; height: 70%; border-radius: 999px; background: repeating-linear-gradient(135deg, #c9a45c 0 10px, #121110 10px 20px, #e9e2d3 20px 30px, #121110 30px 40px); border: 2px solid #c9a45c; }
/* miniatura taller */
.work__shot--taller { background: #1c1f22; }
.ws-taller .ws-t { font: 700 clamp(1.4rem, 3.6vw, 2.3rem)/.95 "Barlow Condensed", var(--f-display); color: #f2f2f0; letter-spacing: .02em; }
.ws-stripe { width: 34%; height: 46%; background: repeating-linear-gradient(-45deg, #ffb000 0 14px, #1c1f22 14px 28px); border-radius: 4px; }
/* miniatura inmobiliaria */
.work__shot--inmo { background: #eef1ee; }
.ws-inmo .ws-t { font: 400 clamp(1.5rem, 3.6vw, 2.3rem)/1 "Instrument Serif", Georgia, serif; color: #1d2b3a; }
.ws-house { width: 30%; aspect-ratio: 1; background: linear-gradient(#1d2b3a, #1d2b3a) 50% 100% / 70% 55% no-repeat, conic-gradient(from 135deg at 50% 8%, #7f9a85 0 90deg, transparent 0) 50% 0 / 100% 50% no-repeat; }
.work__meta { padding: 1.5rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: .45rem; border-top: 1px solid var(--line); }
.work__cat { font: 400 .72rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.work h3 { font-size: 1.25rem; }
.work__meta p:not(.work__cat) { color: var(--muted); font-size: .93rem; }
.work__go { margin-top: .5rem; font: 500 .9rem var(--f-display); color: var(--teal); }
@media (max-width: 760px) { .works { grid-template-columns: 1fr; } }

/* ---------- Proceso ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; position: relative; }
.step { position: relative; padding: 0 1.2rem 0 0; min-width: 0; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 1.05rem; height: 1px; background: linear-gradient(90deg, var(--teal), var(--line)); }
.step:last-child::before { right: 50%; }
.step__n { position: relative; display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--void); border: 1px solid var(--teal); font: 500 .75rem var(--f-mono); color: var(--teal); }
.step h3 { font-size: 1.08rem; margin: 1.2rem 0 .5rem; }
.step p { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .step { padding: 0 0 0 3.4rem; }
  .step::before { left: 1.05rem; right: auto; top: 2.1rem; bottom: -1.6rem; width: 1px; height: auto; background: var(--line); }
  .step:last-child::before { display: none; }
  .step__n { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: .25rem; }
}

/* ---------- Diferencial ---------- */
.diff { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.diff__intro h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
.diff__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 2rem; }
.diff__item { padding-top: 1.1rem; border-top: 1px solid var(--line); min-width: 0; }
.diff__item h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.diff__item p { color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .diff { grid-template-columns: 1fr; gap: 2.2rem; } }
@media (max-width: 520px) { .diff__list { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.faq__list { border-top: 1px solid var(--line); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; font: 500 1.02rem/1.4 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.4rem/1 var(--f-mono); color: var(--teal); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 2rem 1.3rem 0; max-width: 40rem; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Contacto ---------- */
.section--contact { background: radial-gradient(ellipse at 15% 0%, rgba(44,197,181,.10), transparent 55%), var(--void); border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact__intro p:not(.label) { color: var(--muted); margin-top: 1rem; max-width: 30rem; }
.contact__direct { margin-top: 2rem; display: grid; gap: 1.1rem; justify-items: start; }
.contact__mail { font-size: .93rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.contact__mail span { font-family: var(--f-mono); color: var(--text); user-select: all; }
.copy { font: 500 .75rem var(--f-mono); color: var(--teal); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .7rem; cursor: pointer; }
.copy:hover { border-color: var(--teal); }
.form { display: grid; gap: 1.1rem; padding: 2rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.field { display: grid; gap: .45rem; }
.field label { font: 500 .78rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--text);
  background: var(--void); border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
.field input[aria-invalid="true"] { border-color: #e2766b; }
.form__status { font-size: .9rem; color: var(--muted); min-height: 1.4em; }
.form__status.ok { color: var(--teal); }
.form__status.err { color: #e2766b; }
.form__privacy { font-size: .78rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 2.4rem; } }
@media (max-width: 480px) { .form { padding: 1.4rem; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 2.4rem calc(2.4rem + env(safe-area-inset-bottom, 0px)); }
.footer__inner { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.footer__brand { font: 500 1.2rem var(--f-display); }
.footer__tag { color: var(--muted); font-size: .9rem; margin-top: .3rem; }
.footer__small { font: 400 .75rem var(--f-mono); color: var(--muted); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: #04110f; box-shadow: 0 10px 30px -8px rgba(44,197,181,.6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
