
/* =========================================================
   VARIABLES
========================================================= */

:root {
    --primary: #005C63;
    --primary-dark: #003F44;

    --blue: #1E85AE;

    --accent: #F2C230;
    --accent-hover: #FFD84D;

    --dark: #1A1A1A;
    --dark-soft: #242424;

    --white: #FFFFFF;
    --gray: #F2F2F2;
    --gray-2: #E8E8E8;
    --text-muted: #6B7074;

    --radius: 24px;
    --radius-small: 14px;

    --shadow:
        0 20px 60px rgba(0, 0, 0, .14);

    --transition:
        .35s cubic-bezier(.2,.7,.2,1);
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 1000;

    transition: var(--transition);
}

.header.scrolled {
    background: rgba(13, 20, 21, .94);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.nav {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -.5px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,.86);
    font-size: .88rem;
    font-weight: 600;
    transition: .25s;
}

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

.btn-header {
    padding: 13px 22px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white) !important;
}

.btn-header:hover {
    background: var(--accent);
    color: var(--dark) !important;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 820px;

    display: flex;
    align-items: center;

    color: var(--white);

    background:
        linear-gradient(
            90deg,
            rgba(6,16,17,.97) 0%,
            rgba(5,29,31,.92) 45%,
            rgba(0,92,99,.62) 100%
        ),
        url('assets/mentoria-bg.jpg')
        center center / cover no-repeat;

    overflow: hidden;
}

.hero::after {
    content: '';

    position: absolute;
    inset: auto 0 0 0;

    height: 7px;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            #ffd746,
            var(--accent)
        );
}

.hero-glow {
    position: absolute;

    width: 620px;
    height: 620px;

    right: -250px;
    top: 110px;

    border-radius: 50%;

    background:
        rgba(30, 133, 174, .25);

    filter: blur(80px);

    animation: glow 7s ease-in-out infinite alternate;
}

@keyframes glow {

    from {
        transform: scale(.85) translateY(-20px);
    }

    to {
        transform: scale(1.12) translateY(20px);
    }

}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;

    padding-top: 110px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--accent);

    font-weight: 700;
    letter-spacing: 4px;

    margin-bottom: 20px;

    opacity: 0;

    animation:
        heroUp .8s ease forwards .2s;
}

.hero-kicker::before {
    content: '';

    width: 40px;
    height: 2px;

    background: var(--accent);
}

.hero h1 {
    font-size:
        clamp(3.4rem, 8vw, 7.4rem);

    line-height: .86;

    text-transform: uppercase;
    letter-spacing: -5px;

    font-weight: 900;

    opacity: 0;

    animation:
        heroUp .9s ease forwards .35s;
}

.hero h1 span {
    display: block;

    margin-top: 25px;

    font-size:
        clamp(1.3rem, 3vw, 2.35rem);

    letter-spacing:
        clamp(8px, 1.5vw, 18px);

    color: var(--accent);
}

.hero-description {
    max-width: 680px;

    margin-top: 35px;

    color: rgba(255,255,255,.82);

    font-size: 1.1rem;
    line-height: 1.8;

    opacity: 0;

    animation:
        heroUp .9s ease forwards .5s;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;

    margin-top: 35px;

    opacity: 0;

    animation:
        heroUp .9s ease forwards .65s;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 56px;

    padding: 0 30px;

    border-radius: 12px;

    font-weight: 800;

    transition: var(--transition);

    cursor: pointer;

    border: none;
}

.btn-primary {
    color: var(--dark);

    background:
        linear-gradient(
            135deg,
            var(--accent),
            #ffd746
        );

    box-shadow:
        0 15px 35px rgba(242,194,48,.24);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px rgba(242,194,48,.35);
}

.btn-outline {
    color: var(--white);

    border:
        1px solid rgba(255,255,255,.35);

    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,.1);
}

@keyframes heroUp {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   DATOS HERO
========================================================= */

.hero-stats {
    margin-top: 55px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

    opacity: 0;

    animation:
        heroUp .9s ease forwards .85s;
}

.stat {
    min-height: 110px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 20px;

    border-radius: 16px;

    border:
        1px solid rgba(255,255,255,.12);

    background:
        rgba(255,255,255,.07);

    backdrop-filter: blur(10px);

    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-8px);

    background:
        rgba(0,92,99,.35);

    border-color:
        rgba(242,194,48,.4);
}

.stat-icon {
    min-width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--primary);

    font-size: 1.25rem;
}

.stat strong {
    display: block;

    margin-bottom: 4px;

    font-size: .9rem;
}

.stat small {
    color:
        rgba(255,255,255,.7);

    line-height: 1.5;
}


/* =========================================================
   GENERALES
========================================================= */

.section {
    padding: 105px 0;
}

.section-title {
    text-align: center;

    max-width: 760px;

    margin: 0 auto 60px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--primary);

    font-size: .85rem;
    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.section-title h2 {
    font-size:
        clamp(2rem, 5vw, 3.6rem);

    line-height: 1.08;

    font-weight: 900;

    letter-spacing: -2px;
}

.section-title p {
    margin-top: 18px;

    color: var(--text-muted);

    line-height: 1.8;
}


/* =========================================================
   BENEFICIOS
========================================================= */

.benefits {
    background: var(--gray);
}

.benefit-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.benefit-card {
    position: relative;

    padding: 40px 30px;

    border-radius: var(--radius);

    background: var(--white);

    overflow: hidden;

    transition: var(--transition);
}

.benefit-card::after {
    content: '';

    position: absolute;

    width: 120px;
    height: 120px;

    right: -60px;
    top: -60px;

    border-radius: 50%;

    background:
        rgba(0,92,99,.08);

    transition: .45s;
}

.benefit-card:hover {
    transform: translateY(-10px);

    box-shadow: var(--shadow);
}

.benefit-card:hover::after {
    transform: scale(2.3);
}

.benefit-icon {
    width: 72px;
    height: 72px;

    display: grid;
    place-items: center;

    margin-bottom: 24px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--blue)
        );

    color: var(--white);

    font-size: 1.8rem;
}

.benefit-card h3 {
    margin-bottom: 12px;

    color: var(--primary);

    font-size: 1.2rem;
}

.benefit-card p {
    color: var(--text-muted);

    line-height: 1.75;
}


/* =========================================================
   MISIÓN
========================================================= */

.mission {
    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    color: var(--white);
}

.mission-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;
}

.mission-copy h2 {
    font-size:
        clamp(2.2rem, 5vw, 4rem);

    line-height: 1.05;

    margin-bottom: 25px;
}

.mission-copy h2 span {
    color: var(--accent);
}

.mission-copy p {
    font-size: 1.05rem;

    color:
        rgba(255,255,255,.76);

    line-height: 1.9;
}

.mission-box {
    padding: 45px;

    border-radius: var(--radius);

    background:
        rgba(255,255,255,.08);

    border:
        1px solid rgba(255,255,255,.12);

    backdrop-filter: blur(12px);
}

.mission-box h3 {
    color: var(--accent);

    margin-bottom: 18px;
}

.mission-box p {
    color: rgba(255,255,255,.78);

    line-height: 1.8;
}


/* =========================================================
   RUTA
========================================================= */

.route {
    background: var(--white);
}

.route-grid {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;
}

.route-item {
    padding: 22px 25px;

    display: flex;
    align-items: center;

    gap: 20px;

    background: var(--gray);

    border-radius: 15px;

    transition: var(--transition);
}

/*.route-item:hover {
    background: var(--primary);
    color: var(--white);

    transform: translateX(7px);
}*/

.route-number {
    min-width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: var(--accent);

    color: var(--dark);

    font-weight: 900;
}


/* =========================================================
   REGISTRO
========================================================= */

.registration {
    position: relative;

    background:
        linear-gradient(
            135deg,
            #003f44,
            #00747c
        );

    color: var(--white);

    overflow: hidden;
}

.registration::before {
    content: '';

    position: absolute;

    width: 500px;
    height: 500px;

    top: -300px;
    right: -150px;

    border-radius: 50%;

    background:
        rgba(30,133,174,.3);

    filter: blur(40px);
}

.registration-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.2fr .8fr;

    gap: 60px;

    align-items: start;
}

.form-card {
    padding: 45px;

    border-radius: var(--radius);

    background: var(--white);

    color: var(--dark);

    box-shadow: var(--shadow);
}

.form-card h2 {
    font-size: 2.2rem;

    margin-bottom: 8px;
}

.form-card > p {
    color: var(--text-muted);

    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: .82rem;
    font-weight: 700;
}

.form-control {
    width: 100%;

    padding: 16px 17px;

    border-radius: 11px;

    border:
        1px solid #D8DDDE;

    background: #FAFBFB;

    outline: none;

    transition: .25s;
}

.form-control:focus {
    border-color: var(--primary);

    background: var(--white);

    box-shadow:
        0 0 0 4px rgba(0,92,99,.10);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.checkbox {
    display: flex;
    gap: 10px;

    margin: 18px 0 24px;

    font-size: .78rem;

    color: var(--text-muted);

    line-height: 1.5;
}

.btn-form {
    width: 100%;

    font-size: 1rem;
}

.form-message {
    padding: 15px;

    margin-bottom: 20px;

    border-radius: 12px;

    font-size: .9rem;
}

.form-message.success {
    background: #E8F7ED;
    color: #176A35;
}

.form-message.error {
    background: #FFEAEA;
    color: #9C2929;
}

.hp-field {
    position: absolute !important;

    left: -9999px !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


/* =========================================================
   INFO REGISTRO
========================================================= */

.info-panel {
    padding-top: 30px;
}

.info-panel h3 {
    color: var(--accent);

    font-size: 1.8rem;

    margin-bottom: 25px;
}

.info-row {
    display: flex;

    gap: 18px;

    padding: 22px 0;

    border-bottom:
        1px solid rgba(255,255,255,.13);
}

.info-icon {
    min-width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.1);
}

.info-row strong {
    display: block;

    margin-bottom: 6px;
}

.info-row span {
    color:
        rgba(255,255,255,.7);

    line-height: 1.5;
}


/* =========================================================
   CONTACTO
========================================================= */

.contact-strip {
    background: var(--accent);

    padding: 35px 0;
}

.contact-strip-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.contact-strip h3 {
    font-size: 1.45rem;
}

.whatsapp-button {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    padding: 15px 24px;

    border-radius: 10px;

    background: var(--dark);

    color: var(--white);

    font-weight: 800;

    transition: var(--transition);
}

.whatsapp-button:hover {
    transform: translateY(-4px);

    background: var(--primary);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 65px 0 30px;

    background: var(--dark);

    color: var(--white);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr 1fr 1fr;

    gap: 50px;
}

.footer h4 {
    color: var(--accent);

    margin-bottom: 18px;
}

.footer p,
.footer a {
    color:
        rgba(255,255,255,.66);

    line-height: 1.9;

    font-size: .9rem;
}

.footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 50px;

    padding-top: 25px;

    border-top:
        1px solid rgba(255,255,255,.1);

    color:
        rgba(255,255,255,.45);

    font-size: .78rem;
}


/* =========================================================
   ANIMACIÓN AL HACER SCROLL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

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

.delay-1 {
    transition-delay: .1s;
}

.delay-2 {
    transition-delay: .2s;
}

.delay-3 {
    transition-delay: .3s;
}


/* =========================================================
   BOTÓN FLOTANTE WHATSAPP
========================================================= */

.float-whatsapp {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 900;

    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #25D366;

    color: var(--white);

    font-size: 1.6rem;

    box-shadow:
        0 12px 30px rgba(0,0,0,.25);

    animation:
        whatsappPulse 2.3s infinite;
}

@keyframes whatsappPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(37,211,102,.4);
    }

    70% {
        box-shadow:
            0 0 0 18px rgba(37,211,102,0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(37,211,102,0);
    }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {

    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 80px;
    }

    .hero-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .registration-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 650px) {

    .container {
        width:
            min(100% - 28px, 1180px);
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero h1 span {
        letter-spacing: 6px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .route-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 75px 0;
    }

    .form-card {
        padding: 28px 20px;
    }

    .contact-strip-inner {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

}
