/* =============================================
   EduGenerativa Kids — styles.css
   Clean, professional, high-contrast redesign
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

/* === APPROVED COLOR PALETTE === */
:root {
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #F8F7FF;
    --color-bg-tertiary: #F0EFFE;
    --color-bg-dark: #1E1B4B;
    --color-text-primary: #1E1B4B;
    --color-text-secondary: #374151;
    --color-text-muted: #6B7280;
    --color-accent: #7C3AED;
    --color-accent-dark: #6D28D9;
    --color-accent-light: #EDE9FE;
    --color-accent-border: #DDD6FE;
    --color-accent-text-dark: #4C1D95;
    --color-cta-gradient: linear-gradient(135deg, #7C3AED, #EC4899);
    --color-danger: #DC2626;
    --color-success: #16A34A;
    --color-warning: #F59E0B;
    --color-lavanda-on-dark: #A78BFA;
    --color-lavanda-soft-on-dark: #C4B5FD;

    /* Layout tokens */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --radius-btn: 12px;
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 12px 40px -10px rgba(0, 0, 0, 0.12);
    --font-main: 'Nunito', sans-serif;
    --transition-normal: 0.25s ease;
    --transition-spring: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === RESET === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* === GLOBAL TYPOGRAPHY — NO BUBBLE/CARTOON FONTS === */
/* Rule 15: ALL headings use the same font-family as body */
h1, h2, h3, h4 {
    font-family: var(--font-main);
    color: var(--color-text-primary);
}

h1 {
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-weight: 800;
    line-height: 1.3;
}

h3 {
    font-weight: 700;
    line-height: 1.4;
}

/* Override any lingering h3 color cycling */
h3:nth-of-type(odd),
h3:nth-of-type(even) {
    color: var(--color-text-primary);
}

/* Buttons also use the main font */
button, .btn-wa, .btn-wa-huge, .nav-wa-btn {
    font-family: var(--font-main);
}

p, label, span, li, div, a {
    font-family: var(--font-main);
    font-weight: 700;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 64px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: clamp(0.92rem, 1.5vw, 1.1rem);
    color: var(--color-text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* Legacy color utility classes — updated */
.text-blue {
    color: var(--color-accent);
}

.text-green {
    color: var(--color-success);
}

.text-yellow {
    color: var(--color-warning);
}

.text-orange {
    color: var(--color-danger);
}

/* =============================================
   1. NAVBAR
   ============================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    padding: 14px 0;
    transition: box-shadow 0.3s ease;
}

/* Scroll shadow added via JS class */
.navbar.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    font-family: var(--font-main);
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
}

/* "Generativa" text in nav-logo */
.nav-logo span {
    color: var(--color-accent);
}

.nav-back {
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition-normal);
    white-space: nowrap;
}

.nav-back:hover {
    color: var(--color-accent);
}

/* Nav WA Button — "Pedir Kit" */
.nav-wa-btn {
    background: #7C3AED;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-main);
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.nav-wa-btn:hover {
    background: #6D28D9;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .nav-logo {
        font-size: 1rem;
    }

    .nav-back {
        font-size: 0.75rem;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-wa-btn {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .nav-back {
        max-width: 100px;
    }

    .nav-wa-btn {
        font-size: 12px;
        padding: 7px 12px;
    }
}

/* =============================================
   2. HERO
   ============================================= */
.hero {
    background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 60%, #FDF4FF 100%);
    padding: 64px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* Decorative shapes — HIDDEN (eliminated per instructions) */
.deco-shape {
    display: none !important;
}

/* Floating animation kept but shapes are hidden */
@keyframes flotar {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(8deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #7C3AED;
    color: #FFFFFF;
    border: none;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    color: #1E1B4B;
    line-height: 1.2;
    letter-spacing: -0.03em;
    max-width: 700px;
    margin: 0 auto 16px;
    font-family: var(--font-main);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #374151;
    max-width: 580px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.hero-price {
    font-size: 2rem;
    font-weight: 800;
    color: #7C3AED;
    margin-bottom: 8px;
    font-family: var(--font-main);
}

.hero-price-note {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 16px;
}

/* Hero Badges */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.hero-badge-item {
    background: #FFFFFF;
    border: 1.5px solid #DDD6FE;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #4C1D95;
    box-shadow: none;
}

/* =============================================
   CTA BUTTONS (Hero + Pricing + CTA Final)
   ============================================= */
.btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #7C3AED, #EC4899);
    color: #FFFFFF;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-main);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

.btn-wa:hover,
.btn-wa:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.45);
}

.btn-wa-icon {
    width: 22px;
    height: 22px;
}

/* =============================================
   3. SUBJECTS CHIPS — Unified style
   ============================================= */
.section-materias {
    background: #FFFFFF;
}

.subjects-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 720px;
    margin: 0 auto;
}

.subject-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    transition: transform 0.2s ease;
    cursor: default;
    /* Unified style for ALL chips */
    background: #F5F3FF;
    border: 1.5px solid #DDD6FE;
    color: #4C1D95;
}

.subject-chip:hover {
    transform: scale(1.08);
}

/* Remove individual chip color overrides — all unified */
.chip-math,
.chip-espanol,
.chip-ciencias,
.chip-historia,
.chip-geo,
.chip-ingles,
.chip-fisica,
.chip-quimica {
    background: #F5F3FF;
    border: 1.5px solid #DDD6FE;
    color: #4C1D95;
}

/* "+ Cualquier otra" chip — dashed border */
.chip-any {
    background: #F5F3FF;
    border: 1.5px dashed #DDD6FE;
    color: #4C1D95;
}

/* =============================================
   4. TOOLS GRID (8 Herramientas)
   ============================================= */
.section-tools {
    background: #F8F7FF;
    border-top: none;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

.tool-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.25s ease;
    cursor: default;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* REMOVE per-card colored backgrounds — all white */
.tool-card:nth-child(1),
.tool-card:nth-child(2),
.tool-card:nth-child(3),
.tool-card:nth-child(4),
.tool-card:nth-child(5),
.tool-card:nth-child(6),
.tool-card:nth-child(7) {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-color: #E5E7EB;
}

.tool-card:nth-child(8) {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-style: solid;
}

.tool-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.tool-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 28px;
}

.tool-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1E1B4B;
    margin-bottom: 6px;
    font-family: var(--font-main);
}

.tool-card-desc {
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.5;
}

@media (min-width: 769px) {
    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =============================================
   5. KIT PREVIEW SECTION ("Así se ve el Kit")
   ============================================= */
.section-preview {
    background: #FFFFFF;
    border-top: none;
}

.preview-grid-kids {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.preview-card-kids {
    background: #F8F7FF;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #DDD6FE;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.preview-card-kids:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.preview-card-kids .preview-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 12px;
}

.preview-card-kids h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1E1B4B;
    margin-bottom: 6px;
    font-family: var(--font-main);
}

.preview-card-kids p {
    font-size: 0.82rem;
    color: #6B7280;
}

@media (max-width: 768px) {
    .preview-grid-kids {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* =============================================
   6. COST COMPARISON ("¿Cuánto cuesta NO prepararlo?")
   ============================================= */
.section-cost {
    background: #F9FAFB;
    border-top: none;
}

.cost-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.cost-card {
    padding: 24px 16px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition-spring);
    box-shadow: var(--shadow-card);
}

.cost-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}

.cost-emoji {
    font-size: 2.2rem;
    margin-bottom: 8px;
    display: block;
}

.cost-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.cost-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #DC2626;
    font-family: var(--font-main);
}

.cost-desc {
    font-size: 0.75rem;
    color: #6B7280;
    margin-top: 4px;
}

/* Winner card — Kit EduGenerativa Kids */
.cost-card--winner {
    border: 2px solid #7C3AED;
    background: #1E1B4B;
    position: relative;
    grid-column: 1 / -1;
}

.cost-card--winner:hover {
    border-color: #7C3AED;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.25);
}

.cost-card--winner .cost-name {
    color: #FFFFFF;
    font-weight: 700;
}

.cost-card--winner .cost-price {
    color: #A78BFA;
    font-size: 1.75rem;
    font-weight: 800;
}

.cost-card--winner .cost-desc {
    color: #C4B5FD;
}

.cost-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #7C3AED;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    font-family: var(--font-main);
    padding: 4px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.cost-bottom-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

@media (min-width: 769px) {
    .cost-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cost-card--winner {
        grid-column: auto;
    }
}

/* =============================================
   7. STEPS ("Así de fácil funciona")
   ============================================= */
.section-steps {
    background: #F8F7FF;
    border-top: none;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-spring);
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: #7C3AED;
    background: #EDE9FE;
    border: 2px solid #7C3AED;
}

.step-1,
.step-2,
.step-3 {
    background: #EDE9FE;
    border-color: #7C3AED;
}

.step-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1E1B4B;
    margin-bottom: 4px;
    font-family: var(--font-main);
}

.step-content p {
    font-size: 0.9rem;
    color: #4B5563;
}

/* Step Time Chip — "2-4 horas" */
.step-time-chip {
    display: inline-block;
    background: #7C3AED;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-main);
    padding: 5px 14px;
    border-radius: 100px;
    margin-top: 8px;
}

/* Pop-in animation for steps */
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.6); }
    70% { transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.paso-card {
    opacity: 0;
}

.paso-visible {
    animation: popIn 0.5s ease forwards;
}

@media (min-width: 769px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .step-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* =============================================
   8. PRICING CARD ("Kit Kids")
   ============================================= */
.section-pricing {
    background: #F8F7FF;
    border-top: none;
}

.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 2px solid #7C3AED;
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    position: relative;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #7C3AED;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: var(--font-main);
    padding: 6px 18px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.pricing-emoji {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

.pricing-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1E1B4B;
    margin-bottom: 4px;
    font-family: var(--font-main);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: #7C3AED;
    margin-bottom: 4px;
    font-family: var(--font-main);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 600;
    color: #7C3AED;
}

/* Strikethrough price */
.pricing-card > div[style*="line-through"] {
    color: #9CA3AF !important;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.92rem;
    font-weight: 500;
    color: #1E1B4B;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    font-size: 0.82rem;
    color: #6B7280;
    margin-top: 16px;
    line-height: 1.5;
}

/* =============================================
   9. GUARANTEE ("Garantía de Hierro de 24 horas")
   FIXED: Was orange/yellow on purple — now white on navy
   ============================================= */
.guarantee-card {
    max-width: 680px;
    margin: 0 auto;
    background: #1E1B4B;
    border: 2px solid #7C3AED;
    border-radius: var(--radius-xl);
    padding: 40px 28px;
    text-align: center;
    color: #fff;
}

.guarantee-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: block;
}

.guarantee-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 16px;
    font-family: var(--font-main);
}

.guarantee-text {
    font-size: clamp(0.92rem, 1.5vw, 1.05rem);
    color: #E2E8F0;
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto;
}

.guarantee-text strong {
    color: #A78BFA;
}

.guarantee-footer {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-top: 16px;
}

/* =============================================
   10. CREATOR SECTION ("Hecho por Eduardo González")
   ============================================= */
.seccion-creador {
    background: #F8F7FF;
    border-top: none;
}

.creador-container {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.creador-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EDE9FE;
    color: #4C1D95;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.creador-container h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #1E1B4B;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    font-family: var(--font-main);
}

.creador-rol {
    font-size: 1rem;
    color: #6B7280;
    font-weight: 500;
    margin-bottom: 16px;
}

.creador-descripcion {
    font-size: 1rem;
    color: #374151;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 28px;
}

.creador-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.creador-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-numero {
    font-size: 1.75rem;
    font-weight: 800;
    color: #7C3AED;
    font-family: var(--font-main);
}

.stat-label {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 600;
}

@media (max-width: 480px) {
    .creador-stats {
        gap: 20px;
    }

    .stat-numero {
        font-size: 1.3rem;
    }
}

/* =============================================
   11. TESTIMONIALS ("Papás que ya lo probaron")
   ============================================= */
.section-testimonials {
    background: #FFFFFF;
    border-top: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: #F8F7FF;
    border: 1px solid #DDD6FE;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-spring);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #1E1B4B;
    font-style: italic;
    line-height: 1.75;
    margin-bottom: 14px;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1E1B4B;
}

.testimonial-subject {
    font-size: 0.85rem;
    color: #6B7280;
}

@media (min-width: 769px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =============================================
   12. FAQ ("Preguntas frecuentes")
   ============================================= */
.seccion-faq {
    background: #F9FAFB;
    border-top: none;
}

.faq-lista {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #FFFFFF;
    padding: 0 18px;
    transition: all 0.25s ease;
}

.faq-item[open] {
    border-color: #DDD6FE;
    background: #F8F7FF;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-weight: 600;
    font-size: 1rem;
    color: #1E1B4B;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-main);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '▼';
    font-size: 0.7rem;
    color: #7C3AED;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.75;
    padding: 0 0 18px 0;
}

/* =============================================
   13. CTA FINAL ("Tu hijo puede llegar preparado...")
   ============================================= */
.cta-final {
    background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
    padding: 72px 0;
    text-align: center;
}

.cta-final h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: #1E1B4B;
    margin-bottom: 8px;
    font-family: var(--font-main);
}

.cta-final p {
    font-size: clamp(0.92rem, 1.5vw, 1.1rem);
    color: #374151;
    max-width: 500px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.btn-wa-huge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #7C3AED, #EC4899);
    color: #FFFFFF;
    padding: 22px 48px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-main);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

.btn-wa-huge:hover,
.btn-wa-huge:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.45);
}

.cta-urgencia {
    font-size: 0.88rem;
    color: #DC2626;
    font-weight: 600;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .cta-final h2 {
        font-size: 1.6rem;
    }

    .btn-wa-huge {
        font-size: 1rem;
        padding: 18px 32px;
    }
}

/* =============================================
   14. FOOTER
   ============================================= */
.footer {
    background: #7C3AED;
    border-top: none;
    padding: 48px 0 28px;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 0 24px;
    text-align: center;
}

.footer-brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-main);
    color: #FFFFFF;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #DDD6FE;
    margin-bottom: 12px;
}

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.footer-col-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: #A78BFA;
    font-family: var(--font-main);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.88rem;
    color: #E9D5FF;
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #C4B5FD;
}

@media (min-width: 769px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
        text-align: left;
    }

    .footer-logo,
    .footer-social {
        justify-content: flex-start;
    }
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === FADE-UP (Scroll Reveal) === */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === FADE-IN-UP ANIMATION === */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .paso-card {
        opacity: 1;
    }

    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =============================================
   STICKY MOBILE CTA
   ============================================= */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    padding: 12px 16px;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
}

.sticky-cta.visible {
    display: block;
}

.sticky-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #7C3AED, #EC4899);
    color: #FFFFFF;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-main);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

@media (min-width: 769px) {
    .sticky-cta {
        display: none !important;
    }
}

/* =============================================
   FLOATING WA BUTTON
   ============================================= */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 98;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
    transition: all var(--transition-spring);
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
}

.wa-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

@media (max-width: 768px) {
    .wa-float {
        bottom: 80px;
    }

    .section-padding {
        padding: 48px 0;
    }

    .hero {
        padding: 48px 0 56px;
    }
}

@media (max-width: 480px) {
    .subject-chip {
        font-size: 0.82rem;
        padding: 8px 14px;
    }

    .nav-wa-btn {
        font-size: 12px;
        padding: 7px 12px;
    }
}

/* =============================================
   DESKTOP NAV LINKS
   ============================================= */
.nav-links-kids {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links-kids a {
    font-size: 0.82rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: var(--font-main);
}

.nav-links-kids a:hover {
    color: var(--color-accent);
}

/* =============================================
   HAMBURGER (MOBILE)
   ============================================= */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   MOBILE DROPDOWN MENU
   ============================================= */
.nav-mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.nav-mobile-menu.open {
    max-height: 300px;
    display: flex;
}

.nav-mobile-menu a {
    padding: 14px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    text-decoration: none;
    border-bottom: 1px solid #E5E7EB;
    transition: background 0.2s ease;
}

.nav-mobile-menu a:hover {
    background: #F8F7FF;
}

@media (max-width: 768px) {
    .nav-links-kids { display: none; }
    .nav-hamburger { display: flex; }
    .nav-mobile-menu { display: flex; max-height: 0; }
    .nav-mobile-menu.open { max-height: 300px; }
}

/* =============================================
   TOOL CARD BONUS BADGE
   ============================================= */
.tool-card--bonus {
    position: relative;
}

.tool-bonus-badge {
    position: absolute;
    top: -10px;
    right: -6px;
    background: linear-gradient(135deg, #7C3AED, #EC4899);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    font-family: var(--font-main);
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

/* =============================================
   PRICING GLOW ANIMATION
   ============================================= */
.pricing-card--glow {
    animation: pricingGlow 3s ease-in-out infinite;
}

@keyframes pricingGlow {
    0%, 100% { box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15), 0 0 20px rgba(124, 58, 237, 0.1); }
    50% { box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15), 0 0 40px rgba(124, 58, 237, 0.25); }
}

/* =============================================
   CONFETTI KEYFRAME
   ============================================= */
@keyframes caerConfeti {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* =============================================
   SMOOTH SCROLL (duplicate safe)
   ============================================= */
html {
    scroll-behavior: smooth;
}