/* ATENEA LANDING - Styles v2 */
:root {
    --navy: #1a2747;
    --navy-light: #2a3a5e;
    --navy-darker: #0f1729;
    --gold: #c9a961;
    --gold-light: #d4b674;
    --cream: #f8f3ea;
    --cream-light: #fbf8f1;
    --white: #ffffff;
    --gray-50: #f8f8f8;
    --gray-100: #f0f0f0;
    --gray-300: #d4d4d4;
    --gray-600: #525252;
    --gray-800: #262626;
    --whatsapp: #25d366;
    --whatsapp-dark: #1da851;
    --shadow-sm: 0 2px 8px rgba(26, 39, 71, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 39, 71, 0.1);
    --shadow-lg: 0 8px 32px rgba(26, 39, 71, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--navy); line-height: 1.6; background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; color: var(--navy); font-weight: 700; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.urgency-bar { background: var(--navy); color: var(--white); padding: 12px 16px; text-align: center; font-size: 14px; font-weight: 500; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.urgency-bar strong { color: var(--gold); font-weight: 700; }
.urgency-bar #countdown { color: var(--gold); font-weight: 700; }

.navbar { background: var(--white); padding: 16px 0; border-bottom: 1px solid var(--gray-100); position: sticky; top: 42px; z-index: 99; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { height: 56px; width: auto; }
.nav-menu { display: flex; gap: 32px; align-items: center; }
.nav-menu a { color: var(--navy); font-weight: 500; font-size: 15px; transition: var(--transition); }
.nav-menu a:hover { color: var(--gold); }
.nav-cta { background: var(--whatsapp); color: var(--white); padding: 10px 20px; border-radius: 100px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.nav-cta:hover { background: var(--whatsapp-dark); transform: translateY(-1px); }

.hero { padding: 80px 0 100px; background: linear-gradient(180deg, var(--cream-light) 0%, var(--white) 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -150px; right: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 70%); border-radius: 50%; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; position: relative; }
.hero-badge { display: inline-block; background: var(--cream); color: var(--navy); padding: 8px 20px; border-radius: 100px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 24px; border: 1px solid rgba(201, 169, 97, 0.3); animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.hero h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 24px; letter-spacing: -0.02em; }
.hero-h1 { display: block; }
.hero-line { display: block; }
.hero-gold { color: var(--gold); }

.hero-subtitle { font-size: 18px; color: var(--gray-600); margin-bottom: 40px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.btn-primary { background: var(--whatsapp); color: var(--white); padding: 18px 32px; border-radius: 100px; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; transition: var(--transition); box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3); }
.btn-primary:hover { background: var(--whatsapp-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
.btn-secondary { background: var(--white); color: var(--navy); padding: 18px 32px; border-radius: 100px; font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; transition: var(--transition); border: 2px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.hero-trust { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; color: var(--gray-600); font-size: 14px; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust .check { color: var(--gold); font-size: 20px; }

section { padding: 80px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-header h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; letter-spacing: -0.02em; }
.section-header p { color: var(--gray-600); font-size: 17px; }
.section-header .label { color: var(--gold); font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; display: block; }

.benefits { background: var(--white); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.benefit-card { background: var(--cream-light); padding: 32px 28px; border-radius: var(--radius); transition: var(--transition); border: 1px solid rgba(201, 169, 97, 0.15); }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-icon { width: 56px; height: 56px; background: var(--navy); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 28px; margin-bottom: 20px; }
.benefit-card h3 { font-size: 19px; margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 700; }
.benefit-card p { color: var(--gray-600); font-size: 15px; line-height: 1.6; }

.how-it-works { background: var(--navy); color: var(--white); }
.how-it-works h2 { color: var(--white); }
.how-it-works .section-header p { color: rgba(255, 255, 255, 0.7); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; position: relative; }
.step-card { text-align: center; padding: 32px 24px; }
.step-number { font-family: 'Playfair Display', serif; font-size: 56px; color: var(--gold); font-weight: 700; margin-bottom: 16px; line-height: 1; }
.step-card h3 { color: var(--white); font-size: 22px; margin-bottom: 12px; }
.step-card p { color: rgba(255, 255, 255, 0.75); font-size: 15px; }

.subjects { background: var(--cream-light); }
.subjects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 48px; }
.subject-card { background: var(--white); padding: 28px 24px; border-radius: var(--radius); text-align: center; border: 2px solid transparent; transition: var(--transition); }
.subject-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.subject-icon { font-size: 36px; margin-bottom: 12px; }
.subject-card h3 { font-family: 'Inter', sans-serif; font-size: 18px; margin-bottom: 4px; }
.subject-card .hours { color: var(--gray-600); font-size: 14px; }
.schedule-box { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.schedule-box h3 { font-family: 'Inter', sans-serif; text-align: center; margin-bottom: 24px; font-size: 20px; color: var(--navy); }
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th { background: var(--navy); color: var(--white); padding: 14px 12px; text-align: left; font-size: 14px; font-weight: 600; }
.schedule-table th:first-child { border-radius: 8px 0 0 0; }
.schedule-table th:last-child { border-radius: 0 8px 0 0; }
.schedule-table td { padding: 14px 12px; border-bottom: 1px solid var(--gray-100); font-size: 15px; }
.schedule-table tr:hover td { background: var(--cream-light); }
.schedule-table .subject-tag { display: inline-block; background: var(--cream); color: var(--navy); padding: 4px 12px; border-radius: 100px; font-size: 13px; font-weight: 600; }

.plans { background: var(--white); }
.plans-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; background: var(--gray-50); padding: 6px; border-radius: 100px; max-width: 380px; margin-left: auto; margin-right: auto; }
.plan-tab { flex: 1; padding: 12px 20px; border-radius: 100px; font-weight: 600; font-size: 14px; color: var(--gray-600); transition: var(--transition); }
.plan-tab.active { background: var(--navy); color: var(--white); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.plan-card { background: var(--white); border: 2px solid var(--gray-100); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease; position: relative; }
.plan-card.featured { border-color: var(--gold); transform: scale(1.05); box-shadow: var(--shadow-md); }
.plan-card.featured::before { content: 'Más popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); padding: 4px 16px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card.featured:hover { transform: scale(1.05) translateY(-4px); }
.plan-name { font-size: 14px; font-weight: 600; color: var(--gray-600); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.plan-price { margin-bottom: 8px; }
.plan-price .currency { font-size: 18px; color: var(--gray-600); vertical-align: top; margin-right: 4px; }
.plan-price .amount { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; color: var(--navy); }
.plan-price .period { color: var(--gray-600); font-size: 14px; display: block; margin-top: 4px; }
.plan-features { margin: 24px 0; text-align: left; list-style: none; }
.plan-features li { padding: 8px 0; display: flex; align-items: flex-start; gap: 10px; color: var(--gray-800); font-size: 15px; }
.plan-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.plan-card .btn-primary { width: 100%; justify-content: center; font-size: 15px; padding: 14px; }

.payment-info { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-darker) 100%); color: var(--white); position: relative; overflow: hidden; }
.payment-info::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%); border-radius: 50%; }
.payment-info h2 { color: var(--white); }
.payment-info .section-header p { color: rgba(255, 255, 255, 0.75); }
.payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; position: relative; }
.payment-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(201, 169, 97, 0.25); backdrop-filter: blur(20px); border-radius: var(--radius); padding: 36px 32px; text-align: center; transition: var(--transition); }
.payment-card:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--gold); transform: translateY(-4px); }
.payment-card .icon-circle { width: 64px; height: 64px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 28px; margin: 0 auto 20px; }
.payment-card h3 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 22px; margin-bottom: 12px; }
.payment-card .amount-display { font-family: 'Playfair Display', serif; font-size: 48px; color: var(--gold); font-weight: 700; margin: 16px 0; line-height: 1; }
.payment-card .amount-display .small { font-size: 18px; vertical-align: top; margin-right: 4px; }
.payment-card p { color: rgba(255, 255, 255, 0.8); font-size: 15px; line-height: 1.6; }
.payment-card .highlight { color: var(--gold); font-weight: 700; }
.payment-note { text-align: center; margin-top: 32px; color: rgba(255, 255, 255, 0.75); font-size: 14px; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; }

.testimonials { background: var(--cream-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--white); padding: 32px 28px; border-radius: var(--radius); box-shadow: var(--shadow-sm); position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: 16px; right: 24px; font-family: 'Playfair Display', serif; font-size: 80px; color: var(--gold); opacity: 0.2; line-height: 1; }
.testimonial-text { font-size: 16px; color: var(--gray-800); margin-bottom: 24px; line-height: 1.7; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--gray-100); }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px; }
.testimonial-meta strong { color: var(--navy); font-weight: 600; display: block; font-size: 15px; }
.testimonial-meta span { color: var(--gray-600); font-size: 13px; }

.why-atenea { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 24px; }
.why-item { display: flex; gap: 20px; padding: 24px 0; }
.why-item-icon { width: 56px; height: 56px; background: var(--cream); border: 2px solid var(--gold); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.why-item h3 { font-family: 'Inter', sans-serif; font-size: 18px; margin-bottom: 8px; }
.why-item p { color: var(--gray-600); font-size: 15px; line-height: 1.6; }

.faq { background: var(--cream-light); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; border: 1px solid var(--gray-100); transition: var(--transition); }
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-question { padding: 20px 24px; width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 600; color: var(--navy); transition: var(--transition); }
.faq-question:hover { background: var(--cream-light); }
.faq-icon { color: var(--gold); font-size: 24px; flex-shrink: 0; margin-left: 16px; transition: var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 24px; color: var(--gray-800); line-height: 1.7; font-size: 15px; }
.faq-item.open .faq-answer { max-height: 500px; padding: 0 24px 20px; }

.final-cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-darker) 100%); color: var(--white); text-align: center; position: relative; overflow: hidden; padding: 90px 0 100px; }
.final-cta::before { content: ''; position: absolute; top: -200px; left: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%); border-radius: 50%; }
.final-cta::after { content: ''; position: absolute; bottom: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%); border-radius: 50%; }
.final-cta-content { position: relative; max-width: 720px; margin: 0 auto; }
.final-cta h2 { color: var(--white); font-size: clamp(28px, 4vw, 42px); margin-bottom: 20px; }
.final-cta p { color: rgba(255, 255, 255, 0.85); font-size: 17px; max-width: 600px; margin: 0 auto 36px; line-height: 1.6; }
.form-eyebrow { display: inline-block; background: rgba(201, 169, 97, 0.15); color: var(--gold); padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 24px; border: 1px solid rgba(201, 169, 97, 0.3); }

/* LEAD FORM */
.lead-form { background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 36px 32px; margin-top: 16px; text-align: left; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field-full { margin-bottom: 24px; }
.form-field label { color: rgba(255, 255, 255, 0.9); font-size: 13px; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; margin-bottom: 4px; }
.form-field input[type="text"], .form-field input[type="tel"], .form-field input[type="email"] { width: 100%; background: rgba(255, 255, 255, 0.95); border: 2px solid transparent; border-radius: 12px; padding: 14px 16px; font-family: inherit; font-size: 15px; color: var(--navy); transition: var(--transition); outline: none; }
.form-field input:focus { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.2); }
.form-field input::placeholder { color: var(--gray-300); }
.field-error { color: #ff8a80; font-size: 12px; min-height: 16px; font-weight: 500; }

.phone-wrap { display: flex; align-items: stretch; background: rgba(255, 255, 255, 0.95); border-radius: 12px; border: 2px solid transparent; transition: var(--transition); overflow: hidden; }
.phone-wrap:focus-within { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.2); }
.phone-prefix { display: flex; align-items: center; padding: 0 14px; background: var(--cream); color: var(--navy); font-weight: 600; font-size: 15px; border-right: 1px solid var(--gray-100); }
.phone-wrap input { background: transparent !important; border: none !important; box-shadow: none !important; flex: 1; }

.radio-pills { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-pill { flex: 1; min-width: 140px; cursor: pointer; position: relative; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span { display: block; text-align: center; padding: 14px 18px; background: rgba(255, 255, 255, 0.08); border: 2px solid rgba(255, 255, 255, 0.15); border-radius: 12px; color: var(--white); font-weight: 600; font-size: 15px; transition: var(--transition); }
.radio-pill:hover span { background: rgba(255, 255, 255, 0.12); border-color: rgba(201, 169, 97, 0.5); }
.radio-pill input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--navy); box-shadow: 0 4px 16px rgba(201, 169, 97, 0.4); transform: translateY(-1px); }

.btn-form-submit { width: 100%; background: var(--whatsapp); color: var(--white); padding: 18px 32px; border-radius: 100px; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; transition: var(--transition); box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); cursor: pointer; border: none; font-family: inherit; }
.btn-form-submit:hover { background: var(--whatsapp-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5); }
.btn-form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-form-submit.loading .btn-text::after { content: ''; display: inline-block; width: 14px; height: 14px; margin-left: 10px; border: 2px solid var(--white); border-top-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-trust { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 20px; color: rgba(255, 255, 255, 0.75); font-size: 13px; }
.form-trust span { display: inline-flex; align-items: center; gap: 6px; }
.form-trust .check { color: var(--gold); font-size: 16px; font-weight: 700; }

.form-success { background: rgba(37, 211, 102, 0.12); border: 1px solid rgba(37, 211, 102, 0.4); border-radius: 16px; padding: 32px 24px; text-align: center; color: var(--white); }
.form-success h3 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 22px; margin-bottom: 12px; }
.form-success p { color: rgba(255, 255, 255, 0.85); margin-bottom: 20px; }
.form-success .wa-pulse { display: inline-flex; align-items: center; gap: 8px; background: var(--whatsapp); color: var(--white); padding: 14px 28px; border-radius: 100px; font-weight: 700; font-size: 15px; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); animation: pulse-soft 1.5s ease-in-out infinite; }
@keyframes pulse-soft { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .lead-form { padding: 28px 22px; }
    .radio-pills { flex-direction: column; }
    .radio-pill { min-width: 100%; }
    .form-trust { gap: 16px; font-size: 12px; }
}

.footer { background: var(--navy-darker); color: rgba(255, 255, 255, 0.7); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 32px; }
.footer-brand img { height: 64px; margin-bottom: 16px; filter: brightness(0) invert(1) opacity(0.9); }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer h4 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; font-size: 14px; }
.footer ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px; text-align: center; font-size: 13px; }

.float-whatsapp { position: fixed; bottom: 24px; right: 24px; background: var(--whatsapp); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 30px; box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4); z-index: 50; transition: var(--transition); animation: pulse 2s infinite; }
.float-whatsapp:hover { transform: scale(1.1); }
@keyframes pulse { 0%, 100% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.1); } }

/* ANIMACIONES MOTION-RICH */
.word-anim { display: inline-block; overflow: hidden; vertical-align: bottom; }
.word-anim > span { display: inline-block; transform: translateY(120%); opacity: 0; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease; }
.word-anim.visible > span { transform: translateY(0); opacity: 1; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.scale-in { opacity: 0; transform: scale(0.95) translateY(20px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.scale-in.visible { opacity: 1; transform: scale(1) translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.char-reveal { line-height: 1.7; }
.char-reveal .char { display: inline-block; opacity: 0.18; transition: opacity 0.3s ease; }
.char-reveal .char.visible { opacity: 1; }
.counter { font-variant-numeric: tabular-nums; }
.glow-pulse { animation: glowPulse 2.5s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.4); } 50% { box-shadow: 0 0 0 12px rgba(201, 169, 97, 0); } }

.scarcity-badge { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #c9a961 0%, #d4b674 100%); color: #1a2747; padding: 10px 20px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin: 8px 0 32px; box-shadow: 0 4px 12px rgba(201, 169, 97, 0.35); }
.scarcity-badge::before { content: ''; width: 8px; height: 8px; background: #1a2747; border-radius: 50%; animation: blinkDot 1.4s ease-in-out infinite; }
@keyframes blinkDot { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

@media (max-width: 768px) {
    .payment-grid { grid-template-columns: 1fr; }
    .payment-card .amount-display { font-size: 38px; }
    .nav-menu { display: none; }
    .hero { padding: 48px 0 64px; }
    section { padding: 56px 0; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 320px; justify-content: center; }
    .plan-card.featured { transform: none; }
    .plan-card.featured:hover { transform: translateY(-4px); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .urgency-bar { font-size: 13px; padding: 10px; }
    .schedule-table { font-size: 13px; }
    .schedule-table th, .schedule-table td { padding: 10px 8px; }
    .float-whatsapp { width: 52px; height: 52px; font-size: 26px; bottom: 16px; right: 16px; }
}

/* ===== ASISTENTE VIRTUAL ===== */
.float-assistant {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-darker) 100%);
    color: var(--gold);
    padding: 14px 22px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(26, 39, 71, 0.35), 0 0 0 1px rgba(201, 169, 97, 0.4);
    z-index: 51;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
    border: none;
}
.float-assistant::before {
    content: '✨';
    font-size: 18px;
    animation: sparkle 2.5s ease-in-out infinite;
}
@keyframes sparkle {
    0%, 100% { transform: rotate(0) scale(1); }
    50% { transform: rotate(180deg) scale(1.15); }
}
.float-assistant:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26, 39, 71, 0.5), 0 0 0 2px var(--gold);
}
.float-assistant span {
    display: inline-block;
}

.assistant-panel {
    position: fixed;
    bottom: 88px;
    left: 24px;
    width: 360px;
    max-width: calc(100vw - 48px);
    max-height: 540px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(26, 39, 71, 0.25), 0 0 0 1px rgba(201, 169, 97, 0.2);
    z-index: 52;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom left;
    transition: opacity 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.assistant-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.assistant-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-darker) 100%);
    color: var(--white);
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}
.assistant-header .ah-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.assistant-header .ah-info {
    flex: 1;
    min-width: 0;
}
.assistant-header .ah-info strong {
    display: block;
    font-size: 15px;
    color: var(--white);
}
.assistant-header .ah-info span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 2px;
}
.assistant-header .ah-info span::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
}
.assistant-close {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.assistant-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.assistant-body {
    flex: 1;
    overflow-y: auto;
    padding: 22px;
    background: linear-gradient(180deg, var(--cream-light) 0%, var(--white) 100%);
}
.assistant-message {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px 16px 16px 4px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--navy);
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
    animation: msgIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.assistant-message.user {
    background: var(--navy);
    color: var(--white);
    border-radius: 16px 16px 4px 16px;
    margin-left: 32px;
    align-self: flex-end;
    border: none;
}
@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.assistant-quick {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}
.assistant-quick button {
    background: var(--white);
    color: var(--navy);
    border: 1.5px solid var(--gray-100);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    line-height: 1.4;
}
.assistant-quick button:hover {
    border-color: var(--gold);
    background: var(--cream-light);
    transform: translateX(2px);
}
.assistant-quick button.primary {
    background: var(--whatsapp);
    color: var(--white);
    border-color: var(--whatsapp);
    text-align: center;
    font-weight: 700;
}
.assistant-quick button.primary:hover {
    background: var(--whatsapp-dark);
    transform: translateX(0) translateY(-1px);
}

.assistant-footer {
    padding: 12px 22px;
    text-align: center;
    border-top: 1px solid var(--gray-100);
    font-size: 11px;
    color: var(--gray-600);
    background: var(--white);
}
.assistant-footer strong {
    color: var(--gold);
}

@media (max-width: 480px) {
    .float-assistant span { display: none; }
    .float-assistant {
        padding: 14px;
        width: 52px;
        height: 52px;
        justify-content: center;
        border-radius: 50%;
        bottom: 16px;
        left: 16px;
    }
    .float-assistant::before {
        font-size: 22px;
    }
    .assistant-panel {
        bottom: 80px;
        left: 16px;
        right: 16px;
        width: auto;
    }
}

/* SECCIÓN MÉTODO */
.method-section { background: linear-gradient(180deg, var(--white) 0%, var(--cream-light) 100%); }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.method-text .label { color: var(--gold); font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; display: block; }
.method-text h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 24px; margin-top: 8px; line-height: 1.15; letter-spacing: -0.02em; }
.method-text h2 em { color: var(--gold); font-style: italic; font-family: 'Playfair Display', serif; }
.method-text p { color: var(--gray-800); font-size: 16px; line-height: 1.7; margin-bottom: 18px; }
.method-text p strong { color: var(--navy); }
.method-text .highlight-quote { background: var(--cream); border-left: 4px solid var(--gold); padding: 20px 24px; border-radius: 0 12px 12px 0; font-style: italic; color: var(--navy); margin-top: 24px; font-size: 15px; line-height: 1.6; }
.method-stats { display: flex; flex-direction: column; gap: 16px; }
.method-stat { display: flex; gap: 18px; background: var(--white); padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.method-stat:hover { transform: translateX(4px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.stat-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-darker) 100%); border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.method-stat strong { display: block; color: var(--navy); font-family: 'Inter', sans-serif; font-size: 17px; margin-bottom: 4px; }
.method-stat p { color: var(--gray-600); font-size: 14px; line-height: 1.5; margin: 0; }
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== OVERRIDE: SVG icons en lugar de emojis ===== */
.float-assistant::before { display: none !important; content: none !important; }
.float-whatsapp { font-size: 0; }
.float-whatsapp svg { color: var(--white); }
.float-assistant svg {
    color: var(--gold);
    animation: sparkleSpin 3s ease-in-out infinite;
}
@keyframes sparkleSpin {
    0%, 100% { transform: rotate(0) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

/* ===== MOTION-RICH PREMIUM ANIMATIONS ===== */

/* 3D tilt hover en cards */
.benefit-card, .plan-card, .testimonial-card, .method-stat, .payment-card {
    transform-style: preserve-3d;
    will-change: transform;
}
.benefit-card:hover, .testimonial-card:hover {
    transform: translateY(-6px) perspective(1000px) rotateX(2deg);
}

/* Gradient shimmer en H1 hero gold */
.hero-gold {
    background: linear-gradient(120deg, var(--gold) 30%, #f5d57a 50%, var(--gold) 70%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 4s ease-in-out infinite;
}
@keyframes shimmerText {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -100% 0; }
}

/* Animated gradient en stat-icon */
.stat-icon, .icon-circle {
    position: relative;
    overflow: hidden;
}
.stat-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(201, 169, 97, 0.3) 50%, transparent 60%);
    transform: rotate(45deg);
    animation: shimmerSweep 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes shimmerSweep {
    0%, 100% { transform: translate(-100%, -100%) rotate(45deg); }
    50% { transform: translate(100%, 100%) rotate(45deg); }
}

/* Marquee con asignaturas */
.marquee-wrap {
    overflow: hidden;
    background: var(--navy);
    color: var(--gold);
    padding: 18px 0;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}
.marquee {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.marquee span { display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after {
    content: '✦';
    color: rgba(201, 169, 97, 0.5);
    font-size: 18px;
    font-style: normal;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Mejor hover en plan-card con tilt */
.plan-card:hover {
    transform: translateY(-8px) scale(1.02);
}
.plan-card.featured:hover {
    transform: translateY(-8px) scale(1.07);
}

/* Smooth easing global mejorado */
* {
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Seguimiento info en subjects */
.included-bar {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(201, 169, 97, 0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.included-bar .item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}
.included-bar .item::before {
    content: '✓';
    color: var(--gold);
    font-weight: 900;
    font-size: 16px;
}
.included-bar .divider {
    color: var(--gray-300);
    font-size: 14px;
}
@media (max-width: 768px) {
    .included-bar { border-radius: 16px; flex-direction: column; padding: 16px; }
    .included-bar .divider { display: none; }
}

/* Card glow effect sutil */
.benefit-card, .plan-card, .testimonial-card {
    position: relative;
}
.benefit-card::after, .plan-card::after, .testimonial-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0) 0%, rgba(201, 169, 97, 0.3) 50%, rgba(201, 169, 97, 0) 100%);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.benefit-card:hover::after, .plan-card:hover::after, .testimonial-card:hover::after {
    opacity: 1;
}

/* Hero gradient overlay animated */
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 39, 71, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb 8s ease-in-out infinite;
}
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, -30px); }
}
