/* NeuroAds v2 — sistema visual a partir del hero Neural Noise.
   Base: negro profundo + cian del logo (#2EE6E6). Títulos Unbounded, texto Manrope. */

/* ---------- Fuentes propias (servidas desde el sitio, solo caracteres latinos) ----------
   Los respaldos "Fallback" son Arial ajustada a las medidas de cada fuente, para que el texto
   no cambie de tamaño (ni "salte" la página) cuando llega la fuente final. */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700 800; font-display: swap; src: url('/fonts/unbounded-latin.woff2?v=2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/manrope-latin.woff2?v=2') format('woff2'); }
@font-face { font-family: 'Unbounded Fallback'; src: local('Arial Black'), local('ArialBlack'); size-adjust: 116.2%; ascent-override: 85.6%; descent-override: 21.1%; line-gap-override: 0%; }
@font-face { font-family: 'Unbounded Fallback Bold'; font-weight: 700 900; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Roboto Bold'), local('Roboto-Bold'); size-adjust: 133.3%; ascent-override: 74.6%; descent-override: 18.4%; line-gap-override: 0%; }
@font-face { font-family: 'Manrope Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Roboto'), local('Helvetica'); size-adjust: 102.4%; ascent-override: 104.1%; descent-override: 29.3%; line-gap-override: 0%; }

:root {
    --bg: #05070A;
    --surface: #0B1116;
    --surface-2: #101A20;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #E8EEF2;
    --text-soft: #B4C0C8;
    --muted: #93A1AA;
    --white: #FFFFFF;
    --cyan: #2EE6E6;
    --cyan-soft: rgba(46, 230, 230, 0.14);
    --cyan-line: rgba(46, 230, 230, 0.35);
    --blue: #297AFF;
    --ink-on-cyan: #031314;
    --radius: 20px;
    --radius-lg: 28px;
    --wrap: 1240px;
    --font-display: 'Unbounded', 'Unbounded Fallback', 'Unbounded Fallback Bold', system-ui, sans-serif;
    --font-body: 'Manrope', 'Manrope Fallback', system-ui, sans-serif;
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: var(--cyan); }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--cyan); color: var(--ink-on-cyan); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.accent { color: var(--cyan); }

/* ---------- Botones ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 16px 28px; border-radius: 14px;
    font-family: var(--font-body); font-weight: 800; font-size: 16px; line-height: 1.2;
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: transform 0.2s var(--ease-out), background-color 0.2s, border-color 0.2s, box-shadow 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }

.btn-primary { background: var(--cyan); color: var(--ink-on-cyan); box-shadow: 0 0 0 0 rgba(46, 230, 230, 0.4); }
.btn-primary:hover { box-shadow: 0 0 32px 4px rgba(46, 230, 230, 0.35); }

.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--white); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cyan); }

.btn-block { width: 100%; }

/* ---------- Navegación ---------- */

.site-nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    transition: background-color 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
    background: rgba(5, 7, 10, 0.82);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--white); }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-soft); text-decoration: none; font-weight: 600; font-size: 15px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-cta { min-height: 44px; padding: 10px 20px; font-size: 15px; border-radius: 999px; }

.hamburger {
    display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong);
    background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.hamburger svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
    .hamburger { display: inline-flex; }
    .nav-cta { display: none; }
    .nav-links {
        position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
        background: rgba(5, 7, 10, 0.97); border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity 0.2s, transform 0.2s var(--ease-out), visibility 0s 0.2s;
    }
    .nav-links.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity 0.2s, transform 0.2s var(--ease-out); }
    .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
    .nav-links .btn { margin-top: 16px; border-bottom: 0; }
}
@media (min-width: 1081px) { .nav-links .btn { display: none; } }

/* ---------- Hero Neural Noise ---------- */

.hero {
    position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
    background: radial-gradient(ellipse 60% 55% at 72% 50%, rgba(46, 230, 230, 0.12), transparent 70%), var(--bg);
    isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, transparent, var(--bg));
}
.hero-inner { padding-top: 140px; padding-bottom: 110px; width: 100%; }
.hero-content { max-width: 760px; display: flex; flex-direction: column; gap: 28px; }

.eyebrow {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid var(--cyan-line); background: rgba(5, 7, 10, 0.5); color: var(--cyan);
    font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
    padding: 8px 14px; border-radius: 999px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: latido 2.4s ease-in-out infinite; }
@keyframes latido { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.hero h1 {
    margin: 0; font-family: var(--font-display); font-weight: 800;
    font-size: clamp(38px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.035em; color: var(--white);
    text-shadow: 0 4px 40px rgba(5, 7, 10, 0.6);
}
.hero-sub { margin: 0; font-size: clamp(18px, 1.6vw, 21px); color: var(--text-soft); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.hero-proof strong { color: var(--white); }
.hero-hint {
    position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
    font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-hint svg { width: 14px; height: 18px; animation: bajar 1.6s ease-in-out infinite; }
@keyframes bajar { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(5px); opacity: 1; } }
@media (hover: none) { .hero-hint .hint-desktop { display: none; } }
@media (hover: hover) { .hero-hint .hint-touch { display: none; } }

/* ---------- Franja de herramientas ---------- */

.tools-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tools-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 24px; padding-bottom: 24px; }
.tools-strip p { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tools-strip ul { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding: 0; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text-soft); }

/* ---------- Secciones ---------- */

.section { padding: 120px 0 40px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 52px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2, .h2 {
    margin: 0; font-family: var(--font-display); font-weight: 700;
    font-size: clamp(30px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.03em; color: var(--white); max-width: 760px;
}
.section-head p { margin: 0; color: var(--text-soft); max-width: 440px; }
.section-head.center p { max-width: 600px; }
.kicker { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }

.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
    display: flex; flex-direction: column; gap: 12px;
    transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.card h3 { margin: 0; font-size: 21px; font-weight: 700; color: var(--white); line-height: 1.3; }
.card p { margin: 0; font-size: 15.5px; color: var(--muted); }
@media (hover: hover) { .card-hover:hover { transform: translateY(-6px); border-color: var(--cyan-line); } }

.icon-badge {
    width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--cyan-soft); color: var(--cyan); border: 1px solid var(--cyan-line);
}
.icon-badge svg { width: 24px; height: 24px; }
.card-num { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--cyan); }

/* ---------- Problema ---------- */

.problem-card .icon-badge { background: rgba(255, 107, 107, 0.1); border-color: rgba(255, 107, 107, 0.3); color: #FF8A8A; }

/* ---------- Portafolio ---------- */

.showcase {
    position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden;
    background: radial-gradient(ellipse 70% 80% at 85% 50%, rgba(46, 230, 230, 0.16), transparent 65%), var(--surface);
    display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: clamp(32px, 5vw, 64px);
}
.showcase-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.showcase-text p { margin: 0; color: var(--text-soft); }
.phones { flex: 1 1 460px; min-width: 0; display: flex; justify-content: center; align-items: flex-end; gap: 0; padding: 20px 0; }
.phone {
    width: 34%; max-width: 210px; border-radius: 28px; border: 6px solid #1C252C; background: #1C252C; overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); position: relative;
}
.phone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border-radius: 22px; }
.phone figcaption {
    position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap;
    background: rgba(5, 7, 10, 0.85); color: var(--white); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.phone-side { transform: translateY(-10px) rotate(-6deg); margin-right: -4%; }
.phone-side:last-child { transform: translateY(-10px) rotate(6deg); margin-left: -4%; margin-right: 0; }
.phone-main { transform: translateY(-30px); z-index: 2; border-color: var(--cyan); }

/* ---------- Planes ---------- */

.plans-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.plan { gap: 16px; padding: 32px; }
.plan-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 2.6vw, 34px); white-space: nowrap; color: var(--white); letter-spacing: -0.02em; line-height: 1.1; }
.plan-price small { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-soft); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; color: var(--cyan); }
.plan .btn { margin-top: auto; }
.plan-featured { border: 1.5px solid var(--cyan); background: linear-gradient(180deg, #0F2A2C, var(--surface) 55%); position: relative; }
.plan-tag {
    position: absolute; top: -13px; left: 28px; background: var(--cyan); color: var(--ink-on-cyan);
    font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.plans-note { margin: 28px 0 0; text-align: center; color: var(--text-soft); }
.plans-note strong { color: var(--white); }

/* ---------- Proceso ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: paso; }
.step { border-top: 2px solid var(--cyan); padding-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.step-day { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.step h3 { margin: 0; font-size: 21px; color: var(--white); }
.step p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ---------- Equipo ---------- */

.team { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.team-photo { flex: 1 1 380px; min-width: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.team-photo img { width: 100%; }
.team-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.member h3 { margin: 0; font-family: var(--font-display); font-size: 24px; color: var(--white); }
.member .role { display: block; margin: 4px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.member p { margin: 0; color: var(--text-soft); }

/* ---------- Preguntas frecuentes ---------- */

.faq { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--cyan-line); }
.faq summary {
    list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-weight: 700; font-size: 18px; color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--cyan); transition: transform 0.25s var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--text-soft); }

/* ---------- Formulario ---------- */

.lead {
    border-radius: var(--radius-lg); border: 1px solid var(--cyan-line); overflow: hidden;
    background: radial-gradient(ellipse 70% 90% at 0% 0%, rgba(46, 230, 230, 0.2), transparent 60%), var(--surface);
    display: flex; flex-wrap: wrap; gap: 40px; padding: clamp(28px, 5vw, 64px);
}
.lead-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lead-text p { margin: 0; color: var(--text-soft); }
.lead-text ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.lead-text li { display: flex; gap: 12px; align-items: center; color: var(--text); font-weight: 600; }
.lead-text li svg { width: 22px; height: 22px; color: var(--cyan); flex: 0 0 auto; }
.lead-form { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--text-soft); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-strong);
    background: rgba(5, 7, 10, 0.6); color: var(--white); font: inherit; font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select option { background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: #6F7E88; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
.form-legal { margin: 0; font-size: 13px; color: var(--muted); }
.form-feedback { display: none; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.form-feedback.success { display: block; background: rgba(46, 230, 230, 0.12); color: var(--cyan); border: 1px solid var(--cyan-line); }
.form-feedback.error { display: block; background: rgba(255, 107, 107, 0.1); color: #FF9B9B; border: 1px solid rgba(255, 107, 107, 0.35); }

/* ---------- Pie de página ---------- */

.footer { margin-top: 120px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 40px; padding-top: 64px; padding-bottom: 48px; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin: 16px 0 0; color: var(--muted); font-size: 15px; max-width: 340px; }
.footer h3 { margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); }
.footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--text-soft); text-decoration: none; font-size: 15px; }
.footer a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0; font-size: 14px; color: var(--muted); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- WhatsApp flotante ---------- */

.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); transition: transform 0.2s var(--ease-out);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Aparición al hacer scroll ---------- */
/* Solo se oculta si el JS está activo; si falla, todo queda visible. */

.js-reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js-reveal [data-reveal] { opacity: 1; transform: none; }
}

/* En celular los pies de foto de los teléfonos laterales no caben. */
@media (max-width: 560px) {
    .phone-side figcaption { display: none; }
    .phone figcaption { font-size: 11px; padding: 5px 10px; }
}

/* =====================================================================
   Embudo de ventas
   ===================================================================== */

.section-tight { padding-top: 72px; }
.h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.02em; color: var(--white); }

/* Calificación en el hero */
.hero-proof { align-items: center; }
.rating { display: inline-flex; align-items: center; gap: 10px; color: var(--text-soft); text-decoration: none; padding: 6px 12px 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(5, 7, 10, 0.5); }
.rating:hover { border-color: var(--cyan-line); }
.stars { color: #FFD166; letter-spacing: 2px; font-size: 15px; }

/* Autodiagnóstico */
.quiz { max-width: 920px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); }
.quiz-list { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.quiz-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); counter-increment: q; }
.quiz-q { flex: 1 1 360px; font-size: 18px; font-weight: 600; color: var(--white); }
.quiz-q::before { content: counter(q) ". "; color: var(--cyan); font-weight: 800; }
.quiz-opts { display: flex; gap: 10px; }
.quiz-btn {
    min-width: 80px; min-height: 46px; padding: 10px 18px; border-radius: 12px; cursor: pointer;
    font: inherit; font-weight: 800; font-size: 16px; color: var(--text); background: transparent; border: 1px solid var(--line-strong);
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s var(--ease-out);
}
.quiz-btn:active { transform: scale(0.96); }
@media (hover: hover) { .quiz-btn:hover { border-color: var(--cyan-line); } }
.quiz-btn[data-val="si"][aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--ink-on-cyan); }
.quiz-btn[data-val="no"][aria-pressed="true"] { background: rgba(255, 107, 107, 0.16); border-color: rgba(255, 107, 107, 0.55); color: #FFB3B3; }
.quiz-result {
    margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
    background: var(--cyan-soft); border: 1px solid var(--cyan-line); border-radius: 18px; padding: 22px 26px;
    transition: border-color 0.3s, background-color 0.3s;
}
.quiz-result > div { display: flex; flex-direction: column; gap: 4px; flex: 1 1 320px; }
.quiz-result strong { font-family: var(--font-display); font-size: 21px; color: var(--white); line-height: 1.25; }
.quiz-result span { color: var(--text-soft); }
.quiz-result.is-bad { background: rgba(255, 107, 107, 0.08); border-color: rgba(255, 107, 107, 0.4); }

/* La solución: el sistema */
.system { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.system-step { position: relative; padding: 32px; }
.system-num { position: absolute; top: 20px; right: 24px; font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; color: rgba(46, 230, 230, 0.16); }
.system-step-final { border: 1.5px solid var(--cyan); background: linear-gradient(180deg, #0F2A2C, var(--surface) 70%); }

/* ¿Qué negocio tienes? */
.segment-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 24px; }
.segment-btn {
    min-height: 48px; padding: 12px 22px; border-radius: 999px; cursor: pointer;
    font: inherit; font-weight: 800; font-size: 16px; color: var(--text); background: transparent; border: 1px solid var(--line-strong);
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
@media (hover: hover) { .segment-btn:hover { border-color: var(--cyan-line); } }
.segment-btn[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--ink-on-cyan); }
.segment-card { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; background: var(--surface); border: 1px solid var(--cyan-line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.segment-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.segment-label { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.segment-text h3 { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 30px); color: var(--white); line-height: 1.15; }
.segment-text p { margin: 0; color: var(--text-soft); }
.segment-text ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.segment-text li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.segment-text li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--cyan); flex: 0 0 auto; }
.segment-cta { flex: 0 1 300px; display: flex; flex-direction: column; gap: 12px; }
.segment-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3vw, 38px); color: var(--white); white-space: nowrap; }
.segment-price small { font-family: var(--font-body); font-size: 15px; color: var(--muted); }
.segment-text, .segment-price { transition: opacity 0.2s, transform 0.25s var(--ease-out); }
.segment-card.is-swapping .segment-text, .segment-card.is-swapping .segment-price { opacity: 0; transform: translateY(6px); }

/* Más planes */
.more-plans { margin-top: 24px; }
.more-plans > summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 14px 20px; border-radius: 14px; border: 1px dashed var(--line-strong); color: var(--text-soft); font-weight: 700;
}
.more-plans > summary::-webkit-details-marker { display: none; }
.more-plans > summary svg { width: 20px; height: 20px; color: var(--cyan); transition: transform 0.25s var(--ease-out); }
.more-plans[open] > summary svg { transform: rotate(45deg); }
.more-plans[open] > summary { margin-bottom: 20px; border-color: var(--cyan-line); color: var(--white); }

/* Garantía */
.guarantee { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; max-width: 960px; margin: 0 auto; background: var(--surface); border: 1px solid rgba(255, 209, 102, 0.35); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.guarantee > div { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.guarantee p { margin: 0; color: var(--text-soft); }
.guarantee-seal { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 50%; border: 2px solid #FFD166; color: #FFD166; display: flex; align-items: center; justify-content: center; }
.guarantee-seal svg { width: 46px; height: 46px; }

/* Reseñas */
.reviews-band {
    display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; text-decoration: none;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px);
    transition: border-color 0.25s;
}
.reviews-band:hover { border-color: var(--cyan-line); }
.reviews-score { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 7vw, 84px); line-height: 1; color: var(--white); }
.reviews-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; color: var(--text-soft); }
.reviews-text strong { color: var(--white); font-size: 20px; }
.reviews-cta { color: var(--cyan); font-weight: 800; }
.card-link { color: inherit; text-decoration: none; }

/* Formulario en 2 pasos */
.form-progress { display: flex; gap: 8px; }
.form-progress span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.15); transition: background-color 0.3s; }
.form-progress span.is-on { background: var(--cyan); }
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.form-step[hidden] { display: none; }
.form-step legend { padding: 0; margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--muted); }
.btn-text { align-self: flex-start; min-height: 44px; padding: 8px 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; }
.btn-text:hover { color: var(--white); }
.form-done { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px; background: var(--cyan-soft); border: 1px solid var(--cyan-line); }
.form-done[hidden] { display: none; }
.form-done strong { font-family: var(--font-display); font-size: 22px; color: var(--white); }
.form-done p { margin: 0; color: var(--text-soft); }

/* Barra fija en celular */
.mobile-bar { display: none; }
.btn-wa { background: #25D366; color: #052E16; }
@media (max-width: 720px) {
    .mobile-bar {
        display: flex; gap: 10px; position: fixed; inset: auto 0 0 0; z-index: 45;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(5, 7, 10, 0.94);
        -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
        transform: translateY(110%); transition: transform 0.3s var(--ease-out);
    }
    .mobile-bar.is-visible { transform: none; }
    .mobile-bar .btn { flex: 1; min-height: 48px; padding: 12px; font-size: 15px; }
    .wa-float { display: none; }
    .footer-bottom { padding-bottom: 88px; }
}

/* Fondo de partículas fluidas: fijo detrás de todo el contenido; el hero lo tapa con su propio fondo. */
.page-particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* =====================================================================
   Tarjetas claras sobre el fondo oscuro de partículas
   Dentro de cada tarjeta se redefinen los colores: el texto pasa a oscuro y el
   acento cian pasa a un verde azulado más oscuro, que sí se lee sobre blanco.
   ===================================================================== */

.card,
.quiz,
.segment-card,
.guarantee,
.reviews-band,
.faq details {
    --white: #0A1418;
    --text: #1C2A30;
    --text-soft: #3E4F57;
    --muted: #55656D;
    --cyan: #00838A;
    --ink-on-cyan: #FFFFFF;
    --cyan-soft: rgba(0, 131, 138, 0.10);
    --cyan-line: rgba(0, 131, 138, 0.38);
    --line: rgba(10, 20, 24, 0.10);
    --line-strong: rgba(10, 20, 24, 0.22);
    background: #F3F7F8;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.75);
}

/* Botón secundario dentro de una tarjeta clara */
.card .btn-ghost, .segment-card .btn-ghost, .quiz .btn-ghost { background: #FFFFFF; color: #0A1418; border-color: rgba(10, 20, 24, 0.22); }
.card .btn-ghost:hover, .segment-card .btn-ghost:hover { border-color: #00838A; }
.card .btn-primary:hover, .segment-card .btn-primary:hover, .quiz .btn-primary:hover { box-shadow: 0 10px 24px -8px rgba(0, 131, 138, 0.55); }

/* Plan destacado y paso final del sistema: tinte cian claro */
.plan-featured, .system-step-final {
    background: linear-gradient(180deg, #DDF8F8, #F3F7F8 60%);
    border: 2px solid #2EE6E6;
    box-shadow: 0 0 0 6px rgba(46, 230, 230, 0.14), 0 24px 48px -28px rgba(0, 0, 0, 0.75);
}
.system-num { color: rgba(0, 131, 138, 0.16); }

/* Tarjetas del problema: acento rojizo legible sobre claro */
.problem-card .icon-badge { background: #FDECE7; border-color: #F5B8A6; color: #B93815; }

/* Autodiagnóstico */
.quiz-btn { background: #FFFFFF; }
.quiz-btn[data-val="no"][aria-pressed="true"] { background: #FDECEA; border-color: #E8A39B; color: #A3261A; }
.quiz-result.is-bad { background: #FDECEA; border-color: #E8A39B; }

/* Garantía y reseñas */
.guarantee { border: 1px solid rgba(255, 209, 102, 0.6); }
.guarantee-seal { border-color: #C98A00; color: #A86F00; background: #FFF6DC; }
.card .stars, .reviews-band .stars { color: #D99A00; }
.reviews-band:hover { border-color: #2EE6E6; }

/* Preguntas frecuentes */
.faq details[open] { border-color: #2EE6E6; }

/* Tarjetas con borde al pasar el mouse */
@media (hover: hover) { .card-hover:hover { border-color: #2EE6E6; } }

/* =====================================================================
   Pulido de diseño (taste): jerarquía, asimetría y micro-interacciones
   ===================================================================== */

/* El H1 no necesita gritar: la jerarquía la dan el peso y el color. */
.hero h1 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.04; }

/* Botón principal: sin halo de luz; sombra teñida + filo interior, y empuje físico al tocar. */
.btn { transform: translate(var(--mx, 0px), var(--my, 0px)); transition: transform 0.35s var(--ease-out), background-color 0.2s, border-color 0.2s, box-shadow 0.3s; }
.btn:active { transform: translate(var(--mx, 0px), calc(var(--my, 0px) + 1px)) scale(0.98); }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 22px -14px rgba(46, 230, 230, 0.7); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 16px 30px -16px rgba(46, 230, 230, 0.85); }
.btn-ghost { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.eyebrow-dot { box-shadow: none; }

/* Plan destacado y cierre del sistema: sin anillo brillante. */
.plan-featured, .system-step-final { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 28px 56px -30px rgba(0, 0, 0, 0.85); }

/* Aparición escalonada: cada bloque entra un poco después que el anterior. */
.js-reveal [data-reveal] { transition-delay: calc(min(var(--i, 0), 6) * 70ms); }

/* ---------- Diseño dividido: título fijo a la izquierda, contenido a la derecha ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.split-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 0; position: sticky; top: 112px; }
.split-head .kicker { margin-bottom: 0; }
.split-head .btn { margin-top: 8px; }
.split .quiz, .split .faq { max-width: none; margin: 0; }
@media (max-width: 960px) {
    .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .split-head { position: static; }
}

/* ---------- La solución: dos pasos arriba y el cierre a lo ancho ---------- */
.system { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.system-step-final { grid-column: 1 / -1; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 36px 40px; }
.system-final-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.system-step-final .system-num { font-size: 88px; top: 16px; right: 32px; }
.system-step-final h3 { font-size: 26px; }
@media (max-width: 720px) {
    .system { grid-template-columns: minmax(0, 1fr); }
    .system-step-final { padding: 28px; }
    .system-step-final .btn { width: 100%; }
}

/* ---------- Planes: el del medio más ancho y adelantado ---------- */
@media (min-width: 1081px) {
    #planes > .wrap > .plans-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr) minmax(0, 1fr); align-items: start; }
    #planes > .wrap > .plans-grid > .plan:not(.plan-featured) { margin-top: 28px; }
    #planes > .wrap > .plans-grid > .plan-featured { padding: 40px 36px; }
}

/* ---------- Servicios: mosaico asimétrico ---------- */
#servicios .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#servicios .grid > .card:nth-child(1),
#servicios .grid > .card:nth-child(6),
#servicios .grid > .card:nth-child(7),
#servicios .grid > .card:nth-child(8) { grid-column: span 2; }
#servicios .grid > .card:nth-child(1) { background-color: #FFFFFF; }
#servicios .grid > .card:nth-child(1) h3 { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; }
@media (max-width: 1080px) {
    #servicios .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #servicios .grid > .card:nth-child(n) { grid-column: auto; }
    #servicios .grid > .card:nth-child(1) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    #servicios .grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Borde iluminado bajo el cursor en tarjetas claras ---------- */
@media (hover: hover) {
    .card-hover, .plan:not(.plan-featured) {
        background-image: radial-gradient(360px circle at var(--sx, -400px) var(--sy, -400px), rgba(46, 230, 230, 0.16), transparent 45%);
    }
    .plan-featured {
        background-image: radial-gradient(360px circle at var(--sx, -400px) var(--sy, -400px), rgba(46, 230, 230, 0.2), transparent 45%), linear-gradient(180deg, #DDF8F8, #F3F7F8 60%);
    }
}

/* ---------- Ayuda y errores del formulario ---------- */
.field { gap: 8px; }
.field-help { margin: 0; font-size: 13px; color: var(--muted); }
.field-error { margin: 0; font-size: 13.5px; font-weight: 700; color: #FF9B9B; }
.field-error[hidden] { display: none; }
.field input[aria-invalid="true"] { border-color: #FF8A8A; box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.16); }

@media (min-width: 900px) { .system-step-final .system-num { right: 290px; } }

/* =====================================================================
   Páginas internas (servicios, blog, artículos y cotizador)
   ===================================================================== */

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 820px; }
.container-md { max-width: 1040px; }
.highlight { color: var(--cyan); }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Ruta de navegación */
.breadcrumb { padding-top: 104px; font-size: 14px; color: var(--muted); }
.breadcrumb .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--text-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }

/* Encabezado con Neural Noise */
section.hero-inner {
    position: relative; overflow: hidden; isolation: isolate; padding: 48px 0 104px;
    background: radial-gradient(ellipse 55% 70% at 80% 40%, rgba(46, 230, 230, 0.12), transparent 70%);
}
section.hero-inner::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent, var(--bg)); }
section.hero-inner > .container { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
section.hero-inner h1 { margin: 0; max-width: 900px; font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.035em; color: var(--white); text-shadow: 0 4px 40px rgba(5, 7, 10, 0.6); }
section.hero-inner p { margin: 0; max-width: 640px; font-size: clamp(17px, 1.5vw, 20px); color: var(--text-soft); }
.price-display { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 48px); color: var(--white); letter-spacing: -0.02em; line-height: 1; }
.price-display span { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--muted); }
section.hero-inner .price-note { font-size: 15px; color: var(--muted); margin-top: -10px; }

/* Encabezado de sección (formato anterior) */
.section-header { margin-bottom: 44px; }
.section-header h2 { margin: 0; max-width: 820px; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.03em; color: var(--white); }

/* Tarjetas de servicio */
.ideal-grid, .features-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 1081px) {
    .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .features-grid > .feature-card:first-child { grid-column: span 2; }
    .features-grid > .feature-card:first-child h3 { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; }
}

/* Lista de beneficios */
.checklist { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.checklist-item {
    display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px;
    border: 1px solid var(--line); background: rgba(11, 17, 22, 0.75); color: var(--text); font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.checklist-check { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--cyan); color: var(--ink-on-cyan); display: inline-flex; align-items: center; justify-content: center; }
.checklist-check svg { width: 16px; height: 16px; }

/* Llamado final */
.cta-banner { padding: 120px 0 0; }
.cta-banner > .container {
    max-width: calc(var(--wrap) - 48px); border-radius: var(--radius-lg); border: 1px solid var(--cyan-line);
    background: radial-gradient(ellipse 70% 100% at 0% 0%, rgba(46, 230, 230, 0.2), transparent 60%), var(--surface);
    padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.cta-banner h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 48px); line-height: 1.06; letter-spacing: -0.03em; color: var(--white); }
.cta-banner p { margin: 0; color: var(--text-soft); max-width: 600px; }

/* Botones del formato anterior */
.btn-whatsapp { background: var(--cyan); color: var(--ink-on-cyan); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 22px -14px rgba(46, 230, 230, 0.7); }
.btn-outline { background: #FFFFFF; color: #0A1418; border-color: rgba(10, 20, 24, 0.22); }
.btn-outline:hover { border-color: #00838A; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.blog-card { padding: 0; overflow: hidden; gap: 0; }
.blog-card-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #DDE5E8; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
@media (hover: hover) { .blog-card:hover .blog-card-image img { transform: scale(1.04); } }
.blog-category { position: absolute; top: 14px; left: 14px; background: rgba(5, 7, 10, 0.82); color: #FFFFFF; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.blog-card-content { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.blog-card h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.blog-card h3 a { color: var(--white); text-decoration: none; }
.blog-card h3 a:hover { color: var(--cyan); }
.btn-read-more { margin-top: auto; padding-top: 8px; color: var(--cyan); font-weight: 800; text-decoration: none; }
@media (min-width: 1081px) {
    .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .blog-grid > .blog-card:first-child { grid-column: span 2; flex-direction: row; }
    .blog-grid > .blog-card:first-child .blog-card-image { flex: 1 1 55%; aspect-ratio: auto; min-height: 320px; }
    .blog-grid > .blog-card:first-child .blog-card-content { flex: 1 1 45%; justify-content: center; padding: 36px; }
    .blog-grid > .blog-card:first-child h3 { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; }
}

/* ---------- Artículos ---------- */
.blog-article { padding-top: 120px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.article-meta .category { background: var(--cyan-soft); border: 1px solid var(--cyan-line); color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.article-meta .date { font-size: 14px; color: var(--muted); }
.article-header h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -0.03em; color: var(--white); }
.article-lead { margin: 20px 0 0; font-size: clamp(18px, 1.6vw, 21px); color: var(--text-soft); }
.article-hero-image { margin: 44px 0 52px; }
.article-hero-image img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); aspect-ratio: 16 / 8; object-fit: cover; }
.article-content { font-size: 18px; line-height: 1.75; color: var(--text-soft); }
.article-content > * { max-width: 70ch; }
.article-content h2 { margin: 56px 0 16px; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.02em; color: var(--white); }
.article-content h3 { margin: 36px 0 10px; font-size: 21px; line-height: 1.35; color: var(--white); }
.article-content p { margin: 0 0 20px; }
.article-content ul, .article-content ol { margin: 0 0 24px; padding-left: 24px; }
.article-content li { margin: 8px 0; }
.article-content li::marker { color: var(--cyan); }
.article-content strong { color: var(--white); }
.article-content a { color: var(--cyan); text-underline-offset: 3px; }
.article-content blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--cyan); color: var(--text); font-style: italic; }
.article-cta-box { margin: 56px 0 24px; padding: clamp(24px, 4vw, 40px); align-items: flex-start; }
.article-cta-box h3 { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.article-cta-box p { margin: 0; max-width: none; }
.article-cta-box .btn { margin-top: 6px; }

/* ---------- Cotizador ---------- */
.calculator-section { padding: 130px 0 40px; }
.calc-header.text-center { text-align: left; }
.calc-header h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -0.035em; color: var(--white); }
.calc-header p { margin: 16px 0 0; font-size: 19px; color: var(--text-soft); max-width: 620px; }
.calculator-card { margin-top: 36px; padding: clamp(22px, 4vw, 44px); }
.calc-progress-container { height: 6px; border-radius: 6px; background: rgba(10, 20, 24, 0.1); overflow: hidden; margin-bottom: 32px; }
.calc-progress-bar { height: 100%; width: 0%; background: #2EE6E6; transition: width 0.45s var(--ease-out); }
.calc-step { display: none; }
.calc-step.active { display: block; animation: paso 0.4s var(--ease-out); }
@keyframes paso { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.calc-step h2 { margin: 0 0 24px; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.3; color: var(--white); }
.options-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.option-card { position: relative; display: block; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-content {
    height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 16px;
    background: #FFFFFF; border: 1.5px solid rgba(10, 20, 24, 0.14);
    transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.option-content .icon-badge { width: 44px; height: 44px; }
.option-content h4 { margin: 4px 0 0; font-size: 17px; color: #0A1418; }
.option-content p { margin: 0; font-size: 14.5px; color: #55656D; }
@media (hover: hover) { .option-card:hover .option-content { border-color: #00838A; transform: translateY(-2px); } }
.option-card.selected .option-content { border-color: #2EE6E6; background: #E3F8F8; box-shadow: 0 0 0 4px rgba(46, 230, 230, 0.18); }
.option-card input:focus-visible + .option-content { outline: 2px solid #00838A; outline-offset: 3px; }
.calc-footer { margin-top: 28px; display: flex; justify-content: flex-end; gap: 12px; }
.calc-footer.calc-split { justify-content: space-between; }
.result-step { padding: 8px 0; }
.result-step h2 { font-family: var(--font-display); }
.result-subtitle { margin: 0 0 24px; color: var(--text-soft); }
.price-box { margin: 0 auto 28px; max-width: 520px; padding: 28px; border-radius: 20px; background: #0B1116; color: #FFFFFF; text-align: center; }
.price-currency, .price-suffix { color: #B4C0C8; font-weight: 700; }
.price-amount { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 52px); color: #2EE6E6; line-height: 1.1; margin: 6px 0; }
.price-disclaimer { margin: 12px 0 0; font-size: 13px; color: #93A1AA; }
.lead-capture-box { max-width: 520px; margin: 0 auto; padding: 26px; border-radius: 18px; background: #FFFFFF; border: 1px solid rgba(10, 20, 24, 0.12); text-align: left; }
.lead-capture-box h3 { margin: 0 0 16px; font-size: 19px; color: #0A1418; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 14px; font-weight: 700; color: #3E4F57; }
.form-group input {
    min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(10, 20, 24, 0.22);
    background: #FFFFFF; color: #0A1418; font: inherit; font-size: 16px;
}
.form-group input:focus { outline: none; border-color: #00838A; box-shadow: 0 0 0 3px rgba(0, 131, 138, 0.16); }
#calcFeedback { display: block; margin: 10px 0 0; padding: 0; border: 0; background: none; color: #A3261A; font-size: 14px; font-weight: 700; }
#calcFeedback:empty { display: none; }
.btn-restart { margin-top: 18px; }

/* ---------- Página de enlaces (Instagram) ---------- */
.linktree-body { min-height: 100svh; display: flex; justify-content: center; }
.linktree-container { width: 100%; max-width: 480px; padding: 56px 20px 40px; display: flex; flex-direction: column; gap: 28px; }
.linktree-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.linktree-avatar { width: 104px; height: 104px; border-radius: 50%; border: 2px solid var(--cyan); object-fit: cover; }
.linktree-handle { margin: 6px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--white); }
.linktree-bio { margin: 0; color: var(--text-soft); max-width: 34ch; }
.linktree-rating { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-soft); font-size: 14px; font-weight: 700; background: rgba(5, 7, 10, 0.6); }
.linktree-links { display: flex; flex-direction: column; gap: 12px; }
.link-btn {
    display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 16px 20px; border-radius: 16px;
    background: #F3F7F8; color: #0A1418; font-weight: 800; font-size: 16px; text-decoration: none;
    box-shadow: 0 18px 36px -26px rgba(0, 0, 0, 0.9); transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.link-btn svg { width: 22px; height: 22px; flex: 0 0 auto; color: #00838A; }
.link-btn:active { transform: scale(0.98); }
@media (hover: hover) { .link-btn:hover { transform: translateY(-2px); } }
.link-btn-primary { background: var(--cyan); color: var(--ink-on-cyan); }
.link-btn-primary svg { color: var(--ink-on-cyan); }
.link-btn-wa { background: #25D366; color: #052E16; }
.link-btn-wa svg { color: #052E16; }
.linktree-footer { text-align: center; font-size: 13px; color: var(--muted); }
.linktree-footer p { margin: 0; }

/* Grilla de 6 características: la primera y la última más anchas, sin huecos. */
@media (min-width: 1081px) {
    .features-grid > .feature-card:nth-child(6):last-child { grid-column: span 2; }
}
/* Opciones del cotizador en 2 columnas */
.options-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

.result-step .price-disclaimer { margin: -10px auto 28px; max-width: 560px; color: var(--muted); }

/* Títulos de tarjetas del blog como h2 */
.blog-card h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.blog-card h2 a { color: var(--white); text-decoration: none; }
.blog-card h2 a:hover { color: var(--cyan); }
@media (min-width: 1081px) { .blog-grid > .blog-card:first-child h2 { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; } }

/* Página 404 */
.not-found { min-height: 100svh; padding-top: 150px; padding-bottom: 80px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.not-found h1 { margin: 0; max-width: 820px; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; color: var(--white); }
.not-found p { margin: 0; color: var(--text-soft); }
.not-found-links { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.not-found-links a { color: var(--cyan); font-weight: 700; text-decoration: none; }
.not-found-links a:hover { text-decoration: underline; }

/* Campo trampa contra robots: invisible para las personas */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal a { color: inherit; text-decoration: underline; }

/* El Neural Noise arranca después de la carga: entra con un fundido suave. */
.hero-canvas { opacity: 0; transition: opacity 0.9s ease; }

/* Recuadro de cierre de los artículos: tarjeta clara; los botones no heredan el color de los enlaces del texto */
.article-content .article-cta-box h3 { color: var(--white); }
.article-content .article-cta-box .btn { color: var(--ink-on-cyan); text-decoration: none; }
