/* =========================================================
   IMCORRS 2026 — Home Styles
   Archivo: assets/css/home.css
========================================================= */

/* ================================
   1. Hero
================================ */

.home-hero {
    position: relative;
    width: 100%;
    background: var(--color-white);
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    background: var(--color-white);
    overflow: hidden;
    touch-action: pan-y;
}

/* Mantiene proporción 16:9 */
.hero-slider::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 56.25%;
}

.hero-slide {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    background: var(--color-white);

    transition:
        opacity 0.75s ease,
        visibility 0.75s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide__media {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-slide__image,
.hero-slide__video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--color-white);
}

.hero-slide--video {
    background: var(--color-black);
}

.hero-slide--video .hero-slide__video {
    background: var(--color-black);
}

/* ================================
   Flechas hero
================================ */

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;

    width: 54px;
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--color-border-light);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary);

    font-size: 1.25rem;
    line-height: 1;

    box-shadow: 0 14px 38px rgba(0, 30, 49, 0.14);
    transform: translateY(-50%);

    transition:
        color var(--transition-base),
        background-color var(--transition-base),
        border-color var(--transition-base),
        transform var(--transition-base);
}

.hero-arrow i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    font-size: inherit;
    line-height: 1;
}

.hero-arrow:hover {
    color: var(--color-white);
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.hero-arrow--prev {
    left: 28px;
}

.hero-arrow--next {
    right: 28px;
}

.hero-arrow--prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.hero-arrow--next:hover {
    transform: translateY(-50%) translateX(3px);
}

/* ================================
   Dots estilo GANARE
================================ */

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    transform: translateX(-50%);
}

.hero-dot {
    position: relative;

    width: 54px;
    height: 8px;

    display: inline-flex;
    align-items: center;

    padding: 0;
    border: 0;
    border-radius: 999px;

    background: rgba(0, 30, 49, 0.22);
    overflow: hidden;

    cursor: pointer;

    transition:
        width var(--transition-base),
        background-color var(--transition-base);
}

.hero-dot span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: var(--color-accent);
}

.hero-dot.is-active {
    width: 72px;
    background: rgba(0, 30, 49, 0.28);
}

.hero-dot.is-active span {
    animation: heroDotProgress 6s linear forwards;
}

.hero-dot:hover {
    background: rgba(179, 107, 0, 0.28);
}

/* Cuando está el video activo, ocultamos dots para no tapar controles */
.hero-slider.is-video-active .hero-controls {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-slider.is-video-active .hero-dot.is-active span {
    animation: none;
    width: 100%;
}

@keyframes heroDotProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* ================================
   Responsive
================================ */

@media (max-width: 1024px) {
    .hero-arrow {
        display: none;
    }

    .hero-slider {
        cursor: grab;
    }

    .hero-slider:active {
        cursor: grabbing;
    }
}

@media (max-width: 768px) {
    .hero-controls {
        bottom: 18px;
    }

    .hero-dot {
        width: 42px;
        height: 7px;
    }

    .hero-dot.is-active {
        width: 58px;
    }
}

@media (max-width: 520px) {
    .hero-controls {
        bottom: 12px;
    }

    .hero-dot {
        width: 34px;
        height: 6px;
    }

    .hero-dot.is-active {
        width: 48px;
    }
}

/* ================================
   2. Dots estilo GANARE
================================ */

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    transform: translateX(-50%);
}

.hero-dot {
    position: relative;

    width: 54px;
    height: 8px;

    display: inline-flex;
    align-items: center;

    padding: 0;
    border: 0;
    border-radius: 999px;

    background: rgba(0, 30, 49, 0.22);
    overflow: hidden;

    cursor: pointer;

    transition:
        width var(--transition-base),
        background-color var(--transition-base);
}

.hero-dot span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: var(--color-accent);
}

.hero-dot.is-active {
    width: 72px;
    background: rgba(0, 30, 49, 0.28);
}

.hero-dot.is-active span {
    animation: heroDotProgress 6s linear forwards;
}

.hero-dot:hover {
    background: rgba(179, 107, 0, 0.28);
}

/* Cuando el video está activo, el dot queda lleno */
.hero-slider.is-video-active .hero-dot.is-active span {
    animation: none;
    width: 100%;
}

@keyframes heroDotProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* ================================
   3. Responsive
================================ */

@media (max-width: 768px) {
    .hero-controls {
        bottom: 18px;
    }

    .hero-dot {
        width: 42px;
        height: 7px;
    }

    .hero-dot.is-active {
        width: 58px;
    }
}

@media (max-width: 520px) {
    .hero-controls {
        bottom: 12px;
    }

    .hero-dot {
        width: 34px;
        height: 6px;
    }

    .hero-dot.is-active {
        width: 48px;
    }
}

/* ================================
   2. About IMCORRS
================================ */

.home-about {
    background: var(--color-white);
    overflow: hidden;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 760px;
}

.about-split__media {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: var(--color-neutral);
}

.about-split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-split__content {
    min-height: 760px;
    padding: clamp(56px, 6vw, 96px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-white);
}

.about-split__content h2 {
    max-width: 660px;
    margin-bottom: 24px;
    font-size: clamp(2rem, 3.8vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.about-split__content .accent-line {
    margin-bottom: 34px;
}

.about-split__text {
    display: grid;
    gap: 22px;
    max-width: 680px;
}

.about-split__text p {
    font-size: 1rem;
    line-height: 1.82;
}

.about-split__text strong {
    color: var(--color-primary);
}

.about-monterrey {
    margin-top: 10px;
    padding-top: 8px;
}

.about-monterrey h3 {
    margin-bottom: 18px;
    font-size: clamp(1.45rem, 2vw, 2rem);
    letter-spacing: -0.03em;
}

.about-monterrey ul {
    display: grid;
    gap: 10px;
}

.about-monterrey li {
    position: relative;
    padding-left: 18px;
    color: var(--color-text-soft);
    font-size: 0.95rem;
    line-height: 1.65;
}

.about-monterrey li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
}

/* Segundo bloque */
.about-split--second {
    background: var(--color-bg-soft);
}

.about-split--second .about-split__content {
    background: var(--color-bg-soft);
}

.about-split__content--objectives h2 {
    max-width: 680px;
    margin-bottom: 38px;
    color: var(--color-accent);
    font-size: clamp(1.35rem, 2.2vw, 2.15rem);
    letter-spacing: -0.025em;
}

.about-objectives {
    display: grid;
    gap: 24px;
    max-width: 700px;
}

.about-objectives article {
    position: relative;
    padding-left: 24px;
}

.about-objectives article::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
}

.about-objectives h3 {
    margin-bottom: 7px;
    font-size: 1.02rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.about-objectives p {
    font-size: 0.96rem;
    line-height: 1.72;
}

/* Detalle visual sutil */
.about-split__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 18px solid rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 1200px) {

    .about-split,
    .about-split__media,
    .about-split__content {
        min-height: 680px;
    }

    .about-split__content {
        padding: 64px 44px;
    }
}

@media (max-width: 920px) {
    .about-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about-split--second .about-split__media {
        order: -1;
    }

    .about-split__media {
        min-height: 460px;
    }

    .about-split__content {
        min-height: auto;
        padding: 58px 28px;
    }

    .about-split__content h2,
    .about-split__text,
    .about-objectives {
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .about-split__media {
        min-height: 340px;
    }

    .about-split__content {
        padding: 48px 20px;
    }

    .about-split__text p {
        font-size: 0.95rem;
        line-height: 1.74;
    }

    .about-monterrey li {
        font-size: 0.92rem;
    }

    .about-objectives {
        gap: 22px;
    }

    .about-objectives article {
        padding-left: 20px;
    }

    .about-objectives p {
        font-size: 0.92rem;
    }
}

/* ================================
   3. Ediciones IMCORRS
================================ */

.home-editions {
    padding: 112px 0;
    background: var(--color-white);
    color: var(--color-primary);
    overflow: hidden;
}

.home-editions .section-kicker {
    color: var(--color-accent);
}

.home-editions .section-title {
    color: var(--color-primary);
}

.home-editions .section-description {
    color: var(--color-text-soft);
}

.editions-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 42px;
    align-items: end;
    margin-bottom: 56px;
}

.editions-header .section-heading {
    margin-bottom: 0;
}

.editions-header__action {
    display: flex;
    justify-content: flex-end;
}

/* Grid */
.editions-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.3fr 0.85fr;
    grid-template-rows: repeat(2, minmax(230px, auto));
    gap: 24px;
}

/* Cards generales */
.edition-stat,
.edition-feature {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.edition-stat {
    min-height: 230px;
    padding: 32px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border: 1px solid var(--color-border-light);
    background: var(--color-bg-soft);

    transition:
        transform var(--transition-base),
        border-color var(--transition-base),
        background-color var(--transition-base),
        box-shadow var(--transition-base);
}

.edition-stat:hover {
    transform: translateY(-5px);
    border-color: rgba(179, 107, 0, 0.28);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.edition-stat__label {
    display: block;
    margin-bottom: 14px;

    color: var(--color-accent);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.edition-stat strong {
    display: block;
    margin-bottom: 12px;

    color: var(--color-primary);

    font-size: clamp(2.6rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.edition-stat p {
    max-width: 330px;

    color: var(--color-text-soft);

    font-size: 0.95rem;
    line-height: 1.58;
}

/* Imagen central */
.edition-feature {
    grid-row: span 2;
    min-height: 484px;

    background: var(--color-bg-soft);
    border: 1px solid var(--color-border-light);

    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

.edition-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.edition-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edition-feature::after {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 30, 49, 0.42);
}

.edition-feature__content {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 32px;
    z-index: 2;
}

.edition-feature__content span {
    display: inline-flex;
    margin-bottom: 12px;

    color: var(--color-accent);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.edition-feature__content h3 {
    max-width: 520px;

    color: var(--color-white);

    font-size: clamp(1.5rem, 3vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

/* Responsive */
@media (max-width: 1050px) {
    .editions-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .editions-header__action {
        justify-content: flex-start;
    }

    .editions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .edition-feature {
        grid-column: span 2;
        grid-row: auto;
        min-height: 420px;
    }
}

@media (max-width: 700px) {
    .home-editions {
        padding: 76px 0;
    }

    .editions-header {
        margin-bottom: 42px;
    }

    .editions-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .edition-feature {
        grid-column: auto;
        min-height: 380px;
    }

    .edition-stat {
        min-height: 210px;
        padding: 28px;
    }

    .edition-feature__content {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }
}

/* ================================
   4. AMPP
================================ */

.home-ampp {
    padding: 112px 0;
    background: #f3f4f7;
    overflow: hidden;
}

.ampp-shell {
    position: relative;
}

.ampp-tabs {
    width: fit-content;
    margin: 0 auto 44px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ampp-tab {
    min-width: 220px;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid #d5d8de;
    border-radius: 0;
    background: #ffffff;
    color: #1f2933;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    transition:
        color var(--transition-base),
        background-color var(--transition-base),
        border-color var(--transition-base),
        transform var(--transition-base);
}

.ampp-tab:hover {
    color: #ef3340;
    border-color: #ef3340;
    transform: translateY(-2px);
}

.ampp-tab.is-active {
    color: #ffffff;
    background: #ef3340;
    border-color: #ef3340;
}

.ampp-slider {
    position: relative;
    min-height: 680px;
}

.ampp-panel {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 64px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition:
        opacity 0.55s ease,
        visibility 0.55s ease,
        transform 0.55s ease;
}

.ampp-panel.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ampp-panel__visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.ampp-brand-card {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: min(82%, 430px);
    padding: 34px;
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 18px 50px rgba(0, 30, 49, 0.08);
}

.ampp-brand-card img {
    width: auto;
    max-width: 100%;
    max-height: 88px;
    object-fit: contain;
    margin-bottom: 18px;
}

.ampp-brand-card span {
    display: block;
    color: #3d4650;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.45;
}

.ampp-visual-card {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(82%, 520px);
    height: 430px;
    overflow: hidden;
    background: #dfe2e7;
    box-shadow: 0 22px 55px rgba(0, 30, 49, 0.12);
}

.ampp-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ampp-panel__content {
    max-width: 720px;
}

.ampp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #ef3340;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ampp-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: #300003;
}

.ampp-panel__content h2 {
    margin-bottom: 24px;
    color: #1f2933;
    font-size: clamp(2.4rem, 4.6vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.ampp-lead {
    margin-bottom: 32px;
    color: #2e3944;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.65;
}

.ampp-copy {
    display: grid;
    gap: 18px;
}

.ampp-copy p {
    color: #4a5560;
    font-size: 1rem;
    line-height: 1.78;
}

.ampp-copy strong {
    color: #1f2933;
}

.ampp-actions {
    margin-top: 36px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.btn-ampp {
    color: #ffffff;
    background: #ef3340;
    border-color: #ef3340;
}

.btn-ampp:hover {
    color: #ef3340;
    background: #ffffff;
    border-color: #ef3340;
}

.ampp-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4a5560;
    font-size: 0.88rem;
    font-weight: 700;
    transition:
        color var(--transition-base),
        transform var(--transition-base);
}

.ampp-linkedin i {
    color: #300003;
}

.ampp-linkedin:hover {
    color: #300003;
    transform: translateY(-1px);
}

/* AMPP México */
.ampp-panel__visual--mexico {
    min-height: 540px;
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 18px 50px rgba(0, 30, 49, 0.08);
    padding: 54px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ampp-brand-card--mexico {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    text-align: center;
}

.ampp-brand-card--mexico img {
    max-height: 118px;
    margin-inline: auto;
    margin-bottom: 24px;
}

.ampp-brand-card--mexico span {
    color: #ef3340;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.ampp-mini-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ampp-mini-grid article {
    padding: 26px;
    background: #111820;
    color: #ffffff;
    border-left: 4px solid #ef3340;
}

.ampp-mini-grid strong {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 1.7rem;
    line-height: 1;
}

.ampp-mini-grid span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Dots */
.ampp-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
}

.ampp-dot {
    width: 44px;
    height: 6px;
    border: 0;
    background: rgba(31, 41, 51, 0.22);
    transition:
        width var(--transition-base),
        background-color var(--transition-base);
}

.ampp-dot:hover {
    background: #300003;
}

.ampp-dot.is-active {
    width: 72px;
    background: #ef3340;
}

/* Responsive */
@media (max-width: 1100px) {
    .ampp-panel {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .ampp-slider {
        min-height: auto;
    }

    .ampp-panel {
        position: absolute;
    }

    .ampp-panel.is-active {
        position: relative;
    }

    .ampp-panel__visual,
    .ampp-panel__visual--mexico {
        min-height: 460px;
    }

    .ampp-panel__content {
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    .home-ampp {
        padding: 78px 0;
    }

    .ampp-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 34px;
    }

    .ampp-tab {
        width: 100%;
        min-width: 0;
    }

    .ampp-panel__visual {
        min-height: 420px;
    }

    .ampp-brand-card {
        width: 88%;
        padding: 26px;
    }

    .ampp-visual-card {
        width: 88%;
        height: 300px;
    }

    .ampp-panel__visual--mexico {
        padding: 34px 24px;
    }

    .ampp-mini-grid {
        grid-template-columns: 1fr;
        margin-top: 34px;
    }
}

@media (max-width: 520px) {
    .ampp-panel__visual {
        min-height: 360px;
    }

    .ampp-brand-card {
        position: relative;
        width: 100%;
        margin-bottom: 16px;
    }

    .ampp-visual-card {
        position: relative;
        width: 100%;
        height: 240px;
    }

    .ampp-panel__visual {
        display: block;
    }

    .ampp-actions {
        align-items: stretch;
    }

    .ampp-actions .btn,
    .ampp-linkedin {
        width: 100%;
        justify-content: center;
    }
}

/* ================================
   5. Programa + Áreas técnicas
================================ */

.home-program {
    background: var(--color-white);
    overflow: hidden;
}

/* ================================
   Banner Programa
================================ */

.program-banner {
    position: relative;

    /* Espacio superior para separar de la sección anterior */
    margin-top: clamp(12px, 1.5vw, 21px);


    padding: clamp(48px, 6vw, 78px) 0;
    background: var(--color-bg-soft);
    overflow: hidden;
}

/* Sin líneas verticales */
.program-banner::before {
    content: none;
}

/* Texto decorativo de fondo */
.program-banner::after {
    content: "PROGRAMA";
    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    color: rgba(0, 30, 49, 0.045);
    font-size: clamp(3.8rem, 13vw, 10rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.08em;
    text-transform: uppercase;
    white-space: nowrap;

    pointer-events: none;
}

.program-banner__content {
    position: relative;
    z-index: 2;

    max-width: 900px;
    margin-inline: auto;

    text-align: center;
}

.program-banner__eyebrow {
    display: block;
    margin-bottom: 6px;

    color: var(--color-primary);

    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.program-banner h2 {
    margin: 0;

    color: var(--color-primary);

    font-size: clamp(3.4rem, 10vw, 7.4rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.07em;
    text-transform: uppercase;
}

.program-banner__cta {
    margin-top: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 18px;

    border: 1px solid var(--color-accent);
    border-radius: var(--radius-xs);

    color: var(--color-white);
    background: var(--color-accent);

    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;

    transition:
        color var(--transition-base),
        background-color var(--transition-base),
        border-color var(--transition-base);
}

.program-banner__cta:hover {
    color: var(--color-accent);
    background: var(--color-white);
}

.program-banner__cta.is-disabled {
    pointer-events: none;
}


/* ================================
   Áreas técnicas
================================ */

.program-areas {
    padding: 70px 0 112px;
    background: var(--color-white);
}

.program-areas__badge {
    width: fit-content;
    margin: 0 auto 70px;

    color: var(--color-accent);

    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
}

.program-areas__badge::after {
    content: "";
    display: block;

    width: 74px;
    height: 2px;
    margin: 10px auto 0;

    background: var(--color-accent);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 72px;
    row-gap: 74px;
}

.program-area-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;
}

.program-area-item img {
    width: 82px;
    height: 82px;
    object-fit: contain;

    margin-bottom: 24px;

    transition:
        transform var(--transition-base),
        opacity var(--transition-base);
}

.program-area-item:hover img {
    transform: translateY(-6px);
    opacity: 0.86;
}

.program-area-item h3 {
    max-width: 360px;

    color: var(--color-primary);

    font-size: clamp(1.1rem, 1.45vw, 1.35rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}


/* ================================
   Responsive
================================ */

@media (max-width: 980px) {
    .program-banner {
        margin-top: clamp(44px, 7vw, 72px);
    }

    .program-areas {
        padding: 62px 0 88px;
    }

    .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 44px;
        row-gap: 58px;
    }
}

@media (max-width: 620px) {
    .program-banner {
        margin-top: 46px;
        padding: 52px 0;
    }

    .program-banner::after {
        font-size: clamp(3.2rem, 18vw, 6rem);
    }

    .program-banner__eyebrow {
        font-size: 0.85rem;
    }

    .program-banner h2 {
        font-size: clamp(2.8rem, 16vw, 5rem);
    }

    .program-banner__cta {
        margin-top: 20px;
    }

    .program-areas {
        padding: 54px 0 76px;
    }

    .program-areas__badge {
        margin-bottom: 52px;
        font-size: 0.78rem;
    }

    /* En móvil: 2 iconos por fila */
    .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 22px;
        row-gap: 46px;
    }

    .program-area-item img {
        width: 68px;
        height: 68px;
        margin-bottom: 16px;
    }

    .program-area-item h3 {
        max-width: 170px;
        font-size: 0.95rem;
        line-height: 1.22;
    }
}

@media (max-width: 380px) {
    .program-grid {
        column-gap: 16px;
        row-gap: 42px;
    }

    .program-area-item img {
        width: 62px;
        height: 62px;
    }

    .program-area-item h3 {
        max-width: 150px;
        font-size: 0.88rem;
    }
}

/* ================================
   6. Pabellón Energético / Expo Estudiantes
================================ */

.home-pavilion {
    background: var(--color-neutral);
    overflow: hidden;
}

.pavilion-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
}

.pavilion-split__media {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: var(--color-neutral);
}

.pavilion-split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pavilion-split__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 18px solid rgba(255, 255, 255, 0.08);
}

.pavilion-split__content {
    min-height: 680px;
    padding: clamp(56px, 6vw, 96px);

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: var(--color-white);
}

/* Título único, sin línea decorativa debajo */
.pavilion-split__content h2 {
    max-width: 720px;
    margin-bottom: 28px;

    color: var(--color-primary);

    font-size: clamp(2.4rem, 4.8vw, 4.8rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.pavilion-split__text {
    max-width: 720px;
}

.pavilion-split__text p {
    color: var(--color-text-soft);

    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.82;
}

/* Botón más controlado para que no se estire visualmente */
.pavilion-split .btn {
    width: fit-content;
    min-width: 180px;
}

/* Segunda sección */
.pavilion-split--students {
    background: var(--color-bg-soft);
}

.pavilion-split--students .pavilion-split__content {
    background: var(--color-bg-soft);
}

/* ================================
   Expo Estudiantes CTA
================================ */

.pavilion-split__actions {
    margin-top: 28px;

    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 640px) {
    .pavilion-split__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 1200px) {

    .pavilion-split,
    .pavilion-split__media,
    .pavilion-split__content {
        min-height: 620px;
    }

    .pavilion-split__content {
        padding: 64px 44px;
    }
}

@media (max-width: 920px) {
    .pavilion-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .pavilion-split__media {
        min-height: 430px;
    }

    .pavilion-split__content {
        min-height: auto;
        padding: 58px 28px;
    }

    .pavilion-split--students .pavilion-split__media {
        order: -1;
    }

    .pavilion-split__content h2,
    .pavilion-split__text {
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .pavilion-split__media {
        min-height: 330px;
    }

    .pavilion-split__content {
        padding: 48px 20px;
    }

    .pavilion-split__content h2 {
        font-size: clamp(2.2rem, 13vw, 3.4rem);
    }

    .pavilion-split__text p {
        font-size: 0.95rem;
        line-height: 1.74;
    }

    .pavilion-split .btn {
        width: 100%;
    }
}