/* =========================================================
   APAPACHO 2026
   LANDING MEGA COLECTA
========================================================= */

:root {
    --apapacho-green: #27aa73;
    --apapacho-green-dark: #13885d;

    --apapacho-blue: #14b5d4;
    --apapacho-blue-dark: #0798b6;

    --apapacho-turquoise: #089e9c;

    --apapacho-yellow: #ffd31d;

    --apapacho-ink: #092b3b;
    --apapacho-text: #34515d;

    --apapacho-cream: #fffdf7;
    --apapacho-mint: #eaf9f3;
    --apapacho-blue-light: #e8f9fc;

    --apapacho-white: #ffffff;
    --apapacho-border: rgba(9, 43, 59, 0.10);

    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 40px;
    --radius-xl: 60px;

    --container: 90vw;
}


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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        "Gilroy",
        "Avenir Next",
        "Avenir",
        "Montserrat",
        Arial,
        sans-serif;

    color: var(--apapacho-ink);

    background:
        var(--apapacho-cream);

    -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
    font: inherit;
}

a {
    color: inherit;
}


/* =========================================================
   GENERAL
========================================================= */

.container {
    width: min(
        var(--container),
        calc(100% - 80px)
    );

    margin: 0 auto;
}

.colecta-page {
    overflow: hidden;
}

.colecta-section-kicker {
    display: inline-block;

    margin-bottom: 16px;

    color: var(--apapacho-blue);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.colecta-section-heading {
    max-width: 760px;

    margin-bottom: 55px;
}

.colecta-section-heading-center {
    margin-right: auto;
    margin-left: auto;

    text-align: center;
}

.colecta-section-heading h2,
.register-content h2,
.centros-copy h2,
.impact-content h2 {
    margin: 0 0 18px;

    font-size: clamp(
        42px,
        5vw,
        72px
    );

    line-height: 0.98;

    letter-spacing: -0.045em;
}

.colecta-section-heading h2 span,
.register-content h2 span,
.centros-copy h2 span,
.impact-content h2 span {
    color: var(--apapacho-blue);
}

.colecta-section-heading p,
.register-content > p,
.centros-copy > p,
.impact-content > p {
    margin: 0;

    color: var(--apapacho-text);

    font-size: 18px;
    line-height: 1.65;
}




/* =========================================================
   BUTTONS
========================================================= */

.colecta-btn {
    display: inline-flex;

    min-height: 58px;

    padding: 0 28px;

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

    gap: 18px;

    border: 0;

    border-radius: 999px;

    font-size: 16px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.colecta-btn:hover {
    transform: translateY(-3px);
}

.colecta-btn-primary {
    color: white;

    background:
        var(--apapacho-green);

    box-shadow:
        0 14px 30px
        rgba(39, 170, 115, 0.20);
}

.colecta-btn-primary:hover {
    background:
        var(--apapacho-green-dark);
}

.colecta-btn-secondary {
    color: var(--apapacho-ink);

    background: transparent;

    border:
        1.5px solid
        rgba(9, 43, 59, 0.18);
}

.colecta-btn-yellow {
    color: var(--apapacho-ink);

    background:
        var(--apapacho-yellow);
}

.colecta-btn-dark {
    color: white;

    background:
        var(--apapacho-ink);
}

.colecta-btn-white {
    color: var(--apapacho-ink);

    background: white;
}

/* =========================================================
   HERO HOME - ALTURA 95VH
   AJUSTE FINAL DE ALTURA Y ALINEACIÓN
========================================================= */

@media (min-width: 1025px) {

    /* HERO COMPLETO */

    .colecta-hero {
        min-height: 95vh;

        /*
         * Conservamos el aire superior para el header,
         * pero quitamos el espacio vacío inferior.
         */
        padding-top: 165px !important;
        padding-bottom: 0 !important;
    }


    /* =====================================================
       GRID PRINCIPAL
    ====================================================== */

    .colecta-hero-grid {
        /*
         * Ocupa todo el espacio disponible del hero
         * después de descontar el padding superior.
         */
        min-height: calc(95vh - 165px);

        /*
         * Las dos columnas ocupan toda la altura.
         */
        align-items: stretch;
    }


    /* =====================================================
       COLUMNA IZQUIERDA
    ====================================================== */

    .colecta-hero-content {
        /*
         * El contenido de texto permanece centrado
         * verticalmente, como estaba antes.
         */
        align-self: center;
    }


    /* =====================================================
       COLUMNA DERECHA
    ====================================================== */

    .colecta-hero-visual-new {
        /*
         * La columna visual llega hasta abajo.
         */
        min-height: 100%;
        height: 100%;

        align-self: stretch;
    }


    /* =====================================================
       NIÑO
    ====================================================== */

    .colecta-hero-boy {
        /*
         * El PNG toca exactamente el borde inferior
         * del hero.
         */
        bottom: 0;
    }

}

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

.colecta-hero {
    position: relative;

    /* Espacio para el header flotante + respiración inferior */
    padding: 165px 0 120px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(20, 181, 212, 0.18),
            transparent 28%
        ),
        radial-gradient(
            circle at 14% 80%,
            rgba(39, 170, 115, 0.16),
            transparent 25%
        ),
        var(--apapacho-blue-dark);
}


/* =========================================================
   GRID
========================================================= */

.colecta-hero-grid {
    display: grid;

    grid-template-columns:
        0.92fr 1.08fr;

    align-items: center;

    gap: 70px;
}


/* =========================================================
   CONTENIDO
========================================================= */

.colecta-hero-content {
    position: relative;

    z-index: 2;
}


/* =========================================================
   KICKER
========================================================= */

.colecta-kicker {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    /* Más claro sobre fondo azul */
    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 0.14em;
}

.colecta-kicker-icon {
    color: var(--apapacho-yellow);

    font-size: 23px;
}


/* =========================================================
   TÍTULO
========================================================= */

.colecta-hero-title {
    max-width: 650px;

    margin: 0 0 30px;

    /* Blanco para máximo contraste */
    color: #ffffff;

    font-size: clamp(
        60px,
        6.5vw,
        102px
    );

    line-height: 0.88;

    letter-spacing: -0.065em;
}


/* Palabras destacadas */

.colecta-hero-title span {
    position: relative;

    display: inline-block;

    /*
       Azul mucho más claro.
       Sigue siendo parte de la identidad pero contrasta
       con el fondo azul oscuro.
    */
    color: #8be8f6;
}

/* Subrayado amarillo eliminado */

.colecta-hero-title span::after {
    display: none;
    content: none;
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.colecta-hero-description {
    max-width: 580px;

    margin: 0 0 34px;

    /* Blanco suave para diferenciarlo del título */
    color: rgba(255, 255, 255, 0.82);

    font-size: 20px;

    line-height: 1.55;
}


/* =========================================================
   BOTONES
========================================================= */

.colecta-hero-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;
}


/*
   El botón secundario necesita contraste especial
   porque ahora vive sobre fondo azul.
*/

.colecta-hero .colecta-btn-secondary {
    color: #ffffff;

    border:
        1.5px solid rgba(255, 255, 255, 0.50);

    background:
        rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.colecta-hero .colecta-btn-secondary:hover {
    color: var(--apapacho-ink);

    background: #ffffff;

    border-color: #ffffff;
}


/* =========================================================
   NOTA INFERIOR
========================================================= */

.colecta-hero-note {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 34px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 13px;
    font-weight: 700;
}

.colecta-note-line {
    display: block;

    width: 60px;
    height: 2px;

    background:
        var(--apapacho-yellow);
}

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

.colecta-hero-visual {
    position: relative;

    min-height: 600px;
}

.colecta-visual-shape {
    position: absolute;

    z-index: 2;

    top: 50%;
    left: 50%;

    width: min(
        560px,
        90%
    );

    aspect-ratio: 1 / 1;

    transform:
        translate(-50%, -50%);

    border-radius:
        46% 54% 42% 58% /
        54% 42% 58% 46%;

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

    padding: 13px;

    box-shadow:
        0 40px 100px
        rgba(9, 43, 59, 0.10);

    animation:
        apapacho-shape
        12s ease-in-out infinite;
}

@keyframes apapacho-shape {

    0%,
    100% {
        border-radius:
            46% 54% 42% 58% /
            54% 42% 58% 46%;
    }

    50% {
        border-radius:
            58% 42% 55% 45% /
            43% 60% 40% 57%;
    }

}

.colecta-photo-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    overflow: hidden;

    border-radius: inherit;

    background:
        linear-gradient(
            145deg,
            #e9f7f2,
            #d6f3ec
        );
}

.colecta-photo-content {
    width: 100%;
    height: 100%;

    max-width: none;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    text-align: center;
}

.colecta-photo-content img {
    width: 92%;
    height: 92%;

    display: block;

    object-fit: contain;
    object-position: center bottom;
}


.colecta-photo-content span {
    display: block;

    margin-bottom: 14px;

    color: var(--apapacho-blue);

    font-size: 76px;
}

.colecta-photo-content strong {
    display: block;

    margin-bottom: 8px;

    font-size: 21px;
}

.colecta-photo-content small {
    color: var(--apapacho-text);

    line-height: 1.5;
}

.colecta-handwritten {
    position: absolute;

    z-index: 4;

    font-family:
        "Comic Sans MS",
        "Bradley Hand",
        cursive;

    font-weight: 800;

    line-height: 1.05;

    transform: rotate(-6deg);
}

.handwritten-1 {
    top: 55px;
    right: -5px;

    color:
        var(--apapacho-blue-light);

    font-size: 29px;
}

.handwritten-2 {
    right: 0;
    bottom: 55px;

    color:
        var(--apapacho-cream);

    font-size: 25px;
}

.colecta-route {
    position: absolute;

    z-index: 1;

    bottom: 25px;
    left: -40px;

    width: 230px;
    height: 110px;

    border:
        4px dashed
        var(--apapacho-blue);

    border-top-color: transparent;
    border-left-color: transparent;

    border-radius: 50%;

    transform: rotate(20deg);
}

.colecta-doodle {
    position: absolute;

    z-index: 1;

    pointer-events: none;
}

.doodle-star {
    color:
        var(--apapacho-yellow);

    font-size: 65px;
}

.doodle-star-1 {
    top: 120px;
    left: 3%;
}

.doodle-star-2 {
    right: 3%;
    bottom: 120px;

    transform: rotate(20deg);
}

.doodle-heart {
    color:
        rgba(39, 170, 115, 0.14);

    font-size: 170px;
}

.doodle-heart-1 {
    left: 35%;
    bottom: 10px;

    transform: rotate(-15deg);
}


/* =========================================================
   TIMELINE
========================================================= */

.colecta-timeline-section {
    padding:
        120px 0;

    background: white;
}

.colecta-timeline {
    position: relative;

    display: grid;

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

    gap: 18px;
}

.timeline-card {
    position: relative;

    overflow: hidden;

    min-height: 390px;

    padding:
        38px;

    border:
        1px solid
        var(--apapacho-border);

    border-radius:
        var(--radius-lg);

    background: white;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

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

    box-shadow:
        0 30px 60px
        rgba(9, 43, 59, 0.08);
}

.timeline-number {
    position: absolute;

    top: 16px;
    right: 25px;

    color:
        rgba(9, 43, 59, 0.06);

    font-size: 90px;
    font-weight: 900;
}

.timeline-icon {
    width: 56px;
    height: 56px;

    display: grid;

    place-items: center;

    margin-bottom: 35px;

    border-radius: 50%;

    font-size: 31px;
}

.timeline-card-yellow
.timeline-icon {
    background:
        var(--apapacho-yellow);
}

.timeline-card-blue
.timeline-icon {
    color: white;

    background:
        var(--apapacho-blue);
}

.timeline-card-green
.timeline-icon {
    color: white;

    background:
        var(--apapacho-green);
}

.timeline-label {
    display: block;

    margin-bottom: 10px;

    color:
        var(--apapacho-blue);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 0.14em;
}

.timeline-card h3 {
    margin:
        0 0 14px;

    font-size: 29px;

    letter-spacing: -0.035em;
}

.timeline-card p {
    min-height: 80px;

    margin:
        0 0 25px;

    color:
        var(--apapacho-text);

    line-height: 1.55;
}

.timeline-date {
    display: inline-block;

    margin-bottom: 30px;

    padding:
        10px 16px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 900;
}

.timeline-card-yellow
.timeline-date {
    background:
        rgba(255, 211, 29, 0.40);
}

.timeline-card-blue
.timeline-date {
    background:
        var(--apapacho-blue-light);
}

.timeline-card-green
.timeline-date {
    background:
        var(--apapacho-mint);
}

.timeline-card a {
    display: block;

    color:
        var(--apapacho-ink);

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;
}


/* =========================================================
   REGISTER
========================================================= */

.colecta-register-section {
    padding:
        0 0 120px;

    background: white;
}

.colecta-register-card {
    position: relative;

    display: grid;

    grid-template-columns:
        1.25fr 0.75fr;

    overflow: hidden;

    min-height: 590px;

    border-radius:
        var(--radius-xl);

    background:
        linear-gradient(
            120deg,
            #fff8d7,
            #fffdf3 58%
        );
}

.register-content {
    padding:
        80px;
}

.register-content h2 {
    max-width: 700px;
}

.register-content h2 span {
    color:
        var(--apapacho-green);
}

.register-steps {
    display: grid;

    margin:
        38px 0;

    gap: 18px;
}

.register-step {
    display: flex;

    align-items: flex-start;

    gap: 18px;
}

.register-step > span {
    min-width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    color:
        var(--apapacho-ink);

    border-radius: 50%;

    background:
        var(--apapacho-yellow);

    font-size: 12px;
    font-weight: 900;
}

.register-step strong {
    display: block;

    margin-bottom: 3px;
}

.register-step p {
    margin: 0;

    color:
        var(--apapacho-text);

    font-size: 14px;
}

.register-visual {
    position: relative;

    display: flex;

    flex-direction: column;

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

    padding: 60px;

    color: white;

    text-align: center;

    background:
        var(--apapacho-green);
}

.register-heart {
    margin-bottom: 14px;

    font-size: 110px;
}

.register-visual strong {
    font-size: 28px;
    line-height: 1.1;
}

.register-marker {
    margin-top: 40px;

    padding:
        15px 25px;

    color:
        var(--apapacho-ink);

    border-radius:
        50% 40% 55% 45%;

    background:
        var(--apapacho-yellow);

    font-size: 13px;
    font-weight: 900;

    transform:
        rotate(-5deg);
}

.register-decoration {
    position: absolute;

    z-index: 3;

    top: 25px;
    right: 30px;

    color:
        var(--apapacho-yellow);

    font-size: 75px;
}


/* =========================================================
   CENTROS
========================================================= */

.colecta-centros-section {
    padding:
        120px 0;

    background:
        var(--apapacho-blue-light);
}

.centros-layout {
    display: grid;

    grid-template-columns:
        0.75fr 1.25fr;

    align-items: center;

    gap: 80px;
}

.centros-info {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-top: 30px;

    padding-top: 24px;

    border-top:
        1px solid
        rgba(9, 43, 59, 0.10);
}

.centros-info span {
    color:
        var(--apapacho-green);

    font-size: 31px;
}

.centros-info p {
    margin: 0;

    color:
        var(--apapacho-text);

    font-size: 14px;
    line-height: 1.5;
}

.centros-search-card {
    padding:
        42px;

    border:
        1px solid
        rgba(255, 255, 255, 0.8);

    border-radius:
        var(--radius-lg);

    background:
        rgba(255, 255, 255, 0.78);

    backdrop-filter:
        blur(10px);

    box-shadow:
        0 30px 70px
        rgba(9, 43, 59, 0.08);
}

.centros-search-title {
    margin-bottom: 18px;

    font-size: 18px;
    font-weight: 900;
}

.centros-search {
    display: grid;

    grid-template-columns:
        1.4fr 0.8fr;

    gap: 10px;

    margin-bottom: 25px;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper span {
    position: absolute;

    top: 50%;
    left: 18px;

    transform:
        translateY(-50%);

    color:
        var(--apapacho-blue);

    font-size: 25px;
}

.search-input-wrapper input,
.centros-search select {
    width: 100%;
    height: 56px;

    padding:
        0 18px;

    border:
        1px solid
        rgba(9, 43, 59, 0.12);

    border-radius:
        16px;

    outline: none;

    color:
        var(--apapacho-ink);

    background: white;
}

.search-input-wrapper input {
    padding-left: 50px;
}

.search-input-wrapper input:focus,
.centros-search select:focus {
    border-color:
        var(--apapacho-blue);
}

.centros-preview {
    display: grid;

    gap: 10px;
}

.centro-preview-card {
    display: grid;

    grid-template-columns:
        70px 1fr 42px;

    align-items: center;

    gap: 17px;

    padding:
        15px;

    border:
        1px solid
        var(--apapacho-border);

    border-radius:
        19px;

    background: white;
}

.centro-preview-card[hidden] {
    display: none;
}

.centro-logo {
    width: 70px;
    height: 70px;

    display: grid;

    place-items: center;

    border-radius:
        15px;

    color:
        rgba(9, 43, 59, 0.40);

    background:
        var(--apapacho-mint);

    font-size: 11px;
    font-weight: 900;
}

.centro-data h3 {
    margin:
        0 0 4px;

    font-size: 16px;
}

.centro-data p {
    margin:
        0 0 4px;

    color:
        var(--apapacho-green);

    font-size: 13px;
    font-weight: 800;
}

.centro-data small {
    color:
        var(--apapacho-text);
}

.centro-preview-card > a {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    color: white;

    border-radius: 50%;

    background:
        var(--apapacho-blue);

    text-decoration: none;
}

.centros-directory-link {
    display: flex;

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

    margin-top: 22px;

    padding-top: 20px;

    border-top:
        1px solid
        var(--apapacho-border);

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;
}


/* =========================================================
   HELP
========================================================= */

.colecta-help-section {
    padding:
        120px 0;

    background:
        var(--apapacho-cream);
}

.help-grid {
    display: grid;

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

    gap: 18px;
}

.help-card {
    position: relative;

    min-height: 350px;

    padding:
        36px;

    border:
        1px solid
        var(--apapacho-border);

    border-radius:
        var(--radius-lg);

    background: white;
}

.help-number {
    position: absolute;

    top: 30px;
    right: 30px;

    color:
        rgba(9, 43, 59, 0.10);

    font-size: 35px;
    font-weight: 900;
}

.help-icon {
    width: 62px;
    height: 62px;

    display: grid;

    place-items: center;

    margin-bottom: 55px;

    color:
        var(--apapacho-blue);

    border-radius: 50%;

    background:
        var(--apapacho-blue-light);

    font-size: 34px;
    font-weight: 600;
}

.help-card:nth-child(2)
.help-icon {
    color:
        var(--apapacho-green);

    background:
        var(--apapacho-mint);
}

.help-card:nth-child(3)
.help-icon {
    color:
        var(--apapacho-ink);

    background:
        rgba(255, 211, 29, 0.35);
}

.help-card h3 {
    margin:
        0 0 12px;

    font-size: 28px;

    letter-spacing:
        -0.035em;
}

.help-card p {
    margin:
        0 0 25px;

    color:
        var(--apapacho-text);

    line-height: 1.55;
}

.help-card a {
    color:
        var(--apapacho-blue);

    font-size: 14px;
    font-weight: 900;

    text-decoration: none;
}


/* =========================================================
   IMPACT
========================================================= */

.colecta-impact-section {
    padding:
        0 0 120px;

    background:
        var(--apapacho-cream);
}

.impact-card {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    min-height: 580px;

    overflow: hidden;

    border-radius:
        var(--radius-xl);

    background:
        var(--apapacho-mint);
}

.impact-content {
    padding:
        80px;
}

.impact-content > p {
    margin-bottom: 35px;
}

.impact-collage {
    position: relative;

    min-height: 580px;

    background:
        linear-gradient(
            145deg,
            var(--apapacho-blue),
            var(--apapacho-green)
        );
}

.impact-photo {
    position: absolute;

    display: grid;

    place-items: center;

    color:
        rgba(9, 43, 59, 0.45);

    background: white;

    font-weight: 900;

    box-shadow:
        0 25px 60px
        rgba(9, 43, 59, 0.16);
}

.impact-photo-1 {
    top: 70px;
    left: 60px;

    width: 260px;
    height: 330px;

    transform:
        rotate(-5deg);
}

.impact-photo-2 {
    right: 50px;
    bottom: 60px;

    width: 245px;
    height: 290px;

    transform:
        rotate(7deg);
}

.impact-sticker {
    position: absolute;

    z-index: 4;

    top: 45px;
    right: 40px;

    padding:
        20px 25px;

    color:
        var(--apapacho-ink);

    border-radius:
        48% 52% 46% 54%;

    background:
        var(--apapacho-yellow);

    font-family:
        "Comic Sans MS",
        cursive;

    font-size: 18px;
    font-weight: 900;

    text-align: center;

    transform:
        rotate(7deg);
}


/* =========================================================
   CTA FINAL
========================================================= */

.colecta-final-section {
    padding:
        0 0 80px;

    background:
        var(--apapacho-cream);
}

.colecta-final-card {
    position: relative;

    overflow: hidden;

    padding:
        90px 70px;

    color: white;

    border-radius:
        var(--radius-xl);

    background:
        var(--apapacho-blue);

    text-align: center;
}

.colecta-final-card::before {
    content: "♡";

    position: absolute;

    top: -100px;
    left: -30px;

    color:
        rgba(255, 255, 255, 0.10);

    font-size: 360px;
}

.colecta-final-card > span {
    position: relative;

    z-index: 2;

    display: block;

    margin-bottom: 25px;

    font-size: 13px;
    font-weight: 900;

    letter-spacing:
        0.15em;
}

.colecta-final-card h2 {
    position: relative;

    z-index: 2;

    max-width: 800px;

    margin:
        0 auto 40px;

    font-size:
        clamp(
            45px,
            5.5vw,
            75px
        );

    line-height: 0.98;

    letter-spacing:
        -0.045em;
}

.colecta-final-card h2 strong {
    color:
        var(--apapacho-yellow);
}

.colecta-final-actions {
    position: relative;

    z-index: 2;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}


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

.site-footer {
    padding:
        40px 0;

    color: white;

    background:
        var(--apapacho-ink);
}


/* =========================================================
   TABLET
========================================================= */

@media (
    max-width: 1050px
) {

    .container {
        width:
            min(
                var(--container),
                calc(100% - 50px)
            );
    }

    .colecta-hero-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 30px;
    }

    .colecta-hero-title {
        font-size:
            clamp(
                55px,
                7vw,
                80px
            );
    }

    .colecta-timeline {
        grid-template-columns:
            1fr;
    }

    .timeline-card {
        min-height: auto;
    }

    .timeline-card p {
        min-height: auto;
    }

    .centros-layout {
        grid-template-columns:
            1fr;

        gap: 50px;
    }

    .colecta-register-card {
        grid-template-columns:
            1fr;
    }

    .register-visual {
        min-height: 400px;
    }

    .impact-card {
        grid-template-columns:
            1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (
    max-width: 760px
) {

    .container {
        width:
            calc(100% - 32px);
    }

    .site-header {
        padding:
            15px 0;
    }

    .brand {
        font-size: 26px;
    }

    .nav nav {
        display: none;
    }


    /* HERO */

    .colecta-hero {
        min-height: auto;

        padding:
            60px 0 80px;
    }

    .colecta-hero-grid {
        display: flex;

        flex-direction: column;

        gap: 45px;
    }

    .colecta-hero-title {
        font-size:
            clamp(
                53px,
                15vw,
                72px
            );
    }

    .colecta-hero-description {
        font-size: 17px;
    }

    .colecta-hero-actions {
        align-items: stretch;

        flex-direction: column;
    }

    .colecta-btn {
        width: 100%;
    }

    .colecta-hero-visual {
        width: 100%;
        min-height: 430px;
    }

    .colecta-visual-shape {
        width: 90%;
    }

    .handwritten-1 {
        top: 5px;
        right: 0;

        font-size: 20px;
    }

    .handwritten-2 {
        right: 0;
        bottom: 5px;

        font-size: 18px;
    }

    .doodle-star {
        display: none;
    }


    /* SECTIONS */

    .colecta-timeline-section,
    .colecta-help-section,
    .colecta-centros-section {
        padding:
            80px 0;
    }

    .colecta-section-heading {
        margin-bottom: 35px;
    }

    .colecta-section-heading h2,
    .register-content h2,
    .centros-copy h2,
    .impact-content h2 {
        font-size: 43px;
    }


    /* CARDS */

    .timeline-card,
    .help-card {
        padding: 28px;

        border-radius: 28px;
    }

    .timeline-number {
        font-size: 65px;
    }


    /* REGISTER */

    .colecta-register-section {
        padding-bottom: 80px;
    }

    .colecta-register-card {
        border-radius: 36px;
    }

    .register-content {
        padding:
            45px 25px;
    }

    .register-visual {
        min-height: 350px;

        padding: 40px 25px;
    }


    /* CENTROS */

    .centros-search-card {
        padding: 22px;

        border-radius: 28px;
    }

    .centros-search {
        grid-template-columns:
            1fr;
    }

    .centro-preview-card {
        grid-template-columns:
            55px 1fr;
    }

    .centro-logo {
        width: 55px;
        height: 55px;
    }

    .centro-preview-card > a {
        display: none;
    }


    /* HELP */

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

    .help-card {
        min-height: auto;
    }

    .help-icon {
        margin-bottom: 35px;
    }


    /* IMPACT */

    .colecta-impact-section {
        padding-bottom: 80px;
    }

    .impact-card {
        border-radius: 36px;
    }

    .impact-content {
        padding:
            50px 25px;
    }

    .impact-collage {
        min-height: 440px;
    }

    .impact-photo-1 {
        top: 60px;
        left: 25px;

        width: 190px;
        height: 250px;
    }

    .impact-photo-2 {
        right: 25px;
        bottom: 40px;

        width: 180px;
        height: 230px;
    }


    /* FINAL */

    .colecta-final-card {
        padding:
            70px 25px;

        border-radius: 36px;
    }

    .colecta-final-card h2 {
        font-size: 43px;
    }

}
/* =========================================================
   AJUSTE FINAL DE RITMO / ALINEACION ENTRE BLOQUES
   Mantiene el contenido intacto y normaliza el espaciado.
========================================================= */

:root {
    --section-space: clamp(150px, 11vw, 210px);
    --section-space-mobile: 96px;
}

/* Evita desbordes accidentales en grids/flex */
.colecta-page,
.colecta-page section,
.colecta-page .container,
.colecta-page [class*="-grid"],
.colecta-page [class*="-layout"],
.colecta-page [class*="-card"] {
    min-width: 0;
}

.colecta-page h1,
.colecta-page h2,
.colecta-page h3,
.colecta-page p {
    overflow-wrap: break-word;
}

/* Ritmo vertical uniforme entre bloques completos */
.colecta-timeline-section,
.colecta-register-section,
.colecta-centros-section,
.colecta-help-section,
.colecta-impact-section,
.colecta-final-section {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

/* El hero conserva una composicion propia */
.colecta-hero {
    padding-top: 165px;
    padding-bottom: 145px;
}

/* Separacion interna consistente entre encabezado y contenido */
.colecta-section-heading {
    margin-bottom: clamp(60px, 5vw, 90px);
}

/* TIMELINE */
.colecta-timeline {
    align-items: stretch;
    gap: clamp(22px, 2vw, 34px);
}

.timeline-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.timeline-card p {
    flex: 1 1 auto;
}

.timeline-card a {
    margin-top: auto;
}

/* REGISTRO */
.colecta-register-card {
    width: 100%;
    min-height: 620px;
}

.register-content,
.register-visual {
    min-width: 0;
}

/* CENTROS */
.centros-layout {
    align-items: center;
    gap: clamp(60px, 6vw, 110px);
}

.centros-copy,
.centros-search-card {
    min-width: 0;
}

/* FORMAS DE SUMARTE */
.help-grid {
    align-items: stretch;
    gap: clamp(22px, 2vw, 34px);
}

.help-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.help-card p {
    flex: 1 1 auto;
}

.help-card a {
    margin-top: auto;
}

/* IMPACTO */
.impact-card {
    width: 100%;
    min-height: 600px;
}

.impact-content,
.impact-collage {
    min-width: 0;
}

/* CTA FINAL: mantiene aire antes del footer */
.colecta-final-section {
    padding-bottom: clamp(110px, 8vw, 150px);
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1050px) {

    :root {
        --section-space: 125px;
    }

    .colecta-hero {
        padding-top: 135px;
        padding-bottom: 120px;
    }

    .colecta-timeline {
        gap: 26px;
    }

    .timeline-card {
        min-height: 0;
    }

    .colecta-register-card,
    .impact-card {
        min-height: 0;
    }

    .centros-layout {
        gap: 70px;
    }

    .help-grid {
        gap: 24px;
    }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 760px) {

    :root {
        --section-space: var(--section-space-mobile);
    }

    .colecta-hero {
        padding-top: 80px;
        padding-bottom: 96px;
    }

    .colecta-timeline-section,
    .colecta-register-section,
    .colecta-centros-section,
    .colecta-help-section,
    .colecta-impact-section,
    .colecta-final-section {
        padding-top: var(--section-space-mobile);
        padding-bottom: var(--section-space-mobile);
    }

    .colecta-section-heading {
        margin-bottom: 48px;
    }

    .colecta-timeline,
    .help-grid {
        gap: 22px;
    }

    .centros-layout {
        gap: 48px;
    }

    .colecta-register-card,
    .impact-card {
        min-height: 0;
    }

    .register-content,
    .impact-content {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .colecta-final-section {
        padding-bottom: 96px;
    }
}


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

.site-footer {
    position: relative;
    overflow: hidden;

    padding: 90px 0 30px;

    color: #ffffff;

    background:
        var(--apapacho-blue-dark);
}


/* =========================================================
   FOOTER - 4 COLUMNAS
========================================================= */

.footer-main {
    display: grid;

    grid-template-columns:
        minmax(260px, 1.5fr)
        minmax(160px, 0.75fr)
        minmax(160px, 0.75fr)
        minmax(180px, 0.85fr);

    gap: clamp(40px, 5vw, 80px);

    align-items: start;

    padding-bottom: 70px;
}


/* =========================================================
   MARCA
========================================================= */

.footer-brand {
    max-width: 380px;
}

.footer-logo {
    display: inline-flex;

    margin-bottom: 25px;

    text-decoration: none;
}

.footer-logo img {
    width: 180px;
    height: auto;

    display: block;

    /*
       El logo del header está pensado para fondo claro.
       Este pequeño contenedor permite reutilizarlo sin
       modificar el archivo original.
    */

    padding: 13px 18px;

    border-radius: 18px;

    background: #ffffff;
}

.footer-brand p {
    max-width: 300px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   COLUMNAS
========================================================= */

.footer-column h3 {
    margin:
        5px 0 24px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 900;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.footer-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 15px;
}

.footer-links a {
    position: relative;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-links a:hover {
    color:
        var(--apapacho-yellow);

    transform:
        translateX(4px);
}


/* =========================================================
   PARTE INFERIOR
========================================================= */

.footer-bottom {
    display: flex;

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

    gap: 30px;

    padding-top: 28px;

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

.footer-bottom p {
    margin: 0;

    color:
        var(--apapacho-blue-light)

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   DETALLE GRÁFICO
========================================================= */

.site-footer::before {
    content: "♡";

    position: absolute;

    right: 5%;
    bottom: -130px;

    color:
        rgba(255, 255, 255, 0.045);

    font-size: 380px;

    line-height: 1;

    pointer-events: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .site-footer {
        padding-top: 70px;
    }

    .footer-main {
        grid-template-columns:
            1.3fr 1fr 1fr;

        gap: 45px;

        padding-bottom: 55px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .site-footer {
        padding:
            60px 0 25px;
    }

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

        gap: 45px;

        padding-bottom: 50px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo img {
        width: 165px;
    }

    .footer-column h3 {
        margin-bottom: 18px;
    }

    .footer-links {
        gap: 13px;
    }

    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;

        padding-top: 25px;
    }

    .site-footer::before {
        right: -80px;
        bottom: -80px;

        font-size: 260px;
    }

}

/* =========================================================
   APAPACHO 2026
   HERO - CONTENIDO IZQUIERDO COMPACTO
   SIN LIQUID GLASS
========================================================= */

/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1025px) {

    .colecta-hero {
        min-height: 95vh;
        padding-top: 165px !important;
        padding-bottom: 0 !important;
    }

    .colecta-hero-grid {
        min-height: calc(95vh - 165px);
        align-items: stretch;
    }

    .colecta-hero-content {
        align-self: center;
        width: 100%;
        max-width: 560px;
        padding: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .colecta-hero-content::before,
    .colecta-hero-content::after {
        display: none;
        content: none;
    }

    .colecta-kicker {
        margin-bottom: 18px;
        gap: 8px;
        font-size: 12px;
        letter-spacing: 0.14em;
    }

    .colecta-kicker-icon {
        font-size: 19px;
    }

    .colecta-hero-title {
        max-width: 540px;
        margin: 0 0 24px;
        font-size: clamp(54px, 5.3vw, 82px);
        line-height: 0.88;
        letter-spacing: -0.065em;
    }

    .colecta-hero-title span::after {
        display: none !important;
        content: none !important;
    }

    .colecta-hero-description {
        max-width: 500px;
        margin: 0 0 26px;
        font-size: 17px;
        line-height: 1.5;
    }

    .colecta-hero-actions {
        gap: 10px;
    }

    .colecta-hero .colecta-btn {
        min-height: 50px;
        padding: 0 22px;
        gap: 12px;
        font-size: 14px;
    }

    .colecta-hero-note {
        margin-top: 25px;
        gap: 12px;
        font-size: 12px;
    }

    .colecta-note-line {
        width: 50px;
    }

    .colecta-hero-visual-new {
        min-height: 100%;
        height: 100%;
        align-self: stretch;
    }

    .colecta-hero-boy {
        bottom: 0;
    }
}

/* =========================================================
   LAPTOP
========================================================= */

@media (min-width: 1025px) and (max-width: 1366px) {

    .colecta-hero {
        padding-top: 135px !important;
    }

    .colecta-hero-grid {
        min-height: calc(95vh - 135px);
        gap: 40px;
    }

    .colecta-hero-content {
        max-width: 520px;
    }

    .colecta-hero-title {
        font-size: clamp(50px, 5.3vw, 72px);
    }

    .colecta-hero-description {
        font-size: 16px;
    }

    .colecta-hero .colecta-btn {
        min-height: 48px;
        padding: 0 19px;
        font-size: 13px;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (min-width: 761px) and (max-width: 1024px) {

    .colecta-hero-content {
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .colecta-hero-content::before,
    .colecta-hero-content::after {
        display: none;
        content: none;
    }

    .colecta-hero-title {
        font-size: clamp(52px, 7.5vw, 74px);
    }

    .colecta-hero-description {
        font-size: 16px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .colecta-hero-content {
        max-width: 100%;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .colecta-hero-content::before,
    .colecta-hero-content::after {
        display: none;
        content: none;
    }

    .colecta-kicker {
        margin-bottom: 16px;
        font-size: 11px;
    }

    .colecta-hero-title {
        margin-bottom: 22px;
        font-size: clamp(46px, 13vw, 64px);
    }

    .colecta-hero-description {
        margin-bottom: 24px;
        font-size: 16px;
    }

    .colecta-hero-note {
        margin-top: 24px;
    }
}
