/*
 * landing.css — linea grafica comun de las landings de wstudio.app
 * (home, /registro/ y las landings por disciplina).
 * Paleta: azul de marca #2173ba. Titulos en Roboto (alojada en /assets/fonts/roboto),
 * texto en Figtree (Google Fonts, se carga en cada pagina).
 */

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500 900;
    font-display: swap;
    src: url('/assets/fonts/roboto/roboto-latin-var.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --primary: #2173ba;
    --primary-light: #4a9ad9;
    --primary-dark: #185a93;
    --primary-mid: #2173ba;
    --primary-soft: #d6e9f8;
    --primary-tint: #e3f0fa;
    --ink: #0b1b2b;
    --dark: #0b1b2b;
    --muted: #4a5668;
    --subtle: #768396;
    --line: #e0e6ee;
    --line-strong: #d3dce6;
    --ground: #f3f6f9;
    --white: #ffffff;
    --wa: #25d366;
    --danger: #dc2626;
    /* nombres heredados que usan estilos inline de las paginas */
    --gray-900: #0b1b2b;
    --gray-700: #2a3a4c;
    --gray-600: #4a5668;
    --gray-500: #5c6b7c;
    --gray-300: #d3dce6;
    --gray-100: #f3f6f9;
    --purple: #2173ba;
    --accent: #2173ba;
    --font-display: 'Roboto', 'Figtree', system-ui, sans-serif;
    --font-body: 'Figtree', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--ground);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }

/* ---------- Animaciones de entrada ---------- */
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.animate-on-scroll.fade-left { transform: translateX(-24px); }
.animate-on-scroll.fade-right { transform: translateX(24px); }
.animate-on-scroll.scale-in { transform: scale(.96); }
.animate-on-scroll.animated { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll { opacity: 1; transform: none; transition: none; }
}
/* En pantallas angostas las entradas laterales desbordan el ancho (scroll horizontal y la vista se mueve):
   ahi todas entran desde abajo */
@media (max-width: 1100px) {
    .animate-on-scroll.fade-left, .animate-on-scroll.fade-right { transform: translateY(24px); }
    .animate-on-scroll.animated { transform: none; }
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 24px; border: 0; border-radius: 14px;
    font-family: var(--font-body); font-size: 16px; font-weight: 700;
    text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; }
.btn-wa { background: var(--wa); color: var(--ink); }
.btn-wa:hover { background: #1fbd5b; }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--primary-tint); }
.btn-outline, .btn-outline-primary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover, .btn-outline-primary:hover { background: var(--primary); color: var(--white); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Header ---------- */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(243, 246, 249, 0.88);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
}
.header.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.94); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo img { width: 40px; height: 40px; border-radius: 10px; }
.logo span { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-selector { display: flex; gap: 4px; padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.lang-btn {
    min-width: 44px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent;
    font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: var(--ink); color: var(--white); }
.header .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
/* Boton "ir al formulario" del header: oculto mientras el formulario esta a la vista */
/* Va centrado en el header y no ocupa espacio: al cargar, el header queda logo | idiomas sin huecos */
.header-inner { position: relative; }
.header a[href="#registro-form"] {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s;
}
.header.form-in-view a[href="#registro-form"] { opacity: 0; transform: translate(-50%, -80%); visibility: hidden; pointer-events: none; transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }

/* ---------- Hero con formulario (home y registro) ---------- */
.hero { padding: 136px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 540px; gap: 72px; align-items: center; }
.hero-grid .hero-text { display: flex; flex-direction: column; gap: 28px; }
.eyebrow {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px 8px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px;
    font-size: 14px; font-weight: 600; color: var(--primary);
}
.eyebrow b { padding: 4px 10px; background: var(--primary); color: var(--white); border-radius: 999px; font-size: 12px; letter-spacing: .04em; }
.hero h1 {
    font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5.2vw, 72px);
    line-height: 1.04; letter-spacing: -0.025em; color: var(--ink);
}
.hero h1 .hl { color: var(--primary); }
.hero-subtitle { max-width: 580px; font-size: 20px; color: var(--muted); }
.stats { display: flex; gap: 36px; padding-top: 8px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.025em; color: var(--primary); line-height: 1.1; }
.stat-label { font-size: 14px; color: var(--muted); }
.stat-sep { width: 1px; background: var(--line-strong); }

/* Formulario del paso 1 del registro */
.hero-form {
    background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--primary);
    border-radius: 28px; padding: 44px 40px 36px;
    display: flex; flex-direction: column; gap: 20px;
    box-shadow: 0 32px 70px rgba(33, 115, 186, 0.16);
    scroll-margin-top: 100px;
}
.form-head { display: flex; flex-direction: column; gap: 6px; }
.hero-form h3 { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; }
.form-head p { font-size: 15px; color: var(--muted); }
.hero-form .btn { width: 100%; min-height: 56px; font-size: 17px; }
.hero-form .btn-primary { min-height: 58px; }
.hero-form .btn-primary svg { transition: transform .2s ease; }
.hero-form .btn-primary:hover svg { transform: translateX(3px); }
.form-divider { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--subtle); }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.field-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input {
    height: 54px; padding: 0 18px; border: 1.5px solid var(--line-strong); border-radius: 14px;
    background: #f7f9fb; font-family: var(--font-body); font-size: 16px; color: var(--ink); outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input::placeholder { color: var(--subtle); }
.field input:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(33, 115, 186, 0.12); }
.form-error { display: none; margin-top: -8px; font-size: 14px; font-weight: 600; color: var(--danger); }
.chips-block { display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 999px;
    background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: var(--white); font-weight: 600; }
.trust { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { width: 14px; height: 14px; color: var(--primary); }

/* Franja de confianza */
.trust-strip {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
    padding: 28px 40px; background: var(--white); border: 1px solid var(--line); border-radius: 24px;
}
.trust-strip div { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.check-dot { width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; background: var(--primary-tint); display: flex; align-items: center; justify-content: center; }
.check-dot svg { width: 16px; height: 16px; color: var(--primary); }

/* ---------- Hero de las landings por disciplina (texto + imagen) ---------- */
/* Video de fondo (pole, yoga): textura sutil detras del hero, se desvanece hacia el fondo de la pagina */
.hero:has(.hero-video-bg) { position: relative; overflow: hidden; }
.hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; z-index: 0; pointer-events: none; }
.hero:has(.hero-video-bg)::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(243, 246, 249, 0.82) 0%, rgba(243, 246, 249, 0.42) 55%, rgba(243, 246, 249, 0.12) 100%), linear-gradient(180deg, rgba(243, 246, 249, 0) 70%, var(--ground) 100%); }
.hero:has(.hero-video-bg) > .container { position: relative; z-index: 1; }
.hero-content { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero-content:has(.hero-form) { grid-template-columns: minmax(0, 1fr) 540px; gap: 72px; }
.hero-content .hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-text h1 span:nth-of-type(2) { color: var(--primary); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-image img { width: 100%; border-radius: 28px; box-shadow: 0 30px 60px rgba(33, 115, 186, 0.16); }
.examples-list { display: flex; flex-wrap: wrap; gap: 8px; }
.example-tag { display: inline-block; padding: 6px 14px; background: var(--primary-tint); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--primary-dark); }

/* ---------- Secciones ---------- */
.section { padding: 112px 0; }
.section-light { background: var(--white); }
.section-warm { background: var(--ground); }
.section-dark { background: var(--primary-dark); color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.section-title {
    font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.06; letter-spacing: -0.025em; color: var(--ink);
}
.section-head .section-title { max-width: 780px; }
.section-title .hl, .section-title span:nth-of-type(2) { color: var(--primary); }
.section-subtitle { font-size: 18px; color: var(--muted); }
.section-head .section-subtitle { max-width: 400px; }
.section-head.center .section-subtitle { max-width: 620px; }
/* Titulo + subtitulo sueltos (sin .section-head): centrados */
.container > .section-title { text-align: center; max-width: 860px; margin: 0 auto 16px; }
.container > .section-subtitle { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-dark .section-title, .section-dark .section-subtitle { color: var(--white); }

/* Las 5 herramientas (registro) */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tool { border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 14px; min-height: 420px; }
.tool.wide { grid-column: span 3; }
.tool.third { grid-column: span 2; min-height: 460px; padding: 32px; }
.tool-num { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--primary); }
.tool h3 { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; line-height: 1.12; }
.tool.third h3 { font-size: 26px; }
.tool p { font-size: 16px; color: var(--muted); max-width: 460px; }
.tool.third p { font-size: 15px; }
.tool-blue { background: var(--primary); color: var(--white); }
.tool-navy { background: var(--primary-dark); color: var(--white); }
.tool-blue .tool-num, .tool-navy .tool-num { color: var(--primary-soft); }
.tool-blue p { color: #eef5fb; }
.tool-navy p { color: #e3eef8; }
.tool-white { background: var(--white); border: 1px solid var(--line); }
.tool-tint { background: var(--primary-tint); }
.tool-tint p { color: var(--gray-700); }
.tool-bottom { margin-top: auto; }
.icon-tile { width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, 0.12); display: flex; align-items: center; justify-content: center; }
.icon-tile svg { width: 30px; height: 30px; color: var(--white); }
.tool-split { flex-direction: row; gap: 32px; }
.tool-split .tool-copy { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.face-screen {
    width: 200px; flex-shrink: 0; background: var(--primary-dark); border-radius: 22px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 18px;
}
.face-ring { width: 120px; height: 120px; border-radius: 999px; border: 3px solid var(--primary-soft); display: flex; align-items: center; justify-content: center; }
.face-ring svg { width: 64px; height: 64px; color: var(--white); }
.pill { padding: 6px 12px; background: var(--white); color: var(--primary); border-radius: 999px; font-size: 13px; font-weight: 700; }
.rows { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.row span:first-child { font-weight: 600; }
.tool-white .row { background: var(--ground); }
.tool-tint .row { background: var(--white); }
.row .go { color: var(--primary); font-weight: 700; }
.row .full { color: var(--subtle); font-weight: 600; }
.row .reps { font-weight: 700; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 85%; padding: 10px 14px; font-size: 14px; }
.bubble.me { align-self: flex-end; background: var(--primary-mid); color: var(--white); border-radius: 16px 16px 4px 16px; }
.bubble.bot { align-self: flex-start; background: var(--white); color: var(--ink); border-radius: 16px 16px 16px 4px; }

/* Problemas */
.problem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.problem-card { display: flex; gap: 20px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; }
.section-light .problem-card { background: var(--ground); }
.problem-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: var(--primary-tint); display: flex; align-items: center; justify-content: center; }
.problem-icon svg { width: 26px; height: 26px; color: var(--primary); }
.problem-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.problem-card p { font-size: 16px; color: var(--muted); }
.problem-quote { margin-top: 48px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; color: var(--primary); }

/* Guia (empatia + autoridad) */
.guide-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.guide-text h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -0.025em; margin-bottom: 24px; }
.guide-text p { font-size: 18px; color: var(--muted); margin-bottom: 16px; }
.trust-badge { display: inline-flex; align-items: center; gap: 16px; margin-top: 16px; padding: 18px 24px; background: var(--primary-tint); border-radius: 20px; }
.trust-badge .number { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--primary); letter-spacing: -0.025em; line-height: 1; }
.trust-badge .text { font-size: 15px; font-weight: 600; color: var(--ink); }
.guide-image img { border-radius: 28px; width: 100%; box-shadow: 0 30px 60px rgba(33, 115, 186, 0.14); }

/* Guia en version inmersiva: foto de fondo con parallax y texto centrado */
.guide-parallax { position: relative; overflow: hidden; padding: 150px 0; color: var(--white); background: var(--primary-dark); isolation: isolate; }
.guide-parallax-bg { position: absolute; left: 0; right: 0; top: -18%; bottom: -18%; z-index: -2; will-change: transform; }
.guide-parallax-bg img { width: 100%; height: 100%; object-fit: cover; }
.guide-parallax::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse at center, rgba(14, 53, 88, 0.55) 0%, rgba(14, 53, 88, 0.82) 70%),
        linear-gradient(180deg, rgba(24, 90, 147, 0.35), rgba(14, 53, 88, 0.6));
}
.guide-parallax-content { max-width: 860px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.guide-parallax-content h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.025em; color: var(--white); margin-bottom: 8px; }
.guide-parallax-content p { font-size: 20px; line-height: 1.6; color: #eef5fb; max-width: 760px; }
.guide-parallax-content .trust-badge {
    margin-top: 16px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-align: left;
}
.guide-parallax-content .trust-badge .number { color: var(--white); }
.guide-parallax-content .trust-badge .text { color: #eef5fb; }

/* Como funciona */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step-card { position: relative; padding: 32px 8px 0; border-top: 3px solid var(--primary); display: flex; flex-direction: column; gap: 14px; }
.step-number { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.03em; color: var(--primary); }
.step-card h3 { font-size: 22px; font-weight: 700; }
.step-card p { font-size: 16px; color: var(--muted); }
.step-connector { display: none; }

/* Transformacion */
.transformation-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: stretch; }
.transformation-column { border-radius: 28px; padding: 40px; }
.transformation-column.before { background: var(--white); border: 1px solid var(--line); }
.section-light .transformation-column.before { background: var(--ground); }
.transformation-column.after { background: var(--primary); color: var(--white); }
.transformation-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.transformation-header svg { width: 28px; height: 28px; }
.transformation-header h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: .02em; }
.transformation-header.before { color: var(--muted); }
.transformation-header.after { color: var(--white); }
.transformation-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.transformation-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; }
.transformation-list li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.transformation-list.before li { color: var(--muted); }
.transformation-list.before li svg { color: var(--subtle); }
.transformation-list.after li svg { color: var(--primary-soft); }
.transformation-arrow { display: flex; align-items: center; justify-content: center; }
.transformation-arrow svg { width: 40px; height: 40px; color: var(--primary); }

/* Funciones */
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature-card { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; transition: border-color .2s ease, transform .2s ease; }
.section-light .feature-card { background: var(--ground); }
.feature-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.feature-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: var(--primary-tint); display: flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 26px; height: 26px; color: var(--primary); }
.feature-icon.purple, .feature-icon.accent, .feature-icon.orange, .feature-icon.yellow { background: var(--primary); }
.feature-icon.purple svg, .feature-icon.accent svg, .feature-icon.orange svg, .feature-icon.yellow svg { color: var(--white); }
.feature-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-content p { font-size: 15px; color: var(--muted); }
.feature-link { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--primary); text-decoration: none; }
.feature-link:hover { text-decoration: underline; }
.features-cta { text-align: center; margin-top: 48px; }

/* Testimonios */
.testimonials-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.testimonials-header-text h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -0.025em; margin-bottom: 12px; }
.testimonials-header-text h2 span:nth-of-type(2), .testimonials-header-text h2 .hl { color: var(--primary); }
.testimonials-header-text p { font-size: 18px; color: var(--muted); }
.testimonials-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); text-decoration: none; white-space: nowrap; }
.testimonials-link svg { width: 20px; height: 20px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-card { border-radius: 20px; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
.video-card iframe { width: 100%; height: 100%; display: block; border: 0; }

/* Cierre de las disciplinas (.cta-section) */
.cta-section { padding: 0 0 112px; }
.cta-section > .container {
    padding: 72px 64px; border-radius: 36px; text-align: center;
    background-color: var(--primary);
    background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.cta-section h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.025em; color: var(--white); max-width: 820px; }
.cta-section p { font-size: 18px; color: #eef5fb; max-width: 640px; }
.cta-section .btn { margin-top: 12px; }
.cta-section .btn-primary { background: var(--white); color: var(--primary); }
.cta-section .btn-primary:hover { background: var(--primary-tint); color: var(--primary); }
/* Las paginas que ponen el cierre despues de una seccion blanca necesitan aire arriba */
.section + .cta-section, .section-light + .cta-section { padding-top: 112px; }

/* Cierre de registro/home (.cta-panel) */
.cta-final { padding: 0 0 112px; }
.cta-panel {
    display: flex; align-items: center; justify-content: space-between; gap: 48px;
    padding: 72px 80px; border-radius: 36px;
    background-color: var(--primary);
    background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 32px 32px;
}
.cta-copy { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
.cta-copy h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.025em; color: var(--white); }
.cta-copy p { font-size: 18px; color: #eef5fb; }
.cta-actions { width: 400px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { width: 100%; padding: 0 20px; font-size: 16px; white-space: nowrap; }

/* Tarifas */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pricing-card { position: relative; display: flex; flex-direction: column; padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; }
.section-light .pricing-card { background: var(--ground); }
.pricing-card.featured { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pricing-badge { position: absolute; top: 24px; right: 24px; padding: 6px 12px; background: var(--white); color: var(--primary); border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.pricing-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin-bottom: 16px; }
.pricing-price { font-family: var(--font-display); font-weight: 800; font-size: 52px; letter-spacing: -0.025em; line-height: 1; }
.pricing-price span { font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pricing-card.featured .pricing-price span { color: #eef5fb; }
.pricing-note { margin-top: 8px; font-size: 14px; color: var(--muted); }
.pricing-card.featured .pricing-note { color: #eef5fb; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 28px 0 32px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pricing-features li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--primary); }
.pricing-card.featured .pricing-features li svg { color: var(--primary-soft); }
.pricing-card .btn, .pricing-card .btn-pricing { margin-top: auto; width: 100%; }
.btn-pricing {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
    border-radius: 14px; background: var(--primary); color: var(--white); font-weight: 700; text-decoration: none;
}
.btn-pricing:hover { background: var(--primary-dark); }
.pricing-card.featured .btn, .pricing-card.featured .btn-pricing { background: var(--white); color: var(--primary); }
.pricing-card.featured .btn:hover, .pricing-card.featured .btn-pricing:hover { background: var(--primary-tint); }
.pricing-footnote { text-align: center; color: var(--muted); font-size: 14px; margin: 40px auto 0; max-width: 700px; }

/* ---------- Home ---------- */
.home-guide { padding: 0 0 96px; }
.home-guide-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; padding: 48px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; }
.home-guide-badge { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--primary); padding: 12px 20px; background: var(--primary-tint); border-radius: 999px; white-space: nowrap; }
.home-guide h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 10px; }
.home-guide p { font-size: 17px; color: var(--muted); }
.disciplines-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.discipline-card {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px;
    border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--white); background: var(--primary-dark);
}
.discipline-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.discipline-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 90, 147, 0) 30%, rgba(12, 45, 76, 0.92) 100%); }
.discipline-card:hover img { transform: scale(1.05); }
.card-content { position: relative; z-index: 1; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.card-tag { align-self: flex-start; padding: 4px 10px; margin-bottom: 6px; background: var(--white); color: var(--primary); border-radius: 999px; font-size: 12px; font-weight: 700; }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.15; }
.card-description { font-size: 13px; color: #eef5fb; }
.card-arrow { position: absolute; z-index: 1; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.16); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.card-arrow svg { width: 20px; height: 20px; color: var(--white); }
.discipline-card:hover .card-arrow { background: var(--primary); }

/* ---------- Footer ---------- */
.footer { --gray-300: #c8dcee; --gray-500: #93b3cf; background: #0e3558; color: var(--gray-300); padding: 72px 0 32px; }
.footer-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-col h4 { font-family: var(--font-display); font-size: 18px; color: var(--white); margin-bottom: 16px; }
.footer-links, .footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links-list a { color: var(--gray-300); text-decoration: none; font-size: 15px; }
.footer-links a:hover, .footer-links-list a:hover { color: var(--white); }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.08); color: var(--white); display: flex; align-items: center; justify-content: center; }
.social-links a:hover { background: var(--primary); }
.social-links svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; color: var(--gray-500); }
.footer-mini { background: #0e3558; color: #c8dcee; padding: 32px 0; font-size: 14px; }
.footer-mini .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-mini a { color: #c8dcee; text-decoration: none; }
.footer-mini a:hover { color: var(--white); }
.footer-mini nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hero-grid, .hero-content, .hero-content:has(.hero-form) { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .hero-form { max-width: 600px; }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tool.wide, .tool.third { grid-column: span 1; min-height: 0; }
    .tool.wide.first { grid-column: span 2; }
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-content { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .cta-panel { flex-direction: column; align-items: flex-start; padding: 56px 48px; }
    .cta-actions { width: 100%; max-width: 420px; }
    .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .disciplines-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-guide-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .home-guide-badge { justify-self: start; white-space: normal; font-size: 18px; }
}
@media (max-width: 768px) {
    .container, .header-inner { padding: 0 16px; }
    .header-inner { height: 64px; }
    .logo img { width: 32px; height: 32px; border-radius: 8px; }
    .logo span { font-size: 18px; }
    /* En celular: sin selector de idiomas (el idioma se detecta solo) y con el boton de crear app siempre visible */
    .lang-selector { display: none; }
    .header-actions .btn, .header-inner > div > .btn { display: none; }
    .header a[href="#registro-form"], .header.form-in-view a[href="#registro-form"] {
        display: inline-flex; position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
        min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px;
    }
    .hero { padding: 88px 0 56px; }
    .hero-grid { display: flex; flex-direction: column; gap: 20px; }
    .hero-grid .hero-text { display: contents; }
    .eyebrow { display: none; }
    .hero-grid h1 { order: 1; }
    .hero-grid .hero-subtitle { order: 2; }
    .hero-form { order: 3; margin-top: 8px; padding: 28px 20px 24px; border-radius: 24px; border-top-width: 5px; gap: 18px; }
    .stats { order: 4; gap: 8px; padding-top: 0; }
    .hero-subtitle { font-size: 16px; }
    .stat { flex: 1; padding: 14px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; align-items: center; text-align: center; }
    .stat-value { font-size: 24px; }
    .stat-label { font-size: 12px; }
    .stat-sep { display: none; }
    .hero-form h3 { font-size: 24px; }
    .hero-form .btn { font-size: 15px; white-space: nowrap; padding: 0 16px; }
    .chip { min-height: 44px; padding: 0 14px; }
    .hero-content, .hero-content:has(.hero-form) { gap: 28px; }
    .hero-content .hero-form { margin-top: 0; }
    .hero:has(.hero-video-bg)::after { background: linear-gradient(180deg, rgba(243, 246, 249, 0.62) 0%, rgba(243, 246, 249, 0.75) 60%, var(--ground) 100%); }
    .hero-content .hero-text { gap: 18px; }
    .hero-cta .btn { width: 100%; }
    .trust-strip { display: none; }
    .section { padding: 72px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
    .section-subtitle { font-size: 16px; }
    .container > .section-subtitle { margin-bottom: 32px; }
    .bento { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .tool.wide.first { grid-column: span 1; }
    .tool, .tool.third { padding: 24px; border-radius: 24px; gap: 12px; }
    .tool h3, .tool.third h3 { font-size: 24px; }
    .tool p, .tool.third p { font-size: 15px; }
    .tool-split { flex-direction: column; }
    .face-screen { display: none; }
    .tool .rows { display: none; }
    .problem-grid, .features-grid, .steps-grid, .pricing-grid, .testimonials-grid, .footer-content { grid-template-columns: minmax(0, 1fr); }
    .problem-card { padding: 24px; }
    .problem-quote { font-size: 22px; }
    .transformation-grid { grid-template-columns: minmax(0, 1fr); }
    .transformation-arrow svg { transform: rotate(90deg); }
    .transformation-column { padding: 28px 24px; }
    .testimonials-header { flex-direction: column; align-items: flex-start; }
    .cta-final, .cta-section { padding-bottom: 72px; }
    .section + .cta-section, .section-light + .cta-section { padding-top: 72px; }
    .cta-panel, .cta-section > .container { padding: 40px 24px; border-radius: 28px; }
    .cta-section > .container { width: calc(100% - 32px); }
    .disciplines-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .discipline-card { min-height: 220px; border-radius: 20px; }
    .card-content { padding: 14px; }
    .card-title { font-size: 16px; }
    .card-description { display: none; }
    .home-guide { padding-bottom: 64px; }
    .guide-parallax { padding: 96px 0; }
    .guide-parallax-content p { font-size: 17px; }
    .home-guide-inner { padding: 28px 24px; }
}
