/* ============================================================
   InnovAcción 2026 — TeleVía Landing Page
   styles.css
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ── CSS Custom Properties ── */
:root {
    /* Backgrounds */
    --bg-dark: #2D2925;
    --bg-yellow: #FFC629;
    --bg-light: #faf8f3;
    /* Text on light backgrounds */
    --text-title-light: #000000;
    --text-body-light: #3A3530; /* readable dark tone for body on light */
    /* Text on dark backgrounds */
    --text-title-dark: #F2F2F2;
    --text-body-dark: #E7E1D6;
    /* Text on yellow backgrounds */
    --text-title-yellow: #000000;
    --text-body-yellow: #2D2925;
    /* Accent */
    --yellow: #FFC629;
    --yellow-hover: #e1ab16;
    /* Typography */
    --font-base: 'Montserrat', sans-serif;
    /* Spacing */
    --section-pad: 80px 0;
    --container: 1240px;
    --gutter: 2px;
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    /* Transitions */
    --transition: 0.25s ease;
}

.top5 {
    margin-top: 5px;
}

.top10 {
    margin-top: 10px;
}

.top20 {
    margin-top: 20px;
}

.top30 {
    margin-top: 30px;
}

.top40 {
    margin-top: 40px;
}

.top50 {
    margin-top: 50px;
}

.top60 {
    margin-top: 60px;
}

.top70 {
    margin-top: 70px;
}

.top80 {
    margin-top: 80px;
}

.top90 {
    margin-top: 90px;
}

.top100 {
    margin-top: 100px;
}


/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-light);
    color: var(--text-body-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

#innovaccion-televia,
#innovaccion-televia * {
    font-family: var(--font-base) !important;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ── Container ── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ── Utility ── */
.section-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-base);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    background: var(--bg-dark);
    color: #ffffff;
    border-color: var(--bg-dark);
}

    .btn-primary:hover {
        background: #1a1713;
        color: var(--yellow);
        border-color: #1a1713;
        box-shadow: 0 6px 20px rgba(45, 41, 37, 0.35);
    }

.btn-yellow {
    background: var(--yellow);
    color: var(--bg-dark);
    border-color: var(--yellow);
}

    .btn-yellow:hover {
        background: var(--yellow-hover);
    }

.btn-outline-dark {
    background: transparent;
    color: var(--bg-dark);
    border-color: var(--bg-dark);
}

    .btn-outline-dark:hover {
        background: var(--bg-dark);
        color: var(--yellow);
    }

.btn-outline-light {
    background: transparent;
    color: var(--text-title-dark);
    border-color: var(--text-title-dark);
}

    .btn-outline-light:hover {
        background: var(--yellow);
        color: var(--bg-dark);
        border-color: var(--yellow);
    }

/* ── ❶ NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-yellow);
    padding: 0 var(--gutter);
    height: 80px;
    display: flex;
    align-items: center;
    transition: box-shadow var(--transition), background var(--transition);
}

    .navbar.scrolled {
        box-shadow: 0 2px 20px rgba(0,0,0,0.12);
    }

.navbar__inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar__logos {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

    .navbar__logos img {
        height: 40px;
        width: auto;
    }

.navbar__separator {
    width: 1px;
    height: 24px;
    background: rgba(0,0,0,0.25);
}

.navbar__nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    margin-right: 24px;
}

    .navbar__nav a {
        font-size: 17px;
        font-weight: 700;
        color: var(--text-title-yellow);
        letter-spacing: 0.02em;
        transition: opacity var(--transition);
        position: relative;
    }

        .navbar__nav a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--bg-dark);
            transform: scaleX(0);
            transition: transform var(--transition);
        }

        .navbar__nav a:hover::after {
            transform: scaleX(1);
        }

.navbar__cta {
    flex-shrink: 0;
}

/* Hamburger */
.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

    .navbar__toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--bg-dark);
        border-radius: 2px;
        transition: transform var(--transition), opacity var(--transition);
    }

    .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);
    }

/* Mobile menu */
.navbar__mobile {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-yellow);
    padding: 24px;
    flex-direction: column;
    gap: 20px;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

    .navbar__mobile.open {
        display: flex;
    }

    .navbar__mobile a {
        font-size: 16px;
        font-weight: 700;
        color: var(--text-title-yellow);
        padding: 8px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .navbar__mobile .btn-primary {
        background: var(--bg-dark);
        color: var(--bg-yellow);
        border-bottom: none;
        padding: 12px 24px;
    }

        .navbar__mobile .btn-primary:hover {
            background: #1a1713;
            color: #ffffff;
        }

/* ── ❷ HERO ── */
.hero {
    background: var(--bg-yellow);
    padding-top: 128px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero__content {
}

.hero__tag {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-body-yellow);
    margin-bottom: 16px;
}

.hero__title {
    font-size: clamp(32px, 3.8vw, 48px);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--text-title-yellow);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: clamp(13px, 1.4vw, 16px);
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-body-yellow);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 32px;
    max-width: 520px;
}

/* Countdown */
.countdown {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.countdown__item {
    background: var(--bg-dark);
    color: var(--yellow);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    text-align: center;
    min-width: 72px;
}

.countdown__num {
    display: block;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
}

.countdown__label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
    color: #fff;
}

/* Hero description */
.hero__desc-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-title-yellow);
    margin-bottom: 8px;
}

.hero__desc-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-body-yellow);
    max-width: 480px;
}

.hero__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

    .hero__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--radius-lg);
    }

/* Social icons strip */
.hero__social {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
}

    .hero__social span {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        opacity: 0.5;
    }

.social-icons {
    display: flex;
    gap: 12px;
}

    .social-icons a {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 800;
        color: var(--bg-dark);
        transition: background var(--transition), color var(--transition);
    }

        .social-icons a:hover {
            background: var(--bg-dark);
            color: var(--yellow);
        }

/* Social icons in footer */
.social-icons--dark a {
    background: rgba(255,255,255,0.08);
    color: var(--text-title-dark);
}

    .social-icons--dark a:hover {
        background: var(--yellow);
        color: var(--bg-dark);
    }

/* ── ❸ PARA QUIÉN ── */
.quien {
    background: var(--bg-light);
    padding: var(--section-pad);
}

.quien__header {
    margin-bottom: 56px;
}

    .quien__header h2 {
        font-size: clamp(28px, 4vw, 48px);
        font-weight: 900;
        line-height: 1.05;
        text-transform: uppercase;
        letter-spacing: -0.02em;
        color: var(--text-title-light);
        margin-bottom: 12px;
    }

    .quien__header p {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-body-light);
        text-transform: uppercase;
        letter-spacing: 0.04em;
        max-width: 600px;
    }

/* Tarjeta blanca con imagen + requisitos */
.quien__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 36px;
    border: 2px solid rgba(232, 225, 213, 1.0);
}

.quien__image {
    padding: 40px;
}

    .quien__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: var(--radius-md);
        aspect-ratio: 1 / 1;
    }

.quien__requisitos {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .quien__requisitos h3 {
        font-size: 28px;
        font-weight: 800;
        color: var(--text-title-light);
        margin-bottom: 28px;
        letter-spacing: 0.01em;
    }

.quien__cta {
    text-align: center;
}

.requisito-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    margin-top: 20px;
}

.requisito-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.requisito-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--yellow);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

    .requisito-check svg {
        width: 14px;
        height: 14px;
    }

.requisito-item p {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-body-light);
}

/* ── ❹ RETOS ── */
.retos {
    background: #ffffff;
    padding: 80px 0;
}

.retos__header {
    margin-bottom: 48px;
}

    .retos__header h2 {
        font-size: clamp(28px, 4vw, 48px);
        font-weight: 900;
        line-height: 1.05;
        text-transform: uppercase;
        letter-spacing: -0.02em;
        color: var(--text-title-light);
        margin-bottom: 12px;
    }

    .retos__header p {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-body-light);
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

.retos__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.reto-card {
    background: #faf8f3;
    border-radius: var(--radius-md);
    padding: 32px 24px 24px;
    border: 2px solid #e8e1d5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: transform var(--transition), box-shadow var(--transition);
}

    .reto-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    }

.reto-card__icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.reto-card__title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-title-light);
    line-height: 1.3;
}

.reto-card__text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-body-light);
    flex: 1;
}

.reto-card__footer {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.reto-card__link {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-title-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-base);
    padding: 0;
    transition: gap var(--transition);
}

    .reto-card__link:hover {
        gap: 10px;
    }

.retos__cta {
    text-align: center;
}

/* ── MODAL RETOS ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(45, 41, 37, 0.55);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(3px);
}

    .modal-overlay.open {
        display: flex;
    }

.innovaccion-modal {
    display: block;
    background: #E7E1D6;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: modalIn 0.28s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(16px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.modal__header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal__icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.modal__title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-title-light);
}

.modal__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.2);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition), border-color var(--transition);
    font-size: 18px;
    font-weight: 300;
    color: var(--text-title-light);
    line-height: 1;
}

    .modal__close:hover {
        background: var(--bg-dark);
        border-color: var(--bg-dark);
        color: #fff;
    }

.modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 2px solid #e8e1d5;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-card__num {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-title-light);
    letter-spacing: 0.08em;
    opacity: 0.5;
}

.modal-card__title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-title-light);
    line-height: 1.35;
}

.modal-card__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-body-light);
}

@media (max-width: 600px) {
    .innovaccion-modal {
        padding: 24px 20px;
    }

    .modal__grid {
        grid-template-columns: 1fr;
    }
}

/* ── ❺ BENEFICIOS & PREMIOS ── */
.beneficios {
    display: none; /* temporalmente oculto */
    background: var(--bg-dark);
    padding: var(--section-pad);
}

.beneficios__header {
    margin-bottom: 48px;
}

    .beneficios__header h2 {
        font-size: clamp(28px, 4vw, 48px);
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: -0.02em;
        color: var(--text-title-dark);
        margin-bottom: 8px;
    }

.beneficios__section-label {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 24px;
}

.beneficios__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 16px;
}

.beneficio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    background: #353029;
    border-radius: var(--radius-md);
    padding: 28px 20px;
}

.beneficio-item__icon {
    width: 48px;
    height: 48px;
}

.beneficio-item__text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-body-dark);
}

.beneficios__nota {
    display: none;
}

/* Premios */
.premios__label {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 24px;
}

.premios__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.premio-card {
    border-radius: var(--radius-md);
    padding: 32px 28px;
}

.premio-card--first {
    background: var(--yellow);
    color: var(--bg-dark);
}

.premio-card--second,
.premio-card--third {
    background: transparent;
    color: var(--text-title-dark);
    border: 1.5px solid rgba(255,255,255,0.15);
}

.premio-card__place {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.95;
}

.premio-card--first .premio-card__place {
    color: var(--bg-dark);
}

.premio-card__amount {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 12px;
    color: var(--yellow);
}

.premio-card--first .premio-card__amount {
    color: var(--bg-dark);
}

.premio-card__nota {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    opacity: 0.99;
}

.beneficios__cta {
    text-align: center;
}

/* ── ❻ TIMELINE ── */
.timeline-section {
    background: var(--bg-yellow);
    padding: var(--section-pad);
}

.timeline-section__header {
    margin-bottom: 56px;
}

    .timeline-section__header h2 {
        font-size: clamp(28px, 4vw, 48px);
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: -0.02em;
        color: #000000;
        margin-bottom: 12px;
    }

    .timeline-section__header p {
        font-size: 17px;
        font-weight: 600;
        color: #000000;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

/* Timeline wrapper — holds the horizontal rail line */
.timeline-wrapper {
    position: relative;
    margin-bottom: 40px;
}

    /* The horizontal rail line — aligned to dot center */
    .timeline-wrapper::before {
        content: '';
        position: absolute;
        left: calc(100% / 12);
        right: calc(100% / 12);
        top: calc(64px + 8px); /* top height + half dot (16px/2) */
        height: 2px;
        background: #000000;
        z-index: 0;
    }

/* Timeline flex row */
.timeline {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* reset AdminLTE.css defaults that leak in via the shared .timeline class */
    margin: 0;
    padding: 0;
    list-style: none;
}

    /* Anula la línea vertical gris que AdminLTE.css dibuja con .timeline:before */
    #innovaccion-televia .timeline::before {
        content: none;
        display: none;
    }

    .timeline::-webkit-scrollbar {
        display: none;
    }

.timeline__step {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Top area — date sits here, fixed height so all dots align */
.timeline__top {
    height: 64px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 8px;
}

.timeline__date {
    font-size: 15px;
    font-weight: 800;
    color: #000000;
    white-space: nowrap;
}

/* Dots */
.timeline__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #000000;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline__dot--filled {
    background: #000000;
}

.timeline__dot--hollow {
    background: #ffffff;
}

/* Bottom area — name + detail */
.timeline__bottom {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px;
}

.timeline__name {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #000000;
    line-height: 1.35;
}

.timeline__detail {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1.4;
    opacity: 0.9;
}

/* Months strip with dashed line */
.timeline-months {
    display: flex;
    justify-content: space-between;
    border-top: 2px dashed rgba(0,0,0,0.35);
    padding-top: 14px;
    margin-top: 32px;
}

    .timeline-months span {
        font-size: 14px;
        font-weight: 600;
        color: #000000;
        letter-spacing: 0.02em;
    }

/* ── ❼ FAQ ── */
.faq {
    background: #ffffff;
    padding: var(--section-pad);
}

.faq__header {
    margin-bottom: 40px;
}

    .faq__header h2 {
        font-size: clamp(28px, 4vw, 48px);
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: -0.02em;
        color: var(--text-title-light);
    }

.faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 80px;
}

.faq__item {
    background: #FAF8F3;
    border: 1px solid #E8E1D5;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    padding: 0 16px;
}

.faq__question {
    width: 100%;
    background: none;
    border: none;
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-base);
}

    .faq__question span {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-title-light);
        line-height: 1.4;
    }

.faq__icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-dark);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

    .faq__icon svg {
        width: 14px;
        height: 14px;
        transition: transform var(--transition);
    }

        /* Override icon color to yellow + on dark circle */
        .faq__icon svg path {
            stroke: var(--yellow);
        }

.faq__item.open .faq__icon {
    background: var(--yellow);
}

    .faq__item.open .faq__icon svg path {
        stroke: var(--bg-dark);
    }

    .faq__item.open .faq__icon svg {
        transform: rotate(45deg);
    }

.faq__answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 0 0;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, padding 0.35s ease;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--text-body-light);
    max-width: 520px;
}

.faq__item.open .faq__answer {
    max-height: 2000px;
    opacity: 1;
    padding: 4px 0 24px;
}

/* ── ❽ CTA FINAL ── */
.cta-final {
    background: #2E2924;
    padding: 72px 0;
}

.cta-final__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: center;
}

.cta-final__col-text {
}

.cta-final h2 {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-final__highlight {
    color: #FFC629;
}

.cta-final__fecha {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.6;
}

.cta-final__col-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex-shrink: 0;
}

.cta-final__contact {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

    .cta-final__contact a {
        color: #FFC629;
        text-decoration: none;
        transition: color var(--transition);
    }

        .cta-final__contact a:hover {
            color: #ffffff;
        }

@media (max-width: 700px) {
    .cta-final__grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-left: 20px;
    }

    .cta-final__col-cta {
        align-items: flex-start;
    }
}

/* ── ❾ FOOTER ── */
.footer {
    background: #000000;
    padding: 60px 0 40px;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 32px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__logos {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .footer__logos img {
        height: 28px;
        width: auto;
    }

.footer__sep {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.2);
}

/* Social icons as images */
.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.8;
        transition: opacity var(--transition), transform var(--transition);
        border-radius: 50%;
        width: auto;
        height: auto;
        background: none;
    }

        .social-icons a:hover {
            opacity: 1;
            transform: translateY(-2px);
            background: none;
        }

    .social-icons img {
        width: 44px;
        height: 44px;
        border-radius: 50%;
    }

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

    .footer__links a {
        font-size: 15px;
        font-weight: 500;
        color: var(--text-body-dark);
        transition: color var(--transition);
    }

        .footer__links a:hover {
            color: var(--yellow);
        }

.footer__hashtags {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

    .footer__hashtags span {
        font-size: 15px;
        font-weight: 800;
        color: var(--yellow);
        letter-spacing: 0.02em;
    }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer__copy {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    opacity: 0.95;
}

/* ── RESPONSIVE ── */

/* Large tablets */
@media (max-width: 1100px) {
    .retos__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .beneficios__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 900px) {
    :root {
        --section-pad: 60px 0;
    }

    .navbar__nav {
        display: none;
    }

    .navbar__cta {
        display: none;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__logos img {
        height: 28px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero__image {
        order: -1;
        max-height: 320px;
    }

    .quien .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .quien__cta .btn {
        font-size: 12px;
        padding: 12px 20px;
        white-space: normal;
        text-align: center;
    }

    .retos .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .retos__cta .btn {
        font-size: 12px;
        padding: 12px 20px;
        white-space: normal;
        text-align: center;
    }

    .beneficios .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .faq .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .timeline-section .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .quien__card {
        grid-template-columns: 1fr;
    }

    .quien__image {
        aspect-ratio: 16/9;
        padding: 12px 12px 0;
    }

    .quien__requisitos {
        padding-top: 16px;
    }

    .quien__requisitos {
        padding: 32px 28px;
    }

    .premios__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    /* Timeline mobile: fecha | dot+línea | texto */
    .timeline-wrapper::before {
        display: none;
    }

    .timeline {
        display: block;
        position: relative;
        padding-left: 20px;
    }

        /* Línea vertical que pasa por el centro de los dots */
        /* padding(20) + fecha(72) + gap(12) + mitad-dot(8) = 112px */
        .timeline::before {
            content: '';
            position: absolute;
            top: 4px;
            bottom: 32px;
            left: 112px;
            width: 2px;
            background: #000;
            z-index: 0;
        }

    .timeline__step {
        display: grid;
        grid-template-columns: 72px 16px 1fr;
        grid-template-rows: auto;
        column-gap: 12px;
        align-items: start;
        padding-bottom: 32px;
        min-width: unset;
        text-align: left;
    }

    .timeline__top {
        grid-column: 1;
        grid-row: 1;
        height: auto;
        align-items: flex-start;
        justify-content: flex-start;
        padding-bottom: 0;
        padding-top: 0;
    }

    .timeline__date {
        font-size: 13px;
        text-align: right;
    }

    .timeline__dot {
        grid-column: 2;
        grid-row: 1;
        margin-top: 3px;
        position: relative;
        z-index: 1;
        flex-shrink: 0;
    }

    .timeline__bottom {
        grid-column: 3;
        grid-row: 1;
        padding: 0;
    }

    .timeline-months {
        justify-content: space-around;
        font-size: 12px;
    }

    .faq__grid {
        grid-template-columns: 1fr;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__hashtags {
        text-align: left;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Mobile */
@media (max-width: 600px) {
    :root {
        --section-pad: 48px 0;
        --gutter: 20px;
    }

    .countdown {
        gap: 6px;
        flex-wrap: nowrap;
    }

    .countdown__item {
        min-width: 0;
        padding: 10px 10px;
        flex: 1;
    }

    .countdown__num {
        font-size: 22px;
    }

    .countdown__label {
        font-size: 8px;
    }

    .retos__grid {
        grid-template-columns: 1fr;
    }

    .beneficios__grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .premios__grid {
        max-width: 100%;
    }

    .calendar-months {
        grid-template-columns: 1fr;
    }

    .cta-final {
        padding: 72px 0;
    }

        .cta-final h2 {
            font-size: clamp(28px, 8vw, 42px);
        }

    /* Footer mobile */
    .footer__top {
        grid-template-columns: 1fr;
        padding-left: 20px;
    }

    .footer__links {
        display: none;
    }

    .footer__hashtags {
        display: none;
    }

    .social-icons img {
        width: 32px;
        height: 32px;
    }

    .social-icons {
        gap: 6px;
        flex-wrap: nowrap;
    }

    .footer__copy {
        font-size: 11px;
        white-space: nowrap;
    }
}

/* ── Go to Top ── */
.go-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

    .go-top.visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .go-top:hover {
        background: var(--yellow);
    }

        .go-top:hover svg path {
            stroke: var(--bg-dark);
        }

    .go-top svg {
        width: 20px;
        height: 20px;
    }

        .go-top svg path {
            stroke: var(--yellow);
            transition: stroke 0.2s ease;
        }

@media (max-width: 600px) {
    .go-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    .reto-card__footer {
        justify-content: center;
    }
}

/* ── Animations ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeUp 0.55s ease forwards;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

    [data-reveal].revealed {
        opacity: 1;
        transform: none;
    }
