/* ============================================================
   GESMICON · Estilos
   ============================================================ */
:root {
  --orange: #f26822;
  --orange-dark: #d9510d;
  --orange-soft: rgba(242, 104, 34, .12);
  --navy-900: #041021;
  --navy-800: #081933;
  --navy-700: #0e274b;
  --navy-600: #163a6b;
  --wa: #25d366;

  --bg: #041021;
  --bg-alt: #071628;
  --surface: rgba(8, 25, 51, .9);
  --surface-2: rgba(14, 39, 75, .55);
  --border: rgba(148, 163, 184, .16);
  --border-strong: rgba(148, 163, 184, .32);
  --text: #f1f5f9;
  --text-muted: #b6c2d3;
  --text-dim: #7d8ca1;
  --header-bg: rgba(4, 16, 33, .86);
  --shadow: 0 20px 50px rgba(0, 0, 0, .35);
  --logo-fg: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
}
[data-theme="light"] {
  --bg: #f4f6fa;
  --bg-alt: #eaeff6;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: rgba(15, 23, 42, .1);
  --border-strong: rgba(15, 23, 42, .2);
  --text: #0b1a33;
  --text-muted: #3c4b63;
  --text-dim: #6b7a92;
  --header-bg: rgba(255, 255, 255, .88);
  --shadow: 0 20px 50px rgba(15, 23, 42, .1);
  --logo-fg: #0b1a33;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: .5rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
svg.i { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.2em; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 14px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s;
  text-align: center; line-height: 1.2; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 30px rgba(242, 104, 34, .35); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(242, 104, 34, .45); }
.btn-outline { background: var(--surface-2); border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-ghost { color: var(--text-muted); padding-inline: .8rem; }
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: .6rem 1.1rem; font-size: .8rem; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .3); }
.btn-wa:hover { background: #1fb457; transform: translateY(-2px); }
.link-btn { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); transition: .2s;
}
.icon-btn:hover { border-color: var(--orange); color: var(--orange); }
.chip {
  padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface-2);
  font-weight: 600; font-size: .85rem; color: var(--text-muted); transition: .2s;
}
.chip:hover { border-color: var(--orange); color: var(--text); }
.chip.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--header-bg); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.logo { display: block; height: 52px; }
.logo svg { height: 100%; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
[data-theme="light"] .logo svg { filter: none; }
.main-nav { display: flex; gap: .2rem; align-items: center; }
.nav-link { padding: .5rem .75rem; font-size: .85rem; font-weight: 600; color: var(--text-muted); border-radius: 10px; border-bottom: 2px solid transparent; transition: .2s; }
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--orange); border-bottom-color: var(--orange); border-radius: 0; }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 3rem; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(242, 104, 34, .14), transparent 60%),
    radial-gradient(40% 40% at 10% 90%, rgba(22, 58, 107, .5), transparent 60%);
}
[data-theme="light"] .hero-bg { background: radial-gradient(60% 50% at 80% 10%, rgba(242, 104, 34, .12), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: center; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--orange); font-weight: 700; font-size: .78rem;
  margin-bottom: 1.5rem;
}
.hero-title { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 700; margin-bottom: 1.2rem; }
.hero-title .accent { color: var(--orange); }
.hero-title .underline { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }
.hero-lead { font-size: 1.08rem; color: var(--text-muted); max-width: 640px; }
.hero-checks { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; font-weight: 600; font-size: .92rem; }
.hero-checks li { display: flex; gap: .7rem; align-items: center; }
.check-ring { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--orange); display: inline-flex; align-items: center; justify-content: center; color: var(--orange); flex: none; }
.check-ring svg { width: 14px; height: 14px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.5rem 0; }
.hero-ctas.center { justify-content: center; }
.social-proof { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.social-proof p { margin: 0; font-size: .82rem; color: var(--text-muted); }
.avatars { display: flex; }
.avatars img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }
.stars span { color: var(--orange); letter-spacing: 1px; }
.stars strong { font-size: .8rem; }

.identity-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 1.5rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 1rem;
}
.identity-head { text-align: center; color: var(--orange); font-weight: 800; font-size: .75rem; letter-spacing: .12em; padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
.identity-logo { background: var(--navy-900); border-radius: 18px; padding: 1.5rem; margin: 1.5rem 0; }
.identity-logo svg { width: 100%; height: auto; }
.identity-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.identity-list li { display: flex; gap: .9rem; align-items: center; padding: .8rem 1rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; }
.identity-list .ico { color: var(--orange); width: 24px; display: inline-flex; }
.identity-list strong { display: block; font-size: .85rem; }
.identity-list span:not(.ico) { font-size: .75rem; color: var(--text-dim); }
.identity-status { font-size: .78rem; color: var(--text-muted); display: flex; align-items: center; gap: .5rem; justify-content: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 1.8s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* ---------- Trust strip ---------- */
.trust-strip { border-block: 1px solid var(--border); background: var(--bg-alt); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.5rem; padding: .9rem 0; font-size: .82rem; font-weight: 600; color: var(--text-muted); }
.trust-inner div { display: flex; align-items: center; gap: .5rem; }
.trust-inner svg { color: var(--orange); }

/* ---------- Secciones ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.section-head.left { text-align: left; margin: 0; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; color: var(--orange); font-weight: 800; font-size: .74rem; letter-spacing: .12em; margin-bottom: .8rem; }
.eyebrow.live { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem; border: 1px solid rgba(34, 197, 94, .4); border-radius: 999px; background: rgba(34, 197, 94, .08); color: #22c55e; }
.mini-title { font-size: .8rem; letter-spacing: .1em; color: var(--text-dim); font-weight: 800; }

/* ---------- Pilares ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem;
  transition: transform .25s, border-color .25s, box-shadow .25s; position: relative;
}
.card:hover { transform: translateY(-6px); border-color: rgba(242, 104, 34, .5); box-shadow: var(--shadow); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-soft); color: var(--orange); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.card-icon svg { width: 26px; height: 26px; }
.card p { color: var(--text-muted); font-size: .95rem; }
.card-list { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; font-weight: 600; }
.card-list li { display: flex; gap: .5rem; align-items: center; }
.card-list svg { color: var(--orange); }
.badge { position: absolute; top: 1rem; right: 1rem; background: var(--orange); color: #fff; font-size: .65rem; font-weight: 800; letter-spacing: .08em; padding: .3rem .6rem; border-radius: 999px; }

/* ---------- Asistente ---------- */
.assistant { display: grid; grid-template-columns: .9fr 1.3fr; gap: 1.5rem; align-items: start; }
.situation-list { display: flex; flex-direction: column; gap: .7rem; margin: 1rem 0 1.5rem; }
.situation-btn {
  text-align: left; display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); transition: .2s;
}
.situation-btn:hover { border-color: var(--orange); }
.situation-btn.is-active { border-color: var(--orange); background: linear-gradient(90deg, var(--orange-soft), transparent); box-shadow: inset 4px 0 0 var(--orange); }
.situation-btn .ico { color: var(--orange); margin-top: .15rem; }
.situation-btn strong { display: block; font-size: .95rem; }
.situation-btn span:not(.ico) { font-size: .8rem; color: var(--text-muted); }
.alert-box { display: flex; gap: .8rem; padding: 1rem; border-radius: 14px; background: rgba(239, 68, 68, .08); border: 1px solid rgba(239, 68, 68, .35); font-size: .85rem; color: var(--text-muted); }
.alert-box svg { color: #ef4444; flex: none; width: 22px; height: 22px; }
.assistant-right { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); animation: fadeIn .35s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.panel-head h3 { font-size: 1.5rem; margin: .2rem 0; }
.duration { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--orange); background: var(--orange-soft); padding: .4rem .8rem; border-radius: 999px; }
.req-list { list-style: none; padding: 0; margin: .8rem 0 1.5rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.req-list li { display: flex; gap: .6rem; align-items: flex-start; }
.req-list svg { color: var(--orange); margin-top: .2rem; }
.sim-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.viability { display: flex; align-items: center; gap: .8rem; }
.ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--orange) calc(var(--p) * 1%), var(--surface-2) 0); display: grid; place-items: center; transition: --p .4s; position: relative; }
.ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--surface); }
.ring span { position: relative; z-index: 1; font-weight: 800; font-size: .85rem; }
.viability small { display: block; font-size: .72rem; color: var(--text-dim); }
.viability strong { font-size: .85rem; }
.steps { display: flex; flex-direction: column; gap: .6rem; }
.step {
  display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; transition: .2s; user-select: none;
}
.step:hover { border-color: var(--orange); }
.step input { position: absolute; opacity: 0; pointer-events: none; }
.step .box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border-strong); display: grid; place-items: center; flex: none; margin-top: .1rem; transition: .2s; color: #fff; }
.step .box svg { width: 13px; height: 13px; opacity: 0; }
.step.is-done { border-color: rgba(34, 197, 94, .5); }
.step.is-done .box { background: #22c55e; border-color: #22c55e; }
.step.is-done .box svg { opacity: 1; }
.step.is-done strong { text-decoration: line-through; color: var(--text-dim); }
.step strong { display: block; font-size: .9rem; }
.step span.desc { font-size: .8rem; color: var(--text-muted); }
.panel-cta { margin-top: 1.5rem; padding: 1.2rem; border-radius: 14px; background: linear-gradient(135deg, var(--navy-700), var(--navy-800)); border: 1px solid rgba(242, 104, 34, .35); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; color: #fff; }
.panel-cta strong { display: block; }
.panel-cta small { color: #b6c2d3; }

/* ---------- Servicios ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.service-card { display: flex; flex-direction: column; }
.service-card.is-hidden { display: none; }
.service-cat { font-size: .68rem; font-weight: 800; letter-spacing: .1em; color: var(--orange); margin-bottom: .5rem; }
.service-actions { margin-top: auto; padding-top: 1.2rem; display: flex; gap: .8rem; align-items: center; justify-content: space-between; }
.service-actions .link-btn { text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; }

/* ---------- Testimonios ---------- */
.carousel { position: relative; padding: 0 3.2rem; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.testimonial { flex: 0 0 100%; padding: .5rem; }
.t-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 2rem; display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; box-shadow: var(--shadow); }
.t-photo { position: relative; border-radius: 18px; overflow: hidden; border: 3px solid var(--orange); background: #000; }
.t-photo img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; transition: transform .4s; }
.t-photo.has-video { cursor: pointer; }
.t-photo.has-video:hover img, .t-photo.has-video:focus-visible img { transform: scale(1.04); }
.t-photo.has-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 16, 33, .75), transparent 45%); pointer-events: none; }
.t-photo:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.t-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(242, 104, 34, .92); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .2s; z-index: 1; }
.t-play svg { width: 28px; height: 28px; margin-left: 3px; }
.t-photo.has-video:hover .t-play { transform: translate(-50%, -50%) scale(1.1); }
.t-author { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.t-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); flex: none; }
.video-card { width: min(440px, 100%); background: #000; overflow: hidden; scrollbar-width: none; }
.video-card video { display: block; width: 100%; max-height: calc(92vh - 170px); aspect-ratio: 9 / 16; object-fit: contain; background: #000; }
.video-caption { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.2rem 1.2rem; background: var(--surface); }
[data-theme="dark"] .video-caption { background: var(--navy-800); }
.video-caption strong { font-size: 1.05rem; } .video-caption > span:not(.eyebrow) { font-size: .8rem; color: var(--text-dim); }
.video-caption .btn { margin-top: .8rem; align-self: flex-start; }
.video-card .modal-close { background: rgba(0, 0, 0, .55); color: #fff; }
.t-video { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 1; pointer-events: none; background: var(--orange); color: #fff; padding: .4rem .8rem; border-radius: 999px; font-size: .68rem; font-weight: 800; white-space: nowrap; display: inline-flex; gap: .3rem; align-items: center; }
.t-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.t-tags span { font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; background: var(--orange-soft); color: var(--orange); }
.t-quote { font-size: 1.05rem; line-height: 1.7; color: var(--text); font-style: italic; }
.t-quote.is-short { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.t-more { color: var(--orange); font-weight: 700; font-size: .85rem; margin-top: .4rem; }
.t-name { font-weight: 800; }
.t-role { font-size: .8rem; color: var(--text-dim); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border-strong); display: grid; place-items: center; z-index: 2; transition: .2s; }
.carousel-btn:hover { border-color: var(--orange); color: var(--orange); }
.carousel-btn.prev { left: 0; } .carousel-btn.next { right: 0; }
.carousel-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.2rem; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); transition: .2s; }
.carousel-dots button.is-active { background: var(--orange); width: 28px; border-radius: 999px; }

/* ---------- Tarifas ---------- */
.profile-tabs { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.profile-tab { padding: .8rem 1.3rem; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface); font-weight: 700; font-size: .85rem; text-align: left; transition: .2s; }
.profile-tab small { display: block; font-weight: 500; color: var(--text-dim); font-size: .75rem; }
.profile-tab.is-active { border-color: var(--orange); background: var(--orange-soft); color: var(--orange); }
.pricing-note { text-align: center; font-size: .75rem; letter-spacing: .1em; font-weight: 800; color: var(--text-dim); margin-bottom: 2rem; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.is-popular { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), var(--shadow); transform: scale(1.02); }
.plan .badge { left: 50%; right: auto; transform: translateX(-50%); top: -12px; }
.plan h3 { margin-bottom: .2rem; }
.plan .sub { font-size: .85rem; color: var(--text-dim); margin-bottom: 1rem; }
.price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: 1; margin: .5rem 0 1rem; }
.price small { font-size: 1rem; color: var(--text-dim); font-weight: 500; }
.plan-includes { font-size: .68rem; letter-spacing: .1em; font-weight: 800; color: var(--text-dim); margin-bottom: .6rem; }
.plan .card-list { margin-bottom: 1.5rem; font-weight: 500; font-size: .87rem; }
.plan .card-list li { align-items: flex-start; }
.plan .card-list svg { margin-top: .25rem; }
.plan .btn { margin-top: auto; }
.pricing-foot { text-align: center; margin-top: 2rem; color: var(--text-muted); font-size: .95rem; }

/* ---------- Formulario lead ---------- */
.lead-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.lead-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.lead-copy p { color: var(--text-muted); }
.lead-bullets { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: .7rem; font-weight: 600; }
.lead-bullets li { display: flex; gap: .6rem; align-items: center; }
.lead-bullets svg { color: #22c55e; }
.lead-guarantee { display: flex; gap: .6rem; align-items: flex-start; font-size: .8rem; color: var(--text-dim); padding: 1rem; border-radius: 12px; border: 1px dashed var(--border-strong); }
.lead-form { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow); position: relative; }
.form-progress { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.form-progress-bar { height: 100%; width: 33%; background: linear-gradient(90deg, var(--orange), #fb923c); transition: width .4s; }
.form-steps-label { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 700; color: var(--text-dim); margin: .6rem 0 1.4rem; letter-spacing: .05em; text-transform: uppercase; }
.form-step { border: 0; padding: 0; margin: 0; display: none; animation: fadeIn .3s; }
.form-step.is-active { display: block; }
legend { font-weight: 700; font-size: 1rem; margin-bottom: .8rem; padding: 0; }
legend.mt { margin-top: 1.4rem; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.radio-cards label { position: relative; cursor: pointer; }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards span { display: block; padding: .9rem 1rem; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface-2); font-size: .82rem; color: var(--text-muted); transition: .2s; height: 100%; }
.radio-cards strong { display: block; color: var(--text); margin-bottom: .2rem; }
.radio-cards em { display: block; font-style: normal; font-size: .7rem; color: #22c55e; font-weight: 700; }
.radio-cards input:checked + span { border-color: var(--orange); background: var(--orange-soft); color: var(--text); box-shadow: 0 0 0 1px var(--orange); }
.radio-cards input:focus-visible + span { outline: 2px solid var(--orange); }
.radio-cards.compact span { font-weight: 600; }
.chips-select { display: flex; flex-wrap: wrap; gap: .5rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: .4rem; color: var(--text-muted); }
input[type="text"], input[type="tel"], input[type="email"], input[type="password"], textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface-2);
  color: var(--text); font: inherit; transition: .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
input.is-invalid { border-color: #ef4444; }
textarea { resize: vertical; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .8rem; color: var(--text-muted); margin: .5rem 0 1rem; cursor: pointer; }
.consent input { margin-top: .25rem; accent-color: var(--orange); }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.form-error { color: #ef4444; font-size: .85rem; font-weight: 600; margin-top: .8rem; }
.form-foot { font-size: .72rem; color: var(--text-dim); display: flex; gap: .4rem; align-items: center; margin: 1.2rem 0 0; }
.form-result { animation: fadeIn .4s; }
.result-score { display: flex; gap: 1.2rem; align-items: center; padding: 1.2rem; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); margin: 1rem 0; }
.result-score .ring { width: 84px; height: 84px; }
.result-score .ring span { font-size: 1.1rem; }
.result-score h4 { margin: 0 0 .2rem; font-size: 1.1rem; }
.result-score p { margin: 0; font-size: .85rem; color: var(--text-muted); }
.result-actions { display: flex; flex-direction: column; gap: .7rem; margin-top: 1rem; }
.result-note { font-size: .75rem; color: var(--text-dim); margin-top: 1rem; }

/* ---------- Lead magnet ---------- */
.magnet { display: grid; grid-template-columns: auto 1.2fr .8fr; gap: 2rem; align-items: center; padding: 2.5rem; border-radius: 24px; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); border: 1px solid rgba(242, 104, 34, .35); color: #fff; }
.magnet .eyebrow { color: #fb923c; }
.magnet h2 { font-size: 1.6rem; }
.magnet p { color: #b6c2d3; margin: 0; }
.magnet-icon { width: 72px; height: 72px; border-radius: 20px; background: rgba(242, 104, 34, .2); color: var(--orange); display: grid; place-items: center; }
.magnet-icon svg { width: 36px; height: 36px; }
.magnet-form { display: flex; flex-direction: column; gap: .7rem; }
.magnet-form input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.magnet-form small { color: #7d8ca1; font-size: .72rem; }
.magnet-success { padding: 1rem; border-radius: 12px; background: rgba(34, 197, 94, .15); border: 1px solid rgba(34, 197, 94, .4); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: .7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.faq-item.is-open { border-color: var(--orange); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem; font-weight: 700; font-size: .97rem; }
.faq-q svg { transition: transform .3s; color: var(--orange); }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--text-muted); font-size: .93rem; }

/* ---------- Stats + about ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 4rem; }
.stat { text-align: center; padding: 1.6rem 1rem; }
.stat .num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--orange); line-height: 1; }
.stat .lbl { font-size: .72rem; font-weight: 800; letter-spacing: .1em; margin: .6rem 0 .3rem; }
.stat .sub { font-size: .8rem; color: var(--text-dim); margin: 0; }
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: 24px; aspect-ratio: 3/4; object-fit: cover; box-shadow: var(--shadow); }
.about-badge { position: absolute; left: 1rem; bottom: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: .7rem 1rem; }
.about-badge strong { display: block; }
.about-badge span { font-size: .68rem; letter-spacing: .1em; color: var(--orange); font-weight: 800; }
.about-copy p { color: var(--text-muted); }
.about-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; font-weight: 700; font-size: .85rem; margin-top: 1rem; }
.about-meta > * { display: inline-flex; align-items: center; gap: .4rem; }
.about-meta svg { color: var(--orange); }

/* ---------- CTA final ---------- */
.cta-final { background: radial-gradient(70% 80% at 50% 100%, rgba(242, 104, 34, .18), transparent 70%), var(--bg-alt); }
.cta-inner { text-align: center; max-width: 820px; }
.cta-inner p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b6c2d3; padding: 3.5rem 0 1.5rem; border-top: 1px solid rgba(148, 163, 184, .16); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-logo { width: 220px; margin-bottom: 1rem; }
.footer-logo svg { width: 100%; height: auto; --logo-fg: #fff; }
.footer-brand p { font-size: .88rem; }
.site-footer h4 { color: #fff; font-size: .72rem; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; font-size: .88rem; }
.site-footer a:hover { color: var(--orange); }
.footer-support li { display: flex; gap: .5rem; align-items: center; }
.footer-support svg { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(148, 163, 184, .16); font-size: .78rem; }
.footer-bottom .link-btn { color: #b6c2d3; font-weight: 500; }

/* ---------- Flotantes ---------- */
.wa-float { position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; }
.wa-bubble { width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37, 211, 102, .45); position: relative; transition: transform .2s; animation: bob 3s ease-in-out infinite; }
.wa-bubble:hover { transform: scale(1.08); }
.wa-bubble svg { width: 32px; height: 32px; }
.wa-online { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.wa-tooltip { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); border-radius: 14px; padding: .8rem 2.2rem .8rem 1rem; font-size: .82rem; max-width: 260px; box-shadow: var(--shadow); position: relative; animation: fadeIn .3s; }
.wa-tooltip strong { display: block; color: var(--orange); }
.wa-tooltip-close { position: absolute; top: .3rem; right: .5rem; font-size: 1.1rem; color: var(--text-dim); }
.mobile-bar { display: none; }

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 8, 20, .75); backdrop-filter: blur(4px); }
.modal-card { position: relative; width: min(620px, 100%); max-height: 92vh; overflow: auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 24px; box-shadow: var(--shadow); animation: modalIn .3s; }
[data-theme="dark"] .modal-card { background: var(--navy-800); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: .9rem; right: .9rem; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; z-index: 2; }
.modal-body { padding: 2.2rem; }
.modal-body h3 { font-size: 1.5rem; }
.quiz-progress { display: flex; gap: .4rem; margin-bottom: 1.5rem; }
.quiz-progress span { flex: 1; height: 5px; border-radius: 999px; background: var(--surface-2); }
.quiz-progress span.is-done { background: var(--orange); }
.quiz-options { display: flex; flex-direction: column; gap: .6rem; margin: 1.2rem 0; }
.quiz-opt { text-align: left; padding: 1rem 1.1rem; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface-2); font-weight: 600; transition: .15s; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.quiz-opt:hover { border-color: var(--orange); transform: translateX(4px); }
.quiz-opt small { display: block; font-weight: 400; color: var(--text-dim); font-size: .8rem; }
.quiz-result-badge { display: inline-flex; gap: .5rem; align-items: center; padding: .5rem 1rem; border-radius: 999px; background: rgba(34, 197, 94, .12); color: #22c55e; font-weight: 800; font-size: .8rem; margin-bottom: 1rem; }
.quiz-result-badge.warn { background: rgba(245, 158, 11, .12); color: #f59e0b; }
.exit-card { max-width: 520px; text-align: center; }
.exit-card .hero-ctas { justify-content: center; }
.privacy-body h3 { margin-bottom: 1rem; }
.privacy-body h4 { font-size: .95rem; margin: 1.2rem 0 .4rem; }
.privacy-body p, .privacy-body li { font-size: .88rem; color: var(--text-muted); }
.privacy-body .legal-box { padding: 1rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: .85rem; }

.toast { position: fixed; left: 50%; bottom: 6rem; transform: translateX(-50%); background: var(--navy-700); color: #fff; padding: .9rem 1.3rem; border-radius: 12px; box-shadow: var(--shadow); z-index: 300; font-size: .9rem; font-weight: 600; border: 1px solid rgba(242, 104, 34, .4); animation: fadeIn .3s; max-width: min(420px, 90vw); }

/* ---------- Dejar mis datos ---------- */
.callback-context { background: var(--orange-soft); border-left: 3px solid var(--orange); padding: .7rem 1rem; border-radius: 8px; font-size: .88rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.callback-context strong { color: var(--text); }
.field-hint { font-size: .78rem; color: var(--text-dim); margin: -.4rem 0 .8rem; }
.callback-ok { text-align: center; padding: 1rem 0; }
.callback-ok .ok-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(34, 197, 94, .15); color: #22c55e; display: grid; place-items: center; margin: 0 auto 1rem; }
.callback-ok .ok-icon svg { width: 30px; height: 30px; }

/* ---------- Cookies ---------- */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150; display: flex; justify-content: center; animation: fadeIn .4s; }
.cookie-inner { width: min(860px, 100%); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: var(--shadow); padding: 1.1rem 1.3rem; display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
[data-theme="dark"] .cookie-inner { background: var(--navy-800); }
.cookie-text { flex: 1 1 380px; font-size: .85rem; color: var(--text-muted); }
.cookie-text strong { display: block; color: var(--text); margin-bottom: .2rem; }
.cookie-text p { margin: 0; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
@media (max-width: 640px) { .cookie-banner { bottom: 4.6rem; left: .5rem; right: .5rem; } .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; } .wa-float.has-banner { display: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav .nav-link { font-size: .78rem; padding-inline: .5rem; }
  .header-cta { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .assistant, .lead-grid, .faq-grid, .about { grid-template-columns: 1fr; }
  .pillars-grid, .services-grid, .plans-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .magnet { grid-template-columns: 1fr; text-align: center; }
  .magnet-icon { margin-inline: auto; }
  .plan.is-popular { transform: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: 74px; left: 0; right: 0; bottom: 0; background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 1.2rem; gap: .3rem; transform: translateX(100%); transition: transform .3s; overflow: auto; z-index: 99;
  }
  .main-nav.is-open { transform: none; }
  .nav-link { font-size: 1.05rem; padding: .9rem 1rem; border-bottom: 1px solid var(--border); }
  .nav-link.is-active { border-bottom: 1px solid var(--border); border-left: 3px solid var(--orange); }
  .nav-mobile-cta { display: block; margin-top: 1rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .container { width: min(1200px, 100% - 1.6rem); }
  .btn { white-space: normal; }
  .hero-grid > *, .lead-grid > *, .faq-grid > *, .about > *, .assistant > *, .magnet > *, .t-card > * { min-width: 0; }
  .eyebrow-pill { white-space: normal; text-align: left; }
  .trust-inner { justify-content: flex-start; }
  .pillars-grid, .services-grid, .plans-grid, .radio-cards, .footer-grid { grid-template-columns: 1fr; }
  .hero-checks { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .t-card { grid-template-columns: 1fr; padding: 1.4rem; }
  .t-photo { max-width: 220px; margin: 0 auto 1rem; }
  .carousel { padding: 0; }
  .carousel-btn { display: none; }
  .identity-card, .lead-form, .modal-body { padding: 1.3rem; }
  .assistant-right { padding: 1.2rem; }
  .logo { height: 44px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1.3fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: var(--header-bg); backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding: .5rem;
    gap: .4rem;
  }
  .mobile-bar > * { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem .5rem; border-radius: 10px; font-weight: 700; font-size: .8rem; background: var(--surface-2); }
  .mobile-bar .wa { background: var(--wa); color: #fff; }
  .wa-float { bottom: 5.2rem; right: .9rem; }
  .wa-tooltip { display: none !important; }
  body { padding-bottom: 68px; }
  .toast { bottom: 5.5rem; }
  .section-head { margin-bottom: 2rem; }
}
