:root {
    --brand-blue: #1c283d;
    --dark-blue: #0d1520;
    --gold: #b5965e;
    --white-bg: #f8fafc;
    --text-dark: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white-bg);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* --- NAVEGACIÓN --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.8rem 0;
    background: rgba(28, 40, 61, 0.98);
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
}

.nav-container {
    max-width: 1400px;
    margin: auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav img {
    height: 45px;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--gold);
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(28, 40, 61, 0.85), rgba(28, 40, 61, 0.85)),
        url('https://images.unsplash.com/photo-1511193311914-0346f16efe90?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-logo img {
    width: 360px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(181, 150, 94, 0.3));
}

.hero h1 {
    font-family: 'Montserrat';
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero span {
    color: var(--gold);
}

.section-light {
    padding: 100px 0;
    background: var(--white-bg);
    color: var(--text-dark);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Montserrat';
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.section-title span {
    color: var(--gold);
}

.section-dark {
    padding: 100px 0;
    background: var(--brand-blue);
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--gold);
}

.benefit-card h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.test-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.test-card img.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    margin-bottom: 1rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--dark-blue);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 25px;
    color: white;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.course-card.featured {
    border: 2px solid var(--gold);
    transform: scale(1.05);
    background: #141d2b;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
    margin: 1.5rem 0;
}

.feature-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.feature-list li::before {
    content: '✔';
    color: var(--gold);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    transition: 0.3s;
    text-align: center;
}

.btn:hover {
    background: white;
    transform: scale(1.05);
}

footer {
    padding: 50px 0;
    background: #0a0f18;
    color: white;
    text-align: center;
}

.logo-footer img {
    height: 40px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .course-card.featured {
        transform: scale(1);
    }
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo-nav img {
    height: 40px;
    display: block;
}

.logo-text {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
