:root {
    --primary-color: #C00000;
    --primary-hover: #a00000;
    --secondary-color: #1E3A5F;
    --secondary-hover: #152a45;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-light: #F4F6F8;
    --white: #FFFFFF;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --container-width: 1200px;
    --header-height: 70px;
    --transition: all 0.3s ease
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color)
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    list-style: none
}

img {
    max-width: 100%;
    height: auto
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white)
}

.btn-primary:hover {
    background-color: var(--primary-hover)
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white)
}

.btn-secondary:hover {
    background-color: var(--secondary-hover)
}

.section-padding {
    padding: 80px 0
}

.text-center {
    text-align: center
}

header {
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color)
}

.nav-links {
    display: flex;
    gap: 30px
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition)
}

.nav-links a:hover {
    color: var(--primary-color)
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color)
}

.hero {
    margin-top: var(--header-height);
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../assets/hero-bg-real.webp');
    background-size: cover;
    background-position: center
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color)
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px
}

.beneficios {
    background-color: var(--secondary-color);
    color: var(--white);
    position: relative
}

.beneficios h2 {
    color: var(--white)
}

.beneficios .card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition)
}

.beneficios .card h3 {
    color: var(--white);
    margin-bottom: 15px
}

.beneficios .card p {
    color: rgba(255, 255, 255, 0.8)
}

.beneficios .card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px)
}

.cursos {
    background-color: #F3F4F6
}

.cursos h2 {
    color: var(--secondary-color)
}

.course-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    color: var(--text-color) !important
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12)
}

.course-img-container {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f6f8fb 0%, #e9ecef 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px
}

.course-icon {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1))
}

.course-card:hover .course-icon {
    transform: scale(1.08) rotate(2deg)
}

.course-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%
}

.course-content h3 {
    margin-bottom: 10px;
    color: var(--secondary-color) !important;
    font-size: 1.4rem
}

.course-content p {
    margin-bottom: 25px;
    color: var(--text-light) !important;
    flex-grow: 1;
    font-size: 0.95rem
}

details.syllabus-details {
    width: 100%;
    margin-top: auto
}

details.syllabus-details summary {
    list-style: none;
    width: 100%;
    text-align: center;
    position: relative;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center
}

details.syllabus-details summary::-webkit-details-marker {
    display: none
}

details.syllabus-details summary::after {
    content: '+';
    font-size: 1.2rem;
    margin-left: 10px;
    display: inline-block;
    transition: transform 0.3s ease
}

details.syllabus-details[open] summary::after {
    transform: rotate(45deg)
}

details.syllabus-details[open] summary {
    background-color: var(--secondary-hover);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0
}

.syllabus-list {
    background-color: #f9f9f9;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-top: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    text-align: left;
    animation: slideDown 0.3s ease-out
}

.syllabus-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: flex-start
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.hidden-topic {
    display: none
}

.syllabus-preview {
    width: 100%;
    margin-top: auto
}

.syllabus-preview .syllabus-list {
    background-color: #f9f9f9;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    text-align: left;
    margin-bottom: 15px
}

.syllabus-preview .unlock-curriculum {
    width: 100%;
    text-align: center;
    font-size: 0.95rem
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg)
}

.modal-content h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.8rem
}

.modal-content>p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.modal-form input[type="email"] {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition)
}

.modal-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(192, 0, 0, 0.1)
}

.modal-form button {
    padding: 15px;
    font-size: 1rem
}

.modal-privacy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 15px;
    margin-bottom: 0
}

body.modal-open {
    overflow: hidden
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--white)
}

.footer-col ul li {
    margin-bottom: 10px
}

.footer-col a:hover {
    color: #ddd
}

.section-padding-small {
    padding: 40px 0;
    background-color: #fafafa;
    border-bottom: 1px solid #eee
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap
}

.trusted-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition)
}

.trusted-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05)
}

.more-clients {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    min-width: 60px
}

@media (max-width:768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        text-align: center
    }

    .nav-links.active {
        display: flex
    }

    .menu-toggle {
        display: block
    }

    .hero h1 {
        font-size: 2rem
    }

    .hero-btns {
        flex-direction: column
    }

    .modal-content {
        padding: 30px 20px;
        max-width: 95%
    }

    .modal-content h2 {
        font-size: 1.5rem
    }
}

.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1E3A5F 0%, #2a4a6f 100%);
    color: white
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #C00000;
    margin-bottom: 10px
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9
}

.stat-stars {
    margin-top: 5px;
    font-size: 1.2rem
}

.badge-scarcity {
    background-color: #ffebee;
    color: #c62828;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
    border: 1px solid #ffcdd2
}

.faq-section {
    background-color: #f9f9f9
}

.faq-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05)
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color)
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0
}

@media (max-width:768px) {
    .exit-popup-content {
        flex-direction: column
    }

    .popup-image {
        padding: 20px !important
    }

    .popup-text {
        padding: 20px !important
    }

    .popup-text h2 {
        font-size: 1.4rem !important
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6)
}

.whatsapp-float svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2))
}

@keyframes pulse-whatsapp {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4)
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7)
    }
}

@media (max-width:768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.testimonials {
    background-color: var(--bg-color)
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color)
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12)
}

.testimonial-stars {
    color: #ffa000;
    font-size: 1.2rem;
    margin-bottom: 15px
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 25px
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px
}

.testimonial-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover
}

.testimonial-title {
    font-size: 0.85rem;
    color: var(--text-light)
}