/* ===== RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: #192335;
    background-color: #F5F7FA;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== 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: #2f57ef;
    display: block;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-top: 0.75rem;
}

.section-desc {
    font-size: 1.1rem;
    color: #6b7385;
    margin-top: 1rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== UTILITY ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.text-center {
    text-align: center;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.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 BUTTONS ===== */
.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;
    font-family: 'Lato', sans-serif;
}

.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-color: #2f57ef;
    color: #192335;
    box-shadow: 0 4px 16px rgba(47, 87, 239, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(47, 87, 239, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: #F5F7FA;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-dark {
    background-color: #b966e7;
    color: #F5F7FA;
    box-shadow: 0 4px 16px rgba(47, 87, 239, 0.15);
}

.btn-dark:hover {
    box-shadow: 0 8px 32px rgba(47, 87, 239, 0.3);
}

.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-color: #192335;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://placehold.co/1920x1080');
    /* Placeholder image */
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(25, 35, 53, 0.85);
    /* Color azul oscuro corporativo con opacidad fuerte */
    background: linear-gradient(180deg, rgba(25, 35, 53, 0.7) 0%, rgba(25, 35, 53, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 4rem;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(47, 87, 239, 0.4);
    background-color: rgba(47, 87, 239, 0.15);
    font-size: 0.85rem;
    font-weight: 600;
    color: #2f57ef;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    color: #F5F7FA;
    max-width: 820px;
}

.hero p.hero-desc {
    font-size: 1.15rem;
    color: rgba(25, 35, 53, 0.85);
    /* Ajustado para legibilidad si necesario, o mantener original */
    /* Original era rgba(247,242,237,0.8) sobre fondo oscuro, aqui debe ser claro */
    color: rgba(245, 247, 250, 0.8);
    max-width: 640px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

/* Counters */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    width: 100%;
    max-width: 700px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #2f57ef;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(245, 247, 250, 0.6);
    margin-top: 0.25rem;
}

@media (max-width: 640px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ===== VIDEO ===== */
.video-section {
    padding-top: 5rem;
    padding-bottom: 6rem;
    background-color: #F5F7FA;
}

.video-wrapper {
    max-width: 880px;
    margin: 3rem auto 0;
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid #e6e3f1;
    box-shadow: 0 12px 48px rgba(25, 35, 53, 0.12);
    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;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(25, 35, 53, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.video-wrapper:hover .video-overlay {
    background-color: rgba(25, 35, 53, 0.5);
}

.play-btn {
    width: 80px;
    height: 80px;
    background-color: #2f57ef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(47, 87, 239, 0.4);
    transition: transform 0.3s ease;
}

.video-wrapper:hover .play-btn {
    transform: scale(1.12);
}

.play-btn svg {
    width: 32px;
    height: 32px;
    color: #192335;
    margin-left: 4px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== PENSUM ===== */
.pensum-section {
    padding-top: 5rem;
    padding-bottom: 6rem;
    background-color: #ffffff;
    position: relative;
}

.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: 10px;
    border: 1px solid #e6e3f1;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pensum-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(25, 35, 53, 0.08);
}

.pensum-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: #b966e7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pensum-card-icon svg {
    width: 24px;
    height: 24px;
    color: #F5F7FA;
}

.pensum-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #192335;
}

.pensum-card-desc {
    font-size: 0.8rem;
    color: #6b7385;
}

@media (max-width: 640px) {
    .pensum-cards {
        grid-template-columns: 1fr;
    }
}

/* Accordion */
.lp-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lp-accordion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem auto 0;
    max-width: 900px;
    text-align: left;
}

@media (min-width: 992px) {
    .lp-accordion-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.lp-accordion-item {
    border-radius: 12px;
    border: 1px solid #e6e3f1;
    background-color: #ffffff;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 2px 8px rgba(25, 35, 53, 0.04);
}

.lp-accordion-item.active {
    box-shadow: 0 8px 30px rgba(25, 35, 53, 0.12);
    border-color: rgba(47, 87, 239, 0.2);
}

.lp-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #192335;
    transition: all 0.2s ease;
}

.lp-accordion-trigger:hover {
    color: #b966e7;
}

.lp-accordion-trigger-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

@media (min-width: 640px) {
    .lp-accordion-trigger-left {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

.lp-accordion-badge {
    display: inline-block;
    padding: 0.15rem 0.75rem;
    border-radius: 50px;
    background-color: #e6e3f1;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b966e7;
}

.lp-accordion-chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    color: #6b7385;
    flex-shrink: 0;
}

.lp-accordion-item.active .lp-accordion-chevron {
    transform: rotate(180deg);
}

.lp-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
    padding: 0 1.5rem;
}

.lp-accordion-item.active .lp-accordion-content {
    max-height: 1000px;
    padding: 0 1.5rem 1.25rem;
}

.lp-accordion-content ul {
    list-style: none !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 0;
    margin: 0;
}

.lp-accordion-content li {
    list-style: none !important;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #6b7385;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    position: relative;
}

.lp-accordion-content li::before {
    display: none !important;
    content: none !important;
}

.lp-accordion-bullet {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2f57ef;
    margin-top: 8px;
    flex-shrink: 0;
}

/* ===== ADVANTAGES ===== */
.advantages-section {
    padding: 5rem 0 6rem;
    background-color: var(--sec-bg, #F5F7FA) !important;
    /* Variables de sección */
    --sec-bg: #F5F7FA;
    --sec-title: #192335;
    --sec-label: #2f57ef;
    --sec-desc: #6b7385;
}

.advantages-section .section-title {
    color: var(--sec-title) !important;
}

.advantages-section .section-label {
    color: var(--sec-label) !important;
}

.advantages-section .section-desc {
    color: var(--sec-desc) !important;
}

.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: 16px;
    border: 1px solid var(--card-border, #e6e3f1) !important;
    background-color: var(--card-bg, #ffffff) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    /* Variables editables heredables */
    --advantage-accent: #2f57ef;
    --icon-bg: #b966e7;
    --icon-hover-bg: #2f57ef;
    --card-bg: #ffffff;
    --card-border: #e6e3f1;
    --card-title: #192335;
    --card-text: #6b7385;
}

.advantage-card-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--advantage-accent) !important;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(59, 37, 16, 0.14);
    border-color: rgba(47, 87, 239, 0.3);
}

.advantage-card:hover .advantage-card-line {
    width: 100%;
}

.advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background-color: var(--icon-bg) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    background-color: var(--icon-hover-bg) !important;
}

.advantage-icon svg {
    width: 28px;
    height: 28px;
    color: #F5F7FA;
}

.advantage-card h3 {
    font-size: 1.2rem;
    margin-top: 1.25rem;
    color: var(--card-title) !important;
}



.advantage-card p {
    margin-top: 0.5rem;
    color: var(--card-text) !important;
    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-top: 5rem;
    padding-bottom: 6rem;
    background-color: #192335;
    position: relative;
    overflow: hidden;
}

.diploma-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.diploma-text .section-label {
    color: #2f57ef;
}

.diploma-text .section-title {
    color: #F5F7FA;
}

.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-color: #2f57ef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.diploma-feature-icon svg {
    width: 20px;
    height: 20px;
    color: #192335;
}

.diploma-feature-title {
    font-weight: 700;
    color: #F5F7FA;
}

.diploma-feature-desc {
    font-size: 0.9rem;
    color: rgba(247, 242, 237, 0.6);
    margin-top: 0.15rem;
}

/* 3D Diploma */
.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-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 24px;
    background: radial-gradient(circle, rgba(47, 87, 239, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, top 0.5s ease, left 0.5s ease, right 0.5s ease, bottom 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.diploma-image-inner:hover .diploma-glow {
    opacity: 1;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
}

.diploma-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    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: 16px;
    border: 4px solid rgba(232, 213, 184, 0.3);
    box-shadow: 0 12px 48px rgba(59, 37, 16, 0.14);
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.diploma-image-inner:hover img {
    border-color: #2f57ef;
    box-shadow: 0 20px 60px rgba(47, 87, 239, 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-top: 5rem;
    padding-bottom: 6rem;
    background-color: #ffffff;
}

.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: 16px;
    border: 1px solid #e6e3f1;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    /* Variables editables heredables */
    --testi-accent: #2f57ef;
    --testi-quote-bg: #e6e3f1;
    --testi-quote-color: #2f57ef;
    --testi-stars-color: #2f57ef;
    --testi-avatar-border: #e6e3f1;
    --testi-avatar-hover: #2f57ef;
}

.testimonial-card-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--testi-accent) !important;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(59, 37, 16, 0.14);
}

.testimonial-card:hover .testimonial-card-line {
    width: 100%;
}

.testimonial-quote-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--testi-quote-bg) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.testimonial-quote-icon svg {
    width: 18px;
    height: 18px;
    color: var(--testi-quote-color) !important;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--testi-stars-color) !important;
    color: var(--testi-stars-color) !important;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #6b7385;
    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 #e6e3f1;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--testi-avatar-border) !important;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    border-color: var(--testi-avatar-hover) !important;
    transform: scale(1.08);
}

.testimonial-name {
    font-weight: 700;
    color: #192335;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: #6b7385;
    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-color: var(--sec-cta-bg, #F5F7FA) !important;
    /* Variables de sección CTA */
    --sec-cta-bg: #F5F7FA;
    --sec-cta-title: #192335;
    --sec-cta-desc: #6b7385;
}

.cta-section .section-title {
    color: var(--sec-cta-title) !important;
}

.cta-section .section-desc {
    color: var(--sec-cta-desc) !important;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--badge-border, rgba(220, 53, 69, 0.3)) !important;
    background-color: var(--badge-bg, rgba(220, 53, 69, 0.08)) !important;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--badge-color, #dc3545) !important;
    animation: pulse-badge 2s ease infinite;
    /* Variables locales */
    --badge-bg: rgba(220, 53, 69, 0.08);
    --badge-border: rgba(220, 53, 69, 0.3);
    --badge-color: #dc3545;
}

@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;
    /* Variables globales del reloj */
    --cd-box-bg: #b966e7;
    --cd-box-num: #2f57ef;
    --cd-box-label: rgba(247, 242, 237, 0.6);
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--cd-box-bg) !important;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    min-width: 72px;
    box-shadow: 0 4px 24px rgba(59, 37, 16, 0.08);
    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(--cd-box-num, #2f57ef) !important;
    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: var(--cd-box-label, rgba(247, 242, 237, 0.6)) !important;
    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(--price-card-border, #b966e7) !important;
    border-radius: 16px;
    background-color: var(--price-card-bg, #ffffff) !important;
    padding: 2.5rem 2rem;
    box-shadow: 0 12px 48px rgba(59, 37, 16, 0.14);
    transition: transform 0.3s ease;
    /* Variables locales */
    --price-card-border: #b966e7;
    --price-card-bg: #ffffff;
    --price-primary: #b966e7;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-old {
    font-size: 1.1rem;
    color: #6b7385;
    text-decoration: line-through;
}

.pricing-current {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--price-primary, #b966e7) !important;
}

.pricing-installment {
    color: #6b7385;
    margin-top: 0.25rem;
}

.pricing-installment strong {
    color: #192335;
}

.pricing-bonus {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: #6b7385;
}

.pricing-bonus svg {
    width: 16px;
    height: 16px;
    color: #2f57ef;
}

.pricing-bonus strong {
    color: #192335;
}

.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: #6b7385;
}

.trust-signal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
}

/* ===== CONTACT ===== */
.contact-section {
    padding-top: 5rem;
    padding-bottom: 6rem;
    background-color: #ffffff;
}

.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-color: #b966e7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    color: #F5F7FA;
}

.contact-info-title {
    font-weight: 700;
    color: #192335;
    font-size: 0.95rem;
}

.contact-info-desc {
    font-size: 0.9rem;
    color: #6b7385;
    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: #192335;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.8rem 1rem;
    border: 1px solid #e6e3f1;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: #192335;
    background-color: #ffffff;
    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: #2f57ef;
    box-shadow: 0 0 0 3px rgba(47, 87, 239, 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: 16px;
    background-color: #ffffff;
    border: 2px solid #d4951a;
    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-color: #d4951a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success-icon svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.form-success h3 {
    font-size: 1.3rem;
    color: #3b2510;
}

.form-success p {
    color: #7a6b5d;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #5c3618;
    padding-top: 3rem;
    padding-bottom: 3rem;
    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: #d4951a;
}

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #F5F7FA;
}

.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: #d4951a;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(247, 242, 237, 0.3);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 99999 !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex !important;
    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-wa 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
    background-color: #22bf5b;
    color: white;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
    /* Color explícito para el icono */
}

@keyframes float-bounce-wa {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}