/* =====================================================================
   PolTraders — estilo del sitio público
   Mismo lenguaje que el bloque "Partner NinjaTrader": negro cálido,
   un solo dorado, Geist + Instrument Serif (acentos) + Geist Mono (etiquetas).
   ===================================================================== */

@font-face { font-family: 'Evogria'; src: url('../fonts/evogria.otf') format('opentype'); font-display: swap; }

:root {
    --bg: #0b0a08;
    --bg-2: #100f0c;
    --surface: #15130f;
    --surface-2: #1b1914;
    --line: rgba(245, 230, 200, .08);
    --line-2: rgba(245, 230, 200, .14);
    --text: #f4efe4;
    --text-2: #b7afa0;
    --text-3: #807868;
    --gold: #e8b12a;
    --gold-hi: #f6cf62;
    --gold-ink: #1d1503;
    --gold-soft: rgba(232, 177, 42, .10);
    --gold-line: rgba(232, 177, 42, .28);

    --f-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-serif: 'Instrument Serif', Georgia, serif;
    --f-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
    --shadow: 0 40px 80px -24px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(20, 12, 0, .6);
    --gutter: clamp(20px, 4vw, 40px);
    --nav-h: 64px;
    color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
    margin: 0; min-height: 100vh;
    background:
        radial-gradient(1100px 700px at 70% -220px, rgba(232, 177, 42, .13), transparent 70%),
        var(--bg);
    color: var(--text);
    font-family: var(--f-sans); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
body::after {
    content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

#site-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .7; }
header, main, footer { position: relative; z-index: 1; }

/* Idioma: mientras se traduce la página, no se muestra (evita el parpadeo en español) */
html.i18n-pending body { opacity: 0; }
body { transition: opacity .25s ease; }

/* Barra de progreso de lectura */
.pt-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
    background: linear-gradient(90deg, var(--gold), var(--gold-hi));
    transform-origin: 0 50%; transform: scaleX(var(--p, 0));
    box-shadow: 0 0 12px rgba(232, 177, 42, .6);
}

/* ---------- Utilidades ---------- */
.pt-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.pt-section { padding: clamp(72px, 9vw, 128px) 0; }
.pt-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .04em;
    color: var(--gold); margin-bottom: 18px;
}
.pt-eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.pt-serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--gold-hi); }
.pt-h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.045em; }
.pt-h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.06; letter-spacing: -.04em; }
.pt-h1 .pt-serif, .pt-h2 .pt-serif { font-size: 1.07em; }
.pt-lede { font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.7; color: var(--text-2); max-width: 54ch; text-wrap: pretty; }
.pt-section-head { max-width: 860px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.pt-section-head .pt-eyebrow { justify-content: center; }
.pt-section-head .pt-eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.pt-pill {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 14px; border-radius: 999px;
    font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
    color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line);
}
.pt-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Botones ---------- */
.pt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
    font-size: 15px; font-weight: 550; letter-spacing: -.01em; white-space: nowrap;
    transition: transform .25s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .25s;
}
.pt-btn i { font-size: .85em; transition: transform .25s var(--ease); }
.pt-btn:hover i.fa-arrow-right { transform: translateX(3px); }
.pt-btn:active { transform: translateY(1px) scale(.985); }
.pt-btn--lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.pt-btn--block { width: 100%; }
.pt-btn--gold {
    background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%); color: var(--gold-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 30px -10px rgba(232, 177, 42, .55);
}
.pt-btn--gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 40px -12px rgba(232, 177, 42, .7); }
.pt-btn--ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-2); color: var(--text); }
.pt-btn--ghost:hover { border-color: var(--gold-line); background: var(--gold-soft); transform: translateY(-2px); }

/* ---------- Menú ---------- */
header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px var(--gutter) 0; pointer-events: none; }
.nav-glass {
    pointer-events: auto; position: relative;
    max-width: 1320px; height: var(--nav-h); margin: 0 auto;
    display: flex; align-items: center; gap: 18px;
    padding: 0 12px 0 20px; border-radius: 18px; border: 1px solid transparent;
    transition: background .35s, border-color .35s, box-shadow .35s, height .35s var(--ease);
}
.nav-glass.scrolled, .nav-glass.menu-open {
    background: rgba(16, 15, 12, .74); border-color: var(--line);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04);
    backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.nav-glass.scrolled { height: 58px; }
.logo-img { height: 40px; width: auto; transition: transform .35s var(--ease); }
.logo a:hover .logo-img { transform: scale(1.04); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links > a, .nav-dropdown > a {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 13px; border-radius: 10px;
    font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap;
    transition: color .2s, background .2s;
}
.nav-links > a:hover, .nav-dropdown > a:hover { color: var(--text); background: rgba(255, 255, 255, .045); }
.nav-links a.active { color: var(--text); }
.nav-links > a.active::after, .nav-dropdown > a.active::after {
    content: ""; position: absolute; left: 50%; bottom: 3px; translate: -50% 0;
    width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
}
.nav-dropdown { position: relative; }
.nav-dropdown-arrow { font-size: 9px; opacity: .6; transition: transform .3s var(--ease); }
.nav-dropdown:hover .nav-dropdown-arrow, .nav-dropdown:focus-within .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-panel {
    position: absolute; top: calc(100% + 14px); left: 50%; width: 640px;
    opacity: 0; visibility: hidden; translate: -50% 8px; scale: .98; transform-origin: top center;
    transition: opacity .22s, translate .35s var(--ease), scale .35s var(--ease), visibility 0s .35s;
}
.nav-dropdown-panel::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav-dropdown:hover .nav-dropdown-panel, .nav-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1; visibility: visible; translate: -50% 0; scale: 1;
    transition: opacity .22s, translate .35s var(--ease), scale .35s var(--ease), visibility 0s;
}
.nav-dropdown-panel-inner {
    display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; padding: 8px; border-radius: 20px;
    background: rgba(20, 18, 14, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.nav-dropdown-eyebrow { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding: 10px 12px 6px; }
.nav-dropdown-item { display: flex; align-items: center; gap: 13px; padding: 10px 12px; border-radius: 12px; transition: background .2s; }
.nav-dropdown-item:hover { background: rgba(255, 255, 255, .045); }
.nav-dropdown-item-icon {
    flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px;
    background: var(--surface-2); border: 1px solid var(--line); color: var(--gold); font-size: 14px;
    transition: background .2s, border-color .2s, transform .35s var(--ease-spring);
}
.nav-dropdown-item:hover .nav-dropdown-item-icon { background: var(--gold-soft); border-color: var(--gold-line); transform: rotate(-8deg); }
.nav-dropdown-item-name { font-size: 14.5px; font-weight: 550; color: var(--text); }
.nav-dropdown-item-desc { font-size: 12.5px; color: var(--text-3); }
.nav-dropdown-highlight {
    display: flex; flex-direction: column; gap: 10px; justify-content: flex-end;
    padding: 20px; border-radius: 14px; border: 1px solid var(--line);
    background: radial-gradient(120% 80% at 100% 0%, rgba(232, 177, 42, .22), transparent 60%), var(--surface-2);
}
.nav-dropdown-highlight > i { color: var(--gold); margin-bottom: auto; }
.nav-dropdown-highlight-title { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.nav-dropdown-highlight p { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.nav-dropdown-highlight a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 550; color: var(--gold); }
.nav-dropdown-highlight a i { font-size: .8em; transition: transform .25s var(--ease); }
.nav-dropdown-highlight a:hover i { transform: translateX(3px); }
.btn-login {
    margin-left: 8px; height: 38px; padding: 0 16px !important; border-radius: 10px !important;
    background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%); color: var(--gold-ink) !important; font-weight: 600 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 22px -10px rgba(232, 177, 42, .6);
    transition: transform .25s var(--ease), box-shadow .25s !important;
}
.btn-login:hover { transform: translateY(-1px); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%) !important; }
.nav-user { margin-left: 6px; padding: 3px !important; border-radius: 50% !important; border: 1px solid var(--line-2); }
.nav-user-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.social-icons { display: flex; align-items: center; gap: 4px; padding-left: 14px; border-left: 1px solid var(--line); }
.social-icons a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--text-3); font-size: 14px; transition: color .2s, background .2s, transform .25s var(--ease); }
.social-icons a:hover { color: var(--gold); background: var(--gold-soft); transform: translateY(-2px); }
.social-divider { display: none; }

/* Selector de idioma */
.pt-lang { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); flex: none; }
.pt-lang button {
    display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 7px;
    font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--text-3);
    transition: color .2s, background .25s;
}
.pt-lang button img { width: 16px; height: 12px; border-radius: 2px; opacity: .6; transition: opacity .2s; }
.pt-lang button:hover { color: var(--text); }
.pt-lang button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.pt-lang button[aria-pressed="true"] img { opacity: 1; }

/* Menú móvil */
#btn-hamburguesa { display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
#btn-hamburguesa span { display: block; width: 20px; height: 1.5px; border-radius: 2px; background: var(--text); transition: transform .35s var(--ease), opacity .2s; }
#btn-hamburguesa.activo span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#btn-hamburguesa.activo span:nth-child(2) { opacity: 0; }
#btn-hamburguesa.activo span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
#menu-movil-desplegable {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    display: flex; flex-direction: column; padding: 10px;
    border-radius: 20px; background: rgba(18, 16, 13, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center;
    transition: opacity .25s, transform .4s var(--ease), visibility 0s .4s;
}
#menu-movil-desplegable.activado { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .4s var(--ease), visibility 0s; }
#menu-movil-desplegable > a { padding: 15px 16px; border-radius: 12px; font-size: 19px; font-weight: 550; letter-spacing: -.02em; transition: background .2s, color .2s; }
#menu-movil-desplegable > a.active { color: var(--gold); }
#menu-movil-desplegable > a:active { background: var(--gold-soft); }
.menu-movil-foot { display: flex; justify-content: center; padding: 14px 6px 6px; margin-top: 6px; border-top: 1px solid var(--line); }
@media (min-width: 1001px) { #menu-movil-desplegable { display: none; } }
@media (max-width: 1180px) { .social-icons { display: none; } }
@media (max-width: 1000px) {
    .nav-links, .pt-lang--nav { display: none; }
    #btn-hamburguesa { display: flex; }
}

/* ---------- Cinta de cotizaciones ---------- */
.pt-ticker { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); overflow: hidden; min-height: 48px; }
/* El iframe de TradingView no declara color-scheme: si hereda "dark" el navegador le pinta fondo blanco */
.pt-ticker iframe { color-scheme: light; }

/* ---------- Hero ---------- */
.pt-hero { padding: calc(var(--nav-h) + 40px) 0 clamp(48px, 6vw, 80px); }
.hero-wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(40px, 6vw, 88px); margin-top: clamp(48px, 7vw, 88px); }
.hero-copy .pt-pill { margin-bottom: 26px; }
.hero-copy .pt-h1 { margin-bottom: 24px; max-width: 15ch; }
.hero-copy .pt-lede { margin-bottom: 36px; }
.hero-visual { position: relative; display: flex; justify-content: center; --mx: .5; --my: .5; perspective: 1400px; }
.hero-visual::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    left: calc(var(--mx) * 100%); top: calc(var(--my) * 100%); width: 460px; height: 460px; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(232, 177, 42, .26), rgba(232, 177, 42, .06) 45%, transparent 70%);
    filter: blur(10px); opacity: .55; transition: left .25s ease, top .25s ease, opacity .35s ease;
}
.hero-visual:hover::before { opacity: 1; }
.monitor-stack {
    position: relative; width: min(420px, 100%); aspect-ratio: 4 / 5;
    transform: rotateX(calc(4deg + (.5 - var(--my)) * 10deg)) rotateY(calc(-8deg + (var(--mx) - .5) * 20deg));
    transform-style: preserve-3d; transition: transform .45s var(--ease);
    animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -12px; } }
.monitor-layer { position: absolute; inset: 0; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); }
.monitor-layer.layer-1 { transform: translate3d(18px, 18px, -40px); opacity: .7; }
.monitor-layer.layer-2 { transform: translate3d(36px, 36px, -80px); opacity: .4; }
.monitor-card {
    position: absolute; inset: 0; border-radius: 28px; overflow: hidden;
    box-shadow: var(--shadow), 0 0 0 1px var(--line-2); transform: translateZ(0);
    transition: box-shadow .35s;
}
.monitor-card::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, .2) 50%, transparent 66%) -200% 0 / 200% 100% no-repeat,
        linear-gradient(180deg, transparent 55%, rgba(11, 10, 8, .55));
    transition: background-position 1.1s var(--ease);
}
.hero-visual:hover .monitor-card::after { background-position: 200% 0, 0 0; }
.hero-visual:hover .monitor-card { box-shadow: var(--shadow), 0 0 0 1px var(--gold-line); }
.monitor-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
@media (hover: none) { .monitor-stack { transform: rotateX(3deg) rotateY(-7deg); } }
@media (max-width: 900px) {
    .hero-wrap { grid-template-columns: 1fr; }
    .hero-visual { max-width: 400px; width: 100%; margin: 8px auto 0; }
}

/* ---------- Cifras ---------- */
#cifras { padding-bottom: clamp(24px, 4vw, 48px); }
.cifras-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .02); }
.cifra { padding: clamp(24px, 3.5vw, 40px) clamp(18px, 2.5vw, 32px); border-left: 1px solid var(--line); transition: background .35s; }
.cifra:first-child { border-left: 0; }
.cifra:hover { background: rgba(232, 177, 42, .045); }
.cifra b { display: block; font-family: var(--f-mono); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; color: var(--gold-hi); }
.cifra > span { display: block; margin-top: 12px; font-size: 14px; color: var(--text-2); }
@media (max-width: 760px) {
    .cifras-grid { grid-template-columns: 1fr 1fr; }
    .cifra:nth-child(3) { border-left: 0; }
    .cifra:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Partner NinjaTrader ---------- */
.ntp {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 40px;
    padding: clamp(32px, 5vw, 64px); border-radius: 28px;
    background: radial-gradient(60% 90% at 90% 50%, rgba(232, 177, 42, .10), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
}
.ntp__logos { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.ntp__tag { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line); padding: 4px 8px; border-radius: 5px; }
.ntp__mark { font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.ntp__title { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; margin-bottom: 16px; }
.ntp__serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: -.01em; color: var(--gold-hi); }
.ntp__lede { font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.65; color: var(--text-2); max-width: 48ch; margin-bottom: 30px; }
.ntp__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.ntp__chip, .pt-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 13.5px; color: var(--text-2); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.ntp__chip i, .pt-chip i { color: var(--gold); font-size: 12px; }
.ntp__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ntp__img img {
    width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6));
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent);
    transition: transform 1s var(--ease);
}
.ntp:hover .ntp__img img { transform: translateY(-6px) scale(1.01); }
@media (max-width: 880px) { .ntp { grid-template-columns: 1fr; } }

/* ---------- Testimonios ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
    --mx: 50%; --my: 50%;
    position: relative; isolation: isolate; margin: 0;
    display: flex; flex-direction: column; gap: 22px; padding: 30px; border-radius: 22px;
    background: var(--surface); border: 1px solid var(--line);
    transition: transform .45s var(--ease), border-color .3s;
}
.feature-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0;
    background: radial-gradient(380px circle at var(--mx) var(--my), rgba(232, 177, 42, .12), transparent 60%);
    transition: opacity .3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.feature-card:hover::before { opacity: 1; }
.feature-card__top { display: flex; justify-content: space-between; align-items: center; }
.feature-card__top > i { color: var(--gold); font-size: 22px; }
.stars { color: var(--gold); font-size: 11px; letter-spacing: 2px; }
.feature-card blockquote { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text-2); text-wrap: pretty; }
.feature-card__who { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.feature-card__who img { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; }
.feature-card__who strong { display: block; font-size: 15px; font-weight: 600; }
.feature-card__who small { display: block; font-size: 13px; color: var(--text-3); }
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Aviso legal ---------- */
.riesgo-card { max-width: 900px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.riesgo-title { display: flex; flex-direction: column; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.03em; margin-bottom: 24px; }
.riesgo-title .pt-eyebrow { margin-bottom: 12px; }
.legal-accordion { border-top: 1px solid var(--line); }
.legal-item { border-bottom: 1px solid var(--line); }
.legal-item-toggle { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 4px; text-align: left; transition: color .2s; }
button.legal-item-toggle:hover { color: var(--gold-hi); }
.legal-num { flex: none; width: 24px; font-family: var(--f-mono); font-size: 12.5px; color: var(--text-3); }
.legal-title { display: flex; align-items: center; gap: 12px; font-size: 16.5px; font-weight: 500; letter-spacing: -.01em; }
.legal-item-icon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--gold-soft); color: var(--gold); font-size: 12px; }
.legal-chev { margin-left: auto; font-size: 12px; color: var(--text-3); transition: transform .4s var(--ease), color .2s; }
.legal-item.open .legal-chev { transform: rotate(45deg); color: var(--gold); }
.legal-item-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.legal-item.open .legal-item-body { grid-template-rows: 1fr; }
.legal-item-body-inner { overflow: hidden; }
.legal-item-body-inner p { padding-left: 40px; margin-bottom: 12px; font-size: 15px; line-height: 1.75; color: var(--text-2); max-width: 70ch; }
.legal-item-body-inner p:last-child { margin-bottom: 22px; }
.legal-item-body-inner p.terminos-note { color: var(--text); }
@media (max-width: 560px) { .legal-item-body-inner p { padding-left: 0; } .legal-num { display: none; } }

/* ---------- Pie ---------- */
.pt-footer { padding: 24px var(--gutter) 40px; }
.pt-footer__box { max-width: 1240px; margin: 0 auto; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); }
.pt-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 32px; }
.pt-footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--gold); font-weight: 700; letter-spacing: .08em; font-size: 17px; }
.pt-footer__brand p { font-size: 14.5px; color: var(--text-2); max-width: 40ch; margin-bottom: 18px; }
.pt-footer__contact { display: grid; gap: 10px; }
.pt-footer__contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); transition: color .2s; }
.pt-footer__contact a i { color: var(--gold); width: 16px; }
.pt-footer__contact a:hover { color: var(--gold-hi); }
.pt-footer__head { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.pt-footer__links { display: grid; gap: 11px; }
.pt-footer__links a { font-size: 14.5px; color: var(--text-2); width: fit-content; transition: color .2s, transform .25s var(--ease); }
.pt-footer__links a:hover { color: var(--gold-hi); transform: translateX(3px); }
.pt-footer__socials { display: flex; gap: 8px; }
.footer-social-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--text-2); transition: color .2s, border-color .2s, background .2s, transform .25s var(--ease); }
.footer-social-icon:hover { color: var(--gold); border-color: var(--gold-line); background: var(--gold-soft); transform: translateY(-3px); }
.pt-footer__copy { padding-top: 22px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--text-3); }
@media (max-width: 760px) { .pt-footer__grid { grid-template-columns: 1fr 1fr; } .pt-footer__brand { grid-column: span 2; } }

/* ---------- WhatsApp ---------- */
.whatsapp-chat-float { position: fixed; right: 20px; bottom: 20px; z-index: 110; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
/* El contenedor ocupa el hueco del chat aunque esté cerrado: solo sus hijos reciben clics
   (si no, tapaba botones de la página, p. ej. "Iniciar sesión" en móvil) */
.whatsapp-chat-float > * { pointer-events: auto; }
.whatsapp-float-btn {
    position: relative; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
    background: #1fa855; color: #fff; font-size: 27px;
    box-shadow: 0 16px 32px -10px rgba(31, 168, 85, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .35s var(--ease-spring), border-radius .35s var(--ease);
}
.whatsapp-float-btn:hover { transform: translateY(-3px) scale(1.04); border-radius: 50%; }
.wa-badge { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700; border: 2px solid var(--bg); }
.chat-bubble {
    width: min(330px, calc(100vw - 40px)); padding: 12px; border-radius: 20px;
    background: rgba(20, 18, 14, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transform-origin: bottom right;
    transition: opacity .25s, transform .4s var(--ease), visibility 0s .4s;
}
.chat-bubble.active { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .4s var(--ease), visibility 0s; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 14px; }
.header-left { display: flex; align-items: center; gap: 12px; }
.whatsapp-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #1fa855; font-size: 20px; }
.wa-id { display: flex; flex-direction: column; }
.wa-name { font-weight: 600; font-size: 15px; }
.wa-status { font-size: 12.5px; color: #5ad68e; }
.close-btn { width: 32px; height: 32px; border-radius: 9px; font-size: 20px; color: var(--text-3); transition: background .2s, color .2s; }
.close-btn:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.chat-body { padding: 14px; margin-bottom: 12px; border-radius: 14px; background: var(--bg-2); }
.message { position: relative; padding: 12px 14px 22px; border-radius: 4px 14px 14px 14px; background: var(--surface-2); font-size: 14px; line-height: 1.55; }
.message p + p { margin-top: 8px; }
.msg-time { position: absolute; right: 10px; bottom: 5px; font-size: 11px; color: var(--text-3); }
.msg-time i { color: #53bdeb; }
.open-chat-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 12px; background: #1fa855; color: #fff; font-weight: 600; transition: background .2s; }
.open-chat-btn:hover { background: #22b95d; }

/* ---------- Animaciones de entrada y scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-hero] { opacity: 0; transform: translateY(20px); animation: hero-in 1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 100ms + 100ms); }
@keyframes hero-in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js [data-reveal], .js [data-hero] { opacity: 1; transform: none; }
}

/* =====================================================================
   Páginas internas
   ===================================================================== */
.pt-hero--page { padding-bottom: clamp(56px, 7vw, 96px); }
.pt-section-head--page { margin-top: clamp(56px, 7vw, 88px); }
.pt-section-head--page .pt-h1 { font-size: clamp(2.4rem, 5vw, 4rem); }

/* ---------- Servicios: selector de planes ---------- */
.pricing-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.plan-btn {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
    min-width: 150px; padding: 18px 20px 16px; border-radius: 16px;
    background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
    transition: transform .35s var(--ease), border-color .25s, background .25s, box-shadow .3s;
}
.plan-btn:hover { transform: translateY(-3px); border-color: var(--gold-line); background: var(--surface-2); }
.plan-btn-icon { font-size: 18px; color: var(--gold); transition: transform .4s var(--ease-spring); }
.plan-btn:hover .plan-btn-icon { transform: scale(1.15) rotate(-6deg); }
.plan-btn-name { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--text); max-width: 150px; line-height: 1.25; text-align: center; }
.plan-btn-price { font-family: var(--f-mono); font-size: 13px; color: var(--text-3); }
.plan-btn-tag {
    position: absolute; top: -10px; left: 50%; translate: -50% 0;
    font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .08em;
    background: var(--gold); color: var(--gold-ink); padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.plan-btn.active {
    background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%); border-color: var(--gold);
    box-shadow: 0 14px 34px -14px rgba(232, 177, 42, .7);
}
.plan-btn.active .plan-btn-icon, .plan-btn.active .plan-btn-name { color: var(--gold-ink); }
.plan-btn.active .plan-btn-price { color: rgba(29, 21, 3, .7); }
.plan-btn.active .plan-btn-tag { background: var(--gold-ink); color: var(--gold-hi); }
/* En móvil: cuadrícula de 3 + 2 donde se ven todos los planes a la vez
   (antes era una fila deslizable y los extremos y la etiqueta "POPULAR" quedaban cortados) */
@media (max-width: 760px) {
    .pricing-controls { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 8px; padding-top: 10px; margin-bottom: 32px; }
    .plan-btn { grid-column: span 2; min-width: 0; padding: 16px 6px 12px; border-radius: 14px; gap: 5px; }
    .plan-btn:nth-child(4), .plan-btn:nth-child(5) { grid-column: span 3; }
    .plan-btn-name { font-size: 11px; letter-spacing: .02em; max-width: 100%; overflow-wrap: anywhere; }
    .plan-btn-price { font-size: 12px; }
    .plan-btn-tag { font-size: 9px; padding: 2px 7px; top: -9px; }
}

/* ---------- Servicios: tarjetas ---------- */
.pricing-grid-expanded { position: relative; display: flex; justify-content: center; perspective: 1900px; }
.plan-card {
    --prx: 0deg; --pry: 0deg;
    position: absolute; top: 0; width: 100%; max-width: 960px;
    padding: clamp(28px, 5vw, 56px); border-radius: 28px; scroll-margin-top: 110px;
    background: radial-gradient(70% 50% at 50% 0%, rgba(232, 177, 42, .10), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transform: translateY(16px) scale(.98);
    transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.plan-card.active { position: relative; opacity: 1; pointer-events: auto; transform: rotateX(var(--prx)) rotateY(var(--pry)); }
.plan-card--popular { border-color: var(--gold-line); }
.most-popular-badge {
    position: absolute; top: -14px; left: 50%; translate: -50% 0; z-index: 2;
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px;
    background: var(--gold); color: var(--gold-ink); font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; white-space: nowrap;
    box-shadow: 0 10px 24px -10px rgba(232, 177, 42, .8);
}
.plan-header { text-align: center; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.plan-name { font-family: 'Evogria', var(--f-sans); font-size: clamp(1.2rem, 2.4vw, 1.7rem); letter-spacing: .04em; color: var(--text); margin-bottom: 14px; }
.plan-price { font-family: var(--f-mono); font-size: clamp(2.8rem, 6vw, 4.2rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--gold-hi); }
.plan-price span { font-family: var(--f-sans); font-size: 16px; letter-spacing: 0; color: var(--text-3); }
.plan-sub { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.plan-badge {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 14px; border-radius: 999px;
    font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em;
    color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line);
    transition: background .2s;
}
a.plan-badge:hover { background: rgba(232, 177, 42, .18); }
.plan-intro { max-width: 70ch; margin: 0 auto 36px; text-align: center; display: grid; gap: 12px; }
.plan-intro p { color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.plan-intro .plan-intro-lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.45; color: var(--text); letter-spacing: -.01em; }
.plan-intro strong { color: var(--gold-hi); font-weight: 600; }
.plan-section-title { display: flex; align-items: center; gap: 12px; margin: 8px 0 16px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
.plan-section-title i { color: var(--gold); }
.plan-section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.plan-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.plan-feature-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: rgba(0, 0, 0, .18); border: 1px solid var(--line); transition: border-color .25s, background .25s, transform .35s var(--ease); }
.plan-feature-item:hover { border-color: var(--gold-line); background: rgba(232, 177, 42, .04); transform: translateY(-2px); }
.plan-feature-item > i { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--gold-soft); color: var(--gold); font-size: 13px; }
.plan-feature-title { font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.plan-feature-desc { margin-top: 4px; font-size: 14px; color: var(--text-2); line-height: 1.55; }
.plan-benefits-v2 { margin-bottom: 20px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, rgba(232, 177, 42, .08), rgba(232, 177, 42, .02)); border: 1px solid var(--gold-line); }
.plan-benefits-v2 .plan-section-title { margin-top: 0; color: var(--gold); }
.plan-benefits-v2 .plan-section-title::after { background: var(--gold-line); }
.plan-box-lead { color: var(--text-2); margin-bottom: 12px; font-size: 15px; }
.plan-benefits-v2 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan-benefits-v2 li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); line-height: 1.5; }
.plan-benefits-v2 li i { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: var(--gold); color: var(--gold-ink); font-size: 10px; margin-top: 2px; }
.plan-tagline { margin-top: 16px; font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--gold-hi); }
.plan-investment-box { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; text-align: center; }
.plan-investment-box span { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 4px; }
.plan-investment-box strong { font-family: var(--f-mono); font-weight: 500; font-size: 18px; letter-spacing: -.02em; color: var(--text); }
.divider-v { width: 1px; height: 44px; background: var(--gold-line); }
.plan-payment-info { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--line-2); font-size: 14px; color: var(--text-2); }
.plan-payment-info i { color: var(--gold); }
.plan-cta-btn { margin-top: 8px; }
@media (max-width: 700px) {
    .plan-feature-list { grid-template-columns: 1fr; }
    .plan-investment-box { grid-template-columns: 1fr; }
    .divider-v { width: 100%; height: 1px; }
}

/* Copier: la tarjeta se da la vuelta */
#copier { background: none; border: 0; box-shadow: none; padding: 0; transform-style: preserve-3d; cursor: pointer; transition: opacity .45s var(--ease), transform .7s var(--ease); }
#copier.active { transform: rotateY(0deg); }
#copier.flipped { transform: rotateY(180deg); }
#copier .pc-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 28px; }
#copier .pc-front {
    position: relative; padding: clamp(28px, 5vw, 56px);
    background: radial-gradient(70% 50% at 50% 0%, rgba(232, 177, 42, .10), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
#copier .pc-back {
    position: absolute; inset: 0; transform: rotateY(180deg);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 22px;
    background: var(--bg-2); border: 1px solid var(--gold-line); box-shadow: var(--shadow); overflow: hidden;
}
#copier .pc-back img { max-width: 100%; max-height: calc(100% - 46px); object-fit: contain; border-radius: 12px; border: 1px solid var(--line); }
#copier .pc-back-tag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
#copier .pc-back.no-img::before { content: "PolTraders Copier"; font-family: var(--f-serif); font-style: italic; font-size: 30px; color: var(--text-2); }
#copier .pc-hint {
    position: absolute; top: 18px; right: 18px; z-index: 3; pointer-events: none;
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
    color: var(--text); background: rgba(0, 0, 0, .35); border: 1px solid var(--gold-line);
}
#copier .pc-hint i { color: var(--gold); }
#copier .pc-back .pc-hint { right: auto; left: 18px; }
#copier:focus-visible { outline: 2px solid var(--gold); outline-offset: 8px; border-radius: 30px; }
@media (max-width: 820px) {
    #copier .pc-back { padding: 14px; }
    #copier.flipped .pc-back { position: relative; inset: auto; }
    #copier.flipped .pc-front { position: absolute; inset: 0; visibility: hidden; pointer-events: none; }
    #copier .pc-back img { width: 100%; height: auto; max-height: none; }
}
/* En móvil la etiqueta "Ver preview" / "Volver" va en su propia línea, centrada,
   en vez de flotar en la esquina tapando el nombre del plan */
@media (max-width: 640px) {
    #copier .pc-front .pc-hint { position: static; display: flex; width: fit-content; margin: 0 auto 18px; }
    #copier .pc-back .pc-hint { position: static; align-self: center; }
}

/* ---------- Nosotros ---------- */
.pt-section--flush { padding-top: 0; }
.about-head .pt-h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.about-head .pt-lede { margin: 22px auto 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.value-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 44px;
    padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
    font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25;
    transition: transform .45s var(--ease), border-color .3s, background .3s;
}
.value-card i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold); font-size: 19px; transition: transform .5s var(--ease-spring); }
.value-card:hover { transform: translateY(-6px); border-color: var(--gold-line); background: var(--surface-2); }
.value-card:hover i { transform: rotate(-10deg) scale(1.08); }
.about-statement {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center;
    padding: clamp(28px, 5vw, 56px); border-radius: 28px;
    background: radial-gradient(60% 90% at 0% 0%, rgba(232, 177, 42, .10), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
}
.about-statement h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.035em; line-height: 1.1; }
.about-statement h3 .pt-serif { display: block; font-size: 1.06em; }
.about-statement p { color: var(--text-2); font-size: 16px; line-height: 1.75; }
@media (max-width: 820px) { .values-grid, .about-statement { grid-template-columns: 1fr; } .value-card { gap: 24px; } }

.founder-card {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px); align-items: center;
    padding: clamp(20px, 3vw, 32px); border-radius: 32px; background: var(--surface); border: 1px solid var(--line);
}
.founder-card__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; }
.founder-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1.4s var(--ease); }
.founder-card:hover .founder-card__photo img { transform: scale(1.04); }
.founder-card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(11, 10, 8, .55)); }
.founder-card__body { padding: clamp(4px, 2vw, 24px) clamp(4px, 3vw, 40px) clamp(4px, 2vw, 24px) 0; }
.founder-card__body .pt-pill { margin-bottom: 22px; }
.founder-card__body h3 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.045em; margin-bottom: 22px; }
.founder-card__body p { color: var(--text-2); font-size: 16px; line-height: 1.75; max-width: 60ch; }
.founder-card__body p + p { margin-top: 14px; }
@media (max-width: 860px) { .founder-card { grid-template-columns: 1fr; } .founder-card__photo { max-width: 440px; } .founder-card__body { padding: 0 8px 12px; } }

/* ---------- Términos ---------- */
.terms-hero .pt-pill { margin-bottom: 24px; }
.terms-hero .pt-lede { margin: 20px auto 0; }
.terms-updated { display: inline-block; margin-top: 20px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.riesgo-card--doc .legal-item-toggle { cursor: default; padding-top: 26px; }
.riesgo-card--doc .legal-title { font-size: 19px; font-weight: 600; }
.riesgo-card--doc .legal-item-body-inner p { font-size: 16px; }

/* ---------- PropFirms ---------- */
.pf { max-width: 1120px; margin: 0 auto; }

/* Hero: texto + órbita de logos */
.pf-hero {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(32px, 5vw, 72px);
    margin-top: clamp(48px, 6vw, 80px);
}
.pf-hero .pt-pill { margin-bottom: 24px; }
.pf-hero .pt-h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); max-width: 13ch; }
.pf-hero .pt-lede { margin-top: 20px; }
.pf-hero .pt-lede strong { color: var(--gold-hi); font-family: var(--f-mono); font-weight: 500; letter-spacing: .04em; }
.pf-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

/* Cupón con el código */
.pf-ticket {
    --notch: 13px;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: stretch; margin-top: 32px; border-radius: 18px;
    background: linear-gradient(135deg, #2a2213, #17140e 60%);
    border: 1px solid var(--gold-line);
    box-shadow: 0 24px 50px -24px rgba(232, 177, 42, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
    -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - 118px) 0, transparent 98%, #000) top / 100% 51% no-repeat,
                  radial-gradient(circle var(--notch) at calc(100% - 118px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
            mask: radial-gradient(circle var(--notch) at calc(100% - 118px) 0, transparent 98%, #000) top / 100% 51% no-repeat,
                  radial-gradient(circle var(--notch) at calc(100% - 118px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
    transition: transform .35s var(--ease), box-shadow .35s;
}
.pf-ticket::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, rgba(246, 207, 98, .22) 45%, transparent 60%) -150% 0 / 60% 100% no-repeat;
    animation: pf-shine 4.5s ease-in-out infinite;
}
@keyframes pf-shine { 0%, 55% { background-position: -150% 0; } 100% { background-position: 250% 0; } }
.pf-ticket:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 30px 60px -24px rgba(232, 177, 42, .6), inset 0 1px 0 rgba(255, 255, 255, .08); }
.pf-ticket:active { transform: scale(.98); }
.pf-ticket__main { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 28px 16px 24px; }
.pf-ticket .lbl { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.pf-ticket .txt { font-family: var(--f-mono); font-size: clamp(22px, 2.6vw, 28px); font-weight: 500; letter-spacing: .12em; color: var(--gold-hi); line-height: 1.1; }
.pf-ticket__stub {
    width: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    border-left: 2px dashed rgba(232, 177, 42, .35); background: linear-gradient(180deg, var(--gold-hi), var(--gold));
    color: var(--gold-ink); font-size: 13px; font-weight: 600;
}
.pf-ticket__stub i { font-size: 18px; transition: transform .4s var(--ease-spring); }
.pf-ticket:hover .pf-ticket__stub i { transform: scale(1.15) rotate(-8deg); }
.pf-ticket.copied { border-color: #2d9b5a; }
.pf-ticket.copied .txt { color: #7fe0a6; }
.pf-ticket.copied .pf-ticket__stub { background: linear-gradient(180deg, #5fd48f, #2d9b5a); color: #04210f; }

/* Órbita decorativa */
.pf-orbit { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin: 0 auto; }
.pf-orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed var(--gold-line); }
.pf-orbit__ring--outer { inset: 6%; animation: pf-spin 60s linear infinite; }
.pf-orbit__ring--inner { inset: 26%; border-style: solid; border-color: var(--line-2); animation: pf-spin 40s linear infinite reverse; }
.pf-orbit::before {
    content: ""; position: absolute; inset: 22%; border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 177, 42, .32), rgba(232, 177, 42, .06) 55%, transparent 72%);
    filter: blur(8px); animation: pf-pulse 5s ease-in-out infinite;
}
@keyframes pf-pulse { 50% { transform: scale(1.08); opacity: .75; } }
.pf-orbit__core {
    position: absolute; inset: 31%; border-radius: 50%; display: grid; place-content: center; text-align: center;
    background: radial-gradient(circle at 30% 25%, #2b2415, #120f0a 70%); border: 1px solid var(--gold-line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.pf-orbit__core .up, .pf-orbit__core .off { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.pf-orbit__core b { font-family: var(--f-mono); font-weight: 500; font-size: clamp(38px, 5vw, 56px); letter-spacing: -.05em; line-height: 1; color: var(--gold-hi); text-shadow: 0 0 30px rgba(232, 177, 42, .45); }
.pf-orbit__track { position: absolute; inset: 6%; animation: pf-spin 36s linear infinite; }
.pf-orbit__arm { position: absolute; inset: 0; transform: rotate(var(--a)); }
.pf-orbit__logo {
    position: absolute; top: 0; left: 50%; width: 58px; height: 58px;
    transform: translate(-50%, -50%) rotate(calc(-1 * var(--a)));
}
.pf-orbit__logo img {
    display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; background: #fff;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
    animation: pf-spin 36s linear infinite reverse;
}
@keyframes pf-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
    .pf-hero { grid-template-columns: 1fr; text-align: center; }
    .pf-hero .pt-h1, .pf-hero .pt-lede { margin-inline: auto; }
    .pf-trust { justify-content: center; }
    .pf-orbit { width: min(250px, 70%); order: -1; margin: -12px auto -16px; }
    .pf-orbit__core b { font-size: 34px; }
    .pf-orbit__logo { width: 40px; height: 40px; }
    .pf-orbit__logo img { border-radius: 13px; }
}

/* Lista de firmas: tarjetas tipo cupón */
.pf-firms { margin-top: clamp(56px, 7vw, 96px); display: grid; gap: 14px; counter-reset: firm; }
.pf-firm {
    --mx: 50%; --my: 50%;
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: 24px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
    transition: border-color .3s, transform .5s var(--ease), box-shadow .4s;
}
.pf-firm::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(232, 177, 42, .11), transparent 60%);
}
.pf-firm:hover { border-color: var(--gold-line); transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.pf-firm:hover::before { opacity: 1; }
.pf-firm.open { border-color: var(--gold-line); }
.pf-firm-main { display: grid; grid-template-columns: minmax(0, 1fr) 170px auto; align-items: center; gap: 0; padding: 22px 24px 8px; }
.pf-id { display: flex; align-items: center; gap: 16px; min-width: 0; padding-right: 20px; }
.pf-idx { font-family: var(--f-mono); font-size: 12px; color: var(--text-3); width: 20px; flex: none; }
.pf-logo { width: 64px; height: 64px; flex: none; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .8); transition: transform .5s var(--ease-spring); }
.pf-firm:hover .pf-logo { transform: rotate(-5deg) scale(1.06); }
.pf-logo img { width: 100%; height: 100%; object-fit: cover; }
.pf-name { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.pf-kind { margin-top: 2px; font-size: 13.5px; color: var(--text-3); }
.pf-kind i { color: var(--gold); margin-right: 5px; font-size: 11px; }
/* Talón del cupón con el descuento */
.pf-disc {
    position: relative; align-self: stretch; margin: -22px 0 -8px; padding: 18px 20px;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    border-left: 2px dashed var(--line-2); border-right: 2px dashed var(--line-2);
    background: radial-gradient(80% 70% at 50% 50%, rgba(232, 177, 42, .09), transparent 75%);
}
.pf-disc .up { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.pf-disc b { font-family: var(--f-mono); font-size: 42px; font-weight: 500; letter-spacing: -.05em; line-height: 1.05; color: var(--gold-hi); }
.pf-disc small { font-size: 12.5px; color: var(--text-2); }
.pf-cta { display: flex; gap: 8px; padding-left: 20px; }
.pf-code {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px;
    border: 1.5px dashed var(--gold-line); background: var(--gold-soft);
    font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; color: var(--gold-hi);
    transition: background .2s, border-color .2s, transform .25s var(--ease);
}
.pf-code:hover { background: rgba(232, 177, 42, .18); border-color: var(--gold); transform: translateY(-2px); }
.pf-code.copied, .pf-float__btn.copied { border-style: solid; border-color: #2d9b5a; background: rgba(45, 155, 90, .16); color: #7fe0a6; }
.pf-web {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px;
    background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%); color: var(--gold-ink); font-size: 14px; font-weight: 600; white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 24px -12px rgba(232, 177, 42, .7);
    transition: transform .25s var(--ease), box-shadow .25s;
}
.pf-web:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 16px 32px -12px rgba(232, 177, 42, .8); }
.pf-web i { font-size: 11px; transition: transform .25s var(--ease); }
.pf-web:hover i { transform: translate(2px, -2px); }
.pf-more { display: inline-flex; align-items: center; gap: 8px; margin: 0 24px 0 60px; padding: 10px 0 16px; font-size: 13.5px; font-weight: 500; color: var(--text-3); transition: color .2s; }
.pf-more:hover { color: var(--gold-hi); }
.pf-more i { font-size: 10px; transition: transform .45s var(--ease); }
.pf-firm.open .pf-more i { transform: rotate(180deg); }
.pf-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.pf-firm.open .pf-detail { grid-template-rows: 1fr; }
.pf-detail-inner { overflow: hidden; margin: 0 24px 0 60px; }
.pf-firm.open .pf-detail-inner { padding: 20px 22px 22px; margin-bottom: 22px; border-radius: 16px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); }
.pf-detail h4 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 4px 0 10px; }
.pf-detail ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 20px; }
.pf-detail li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--text-2); }
.pf-detail li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--gold); }
.pf-detail p { font-size: 14.5px; color: var(--text-2); line-height: 1.7; max-width: 82ch; margin-bottom: 14px; }
.pf-detail strong { color: var(--text); font-weight: 600; }
.pf-detail .pct { color: var(--gold-hi); }
.pf-detail .vig { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: var(--text-2); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.pf-detail .vig i { color: var(--gold); }
/* Reglas de la cuenta (dentro de "Ver detalles") */
.pf-rules { margin: 6px 0 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.pf-rules__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pf-rules__tabs button { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: color .2s, background .25s, border-color .25s; }
.pf-rules__tabs button:hover { color: var(--text); border-color: var(--gold-line); }
.pf-rules__tabs button[aria-selected="true"] { color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: transparent; }
.pf-rules__panel { animation: pf-rules-in .35s var(--ease); }
@keyframes pf-rules-in { from { opacity: 0; transform: translateY(6px); } }
.pf-rules__note { display: flex; gap: 8px; align-items: baseline; font-size: 13.5px !important; color: var(--text-3) !important; margin: 0 0 12px !important; }
.pf-rules__note i { color: var(--gold); font-size: 12px; }
.pf-rules__scroll { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .18); }
.pf-rules__table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13.5px; }
.pf-rules__table th, .pf-rules__table td { padding: 11px 14px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.pf-rules__table thead th { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); background: rgba(232, 177, 42, .05); }
.pf-rules__table thead small { display: block; font-size: 9.5px; letter-spacing: .04em; text-transform: none; opacity: .8; }
.pf-rules__table tbody tr:last-child > * { border-bottom: 0; }
.pf-rules__table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.pf-rules__table tbody th { font-family: var(--f-mono); font-weight: 600; color: var(--gold-hi); }
.pf-rules__table td { font-family: var(--f-mono); color: var(--text-2); }
.pf-rules__table td.dd { color: #f3a597; }
.pf-rules__table s { color: var(--text-3); opacity: .7; font-size: .9em; margin-right: 4px; text-decoration-thickness: 1px; }
.pf-rules__table b.ok { color: #5ad68e; font-weight: 600; }
.pf-rules__table b.ok small { font-size: .78em; font-weight: 500; opacity: .8; margin-left: 1px; }
.pf-rules__table td.price b.ok { font-size: 1.06em; }
.pf-rules__table em.off { font-style: normal; font-size: 10.5px; margin-left: 4px; padding: 1px 6px; border-radius: 999px; color: #5ad68e; background: rgba(90, 214, 142, .12); }
.pf-rules__tabs button em { font-style: normal; font-family: var(--f-mono); font-size: 11px; margin-left: 4px; color: #5ad68e; }
.pf-rules__tabs button[aria-selected="true"] em { color: var(--gold-ink); opacity: .75; }
.pf-rules__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.pf-rules__group { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .02); border: 1px solid var(--line); }
.pf-rules__group h5 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--text); }
.pf-rules__group h5 i { color: var(--gold); font-size: 12px; }
.pf-rules__group dl { margin: 0; display: grid; gap: 0; }
.pf-rules__group dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .05); font-size: 13px; }
.pf-rules__group dl > div:first-child { border-top: 0; }
.pf-rules__group dt { color: var(--text-3); }
.pf-rules__group dd { margin: 0; color: var(--text); font-weight: 500; text-align: right; }
.pf-rules__src { display: flex; gap: 8px; align-items: baseline; margin: 14px 0 0 !important; font-size: 12.5px !important; color: var(--text-3) !important; }
.pf-rules__src i { color: var(--gold); }
@media (max-width: 980px) { .pf-rules__groups { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
    .pf-firm-main { grid-template-columns: minmax(0, 1fr) auto; padding: 18px 18px 8px; row-gap: 16px; }
    .pf-id { padding-right: 8px; }
    .pf-idx { display: none; }
    .pf-logo { width: 54px; height: 54px; border-radius: 15px; }
    .pf-disc { margin: 0; padding: 8px 0 8px 16px; border-right: 0; background: none; }
    .pf-disc b { font-size: 32px; }
    .pf-cta { grid-column: 1 / -1; padding-left: 0; }
    .pf-cta > * { flex: 1; justify-content: center; }
    .pf-more { margin: 0 18px; }
    .pf-detail-inner { margin: 0 18px; }
}

/* Chispas doradas al copiar */
.pf-spark {
    position: fixed; z-index: 200; width: 8px; height: 8px; margin: -4px 0 0 -4px; pointer-events: none;
    background: var(--gold-hi); border-radius: 2px;
    animation: pf-spark .85s var(--ease) forwards;
}
.pf-spark:nth-child(3n) { background: #fff3c4; border-radius: 50%; }
.pf-spark:nth-child(3n+1) { width: 5px; height: 10px; }
@keyframes pf-spark {
    from { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; }
    to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(.4); opacity: 0; }
}

/* Píldora flotante con el código */
.pf-float {
    position: fixed; left: 50%; bottom: 24px; z-index: 95;
    display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 999px;
    background: rgba(20, 18, 14, .92); border: 1px solid var(--gold-line); box-shadow: var(--shadow);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    opacity: 0; pointer-events: none; transform: translate(-50%, 16px) scale(.96);
    transition: opacity .3s, transform .45s var(--ease);
}
.pf-float.is-in { opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.pf-float__lbl { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.pf-float__btn {
    display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
    border: 1px dashed var(--gold-line); background: var(--gold-soft);
    font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; color: var(--gold-hi);
    transition: background .2s;
}
.pf-float__btn:hover { background: rgba(232, 177, 42, .2); }
body:has(.pt-consent.is-in) .pf-float { opacity: 0; pointer-events: none; }
@media (max-width: 640px) { .pf-float { left: 16px; transform: translate(0, 16px) scale(.96); } .pf-float.is-in { transform: none; } }

/* Pasos: línea de tiempo */
.pf-steps, .pf-faq { margin-top: clamp(80px, 10vw, 136px); }
.pf-steps .pt-h2, .pf-faq .pt-h2 { text-align: center; margin-bottom: clamp(36px, 4.5vw, 56px); }
.pf-steps-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pf-steps-line { position: absolute; left: 16.66%; right: 16.66%; top: 36px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.pf-steps-line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; box-shadow: 0 0 12px rgba(232, 177, 42, .6); }
.pf-steps-grid.is-drawn .pf-steps-line span { transform: scaleX(1); }
.pf-step { position: relative; text-align: center; padding: 0 12px; }
.pf-step .n {
    position: relative; z-index: 1; width: 72px; height: 72px; margin: 0 auto 26px; border-radius: 22px; display: grid; place-items: center;
    background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); color: var(--gold); font-size: 22px;
    transition: background .5s var(--ease), color .5s, border-color .5s, transform .5s var(--ease-spring);
    transition-delay: calc(var(--i) * 350ms + 200ms);
}
.pf-step .n em {
    position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
    font-style: normal; font-family: var(--f-mono); font-size: 12px; background: var(--bg); border: 1px solid var(--gold-line); color: var(--gold-hi);
}
.pf-steps-grid.is-drawn .pf-step .n { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--gold-ink); border-color: var(--gold); transform: translateY(-4px); }
.pf-step h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.pf-step p { font-size: 15px; color: var(--text-2); max-width: 32ch; margin: 0 auto; }
.pf-step strong { color: var(--gold-hi); font-family: var(--f-mono); font-weight: 500; }
@media (max-width: 760px) {
    .pf-steps-grid { grid-template-columns: 1fr; gap: 36px; }
    .pf-steps-line { left: 50%; right: auto; top: 36px; bottom: 60px; width: 2px; height: auto; }
    .pf-steps-line span { transform: scaleY(0); transform-origin: top; }
    .pf-steps-grid.is-drawn .pf-steps-line span { transform: scaleY(1); }
    .pf-step { background: var(--bg); padding-bottom: 4px; }
}

/* Preguntas frecuentes */
.pf-faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.pf-faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.pf-faq details:hover { border-color: var(--line-2); }
.pf-faq details[open] { border-color: var(--gold-line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.pf-faq summary { display: flex; justify-content: space-between; gap: 18px; padding: 20px 22px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 500; letter-spacing: -.01em; transition: color .2s; }
.pf-faq summary::-webkit-details-marker { display: none; }
.pf-faq summary:hover { color: var(--gold-hi); }
.pf-faq .chev { flex: none; width: 26px; height: 26px; margin-top: -2px; display: grid; place-items: center; border-radius: 8px; font-size: 11px; color: var(--text-3); background: rgba(255, 255, 255, .04); transition: transform .45s var(--ease), color .2s, background .2s; }
.pf-faq details[open] .chev { transform: rotate(45deg); color: var(--gold-ink); background: var(--gold); }
.pf-faq .a { padding: 0 22px 20px; font-size: 15px; line-height: 1.7; color: var(--text-2); animation: faq-in .45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 820px) { .pf-faq-list { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    .pf-orbit__ring, .pf-orbit__track, .pf-orbit__logo img, .pf-orbit::before, .pf-ticket::after { animation: none !important; }
}

/* ---------- Acceso (login, registro, contraseña) y estados de pago ---------- */
.page-auth { display: flex; flex-direction: column; min-height: 100vh; }
.auth-lang { position: fixed; top: 18px; right: 18px; z-index: 50; }
.auth-center { flex: 1; display: grid; place-items: center; padding: 88px var(--gutter) 32px; }
.auth-card {
    position: relative; width: 100%; max-width: 440px; padding: clamp(28px, 5vw, 44px);
    border-radius: 28px; text-align: center;
    background: radial-gradient(80% 50% at 50% 0%, rgba(232, 177, 42, .12), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.auth-card::before {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(160deg, rgba(232, 177, 42, .45), transparent 35%, transparent 70%, rgba(232, 177, 42, .2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.login-logo { display: inline-block; margin-bottom: 22px; }
.login-logo img { height: 54px; width: auto; }
.auth-card h2, .auth-card h1 { font-size: clamp(1.7rem, 3.4vw, 2.1rem); letter-spacing: -.035em; margin-bottom: 22px; }
.auth-card .subtitle { color: var(--text-2); font-size: 15px; margin: -10px 0 20px; }
.auth-form { display: grid; gap: 12px; text-align: left; }
.auth-form input[type="email"], .auth-form input[type="text"], .auth-form input[type="password"] {
    width: 100%; height: 52px; padding: 0 16px; border-radius: 12px;
    background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 15.5px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.auth-form input::placeholder { color: var(--text-3); }
.auth-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232, 177, 42, .14); background: rgba(0, 0, 0, .35); }
.auth-form input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 100px #16140f inset; }
.password-wrapper { position: relative; }
.password-wrapper input { padding-right: 52px !important; }
.password-toggle { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border-radius: 9px; color: var(--text-3); transition: color .2s, background .2s; }
.password-toggle:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.auth-form .pt-btn { margin-top: 6px; }
.remember-box { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 14px; color: var(--text-2); cursor: pointer; width: fit-content; }
.remember-box input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border-radius: 5px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.remember-box input::after { content: ""; width: 9px; height: 5px; border: 2px solid var(--gold-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--ease-spring); }
.remember-box input:checked { background: var(--gold); border-color: var(--gold); }
.remember-box input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.google-btn {
    display: flex; align-items: center; justify-content: center; gap: 12px; height: 52px; margin-top: 18px; border-radius: 12px;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); font-weight: 550; font-size: 15px;
    transition: border-color .2s, background .2s, transform .25s var(--ease);
}
.google-btn:hover { border-color: rgba(245, 230, 200, .28); background: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.google-logo { width: 20px; height: 20px; }
.links { margin-top: 22px; display: grid; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.links a { color: var(--gold); font-weight: 550; }
.links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.error, .success { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 13px 15px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; margin-bottom: 16px; }
.error { background: rgba(220, 80, 60, .1); border: 1px solid rgba(220, 80, 60, .32); color: #f3b3a8; }
.success { background: rgba(45, 155, 90, .1); border: 1px solid rgba(45, 155, 90, .35); color: #9fe3bb; }
.error i, .success i { margin-top: 3px; }
.hint { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.auth-footer { padding: 20px; text-align: center; font-size: 13px; color: var(--text-3); position: relative; z-index: 1; }

.status-card { max-width: 520px; }
.status-brand { font-family: var(--f-serif); font-style: italic; font-size: 28px; color: var(--gold-hi); margin-bottom: 18px; }
.success-icon, .cancel-icon { width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 24px; display: grid; place-items: center; font-size: 30px; }
.success-icon { background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold); box-shadow: 0 0 60px -10px rgba(232, 177, 42, .6); animation: pop .7s var(--ease-spring) .3s both; }
.cancel-icon { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--text-2); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.status-text { color: var(--text-2); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.status-text strong { color: var(--gold-hi); }
.extra-info { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-3); display: grid; gap: 6px; }

/* Las capas decorativas de la foto no deben crear scroll horizontal en móvil */
main { overflow-x: clip; }
@media (max-width: 900px) { .monitor-stack { width: calc(100% - 44px); margin-right: 44px; } .hero-copy .pt-h1 { max-width: none; } }
.hero-copy .pt-h1 { max-width: 17ch; }
@media (max-width: 520px) {
    .pt-pill { font-size: 10.5px; letter-spacing: .04em; border-radius: 12px; }
    .pt-actions .pt-btn, .ntp__actions .pt-btn { flex: 1 1 100%; }
    .pt-lang--menu button { height: 34px; }
}

/* ---------- Pie: enlaces legales ---------- */
.pt-footer__copy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; text-align: left; }
.pt-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.pt-footer__legal a, .pt-footer__legal button { font-size: 13px; color: var(--text-3); transition: color .2s; }
.pt-footer__legal a:hover, .pt-footer__legal button:hover { color: var(--gold-hi); }
@media (max-width: 640px) { .pt-footer__copy { flex-direction: column; text-align: center; } .pt-footer__legal { justify-content: center; } }

/* ---------- Aviso de cookies ---------- */
.pt-consent {
    position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 130;
    max-width: 980px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 28px;
    padding: 22px 24px; border-radius: 22px;
    background: rgba(20, 18, 14, .96); border: 1px solid var(--line-2); box-shadow: var(--shadow);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    opacity: 0; transform: translateY(24px); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.pt-consent.is-in { opacity: 1; transform: none; }
.pt-consent[hidden] { display: none; }
.pt-consent__title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--text); margin-bottom: 6px; }
.pt-consent__title i { color: var(--gold); }
.pt-consent__text p:not(.pt-consent__title) { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.pt-consent a, .pt-consent-modal a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.pt-consent__actions { display: flex; gap: 8px; }
.pt-consent__actions .pt-btn, .pt-consent-modal__actions .pt-btn { height: 44px; font-size: 14px; padding: 0 18px; }
@media (max-width: 820px) {
    .pt-consent { grid-template-columns: 1fr; left: 12px; right: 12px; bottom: 12px; padding: 18px; }
    .pt-consent__actions { flex-wrap: wrap; }
    .pt-consent__actions .pt-btn { flex: 1 1 30%; }
}
/* Mientras el aviso está abierto, el botón de WhatsApp sube para no taparlo */
body:has(.pt-consent.is-in) .whatsapp-chat-float { bottom: 150px; }
@media (max-width: 820px) { body:has(.pt-consent.is-in) .whatsapp-chat-float { bottom: 250px; } }

/* ---------- Panel de configuración ---------- */
.pt-consent-modal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 20px; }
.pt-consent-modal[hidden] { display: none; }
.pt-consent-modal__backdrop { position: absolute; inset: 0; background: rgba(5, 4, 3, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.pt-consent-modal__box {
    position: relative; width: 100%; max-width: 580px; max-height: calc(100dvh - 40px); overflow: auto;
    padding: 28px; border-radius: 24px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .3s, transform .45s var(--ease);
}
.pt-consent-modal.is-in .pt-consent-modal__backdrop, .pt-consent-modal.is-in .pt-consent-modal__box { opacity: 1; transform: none; }
.pt-consent-modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pt-consent-modal__head h2 { font-size: 24px; letter-spacing: -.03em; }
.pt-consent-modal__x { width: 36px; height: 36px; border-radius: 10px; color: var(--text-3); transition: background .2s, color .2s; }
.pt-consent-modal__x:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.pt-consent-modal__intro { font-size: 14.5px; color: var(--text-2); margin-bottom: 18px; }
.pt-consent-modal__list { display: grid; gap: 10px; margin-bottom: 22px; }
.pt-consent-cat { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px; border-radius: 14px; background: rgba(0, 0, 0, .2); border: 1px solid var(--line); cursor: pointer; }
.pt-consent-cat strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.pt-consent-cat small { display: block; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.pt-switch { position: relative; flex: none; width: 44px; height: 26px; }
.pt-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pt-switch__track { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); transition: background .25s; pointer-events: none; }
.pt-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease-spring); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.pt-switch input:checked + .pt-switch__track { background: var(--gold); }
.pt-switch input:checked + .pt-switch__track::after { transform: translateX(18px); }
.pt-switch input:disabled + .pt-switch__track { opacity: .55; }
.pt-switch input:focus-visible + .pt-switch__track { outline: 2px solid var(--gold); outline-offset: 3px; }
.pt-consent-modal__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 560px) { .pt-consent-modal__actions .pt-btn { flex: 1 1 100%; } }

/* ---------- Documentos legales (privacidad, cookies) ---------- */
.pt-doc { max-width: 900px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.pt-doc section { padding: 30px 0; border-top: 1px solid var(--line); }
.pt-doc section:first-child { border-top: 0; padding-top: 0; }
.pt-doc section:last-child { padding-bottom: 0; }
.pt-doc h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.3rem, 2.2vw, 1.65rem); letter-spacing: -.03em; margin-bottom: 16px; }
.pt-doc h2 span { font-family: var(--f-mono); font-size: 13px; font-weight: 400; color: var(--gold); }
.pt-doc h3 { font-size: 17px; letter-spacing: -.01em; margin: 22px 0 4px; color: var(--gold-hi); }
.pt-doc p, .pt-doc li { font-size: 15.5px; line-height: 1.75; color: var(--text-2); }
.pt-doc p + p { margin-top: 12px; }
.pt-doc ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pt-doc li { position: relative; padding-left: 20px; }
.pt-doc li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--gold); }
.pt-doc strong { color: var(--text); font-weight: 600; }
.pt-doc a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.pt-doc .pt-btn { text-decoration: none; margin: 6px 0; }
.pt-doc__note { font-size: 14px !important; color: var(--text-3) !important; margin-bottom: 10px; }
.pt-doc__table { overflow-x: auto; margin-top: 10px; border-radius: 14px; border: 1px solid var(--line); }
.pt-doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pt-doc th { text-align: left; padding: 12px 14px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); background: rgba(0, 0, 0, .2); }
.pt-doc td { padding: 12px 14px; vertical-align: top; color: var(--text-2); border-top: 1px solid var(--line); line-height: 1.55; }
.pt-doc td:first-child { color: var(--text); }
.pt-doc code { font-family: var(--f-mono); font-size: 12.5px; color: var(--gold-hi); background: var(--gold-soft); padding: 2px 6px; border-radius: 5px; white-space: nowrap; }
@media (max-width: 640px) { .pt-doc table { min-width: 560px; } }

/* Nota legal bajo el formulario de registro */
.auth-legal { margin-top: 18px; font-size: 12.5px; color: var(--text-3); line-height: 1.5; }
.auth-legal a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.extra-info a { color: var(--gold); }
.extra-info a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 520px) {
    .pf-ticket { width: 100%; }
    .pf-ticket__main { flex: 1; align-items: center; padding: 14px 16px; }
    .pf-ticket__stub { width: 96px; }
    .pf-ticket { -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - 96px) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - 96px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
                 mask: radial-gradient(circle var(--notch) at calc(100% - 96px) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - 96px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
}

/* ---------- Portada: bloque dorado de cuentas de fondeo ---------- */
.promo {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center;
    padding: clamp(32px, 5vw, 56px); border-radius: 28px;
    background: var(--gold); color: var(--gold-ink);
}
.promo::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, .35), transparent 60%),
                repeating-linear-gradient(135deg, rgba(0, 0, 0, .035) 0 2px, transparent 2px 12px);
}
.promo > * { position: relative; }
.promo .pt-eyebrow { color: rgba(29, 21, 3, .7); }
.promo .pt-h2 { color: var(--gold-ink); margin-bottom: 14px; }
.promo .pt-h2 .pt-serif { color: var(--gold-ink); }
.promo p:not(.pt-eyebrow) { color: rgba(29, 21, 3, .78); max-width: 46ch; }
.promo__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pt-btn--dark { background: var(--gold-ink); color: var(--gold-hi); }
.pt-btn--dark:hover { transform: translateY(-2px); background: #000; }
.promo__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 420px; width: 100%; justify-self: end; }
.promo__logos div { aspect-ratio: 1; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 10px 30px -12px rgba(60, 40, 0, .5); transition: transform .4s var(--ease-spring); }
.promo__logos div:hover { transform: translateY(-4px) rotate(-2deg); }
.promo__logos img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .promo { grid-template-columns: 1fr; } .promo__logos { justify-self: start; } }

.code-btn {
    display: inline-flex; align-items: center; gap: 12px;
    height: 54px; padding: 0 8px 0 20px; border-radius: 14px;
    background: rgba(29, 21, 3, .08); border: 1.5px dashed rgba(29, 21, 3, .45);
    font-family: var(--f-mono); font-size: 17px; font-weight: 500; letter-spacing: .06em; color: var(--gold-ink);
    transition: background .2s, transform .2s var(--ease);
}
.code-btn:hover { background: rgba(29, 21, 3, .14); }
.code-btn:active { transform: scale(.98); }
.code-btn__state { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 10px; font-family: var(--f-sans); font-size: 13px; font-weight: 600; letter-spacing: 0; background: var(--gold-ink); color: var(--gold-hi); }
.code-btn.is-copied .code-btn__state { background: #1f7a45; color: #fff; }

/* ---------- Términos: documento con índice lateral ---------- */
.terms-head { margin-top: clamp(56px, 7vw, 88px); margin-bottom: clamp(48px, 6vw, 72px); }
.terms-head .pt-h1 { margin-bottom: 24px; }
.terms-head .pt-lede { max-width: 60ch; }
.doc__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.doc__toc { position: sticky; top: 110px; align-self: start; }
.doc__toc p { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.doc__toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.doc__toc a { display: flex; gap: 10px; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--text-3); transition: color .2s, border-color .2s; }
.doc__toc a span { font-family: var(--f-mono); font-size: 12px; }
.doc__toc a:hover { color: var(--text); }
.doc__toc a.is-current { color: var(--gold); border-color: var(--gold); }
.doc__section { padding-block: 40px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.doc__section:first-child { border-top: 0; padding-top: 0; }
.doc__section h2 { display: flex; gap: 16px; align-items: baseline; font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.03em; margin-bottom: 18px; }
.doc__section h2 span { font-family: var(--f-mono); font-size: 14px; font-weight: 400; color: var(--gold); }
.doc__section p { color: var(--text-2); font-size: 16.5px; line-height: 1.75; max-width: 68ch; }
.doc__section p + p { margin-top: 14px; }
.doc__section--final { padding: 32px; margin-top: 24px; border: 1px solid var(--gold-line); border-radius: 20px; background: var(--gold-soft); }
.doc__section--final p { color: var(--text); }
@media (max-width: 880px) { .doc { grid-template-columns: 1fr; } .doc__toc { display: none; } }

/* ---------- Pantalla de carga (primera página de cada visita) ---------- */
.pt-intro { display: none; }
.show-intro .pt-intro {
    position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
    background: radial-gradient(600px 400px at 50% 45%, rgba(232, 177, 42, .12), transparent 70%), var(--bg);
    animation: intro-out .6s var(--ease) 1.55s forwards;
}
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
.pt-intro__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pt-intro__bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; }
.pt-intro__bars span { width: 9px; border-radius: 3px; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); transform: scaleY(0); transform-origin: bottom; animation: intro-bar .5s var(--ease-spring) forwards; box-shadow: 0 0 14px rgba(232, 177, 42, .5); }
.pt-intro__bars span:nth-child(1) { height: 40%; animation-delay: .05s; }
.pt-intro__bars span:nth-child(2) { height: 65%; animation-delay: .13s; background: #4a4438; box-shadow: none; }
.pt-intro__bars span:nth-child(3) { height: 50%; animation-delay: .21s; }
.pt-intro__bars span:nth-child(4) { height: 85%; animation-delay: .29s; }
.pt-intro__bars span:nth-child(5) { height: 100%; animation-delay: .37s; }
@keyframes intro-bar { to { transform: scaleY(1); } }
.pt-intro__logo { width: 190px; height: auto; clip-path: inset(0 100% 0 0); animation: intro-logo .7s var(--ease) .55s forwards; }
@keyframes intro-logo { to { clip-path: inset(0 0 0 0); } }
.pt-intro__line { width: 190px; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.pt-intro__line span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transform: scaleX(0); transform-origin: left; animation: intro-line 1.3s var(--ease) .15s forwards; box-shadow: 0 0 10px rgba(232, 177, 42, .7); }
@keyframes intro-line { to { transform: scaleX(1); } }
/* Mientras está la pantalla de carga, las animaciones de entrada esperan a que termine */
.show-intro [data-hero] { animation-delay: calc(var(--i, 0) * 100ms + 1.75s); }

/* ---------- Campos con etiqueta flotante ---------- */
.fl { position: relative; }
.auth-form .fl input { height: 58px; padding-top: 20px; }
.fl label {
    position: absolute; left: 17px; top: 50%; transform: translateY(-50%); transform-origin: left center;
    font-size: 15.5px; color: var(--text-3); pointer-events: none;
    transition: transform .3s var(--ease), color .2s, top .3s var(--ease);
}
.password-wrapper.fl label { top: 29px; }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label { top: 17px; transform: translateY(-50%) scale(.78); color: var(--gold); }
.password-wrapper.fl input:focus + label, .password-wrapper.fl input:not(:placeholder-shown) + label { top: 17px; }
.auth-form .fl input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(232, 177, 42, .14), 0 0 24px -6px rgba(232, 177, 42, .55);
    animation: fl-glow 1.8s ease-in-out infinite;
}
@keyframes fl-glow { 50% { box-shadow: 0 0 0 4px rgba(232, 177, 42, .2), 0 0 32px -4px rgba(232, 177, 42, .7); } }
.password-wrapper.fl .password-toggle { top: 9px; }

/* ---------- Nosotros: marco que se dibuja alrededor de los iconos ---------- */
.value-icon { position: relative; width: 52px; height: 52px; display: grid; place-items: center; }
.value-icon svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.value-icon rect { fill: var(--gold-soft); stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; transition: stroke-dashoffset 1.3s var(--ease) .15s, fill-opacity .6s ease 1s; }
.value-card .value-icon i { width: auto; height: auto; background: none; border: 0; transform: scale(.3) rotate(-40deg); opacity: 0; transition: transform .7s var(--ease-spring) .7s, opacity .4s ease .7s; }
.value-card.is-in .value-icon rect, .no-js .value-icon rect { stroke-dashoffset: 0; fill-opacity: 1; }
.value-card.is-in .value-icon i { transform: none; opacity: 1; }
.value-card:hover .value-icon i { transform: rotate(-10deg) scale(1.1); transition-delay: 0s; }

/* ---------- PropFirms: confeti grande del cupón principal ---------- */
.pf-spark--big {
    width: var(--w, 8px); height: var(--h, 10px); margin: 0; border-radius: 2px;
    animation: pf-confetti var(--d, 1.8s) cubic-bezier(.2, .7, .3, 1) forwards;
}
.pf-spark--big:nth-child(4n) { background: #fff3c4; }
.pf-spark--big:nth-child(4n+1) { background: var(--gold); }
.pf-spark--big:nth-child(4n+2) { background: var(--gold-hi); border-radius: 50%; }
@keyframes pf-confetti {
    0% { transform: translate(0, 0) rotate(0); opacity: 1; }
    45% { transform: translate(var(--dx), var(--dy)) rotate(calc(var(--rot) * .5)); opacity: 1; }
    100% { transform: translate(calc(var(--dx) * 1.25), calc(var(--dy) + 260px)) rotate(var(--rot)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .show-intro .pt-intro { display: none; }
    .value-icon rect { stroke-dashoffset: 0; fill-opacity: 1; }
    .value-card .value-icon i { transform: none; opacity: 1; }
}

/* ---------- Acceso: mejoras de uso ---------- */
/* "Recordarme" ahora va encima del botón */
.auth-form .remember-box { margin: 2px 0 4px; }

/* Botón con estado de carga */
.pt-btn.is-loading { pointer-events: none; color: transparent !important; position: relative; }
.pt-btn.is-loading i { opacity: 0; }
.pt-btn.is-loading::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
    border-radius: 50%; border: 2.5px solid rgba(29, 21, 3, .25); border-top-color: var(--gold-ink);
    animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* Mensajes debajo de los campos */
.field-hint { display: flex; align-items: center; gap: 7px; margin: -4px 2px 0; font-size: 13px; line-height: 1.4; animation: hint-in .3s var(--ease); }
.field-hint::before { font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 11px; }
.field-hint[data-state="warn"] { color: #f6cf62; }
.field-hint[data-state="warn"]::before { content: "\f062"; }
.field-hint[data-state="bad"] { color: #f3a597; }
.field-hint[data-state="bad"]::before { content: "\f06a"; }
.field-hint[data-state="ok"] { color: #7fe0a6; }
.field-hint[data-state="ok"]::before { content: "\f058"; }
@keyframes hint-in { from { opacity: 0; transform: translateY(-4px); } }

/* Campo inválido / válido */
.auth-form .is-invalid input { border-color: rgba(229, 110, 90, .7) !important; box-shadow: 0 0 0 4px rgba(229, 110, 90, .12) !important; animation: none !important; }
.auth-form .is-invalid label { color: #f3a597 !important; }
.auth-form .is-valid input { border-color: rgba(79, 199, 128, .6); }

/* Medidor de fuerza de la contraseña */
.pw-meter { display: flex; align-items: center; gap: 12px; margin: -2px 2px 2px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s var(--ease), opacity .3s; }
.pw-meter.is-on { max-height: 30px; opacity: 1; }
.pw-meter__bars { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.pw-meter__bars span { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .08); transition: background .35s, box-shadow .35s; }
.pw-meter__label { min-width: 74px; text-align: right; font-size: 12.5px; font-weight: 600; color: var(--text-3); transition: color .3s; }
.pw-meter[data-score="0"] .pw-meter__bars span:nth-child(-n+1) { background: #e5484d; }
.pw-meter[data-score="1"] .pw-meter__bars span:nth-child(-n+1) { background: #e5734d; }
.pw-meter[data-score="2"] .pw-meter__bars span:nth-child(-n+2) { background: #e0a43a; }
.pw-meter[data-score="3"] .pw-meter__bars span:nth-child(-n+3) { background: var(--gold); }
.pw-meter[data-score="4"] .pw-meter__bars span { background: linear-gradient(90deg, var(--gold), var(--gold-hi)); box-shadow: 0 0 10px rgba(232, 177, 42, .5); }
.pw-meter[data-score="0"] .pw-meter__label, .pw-meter[data-score="1"] .pw-meter__label { color: #f3a597; }
.pw-meter[data-score="2"] .pw-meter__label { color: #e0a43a; }
.pw-meter[data-score="3"] .pw-meter__label, .pw-meter[data-score="4"] .pw-meter__label { color: var(--gold-hi); }


