/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: #3b2510;
    background: #f7f2ed;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== DESIGN TOKENS ===== */
:root {
    /* Palette based on 'Style Five' & 'Pastry Diploma' images */
    --primary: #6366f1;
    /* Indigo */
    --primary-light: #818cf8;
    --primary-dark: #4338ca;

    --accent: #ec4899;
    /* Pink */
    --accent-light: #fbcfe8;

    --secondary: #a855f7;
    /* Purple */
    --secondary-dark: #7e22ce;

    /* Soft Gradients */
    --bg-gradient: linear-gradient(135deg, #eef2ff 0%, #fdf2f8 100%);
    --text-gradient: linear-gradient(to right, #4f46e5, #ec4899);

    --bg: #f8fafc;
    --bg-card: #ffffff;

    --text: #1e293b;
    /* Slate 800 */
    --text-muted: #64748b;
    /* Slate 500 */
    --text-light: #f8fafc;

    --border: #e2e8f0;
    --white: #ffffff;
    --danger: #ef4444;

    --radius: 20px;
    --radius-sm: 12px;

    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-color: 0 10px 30px -5px rgba(99, 102, 241, 0.4);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-top: 0.75rem;
    text-wrap: balance;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 640px;
    margin-inline: auto;
}

/* ===== UTILITY ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===== REVEAL ANIMATIONS ===== */
/* Por defecto visible para editores y navegadores sin JS */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Solo ocultar cuando el script está activo (añade la clase al body) */
body.reveal-enabled .reveal:not(.revealed) {
    opacity: 0;
    transform: translateY(40px);
}

/* Mostrar cuando tiene la clase revealed (añadida por JS) */
.reveal.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ===== CTA BUTTON ===== */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.6s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.03);
}

.btn-primary {
    background: #ec4899;
    /* Hot Pink */
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.6);
}

/* NEW GRADIENT BUTTONS PENUSM */
.btn-gradient-pink {
    background: linear-gradient(135deg, #f472b6 0%, #db2777 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(219, 39, 119, 0.4);
    border: none;
    min-width: 220px;
    justify-content: center;
}

.btn-gradient-pink:hover {
    box-shadow: 0 8px 25px rgba(219, 39, 119, 0.6);
    transform: translateY(-3px);
}

.btn-gradient-blue {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    border: none;
    min-width: 200px;
    justify-content: center;
}

.btn-gradient-blue:hover {
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.6);
    transform: translateY(-3px);
}

.btn-gradient-yellow {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(202, 138, 4, 0.4);
    border: none;
    min-width: 220px;
    justify-content: center;
}

.btn-gradient-yellow:hover {
    box-shadow: 0 8px 25px rgba(202, 138, 4, 0.6);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .pensum-buttons-container {
        flex-direction: column;
    }

    .btn-cta {
        width: 100%;
    }
}

.btn-whatsapp {
    background: #22c55e;
    /* Bright Green */
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
    border: none;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-dark {
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 16px rgba(122, 74, 35, 0.25);
}

.btn-dark:hover {
    box-shadow: 0 8px 32px rgba(122, 74, 35, 0.4);
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-cta:hover .btn-arrow {
    transform: translateX(4px);
}



/* ===== HERO ===== */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* Restauramos imagen por defecto para bloques antiguos */
    background-image: url('/landing/descarga.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 1 !important;
    /* Forzamos visibilidad total */
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Overlay mucho más transparente (casi invisible) para asegurar que se vea la imagen */
    background: linear-gradient(180deg, rgba(233, 94, 233, 0.1) 0%, rgba(59, 37, 16, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    padding: 5rem 0 4rem;
    width: 100%;
}



/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 3rem;
    width: 100%;
    max-width: 900px;
    border-radius: 999px;
    /* Pill shape */
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.info-item {
    padding: 1.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Specific Pastel Colors from Image */
.info-item:nth-child(1) {
    background: #e0e7ff;
    /* Lavender Blue */
    color: #4338ca;
}

.info-item:nth-child(2) {
    background: #dbeafe;
    /* Light Blue */
    color: #1e40af;
}

.info-item:nth-child(3) {
    background: #dcfce7;
    /* Light Green */
    color: #166534;
}

.info-item:nth-child(4) {
    background: #fef9c3;
    /* Light Yellow */
    color: #854d0e;
}

.info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.info-value {
    font-weight: 800;
    line-height: 1.2;
    font-size: 1.1rem;
}

.info-sub {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-weight: 500;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 20px;
        /* Less rounded on mobile */
    }
}

/* Yellow 100 */

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.info-value {
    font-weight: 700;
    line-height: 1.3;
    font-size: 1rem;
}

.info-sub {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .info-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 640px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ===== VIDEO ===== */
.video-section {
    padding: 5rem 0 6rem;
    background: var(--bg);
}

.video-wrapper {
    max-width: 880px;
    margin: 3rem auto 0;
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    border: 4px solid var(--secondary);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-wrapper:hover img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(59, 37, 16, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-wrapper:hover .video-overlay {
    background: rgba(59, 37, 16, 0.45);
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(212, 149, 26, 0.4);
    transition: transform 0.3s ease;
}

.video-wrapper:hover .play-btn {
    transform: scale(1.12);
}

.play-btn svg {
    width: 32px;
    height: 32px;
    color: var(--text);
    margin-left: 4px;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== PENSUM ===== */
.pensum-section {
    padding: 5rem 0 6rem;
    background: var(--bg-card);
    position: relative;
}

.pensum-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/hero-pastry.jpg') center / cover fixed;
    opacity: 0.03;
    pointer-events: none;
}

.pensum-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 740px;
    margin: 3rem auto 0;
}

.pensum-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pensum-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.pensum-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pensum-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-light);
}

.pensum-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

.pensum-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .pensum-cards {
        grid-template-columns: 1fr;
    }
}

/* Accordion */
.accordion {
    max-width: 740px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-item {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--white);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.accordion-item.active {
    box-shadow: var(--shadow);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    transition: color 0.2s ease;
}

.accordion-trigger:hover {
    color: var(--primary);
}

.accordion-trigger-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

@media (min-width: 640px) {
    .accordion-trigger-left {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

.accordion-badge {
    display: inline-block;
    padding: 0.15rem 0.75rem;
    border-radius: 50px;
    background: var(--secondary);
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.accordion-chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--text-muted);
    flex-shrink: 0;
}

.accordion-item.active .accordion-chevron {
    transform: rotate(180deg);
}

.hero-buttons a:last-child {
    margin-right: 0;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    max-width: 700px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .hero-stat-number {
        font-size: 2rem;
    }
}

.accordion-content {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
    padding: 0 1.5rem !important;
    visibility: hidden;
}

/* Múltiples selectores para máxima especificidad */
.accordion-item.active .accordion-content,
.accordion .accordion-item.active .accordion-content,
div.accordion-item.active div.accordion-content,
body .accordion-item.active .accordion-content {
    max-height: 1000px !important;
    padding: 1rem 1.5rem 1.25rem !important;
    overflow: visible !important;
    visibility: visible !important;
}

/* También rotar el chevron cuando está activo */
.accordion-item.active .accordion-chevron,
.accordion-item.active svg.accordion-chevron {
    transform: rotate(180deg) !important;
}

.accordion-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accordion-content li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.accordion-content li::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 8px;
    flex-shrink: 0;
}

/* ===== ADVANTAGES ===== */
.advantages-section {
    padding: 5rem 0 6rem;
    background: var(--bg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 3.5rem auto 0;
}

.advantage-card {
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.advantage-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(122, 74, 35, 0.3);
}

.advantage-card:hover::after {
    width: 100%;
}

.advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    background: var(--accent);
}

.advantage-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-light);
}

.advantage-card h3 {
    font-size: 1.2rem;
    margin-top: 1.25rem;
    color: var(--text);
}

.advantage-card p {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== DIPLOMA ===== */
.diploma-section {
    padding: 5rem 0 6rem;
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.diploma-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/pastry-class.jpg') center / cover fixed;
    opacity: 0.08;
    pointer-events: none;
}

.diploma-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.diploma-text .section-label {
    color: var(--accent-light);
}

.diploma-text .section-title {
    color: var(--text-light);
}

.diploma-text>p {
    color: rgba(247, 242, 237, 0.75);
    font-size: 1.1rem;
    margin-top: 1.25rem;
    line-height: 1.7;
}

.diploma-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.diploma-feature {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.diploma-feature:hover {
    transform: translateX(6px);
}

.diploma-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.diploma-feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--text);
}

.diploma-feature-title {
    font-weight: 700;
    color: var(--text-light);
}

.diploma-feature-desc {
    font-size: 0.9rem;
    color: rgba(247, 242, 237, 0.6);
    margin-top: 0.15rem;
}

/* 3D Diploma Image */
.diploma-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.diploma-image-inner {
    position: relative;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    transform-style: preserve-3d;
}

.diploma-image-inner:hover {
    transform: rotateY(-8deg) rotateX(5deg) scale(1.05);
}

.diploma-glow {
    position: absolute;
    inset: -20px;
    border-radius: 24px;
    background: radial-gradient(circle, rgba(212, 149, 26, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, inset 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.diploma-image-inner:hover .diploma-glow {
    opacity: 1;
    inset: -40px;
}

.diploma-shine {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 3;
}

.diploma-image-inner:hover .diploma-shine {
    opacity: 1;
}

.diploma-image-inner img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius);
    border: 4px solid rgba(232, 213, 184, 0.3);
    box-shadow: var(--shadow-lg);
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.diploma-image-inner:hover img {
    border-color: var(--accent-light);
    box-shadow: 0 20px 60px rgba(212, 149, 26, 0.35);
}

@media (max-width: 900px) {
    .diploma-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .diploma-features {
        align-items: center;
    }

    .diploma-feature {
        text-align: left;
    }
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 5rem 0 6rem;
    background: var(--bg-card);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 3.5rem auto 0;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card:hover::after {
    width: 100%;
}

.testimonial-quote-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.testimonial-quote-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--accent);
    color: var(--accent);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    border-color: var(--accent);
    transform: scale(1.08);
}

.testimonial-name {
    font-weight: 700;
    color: var(--text);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/* ===== CTA / INSCRIPTION ===== */
.cta-section {
    padding: 5rem 0 6rem;
    background: var(--bg);
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(220, 53, 69, 0.3);
    background: rgba(220, 53, 69, 0.08);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--danger);
    animation: pulse-badge 2s ease infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.urgency-badge svg {
    width: 16px;
    height: 16px;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--primary);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.25rem;
    min-width: 72px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.countdown-box:hover {
    transform: scale(1.08);
}

.countdown-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
    transition: transform 0.3s ease;
}

.countdown-number.tick {
    animation: tick 0.5s ease;
}

@keyframes tick {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

.countdown-label {
    font-size: 0.7rem;
    color: rgba(247, 242, 237, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.35rem;
}

/* Pricing Card */
.pricing-card {
    max-width: 440px;
    margin: 2.5rem auto 0;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    background: var(--white);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-old {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-current {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-installment {
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.pricing-installment strong {
    color: var(--text);
}

.pricing-bonus {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-bonus svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.pricing-bonus strong {
    color: var(--text);
}

.pricing-cta {
    margin-top: 1.75rem;
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1.1rem 2rem;
}

.trust-signals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-signal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 5rem 0 6rem;
    background: var(--bg-card);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(6px);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--text-light);
}

.contact-info-title {
    font-weight: 700;
    color: var(--text);
    font-size: 0.95rem;
}

.contact-info-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 149, 26, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding: 3rem 2rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 2px solid var(--accent);
    animation: successIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-success.show {
    display: flex;
}

@keyframes successIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.form-success h3 {
    font-size: 1.3rem;
    color: var(--text);
}

.form-success p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-dark);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-logo svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(247, 242, 237, 0.5);
    max-width: 400px;
    margin: 0 auto 1.25rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    font-size: 0.85rem;
    color: rgba(247, 242, 237, 0.45);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(247, 242, 237, 0.3);
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    animation: float-bounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    color: white;
}

@keyframes float-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ===== HERO MISSING STYLES ===== */

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    /* Corregido var(--white) a white si no está definido */
    margin-bottom: 1rem;
}

.hero-badge svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    /* Pink accent */
}

.hero-badge span {
    color: white;
}

/* Hero Typography */
.hero h1 {
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    max-width: 900px;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: 300;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: block;
}

.hero-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    margin-top: 0.25rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}