/* Estilos de la home (index.php). Extraído del <style> en línea el 11/11/2026
   para que el navegador lo guarde en caché entre visitas. */
:root {
    --bg: #0B0F1A;
    --bg-2: #0E1424;
    --surface: #121A2C;
    --surface-2: #182238;
    --ink: #EDF2F9;
    --muted: #93A0B4;
    --line: rgba(147,160,180,0.16);
    --acc: #00E5A0;
    --acc-hi: #2FF0B4;
    --acc-dark: #007A52;
    --acc-ink: #04160F;
    --acc-glow: rgba(0,229,160,0.14);
    --danger: #FF5D6C;
    --warning: #FFB020;
    --info: #4DA3FF;
    --display: 'Anton','Anton Fallback', Impact, 'Arial Narrow', sans-serif;
    --font: 'Inter','Inter Fallback', system-ui, -apple-system, sans-serif;
    --radius: 16px;
    --max-w: 1180px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 17px;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
/* Sobre fondos claros el verde menta no contrasta (1,5:1): anillo oscuro (WCAG 1.4.11) */
.section-light :focus-visible { outline-color: var(--acc-dark); }
::selection { background: var(--acc); color: var(--acc-ink); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.display {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .015em;
    line-height: 1.04;
}

/* ── Atmósfera de fondo ── */
.bg-grid {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(147,160,180,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147,160,180,0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
}
.glow-orb { position: absolute; border-radius: 50%; filter: blur(130px); pointer-events: none; z-index: 0; }
.glow-green { width: 560px; height: 560px; background: rgba(0,229,160,0.12); top: -220px; right: -140px; }
.glow-blue { width: 460px; height: 460px; background: rgba(45,90,220,0.14); top: 380px; left: -220px; }

/* ── Nav ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250,249,246,0.9);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(16,21,31,0.08);
    box-shadow: 0 1px 20px rgba(16,21,31,0.05);
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-logo { text-decoration: none; display: inline-flex; align-items: center; }
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links > a { color: #4A5568; text-decoration: none; font-size: .95rem; font-weight: 600; transition: color .2s; }
.nav-links > a:hover { color: #10151F; }
.nav-login {
    padding: .55rem 1.2rem; border: 1px solid rgba(16,21,31,0.18); color: #10151F !important; border-radius: 10px;
    font-weight: 600; transition: all .2s; min-height: 44px; display: inline-flex; align-items: center;
}
.nav-login:hover { border-color: var(--acc-dark); color: var(--acc-dark) !important; background: rgba(0,194,136,0.08); }
.nav-cta {
    padding: .55rem 1.2rem; background: var(--acc); color: var(--acc-ink) !important; border-radius: 10px;
    font-weight: 700; transition: background .2s, transform .2s; min-height: 44px; display: inline-flex; align-items: center;
}
.nav-cta:hover { background: var(--acc-hi); transform: translateY(-1px); }
.nav-mobile-btn { display: none; background: none; border: none; color: #10151F; cursor: pointer; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav-mobile-btn svg { width: 26px; height: 26px; }

.nav-login-wrap { position: relative; }
.header-login-dropdown {
    display: none; position: absolute; right: 0; top: calc(100% + 12px); width: 320px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.25rem; box-shadow: 0 24px 60px rgba(0,0,0,0.5); z-index: 120;
    color: var(--ink); /* el dropdown mantiene tema oscuro sobre nav claro */
}
.header-login-dropdown.open { display: block; animation: popIn .18s ease; }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.header-login-overlay { display: none; position: fixed; inset: 0; z-index: 110; }
.header-login-overlay.open { display: block; }

/* ── Hero: el producto en escena ── */
.hero-stage { position: relative; overflow: clip; padding: 8.6rem 0 3.5rem; background: #0B0F1A; }
.hero-mesh {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(52% 60% at 78% 40%, rgba(0,229,160,0.22), transparent 70%),
        radial-gradient(40% 50% at 8% 10%, rgba(0,122,82,0.25), transparent 70%),
        linear-gradient(180deg, transparent 70%, #0B0F1A 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 2.5rem; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker { color: var(--acc); font-weight: 600; font-size: .95rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.hero-kicker::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--acc); }
.hero-stage h1 {
    font-family: var(--display); font-weight: 400; text-transform: uppercase;
    font-size: clamp(2.4rem, 4.2vw, 3.9rem); line-height: 1.02; letter-spacing: .005em; color: #fff; margin: 0;
}
.hero-stage h1 .hl { color: var(--acc); }
.hero-stage h1 .outline {
    color: transparent; -webkit-text-stroke: 2px #fff; text-stroke: 2px #fff;
    background: none;
}
@supports not (-webkit-text-stroke: 1px #000) { .hero-stage h1 .outline { color: var(--acc-dark); } }
.hero-stage .hs-sub { margin: 1.4rem 0 2rem; max-width: 560px; color: rgba(237,242,249,0.82); font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.6; }
.hero-stage .hero-note { color: rgba(237,242,249,0.7); font-size: .9rem; margin-top: 1rem; }
.hero-stage .hero-note strong { color: var(--acc); }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.12); }
.hero-proof li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: #EDF2F9; }
.hero-proof svg { width: 16px; height: 16px; color: var(--acc); flex: 0 0 auto; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-main {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    background: var(--acc); color: var(--acc-ink); font-weight: 700; font-size: 1.02rem;
    padding: .95rem 1.9rem; border-radius: 13px; text-decoration: none; min-height: 48px;
    transition: transform .2s, box-shadow .2s, background .2s;
    box-shadow: 0 10px 34px rgba(0,229,160,0.28);
}
.btn-main:hover { transform: translateY(-2px); background: var(--acc-hi); box-shadow: 0 14px 42px rgba(0,229,160,0.4); }
.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 1.02rem;
    padding: .95rem 1.7rem; border-radius: 13px; text-decoration: none; min-height: 48px;
    transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--acc); background: var(--acc-glow); }
.hero-note { margin-top: .9rem; font-size: .87rem; color: rgba(237,242,249,0.75); }
.hero-note strong { color: var(--acc); font-weight: 600; }

/* ── Trust bar ── */
.trust-bar {
    display: flex; justify-content: center; gap: 2.6rem; flex-wrap: wrap;
    padding: 1.4rem 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: rgba(14,20,36,0.5); position: relative; z-index: 1;
}
.trust-item { display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; color: #4A5568; font-weight: 500; }
.trust-item svg { width: 17px; height: 17px; color: var(--acc); flex-shrink: 0; }

/* ── Secciones ── */
section { padding: 4.5rem 0; position: relative; }
.section-label {
    display: inline-block; color: var(--acc); font-weight: 700; font-size: .8rem;
    text-transform: uppercase; letter-spacing: .14em; margin-bottom: .9rem;
}
.section-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.06; letter-spacing: .01em; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 640px; line-height: 1.65; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ── Sección clara (contraste sobre el tema oscuro) ── */
.section-light { background: #F7F5EC; color: #10151F; }
.section-light .section-label { color: var(--acc-dark); }
.section-light .section-title { color: #10151F; }
.section-light .section-sub { color: #4A5568; }
.section-light .step-card { background: #FFFFFF; border-color: rgba(16,21,31,0.09); box-shadow: 0 2px 14px rgba(16,21,31,0.06); }
.section-light .step-card:hover { border-color: rgba(0,194,136,0.55); box-shadow: 0 8px 24px rgba(16,21,31,0.1); }
.section-light .step-num { -webkit-text-stroke-color: rgba(0,194,136,0.75); }
.section-light .step-card h3 { color: #10151F; }
.section-light .step-card p { color: #4A5568; }
.section-light.tone-white { background: #FBFAF7; }
/* Módulos en claro: copy oscuro, mockups siguen siendo "capturas" oscuras */
.section-light .mod-copy h3 { color: #10151F; }
.section-light .mod-copy h3 span { color: var(--acc-dark); }
.section-light .mod-copy p { color: #4A5568; }
.section-light .mod-list li { color: #2A3342; }
.section-light .mod-list li svg { color: var(--acc-dark); }
/* Para quién en claro: frente de la flip card en blanco */
.section-light .flip-front { background: #FFFFFF; border-color: rgba(16,21,31,0.1); }
.section-light .flip-front .fit-body h3 { color: #10151F; }
.section-light .flip-front .fit-body p { color: #4A5568; }
.section-light .flip-front .fit-body svg { color: var(--acc-dark); }
.section-light .flip-back { border-color: rgba(16,21,31,0.2); }
/* Precios en claro: cards blancas, el plan destacado se queda oscuro y destaca */
.section-light .price-card.featured { color: var(--ink); } /* la card oscura no hereda el texto oscuro de la sección clara */
.section-light .pricing-toggle { background: #FFFFFF; border-color: rgba(16,21,31,0.15); }
.section-light .price-card:not(.featured) { background: #FFFFFF; border-color: rgba(16,21,31,0.1); box-shadow: 0 2px 16px rgba(16,21,31,0.06); }
.section-light .price-card:not(.featured) .price-name { color: #10151F; }
.section-light .price-card:not(.featured) .price-for { color: #566072; }
.section-light .price-card:not(.featured) .price-amount .cur { color: #10151F; }
.section-light .price-card:not(.featured) .price-amount .old,
.section-light .price-card:not(.featured) .price-amount .per { color: #566072; }
.section-light .price-card:not(.featured) .precio-ahorro { color: var(--acc-dark); }
.section-light .price-card:not(.featured) .price-limits span { color: #566072; border-color: rgba(16,21,31,0.14); }
.section-light .price-card:not(.featured) .price-feats li { color: #2A3342; }
.section-light .price-card:not(.featured) .price-feats li svg { color: var(--acc-dark); }
.section-light .price-card:not(.featured) .price-feats li.plus { color: var(--acc-dark); }
.section-light .price-card:not(.featured) .price-cta { color: #10151F; border-color: rgba(16,21,31,0.2); }
.section-light .price-card:not(.featured) .price-cta:hover { border-color: var(--acc-dark); color: var(--acc-dark); }
.section-light .pricing-note { color: #566072; }
.section-light .pricing-note strong { color: var(--acc-dark); }
.section-light .pricing-toggle button:not(.active) { color:#4A5568; }
.section-light p > a { color:var(--acc-dark) !important; }
.section-light .faq-wrap > p a,
.section-light .faq-item p a { color: var(--acc-dark) !important; }
.section-light .pricing-note a { color: var(--acc-dark) !important; }
/* FAQ en claro */
.section-light .faq-item { background: #FFFFFF; border-color: rgba(16,21,31,0.1); }
.section-light .faq-item summary { color: #10151F; }
.section-light .faq-item summary::after { color: var(--acc-dark); }
.section-light .faq-item p { color: #4A5568; }
.section-light .faq-item a { color: var(--acc-dark); }
/* Blog y bloque editorial en claro */
.section-light .blog-card { background: #FFFFFF; border-color: rgba(16,21,31,0.1); }
.section-light .blog-card-body h3 { color: #10151F; }
.section-light .blog-card-body p, .section-light .blog-card-meta { color: #566072; }
.section-light .seo-block-col h3, .section-light .cols h3 { color: #10151F; }
.section-light .cols p { color: #4A5568; }
.section-light .btn-ghost { color: #10151F; border-color: rgba(16,21,31,0.2); }
.section-light .btn-ghost:hover { border-color: var(--acc-dark); background: rgba(0,194,136,0.08); }
.seo-block.section-light { background: #F7F5EC; border-top-color: rgba(16,21,31,0.08); }
.seo-block.section-light p { color: #4A5568; }
.seo-block.section-light h3 { color: #10151F; }

/* ── Módulos ── */
.mod-row {
    display: none; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
    padding: 2.2rem 0 .5rem;
}
.mod-row.active { display: grid; animation: fadeUp .45s both; }

/* ── Tabs de módulos ── */
.mod-tabs { display: flex; gap: .55rem; flex-wrap: wrap; justify-content: center; margin-top: 2.4rem; }
.mod-tab {
    display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
    border: 1px solid rgba(16,21,31,0.15); background: #FFFFFF; color: #4A5568;
    font-family: var(--font); font-weight: 600; font-size: .92rem;
    padding: .6rem 1.15rem; border-radius: 99px; min-height: 44px;
    transition: all .2s;
}
.mod-tab svg { width: 17px; height: 17px; }
.mod-tab:hover { border-color: var(--acc-dark); color: var(--acc-dark); }
.mod-tab.active { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); box-shadow: 0 6px 18px rgba(0,229,160,0.3); }
.mod-copy h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: .01em; line-height: 1.1; margin-bottom: .9rem; }
.mod-copy h3 span { color: var(--acc); }
.mod-copy p { color: var(--muted); margin-bottom: 1.2rem; }
.mod-list { list-style: none; display: grid; gap: .55rem; }
.mod-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .96rem; color: var(--ink); }
.mod-list li svg { width: 18px; height: 18px; color: var(--acc); flex-shrink: 0; margin-top: 3px; }


/* ── Cómo funciona ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.step-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.9rem 1.6rem; position: relative; overflow: hidden;
    transition: transform .25s, border-color .25s;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(0,229,160,0.4); }
.step-num {
    font-family: var(--display); font-size: 3.4rem; line-height: 1; color: transparent;
    -webkit-text-stroke: 1.5px rgba(0,229,160,0.55); margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .5rem; }
.step-card p { color: var(--muted); font-size: .94rem; }

/* ── Banda parallax ── */
.parallax-band {
    position: relative; padding: 7rem 0; overflow: hidden;
    background-image: linear-gradient(rgba(11,15,26,0.78), rgba(11,15,26,0.86)), url('/assets/img/landing/entrenamiento-gimnasio-pesas-1600.webp');
    background-size: cover; background-position: center;
    background-attachment: fixed;
}
.parallax-band .container { text-align: center; }
.parallax-band h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; }
.parallax-band h2 span { color: var(--acc); }
.parallax-band p { color: rgba(237,242,249,0.8); max-width: 560px; margin: 1.1rem auto 1.8rem; font-size: 1.08rem; }
.stats-band { display: flex; justify-content: center; gap: 3.5rem; flex-wrap: wrap; margin-top: 2.4rem; }
.stat-item { text-align: center; }
.stat-item .n { font-family: var(--display); font-size: 2.6rem; color: var(--acc); line-height: 1; }
.stat-item .l { font-size: .85rem; color: rgba(237,242,249,0.75); margin-top: .35rem; }
.stats-note { text-align: center; font-size: .78rem; color: rgba(237,242,249,0.5); margin-top: 1.6rem; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.5; }

/* ── Prueba social ── */
.sp-counter { text-align: center; margin: 0 auto 2.8rem; max-width: 640px; }
.sp-counter .sp-num { display: block; font-family: var(--display); font-size: clamp(3rem,8vw,4.6rem); color: #0a7d55; line-height: 1; }
.sp-counter .sp-num-label { display: block; margin-top: .5rem; font-size: 1.05rem; color: rgba(16,21,31,0.72); }
.sp-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.6rem; margin: 0 auto 3rem; }
.sp-logos img { height: 42px; width: auto; opacity: .68; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.sp-logos img:hover { opacity: 1; filter: grayscale(0); }
.sp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.sp-card { background: #fff; border: 1px solid rgba(16,21,31,0.08); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; gap: 1.1rem; box-shadow: 0 2px 16px rgba(16,21,31,0.05); }
.sp-card blockquote { font-size: 1.02rem; line-height: 1.6; color: #1a2333; }
.sp-card figcaption { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.sp-card figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sp-card figcaption b { display: block; font-size: .95rem; color: #10151f; }
.sp-card figcaption small { color: rgba(16,21,31,0.6); font-size: .85rem; }
.sp-cases { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-top: 1.8rem; }
.sp-case { text-align: center; padding: 1.8rem 1.3rem; border: 1px solid rgba(16,21,31,0.08); border-radius: var(--radius); background: rgba(0,229,160,0.055); }
.sp-case-metric { font-family: var(--display); font-size: 2.5rem; color: #0a7d55; line-height: 1; }
.sp-case-detail { font-size: .92rem; color: rgba(16,21,31,0.72); margin-top: .45rem; }
.sp-case-centro { font-size: .82rem; color: rgba(16,21,31,0.55); margin-top: .9rem; font-weight: 600; }
@media (max-width: 860px){ .sp-grid, .sp-cases { grid-template-columns: 1fr; } }
/* ── Confianza producto nuevo ── */
.trust-pillars { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; margin-top: 2.6rem; }
.tp-card { background: #fff; border: 1px solid rgba(16,21,31,0.08); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: 0 2px 14px rgba(16,21,31,0.05); }
.tp-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(0,229,160,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.tp-ic svg { width: 24px; height: 24px; color: #0a7d55; }
.tp-card h3 { font-size: 1.05rem; color: #10151f; margin-bottom: .5rem; line-height: 1.3; }
.tp-card p { font-size: .9rem; line-height: 1.6; color: #4A5568; }
.tp-card strong { color: #1a2333; }
.tp-early { text-align: center; max-width: 720px; margin: 2.4rem auto 0; font-size: 1rem; line-height: 1.7; color: rgba(16,21,31,0.72); }
.tp-early strong { color: #0a7d55; }
@media (max-width: 860px){ .trust-pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .trust-pillars { grid-template-columns: 1fr; } }

/* ── Para quién ── */
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
.fit-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.7rem 1.4rem; transition: transform .25s, border-color .25s, background .25s;
}
.fit-card:hover { transform: translateY(-4px); border-color: rgba(0,229,160,0.4); background: var(--surface-2); }
.fit-card svg { width: 30px; height: 30px; color: var(--acc); margin-bottom: .9rem; }
.fit-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .45rem; }
.fit-card p { color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* ── Precios ── */
.pricing-toggle {
    display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
    padding: 4px; margin: 1.8rem auto 0; gap: 4px;
}
.pricing-toggle button {
    border: none; background: transparent; color: var(--muted); font-family: var(--font);
    font-weight: 600; font-size: .92rem; padding: .55rem 1.3rem; border-radius: 9px; cursor: pointer;
    min-height: 44px; transition: background .2s, color .2s;
}
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.6rem; align-items: stretch; }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
.price-fund { margin: .6rem 0 .2rem; padding: .6rem .75rem; border-radius: 10px; background: rgba(0,229,160,.14); border: 1px dashed var(--acc); font-size: .82rem; line-height: 1.45; }
.price-fund b { color: var(--acc); font-size: 1rem; }
.price-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 2rem 1.7rem;
    display: flex; flex-direction: column; position: relative; transition: transform .25s, border-color .25s;
}
.price-card:hover { transform: translateY(-5px); border-color: rgba(0,229,160,0.45); }
.price-card.featured {
    border-color: var(--acc); background: linear-gradient(180deg, rgba(0,229,160,0.07) 0%, var(--surface) 45%);
    box-shadow: 0 24px 70px rgba(0,229,160,0.13);
}
.price-flag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--acc); color: var(--acc-ink); font-size: .74rem; font-weight: 800;
    padding: .28rem .95rem; border-radius: 99px; letter-spacing: .04em; white-space: nowrap;
}
.price-name { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.45rem; letter-spacing: .03em; }
.price-for { color: var(--muted); font-size: .86rem; line-height: 1.55; margin: .3rem 0 1.2rem; min-height: 4.65em; }
.price-cta { white-space: nowrap; width: 100%; }
.price-limits { min-height: 4.6rem; align-content: flex-start; }
.price-amount { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.price-amount .old { color: var(--muted); text-decoration: line-through; font-size: 1.05rem; font-weight: 500; }
.price-amount .cur { font-size: 2.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price-amount .per { color: var(--muted); font-size: .9rem; }
.precio-ahorro { display: none; color: var(--acc); font-size: .8rem; font-weight: 700; margin-top: .35rem; }
.price-limits { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.1rem 0 1.2rem; }
.price-limits span { font-size: .74rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); padding: .22rem .6rem; border-radius: 99px; }
.price-feats { list-style: none; display: grid; gap: .5rem; margin-bottom: 1.6rem; }
.price-feats li { display: flex; gap: .55rem; font-size: .9rem; align-items: flex-start; }
.price-feats li svg { width: 16px; height: 16px; color: var(--acc); flex-shrink: 0; margin-top: 4px; }
.price-feats li.plus { color: var(--acc); font-weight: 600; }
.price-cta {
    margin-top: auto; display: inline-flex; align-items: center; justify-content: center;
    padding: .85rem 1rem; border-radius: 12px; font-weight: 700; text-decoration: none; min-height: 48px;
    border: 1px solid var(--line); color: var(--ink); transition: all .2s;
}
.price-cta:hover { border-color: var(--acc); background: var(--acc-glow); }
.price-card.featured .price-cta { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
/* Enlace secundario bajo el CTA de cada plan: la ficha completa (contratar-*) sin salir del embudo */
.price-more { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: .25rem; font-size: .88rem; font-weight: 600; color: var(--acc-dark); text-decoration: underline; text-underline-offset: 3px; }
.price-card.featured .price-more { color: var(--acc); }
/* CTA intermedio (al final de «Míralo funcionando»): un CTA cada ~2 pantallas */
.mid-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.6rem; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.12); }
.mid-cta p { margin: 0; color: rgba(255,255,255,0.78); font-size: .95rem; }
.mid-cta p strong { color: #fff; }
/* Aviso del plan elegido en /precios o contratar-*: se conserva hasta el alta */
.auth-plan { display: block; padding: .8rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-size: .9rem; line-height: 1.5; background: rgba(0,229,160,0.10); border: 1px solid rgba(0,229,160,0.35); color: #EAFBF3; }
.auth-plan[hidden] { display: none; }
.auth-plan strong { color: var(--acc); }
.auth-plan a { color: var(--acc); font-weight: 600; }
.price-card.featured .price-cta:hover { background: var(--acc-hi); }
.pricing-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 1.6rem; }
.pricing-note a { display: inline-flex; align-items: center; min-height: 44px; }
.pricing-note strong { color: var(--acc); }

/* ── FAQ ── */
.faq-wrap { max-width: 760px; margin: 2.6rem auto 0; }
.faq-item {
    border: 1px solid var(--line); border-radius: 14px; padding: 1.05rem 1.3rem;
    margin-bottom: .75rem; background: var(--surface); transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(0,229,160,0.4); }
.faq-item summary {
    font-weight: 600; cursor: pointer; font-size: 1rem; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--acc); font-size: 1.4rem; font-weight: 400; transition: transform .2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: .8rem; color: var(--muted); font-size: .93rem; line-height: 1.65; }
.faq-item a { color: var(--acc); }

/* ── Acceso / registro ── */
.auth-section { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: clip; }
.auth-box {
    max-width: 460px; margin: 2.6rem auto 0; background: var(--surface);
    border: 1px solid var(--line); border-radius: 20px; padding: 2rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.auth-tabs { display: flex; gap: .5rem; margin-bottom: 1.4rem; background: var(--bg); border-radius: 11px; padding: 4px; }
.auth-tab {
    flex: 1; padding: .6rem; border: none; background: transparent; color: var(--muted);
    font-family: var(--font); font-weight: 600; font-size: .95rem; border-radius: 8px; cursor: pointer;
    min-height: 44px; transition: all .2s;
}
.auth-tab.active { background: var(--acc); color: var(--acc-ink); }
.auth-field { margin-bottom: 1rem; }
.auth-field label { display: block; font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: .35rem; }
.auth-field input {
    width: 100%; padding: .8rem 1rem; background: var(--bg); border: 1px solid #6E7B94;
    border-radius: 10px; color: var(--ink); font-family: var(--font); font-size: 1rem; transition: border-color .2s;
}
/* Borde 4,5:1 sobre el fondo (WCAG 1.4.11) y anillo de foco visible al navegar con teclado */
.auth-field input:focus { border-color: var(--acc); }
.auth-field input:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.auth-btn {
    width: 100%; padding: .9rem; background: var(--acc); color: var(--acc-ink); border: none;
    border-radius: 12px; font-family: var(--font); font-weight: 700; font-size: 1.02rem; cursor: pointer;
    min-height: 48px; transition: background .2s, transform .2s;
}
.auth-btn:hover { background: var(--acc-hi); transform: translateY(-1px); }
.auth-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.auth-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.1rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.auth-trust span { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; color: var(--muted); }
.auth-trust svg { width: 15px; height: 15px; color: var(--acc); flex-shrink: 0; }
.auth-msg { display: none; padding: .7rem 1rem; border-radius: 10px; font-size: .88rem; margin-bottom: 1rem; }
.auth-msg.error { display: block; background: rgba(255,93,108,0.12); color: var(--danger); border: 1px solid rgba(255,93,108,0.3); }
.auth-msg.success { display: block; background: rgba(0,229,160,0.12); color: var(--acc); border: 1px solid rgba(0,229,160,0.3); }

/* ── Blog ── */
.blog-latest { padding: 4.5rem 0; border-top: 1px solid rgba(16,21,31,0.07); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; margin-top: 2.8rem; }
.blog-card {
    display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
    border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit;
    transition: transform .25s, border-color .25s;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(0,229,160,0.4); }
.blog-card-img { aspect-ratio: 1200/630; background: var(--bg-2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin-bottom: .55rem; }
.blog-card-body p { font-size: .89rem; color: var(--muted); line-height: 1.55; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { margin-top: auto; font-size: .8rem; color: var(--muted); font-weight: 500; }
.blog-latest-cta { text-align: center; margin-top: 2.4rem; }

/* Textura estática acotada al viewport, sin repintado continuo. */
.grain {
    position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Pausar animaciones (WCAG 2.2.2): detiene la entrada del hero y los vídeos en bucle (assets/js/home-showcase.js) */
.mov-toggle {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2;
    min-height: 44px; padding: 0 .9rem; border-radius: 10px; border: 1px solid #6E7B94;
    background: var(--surface-2); color: var(--ink); font-family: var(--font); font-size: .82rem; font-weight: 600; cursor: pointer;
}
.mov-toggle:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
html.gg-sin-mov .hero-phone, html.gg-sin-mov .hero-chip { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .mov-toggle { display: none; } }

/* ── Fit cards con foto ── */
.fit-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.fit-photo { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.fit-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); transition: transform .5s ease; }
.fit-card:hover .fit-photo img { transform: scale(1.06); }
.fit-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,26,0) 40%, rgba(11,15,26,.85) 100%); }
.fit-body { padding: 1.2rem 1.4rem 1.5rem; }
.fit-body svg { width: 24px; height: 24px; color: var(--acc); margin-bottom: .6rem; }

/* ── Flip cards (para quién): clic/Enter para girar ── */
.fit-card.flip { perspective: 1200px; background: transparent; border: none; overflow: visible; cursor: pointer; height: 440px; }
.fit-card.flip:hover { background: transparent; }
.flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .65s cubic-bezier(.25,.7,.3,1); }
.fit-card.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
    position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
    border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
}
.flip-front { background: var(--surface); display: flex; flex-direction: column; }
.flip-front .fit-body { flex: 1; }
.fit-card.flip:hover .flip-front, .fit-card.flip:hover .flip-back { border-color: rgba(0,229,160,0.4); }
.flip-hint {
    position: absolute; top: .75rem; right: .75rem; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(11,15,26,0.72); border: 1px solid rgba(0,229,160,0.5); color: var(--acc);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; line-height: 1;
    transition: transform .3s, background .3s; pointer-events: none;
}
.fit-card.flip:hover .flip-hint { background: rgba(0,229,160,0.18); transform: rotate(90deg); }
.flip-back {
    background: linear-gradient(165deg, #10281F 0%, var(--surface-2) 75%);
    transform: rotateY(180deg); padding: 1.5rem 1.4rem 1.4rem; display: flex; flex-direction: column;
}
.flip-back h3 { font-size: 1.05rem; font-weight: 700; color: var(--acc); margin-bottom: .8rem; }
.flip-back ul { list-style: none; display: grid; gap: .6rem; margin: 0; padding: 0; }
.flip-back li { display: flex; gap: .5rem; font-size: .87rem; color: var(--ink); line-height: 1.45; align-items: flex-start; }
.flip-back li svg { width: 15px; height: 15px; color: var(--acc); flex-shrink: 0; margin-top: 3px; }
.flip-back .flip-link { margin-top: auto; padding-top: .9rem; color: var(--acc); font-weight: 700; font-size: .9rem; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.flip-back .flip-link:hover { text-decoration: underline; }
.flip-close { align-self:flex-end; min-height:44px; padding:6px 12px; margin-bottom:6px; background:transparent; color:#fff; border:1px solid #93A0B4; border-radius:8px; cursor:pointer; font:inherit; }
@media (min-width: 1101px) { .fit-card.flip { height: 415px; } }
@media (prefers-reduced-motion: reduce) {
    .flip-inner { transition: none; }
    .fit-card.flip.flipped .flip-inner { transform: none; }
    .flip-front, .flip-back { backface-visibility: visible; -webkit-backface-visibility: visible; transition: opacity .2s; }
    .flip-back { opacity: 0; pointer-events: none; }
    .fit-card.flip.flipped .flip-back { opacity: 1; pointer-events: auto; }
    .fit-card.flip.flipped .flip-front { opacity: 0; }
}

/* ── Bloque SEO editorial ── */
.seo-block { border-top: 1px solid var(--line); background: var(--bg-2); }
.seo-block .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 1.8rem; }
.seo-block h3 { font-size: 1.05rem; font-weight: 700; margin: 1.2rem 0 .4rem; }
.seo-block p { color: var(--muted); font-size: .95rem; line-height: 1.75; }
.seo-block a { color: var(--acc); text-decoration: none; font-weight: 500; }
.seo-block a:hover { text-decoration: underline; }
@media (max-width: 860px) { .seo-block .cols { grid-template-columns: 1fr; } }

/* ── Reveal on scroll ── */
/* Solo escritorio y con movimiento permitido: en móvil el contenido está visible desde el principio
   (una aparición de 0,7 s dejaba bloques en blanco y daba sensación de web lenta). */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(18px); transition: opacity .35s ease-out, transform .35s ease-out; }
    .reveal.visible { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
    .parallax-band { background-attachment: scroll; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {

    .fit-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
    .steps { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 860px) {
    .mod-row { grid-template-columns: 1fr; gap: 2rem; }
    .parallax-band { background-attachment: scroll; }
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .nav-inner { padding: 0 16px; }
    .nav-links {
        position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
        background: rgba(250,249,246,0.98); border-bottom: 1px solid rgba(16,21,31,0.1);
        box-shadow: 0 18px 40px rgba(16,21,31,0.12);
        padding: 1.2rem 16px; gap: .4rem; display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links > a { padding: .8rem 0; font-size: 1.05rem; min-height: 44px; display: flex; align-items: center; }
    .nav-login { justify-content: center; margin-top: .4rem; }
    .nav-cta { justify-content: center; }
    .nav-mobile-btn { display: inline-flex; }
    .header-login-dropdown { position: fixed; left: 16px; right: 16px; top: 84px; width: auto; }

    .hero-actions .btn-main, .hero-actions .btn-ghost { width: 100%; }
    .trust-bar { gap: 1.1rem 1.6rem; }
    .stats-band { gap: 2rem; }
    .auth-box { padding: 1.5rem 1.25rem; }
    section { padding: 4rem 0; }
}
@media (max-width: 480px) {
    .fit-grid { grid-template-columns: 1fr; }


    .price-amount .cur { font-size: 2.4rem; }
}

/* ══ Rediseño 2026-09: capa visual ══ */
.section-label { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 600; display: inline-flex; align-items: center; gap: .6rem; }
.section-label::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--acc); }
.center .section-label::before { display: none; }
.center .section-label::after { content: ''; display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--acc); margin: .55rem auto 0; }
.center .section-label { flex-direction: column; gap: 0; }
.section-title { letter-spacing: .005em; }
.btn-main { border-radius: 14px; box-shadow: 0 14px 34px -10px rgba(0,122,82,0.55), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(0,122,82,0.6); }
.btn-ghost { border-radius: 14px; }

/* Trust bar: más ligera, integrada */
.trust-bar { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Cómo funciona: camino con conector */
.steps { position: relative; }
.steps::before { content: ''; position: absolute; left: 16.6%; right: 16.6%; top: 44px; border-top: 2px dashed rgba(0,122,82,0.35); }
.step-card { position: relative; border-radius: 22px; padding-top: 2rem; }
.step-num { -webkit-text-stroke: 0; color: var(--acc-ink); background: var(--acc); width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem; box-shadow: 0 10px 24px -8px rgba(0,122,82,0.5); }
@media (max-width: 860px) { .steps::before { display: none; } }

/* Para quién: fotos más protagonistas */
.fit-photo { aspect-ratio: 4 / 3; }
.fit-card { border-radius: 22px; }

/* Precios y confianza: radios por jerarquía */
.price-card { border-radius: 22px; }
.price-card.featured { box-shadow: 0 34px 70px -28px rgba(0,122,82,0.5); }
.tp-card, .faq-item { border-radius: 18px; }
.auth-box { border-radius: 24px; }

/* Tarjeta destacada de precios: contraste AA sobre fondo oscuro (revisión 2026-09) */
.section-light .price-card.featured { background: linear-gradient(180deg, #0F3A2B 0%, #0A2419 58%); color: #EDF2F9; border-color: var(--acc); }
.price-card.featured .price-name { color: #fff; }
.price-card.featured .price-for { color: rgba(237,242,249,0.88); }
.price-card.featured .price-amount .cur { color: #fff; }
.price-card.featured .price-amount .per, .price-card.featured .price-amount .old { color: rgba(237,242,249,0.75); }
.price-card.featured .price-limits span { color: rgba(237,242,249,0.9); border-color: rgba(255,255,255,0.28); }
.price-card.featured .price-feats li { color: #EDF2F9; }
.price-card.featured .price-feats li svg, .price-card.featured .price-feats li.plus { color: var(--acc); }
.price-card.featured .price-fund { color: #EDF2F9; }

/* ── Entrada desde la app Android de gestión (antes assets/css/android-entry.css,
   una hoja bloqueante más en cada visita; solo actúa con la clase .gg-android-entry) ── */
.gg-android-entry body > header, .gg-android-entry body > footer, .gg-android-entry .ggh-header, .gg-android-entry #stickyCta { display: none !important; }
.gg-android-entry main > :not(#acceso) { display: none !important; }
.gg-android-entry #acceso { min-height: 100dvh; padding: max(32px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: center; }
.gg-android-entry #acceso .glow-orb { display: none; }
.gg-android-entry #acceso .reveal { opacity: 1; transform: none; }
.gg-android-entry #acceso .section-title { font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.12; }
.gg-android-entry #acceso .section-sub { max-width: 420px; margin: 12px auto 24px; }
.gg-android-entry #acceso .auth-box { margin-top: 24px; }
.gg-android-entry .gg-android-help { text-align: center; font-size: .85rem; line-height: 1.8; margin: 24px auto 0; }
.gg-android-entry .gg-android-help a { color: #00e5a0; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .gg-android-entry * { scroll-behavior: auto !important; } }

/* ── Selector «¿Qué eres?» (includes/perfil-selector.php, F4 12/11/2026) ── */
.perfil-sel { background: var(--bg); padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.perfil-titulo { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.05; color: #fff; margin-bottom: 24px; }
.perfil-titulo span { display: block; margin-top: 8px; font-family: var(--font); text-transform: none; font-size: 1.05rem; color: var(--muted); font-weight: 400; }
.perfil-tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 2px; }
.perfil-tabs::-webkit-scrollbar { display: none; }
.perfil-tabs [role="tab"] { flex: none; scroll-snap-align: start; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .95rem/1 var(--font); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.perfil-tabs [role="tab"]:hover { border-color: rgba(0,229,160,.5); }
.perfil-tabs [role="tab"][aria-selected="true"] { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.perfil-tabs [role="tab"]:focus-visible, .perfil-sel a:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
.perfil-panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%); }
.perfil-paneles { display: grid; gap: 16px; }
.perfil-nombre { color: var(--acc); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.perfil-js .perfil-nombre { display: none; }
.perfil-frase { color: #fff; font-size: 1.35rem; line-height: 1.35; font-weight: 600; margin-bottom: 16px; }
.perfil-texto ul { list-style: none; display: grid; gap: 10px; }
.perfil-texto li { display: flex; gap: 10px; align-items: flex-start; color: rgba(237,242,249,.86); line-height: 1.45; }
.perfil-texto li svg { flex: none; width: 18px; height: 18px; color: var(--acc); margin-top: 3px; }
.perfil-nota { margin-top: 14px; font-size: .92rem; color: var(--muted); }
.perfil-nota a { color: var(--acc); }
.perfil-plan { padding: 22px; border-radius: 16px; background: rgba(0,229,160,.06); border: 1px solid rgba(0,229,160,.22); display: grid; gap: 12px; justify-items: start; }
.perfil-plan-eti { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.perfil-plan-nombre { font-size: 1.15rem; color: #fff; font-weight: 600; }
.perfil-plan-nombre strong { font-size: 1.7rem; margin-left: 6px; color: var(--acc); }
.perfil-plan-nombre span { font-size: .85rem; color: var(--muted); font-weight: 400; margin-left: 2px; }
.perfil-plan .btn-main { width: 100%; }
.perfil-mas { color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: underline; text-decoration-color: rgba(0,229,160,.6); text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .perfil-js .perfil-panel:not([hidden]) { animation: perfilIn .2s ease-out; }
    @keyframes perfilIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
    .perfil-sel { padding: 40px 0 44px; }
    .perfil-panel { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
    .perfil-frase { font-size: 1.15rem; }
}
.perfil-panel[hidden], .perfil-tabs[hidden] { display: none; }

/* ══ Rediseño 2026-11: el producto real como protagonista ══
   Verde de marca (#04140E / #0A2E22) en las bandas oscuras, crema #F7F5EC en las claras.
   Capturas y vídeos con includes/app-showcase.php; pestañas y vídeos en assets/js/home-showcase.js. */
:root { --g-deep: #04140E; --g-forest: #0A2E22; --g-panel: #0C2A1F; --g-line: rgba(160,214,190,0.16); --g-muted: #A9C2B6; }

/* ── Hero ── */
.hero-stage { background: var(--g-deep); padding: 7.6rem 0 3.6rem; }
.hero-stage h1 { font-size: clamp(2.4rem, 3.7vw, 3.55rem); }
.hero-mesh {
    background:
        radial-gradient(48% 62% at 80% 46%, rgba(0,229,160,0.20), transparent 70%),
        radial-gradient(40% 50% at 6% 4%, rgba(10,46,34,0.95), transparent 70%),
        linear-gradient(180deg, transparent 72%, var(--g-deep) 100%);
}
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 2.5rem; }
.hero-stage .hs-sub { color: rgba(237,242,249,0.84); }
.hero-stage .hero-actions { gap: .75rem; }
.btn-play { padding-left: 1.3rem; padding-right: 1.4rem; color: #fff; border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.04); }
.btn-play svg { color: var(--acc); }
.hero-note a { color: #fff; text-decoration: underline; text-decoration-color: rgba(0,229,160,0.7); text-underline-offset: 4px; display: inline-block; padding: .4rem 0; min-height: 44px; line-height: 28px; vertical-align: middle; }
.hero-note a:hover { color: var(--acc); }

.hero-scene { position: relative; z-index: 1; padding: 2.4rem 0 1rem 1.8rem; margin-right: calc(-1 * clamp(0px, (100vw - 1230px) / 2, 5rem)); }
.hero-scene::before { content: ''; position: absolute; inset: 8% -6% 4% 10%; border-radius: 40px; background: radial-gradient(closest-side, rgba(0,229,160,0.28), transparent); filter: blur(30px); pointer-events: none; }
.hero-shot { position: relative; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 50px 100px -40px rgba(0,0,0,0.85), 0 0 0 1px rgba(0,229,160,0.18), 0 30px 80px -30px rgba(0,229,160,0.35); }
.hero-scene .hero-phone { position: absolute; left: -1%; bottom: -.4rem; width: 25%; max-width: 178px; z-index: 3; }
.hero-phone .gg-phone-body { padding: 7px; border-radius: 30px; box-shadow: 0 0 0 1.5px #2A3A33 inset, 0 40px 70px -24px rgba(0,0,0,0.9); }
.hero-phone .gg-phone-body::before { top: 13px; width: 54px; height: 14px; margin-left: -27px; }
.hero-phone .gg-phone-screen { border-radius: 24px; }
.hero-chip {
    position: absolute; z-index: 4; display: flex; align-items: center; gap: .7rem; max-width: 270px;
    padding: .7rem .9rem; border-radius: 14px; background: #fff; color: #10151F;
    box-shadow: 0 24px 50px -18px rgba(0,0,0,0.6), 0 0 0 1px rgba(16,21,31,0.06);
    font-size: .78rem; line-height: 1.35;
}
.hero-chip b { display: block; font-size: .88rem; color: #10151F; }
.hero-chip > span:last-child { color: #4A5568; }
.hc-ic { width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center; background: #E3F7EE; color: var(--acc-dark); }
.hc-ic svg { width: 18px; height: 18px; }
.hc-ic.ok { background: var(--acc); color: var(--acc-ink); }
.hc-espera { top: -.2rem; right: -.8rem; }
.hc-cuota { right: -1rem; bottom: 4.4rem; }
.hero-scene-note { margin: 1.1rem 0 0 calc(25% + 1rem); text-align: right; font-size: .78rem; color: rgba(237,242,249,0.72); line-height: 1.4; }
/* Una sola coreografía al cargar: la captura (LCP) se pinta sin animar; el móvil y los avisos llegan después */
@media (min-width: 1101px) and (prefers-reduced-motion: no-preference) {
    .hero-shot { transform: perspective(1800px) rotateY(-7deg) rotateX(2deg); transform-origin: 30% 50%; }
    .hero-phone { animation: heroIn .8s .15s cubic-bezier(.2,.8,.2,1) both; }
    .hc-espera { animation: heroIn .6s .7s cubic-bezier(.2,.8,.2,1) both; }
    .hc-cuota { animation: heroIn .6s 1.1s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-scene { max-width: 720px; width: 100%; margin: 0 auto; padding: 1rem 0 1rem 1.5rem; }
}
@media (max-width: 640px) {
    .hero-scene { padding: .5rem 0 0; }
    .hero-scene .hero-phone { width: 29%; left: auto; right: -2%; bottom: -1.2rem; }
    .hero-chip { display: none; }
    .hero-scene-note { margin: .9rem 0 0; text-align: left; max-width: 64%; }
}

/* ── Franja de garantías (oscura, continúa el hero) ── */
.trust-bar { background: var(--g-deep); border-top: 1px solid var(--g-line); border-bottom: 1px solid var(--g-line); padding: 1.15rem 0; display: block; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.1rem; }
.trust-item { color: rgba(237,242,249,0.86); font-size: .86rem; font-weight: 500; }
@media (max-width: 1100px) { .trust-inner { justify-content: center; } }
@media (max-width: 640px) { .trust-inner { display: grid; grid-template-columns: 1fr; gap: .6rem; justify-items: start; } }

/* ── Selector «¿Qué eres?» con el verde de marca ── */
.perfil-sel { background: var(--g-deep); border-bottom-color: var(--g-line); --surface: var(--g-panel); --bg-2: #08201A; --line: var(--g-line); --muted: var(--g-muted); }

/* ── Módulos: pestañas y capturas reales ── */
.mod-tabs { justify-content: center; margin: 2.2rem auto 0; padding: 6px; gap: 4px; width: fit-content; max-width: 100%; background: #fff; border: 1px solid rgba(16,21,31,0.1); border-radius: 18px; box-shadow: 0 10px 30px -18px rgba(16,21,31,0.35); }
.mod-tab { border: 0; background: transparent; border-radius: 13px; color: #3A4555; }
.mod-tab:hover { color: var(--g-forest); background: #EEF4F0; border-color: transparent; }
.mod-tab[aria-selected="true"] { background: var(--g-forest); color: #fff; box-shadow: 0 8px 20px -10px rgba(10,46,34,0.8); }
.mod-tab[aria-selected="true"] svg { color: var(--acc); }
.mod-panels { margin-top: 2.6rem; }
.mod-row, .mod-row.active { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: center; padding: 0; animation: none; }
.mod-row[hidden] { display: none; }
.mod-row:focus-visible { outline-offset: 8px; border-radius: 12px; }
.mod-row + .mod-row { margin-top: 3.5rem; }
.gg-js .mod-row + .mod-row { margin-top: 0; }
.mod-shot { box-shadow: 0 40px 80px -36px rgba(10,46,34,0.55), 0 0 0 1px rgba(16,21,31,0.08); }
.mod-note { margin: 2rem auto 0; max-width: 680px; text-align: center; font-size: .84rem; color: #566072; line-height: 1.55; }
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .gg-js .mod-row:not([hidden]), .gg-js .accion-panel:not([hidden]) { animation: panelIn .35s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
    .mod-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: auto; scrollbar-width: none; }
    .mod-tabs::-webkit-scrollbar { display: none; }
    .mod-tab { flex: none; }
    .mod-row, .mod-row.active { grid-template-columns: 1fr; gap: 1.6rem; }
    .mod-row .mod-shot { order: -1; }
}

/* ── Míralo funcionando: banda oscura con los vídeos ── */
.accion-band { background: var(--g-forest); color: #fff; padding: 5.5rem 0 4.5rem; overflow: clip; --line: var(--g-line); --muted: var(--g-muted); }
.accion-band::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 45% at 85% 0%, rgba(0,229,160,0.16), transparent 70%), radial-gradient(45% 50% at 0% 100%, rgba(4,20,14,0.9), transparent 70%); }
.accion-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.6rem; }
.accion-head .section-title { color: #fff; margin: 0; max-width: 640px; }
.accion-head .section-sub { color: rgba(237,242,249,0.82); margin: 0; }
.accion-grid { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 2rem; align-items: start; }
.accion-side { min-width: 0; }
.accion-tabs { display: grid; gap: .55rem; }
.accion-tab {
    position: relative; overflow: hidden; display: flex; gap: .85rem; align-items: flex-start; text-align: left; width: 100%;
    padding: 1rem 1.1rem; min-height: 44px; border-radius: 14px; cursor: pointer;
    border: 1px solid rgba(255,255,255,0.10); background: rgba(4,20,14,0.35); color: #fff; font: inherit;
    transition: background .2s, border-color .2s;
}
.accion-tab svg { width: 22px; height: 22px; flex: none; color: var(--acc); margin-top: 2px; }
.accion-tab b { display: block; font-size: .98rem; line-height: 1.3; }
.accion-tab small { display: block; margin-top: .2rem; font-size: .84rem; line-height: 1.4; color: rgba(237,242,249,0.74); }
.accion-tab:hover { border-color: rgba(0,229,160,0.45); }
.accion-tab[aria-selected="true"] { background: rgba(0,229,160,0.10); border-color: var(--acc); }
.accion-tab[aria-selected="true"] small { color: rgba(237,242,249,0.9); }
/* Barra de progreso del vídeo activo: dice cuánto queda de la escena */
.accion-tab::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--acc); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; }
.accion-tab[aria-selected="true"]::after { opacity: 1; }
.accion-tab:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.accion-panel:focus-visible { outline: 3px solid var(--acc); outline-offset: 6px; border-radius: 16px; }
.accion-panel[hidden] { display: none; }
.accion-panel + .accion-panel { margin-top: 2.5rem; }
.gg-js .accion-panel + .accion-panel { margin-top: 0; }
.accion-panel .gg-shot { border-color: rgba(255,255,255,0.12); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,229,160,0.15); }
.par { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.2rem; border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; background: rgba(4,20,14,0.35); }
.par li { padding: .9rem 1rem; font-size: .9rem; line-height: 1.5; color: rgba(237,242,249,0.88); }
.par li + li { border-left: 1px solid rgba(255,255,255,0.10); }
.par li span { display: block; font-weight: 700; font-size: .8rem; color: var(--acc); margin-bottom: .2rem; }
.par li:last-child { color: #fff; }
.par-extra { margin-top: .9rem; font-size: .86rem; color: rgba(237,242,249,0.78); }
.par-extra a { color: #62F2C4; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: .35rem 0; }
.accion-band .mid-cta { margin-top: 3rem; }
.mid-yt { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: #fff; font-weight: 600; font-size: .95rem; text-decoration: underline; text-decoration-color: rgba(0,229,160,0.6); text-underline-offset: 4px; }
.mid-yt svg { width: 22px; height: 22px; color: var(--acc); }
.mid-yt:hover { color: var(--acc); }
.accion-side .mov-toggle { margin-top: 1rem; }
.mov-toggle { position: static; transform: none; background: transparent; color: rgba(237,242,249,0.86); border-color: rgba(255,255,255,0.28); }
.mov-toggle:hover { border-color: var(--acc); }
@media (max-width: 1024px) {
    .accion-head { grid-template-columns: 1fr; }
    .accion-grid { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
    .accion-side { display: contents; }
    .accion-side .mov-toggle { order: 3; margin: 0; justify-self: start; }
    .accion-tabs { display: flex; overflow-x: auto; gap: .5rem; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 2px; }
    .accion-tabs::-webkit-scrollbar { display: none; }
    .accion-tab { flex: none; width: auto; max-width: 250px; padding: .7rem .9rem; align-items: center; scroll-snap-align: start; }
    .accion-tab small { display: none; }
    .accion-tab b { font-size: .9rem; }
}
@media (max-width: 640px) {
    .accion-band { padding: 4rem 0 3.5rem; }
    .par { grid-template-columns: 1fr; }
    .par li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,0.10); }
    .accion-band .mid-cta .btn-main { width: 100%; }
}

/* ── App del socio ── */
.app-band { overflow: clip; }
.app-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
.app-copy .section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.app-list { margin-top: 1.6rem; }
.app-plan { margin-top: 1.4rem; font-size: .95rem; color: #2A3342; font-weight: 600; }
.app-plan a { display: inline-block; padding: .4rem 0; margin-left: .3rem; min-height: 44px; line-height: 28px; }
.app-phones { display: flex; justify-content: center; align-items: flex-end; padding: 1rem 0; position: relative; }
.app-phones::before { content: ''; position: absolute; left: 10%; right: 10%; top: 18%; bottom: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,229,160,0.28), transparent); filter: blur(10px); }
.app-ph { position: relative; flex: none; }
.app-phones .app-ph-c { width: 42%; max-width: 260px; z-index: 2; margin: 0 -5%; }
.app-phones .app-ph-l, .app-phones .app-ph-r { width: 33%; max-width: 205px; margin-bottom: 1.5rem; }
.app-ph-l { transform: rotate(-5deg); }
.app-ph-r { transform: rotate(5deg); }
.app-ph .gg-phone-body { padding: 7px; border-radius: 30px; }
.app-ph .gg-phone-body::before { top: 13px; width: 54px; height: 14px; margin-left: -27px; }
.app-ph .gg-phone-screen { border-radius: 24px; }
.app-ph .gg-video-btn { width: 56px; height: 56px; }
@media (max-width: 960px) { .app-grid { grid-template-columns: 1fr; } .app-phones { max-width: 560px; margin: 0 auto; width: 100%; } }

/* ── Confianza en banda oscura ── */
.trust-band { background: var(--g-deep); color: #fff; }
.trust-band .section-title { color: #fff; }
.trust-band .section-sub { color: rgba(237,242,249,0.8); }
.trust-band .tp-card { background: rgba(255,255,255,0.04); border-color: var(--g-line); box-shadow: none; }
.trust-band .tp-ic { background: rgba(0,229,160,0.12); }
.trust-band .tp-ic svg { color: var(--acc); }
.trust-band .tp-card h3 { color: #fff; }
.trust-band .tp-card p { color: rgba(237,242,249,0.8); }
.trust-band .tp-card strong { color: #fff; }
.trust-band .tp-early { color: rgba(237,242,249,0.8); }
.trust-band .tp-early strong { color: var(--acc); }

/* ── Acceso: mismo verde de marca (solo en la home; /empezar tiene su propio estilo) ── */
#acceso:not(.emp-section) { background: var(--g-forest); border-color: var(--g-line); --bg: var(--g-deep); --surface: var(--g-panel); --surface-2: #0F3528; --line: var(--g-line); --muted: var(--g-muted); }

/* ── Pausa de vídeos (WCAG 2.2.2): botón discreto sobre cada vídeo en bucle ── */
.accion-tab::after { transition: transform .3s linear; }
/* Caja de alta de la home: misma paleta verde que el resto de la web */
.auth-section { --bg: #03110C; --bg-2: #04140E; --surface: #0A2419; --line: rgba(160,205,188,0.16); }
@media (max-width: 420px) { .auth-tab { font-size: .86rem; padding: .55rem .4rem; white-space: nowrap; } }
