/* =============================================================
   Detective Virtual · detectivevirtual.cl
   Sistema de diseño v3: noir verde petróleo — serio, con misterio
   Tipografías: Sora (titulares) · Inter (texto) · Instrument Serif (acento)
   =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0d1613;
  --bg-2:      #111c18;
  --bg-3:      #16231e;
  --card:      #131f1a;
  --card-2:    #182720;
  --ink:       #e9f1ec;
  --ink-soft:  #c9d7ce;
  --mute:      #94a99c;
  --dim:       #64796d;
  --accent:    #3ecf9a;
  --accent-2:  #24b583;
  --accent-ink:#06231a;
  --accent-soft: rgba(62, 207, 154, 0.10);
  --coral:     #e07856;
  --glass:     rgba(19, 31, 26, 0.72);
  --line:      rgba(233, 241, 236, 0.09);
  --line-2:    rgba(233, 241, 236, 0.17);
  --sombra:    0 18px 50px rgba(0, 0, 0, 0.35);
  --sombra-2:  0 30px 80px rgba(0, 0, 0, 0.5);

  --display: "Sora", "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif-it: "Instrument Serif", Georgia, serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --w: min(1140px, calc(100vw - 2.4rem));
  --nav-h: 76px;
  --radius: 20px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  text-wrap: balance;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
ul, ol { padding-left: 1.2em; }
::selection { background: var(--accent); color: var(--accent-ink); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--accent); color: var(--accent-ink);
  z-index: 9999; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Palabra acentuada en titulares: serif itálica esmeralda */
h1 em, h2 em {
  font-family: var(--serif-it);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--accent);
  font-size: 1.06em;
}

/* =============================================================
   3. Niebla de fondo + foco que sigue el cursor (firma del sitio)
   ============================================================= */
.malla {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--mx, 70%) var(--my, 22%), rgba(62, 207, 154, 0.075), transparent 65%),
    radial-gradient(46% 40% at 14% 6%,  rgba(23, 58, 46, 0.55), transparent 70%),
    radial-gradient(52% 44% at 92% 16%, rgba(16, 42, 52, 0.5), transparent 72%),
    radial-gradient(60% 50% at 50% 108%, rgba(10, 28, 22, 0.85), transparent 75%),
    var(--bg);
}
/* Viñeta sutil: oscurece esquinas, aporta profundidad */
.malla::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.32) 100%);
}

/* =============================================================
   4. Utilidades
   ============================================================= */
.wrap { width: var(--w); margin-inline: auto; }
.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.section { padding-block: clamp(3.4rem, 8vw, 6rem); }
.section-head { max-width: 680px; margin-bottom: clamp(1.6rem, 4vw, 2.8rem); }
.section-head h2 { font-size: clamp(1.65rem, 3.4vw, 2.45rem); margin-top: .55rem; }
.section-head .lead { margin-top: .85rem; color: var(--mute); max-width: 56ch; font-size: 1.02rem; }

/* Dato pendiente del documento maestro (⟦…⟧) */
.pendiente {
  font-size: .82em;
  font-weight: 600;
  color: #dcb96a;
  background: rgba(220, 185, 106, 0.08);
  border: 1px dashed rgba(220, 185, 106, 0.4);
  border-radius: 8px;
  padding: .05em .5em;
  white-space: nowrap;
}

/* =============================================================
   5. Aviso de borrador (QUITAR EN PRODUCCIÓN) + barra superior
   ============================================================= */
.aviso-borrador {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
  padding: .5rem 1rem;
  background: #33150f;
  color: #eec0ad;
  border-bottom: 1px solid rgba(238, 192, 173, 0.2);
}
.aviso-borrador strong { color: #ffdcc9; }

.topbar {
  background: #0a110e;
  border-bottom: 1px solid var(--line);
  color: #9fd8bf;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.8rem;
  padding-block: .5rem;
  font-size: .76rem;
  font-weight: 500;
}
.topbar span::before { content: "✓ "; color: var(--accent); }

/* =============================================================
   6. Navegación (cristal oscuro flotante)
   ============================================================= */
.nav {
  position: sticky; top: .8rem; z-index: 100;
  width: var(--w); margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding-inline: clamp(.9rem, 2vw, 1.6rem);
  border-radius: 22px;
  background: rgba(19, 31, 26, 0.92);
  border: 1px solid var(--line-2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: box-shadow .3s var(--ease-out);
}
@supports (backdrop-filter: blur(18px)) {
  .nav { background: var(--glass); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
}
.nav.is-solid { box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55); }
.nav-inner { display: flex; align-items: center; gap: 1.4rem; width: 100%; }

.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand-logo {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 13px;
  background: linear-gradient(150deg, #2fc492, #17a173);
  color: var(--accent-ink);
  box-shadow: 0 6px 16px rgba(36, 181, 131, 0.35);
}
.brand-logo svg { width: 22px; height: 22px; }
.brand-texto { display: flex; flex-direction: column; line-height: 1.1; }
.brand-nombre { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.brand-grupo { font-size: .62rem; font-weight: 600; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }

.nav-links { display: none; align-items: center; gap: 1.4rem; }
.nav-links a {
  font-size: .88rem; font-weight: 600; color: var(--mute);
  position: relative; padding-block: .3rem;
  transition: color .25s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  display: none;
  font-size: .86rem; font-weight: 700; color: var(--accent-ink);
  background: var(--accent);
  border-radius: 99px;
  padding: .55rem 1.2rem;
  box-shadow: 0 6px 18px rgba(62, 207, 154, 0.25);
  transition: transform .25s var(--ease-out), background .25s var(--ease-out);
}
.nav-cta:hover { background: #55dbaa; transform: translateY(-2px); }

.nav-burger {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--card-2);
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 17px; height: 2px;
  background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-burger span::before { position: absolute; top: -5.5px; }
.nav-burger span::after { position: absolute; top: 5.5px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .nav-burger span::after { transform: translateY(-5.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; top: calc(var(--nav-h) + 1.6rem); left: 50%; transform: translateX(-50%);
  width: var(--w); z-index: 99;
  background: var(--card-2);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: var(--sombra-2);
  padding: .8rem 1.2rem 1.1rem;
  display: none; flex-direction: column;
}
body.menu-open .nav-mobile { display: flex; }
.nav-mobile a {
  padding: .75rem .2rem; font-size: 1rem; font-weight: 600; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile .nav-mobile-cta { color: var(--accent); }

@media (min-width: 960px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-burger, .nav-mobile { display: none !important; }
}

/* =============================================================
   7. Hero
   ============================================================= */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.6rem, 6vw, 4.6rem); }
.hero-grid { display: grid; gap: 2.8rem; align-items: center; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  max-width: 16ch;
  margin-top: .8rem;
}
.hero-sub {
  margin-top: 1.1rem;
  max-width: 50ch;
  color: var(--mute);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}
.hero-pildora {
  display: inline-flex; align-items: baseline; gap: .5rem;
  margin-top: 1.4rem;
  font-size: .86rem; font-weight: 600;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 99px;
  padding: .5rem 1.1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.hero-pildora strong { color: var(--accent); font-size: 1.05rem; font-weight: 700; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.hero-micro {
  margin-top: 1.2rem;
  font-size: .86rem;
  color: var(--dim);
  max-width: 46ch;
}
.hero-micro::before { content: "→ "; color: var(--accent); font-weight: 700; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 4rem; }
}

.hero--ficha { padding-block: clamp(2.4rem, 5vw, 4rem); }
.hero--ficha h1 { font-size: clamp(1.85rem, 4vw, 2.9rem); max-width: 19ch; }

/* =============================================================
   8. Botones
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: .94rem;
  border-radius: 99px;
  padding: .82rem 1.7rem;
  transition: transform .25s var(--ease-out), background .25s var(--ease-out),
              color .25s var(--ease-out), border-color .25s var(--ease-out),
              box-shadow .25s var(--ease-out);
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(150deg, #47d6a2, #1cae7f);
  color: var(--accent-ink);
  box-shadow: 0 10px 26px rgba(36, 181, 131, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(62, 207, 154, 0.4); }
.btn-ghost {
  color: var(--ink); background: rgba(233, 241, 236, 0.04);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-wa { background: #1f9d50; color: #fff; box-shadow: 0 10px 26px rgba(31, 157, 80, 0.35); }
.btn-wa:hover { background: #23b15b; transform: translateY(-2px); }

/* =============================================================
   9. Maquetas del entregable (flotantes, datos de ejemplo)
   ============================================================= */
.mock {
  background: linear-gradient(165deg, var(--card-2), var(--card));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--sombra-2), inset 0 1px 0 rgba(233, 241, 236, 0.06);
  font-size: .8rem;
  color: var(--mute);
  position: relative;
  animation: flota 7s ease-in-out infinite;
}
@keyframes flota {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.mock-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-bottom: .8rem; border-bottom: 1px solid var(--line);
}
.mock-head .t { color: var(--ink); font-weight: 700; font-size: .84rem; }
.mock-head .n { color: var(--dim); font-size: .7rem; }
.mock-tag {
  display: inline-block;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(62, 207, 154, 0.25);
  border-radius: 8px;
  padding: .2rem .6rem;
  margin-top: .9rem;
}
.mock-rows { margin-top: .9rem; display: grid; gap: .45rem; }
.mock-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .5rem .7rem;
  background: rgba(9, 15, 12, 0.55);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.mock-row .v { color: var(--ink); font-weight: 600; white-space: nowrap; }
.mock-row .hl { color: var(--accent); font-weight: 700; white-space: nowrap; }
.mock-bar { height: 7px; border-radius: 4px; background: var(--bg-3); overflow: hidden; margin-top: .35rem; }
.mock-bar i { display: block; height: 100%; background: linear-gradient(90deg, #1cae7f, #47d6a2); border-radius: 4px; }
.mock-foot {
  margin-top: 1rem; padding-top: .7rem;
  border-top: 1px dashed var(--line-2);
  font-size: .68rem; color: var(--dim); font-style: italic;
}

/* =============================================================
   10. Franja de cifras
   ============================================================= */
.cifras .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.cifra {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  padding: 1.5rem 1.4rem;
}
.cifra-num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  color: var(--accent); line-height: 1;
  text-shadow: 0 0 24px rgba(62, 207, 154, 0.35);
}
.cifra-num sub { font-size: .45em; vertical-align: baseline; }
.cifra-label { margin-top: .5rem; font-size: .84rem; color: var(--mute); }
@media (min-width: 960px) { .cifras .wrap { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   11. Cards genéricas
   ============================================================= */
.tarjetas { display: grid; gap: 1.1rem; margin-top: 2rem; }
@media (min-width: 720px) { .tarjetas { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .tarjetas--3 { grid-template-columns: repeat(3, 1fr); } }

.tarjeta {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  padding: 1.6rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.tarjeta:hover { transform: translateY(-4px); box-shadow: var(--sombra-2); border-color: rgba(62, 207, 154, 0.3); }
.tarjeta-ico {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(62, 207, 154, 0.2);
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 1rem;
}
.tarjeta h3 { font-size: 1.08rem; }
.tarjeta p { margin-top: .5rem; font-size: .92rem; color: var(--mute); }
.tarjeta ul { margin-top: .7rem; display: grid; gap: .45rem; font-size: .9rem; color: var(--mute); }
.tarjeta .enlace { display: inline-block; margin-top: .9rem; font-size: .86rem; font-weight: 700; color: var(--accent); }
.tarjeta .enlace::after { content: " →"; }

/* Fotos en tarjetas y secciones */
.tarjeta-media {
  border-radius: 14px; overflow: hidden;
  aspect-ratio: 3 / 2;
  margin-bottom: 1rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.tarjeta-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out);
}
a.tarjeta:hover .tarjeta-media img { transform: scale(1.05); }

.split-2 { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 960px) { .split-2 { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.foto-marco {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--sombra-2);
  aspect-ratio: 4 / 3;
  background: var(--bg-3);
}
.foto-marco img { width: 100%; height: 100%; object-fit: cover; }

.cierre-foto {
  margin-top: 1.7rem;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--sombra);
  max-width: 430px; aspect-ratio: 3 / 2;
  background: var(--bg-3);
}
.cierre-foto img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================================
   12. Pasos (cómo funciona)
   ============================================================= */
.pasos { display: grid; gap: 1.1rem; margin-top: 2rem; counter-reset: paso; }
@media (min-width: 720px) { .pasos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .pasos { grid-template-columns: repeat(4, 1fr); } }
.paso {
  counter-increment: paso;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  padding: 1.5rem;
  position: relative;
}
.paso::before {
  content: counter(paso, decimal-leading-zero);
  font-family: var(--display); font-weight: 700; font-size: .82rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(62, 207, 154, 0.2);
  border-radius: 10px;
  padding: .25rem .6rem;
  display: inline-block;
  margin-bottom: .9rem;
}
.paso h3 { font-size: 1.02rem; }
.paso p { margin-top: .45rem; font-size: .88rem; color: var(--mute); }
.paso-gratis {
  position: absolute; top: 1.3rem; right: 1.3rem;
  font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent);
}

.nota-pie {
  margin-top: 1.4rem;
  font-size: .86rem; color: var(--ink-soft);
  background: var(--accent-soft);
  border: 1px solid rgba(62, 207, 154, 0.18);
  border-radius: 14px;
  padding: .9rem 1.2rem;
  max-width: 72ch;
}
.nota-pie strong { color: var(--accent); }

/* =============================================================
   13. Catálogo de servicios
   ============================================================= */
.servicio {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  padding: 1.5rem;
  position: relative;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
a.servicio:hover { transform: translateY(-4px); box-shadow: var(--sombra-2); border-color: rgba(62, 207, 154, 0.35); }
.servicio-top { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.servicio-cod {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(62, 207, 154, 0.25);
  border-radius: 8px;
  padding: .22rem .55rem;
}
.servicio-plazo { font-size: .74rem; font-weight: 600; color: var(--dim); }
.servicio h3 { font-size: 1.06rem; margin-top: .85rem; }
.servicio p { font-size: .88rem; color: var(--mute); margin-top: .45rem; flex-grow: 1; }
.servicio-foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: .8rem;
  margin-top: 1.1rem; padding-top: .95rem;
  border-top: 1px solid var(--line);
}
.servicio-precio { font-weight: 700; font-size: .95rem; color: var(--ink); }
.servicio-precio small { color: var(--dim); font-weight: 500; font-size: .78em; }
.servicio-link { font-size: .82rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
a.servicio:hover .servicio-link::after { content: " →"; }
.servicio--retenido { opacity: .68; }
.servicio-nota {
  font-size: .64rem; font-weight: 700; color: #e0a677;
  background: rgba(224, 120, 86, 0.1);
  border: 1px dashed rgba(224, 120, 86, 0.4);
  border-radius: 7px;
  padding: .18rem .5rem; white-space: nowrap;
}

/* =============================================================
   14. Tabla de precios (canon)
   ============================================================= */
.tabla-scroll {
  overflow-x: auto; overflow-y: visible;
  margin-top: 2rem;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
}
.tabla { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .88rem; }
.tabla th {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim);
  text-align: left;
  padding: .95rem 1.1rem;
  border-bottom: 1px solid var(--line-2);
  background: rgba(9, 15, 12, 0.5);
}
.tabla td { padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.tabla tbody tr { transition: background .2s var(--ease-out); }
.tabla tbody tr:hover { background: rgba(62, 207, 154, 0.05); }
.tabla tbody tr:last-child td { border-bottom: 0; }
.tabla .cod { font-weight: 700; font-size: .78rem; color: var(--accent); white-space: nowrap; }
.tabla .precio { font-weight: 700; color: var(--ink); white-space: nowrap; }
.tabla .plazo { white-space: nowrap; }
.tabla a { color: var(--ink); font-weight: 600; border-bottom: 1px solid rgba(62, 207, 154, 0.45); transition: border-color .2s, color .2s; }
.tabla a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.condiciones { margin-top: 1.4rem; font-size: .86rem; color: var(--mute); max-width: 78ch; }
.condiciones strong { color: var(--ink-soft); }
.condiciones + .condiciones { margin-top: .8rem; }

.precio-card {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 2rem;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  padding: 1.6rem 1.8rem;
}
.precio-card .valor {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem); color: var(--accent);
  text-shadow: 0 0 26px rgba(62, 207, 154, 0.3);
}
.precio-card .meta { font-size: .84rem; font-weight: 600; color: var(--mute); }
.precio-card .nota { flex-basis: 100%; font-size: .86rem; color: var(--mute); }

/* =============================================================
   15. Límites
   ============================================================= */
.limites-lista { list-style: none; padding: 0; margin-top: 1.8rem; display: grid; gap: .6rem; }
@media (min-width: 720px) { .limites-lista--2col { grid-template-columns: 1fr 1fr; } }
.limites-lista li {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .9rem; color: var(--ink-soft);
  padding: .85rem 1.05rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.limites-lista li::before { content: "✕"; color: var(--coral); font-weight: 700; flex-shrink: 0; }
.limites-lista--check li::before { content: "✓"; color: var(--accent); }

.limite-mayor {
  margin-top: 1.8rem;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(160deg, #081009, #0b1512);
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--sombra-2), inset 0 1px 0 rgba(233, 241, 236, 0.05);
}
.limite-mayor .kicker { display: block; margin-bottom: .5rem; }
.limite-mayor p { font-size: 1.06rem; line-height: 1.55; }
.limite-mayor p em { font-family: var(--serif-it); font-style: italic; color: var(--accent); }

/* =============================================================
   16. FAQ
   ============================================================= */
.faq-lista { margin-top: 2rem; display: grid; gap: .8rem; max-width: 820px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--sombra);
  padding: 0 1.3rem;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 600; font-size: .98rem; color: var(--ink);
  transition: color .2s var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--accent);
  font-size: 1.35rem; font-weight: 400; line-height: 1;
  transition: transform .3s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { padding: 0 0 1.2rem; font-size: .9rem; color: var(--mute); }

/* =============================================================
   17. Cierre + formulario
   ============================================================= */
.cierre-grid { display: grid; gap: 2.6rem; }
@media (min-width: 960px) { .cierre-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.cierre h2, #contacto h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-top: .6rem; }
.cierre-parrafo { margin-top: 1rem; color: var(--mute); max-width: 50ch; font-size: 1.02rem; }
.cierre-acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.cierre-condiciones { margin-top: 1.3rem; font-size: .8rem; font-weight: 600; color: var(--dim); }
.cierre-contacto { margin-top: 1.7rem; display: grid; gap: .55rem; font-size: .94rem; }
.cierre-contacto a {
  display: inline-flex; gap: .6rem; align-items: baseline;
  color: var(--ink-soft); width: fit-content; font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.cierre-contacto a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.cierre-contacto .ico {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  color: var(--accent);
}

.form {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--sombra-2);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid; gap: 1rem;
}
.form-titulo { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.form label { display: grid; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--mute); }
.form input, .form select, .form textarea {
  font: inherit; font-size: .95rem;
  color: var(--ink);
  background: rgba(9, 15, 12, 0.55);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: .75rem .9rem;
  width: 100%;
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(9, 15, 12, 0.85);
}
.form textarea { min-height: 120px; resize: vertical; }
.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.form select option { background: var(--bg-3); color: var(--ink); }
.form-fila { display: grid; gap: 1rem; }
@media (min-width: 540px) { .form-fila { grid-template-columns: 1fr 1fr; } }
.form .btn { justify-self: start; }
.form-nota { font-size: .74rem; color: var(--dim); }
.form-estado { font-size: .88rem; font-weight: 600; display: none; padding: .8rem 1rem; border-radius: 12px; }
.form-estado.ok { display: block; color: #9fe8c9; background: rgba(62, 207, 154, 0.1); border: 1px solid rgba(62, 207, 154, 0.3); }
.form-estado.error { display: block; color: #eec0ad; background: rgba(224, 120, 86, 0.1); border: 1px solid rgba(224, 120, 86, 0.35); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* =============================================================
   18. Pie
   ============================================================= */
.footer {
  margin-top: 2rem;
  background: #090f0c;
  color: var(--mute);
  padding-block: 3.4rem 2rem;
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer .brand-nombre { color: var(--ink); }
.footer-marca p { margin-top: 1rem; font-size: .84rem; color: var(--dim); max-width: 34ch; }
.footer h4 {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.footer-col ul { list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: .5rem; }
.footer-col a { font-size: .86rem; color: var(--mute); transition: color .2s var(--ease-out); }
.footer-col a:hover { color: var(--ink); }
.descargo {
  margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: .76rem; color: var(--dim);
  max-width: 100ch;
}
.footer-fin {
  margin-top: 1.6rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem;
  font-size: .72rem; color: var(--dim);
}

/* Botón flotante de WhatsApp */
.wa-fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #1f9d50; color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: transform .25s var(--ease-out);
}
.wa-fab:hover { transform: translateY(-3px) scale(1.05); }
.wa-fab svg { width: 29px; height: 29px; fill: currentColor; }

/* Avisos internos de retención (retirar en producción) */
.retencion {
  background: rgba(224, 120, 86, 0.07);
  border: 1px solid rgba(224, 120, 86, 0.3);
  border-left: 5px solid var(--coral);
  border-radius: 14px;
  padding: 1rem 1.3rem;
  margin: 1.4rem auto 0;
  width: var(--w);
  font-size: .86rem; color: #e5b8a2;
}
.retencion strong { color: #f0c8ae; font-size: .78rem; letter-spacing: .05em; }

/* =============================================================
   19. Reveals
   ============================================================= */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  animation: revealNet .4s var(--ease-out) 5s forwards;
}
.reveal.is-visible { opacity: 1; transform: none; animation: none; }
.reveal[data-split] { opacity: 1; transform: none; }
@keyframes revealNet { to { opacity: 1; transform: none; } }
html.no-js .reveal { opacity: 1; transform: none; animation: none; }

/* =============================================================
   20. Responsive fino
   ============================================================= */
@media (max-width: 539px) {
  .hero-acciones .btn { width: 100%; }
  .nav { top: .5rem; }
}

/* =============================================================
   21. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .mock { animation: none; }
  /* Hovers, reveals, count-ups y el foco del cursor se mantienen: son funcionales */
}

/* =============================================================
   22. Impresión
   ============================================================= */
@media print {
  .aviso-borrador, .nav, .nav-mobile, .wa-fab, .topbar, .malla { display: none !important; }
  body { background: #fff; color: #111; }
}
