/* =====================================================
    1. VARIABLES
    ===================================================== */

    :root {
        /* Colores */
        --verde-oscuro: #1B8763;
        --verde-claro: #78D8B3;
        --amarillo: #fffc99;
        --rosa: #E1607E;
        --terracota: #8A3A2A;
        --rojo: #D32A4B;
        --blanco: #ffffff;
        --verdemasclaro: rgb(7, 173, 118);
        --verdemasoscuro: #00542c;

        /* Tipografías */
        --titulo: 'Anton', sans-serif;
        --subtitulo: 'Montserrat', sans-serif;
        --texto: 'Open Sans', sans-serif;

        /* Layout */
        --container: 1200px;
        --grid-gap: 2rem;
    }

    /* =====================================================
    2. RESET
    ===================================================== */

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

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: var(--texto);
        position: relative;
        background: #0b3527;
        min-height: 100vh;
        overflow-x: hidden;
    }

    /* =====================================================
    3. UTILIDADES (grid / container)
    ===================================================== */

    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: var(--grid-gap);
    }

    .container {
        max-width: var(--container);
        margin: 0 auto;
        padding: 0 clamp(16px, 5vw, 24px);
    }

    /* =====================================================
    4. BASE / FONDO GENERAL
    ===================================================== */

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background:
            radial-gradient(circle at 20% 20%, rgba(255,255,255,.04), transparent 40%),
            radial-gradient(circle at 80% 70%, rgba(255,255,255,.03), transparent 50%);
        pointer-events: none;
    }

    main {
        position: relative;
            overflow-x: hidden;

    }

    section[id] {
        scroll-margin-top: 120px;
    }

    #autoridades,
    #becarixs,
    #colaboradores,
    #madrinas,
    #beneficiarios,
    #pedido,
    #becadxs,
    #historia-programa,
    #logros,
    #como-ser-becarix {
        scroll-margin-top: 130px;
    }

    .contenido .container-separado {
        margin-top: 4rem;
    }

    .pedido-intro {
        margin: 0 auto 1.5rem;
    }

    @media (max-width: 600px){
        .contenido .container-separado {
            margin-top: 2.5rem;
        }
    }

    /* =====================================================
    5. ANIMACIONES
    ===================================================== */

    @keyframes explosion {
        from { opacity: 1; transform: translate(0, 0); }
        to   { opacity: 0; transform: translate(var(--x), var(--y)); }
    }

    @keyframes subir {
        from { transform: translateY(0); opacity: 0; }
        10%  { opacity: 1; }
        90%  { opacity: 1; }
        to   { transform: translateY(-250vh); opacity: 0; }
    }

    @keyframes popupSube {
        0%   { opacity: 0; transform: translate(-50%, 0); }
        20%  { opacity: 1; }
        100% { opacity: 0; transform: translate(-50%, -50px); }
    }

    @keyframes aparecerModal {
        from { opacity: 0; transform: scale(.9); }
        to   { opacity: 1; transform: scale(1); }
    }

    /* =====================================================
    6. BURBUJAS / PARTÍCULAS / MENSAJES FLOTANTES
    ===================================================== */

    .burbujas {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        z-index: 400;
        pointer-events: none;
    }

    .burbujas span {
        position: absolute;
        bottom: -100px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.12);
        animation: subir linear forwards;
        pointer-events: auto;
        cursor: pointer;
        transition: .2s;
    }

    .burbujas span:hover {
        transform: scale(1.1);
    }

    .particula {
        position: fixed;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(255,255,255,.5);
        pointer-events: none;
        animation: explosion .7s forwards;
    }

    .contador-sopitas {
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 500;
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(0,0,0,.35);
        backdrop-filter: blur(8px);
        color: white;
        font-size: .8rem;
        font-weight: 600;
        user-select: none;
        box-shadow: 0 4px 15px rgba(0,0,0,.25);
    }

    .contador-sopitas.ganada {
        transform: scale(1.1);
    }

    .contador-sopitas {
        cursor: help;
    }

    .contador-sopitas::after {
        content: attr(data-tooltip);
        position: absolute;
        left: 0;
        bottom: calc(100% + 10px);
        width: max-content;
        max-width: 230px;
        padding: 8px 12px;
        border-radius: 12px;
        background: rgba(0,0,0,.88);
        color: white;
        font-size: .75rem;
        font-weight: 600;
        line-height: 1.4;
        white-space: pre-line;
        box-shadow: 0 6px 18px rgba(0,0,0,.3);
        opacity: 0;
        transform: translateY(4px);
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
    }

    .contador-sopitas:hover::after,
    .contador-sopitas.mostrar-ayuda::after {
        opacity: 1;
        transform: translateY(0);
    }

    .popup-progreso {
        position: fixed;
        transform: translate(-50%, -50%);
        color: white;
        font-weight: bold;
        font-size: 1.1rem;
        text-shadow: 0 0 10px rgba(0,0,0,.5);
        pointer-events: none;
        animation: popupSube 1.2s ease forwards;
        z-index: 600;
    }

    .mensaje-especial {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(.8);
        opacity: 0;
        z-index: 9999;
        background: rgba(0,0,0,.85);
        color: white;
        padding: 20px 30px;
        border-radius: 20px;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 700;
        backdrop-filter: blur(10px);
        transition: opacity .4s ease, transform .4s ease;
        pointer-events: none;
        white-space: pre-line;
    }

    .mensaje-especial.visible {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    /* =====================================================
    7. HEADER / NAVBAR
    ===================================================== */

    header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: linear-gradient(90deg, rgba(27,135,99,.20), rgba(27,135,99,.30), rgba(27,135,99,.20));
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 4px 20px rgba(0,0,0,.08);
    }

    header:hover {
        background: rgba(27,135,99,.22);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    header::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        background: transparent;
        transition: .3s ease;
        z-index: 1;
    }

    .navbar {
        max-width: 1400px;
        position: relative;
        z-index: 2;
        margin: auto;
        padding: clamp(.7rem, 2.5vw, 1rem) clamp(1rem, 4vw, 2rem);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: clamp(.75rem, 3vw, 2rem);
    }

    /* --- Logos --- */

    .logo-proyecto {
        position: relative;
        display: block;
        width: clamp(140px, 32vw, 220px);
        height: clamp(58px, 13vw, 90px);
        flex-shrink: 0;
    }

    .logo-proyecto img {
        height: clamp(58px, 13vw, 90px);
    }

    .logo-proyecto .logo {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: opacity .5s ease;
    }

    .logo-negro { opacity: 1; }
    .logo-blanco { opacity: 0; }

    header.sobre-hero .logo-negro { opacity: 0; }
    header.sobre-hero .logo-blanco { opacity: 1; }

    .logo-hero-principal {
        width: clamp(120px, 15vw, 220px);
        height: auto;
        margin-bottom: .5rem;
    }

    .logo-unq {
        position: relative;
        width: 160px;
        height: 60px;
    }

    .logo-unq .logo {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: opacity .5s ease;
    }

    .logo-unq-negro { opacity: 1; }
    .logo-unq-blanco { opacity: 0; }

    header.sobre-hero .logo-unq-negro { opacity: 0; }
    header.sobre-hero .logo-unq-blanco { opacity: 1; }

    /* --- Navegación --- */

    .nav-links {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .nav-links a {
        color: rgba(255,255,255,.95);
        text-decoration: none;
        font-family: var(--subtitulo);
        font-weight: 600;
        text-shadow: 0 0 8px rgba(0,0,0,.25);
        transition: color .3s ease;
    }

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

    .menu-toggle {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 2rem;
        color: white;
        flex-shrink: 0;
    }

    .menu-toggle.active {
        transform: rotate(180deg);
        font-size: 0;
    }

    .menu-toggle.active::before {
        content: "✕";
        font-size: 2rem;
    }

    /* --- Dropdown --- */

    .dropdown {
        position: relative;
    }

    .dropdown > a::after {
        content: "▾";
        margin-left: 6px;
        font-size: .8rem;
        transition: .25s ease;
    }

    .dropdown:hover > a::after {
        transform: rotate(180deg);
        display: inline-block;
    }

    .submenu {
        position: absolute;
        top: calc(100% + 15px);
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        min-width: 220px;
        max-width: calc(100vw - 2rem);
        list-style: none;
        background: linear-gradient(180deg, rgba(0,84,44,.82), rgba(0,84,44,.92));
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 16px;
        padding: .8rem;
        opacity: 0;
        visibility: hidden;
        transition: .25s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,.25);
    }

    .dropdown:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .navbar:hover .dropdown:hover ~ * {
        pointer-events: auto;
    }

    .submenu li {
        width: 100%;
    }

    .submenu a {
        display: block;
        padding: .8rem 1rem;
        border-radius: 10px;
        color: white !important;
        text-decoration: none;
        font-size: .95rem;
        transition: .25s ease;
    }

    .submenu a:hover {
        background: rgba(255,255,255,.08);
        color: var(--amarillo) !important;
    }

    /* =====================================================
    8. HERO
    ===================================================== */

    .hero {
        width: 100%;
        aspect-ratio: 16 / 9;
        max-height: 700px;
        min-height: 480px;
        position: relative;
        overflow: hidden;
        z-index: 10;
    }

    .hero h1 {
        font-family: var(--titulo);
        font-size: clamp(1.9rem, 8vw, 6rem);
        color: var(--amarillo);
        margin-bottom: 1rem;
    }

    .hero h2 {
        color: white;
        margin: 0;
        font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    }

    .hero p {
        max-width: 700px;
        margin: auto;
        line-height: 1.7;
    }

    /* --- Carrusel --- */

    .carousel {
        position: absolute;
        inset: 0;
        overflow: hidden;
        z-index: 1;
    }

    .slides {
        display: flex;
        height: 100%;
        transition: transform .8s ease;
    }

    .slide {
        width: 100%;
        height: 100%;
        flex-shrink: 0;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 20%;
    }

    .carousel::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .295);
    }

    /* --- Overlay --- */

    .hero-overlay {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        min-height: unset;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }

    /* --- Contadores / Impacto --- */

    .impacto {
        display: grid;
        grid-template-columns: repeat(4, minmax(180px, 1fr));
        gap: 2rem;
        align-items: stretch;
    }

    .contador {
        min-width: 220px;
        opacity: 0;
        transform: translateY(30px);
    }

    .contador.visible {
        opacity: 1;
        transform: translateY(0);
        transition: .6s ease;
    }

    .contador-icono {
        margin-bottom: 1rem;
    }

    .contador-icono svg {
        width: 32px;
        height: 32px;
        fill: rgba(255,255,255,.8);
        transition: .3s ease;
    }

    .contador:hover .contador-icono svg {
        transform: translateY(-3px) scale(1.1);
        fill: var(--amarillo);
    }

    .numero {
        display: block;
        font-family: var(--titulo);
        font-size: clamp(2rem, 4vw, 4rem);
        color: #fffc99;
        line-height: 1;
        min-width: 180px;
        max-width: 100%;
        overflow-wrap: anywhere;
        font-variant-numeric: tabular-nums;
    }

    .contador p {
        margin-top: .5rem;
        font-family: var(--subtitulo);
        font-weight: 600;
        color: var(--blanco);
        text-transform: uppercase;
        font-size: .9rem;
    }

    /* --- Botón principal --- */

    .btn-principal {
        display: inline-block;
        margin-top: 2rem;
        padding: 1rem 2rem;
        border-radius: 999px;
        text-decoration: none;
        background: var(--rojo);
        color: white;
        font-weight: bold;
    }

    /* =====================================================
    9. SECCIONES / FONDOS DEGRADADOS
    ===================================================== */

    #quienes-somos {
    background: linear-gradient(to bottom, #0f6a46 0%, #0f6a46 70%, #8A3A2A 100%);
        padding-top: 2rem;
        padding-bottom: 2rem;
        position: relative;
    }

    #productos {
        background: linear-gradient(to bottom, #8A3A2A 0%, #8A3A2A 95%, #8A3A2A 100%);
        padding-top: 2rem;
        padding-bottom: 2rem;
        position: relative;
    }

    body.pagina-productos #productos {
        background: linear-gradient(
            to bottom,
            #0b3527 0%,
            #8A3A2A 25%,
            #8A3A2A 50%,
            #8A3A2A 75%,
            #0b3527 100%
        );
        min-height: 100vh;
    }

    #novedades {
        background: linear-gradient(to bottom, #8A3A2A 0%, #006E6B 40%, #006E6B 100%);
        padding-top: 2rem;
        padding-bottom: 2rem;
        position: relative;
    }

    #sumate {
        background: linear-gradient(to bottom, #006E6B 0%, #0b3527 100%);
        padding-top: 1rem;
        padding-bottom: 4rem;
        position: relative;
    }

    #colaborar {
        background: linear-gradient(
            to bottom,
            #8A3A2A 0%,
            #8A3A2A 10%,
            #006E6B 32%,
            #006E6B 55%,
            #0f6a46 72%,
            #0b3527 90%,
            #0b3527 100%
        );
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    /* --- programa.html (Historia y Gestión) --- */

    #historia-programa {
        background: linear-gradient(
            to bottom,
            #0f6a46 0%,
            #0f6a46 20%,
            #006E6B 30%,
            #006E6B 62%,
            #8A3A2A 95%
        );
        padding-top: 3rem;
        padding-bottom: 2rem;
        position: relative;
    }

    #logros {
        background: linear-gradient(
            to bottom,
            #8A3A2A 0%,
            #8A3A2A 50%,
            #0b3527 90%,
            #0b3527 100%
        );
        padding-top: 3rem;
        padding-bottom: 3rem;
        position: relative;
    }

    #productos,
    #novedades,
    #sumate,
    #colaborar,
    #historia-programa,
    #logros,
    #quienes-somos,
    #participar {
        max-width: none;
        width: 100%;
    }

    #productos > *,
    #logros > *,
    #historia-programa > *,
    #novedades > * {
        position: relative;
        z-index: 1;
    }

    .contenido {
        position: relative;
        z-index: 1;
        padding: clamp(2.25rem, 7vw, 4rem) clamp(1rem, 5vw, 2rem) clamp(3rem, 9vw, 6rem);
        max-width: none;
        width: 100%;
    }

    .contenido .container {
        max-width: 1200px;
        margin: auto;
    }

    .contenido h2 {
        font-family: var(--subtitulo);
        font-size: clamp(1.3rem, 3vw, 2rem);
        color: var(--amarillo);
        margin-bottom: 1rem;
    }

    .contenido p {
        line-height: 1.8;
        color: var(--blanco);
    }

    .site-footer {
        position: relative;
        z-index: 1;
    }

    #participar {
        background: linear-gradient(
            to bottom,
            #8A3A2A 0%,
            #8A3A2A 4%,
            #006E6B 55%,
            #006E6B 85%,
            #0b3527 100%
        );
        padding-top: 3rem;
        padding-bottom: 2rem;
        position: relative;
    }

    /* =====================================================
    10. AUTORIDADES
    ===================================================== */

    .becarixs-slider {
        display: flex;
        align-items: center;
        gap: .75rem;
    }

    .flecha-navegacion {
        flex: none;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,.25);
        background: rgba(0,0,0,.25);
        color: white;
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: .25s ease;
        backdrop-filter: blur(6px);
    }

    .flecha-navegacion:hover {
        background: var(--rojo);
        border-color: var(--rojo);
        transform: scale(1.08);
    }

    .autoridades-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 240px));
        justify-content: center;
        gap: 1.5rem;
        padding: 1rem 0;
    }

    .autoridades-grid img {
        width: 100%;
        height: auto;
        display: block;
        position: relative;
        z-index: 1;
        transition: .3s ease;
    }

    .autoridades-grid img:hover {
        transform: translateY(-4px) scale(1.02);
        z-index: 10;
    }

    @media (max-width: 760px){
        .autoridades-grid {
            grid-template-columns: repeat(2, minmax(0, 240px));
            gap: 1rem;
        }
    }

    /* =====================================================
    11. BECARIXS
    ===================================================== */

    .becarixs-marquee {
        width: 100%;
        overflow: hidden;
        position: relative;
        margin-top: 0;
        padding: 1rem 0;
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .becarixs-track {
        display: flex;
        gap: 1.5rem;
        width: max-content;
        will-change: transform;
    }

    .becarixs-track img {
        width: clamp(130px, 34vw, 280px);
        height: auto;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
        transition: .3s ease;
    }

    .becarixs-track img:hover{
        transform: translateY(-4px) scale(1.02);
        z-index: 10;
    }

    .becarix-card {
        background: rgba(0, 142, 120, .28);
        padding: 10px;
        border-radius: 18px;
        border: 1px solid rgba(255,255,255,.12);
    }

    .becarix-card:hover {
        background: rgba(0, 142, 120, .42);
    }

    @media (max-width: 640px){
        .becarixs-marquee {
            mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
        }

        .becarixs-track {
            gap: 1rem;
        }

        .becarix-card {
            padding: 7px;
            border-radius: 14px;
        }

        .flecha-navegacion {
            width: 38px;
            height: 38px;
            font-size: .95rem;
        }
    }

    /* =====================================================
    11.01 BECARIXS EN LA HISTORIA
    ===================================================== */

    .historia-becarixs-año {
        margin-top: 1.5rem;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 20px;
        overflow: hidden;
        backdrop-filter: blur(8px);
        transition: background .3s ease, border-color .3s ease;
    }

    .historia-becarixs-año:has(.historia-becarixs-toggle[aria-expanded="true"]) {
        background: rgba(7, 7, 7, 0.055);
        border-color: rgba(255,252,153,.35);
    }

    .historia-becarixs-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .8rem;
        padding: 1.2rem 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--amarillo);
        font-family: var(--titulo);
        font-weight: 400;
        font-size: clamp(1.4rem, 3vw, 1.9rem);
    }

    .historia-becarixs-contenido {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows .4s ease;
    }

    .historia-becarixs-toggle[aria-expanded="true"] + .historia-becarixs-contenido {
        grid-template-rows: 1fr;
    }

    .historia-becarixs-contenido > .historia-becarixs-grid {
        overflow: hidden;
        min-height: 0;
        padding: 0 1.5rem;
    }

    .historia-becarixs-toggle[aria-expanded="true"] + .historia-becarixs-contenido > .historia-becarixs-grid {
        padding: 0 1.5rem 1.5rem;
    }

    .historia-becarixs-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 1.2rem;
    }

    .historia-becarixs-grid .becarix-card {
        width: 100%;
        height: auto;
        display: block;
        cursor: pointer;
    }

    @media (max-width: 600px){
        .historia-becarixs-toggle {
            padding: 1rem 1.2rem;
        }

        .historia-becarixs-grid {
            grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
            gap: .8rem;
        }

        .historia-becarixs-contenido > .historia-becarixs-grid,
        .historia-becarixs-toggle[aria-expanded="true"] + .historia-becarixs-contenido > .historia-becarixs-grid {
            padding-left: 1.2rem;
            padding-right: 1.2rem;
        }
    }

    /* =====================================================
    12. MODALES
    ===================================================== */

    .modal-producto {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.7);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: .3s ease;
        z-index: 9999;
        padding: 1rem;
    }

    .modal-producto.activo {
        opacity: 1;
        visibility: visible;
    }

    .modal-ver-producto {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        margin-top: 1rem;
        padding: .5rem 1rem;
        border-radius: 999px;
        background: var(--amarillo);
        color: #111 !important;
        font-size: .85rem;
        font-weight: 700;
        text-decoration: none !important;
        transition: .2s ease;
    }

    .modal-ver-producto:hover {
        transform: scale(1.05);
    }

    .modal-contenido {
        width: min(700px, 90%);
        max-height: 88vh;
        overflow-y: auto;
        background: #00542c;
        border-radius: 20px;
        padding: 2rem;
        position: relative;
        animation: aparecerModal .3s ease;
        transition: background .3s ease;
    }

    .modal-contenido.tema-producto {
        background: linear-gradient(160deg, rgba(138,58,42), rgba(11,53,39));
    }

    .modal-contenido.tema-becarix {
        background: linear-gradient(160deg, rgba(0,142,120), rgba(11,53,39));
    }

    .modal-contenido h3 {
        color: var(--amarillo);
        margin-bottom: .8rem;
    }

    .modal-contenido p {
        color: #ffffff;
    }

    #modalTexto {
        text-align: justify;
    }

    .modal-contenido a {
        font-weight: bold;
        text-decoration: none;
    }

    .modal-body {
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    #modalImagen {
        display: block;
        width: 220px;
        max-width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: contain;
        border-radius: 12px;
        flex-shrink: 0;
        margin: 0 auto;
    }

    .modal-info {
        flex: 1 1 260px;
        min-width: 0;
    }

    .modal-edad {
        color: rgba(255,255,255,.6);
        font-size: .9rem;
        margin-top: .3rem;
    }

    .modal-eyebrow {
        display: none;
        font-family: var(--subtitulo);
        font-size: .7rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--amarillo);
        font-weight: 700;
        margin-bottom: .5rem;
    }

    .modal-eyebrow.visible {
        display: block;
    }

    .modal-chips {
        display: none;
        flex-wrap: wrap;
        gap: .6rem;
        margin-top: 1.2rem;
        padding-top: 1.1rem;
        border-top: 1px solid rgba(255,255,255,.15);
    }

    .modal-chips.visible {
        display: flex;
    }

    .modal-contenido.tema-producto .modal-body {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .modal-contenido.tema-producto #modalImagen {
        width: 200px;
        aspect-ratio: 4 / 5;
        height: auto;
        max-height: none;
        object-fit: cover;
        border: 3px solid var(--terracota, #8A3A2A);
        margin: 0;
    }

    .modal-contenido.tema-producto #modalImagen {
        width: auto;
        height: auto;
        max-width: 220px;
        max-height: 340px;
        aspect-ratio: auto;
        object-fit: contain;
        border: 3px solid var(--terracota, #8A3A2A);
        border-radius: 12px;
        margin: 0;
        align-self: flex-start;
    }

    .modal-linkedin {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        margin-top: 1rem;
        padding: .5rem 1rem;
        border-radius: 999px;
        background: var(--amarillo);
        color: #111 !important;
        font-size: .85rem;
        font-weight: 700;
        text-decoration: none !important;
        transition: .2s ease;
    }

    .modal-linkedin svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

    .modal-linkedin:hover {
        transform: scale(1.05);
    }

    .modal-linkedin:not([href]),
    .modal-linkedin[href=""] {
        display: none;
    }

    /* Botón cerrar */

    .cerrar-modal {
        position: absolute;
        top: 15px;
        right: 15px;
        border: none;
        background: none;
        font-size: 1.5rem;
        cursor: pointer;
        transition: .2s ease;
    }

    .cerrar-modal:hover {
        color: var(--rojo);
        transform: scale(1.1);
    }

    @media (max-width: 600px){

        .modal-producto {
            padding: .75rem;
            align-items: flex-start;
            padding-top: 6vh;
        }

        .modal-contenido {
            width: 100%;
            max-width: none;
            max-height: 88vh;
            padding: clamp(1.1rem, 5vw, 1.5rem) clamp(.9rem, 4vw, 1.25rem);
            border-radius: 18px;
        }

        .cerrar-modal {
            top: 10px;
            right: 12px;
            font-size: 1.3rem;
        }

        .modal-body,
    .modal-contenido.tema-producto .modal-body {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

        .modal-info {
            flex: 1 1 auto;
            width: 100%;
            min-width: 0;
        }

    #modalImagen,
    .modal-contenido.tema-producto #modalImagen {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 260px;
        aspect-ratio: auto;
        margin: 0 auto;
    }

        .modal-contenido h3 {
            font-size: 1.2rem;
        }

        .modal-eyebrow {
            font-size: .65rem;
        }

        .modal-edad {
            font-size: .85rem;
        }

        .modal-chips {
            justify-content: center;
            gap: .4rem;
        }

        .modal-linkedin {
            margin: 1rem auto 0;
        }

    }

    @media (max-width: 380px){

        #modalImagen,
        .modal-contenido.tema-producto #modalImagen {
            max-width: 170px;
            max-height: 200px;
        }

        .modal-contenido h3 {
            font-size: 1.05rem;
        }

    }

    /* =====================================================
    25. BOTÓN Y MODAL DE MAIL (navbar)
    ===================================================== */

    .btn-mail-navbar {
        flex-shrink: 0;
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.2);
        border-radius: 50%;
        cursor: pointer;
        transition: .25s ease;
    }

    .btn-mail-navbar svg {
        width: 20px;
        height: 20px;
        fill: white;
    }

    .btn-mail-navbar:hover {
        background: var(--rojo);
        border-color: var(--rojo);
        transform: scale(1.08);
    }

    .modal-contenido.tema-mail {
        background: linear-gradient(160deg, rgb(27, 114, 85), rgba(11,53,39));
    }

    .mail-direccion {
        color: rgba(255,255,255,.85);
        font-weight: 600;
        margin-bottom: 1.5rem;
    }

    .form-mail {
        display: flex;
        flex-direction: column;
        gap: 1.1rem;
    }

    .form-grupo {
        display: flex;
        flex-direction: column;
        gap: .4rem;
    }

    .form-grupo label {
        color: var(--amarillo);
        font-family: var(--subtitulo);
        font-weight: 700;
        font-size: .8rem;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .form-grupo input,
    .form-grupo textarea {
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.2);
        border-radius: 12px;
        padding: .8rem 1rem;
        color: white;
        font-family: var(--texto);
        font-size: .95rem;
        resize: vertical;
    }

    .form-grupo input:focus,
    .form-grupo textarea:focus {
        outline: none;
        border-color: var(--amarillo);
    }

    .form-grupo input::placeholder,
    .form-grupo textarea::placeholder {
        color: rgba(255,255,255,.4);
    }

    .form-mail button[type="submit"] {
        margin-top: .5rem;
        width: 100%;
        border: none;
    }

    @media (max-width: 600px){
        .btn-mail-navbar {
            width: 40px;
            height: 40px;
        }

        .btn-mail-navbar svg {
            width: 18px;
            height: 18px;
        }
    }

    .btn-carrito-navbar {
        text-decoration: none;
    }

    .navbar-iconos {
        display: flex;
        align-items: center;
        gap: .6rem;
        flex-shrink: 0;
    }

    .btn-carrito-navbar {
        text-decoration: none;
    }

    @media (max-width: 600px){
        .navbar-iconos {
            gap: .4rem;
        }
    }

    @media (max-width: 420px){
        .navbar-iconos {
            gap: .3rem;
        }
    }
    /* =====================================================
    26. PARTICIPAR — CARDS CON ÍCONO
    ===================================================== */

    #participar .colaborar-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    #participar .colaborar-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2.4rem 1.8rem 2rem;
    }

    .card-icono {
        width: 68px;
        height: 68px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
        border: 2px solid rgba(255,255,255,.15);
        margin-bottom: 1.3rem;
    }

    .card-icono svg {
        width: 32px;
        height: 32px;
    }

    .card-icono-verde {
        background: rgba(7, 173, 118, .15);
        border-color: rgb(7, 173, 118);
    }
    .card-icono-verde svg { fill: var(--verdemasclaro); }

    .card-icono-amarillo {
        background: rgba(211, 204, 6, .18);
        border-color: rgb(211, 204, 6);
    }
    .card-icono-amarillo svg { fill: var(--amarillo); }

    .card-icono-rosa {
        background: rgba(225, 96, 126, .15);
        border-color: rgba(225,96,126,.5);
    }
    .card-icono-rosa svg { fill: var(--rosa); }

    #participar .colaborar-card h3 {
        font-family: var(--titulo);
        font-weight: 400;
        font-size: clamp(1.5rem, 3.2vw, 2rem);
        letter-spacing: .01em;
        color: white;
        margin-bottom: .6rem;
        line-height: 1.1;
    }

    #participar .colaborar-card p {
        font-size: .92rem;
        line-height: 1.6;
        color: rgba(255,255,255,.8);
    }

    .tarjeta-eyebrow-rosa {
        color: var(--rosa);
    }

    /* --- Contacto rápido: ícono SVG en vez de emoji --- */

    .contacto-rapido svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
        flex-shrink: 0;
    }

    /* --- Mail: ícono en vez de emoji --- */

    .mail-direccion {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
    }

    .mail-direccion svg {
        width: 16px;
        height: 16px;
        fill: var(--amarillo);
        flex-shrink: 0;
    }

    /* =====================================================
    12.1 POPUP DE BIENVENIDA (imagen al abrir la página)
    ===================================================== */

    .modal-bienvenida {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.75);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: .3s ease;
        z-index: 10000;
        padding: 1rem;
    }

    .modal-bienvenida.activo {
        opacity: 1;
        visibility: visible;
    }

    .popup-imagen-contenedor {
        position: relative;
        display: flex;
        max-width: 100%;
        max-height: 100%;
        border-radius: 22px;
        overflow: hidden;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.15);
        box-shadow: 0 20px 50px rgba(0,0,0,.35);
        animation: aparecerModal .35s ease;
    }
    .popup-imagen-contenedor img {
        display: block;
        width: auto;
        height: auto;
        min-width: 0;
        min-height: 0;
        max-width: min(520px, calc(var(--ancho-real, 100vw) - 2rem));
        max-height: calc(var(--alto-real, 100vh) - 2rem);
        object-fit: contain;
    }
    .popup-cerrar {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: none;
        background: rgba(0,0,0,.45);
        color: white;
        font-size: 1rem;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(4px);
        transition: .2s ease;
        z-index: 2;
    }

    .popup-cerrar:hover {
        background: var(--rojo);
        transform: scale(1.1);
    }

    /* =====================================================
    13. INSTAGRAM / NOVEDADES
    ===================================================== */

    .novedades-carousel {
        position: relative;
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-top: 2.5rem;
    }

    .novedades-track {
        display: flex;
        gap: 2rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .novedades-track::-webkit-scrollbar {
        display: none;
    }

    .novedad-item {
        flex: 0 0 calc((100% - 4rem) / 3);
        max-width: calc((100% - 4rem) / 3);
        min-width: 0;
        display: flex;
        justify-content: center;
        scroll-snap-align: start;
    }

    .novedades-flecha {
        flex: none;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,.25);
        background: rgba(0,0,0,.25);
        color: white;
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: .25s ease;
        backdrop-filter: blur(6px);
    }

    .novedades-flecha:hover {
        background: var(--rojo);
        border-color: var(--rojo);
        transform: scale(1.08);
    }

    .novedades-flecha:disabled {
        opacity: .35;
        cursor: default;
        transform: none;
        background: rgba(0,0,0,.25);
        border-color: rgba(255,255,255,.25);
    }

    /* --- Tarjetas de novedades --- */

    .novedades-track {
        padding: 12px 4px 28px;
    }

    .noticia-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 22px;
        overflow: hidden;
        text-decoration: none;
        box-shadow: 0 12px 30px rgba(0,0,0,.18);
        backdrop-filter: blur(8px);
        transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    }

    .noticia-card:hover {
        transform: translateY(-6px);
        border-color: rgba(255,252,153,.45);
        box-shadow: 0 18px 40px rgba(0,0,0,.28);
    }

    .noticia-info {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 1.2rem 1.3rem 1.3rem;
        min-width: 0;
    }

    .noticia-fecha {
        color: var(--amarillo);
        font-size: .75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .05em;
    }

    .noticia-info h3 {
        color: white;
        font-family: var(--subtitulo);
        font-size: 1.05rem;
        margin: .5rem 0;
        overflow-wrap: break-word;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .noticia-info p {
        color: rgba(255,255,255,.75);
        font-size: .9rem;
        line-height: 1.5;
        overflow-wrap: break-word;
        display: -webkit-box;
        line-clamp: 3;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .noticia-link {
        margin-top: auto;
        padding-top: 1rem;
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        color: var(--amarillo);
        font-family: var(--subtitulo);
        font-weight: 700;
        font-size: .82rem;
    }

    .noticia-link span {
        transition: transform .25s ease;
    }

    .noticia-card:hover .noticia-link span {
        transform: translateX(4px);
    }

    /* --- Puntitos indicadores --- */

    .novedades-dots {
        display: flex;
        justify-content: center;
        gap: .5rem;
        margin-top: .4rem;
    }

    .novedades-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: none;
        border-radius: 999px;
        background: rgba(255,255,255,.3);
        cursor: pointer;
        transition: .3s ease;
    }

    .novedades-dot:hover {
        background: rgba(255,255,255,.55);
    }

    .novedades-dot.activo {
        width: 26px;
        background: var(--amarillo);
    }

    /* --- Publicaciones de Instagram embebidas --- */

    .novedad-embed {
        width: 100%;
        max-width: 340px;
        height: 540px;
        border-radius: 22px;
        overflow: hidden;
        background: #fff;
        border: 1px solid rgba(255,255,255,.14);
        box-shadow: 0 12px 30px rgba(0,0,0,.18);
        transition: transform .3s ease, box-shadow .3s ease;
    }

    .novedad-embed:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,.28);
    }

    .novedad-embed iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

    @media (max-width: 900px){
        .novedad-item {
            flex: 0 0 calc((100% - 2rem) / 2);
            max-width: calc((100% - 2rem) / 2);
        }
    }

    @media (max-width: 640px){
        .novedad-item {
            flex: 0 0 88%;
            max-width: 88%;
        }

        .novedades-track {
            gap: 1rem;
            scroll-padding-left: 6%;
        }

        .novedades-carousel {
            gap: .6rem;
            margin-top: 1.75rem;
        }

        .novedades-flecha {
            width: 38px;
            height: 38px;
            font-size: 1rem;
        }
    }

    /* =====================================================
    14. PRODUCTOS
    ===================================================== */

    .productos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 260px));
        justify-content: center;
        gap: 2rem;
        margin-top: 2rem;
    }

    .producto-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: rgba(138, 58, 42, .32);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 20px;
        padding: 1rem;
        text-align: center;
        cursor: pointer;
        transition: .3s ease;
        backdrop-filter: blur(8px);
    }

    .producto-card:hover {
        transform: translateY(-8px);
        background: rgba(138, 58, 42, .46);
    }

    .producto-card img {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 5;
        height: auto;
        max-height: none;
        object-fit: contain;
        margin-bottom: 1rem;
    }

    .producto-card h3 {
        color: white;
        font-family: var(--subtitulo);
    }

    .impacto-productos-card {
        margin: 1rem 0 3rem;
        padding: clamp(2rem, 5vw, 3rem);
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 28px;
        backdrop-filter: blur(8px);
        text-align: center;
        box-shadow: 0 15px 40px rgba(0,0,0,.18);
    }

    .impacto-productos-card h3 {
        color: white;
        font-family: var(--subtitulo);
        font-size: clamp(1.4rem, 3vw, 1.8rem);
        margin-bottom: 1rem;
    }

    .impacto-productos-card p {
        max-width: 900px;
        margin: 0 auto 1rem;
        text-align: justify;
    }

    /* =====================================================
    14.01 PRODUCTOS
    ===================================================== */
    .productos-detalle-lista {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin-top: 2rem;
    }

    .producto-detalle {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 2rem;
        align-items: start;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 24px;
        padding: clamp(1.5rem, 4vw, 2.2rem);
        backdrop-filter: blur(8px);
    }

    .producto-detalle img {
        width: 100%;
        border-radius: 16px;
        object-fit: cover;
        aspect-ratio: 3 / 4;
    }

    .producto-detalle-info h3 {
        color: var(--amarillo);
        font-family: var(--subtitulo);
        font-size: 1.4rem;
        margin-bottom: .6rem;
    }

    .producto-detalle-info > p {
        margin-bottom: 1rem;
    }

    .producto-chips {
        display: flex;
        flex-wrap: wrap;
        gap: .6rem;
        margin-bottom: 1.3rem;
    }

    .producto-chip {
        display: flex;
        flex-direction: column;
        gap: .15rem;
        background: rgba(0,0,0,.18);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 10px;
        padding: .5rem .8rem;
    }

    .producto-chip span:first-child {
        font-family: var(--subtitulo);
        font-size: .62rem;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: rgba(255,255,255,.55);
    }

    .producto-chip span:last-child {
        font-family: var(--subtitulo);
        font-weight: 700;
        font-size: .85rem;
        color: var(--amarillo);
    }

    .producto-como {
        margin-top: .9rem;
    }

    .producto-como h4 {
        color: white;
        font-family: var(--subtitulo);
        font-size: .95rem;
        margin-bottom: .3rem;
    }

    .producto-como p {
        font-size: .92rem;
        color: rgba(255,255,255,.8);
    }

    @media (max-width: 700px){
        .producto-detalle {
            grid-template-columns: 1fr;
        }

        .producto-detalle img {
            aspect-ratio: 3 / 4;
            max-width: 320px;
            margin: 0 auto;
        }
    }

    /* =====================================================
    15. EJES / DATOS
    ===================================================== */

    .ejes-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 2rem;
        align-items: stretch;
    }

    .eje-card {
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        border-top: 3px solid rgba(255,255,255,.3);
        border-radius: 20px;
        padding: clamp(1.25rem, 4vw, 2rem);
        text-align: center;
        backdrop-filter: blur(8px);
        transition: .3s ease;
    }

    .eje-card:hover {
        transform: translateY(-6px);
    }

    .eje-rojo { border-top-color: var(--rojo); }
    .eje-verde { border-top-color: var(--verdemasclaro); }
    .eje-amarillo { border-top-color: var(--amarillo); }

    .eje-card h3 {
        color: var(--blanco);
        margin-bottom: 1.5rem;
        text-align: center;
        font-family: var(--subtitulo);
    }

    .eje-datos {
        display: flex;
        flex-direction: column;
        gap: .8rem;
    }

    .dato {
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: .8rem;
        text-align: center;
        transition: .3s ease;
    }

    .dato:hover {
        transform: translateY(-3px);
        background: rgba(255,255,255,.08);
    }

    .dato strong {
        display: block;
        font-family: var(--subtitulo);
        font-size: 2rem;
        color: var(--amarillo);
        line-height: 1;
        margin-bottom: .4rem;
    }

    .dato span {
        color: white;
        font-size: .95rem;
        line-height: 1.3;
    }

    /* =====================================================
    16. COLABORAR
    ===================================================== */

    .cta-colaborar-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        background: linear-gradient(160deg, rgba(211,204,6,.14), rgba(255,255,255,.05));
        border: 1px solid rgba(211,204,6,.35);
        border-radius: 28px;
        padding: clamp(1.8rem, 4vw, 3rem);
        box-shadow: 0 20px 50px rgba(0,0,0,.25);
    }

    .cta-colaborar-texto h2 {
        font-family: var(--subtitulo);
        color: rgb(252, 249, 249);
        font-size: clamp(1.5rem, 3.5vw, 2.2rem);
        margin-bottom: .6rem;
        line-height: 1.15;
    }

    .cta-colaborar-texto p {
        max-width: 560px;
        color: rgba(255,255,255,.8);
        line-height: 1.7;
        text-align: justify;
    }

    .cta-colaborar-btn {
        flex-shrink: 0;
        margin-top: 0;
        white-space: nowrap;
    }

    @media (max-width: 720px){
        .cta-colaborar-card {
            flex-direction: column;
            text-align: center;
        }

        .cta-colaborar-texto p {
            margin: 0 auto;
        }
    }

    .colaborar-bienvenida {
        position: relative;
        max-width: 900px;
        margin: 0 auto 3rem;
        text-align: center;
        padding: 3rem clamp(1.5rem, 5vw, 4rem);
        background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 28px;
        backdrop-filter: blur(10px);
        box-shadow: 0 15px 40px rgba(0,0,0,.2);
        overflow: hidden;
    }

    .colaborar-bienvenida::before {
        content: "“";
        position: absolute;
        top: -2.5rem;
        left: 50%;
        transform: translateX(-50%);
        font-size: 11rem;
        color: rgba(255,255,255,.08);
        font-family: serif;
        line-height: 1;
        pointer-events: none;
    }

    .colaborar-eyebrow {
        position: relative;
        display: inline-block;
        color: var(--amarillo);
        font-family: var(--subtitulo);
        font-weight: 700;
        font-size: .8rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        margin-bottom: .8rem;
    }

    .colaborar-bienvenida h1 {
    color: white;
        font-family: var(--subtitulo);
        font-size: clamp(1.4rem, 3vw, 1.8rem);
        margin-bottom: 1rem;
    }

    .colaborar-bienvenida p {
        position: relative;
        font-size: clamp(1rem, 1.6vw, 1.15rem);
        line-height: 1.9;
        max-width: 750px;
        margin: 0 auto;
        color: rgba(255,255,255,.85);
        text-align: justify;
    }

    .tarjeta-eyebrow {
        display: inline-block;
        color: var(--amarillo);
        font-family: var(--subtitulo);
        font-weight: 700;
        font-size: .72rem;
        letter-spacing: .09em;
        text-transform: uppercase;
        margin-bottom: .7rem;
    }

    .tarjeta-eyebrow-verde {
        color: var(--verdemasclaro);
    }

    .colaborar-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }

    .colaborar-card {
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 20px;
        padding: 2rem;
        text-align: center;
        backdrop-filter: blur(8px);
        transition: .3s ease;
    }

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

    .colaborar-card h3 {
        color: white;
        margin-bottom: 1rem;
    }

    .colaborar-card p {
        margin-bottom: 1.5rem;
        text-align: justify;
    }

    .btn-colaborar {
        display: inline-block;
        margin-top: 1.5rem;
        padding: 1rem 2rem;
        border: none;
        border-radius: 999px;
        background: var(--amarillo);
        color: #111;
        text-decoration: none;
        font-weight: 700;
        cursor: pointer;
        transition: .3s ease;
    }

    .btn-colaborar:hover {
        transform: translateY(-3px) scale(1.05);
    }

    /* --- Beneficiarios --- */

    .btn-colaborar-verde {
        background: var(--verdemasclaro);
        color: white;
    }

    .becadxs-botones {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* =====================================================
    17. PEDIDO
    ===================================================== */

    .pedido-card {
        margin-top: 2.5rem;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 28px;
        padding: clamp(2rem, 5vw, 3rem);
        text-align: center;
        backdrop-filter: blur(8px);
        box-shadow: 0 15px 40px rgba(0,0,0,.18);
    }

    .pedido-card h3 {
        text-align: center;
        color: white;
        font-family: var(--subtitulo);
        font-size: clamp(1.4rem, 3vw, 1.8rem);
        margin-bottom: 2rem;
    }

    .pedido-card p {
        text-align: justify;
    }

    .pedido-pasos {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.2rem;
        margin: 2rem 0;
    }

    .paso {
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 18px;
        padding: 1.4rem 1rem;
        text-align: center;
        color: white;
        font-family: var(--subtitulo);
        font-weight: 600;
        font-size: .92rem;
        transition: .3s ease;
    }

    .paso:hover {
        background: rgba(255,255,255,.09);
        transform: translateY(-3px);
    }

    .paso span {
        display: flex;
        width: 42px;
        height: 42px;
        margin: 0 auto .9rem;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--amarillo);
        color: black;
        font-family: var(--titulo);
        font-size: 1.1rem;
    }

    .contacto-rapido {
        display: flex;
        justify-content: center;
        gap: 1.2rem;
        flex-wrap: wrap;
        margin-top: 2.2rem;
        margin-bottom: 2rem;
    }

    .contacto-rapido a {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        color: white;
        text-decoration: none;
        background: rgba(255,255,255,.07);
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 999px;
        padding: .7rem 1.3rem;
        font-size: .92rem;
        font-weight: 600;
        transition: .25s ease;
    }

    .contacto-rapido a:hover {
        background: rgba(255,255,255,.13);
        transform: translateY(-2px);
    }

    /* =====================================================
    CUENTA REGRESIVA — Becadxs
    ===================================================== */

    .countdown-becadxs {
        margin: 1.8rem 0;
    }

    .countdown-label {
        color: white;
        font-family: var(--subtitulo);
        font-weight: 600;
        font-size: .85rem;
        margin-bottom: .9rem;
        text-transform: uppercase;
        letter-spacing: .04em;
        text-align: center;
    }

    .countdown-numeros {
        display: flex;
        justify-content: center;
        gap: .8rem;
        flex-wrap: wrap;
    }

    .countdown-bloque {
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 14px;
        padding: .9rem 1rem;
        min-width: 70px;
        text-align: center;
    }

    .countdown-bloque span {
        display: block;
        font-family: var(--titulo);
        font-size: 1.8rem;
        color: var(--amarillo);
        line-height: 1;
        font-variant-numeric: tabular-nums;
    }

    .countdown-bloque small {
        display: block;
        margin-top: .3rem;
        color: rgba(255,255,255,.7);
        font-size: .65rem;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .becadxs-link-oculto {
        display: none;
    }

    /* =====================================================
    18. TARJETAS DE INFO / ÍCONOS
    ===================================================== */

    .info-card {
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 20px;
        padding: 2rem;
        backdrop-filter: blur(8px);
        transition: .3s ease;
    }

    .info-card:hover {
        transform: translateY(-5px);
        background: rgba(255,255,255,.1);
    }

    .info-card h3 {
        color: white;
        margin-bottom: .8rem;
        font-family: var(--subtitulo);
    }

    .icono-svg {
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
        border: 2px solid rgba(255,255,255,.15);
    }

    .info-card-amarillo .icono-svg {
        border-color: rgba(211,204,6,.5);
    }

    .info-card-amarillo .icono-svg svg {
        fill: var(--amarillo);
    }

    .info-card-verde .icono-svg {
        border-color: rgba(7,173,118,.5);
    }

    .info-card-verde .icono-svg svg {
        fill: var(--verdemasclaro);
    }

    .icono-svg svg,
    .valor-card svg {
        width: 30px;
        height: 30px;
        fill: var(--amarillo);
        flex-shrink: 0;
    }

    /* =====================================================
    19. QUIÉNES SOMOS
    ===================================================== */

    .quienes-bienvenida {
        position: relative;
        max-width: 900px;
        margin: 0 auto 1rem;
        text-align: center;
        padding: 3rem clamp(1.5rem, 5vw, 4rem);
        background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 28px;
        backdrop-filter: blur(10px);
        box-shadow: 0 15px 40px rgba(0,0,0,.2);
        overflow: hidden;
    }

    .quienes-bienvenida::before {
        content: "“";
        position: absolute;
        top: -2.5rem;
        left: 50%;
        transform: translateX(-50%);
        font-size: 11rem;
        color: rgba(255,255,255,.08);
        font-family: serif;
        line-height: 1;
        pointer-events: none;
    }

    .quienes-bienvenida h2 {
        position: relative;
        color: var(--amarillo);
        margin-bottom: 1.2rem;
        font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    }

    .quienes-bienvenida p {
        position: relative;
        font-size: clamp(1rem, 1.6vw, 1.15rem);
        line-height: 1.9;
        max-width: 750px;
        margin: 0 auto;
        text-align: justify;
    }

    .quienes-card {
        margin-top: 2rem;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 24px;
        padding: 2.5rem;
        backdrop-filter: blur(8px);
        text-align: center;
    }

    .quienes-card h3 {
        color: var(--amarillo);
        margin-bottom: 1rem;
    }

    .quienes-card p {
        text-align: justify;
    }

    /* --- Historia --- */

    .historia-card {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 2.5rem;
        align-items: center;
        margin-top: 2rem;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 24px;
        padding: clamp(1.5rem, 4vw, 2.5rem);
        backdrop-filter: blur(8px);
    }

    .historia-texto h3 {
        color: var(--amarillo);
        margin-bottom: 1rem;
        font-family: var(--subtitulo);
    }

    .historia-texto p {
        margin-bottom: 1rem;
    }

    .historia-numeros {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }

    .hito {
        padding: 1rem;
        border-radius: 14px;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.08);
        text-align: center;
    }

    .hito:hover {
        transform: translateY(-4px);
        background: rgba(255,255,255,.1);
    }

    .hito span {
        display: block;
        font-family: var(--titulo);
        color: var(--amarillo);
        font-size: 1.8rem;
        margin-bottom: .3rem;
    }

    .hito p {
        color: white;
        margin: 0;
    }

    /* --- Misión y visión --- */

    .mision-vision-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }

    .mv-card {
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 24px;
        padding: 2rem;
        backdrop-filter: blur(8px);
        transition: .3s ease;
    }

    .mv-card:hover {
        transform: translateY(-6px);
        background: rgba(255,255,255,.1);
    }

    .mv-card h3 {
        color: var(--amarillo);
        margin-bottom: 1rem;
    }

    /* --- Valores --- */

    .valores-titulo {
        text-align: center;
        margin-top: 4rem;
        margin-bottom: 2rem;
        color: var(--amarillo);
        font-size: clamp(1.5rem, 3vw, 2.2rem);
        font-family: var(--subtitulo);
    }

    .valores-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .valor-card {
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        border-top: 3px solid rgba(255,255,255,.3);
        border-radius: 24px;
        padding: clamp(1.25rem, 4vw, 2rem);
        text-align: center;
        backdrop-filter: blur(8px);
        transition: .3s ease;
    }

    .valor-rojo { border-top-color: var(--rojo); }
    .valor-amarillo { border-top-color: var(--amarillo); }
    .valor-verde { border-top-color: var(--verdemasclaro); }

    .valor-rosa { border-top-color: var(--rosa); }

    .valor-rojo svg { fill: var(--rojo); }
    .valor-amarillo svg { fill: var(--amarillo); }
    .valor-verde svg { fill: var(--verdemasclaro); }

    .valor-rosa svg { fill: var(--rosa); }

    .valor-card:hover {
        transform: translateY(-8px);
        background: rgba(255,255,255,.12);
    }

    .valor-card span {
        display: block;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .valor-card h4 {
        color: white;
        margin-bottom: .8rem;
        font-family: var(--subtitulo);
    }

    .valor-card p {
        margin: 0;
        text-align: justify;
    }

    /* --- Informe de gestión (programa.html) --- */

    .logros-eyebrow {
        display: block;
        text-align: center;
        margin-bottom: .6rem;
    }

    #logros h2 {
        text-align: center;
    }

    .logros-intro {
        max-width: 700px;
        margin: 0 auto 3rem;
        text-align: left;
        color: rgba(255,255,255,.8);
    }

    /* =====================================================
    20. RESPONSIVE
    ===================================================== */

    @media (max-width: 900px){
        .hero {
            aspect-ratio: unset;
            height: auto;
            min-height: 520px;
            max-height: none;
        }
    }

    @media (max-width: 640px){
        .hero {
            min-height: 420px;
        }

        .hero-overlay {
            padding: 1rem;
        }

        .logo-hero-principal {
            width: clamp(64px, 18vw, 90px);
            margin-bottom: .3rem;
        }

        .hero h2 {
            font-size: clamp(.78rem, 3.6vw, .92rem);
            line-height: 1.35;
            max-width: 280px;
            margin: 0 auto .5rem;
        }

        .impacto {
            grid-template-columns: repeat(2, 1fr);
            gap: 1.6rem 1rem;
        }

        .contador {
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 0;
        }

        .contador-icono {
            margin-bottom: .35rem;
        }

        .contador-icono svg {
            width: clamp(16px, 4.5vw, 22px);
            height: clamp(16px, 4.5vw, 22px);
        }

        .numero {
            min-width: 0;
            max-width: 100%;
            font-size: clamp(1.05rem, 5vw, 1.6rem);
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        .contador p {
            font-size: clamp(.6rem, 2.3vw, .72rem);
            margin-top: .35rem;
            letter-spacing: .01em;
            line-height: 1.3;
        }

        .btn-principal {
            margin-top: .6rem;
            padding: .55rem 1.3rem;
            font-size: .8rem;
        }
    }

    @media (max-width: 420px){
        /* En celus muy angostos, 2 columnas ya aprietan demasiado el texto:
        pasamos a 1 sola columna con las cifras alineadas a la izquierda,
        así cada dato tiene todo el ancho para el label y no se corta. */
        .impacto {
            grid-template-columns: 1fr;
            gap: .7rem;
            max-width: 280px;
            margin: 0 auto;
        }

        .contador {
            display: flex;
            align-items: center;
            gap: .8rem;
            text-align: left;
        }

        .contador-icono {
            margin-bottom: 0;
            flex-shrink: 0;
        }

        .numero {
            font-size: 1.5rem;
        }

        .contador p {
            font-size: .7rem;
            margin-top: 0;
        }
    }

    @media (max-width: 380px){
        .hero {
            min-height: 380px;
        }
    }

    @media (max-width: 1085px){
        .logo-unq {
            display: none;
        }

        .menu-toggle {
            display: block;
            color: rgba(255,255,255,.95);
            transition: .3s ease;
        }

        .navbar {
            position: relative;
            z-index: 2;
        }

        .nav-links {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            padding: 1rem;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            background: rgba(27,135,99,.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 8px 20px rgba(0,0,0,.12);
            display: flex;
            opacity: 0;
            transform: translateY(-20px);
            pointer-events: none;
            transition: opacity .35s ease, transform .35s ease;
            max-height: 85vh;
            overflow-y: auto;
        }

        .nav-links.active {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .nav-links a {
            color: white;
        }

        .nav-links > li {
            opacity: 0;
            transform: translateY(-10px);
            transition: opacity .3s ease, transform .3s ease;
            width: 100%;
            text-align: center;
        }

        .nav-links.active > li {
            opacity: 1;
            transform: translateY(0);
        }

        .nav-links.active > li:nth-child(1) { transition-delay: .05s; }
        .nav-links.active > li:nth-child(2) { transition-delay: .10s; }
        .nav-links.active > li:nth-child(3) { transition-delay: .15s; }
        .nav-links.active > li:nth-child(4) { transition-delay: .20s; }
        .nav-links.active > li:nth-child(5) { transition-delay: .25s; }
        .nav-links.active > li:nth-child(6) { transition-delay: .30s; }

        .submenu {
            position: static;
            transform: translateY(-10px);
            opacity: 0;
            visibility: hidden;
            max-height: 0;
            overflow: hidden;
            padding: 0 .8rem;
            margin-top: 0;
            background: linear-gradient(180deg, rgba(0,84,44,.75), rgba(0,84,44,.88));
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border: 1px solid rgba(0, 0, 0, 0.103);
            border-radius: 14px;
            transition: max-height .35s ease, opacity .3s ease,
                        padding .35s ease, margin .35s ease, transform .35s ease;
            box-shadow: 0 10px 25px rgba(0,0,0,.2);
            width: 100%;
            max-width: none;
        }

        .dropdown:hover .submenu,
        .dropdown.abierto .submenu {
            max-height: 320px;
            padding: .8rem;
            margin-top: .6rem;
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* Flecha del padre rota al abrir el submenu por tap */
        .dropdown.abierto > a::after {
            transform: rotate(180deg);
        }

        /* Ítems del submenu: fade + slide propio, escalonado, para que
        se sienta tan cuidado como la apertura del menú principal. */
        .submenu li {
            width: 100%;
            text-align: center;
            opacity: 0;
            transform: translateY(-6px);
            transition: opacity .25s ease, transform .25s ease;
        }

        .dropdown:hover .submenu li,
        .dropdown.abierto .submenu li {
            opacity: 1;
            transform: translateY(0);
        }

        .dropdown.abierto .submenu li:nth-child(1),
        .dropdown:hover .submenu li:nth-child(1) { transition-delay: .05s; }
        .dropdown.abierto .submenu li:nth-child(2),
        .dropdown:hover .submenu li:nth-child(2) { transition-delay: .10s; }
        .dropdown.abierto .submenu li:nth-child(3),
        .dropdown:hover .submenu li:nth-child(3) { transition-delay: .15s; }

        .submenu a {
            text-align: center;
        }

    }

    @media (max-width: 900px){
        .historia-card {
            grid-template-columns: 1fr;
        }

        .mision-vision-grid {
            grid-template-columns: 1fr;
        }

        .pedido-pasos {
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        }

        .impacto {
            grid-template-columns: repeat(2, 1fr);
            gap: 1.25rem;
        }

    }

    @media (max-width: 600px){
        .pedido-pasos {
            grid-template-columns: 1fr;
        }

        .contenido h2 {
            margin-bottom: .8rem;
        }

        .info-card {
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 1rem;
            padding: 1.5rem;
        }

        .info-card p {
            text-align: justify;
        }

        .ejes-grid,
        .valores-grid,
        .mision-vision-grid,
        .colaborar-grid {
            gap: 1.25rem;
        }

        .quienes-bienvenida,
        .colaborar-bienvenida {
            padding: 2rem 1.25rem;
            border-radius: 20px;
        }

        .quienes-bienvenida::before,
        .colaborar-bienvenida::before {
            font-size: 7rem;
            top: -1.6rem;
        }

        .historia-card,
.quienes-card,
.mv-card,
.pedido-card {
            padding: 1.5rem;
            border-radius: 20px;
        }

    }

    @media (max-width: 420px){
        .navbar {
            padding: .85rem 1rem;
            gap: 1rem;
        }

        .menu-toggle {
            font-size: 1.7rem;
        }

        .btn-principal,
        .btn-colaborar {
            padding: .85rem 1.5rem;
            font-size: .92rem;
        }

        .flecha-navegacion,
        .novedades-flecha {
            width: 38px;
            height: 38px;
            font-size: .95rem;
        }

    }

    @media (max-width: 374px){

        .becarixs-marquee {
            mask-image: none;
            -webkit-mask-image: none;
        }

        .becarixs-track {
            gap: .5rem;
        }

        .becarix-card {
            padding: 5px;
            border-radius: 10px;
        }

        .flecha-navegacion {
            width: 30px;
            height: 30px;
            font-size: .75rem;
        }
    }

    /* =====================================================
    21. TÍTULO + BOTÓN
    ===================================================== */

    .titulo-con-boton {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .titulo-con-boton h2 {
        margin-bottom: 0;
    }

    .btn-secundario-titulo {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        padding: .6rem 1.2rem;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,.35);
        background: rgba(255,255,255,.06);
        color: white;
        text-decoration: none;
        font-family: var(--subtitulo);
        font-weight: 600;
        font-size: .85rem;
        white-space: nowrap;
        backdrop-filter: blur(6px);
        transition: .25s ease;
    }

    .btn-secundario-titulo:hover {
        background: var(--amarillo);
        border-color: var(--amarillo);
        color: #111;
        transform: translateY(-2px);
    }

    @media (max-width: 480px){
        .btn-secundario-titulo {
            font-size: .78rem;
            padding: .55rem 1rem;
        }
    }

    /* =====================================================
    22. COLABORADORES (logos)
    ===================================================== */

    .colaboradores-marquee {
        width: 100%;
        overflow: hidden;
        position: relative;
        margin-top: 0;
        padding: 1rem 0;
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .colaboradores-track {
        display: flex;
        gap: 1.5rem;
        width: max-content;
        will-change: transform;
    }

    .colaborador-card {
        width: clamp(120px, 26vw, 190px);
        height: clamp(120px, 26vw, 190px);
        flex-shrink: 0;
        position: relative;
        z-index: 1;
        object-fit: contain;
        background: rgba(0, 142, 120, .28);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 18px;
        padding: .5rem;
        cursor: pointer;
        transition: .3s ease;
    }

    .colaborador-card:hover {
        transform: translateY(-4px) scale(1.03);
        background: rgba(0, 142, 120, .42);
        z-index: 10;
        box-shadow: 0 12px 28px rgba(0,0,0,.25);
    }

    .modal-contenido.tema-colaborador {
        background: linear-gradient(160deg, rgb(0, 110, 106), rgba(11,53,39));
    }

    .modal-contenido.tema-colaborador .modal-body {
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .modal-contenido.tema-colaborador #modalImagen {
        width: 200px;
        height: 200px;
        max-height: none;
        object-fit: contain;
        background: transparent;
        border-radius: 16px;
        padding: 0;
        margin: 0;
    }

    @media (max-width: 640px){
        .colaboradores-marquee {
            mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
        }

        .colaboradores-track {
            gap: 1rem;
        }

        .colaborador-card {
            padding: .4rem;
            border-radius: 14px;
        }
    }

    @media (max-width: 600px){
        .modal-contenido.tema-colaborador .modal-body {
            flex-direction: column;
            flex-wrap: wrap;
            align-items: center;
            text-align: center;
        }

        .modal-contenido.tema-colaborador #modalImagen {
            width: 160px;
            height: 160px;
            max-width: 160px;
        }
    }

    /* =====================================================
    23. PREGUNTAS FRECUENTES (FAQ)
    ===================================================== */

    .faq-lista {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: .7rem 1.5rem;
        margin-top: 1.5rem;
    }

    .faq-item {
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 16px;
        overflow: hidden;
        backdrop-filter: blur(8px);
        transition: background .3s ease, border-color .3s ease;
    }

    .faq-item:has(.faq-pregunta[aria-expanded="true"]) {
        background: rgba(255,255,255,.12);
        border-color: rgba(255,252,153,.35);
    }

    .faq-pregunta {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .8rem;
        padding: .9rem 1.2rem;
        background: none;
        border: none;
        cursor: pointer;
        text-align: left;
        color: white;
        font-family: var(--subtitulo);
        font-weight: 700;
        font-size: .92rem;
    }

    .faq-pregunta span:first-child {
        flex: 1;
    }

    .faq-icono {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: rgba(255,255,255,.1);
        color: var(--amarillo);
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1;
        transition: transform .3s ease, background .3s ease;
    }

    .faq-pregunta[aria-expanded="true"] .faq-icono {
        transform: rotate(135deg);
        background: var(--amarillo);
        color: #111;
    }

    .faq-respuesta {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows .35s ease;
    }

    .faq-respuesta > p {
        overflow: hidden;
        min-height: 0;
        padding: 0 1.2rem;
        color: rgba(255,255,255,.85);
        font-size: .87rem;
        line-height: 1.55;
    }

    .faq-pregunta[aria-expanded="true"] + .faq-respuesta {
        grid-template-rows: 1fr;
    }

    .faq-pregunta[aria-expanded="true"] + .faq-respuesta > p {
        padding: 0 1.2rem 1.05rem;
    }

    @media (max-width: 700px){
        .faq-lista {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 600px){
        .faq-pregunta {
            padding: .85rem 1rem;
            font-size: .88rem;
        }

        .faq-pregunta[aria-expanded="true"] + .faq-respuesta > p {
            padding: 0 1rem 1rem;
        }

        .faq-respuesta > p {
            padding: 0 1rem;
            font-size: .87rem;
        }
    }

    /* =====================================================
    24. MAPA MUNDIAL (Historia y Gestión)
    ===================================================== */
    .btn-ver-mapa {
        margin-top: 1.5rem;
    }

    .modal-mapa-contenido {
        width: min(900px, 92%);
        max-height: 88vh;
        overflow-y: auto;
        background: linear-gradient(160deg, rgb(0, 84, 43), rgba(11,53,39,.95));
        border-radius: 24px;
        padding: 2rem clamp(1.2rem, 4vw, 2.5rem);
        position: relative;
        animation: aparecerModal .3s ease;
    }

    .modal-mapa-contenido h3 {
        color: var(--amarillo);
        text-align: center;
        margin-bottom: .4rem;
    }

    .mapa-subtitulo {
        text-align: center;
        color: rgb(255, 255, 255);
        font-size: .9rem;
        margin-bottom: 1.5rem;
    }

    .mapa-mundo-contenedor {
        position: relative;
        width: 100%;
        background: rgba(0, 0, 0, 0.055);
        border: 1px solid rgba(255, 255, 255, 0.075);
        border-radius: 16px;
        overflow: hidden;
    }

    .mapa-mundo-imagen {
        width: 100%;
        display: block;
        opacity: .9;
    }

    .mapa-pin {
        position: absolute;
        width: 14px;
        height: 14px;
        margin-left: -7px;
        margin-top: -7px;
        border-radius: 50%;
        background: var(--rojo);
        border: 2px solid white;
        cursor: pointer;
        animation: pulsoPin 2s infinite;
        z-index: 2;
    }

    .mapa-pin:hover {
        animation: none;
        transform: scale(1.3);
        z-index: 3;
    }

    @keyframes pulsoPin {
        0%   { box-shadow: 0 0 0 0 rgba(211, 42, 75, .6); }
        70%  { box-shadow: 0 0 0 10px rgba(211, 42, 75, 0); }
        100% { box-shadow: 0 0 0 0 rgba(211, 42, 75, 0); }
    }

    .mapa-pin-tooltip {
        position: absolute;
        bottom: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%) translateY(4px);
        background: rgba(0,0,0,.9);
        color: white;
        font-family: var(--subtitulo);
        font-size: .78rem;
        white-space: nowrap;
        padding: .5rem .8rem;
        border-radius: 10px;
        opacity: 0;
        pointer-events: none;
        transition: .2s ease;
        text-align: left;
    }

    .mapa-pin:hover .mapa-pin-tooltip {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .mapa-pin-tooltip .tooltip-titulo {
        display: block;
        font-weight: 700;
        font-size: .68rem;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: var(--amarillo);
        margin-bottom: .3rem;
    }

    .mapa-pin-tooltip ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: .2rem;
    }

    .mapa-pin-tooltip li {
        font-weight: 600;
    }

    @media (max-width: 600px){
        .mapa-pin-tooltip {
            font-size: .7rem;
            padding: .4rem .65rem;
        }
    }

    .botones-mapa {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .botones-mapa .btn-ver-mapa {
        margin-top: 0;
    }

    /* Decorativas: sin movimiento, solo leve cambio de fondo */
    .info-card:hover { transform: none; background: rgba(255,255,255,.1); }
    .valor-card:hover { transform: none; background: rgba(255,255,255,.12); }
    .eje-card:hover { transform: none; }
    .dato:hover { transform: none; background: rgba(255,255,255,.08); }
    .hito:hover { transform: none; background: rgba(255,255,255,.1); }
    .paso:hover { transform: none; background: rgba(255,255,255,.09); }
    .mv-card:hover { transform: none; background: rgba(255,255,255,.1); }

    /* Clickeables: reforzamos el lift + cursor para que se note la diferencia */
    .becarix-card,
    .colaborador-card,
    .producto-card,
    .noticia-card,
    .colaborar-card {
        cursor: pointer;
    }

    .historia-becarixs-grid .becarix-card:hover {
        transform: translateY(-4px);
        background: rgba(0, 142, 120, .42);
    }

    /* Zoom de la carta centrada al usar las flechas (solo PC) */
    @media (min-width: 641px){

        .becarixs-marquee {
            padding: 1.5rem 0;
        }

        .becarixs-track img.centrada,
        .colaboradores-track img.centrada {
            transform: scale(1.1);
            z-index: 10;
        }

        .becarixs-track img.centrada:hover,
        .colaboradores-track img.centrada:hover {
            transform: translateY(-4px) scale(1.1);
        }
    }

    /* =====================================================
   28. MODAL VERTICAL (Autoridades)
===================================================== */

.modal-contenido.layout-vertical {
    width: min(380px, 92%);
    text-align: center;
}

.modal-contenido.layout-vertical .modal-body {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.2rem;
}

.modal-contenido.layout-vertical #modalImagen {
    width: 100%;
    max-width: 280px;
    max-height: 380px;
    margin: 0 auto;
}

.modal-contenido.layout-vertical .modal-info {
    flex: none;
    width: 100%;
}

.modal-contenido.layout-vertical #modalTexto {
    text-align: center;
}

.modal-contenido.layout-vertical .modal-linkedin {
    margin: 1rem auto 0;
}

@media (max-width: 600px){
    .modal-contenido.layout-vertical #modalImagen {
        max-height: 260px;
    }
}

/* Producto en layout vertical */
.modal-contenido.tema-producto.layout-vertical #modalImagen {
    width: 100%;
    max-width: 260px;
    max-height: 340px;
    align-self: center;
    margin: 0 auto;
}

.modal-contenido.tema-producto.layout-vertical .modal-info {
    text-align: center;
}

.modal-contenido.tema-producto.layout-vertical .modal-ver-producto {
    margin: 1rem auto 0;
}

/* =====================================================
   BOTÓN PARA REABRIR EL POPUP DE BIENVENIDA (lata)
   ===================================================== */

.popup-reabrir {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 500;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,.25);

    /* oculto hasta que se cierra el popup */
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.8);
    transition: opacity .3s ease, transform .3s ease,
                visibility .3s ease, background .25s ease,
                border-color .25s ease;
}

.popup-reabrir.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.popup-reabrir svg {
    width: 26px;
    height: 26px;
}

.popup-reabrir.visible:hover,
.popup-reabrir.visible:focus-visible {
    background: var(--rojo);
    border-color: var(--rojo);
    transform: scale(1.08);
    outline: none;
}

@media (max-width: 600px){
    .popup-reabrir {
        right: 12px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }

    .popup-reabrir svg {
        width: 22px;
        height: 22px;
    }
}

/* =====================================================
   NAVBAR — submenú abierto por toque en pantallas
   táctiles anchas (tablets en horizontal)
   ===================================================== */

@media (hover: none) and (min-width: 1086px){

    .dropdown.abierto .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .dropdown.abierto > a::after {
        transform: rotate(180deg);
        display: inline-block;
    }
}

/* ---------- Botón joystick (arriba del contador de sopitas) ---------- */

.juego-btn {
    position: fixed;
    left: 20px;
    bottom: 68px;
    z-index: 490;           /* debajo del tooltip del contador (500) */
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,.25);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.juego-btn svg {
    width: 24px;
    height: 24px;
}

.juego-btn:hover,
.juego-btn:focus-visible {
    background: var(--rojo);
    border-color: var(--rojo);
    transform: scale(1.08);
    outline: none;
}

@media (max-width: 600px){
    .juego-btn {
        left: 16px;
        bottom: 64px;
        width: 42px;
        height: 42px;
    }

    .juego-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* ---------- Modal ---------- */

.juego-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0,0,0,.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.juego-overlay.activo {
    opacity: 1;
    visibility: visible;
}

.juego-panel {
    position: relative;
    width: min(460px, 100%);
    max-height: 96vh;
    overflow-y: auto;
    padding: 1.4rem 1.4rem 1.3rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    background:
        radial-gradient(circle at 90% -10%, rgba(120,216,179,.28), transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(255,252,153,.12), transparent 50%),
        linear-gradient(160deg, #0b6b4a, #0b3527 80%);
    transform: scale(.94);
    transition: transform .3s ease;
}

.juego-overlay.activo .juego-panel {
    transform: scale(1);
}

.juego-cerrar {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 3;
    border: none;
    background: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: .2s ease;
}

.juego-cerrar:hover {
    color: var(--rojo);
    transform: scale(1.1);
}

.juego-eyebrow {
    display: block;
    margin-bottom: .3rem;
    color: var(--verde-claro);
    font-family: var(--subtitulo);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.juego-titulo {
    margin: 0 0 .9rem;
    color: var(--amarillo);
    font-family: var(--titulo);
    font-weight: 400;
    font-size: clamp(1.6rem, 4.5vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: .01em;
}

/* ---------- Barra de la olla + tiempo ---------- */

.juego-hud {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.juego-barra {
    position: relative;
    flex: 1;
    height: 28px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
}

.juego-barra-relleno {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #07ad76, #78D8B3);
    transition: width .15s ease;
}

.juego-barra-texto {
    position: relative;
    display: block;
    line-height: 26px;
    font-family: var(--subtitulo);
    font-size: .75rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

.juego-tiempo {
    min-width: 66px;
    padding: .25rem .7rem;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--amarillo);
    font-family: var(--titulo);
    font-size: 1.1rem;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}

/* ---------- Lienzo ---------- */

.juego-lienzo {
    position: relative;
    width: min(100%, max(220px, calc((100vh - 17rem) * .75)));
    width: min(100%, max(220px, calc((100svh - 17rem) * .75)));
    aspect-ratio: 3 / 4;
    margin: .9rem auto 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.18);
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.juego-lienzo canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Pantalla de inicio / fin sobre el lienzo */

.juego-pantalla {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    padding: 1.2rem;
    background: rgba(11,53,39,.84);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity .3s ease, visibility .3s ease;
}

.juego-pantalla.oculta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.juego-pantalla-titulo {
    margin: 0;
    color: var(--amarillo);
    font-family: var(--titulo);
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.1;
}

.juego-pantalla-texto {
    margin: 0 0 .4rem;
    max-width: 290px;
    color: rgba(255,255,255,.9);
    font-size: .92rem;
    line-height: 1.6;
    white-space: pre-line;
}

.juego-pantalla-botones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
}

.juego-boton {
    padding: .75rem 1.7rem;
    border: none;
    border-radius: 999px;
    background: var(--amarillo);
    color: #111;
    font-family: var(--subtitulo);
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
}

.juego-boton:hover,
.juego-boton:focus-visible {
    transform: translateY(-2px) scale(1.05);
    outline: none;
}

.juego-boton-sec {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.28);
    color: white;
}

@media (max-width: 600px){
    .juego-panel {
        padding: 1.2rem 1rem 1rem;
    }
}

/* ---------- Lata escondida (easter egg) ---------- */

.lata-escondida {
    position: absolute;
    z-index: 5;
    width: 38px;
    height: auto;
    cursor: pointer;
    opacity: .92;
    transform: rotate(var(--giro, 0deg));
    transition: transform .25s ease, filter .25s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.719));
    -webkit-user-drag: none;
    user-select: none;
}

.lata-escondida.lata-emoji {
    width: auto;
    font-size: 30px;
    line-height: 1;
}

.lata-escondida:hover {
    transform: rotate(calc(var(--giro, 0deg) + 12deg)) scale(1.15);
}

.lata-escondida.encontrada {
    pointer-events: none;
    animation: lataEncontrada .6s ease forwards;
}

@keyframes lataEncontrada {
    to {
        transform: translateY(-60px) rotate(360deg) scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 600px){
    .lata-escondida {
        width: 32px;
    }

    .lata-escondida.lata-emoji {
        font-size: 26px;
    }
}
