/* ===== FONTS ===== */
@font-face {
    font-family: 'Anton';
    src: url('fonts/Anton-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Glacial Indifference';
    src: url('fonts/GlacialIndifference-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Glacial Indifference';
    src: url('fonts/GlacialIndifference-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
    --c-navy: #0a0b2a;
    --c-navy-light: #14165c;
    --c-red: #dc2e28;
    --c-red-dark: #b8231e;
    --c-blue: #2727a1;
    --c-blue-light: #4140c4;
    --c-lavender: #edeffb;
    --c-gray: #6c6c78;
    --c-light-gray: #e3e3e8;

    --font-display: 'Anton', sans-serif;
    --font-body: 'Glacial Indifference', Arial, sans-serif;
}

/* ===== RESET / BASE ===== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: #1c1c28;
    margin: 0;
    padding-top: 76px;
    overflow-x: hidden;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.section-label {
    color: var(--c-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.section-heading {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 6rem;
    line-height: 1.05;
    color: #131320;
    margin-bottom: 1.1rem;
}

.section-text {
    color: var(--c-gray);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* ===== BUTTONS ===== */
.btn-pill {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-pill:hover {
    transform: translateY(-2px);
}

.btn-pill-red {
    background-color: var(--c-red);
    color: #fff;
}

.btn-pill-red:hover {
    background-color: var(--c-red-dark);
    color: #fff;
}

.btn-pill-outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-pill-outline:hover {
    background-color: #fff;
    color: var(--c-navy);
}

.btn-pill-light {
    background-color: #fff;
    color: var(--c-blue);
}

.btn-pill-light:hover {
    background-color: var(--c-lavender);
    color: var(--c-blue);
}

/* ===== NAVBAR ===== */
.navbar-custom {
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    height: 76px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.navbar-custom .container {
    height: 100%;
}

.navbar-brand-link {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 38px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-links a {
    color: var(--c-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

.navbar-links a:hover {
    color: var(--c-red);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.navbar-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--c-blue);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.open span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: clamp(560px, 80vh, 820px);
    display: flex;
    align-items: flex-end;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, var(--c-navy-light) 0%, var(--c-navy) 55%, #060715 100%);
    opacity: 0.7;
    z-index: 1;
}

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

.hero-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    color: #fff;
    font-size: 4rem;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.hero-text {
    color: #c7c8e0;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero-content {
        text-align: left;
    }

    .hero-actions {
        justify-content: flex-start;
    }
}

/* ===== EL EQUIPO ===== */
.team-section {
    background-color: #fff;
    padding: 5.5rem 0;
}

.team-card {
    text-align: center;
}

.team-photo {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(195deg, #d9b8e0 0%, #a98fd1 35%, #6a5bc0 65%, var(--c-blue) 100%);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-name {
    background-color: var(--c-blue);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.72rem;
    line-height: 1.35;
    letter-spacing: 0.03em;
    padding: 0.6rem 0.4rem;
    margin-top: -0.35rem;
    position: relative;
    z-index: 1;
}

/* ===== SPONSORS ===== */
.sponsors-section {
    background-color: var(--c-lavender);
    padding: 5.5rem 0;
}

.sponsors-section .section-text {
    margin-left: auto;
    margin-right: auto;
}

.sponsors-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.sponsor-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: #1c1c28;
    font-size: 1.1rem;
}

.sponsor-icon {
    height: 32px;
    width: auto;
}

.badge-nacap {
    background-color: var(--c-red);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    text-transform: lowercase;
}

.sponsor-dots {
    display: inline-flex;
    gap: 3px;
}

.sponsor-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.sponsor-dots i:nth-child(1) { background-color: var(--c-red); }
.sponsor-dots i:nth-child(2) { background-color: var(--c-blue); }
.sponsor-dots i:nth-child(3) { background-color: #f2b705; }
.sponsor-dots i:nth-child(4) { background-color: #2bb673; }

/* ===== DESAFIO / DONACIONES ===== */
.challenge-section {
    background-color: #fff;
    padding: 5.5rem 0;
}

.challenge-text-start {
    text-align: left;
}


.pricing-card {
    background-color: #fff;
    border: 1px solid var(--c-light-gray);
    border-radius: 12px;
    padding: 2.5rem 1.75rem;
    height: 100%;
    text-align: left;
}

.pricing-icon {
    height: 40px;
    margin-bottom: 1.25rem;
}

.pricing-label {
    color: var(--c-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: #131320;
    margin-bottom: 0.9rem;
}

.pricing-desc {
    color: var(--c-gray);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

.pricing-card-highlight {
    background-color: var(--c-blue);
    border-color: var(--c-blue);
    box-shadow: 0 24px 40px -16px rgba(39, 39, 161, 0.45);
}

.pricing-card-highlight .pricing-label,
.pricing-card-highlight .pricing-desc {
    color: #d8d8f5;
}

.pricing-card-highlight .pricing-price {
    color: #fff;
}

.pricing-icon-light {
    filter: brightness(0) invert(1);
}

/* ===== MENTORES ===== */
.mentors-section {
    background-color: var(--c-lavender);
    padding: 5.5rem 0;
}

.mentor-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 10px 24px -16px rgba(20, 20, 60, 0.18);
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.mentor-photo {
    flex: 0 0 38%;
    background-color: var(--c-light-gray);
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    overflow: hidden;
}

.mentor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mentor-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.mentor-name {
    color: var(--c-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.mentor-desc {
    color: var(--c-gray);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.mentor-social {
    display: flex;
    gap: 0.5rem;
}

.social-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--c-blue);
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.social-badge:hover {
    background-color: var(--c-red);
}

.social-badge img {
    width: 11px;
    height: 11px;
}

/* ===== CTA / SLOGAN ===== */
.cta-section {
    background: linear-gradient(180deg, var(--c-red) 0%, #b6354a 30%, #5a3aa8 65%, var(--c-blue) 100%);
    padding: 5.5rem 0;
    overflow: hidden;
}

.cta-heading {
    font-family: var(--font-display);
    text-transform: uppercase;
    color: #fff;
    font-size: 3rem;
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.cta-desc {
    color: #f0e8f5;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 480px;
}

.cta-image {
    text-align: right;
    align-self: flex-end;
    margin-bottom: calc(-4.5rem - 1px);
    overflow: visible;
}

.cta-image img {
    max-height: 700px;
    max-width: 130%;
    width: 130%;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--c-navy);
    padding: 3.5rem 0 2.5rem;
}

.footer-top {
    margin-bottom: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-logo {
    height: 34px;
}

.footer-social {
    display: flex;
    gap: 1.1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-social img {
    height: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 1.5rem 0 2rem;
}

.footer-title {
    color: white;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-line {
    color: #c7c8e0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: #c7c8e0;
    font-size: 0.9rem;
}

.footer-menu a:hover {
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-heading {
        font-size: 2.1rem;
    }

    .cta-image {
        margin-top: 2.5rem;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 68px;
    }

    .navbar-custom {
        height: 68px;
    }

    .navbar-toggle {
        display: flex;
        margin-left: auto;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.5rem 1.5rem 2rem;
        box-shadow: 0 12px 16px -8px rgba(0, 0, 0, 0.1);
    }

    .navbar-links.open {
        display: flex;
    }

    .hero-section {
        min-height: clamp(480px, 70vh, 620px);
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .section-heading {
        font-size: 2.6rem;
    }

    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }

    /* ---- Centrar textos en móvil ---- */
    .hero-content,
    .section-label,
    .section-heading,
    .section-text,
    .challenge-text-start,
    .pricing-card,
    .mentor-name,
    .mentor-desc,
    .cta-text,
    .cta-heading,
    .cta-desc,
    .cta-image,
    .footer-brand,
    .footer-title,
    .footer-line {
        text-align: center;
    }

    .cta-image img {
        width: auto;
        max-width: 100%;
    }

    .hero-actions,
    .mentor-social,
    .footer-brand {
        justify-content: center;
    }

    .mentor-card {
        flex-direction: column;
        text-align: center;
    }

    .mentor-photo {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 16 / 11;
    }

    .footer-menu {
        text-align: center;
    }
}
