/* ============================================================ */
/* L'ESPAI HISPANITAS                                            */
/* ============================================================ */

/* Nunito (Google Fonts, licencia OFL) alojada en local, variable 300-800 */
@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("../_fonts/Nunito/Nunito-latin-VariableFont_wght.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("../_fonts/Nunito/Nunito-latinext-VariableFont_wght.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.eh {
    /* Paleta */
    --eh-fondo: #faf6ee;
    --eh-tarjeta: #f2eadf;
    --eh-tarjeta-2: #e9dfd0;
    --eh-linea: #ddd2c1;
    --eh-texto: #1e1b16;
    --eh-texto-2: #4b453d;
    --eh-marron: #331d13;
    --eh-oscuro: #1d2c27;
    --eh-verde: #4f6b5c;
    --eh-blanco: #fff;
    /* Tipografía */
    --eh-font: "Nunito", "Helvetica Neue", Arial, sans-serif;
    --eh-fs-etiqueta: 12px;
    --eh-fs-titulo: clamp(30px, 3.4vw, 44px);
    --eh-fs-intro: clamp(15px, 1.15vw, 17px);
    --eh-fs-texto: 14px;
    --eh-fs-pequeno: 12px;
    /* Medidas */
    --eh-ancho: 1200px;
    --eh-margen: clamp(16px, 4vw, 48px);
    --eh-seccion: clamp(56px, 7vw, 104px);
    --eh-radio: 14px;
    --eh-radio-g: 18px;
    --eh-num: 30px;
    --eh-punto: clamp(24px, 2.4vw, 32px);
    --eh-sombra: 0 12px 40px rgba(30, 27, 22, .18);
    --eh-cabecera: 96px; /* alto de la cabecera fija de la web (barra superior + menú) */
    font-family: var(--eh-font);
    color: var(--eh-texto);
    background: var(--eh-fondo);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 5em;
}

    .eh *,
    .eh *::before,
    .eh *::after {
        box-sizing: border-box;
    }

    .eh img {
        display: block;
        max-width: 100%;
        height: auto;
    }

    .eh picture {
        display: block;
    }

    .eh h1, .eh h2, .eh h3, .eh h4, .eh p, .eh ul, .eh ol, .eh figure, .eh blockquote {
        margin: 0;
        padding: 0;
    }

    .eh ul, .eh ol {
        list-style: none;
    }
    .eh-iconos, .eh-pastilla  {
        padding: 15px !important;
    }
    .eh button {
        font-family: inherit;
    }

    .eh :focus-visible {
        outline: 2px solid var(--eh-verde);
        outline-offset: 3px;
    }

.eh-oculto {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.eh-contenedor {
    width: 100%;
    max-width: calc(var(--eh-ancho) + 2 * var(--eh-margen));
    margin: 0 auto;
    padding: 0 var(--eh-margen);
}

.eh-seccion {
    padding: var(--eh-seccion) 0 0;
}

    .eh-seccion:last-of-type {
        padding-bottom: var(--eh-seccion);
    }

/* Encabezados de sección */
.eh-etiqueta {
    font-size: var(--eh-fs-etiqueta);
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--eh-texto);
    margin-bottom: 12px !important;
}

.eh-titulo {
    font-size: var(--eh-fs-titulo);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.01em;
    color: var(--eh-texto);
    text-wrap: balance;
    margin-bottom: 16px !important;
}

.eh-intro {
    font-size: var(--eh-fs-intro);
    line-height: 1.55;
    color: var(--eh-texto-2);
    max-width: 46ch;
}

.eh-intro--ancha {
    max-width: 92ch;
}

.eh-cierre {
    margin-top: 24px !important;
    font-size: var(--eh-fs-intro);
    font-weight: 600;
    color: var(--eh-texto);
}

.eh-raya {
    width: 40px;
    height: 0;
    margin: 20px 0;
    border: 0;
    border-top: 1.5px solid currentColor;
    opacity: .6;
}

/* Círculo numerado */
.eh-num {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--eh-num);
    height: var(--eh-num);
    border-radius: 50%;
    background: var(--eh-oscuro);
    color: var(--eh-blanco);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

/* Firma HISPANITAS · Caminamos hacia un futuro mejor */
/* Logo SVG | lema, en una fila separados por una raya vertical */
.eh-firma {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px clamp(16px, 2vw, 28px);
    color: var(--eh-texto);
    text-align: center;
}

.eh-firma-marca {
    display: block;
    width: clamp(150px, 16vw, 220px);
    height: auto;
}

.eh-firma-lema {
    padding-left: clamp(16px, 2vw, 28px);
    border-left: 1.5px solid currentColor;
    font-size: clamp(16px, 1.7vw, 26px);
    font-weight: 400;
    line-height: 1.1;
}

.eh-firma--final {
    padding: 0 var(--eh-margen) var(--eh-seccion);
}

/* ============================================================ */
/* HERO                                                          */
/* ============================================================ */
/* Sin imagen: logo y textos sobre el fondo crema. La cabecera de la web es fija y
   transparente, así que el contenido empieza debajo de ella */
.eh-hero {
    display: flex;
    flex-direction: column;
    justify-content: center; /* contenido centrado en vertical en el hueco bajo la cabecera */
    align-items: center; /* y en horizontal */
    text-align: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--eh-cabecera) + clamp(24px, 4vw, 56px)) 4.5% clamp(24px, 4vw, 56px);
    color: var(--eh-marron);
}

.eh-hero-contenido {
    width: min(100%, 580px);
}

.eh-hero-logo {
    width: 66%;
    max-width: 420px;
    margin: 0 auto 4% !important;
}

    .eh-hero-logo svg {
        display: block;
        width: 100%;
        height: auto;
    }

/* Lema y texto alineados a la izquierda dentro del bloque centrado */
.eh-hero-lema {
    font-size: clamp(24px, 1.5vw, 30px);
    font-weight: 400;
    line-height: 1.15;
    text-align: left;
}

.eh-hero-texto {
    margin-top: clamp(24px, 3vw, 44px) !important;
    font-size: clamp(16px, 1.7vw, 23px);
    line-height: 1.3;
    text-align: left;
}

/* Mismo ancho que .eh-hero-contenido para que empiece en el mismo borde izquierdo que el texto */
.eh-firma--hero {
    width: min(100%, 580px);
    flex-wrap: nowrap; /* logo | lema siempre en una fila (puede pasar un poco del ancho del texto por la derecha) */
    white-space: nowrap;
    justify-content: flex-start;
    margin-top: clamp(40px, 5vw, 72px) !important;
    text-align: left;
    color: var(--eh-marron);
}

/* ============================================================ */
/* 01. EL PROYECTO                                               */
/* ============================================================ */
.eh-proyecto-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.eh-iconos {
    display: grid;
    gap: 18px;
    margin-top: 28px !important;
}

    .eh-iconos li {
        display: flex;
        align-items: center;
        gap: 16px;
        font-size: var(--eh-fs-texto);
        color: var(--eh-texto-2);
    }

.eh-icono {
    flex: none;
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--eh-texto);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eh-proyecto-figura img {
    width: 100%;
    border-radius: var(--eh-radio-g);
}

.eh-proyecto-figura figcaption {
    margin-top: 14px;
    font-size: var(--eh-fs-intro);
    font-weight: 600;
    line-height: 1.35;
}

/* ============================================================ */
/* 02. LOS MATERIALES                                            */
/* ============================================================ */
.eh-materiales-lista {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px !important;
}

.eh-material {
    display: flex;
    flex-direction: column;
    background: var(--eh-tarjeta);
    border-radius: var(--eh-radio);
    overflow: hidden;
}

    .eh-material img {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
        border-radius: var(--eh-radio);
    }

.eh-material-texto {
    padding: 16px 14px 20px;
}

    .eh-material-texto h3 {
        font-size: 15px;
        font-weight: 800;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    .eh-material-texto p {
        font-size: var(--eh-fs-pequeno);
        line-height: 1.5;
        color: var(--eh-texto-2);
    }

/* ============================================================ */
/* 03. EL PROCESO                                                */
/* ============================================================ */
.eh-proceso-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "video texto" "video pie";
    grid-template-rows: auto 1fr;
    column-gap: clamp(32px, 5vw, 72px);
    row-gap: 24px;
    align-items: start;
}

.eh-proceso-texto {
    grid-area: texto;
}

.eh-video {
    grid-area: video;
}

.eh-proceso-pie {
    grid-area: pie;
}

.eh-pasos {
    display: grid;
    gap: 16px;
    margin-top: 28px !important;
}

    .eh-pasos li {
        display: flex;
        align-items: center;
        gap: 16px;
        font-size: var(--eh-fs-texto);
        color: var(--eh-texto-2);
    }

.eh-pastilla {
    padding: 18px 22px;
    border-radius: var(--eh-radio);
    background: var(--eh-tarjeta);
    font-size: var(--eh-fs-intro);
    font-weight: 600;
    line-height: 1.4;
}

/* Vídeo: el bloque reserva el hueco con su proporción */
.eh-video {
    --eh-video-ratio: 16 / 10;
    position: relative;
    width: 100%;
    aspect-ratio: var(--eh-video-ratio);
    border-radius: var(--eh-radio-g);
    overflow: hidden;
    background: #14120f;
}

    /* Fondo de Cloudflare en bucle: rellena la tarjeta (recorta lo que sobre) */
    .eh-video-fondo {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        pointer-events: none;
    }

    /* Reproductor de YouTube: ocupa la tarjeta entera, encima del fondo */
    .eh-video-iframe {
        position: absolute;
        inset: 0;
        z-index: 3;
        width: 100%;
        height: 100%;
        border: 0;
        background: #000;
    }

.eh-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 0;
    background: rgba(20, 18, 15, .35);
    color: var(--eh-blanco);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, opacity .25s ease;
}

    .eh-video-play:hover:not([disabled]),
    .eh-video-play:focus-visible {
        background: var(--eh-blanco);
        color: var(--eh-texto);
        text-decoration: none;
    }

    .eh-video-play[disabled] {
        cursor: default;
        opacity: .75;
    }

.eh-video.is-reproduciendo .eh-video-play {
    opacity: 0;
    pointer-events: none;
}

/* ============================================================ */
/* 04. LOS RESULTADOS                                            */
/* ============================================================ */
.eh-tabla-caja {
    margin-top: 28px;
    border: 1px solid var(--eh-linea);
    border-radius: var(--eh-radio);
    overflow: hidden;
    background: var(--eh-fondo);
}

.eh-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--eh-fs-texto);
    font-variant-numeric: tabular-nums;
}

    .eh-tabla th,
    .eh-tabla td {
        padding: 14px 18px;
        text-align: left;
        font-weight: 500;
        border-bottom: 1px solid var(--eh-linea);
    }

    .eh-tabla tbody tr:last-child th,
    .eh-tabla tbody tr:last-child td {
        border-bottom: 0;
    }

    .eh-tabla thead th {
        background: var(--eh-tarjeta-2);
        font-weight: 800;
    }

    .eh-tabla th[scope="row"] {
        font-weight: 800;
    }

.eh-tabla-caja--h .eh-tabla th,
.eh-tabla-caja--h .eh-tabla td {
    text-align: center;
}

    .eh-tabla-caja--h .eh-tabla th:first-child {
        text-align: left;
        white-space: nowrap;
    }

.eh-tabla-caja--v {
    display: none;
}

.eh-nota {
    margin-top: 12px !important;
    font-size: var(--eh-fs-pequeno);
    color: var(--eh-texto-2);
}

/* ============================================================ */
/* 05. NUEVOS USOS                                               */
/* ============================================================ */
.eh-usos-lista {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px !important;
}

.eh-uso {
    background: var(--eh-tarjeta);
    border-radius: var(--eh-radio);
    overflow: hidden;
}

    .eh-uso img {
        width: 100%;
        aspect-ratio: 430 / 333;
        object-fit: cover;
        border-radius: var(--eh-radio);
    }

    .eh-uso p {
        padding: 14px 16px 18px;
        font-size: var(--eh-fs-texto);
        font-weight: 700;
        line-height: 1.3;
    }

/* ============================================================ */
/* 06. MAPA INTERACTIVO                                          */
/* ============================================================ */
.eh-parque-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    margin-top: 28px;
}

/* El contenedor toma exactamente la proporción de la imagen: los puntos,
   en %, se quedan siempre sobre el mismo sitio del dibujo. */
.eh-mapa {
    position: relative;
    aspect-ratio: 800 / 676;
    border-radius: var(--eh-radio-g);
    overflow: hidden;
    background: var(--eh-tarjeta);
}

    .eh-mapa img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.eh-punto {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--eh-punto);
    height: var(--eh-punto);
    padding: 0;
    transform: translate(-50%, -50%);
    border: 2px solid var(--eh-fondo);
    border-radius: 50%;
    background: var(--eh-oscuro);
    color: var(--eh-blanco);
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
}

    /* Zona táctil de 44px aunque el punto sea más pequeño */
    .eh-punto::before {
        content: "";
        position: absolute;
        inset: 50% auto auto 50%;
        width: 44px;
        height: 44px;
        transform: translate(-50%, -50%);
        border-radius: 50%;
    }

    /* Pulso suave para indicar que se puede pulsar */
    .eh-punto::after {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 50%;
        border: 2px solid var(--eh-fondo);
        opacity: 0;
        animation: eh-pulso 2.6s ease-out infinite;
        pointer-events: none;
    }

    .eh-punto:hover,
    .eh-punto:focus-visible,
    .eh-punto.is-activo {
        z-index: 2;
        background: var(--eh-verde);
        transform: translate(-50%, -50%) scale(1.18);
    }

@keyframes eh-pulso {
    0% {
        transform: scale(1);
        opacity: .9;
    }

    70%, 100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

.eh-leyenda {
    display: grid;
    gap: 6px;
}

.eh-leyenda-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 44px;
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--eh-texto);
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.eh-leyenda-txt {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: text-decoration-color .2s ease;
}

.eh-leyenda-btn:hover .eh-leyenda-txt,
.eh-leyenda-btn:focus-visible .eh-leyenda-txt,
.eh-leyenda-btn.is-activo .eh-leyenda-txt {
    text-decoration-color: currentColor;
}

.eh-leyenda-btn:hover .eh-num,
.eh-leyenda-btn.is-activo .eh-num {
    background: var(--eh-verde);
}

.eh-todos {
    margin-top: 40px;
}

    .eh-todos h3 {
        font-size: 17px;
        font-weight: 800;
        margin-bottom: 6px;
    }

    .eh-todos p {
        font-size: var(--eh-fs-texto);
        color: var(--eh-texto-2);
    }

/* Popup (<dialog>) */
.eh-popup {
    width: min(880px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100% - 48px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: var(--eh-radio-g);
    background: var(--eh-tarjeta);
    color: var(--eh-texto);
    font-family: var(--eh-font);
    box-shadow: var(--eh-sombra);
    overflow: auto;
    overscroll-behavior: contain;
}

    .eh-popup::backdrop {
        background: rgba(30, 27, 22, .55);
    }

    .eh-popup[open] {
        animation: eh-entrar .25s ease-out;
    }

@keyframes eh-entrar {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

html.eh-sin-scroll {
    overflow: hidden;
}

.eh-popup-caja {
    position: relative;
    padding: clamp(28px, 4vw, 48px);
}

.eh-popup-cerrar {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--eh-texto);
    cursor: pointer;
    transition: background-color .2s ease;
}

    .eh-popup-cerrar:hover {
        background: var(--eh-tarjeta-2);
    }

    .eh-popup-cerrar svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
    }

.eh-popup-titulo {
    padding-right: 40px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px !important;
}

.eh-popup-desc {
    font-size: var(--eh-fs-texto);
    line-height: 1.55;
    color: var(--eh-texto-2);
}

.eh-popup-datos {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
    margin-top: 24px;
}

.eh-popup-datos--solo {
    grid-template-columns: minmax(0, 1fr);
}

.eh-popup-composicion h4 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.eh-popup-composicion p {
    font-size: var(--eh-fs-texto);
    line-height: 1.55;
    color: var(--eh-texto-2);
}

    .eh-popup-composicion p + p {
        margin-top: 10px;
    }

.eh-popup-composicion strong {
    color: var(--eh-texto);
    font-weight: 800;
}

.eh-tabla--popup {
    border-radius: var(--eh-radio);
    overflow: hidden;
    background: var(--eh-fondo);
}

    .eh-tabla--popup td {
        text-align: right;
        white-space: nowrap;
    }

    .eh-tabla--popup thead th:last-child {
        text-align: right;
    }

    .eh-tabla--popup .eh-fila-destacada th,
    .eh-tabla--popup .eh-fila-destacada td {
        background: var(--eh-verde);
        color: var(--eh-blanco);
        font-weight: 800;
    }

/* ============================================================ */
/* 07. UN FUTURO COMPARTIDO                                      */
/* ============================================================ */
.eh-futuro-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "img texto" "img cita";
    grid-template-rows: auto 1fr;
    column-gap: clamp(32px, 5vw, 72px);
    row-gap: 32px;
    align-items: start;
}

.eh-futuro-texto {
    grid-area: texto;
}

.eh-futuro-img {
    grid-area: img;
    align-self: stretch;
}

    .eh-futuro-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--eh-radio-g);
    }

.eh-cita {
    grid-area: cita;
}

    .eh-cita p {
        font-size: clamp(24px, 2.2vw, 32px);
        font-weight: 800;
        line-height: 1.15;
        text-wrap: balance;
    }

    .eh-cita footer {
        display: flex;
        flex-direction: column;
        font-size: 16px;
        font-weight: 700;
    }

        .eh-cita footer span + span {
            font-weight: 500;
            color: var(--eh-texto-2);
        }

/* ============================================================ */
/* TABLET                                                        */
/* ============================================================ */
@media (max-width: 1023px) {
    .eh-materiales-lista {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eh-parque-grid {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    }

    .eh-leyenda-btn {
        font-size: 14px;
    }

    .eh-tabla-caja--h {
        overflow-x: auto;
    }
}

/* ============================================================ */
/* MÓVIL                                                         */
/* ============================================================ */
@media (max-width: 767px) {
    .eh {
        --eh-num: 28px;
        --eh-cabecera: 0px;
    }

    .eh-hero {
        padding: calc(var(--eh-cabecera) + 24px) 16px 0px;
    }

    .eh-hero-logo {
        width: 90%;
        margin: 0 auto 18px !important;
    }

    .eh-hero-lema {
        font-size: clamp(18px, 5.3vw, 22px);
        margin: 0 auto 18px !important;
    }

    .eh-hero-texto {
        font-size: 16px;
    }

    /* Firma: logo y lema no caben en una fila; se apilan sin la raya vertical */
    .eh-firma {
        flex-direction: column;
        gap: 10px;
    }

    .eh-firma-lema {
        padding-left: 0;
        border-left: 0;
    }

    .eh-firma--hero {
        align-items: flex-start;
        margin-top: 60px !important;
    }

    /* 01 */
    .eh-proyecto-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .eh-iconos {
        padding: 22px 20px;
        border-radius: var(--eh-radio);
        background: var(--eh-tarjeta);
    }

    .eh-proyecto-figura {
        border-radius: var(--eh-radio-g);
        overflow: hidden;
        background: var(--eh-tarjeta);
    }

        .eh-proyecto-figura img {
            border-radius: 0;
        }

        .eh-proyecto-figura figcaption {
            margin: 0;
            padding: 18px 22px 20px;
        }

    /* 02: tarjetas en fila (imagen a la izquierda) */
    .eh-materiales-lista {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .eh-material {
        flex-direction: row;
        align-items: center;
    }

        .eh-material img {
            flex: none;
            width: 104px;
        }

    .eh-material-texto {
        padding: 12px 16px;
    }

        .eh-material-texto p {
            font-size: 13px;
        }

    /* 03 */
    .eh-proceso-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "texto" "video" "pie";
        grid-template-rows: auto;
    }

    .eh-video {
        --eh-video-ratio: 1 / 1;
    }

    /* 04: tabla vertical */
    .eh-tabla-caja--h {
        display: none;
    }

    .eh-tabla-caja--v {
        display: block;
    }

    .eh-tabla th,
    .eh-tabla td {
        padding: 10px 14px;
    }

    /* 05: 2 × 2 */
    .eh-usos-lista {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .eh-uso p {
        padding: 12px 12px 14px;
        font-size: 13px;
    }

    /* 06 */
    .eh-parque-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .eh-mapa {
        margin: 0 calc(-1 * var(--eh-margen));
        border-radius: 0;
    }

    .eh-punto {
        --eh-punto: 24px;
        font-size: 11px;
    }

    .eh-leyenda {
        gap: 2px;
    }

    .eh-popup {
        width: 100%;
        max-height: 88%;
        margin: auto 0 0;
        border-radius: var(--eh-radio-g) var(--eh-radio-g) 0 0;
    }

    .eh-popup-datos {
        grid-template-columns: minmax(0, 1fr);
    }

    /* 07 */
    .eh-futuro-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "texto" "img" "cita";
        grid-template-rows: auto;
        row-gap: 24px;
    }

    .eh-futuro-img img {
        height: auto;
    }
}
@media(min-width:1280px) {
    .eh {
        --eh-cabecera: 0;
        --eh-fs-pequeno: 13px;
    }
    .eh-hero-logo {
        width: 100%;
        max-width: 490px;
    }
    .eh-hero-texto {
        margin-top: clamp(19px, 1.3vw, 28px) !important;
        font-size: clamp(15px, 1.1vw, 20px);
    }
    .eh-firma-lema {
        font-size: clamp(15px, 1.1vw, 20px);
    }
    .eh-intro, .eh-material-texto p {
        line-height: 1.3;
    }
}
@media (prefers-reduced-motion: reduce) {
    .eh-punto::after {
        animation: none;
    }

    .eh-popup[open] {
        animation: none;
    }

    .eh-punto,
    .eh-video-play,
    .eh-leyenda-txt {
        transition: none;
    }
}
