.home-hero {
    position: relative;
    aspect-ratio: 2000 / 800;
    min-height: 0;
    overflow: hidden;
    background: #efebe7;
    margin-top: 14px;
}

.home-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            rgba(239, 235, 231, 0.55) 0%,
            rgba(239, 235, 231, 0.35) 25%,
            rgba(239, 235, 231, 0.18) 45%,
            rgba(239, 235, 231, 0.08) 60%,
            rgba(239, 235, 231, 0.00) 75%
    );
    z-index: 1;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.home-hero__bg picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.home-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.home-hero > .container {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px;
}

.home-hero__content {
    max-width: 640px;
    padding-left: 60px;
}

.home-hero__title {
    font-size: clamp(32px, 3.2vw, 48px);
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 18px;
    color: #222;
}

.home-hero__text {
    font-size: 22px;
    line-height: 1.5;
    margin: 0 0 40px;
    color: #333;
}

.home-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.home-hero__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;      /* antes 9px 18px */
    font-size: 16px;          /* antes 14px */
    font-weight: 700;
    color: #c13946;
    text-decoration: none;
    border: 2px solid #c13946;
    background: transparent;
    border-radius: 999px;
    transition: all 0.2s ease;
    line-height: 1;
}

.home-hero__nav-arrow {
    font-size: 20px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.2s ease;
}

.home-hero__nav-link:hover,
.home-hero__nav-link:focus {
    background: #c13946;
    color: #fff;
    text-decoration: none;
}

.home-hero__nav-link:hover .home-hero__nav-arrow,
.home-hero__nav-link:focus .home-hero__nav-arrow {
    transform: translateX(3px);
}

.home-hero__btn {
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 0;
    white-space: nowrap;
}

.home-hero__btn--primary {
    background: #c13946;
    border-color: #c13946;
    color: #fff;
    border-radius: 999px;
}

.home-hero__btn--primary:hover,
.home-hero__btn--primary:focus {
    background: #ad2f39;
    border-color: #ad2f39;
    color: #fff;
}

.home-hero__btn--secondary {
    background: transparent;
    border: 2px solid #c13946;
    color: #c13946;
    border-radius: 999px;
}

.home-hero__btn--secondary:hover,
.home-hero__btn--secondary:focus {
    background: #c13946;
    color: #fff;
    border-color: #c13946;
}

/* =========================
   HOME QUE ES GERMINA
========================= */

.home-que-es {
    padding: 60px clamp(20px, 4vw, 60px);
    background: #fff;
    border-top: 1px solid #ece6e1;
}

.home-que-es > .container {
    width: 100%;
    max-width: 1500px;
}

.home-que-es__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.home-que-es__content {
    max-width: 760px;
    /* Padding-right adaptable: en sintonía con el padding-left de __areas
       para que el separador vertical quede aprox. centrado entre las 2
       columnas en cualquier ancho de pantalla (>= 992px). */
    padding-right: clamp(30px, 4vw, 80px);
}

.home-que-es__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c13946;
    margin-bottom: 14px;
}

.home-que-es__title {
    font-size: clamp(26px, 2.4vw, 36px);
    line-height: 1.15;
    font-weight: 700;
    color: #222;
    margin: 0 0 14px;
    max-width: 760px;
}

.home-que-es__text {
    font-size: 19px;
    line-height: 1.75;
    color: #4b4b4b;
    margin: 0;
    max-width: 760px;
}

.home-que-es__areas {
    position: relative;
    /* Padding adaptable: crece con el viewport para más respiración */
    padding-left: clamp(60px, 7vw, 100px);
}

/* Separador vertical: línea con gradiente + punto rojo central.
   Posición horizontal con variación mínima (5px) para mantenerse
   centrada en el column-gap de Bootstrap (que es constante 30px),
   evitando que se note el corrimiento al cambiar viewport. */
.home-que-es__areas::before {
    content: "";
    position: absolute;
    left: clamp(-18px, -1.3vw, -13px);
    top: -10%;
    bottom: -10%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(193, 57, 70, 0.45) 18%,
        rgba(193, 57, 70, 0.7) 50%,
        rgba(193, 57, 70, 0.45) 82%,
        transparent 100%
    );
    pointer-events: none;
}

/* Punto rojo central de marca, alineado con la línea */
.home-que-es__areas::after {
    content: "";
    position: absolute;
    display: block;
    left: clamp(-18px, -1.3vw, -13px);
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c13946;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(193, 57, 70, 0.35);
    pointer-events: none;
}

/* En tablet y móvil ocultar los círculos (el layout pasa a horizontal) */
@media (max-width: 991px) {
    .home-que-es__areas::before,
    .home-que-es__areas::after {
        display: none;
    }
}

.home-que-es__areas-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #7c716b;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-que-es__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-que-es__tag {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #e6ddd7;
    border-radius: 999px;
    background: #faf7f4;
    color: #5b4f49;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.home-que-es__tag:hover,
.home-que-es__tag:focus {
    background: #c13946;
    border-color: #c13946;
    color: #fff;
    text-decoration: none;
}

/* =========================
   HOME FEATURED SECTIONS
========================= */

.section-home {
    padding: 78px 0 84px;
    background: #f7f5f3;
}

.home-content-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 48px;
}

.home-content-header .section-title {
    font-size: clamp(30px, 2.8vw, 42px);
    line-height: 1.1;
    font-weight: 700;
    color: #222;
    margin: 0 0 14px;
}

.home-content-header .section-subtitle {
    font-size: 18px;
    line-height: 1.68;
    color: #555;
    margin: 0 auto;
    max-width: 760px;
}

/* =========================
   HOME MAIN EDITORIAL
========================= */

.home-main-editorial {
    padding: 60px clamp(20px, 4vw, 60px) 80px;
    background: #f7f5f3;
}

.home-main-editorial > .container {
    width: 100%;
    max-width: 1500px;
}

.home-main-editorial__primary {
    padding-right: 18px;
}

.home-main-editorial__sidebar {
    padding-left: 18px;
}

.home-editorial-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 60px clamp(24px, 5vw, 80px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.home-editorial-section + .home-editorial-section {
    margin-top: 32px;
}

.home-editorial-header {
    margin-bottom: 28px;
}

.home-editorial-header h2 {
    font-size: clamp(26px, 2.4vw, 36px);
    line-height: 1.15;
    font-weight: 700;
    color: #222;
    margin: 0 0 14px;
}

.home-editorial-header p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* =========================
   CARDS PUBLICACIONES / PROYECTOS
========================= */

.home-featured-grid {
    --grid-gutter: clamp(20px, 2.3vw, 35px);
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(var(--grid-gutter) * -1);
    margin-right: calc(var(--grid-gutter) * -1);
}

.home-featured-grid > div {
    display: flex;
    margin-bottom: 40px;
    padding-left: var(--grid-gutter);
    padding-right: var(--grid-gutter);
}

.home-featured-card,
.home-project-card {
    background: #fff;
    border: 1px solid #ebe5df;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.025);
    width: 100%;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.home-featured-card:hover,
.home-project-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.home-featured-card__link,
.home-project-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.home-featured-card__link:hover,
.home-featured-card__link:focus,
.home-project-card__link:hover,
.home-project-card__link:focus {
    color: inherit;
    text-decoration: none;
}

.home-featured-card__image,
.home-project-card__image {
    background: #f3eee8;
    height: clamp(340px, 30vw, 450px);
    overflow: hidden;
}

.home-featured-card__image img,
.home-project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.home-featured-card__image.is-contain img,
.home-project-card__image.is-contain img {
    object-fit: contain;
}

.home-featured-card__content,
.home-project-card__content {
    padding: 20px 18px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta: columna con espacio reservado fijo */
.home-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    align-items: center;
}

.home-card-meta--stacked {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 8px;
    min-height: auto;
}

.home-card-date {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8e8179;
    line-height: 1;
}

.home-card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f3ece7;
    color: #7a6e67;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.home-card-tag--plain {
    background: transparent;
    padding: 0;
    min-height: 28px;
    border-radius: 0;
    color: #a08f86;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-card-category {
    display: block;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    color: #c13946;
    letter-spacing: 0.03em;
    min-height: 14px;
}

.home-featured-card h3,
.home-project-card h3 {
    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
    min-height: 64px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-featured-card p,
.home-project-card p {
    font-size: 14px;
    line-height: 1.55;
    color: #4b4b4b;
    margin: 0;
    min-height: 87px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-card-readmore {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: #c13946;
    text-decoration: none;
    padding-top: 20px;
    text-align: center;
}

.home-editorial-footer {
    margin-top: 10px;
    text-align: center;
}

.home-editorial-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid #8a232d;       /* borde más grueso (2px) y más oscuro */
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #c13946;
    text-decoration: none;
    transition: all 0.2s ease;
}

.home-editorial-link:hover,
.home-editorial-link:focus {
    color: #8a232d;
    background: transparent;
    border-color: #8a232d;
    text-decoration: none;
}

/* =========================
   GERMINANDO SIDEBAR
========================= */

.home-sidebar-block {
    background: #fff;
    border-radius: 18px;
    padding: 30px 26px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.home-editorial-mini {
    min-height: 0;
}

.home-editorial-mini__link {
    color: inherit;
    text-decoration: none;
}

.home-editorial-mini__link:hover,
.home-editorial-mini__link:focus {
    color: inherit;
    text-decoration: none;
}

.home-editorial-mini h3 {
    font-size: 18px;
    line-height: 1.28;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
}

.home-editorial-mini p,
.home-editorial-empty {
    font-size: 16px;
    line-height: 1.68;
    color: #4b4b4b;
    margin: 0;
}

.home-editorial-mini__date {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8e8179;
    margin-bottom: 10px;
}

.home-editorial-mini__topic {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #a08f86;
    margin-bottom: 10px;
}

.home-card-readmore--mini {
    margin-top: 14px;
}

.home-editorial-mini__excerpt-long {
    display: none;
}

.home-editorial-mini__excerpt-short {
    display: inline;
}

/* =========================
   HOME TRAYECTORIA
========================= */

.home-trayectoria {
    padding: 60px clamp(20px, 4vw, 60px);
    background: #ffffff;
}

.home-trayectoria > .container {
    width: 100%;
    max-width: 1500px;
}

.home-trayectoria__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c13946;
    margin-bottom: 12px;
}

.home-trayectoria__title {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    color: #222;
    margin: 0 0 18px;
}

.home-trayectoria__text {
    font-size: 17px;
    line-height: 1.7;
    color: #4b4b4b;
    margin: 0 0 40px;
    max-width: 540px;
}

.home-trayectoria__highlights {
    position: relative;
    padding-left: 34px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.home-trayectoria__highlights:before {
    content: "";
    position: absolute;
    left: 10px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: #ddd4ce;
}

.home-trayectoria__item {
    position: relative;
    padding-left: 28px;
}

.home-trayectoria__item:before {
    content: "";
    position: absolute;
    left: -1px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c13946;
}

.home-trayectoria__item:not(:last-child) {
    padding-bottom: 18px;
    border-bottom: 1px solid #ece6e1;
}

.home-trayectoria__content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 6px;
}

.home-trayectoria__content p {
    font-size: 15px;
    line-height: 1.65;
    color: #666;
    margin: 0;
}

/* =========================
   ESCRITORIO (min-width: 992px)
========================= */

@media (min-width: 992px) {

    .home-main-editorial > .container > .row {
        display: flex;
        align-items: stretch;
        flex-wrap: nowrap;
    }

    .home-main-editorial > .container > .row > .col-md-9,
    .home-main-editorial > .container > .row > .col-md-3 {
        display: flex;
        flex-direction: column;
    }

    .home-main-editorial > .container > .row > .col-md-9 {
        width: 70%;
        flex: 0 0 70%;
        max-width: 70%;
    }

    .home-main-editorial > .container > .row > .col-md-3 {
        width: 30%;
        flex: 0 0 30%;
        max-width: 30%;
    }

    .home-main-editorial__primary,
    .home-main-editorial__sidebar {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .home-main-editorial__primary {
        width: 100%;
        padding-right: 18px;
    }

    .home-main-editorial__sidebar {
        width: 100%;
        padding-left: 18px;
        margin-top: 0;
    }

    .home-featured-grid > div {
        margin-bottom: 30px;
    }

    .home-featured-grid .home-hide-tablet,
    .home-featured-grid .home-hide-mobile {
        display: flex;
    }

    .home-featured-card,
    .home-project-card {
        min-height: 600px;
    }

    .home-featured-card__content,
    .home-project-card__content {
        padding: 18px 16px 20px;
    }

    .home-featured-card h3,
    .home-project-card h3 {
        font-size: 17px;
        line-height: 1.25;
        min-height: 64px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-featured-card p,
    .home-project-card p {
        font-size: 14px;
        line-height: 1.55;
        min-height: 87px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-sidebar-block {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 30px 26px;
        max-height: none;
        height: calc(100% - 84px);
        overflow: hidden;
    }

    .home-sidebar-block .home-editorial-header {
        flex: 0 0 auto;
        padding: 0;
        margin-bottom: 28px;
        text-align: left;
    }

    .home-sidebar-block .home-editorial-header h2 {
        font-size: 32px !important;
    }

    .home-sidebar-block .home-editorial-header p {
        font-size: 16px;
    }

    .home-sidebar-block .home-editorial-footer {
        flex: 0 0 auto;
        margin-top: auto;
        padding-top: 20px;
    }

    .home-editorial-mini {
        display: flex;
        flex: 1 1 0;
        min-height: 0;
        overflow: hidden;
        position: relative;
        padding: 10px;
    }

    .home-editorial-mini.home-hide-responsive {
        display: flex !important;
    }

    .home-editorial-mini__link {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 0;
    }

    .home-editorial-mini__date,
    .home-editorial-mini__topic,
    .home-editorial-mini h3,
    .home-card-readmore--mini {
        flex: 0 0 auto;
    }

    .home-editorial-mini h3 {
        font-size: 18px;
        line-height: 1.28;
        overflow: visible;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: initial;
    }

    .home-editorial-mini p {
        flex: 1 1 auto;
        font-size: 16px;
        line-height: 1.68;
        min-height: 72px;
        overflow-y: scroll;
        overflow-x: hidden;
        display: block;
        padding-right: 8px;
        scrollbar-width: thin;
        position: relative;
        background: #ffffff;
    }

    .home-editorial-mini:hover::after {
        animation: scroll-chevron 1.5s ease-in-out infinite;
    }

    .home-editorial-mini::after {
        content: '⌄';
        position: absolute;
        bottom: 44px;
        left: 96%;
        transform: translateX(-50%);
        font-size: 28px;
        color: #c13946;
        font-weight: 700;
        opacity: 0.3;
        pointer-events: none;
        transition: opacity 0.3s ease;
        line-height: 1;
    }

    @keyframes scroll-chevron {
        0% {
            opacity: 0.4;
            transform: translateX(-50%) translateY(0);
        }
        50% {
            opacity: 0.8;
            transform: translateX(-50%) translateY(8px);
        }
        100% {
            opacity: 0.3;
            transform: translateX(-50%) translateY(16px);
        }
    }

    .home-editorial-mini p::-webkit-scrollbar {
        width: 12px;
    }

    .home-editorial-mini p::-webkit-scrollbar-thumb {
        background: rgba(193, 57, 70, 0.6);
        border-radius: 6px;
    }

    .home-editorial-mini p::-webkit-scrollbar-thumb:hover {
        background: rgba(193, 57, 70, 0.85);
    }

    .home-editorial-mini p::-webkit-scrollbar-track {
        background: rgba(193, 57, 70, 0.1);
        border-radius: 6px;
    }

    .home-editorial-mini__excerpt-short {
        display: none;
    }

    .home-editorial-mini__excerpt-long {
        display: inline;
    }

    .home-editorial-mini + .home-editorial-mini {
        margin-top: 24px;
    }

    .home-card-readmore--mini {
        margin-top: 14px;
    }
}

/* =========================
   TABLET (max-width: 991px)
========================= */

@media (max-width: 991px) {
    .home-que-es__content {
        padding-right: 0;
    }
    .home-que-es__areas {
        border-left: none;
        padding-left: 0;
    }
    .home-hero__content {
        max-width: 420px;
        padding-left:40px;
    }
    .home-hero {
        aspect-ratio: 2000 / 800;
        min-height: 0;
    }

    .home-hero > .container {
        padding: 40px;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
    }

    .home-hero__title {
        font-size: 30px;
        margin: 0 0 5px;
    }

    .home-hero__text {
        font-size: 17px;
        margin: 0 0 10px;
    }
    .home-hero__btn{
        font-size: 14px;
        padding: 8px 16px;
    }

    .home-hero__btn--secondary {
        background: white;
        font-size: 14px;
        padding: 8px 16px;
    }
    .home-hero__content {
        padding-left: 40px;
    }
    .home-hero__nav-link {
        font-size: 13px;
        padding: 6px 12px;
        gap: 6px;
    }

    .home-hero__actions {
        flex-wrap:nowrap;
    }
    .home-hero__nav-arrow {
        font-size: 16px;
    }

    .que-hace-germina {
        padding: 62px 0 70px;
    }

    .que-hace-germina .section-header {
        margin-bottom: 42px;
    }

    .que-hace-germina .section-title {
        font-size: 42px;
    }

    .que-hace-germina .section-subtitle {
        font-size: 17px;
        line-height: 1.62;
        max-width: 680px;
    }

    .que-hace-grid > div {
        margin-bottom: 24px;
    }

    .que-hace-card__inner {
        padding: 32px 24px 26px;
    }

    .que-hace-card__inner:before {
        width: 60px;
        height: 4px;
    }

    .que-hace-card h3 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .que-hace-card p {
        font-size: 16px;
        line-height: 1.68;
    }

    .home-que-es {
        padding: 60px 40px;
    }

    .home-que-es__row {
        align-items: flex-start;
    }

    .home-que-es__areas {
        padding-left: 0;
        margin-top: 28px;
    }

    .home-que-es__tags {
        gap: 14px;
        justify-content: center;
    }

    .home-que-es__tag {
        padding: 0 18px;
        min-height: 42px;
        font-size: 14px;
    }

    .home-que-es__title {
        font-size: 30px;
    }

    .home-que-es__text {
        font-size: 17px;
    }

    .section-home {
        padding: 60px 0 66px;
    }

    .home-content-header .section-title {
        font-size: 42px;
    }

    .home-content-header .section-subtitle {
        font-size: 17px;
    }

    .home-main-editorial {
        padding: 60px 40px;
    }

    .home-main-editorial > .container > .row {
        display: flex;
        flex-wrap: wrap;
    }

    .home-main-editorial > .container > .row > .col-md-3 {
        order: 1;
    }

    .home-main-editorial > .container > .row > .col-md-9 {
        order: 2;
    }

    .home-main-editorial__primary,
    .home-main-editorial__sidebar {
        padding-left: 0;
        padding-right: 0;
    }

    .home-main-editorial__sidebar {
        margin-top: 0;
        margin-bottom: 40px;
    }

    .home-featured-grid > div {
        margin-bottom: 30px;
    }

    .home-featured-grid .home-hide-tablet {
        display: none;
    }

    .home-sidebar-block {
        background: #fff;
        border-radius: 18px;
        padding: 30px 26px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
        position: static;
        top: auto;
        max-height: none;
        overflow: visible;
    }

    .home-sidebar-block .home-editorial-header {
        flex: 0 0 auto;
        padding: 0;
        margin-bottom: 20px;
        text-align: center;
    }

    .home-sidebar-block .home-editorial-header h2 {
        font-size: 30px;
    }

    .home-sidebar-block .home-editorial-header p {
        font-size: 15px;
    }

    .home-editorial-mini {
        display: flex;
        flex: 1 1 0;
        min-height: 0;
        overflow: hidden;
        position: relative;
        margin-bottom: 20px;
    }

    .home-editorial-mini__link {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 0;
    }

    .home-editorial-mini__date,
    .home-editorial-mini__topic,
    .home-editorial-mini h3,
    .home-card-readmore--mini {
        flex: 0 0 auto;
    }

    .home-editorial-mini p {
        flex: 0 0 auto;
        height: 160px;
        max-height: 160px;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        display: block;
        padding-right: 12px;
        margin: 0;
        font-size: 16px;
        line-height: 1.68;
        color: #4b4b4b;
        scrollbar-width: thin;
    }

    .home-editorial-mini:hover::after {
        animation: scroll-chevron 1.5s ease-in-out infinite;
    }

    .home-editorial-mini::after {
        content: '⌄';
        position: absolute;
        bottom: 44px;
        left: 96%;
        transform: translateX(-50%);
        font-size: 28px;
        color: #c13946;
        font-weight: 700;
        opacity: 0.3;
        pointer-events: none;
        transition: opacity 0.3s ease;
        line-height: 1;
    }

    .home-editorial-mini p::-webkit-scrollbar {
        width: 10px;
        -webkit-appearance: none;
    }

    .home-editorial-mini p::-webkit-scrollbar-thumb {
        background: rgba(193, 57, 70, 0.6);
        border-radius: 999px;
    }

    .home-editorial-mini p::-webkit-scrollbar-thumb:hover {
        background: rgba(193, 57, 70, 0.85);
    }

    .home-editorial-mini p::-webkit-scrollbar-track {
        background: rgba(193, 57, 70, 0.12);
        border-radius: 999px;
    }

    .home-editorial-mini__excerpt-short {
        display: none;
    }

    .home-editorial-mini__excerpt-long {
        display: inline;
    }

    .home-featured-card__image,
    .home-project-card__image {
        height: 400px;
    }

    .home-featured-card h3,
    .home-project-card h3 {
        font-size: 17px;
        line-height: 1.25;
        min-height: 64px;
        -webkit-line-clamp: 3;
    }

    .home-featured-card p,
    .home-project-card p {
        font-size: 14px;
        line-height: 1.55;
        min-height: 87px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-editorial-section .home-editorial-header {
        text-align: center;
    }

    .home-editorial-mini h3 {
        font-size: 21px;
    }

    .home-editorial-footer {
        text-align: center;
    }

    .home-editorial-link {
        justify-content: center;
    }

    .home-trayectoria {
        padding: 60px 40px 80px 40px;
    }

    .home-trayectoria__title {
        font-size: 32px;
    }

    .home-trayectoria__highlights {
        margin-top: 30px;
    }

    .redes-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 26px 24px 20px;
        flex-wrap: wrap;
    }

    .redes-menu .address-button {
        margin: 0;
    }

    .redes-menu .address-button a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border-radius: 4px;
        background: #f7f1ec;
        border: 1px solid rgba(255,255,255,0.35);
        color: #c13946 !important;
        text-decoration: none;
        box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    }

    .redes-menu .address-button a:hover,
    .redes-menu .address-button a:focus {
        color: #a92f3b !important;
        background: #fff;
        text-decoration: none;
    }

    .redes-menu .address-button i {
        font-size: 22px;
        line-height: 1;
        color: inherit !important;
    }

    .search-menu > a {
        display: inline-flex !important;
        align-items: center;
        gap: 12px;
        padding-left: 24px !important;
        position: relative;
    }

    .search-menu > a:before {
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        margin-right: 0;
        flex: 0 0 auto;
    }
}

/* =========================
   MÓVIL (max-width: 767px)
========================= */

@media (max-width: 767px) {
    .home-hero {
        aspect-ratio: auto;
        min-height: 700px;
    }

    .home-hero > .container {
        position: absolute;
        inset: 0;
        padding: 42px 20px 80px;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .home-hero__content {
        max-width: 100%;
        width: 100%;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .home-hero__title {
        font-size: 32px;
        line-height: 1.08;
        margin-bottom: 16px;
    }

    .home-hero__text {
        font-size: 16px;
        line-height: 1.45;
        margin-bottom: auto;
    }

    .home-hero__actions {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .home-hero__btn {
        width: auto;
        max-width: none;
        padding: 10px 18px;
        font-size: 14px;
    }

    .home-hero:before {
        display: none;
    }

    .home-hero__bg img {
        object-fit: cover;
        object-position: center center;
    }

    .home-main-editorial {
        padding: 50px 20px;
    }

    .home-main-editorial > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .home-main-editorial > .container > .row {
        display: flex;
        flex-direction: column;
    }

    .home-main-editorial .col-md-3 {
        order: 1;
    }

    .home-main-editorial .col-md-9 {
        order: 2;
    }

    .home-main-editorial__primary {
        order: 2;
    }

    .home-main-editorial__sidebar {
        order: 1;
    }

    .home-featured-grid > div {
        margin-bottom: 18px;
    }

    .home-featured-grid .home-hide-mobile,
    .home-featured-grid .home-hide-tablet {
        display: none;
    }

    .home-featured-grid .home-hide-responsive {
        display: none !important;
    }

    .home-sidebar-block {
        padding: 24px 20px;
        margin-bottom: 30px;
    }

    /* Reducimos el padding-top de las secciones editoriales en mobile.
       Antes: 60px clamp(24px, 5vw, 80px) → 60px arriba (mucho).
       Ahora: 32px arriba/abajo, 20px laterales. */
    .home-editorial-section {
        padding: 32px 20px;
    }

    .home-editorial-section + .home-editorial-section {
        margin-top: 24px;
    }

    .home-editorial-section .home-editorial-header {
        text-align: center;
    }

    .home-editorial-header {
        text-align: center;
        padding: 8px 0 18px 0;
        margin-bottom: 20px;
    }

    .home-editorial-header h2 {
        font-size: 28px;
    }

    .home-editorial-header p {
        font-size: 15px;
    }

    .home-featured-card__image,
    .home-project-card__image {
        height: 360px;
    }

    .home-featured-card__content,
    .home-project-card__content {
        padding: 20px 18px 22px;
    }

    .home-featured-card h3,
    .home-project-card h3 {
        font-size: 17px;
        line-height: 1.3;
        min-height: auto;
        -webkit-line-clamp: 3;
    }

    .home-featured-card p,
    .home-project-card p {
        font-size: 14px;
        line-height: 1.55;
        min-height: auto;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0 0 12px;
    }

    .home-editorial-mini {
        display: block;
        position: relative;
        margin-bottom: 24px;
        padding-bottom: 24px;
        border-bottom: 1px solid #ece6e1;
    }

    .home-editorial-mini:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .home-editorial-mini__link {
        display: block;
        width: 100%;
    }

    .home-editorial-mini__date {
        display: block;
        font-size: 11px;
        margin-bottom: 6px;
    }

    .home-editorial-mini__topic {
        display: block;
        font-size: 11px;
        margin-bottom: 8px;
    }

    .home-editorial-mini h3 {
        font-size: 17px;
        line-height: 1.3;
        margin: 0 0 10px;
    }

    .home-editorial-mini p {
        height: 110px;
        max-height: 110px;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        display: block;
        padding-right: 8px;
        margin: 0;
        font-size: 14px;
        line-height: 1.55;
        color: #4b4b4b;
    }

    .home-editorial-mini__excerpt-short {
        display: inline;
    }

    .home-editorial-mini__excerpt-long {
        display: none;
    }

    .home-card-readmore--mini {
        display: inline-flex;
        margin-top: 10px;
        font-size: 12px;
    }
    .home-editorial-mini::after {
        display: none;
    }

    .home-editorial-mini p::-webkit-scrollbar {
        width: 6px;
        -webkit-appearance: none;
    }

    .home-editorial-mini p::-webkit-scrollbar-thumb {
        background: rgba(193, 57, 70, 0.4);
        border-radius: 999px;
    }

    .home-editorial-mini p::-webkit-scrollbar-track {
        background: rgba(193, 57, 70, 0.08);
        border-radius: 999px;
    }


    .home-editorial-footer {
        text-align: center;
        margin-top: 18px;
    }

    .home-editorial-link {
        min-width: 220px;
    }

    .home-trayectoria {
        padding: 50px 20px;
    }

    .home-trayectoria > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .home-trayectoria__title {
        font-size: 28px;
    }

    .home-trayectoria__text {
        font-size: 16px;
    }

    .home-que-es {
        padding: 50px 20px;
    }

    .home-que-es > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .home-que-es__title {
        font-size: 26px;
    }

    .home-que-es__text {
        font-size: 16px;
    }

    .home-que-es__tag {
        min-height: 36px;
        padding: 0 14px;
        font-size: 13px;
    }

    .home-editorial-mini__link {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 0;
        color: inherit;
        text-decoration: none;
    }

    .home-card-readmore--mini,
    .home-editorial-mini .home-card-readmore.home-card-readmore--mini,
    .home-featured-card .home-card-readmore,
    .home-project-card .home-card-readmore {
        display: block;
        width: 100%;
        margin-top: 14px;
        text-align: center;
    }
}
