:root {
    --mcd-blue-950: #0d1933;
    --mcd-blue-900: #142443;
    --mcd-blue-850: #192b50;
    --mcd-blue-800: #1f3059;
    --mcd-blue-700: #213d70;
    --mcd-blue-600: #31558e;

    --mcd-sky: #ccf0ff;
    --mcd-sky-soft: #edf9ff;

    --mcd-gold: #f0a11a;
    --mcd-gold-light: #ffd491;
    --mcd-bronze: #a6733d;

    --mcd-coral: #ff8c59;
    --mcd-terracotta: #c76133;
    --mcd-salmon: #fac2ad;

    --mcd-white: #ffffff;
    --mcd-page: #ffffff;
    --mcd-surface: #f4f7fb;
    --mcd-surface-blue: #eef7fc;

    --mcd-text: #18243c;
    --mcd-text-soft: #657086;
    --mcd-border: rgba(31, 48, 89, 0.12);

    --mcd-shadow-soft:
        0 12px 35px rgba(18, 35, 68, 0.08);

    --mcd-shadow-medium:
        0 24px 60px rgba(18, 35, 68, 0.14);

    --mcd-shadow-large:
        0 35px 90px rgba(8, 20, 43, 0.24);

    --mcd-radius-small: 14px;
    --mcd-radius-medium: 22px;
    --mcd-radius-large: 32px;
    --mcd-radius-xlarge: 44px;

    --mcd-shell: 1280px;

    --mcd-ease:
        300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================================================
   NORMALIZACIÓN Y PROTECCIÓN CONTRA ESTILOS DE WORDPRESS
========================================================= */

.mcd-home,
.mcd-home *,
.mcd-home *::before,
.mcd-home *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html.mcd-nav-open,
html.mcd-search-open {
    overflow: hidden;
}

.mcd-home {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    color: var(--mcd-text);
    background: var(--mcd-page);
    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.mcd-home a,
.mcd-home a:hover,
.mcd-home a:focus,
.mcd-home a:active,
.mcd-home a:visited {
    text-decoration: none !important;
}

.mcd-home a {
    color: inherit;
}

.mcd-home img {
    display: block;
    max-width: 100%;
}

.mcd-home button,
.mcd-home input {
    font: inherit;
}

.mcd-home button {
    cursor: pointer;
}

.mcd-home h1,
.mcd-home h2,
.mcd-home h3,
.mcd-home h4,
.mcd-home p {
    margin-top: 0;
}

.mcd-shell {
    width: min(calc(100% - 48px), var(--mcd-shell));
    margin-right: auto;
    margin-left: auto;
}

/* =========================================================
   TOPBAR
========================================================= */

.mcd-topbar {
    position: relative;
    z-index: 1100;
    min-height: 30px;
    color: rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(
            90deg,
            var(--mcd-blue-950),
            var(--mcd-blue-700)
        );
    font-size: 0.72rem;
}

.mcd-topbar__inner {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.mcd-topbar__links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mcd-topbar a {
    color: rgba(255, 255, 255, 0.78);
    transition: color var(--mcd-ease);
}

.mcd-topbar a:hover {
    color: var(--mcd-white);
}

/* =========================================================
   HEADER
========================================================= */

.mcd-header {
    position: absolute;
    top: 30px;
    right: 0;
    left: 0;
    z-index: 1050;
    color: var(--mcd-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition:
        background var(--mcd-ease),
        box-shadow var(--mcd-ease),
        transform var(--mcd-ease);
}

.mcd-header.is-scrolled {
    position: fixed;
    top: 0;
    background: rgba(13, 25, 51, 0.96);
    box-shadow: 0 16px 40px rgba(6, 16, 34, 0.18);
    backdrop-filter: blur(18px);
}

.mcd-header__inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.mcd-brand {
    flex: 0 0 auto;
}

.mcd-brand img {
    width: 220px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.mcd-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2vw, 32px);
    margin-left: auto;
}

.mcd-main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 82px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color var(--mcd-ease);
}

.mcd-main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 17px;
    left: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--mcd-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--mcd-ease);
}

.mcd-main-nav a:hover,
.mcd-main-nav a.is-active {
    color: var(--mcd-white);
}

.mcd-main-nav a:hover::after,
.mcd-main-nav a.is-active::after {
    transform: scaleX(1);
}

.mcd-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mcd-round-button,
.mcd-menu-trigger {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    color: var(--mcd-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition:
        transform var(--mcd-ease),
        background var(--mcd-ease),
        border-color var(--mcd-ease);
}

.mcd-round-button:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.mcd-round-button svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
}

.mcd-menu-trigger {
    display: none;
}

.mcd-menu-trigger span {
    position: absolute;
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition:
        transform var(--mcd-ease),
        opacity var(--mcd-ease);
}

.mcd-menu-trigger span:nth-child(1) {
    transform: translateY(-6px);
}

.mcd-menu-trigger span:nth-child(3) {
    transform: translateY(6px);
}

.mcd-menu-trigger.is-active span:nth-child(1) {
    transform: rotate(45deg);
}

.mcd-menu-trigger.is-active span:nth-child(2) {
    opacity: 0;
}

.mcd-menu-trigger.is-active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* =========================================================
   BOTONES
========================================================= */

.mcd-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    box-shadow: none;
    transition:
        transform var(--mcd-ease),
        background var(--mcd-ease),
        color var(--mcd-ease),
        border-color var(--mcd-ease),
        box-shadow var(--mcd-ease);
}

.mcd-button:hover {
    transform: translateY(-2px);
}

.mcd-button span {
    transition: transform var(--mcd-ease);
}

.mcd-button:hover span {
    transform: translateX(4px);
}

.mcd-button--gold {
    color: var(--mcd-blue-950) !important;
    background: var(--mcd-gold);
    box-shadow: 0 12px 28px rgba(240, 161, 26, 0.23);
}

.mcd-button--gold:hover {
    color: var(--mcd-blue-950) !important;
    background: var(--mcd-gold-light);
    box-shadow: 0 16px 34px rgba(240, 161, 26, 0.3);
}

.mcd-button--blue {
    color: var(--mcd-white) !important;
    background: var(--mcd-blue-700);
    box-shadow: 0 12px 28px rgba(33, 61, 112, 0.2);
}

.mcd-button--blue:hover {
    color: var(--mcd-white) !important;
    background: var(--mcd-blue-800);
    box-shadow: 0 16px 34px rgba(31, 48, 89, 0.25);
}

.mcd-button--outline-light {
    color: var(--mcd-white) !important;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.mcd-button--outline-light:hover {
    color: var(--mcd-white) !important;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.16);
}

/* =========================================================
   BUSCADOR GLOBAL
========================================================= */

.mcd-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: start center;
    padding: 110px 20px 40px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--mcd-ease),
        visibility var(--mcd-ease);
}

.mcd-search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mcd-search-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 15, 32, 0.74);
    backdrop-filter: blur(8px);
}

.mcd-search-overlay__panel {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    padding: 42px;
    border-radius: var(--mcd-radius-large);
    background: var(--mcd-white);
    box-shadow: var(--mcd-shadow-large);
    transform: translateY(-25px);
    transition: transform var(--mcd-ease);
}

.mcd-search-overlay.is-open .mcd-search-overlay__panel {
    transform: translateY(0);
}

.mcd-search-overlay__panel h2 {
    margin: 10px 0 26px;
    color: var(--mcd-blue-800);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.045em;
}

.mcd-search-overlay__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--mcd-blue-800);
    border: 0;
    border-radius: 50%;
    background: var(--mcd-surface);
    font-size: 1.8rem;
    line-height: 1;
}

.mcd-search-overlay__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 12px;
}

/* =========================================================
   CAMPOS DE BÚSQUEDA
========================================================= */

.mcd-search-field {
    min-width: 0;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 18px;
    border: 1px solid var(--mcd-border);
    border-radius: 999px;
    background: var(--mcd-surface);
    transition:
        border-color var(--mcd-ease),
        box-shadow var(--mcd-ease),
        background var(--mcd-ease);
}

.mcd-search-field:focus-within {
    border-color: rgba(33, 61, 112, 0.36);
    background: var(--mcd-white);
    box-shadow: 0 0 0 4px rgba(204, 240, 255, 0.62);
}

.mcd-search-field svg {
    width: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--mcd-blue-700);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.mcd-search-field input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0;
    color: var(--mcd-text);
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mcd-search-field input::placeholder {
    color: #8c96a9;
}

/* =========================================================
   HERO
========================================================= */

.mcd-hero {
    position: relative;
    height: min(840px, 88vh);
    min-height: 720px;
    overflow: hidden;
    color: var(--mcd-white);
    background: var(--mcd-blue-950);
    isolation: isolate;
}

.mcd-hero__slides,
.mcd-hero-slide {
    position: absolute;
    inset: 0;
}

.mcd-hero-slide {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 900ms ease,
        visibility 900ms ease;
}

.mcd-hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.mcd-hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
    transition: transform 8s ease;
}

.mcd-hero-slide.is-active > img {
    transform: scale(1);
}

.mcd-hero-slide:nth-child(1) > img {
    object-position: center 34%;
}

.mcd-hero-slide:nth-child(2) > img {
    object-position: center 42%;
}

.mcd-hero-slide:nth-child(3) > img {
    object-position: center 48%;
}

.mcd-hero-slide:nth-child(4) > img {
    object-position: center 48%;
}

.mcd-hero-slide:nth-child(5) > img {
    object-position: center 45%;
}

.mcd-hero-slide__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 16, 34, 0.96) 0%,
            rgba(10, 23, 48, 0.84) 34%,
            rgba(10, 23, 48, 0.3) 69%,
            rgba(7, 16, 34, 0.52) 100%
        ),
        linear-gradient(
            0deg,
            rgba(6, 16, 35, 0.84) 0%,
            transparent 48%
        );
}

.mcd-hero-slide__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 112px;
    padding-bottom: 150px;
}

.mcd-hero-copy {
    max-width: 690px;
    opacity: 0;
    transform: translateY(28px);
}

.mcd-hero-slide.is-active .mcd-hero-copy {
    animation: mcdHeroCopyIn 850ms 180ms forwards;
}

.mcd-hero-copy__kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--mcd-gold-light);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.mcd-hero-copy__kicker::before {
    content: "";
    width: 38px;
    height: 2px;
    border-radius: 999px;
    background: var(--mcd-gold);
}

.mcd-hero-copy h1,
.mcd-hero-copy h2 {
    max-width: 700px;
    margin: 25px 0 22px;
    color: var(--mcd-white) !important;
    font-size: clamp(3.6rem, 7.3vw, 6.9rem);
    font-weight: 760;
    line-height: 0.9;
    letter-spacing: -0.065em;
}

.mcd-hero-copy h1 strong,
.mcd-hero-copy h2 strong {
    display: block;
    color: var(--mcd-gold-light);
    font-weight: inherit;
}

.mcd-hero-copy p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.7;
}

.mcd-hero-copy__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.mcd-hero__bottom {
    position: absolute;
    right: 0;
    bottom: 25px;
    left: 0;
    z-index: 5;
}

.mcd-hero__bottom-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 34px;
}

.mcd-hero-stats {
    width: min(780px, 100%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mcd-hero-stats > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 17px 22px 0 0;
}

.mcd-hero-stats > div + div {
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.mcd-hero-stats strong {
    color: var(--mcd-gold-light);
    font-size: 1.65rem;
    line-height: 1;
}

.mcd-hero-stats span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.7rem;
    line-height: 1.35;
}

.mcd-hero-controls {
    display: flex;
    align-items: center;
    gap: 13px;
}

.mcd-hero-controls > button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--mcd-white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition:
        background var(--mcd-ease),
        transform var(--mcd-ease);
}

.mcd-hero-controls > button:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.mcd-hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.mcd-hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    transition:
        width var(--mcd-ease),
        background var(--mcd-ease);
}

.mcd-hero-dot.is-active {
    width: 28px;
    background: var(--mcd-gold);
}

.mcd-hero-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 6;
    height: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.mcd-hero-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--mcd-gold);
    transform: scaleX(0);
    transform-origin: left center;
}

.mcd-hero-progress span.is-running {
    animation: mcdHeroProgress 6.5s linear forwards;
}

/* =========================================================
   SECCIONES Y TÍTULOS
========================================================= */

.mcd-section {
    padding: 110px 0;
}

.mcd-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--mcd-terracotta);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.mcd-kicker::before {
    content: "";
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: var(--mcd-gold);
}

.mcd-kicker--light {
    color: var(--mcd-gold-light);
}

.mcd-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 46px;
}

.mcd-section-heading--row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.mcd-section-heading h2,
.mcd-heritage__copy h2,
.mcd-program__copy h2,
.mcd-numbers__heading h2 {
    margin: 10px 0 0;
    color: var(--mcd-blue-800) !important;
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.mcd-section-heading > p {
    margin: 0;
    color: var(--mcd-text-soft);
    line-height: 1.75;
}

/* =========================================================
   DESCUBRIMIENTO
========================================================= */

.mcd-discovery {
    position: relative;
    z-index: 10;
    margin-top: -58px;
}

.mcd-discovery__card {
    padding: 30px;
    border: 1px solid rgba(31, 48, 89, 0.08);
    border-radius: var(--mcd-radius-large);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--mcd-shadow-large);
    backdrop-filter: blur(18px);
}

.mcd-discovery__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.mcd-discovery__heading h2 {
    margin: 4px 0 0;
    color: var(--mcd-blue-800) !important;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.mcd-discovery__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 12px;
}

.mcd-discovery__links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.mcd-discovery__links a {
    padding: 9px 14px;
    color: var(--mcd-blue-700);
    border: 1px solid var(--mcd-border);
    border-radius: 999px;
    background: var(--mcd-white);
    font-size: 0.75rem;
    font-weight: 750;
    transition:
        color var(--mcd-ease),
        border-color var(--mcd-ease),
        background var(--mcd-ease),
        transform var(--mcd-ease);
}

.mcd-discovery__links a:hover {
    color: var(--mcd-white);
    border-color: var(--mcd-blue-700);
    background: var(--mcd-blue-700);
    transform: translateY(-2px);
}

/* =========================================================
   ÁREAS
========================================================= */

.mcd-areas {
    padding-top: 130px;
    background:
        radial-gradient(
            circle at 4% 4%,
            rgba(204, 240, 255, 0.62),
            transparent 30%
        ),
        var(--mcd-white);
}

.mcd-area-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    grid-template-rows: repeat(2, 285px);
    gap: 18px;
}

.mcd-area-card {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--mcd-radius-medium);
    background: var(--mcd-blue-800);
    box-shadow: var(--mcd-shadow-soft);
}

.mcd-area-card--feature {
    grid-row: 1 / 3;
}

.mcd-area-card--wide {
    grid-column: 2 / 4;
}

.mcd-area-card > img {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center;
    transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mcd-area-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7, 18, 39, 0.04) 20%,
            rgba(7, 18, 39, 0.88) 100%
        );
}

.mcd-area-card__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 26px;
    color: var(--mcd-white);
}

.mcd-area-card__content > span {
    color: var(--mcd-gold-light);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.mcd-area-card h3 {
    margin: 7px 0 4px;
    color: var(--mcd-white) !important;
    font-size: 1.55rem;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.mcd-area-card p {
    max-width: 300px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
}

.mcd-area-card b {
    position: absolute;
    right: 25px;
    bottom: 27px;
    color: var(--mcd-gold-light);
    font-size: 0.72rem;
    transition: transform var(--mcd-ease);
}

.mcd-area-card:hover > img {
    transform: scale(1.06);
}

.mcd-area-card:hover b {
    transform: translateX(5px);
}

/* =========================================================
   AGENDA
========================================================= */

.mcd-agenda {
    background: var(--mcd-surface);
}

.mcd-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--mcd-blue-700) !important;
    font-size: 0.82rem;
    font-weight: 800;
}

.mcd-arrow-link span {
    transition: transform var(--mcd-ease);
}

.mcd-arrow-link:hover span {
    transform: translateX(5px);
}

.mcd-arrow-link--light {
    color: var(--mcd-gold-light) !important;
}

.mcd-events {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mcd-event {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--mcd-border);
    border-radius: var(--mcd-radius-medium);
    background: var(--mcd-white);
    box-shadow: 0 10px 30px rgba(21, 38, 72, 0.06);
    transition:
        transform var(--mcd-ease),
        box-shadow var(--mcd-ease);
}

.mcd-event:hover {
    transform: translateY(-7px);
    box-shadow: var(--mcd-shadow-medium);
}

.mcd-event__image {
    position: relative;
    height: 230px;
    display: block;
    overflow: hidden;
}

.mcd-event__image img {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center;
    transition: transform 800ms ease;
}

.mcd-event__image > span {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 7px 11px;
    color: var(--mcd-blue-950);
    border-radius: 999px;
    background: var(--mcd-gold-light);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mcd-event:hover .mcd-event__image img {
    transform: scale(1.05);
}

.mcd-event__body {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
}

.mcd-event__date {
    width: 60px;
    height: 60px;
    display: grid;
    place-content: center;
    text-align: center;
    color: var(--mcd-white);
    border-radius: 15px;
    background: var(--mcd-blue-800);
}

.mcd-event__date strong {
    font-size: 1.35rem;
    line-height: 1;
}

.mcd-event__date small {
    margin-top: 4px;
    font-size: 0.58rem;
    font-weight: 800;
}

.mcd-event h3 {
    margin: 0;
    color: var(--mcd-blue-800) !important;
    font-size: 1.02rem;
    line-height: 1.3;
}

.mcd-event h3 a {
    color: var(--mcd-blue-800) !important;
}

.mcd-event p {
    margin: 5px 0;
    color: var(--mcd-text-soft);
    font-size: 0.8rem;
}

.mcd-event__body > div:last-child > small {
    color: #7d8799;
    font-size: 0.7rem;
}

/* =========================================================
   PATRIMONIO
========================================================= */

.mcd-heritage {
    background: var(--mcd-white);
}

.mcd-heritage__layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    min-height: 540px;
    overflow: hidden;
    border-radius: var(--mcd-radius-xlarge);
    background: var(--mcd-sky-soft);
}

.mcd-heritage__copy {
    align-self: center;
    padding: clamp(38px, 6vw, 78px);
}

.mcd-heritage__copy p {
    margin: 24px 0 30px;
    color: var(--mcd-text-soft);
    line-height: 1.8;
}

.mcd-heritage__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.mcd-heritage__visual {
    position: relative;
    min-height: 540px;
    overflow: hidden;
}

.mcd-heritage__visual > img {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center;
    transition: transform 1000ms ease;
}

.mcd-heritage__layout:hover .mcd-heritage__visual > img {
    transform: scale(1.035);
}

.mcd-heritage__floating-card {
    position: absolute;
    right: 25px;
    bottom: 25px;
    width: min(260px, calc(100% - 50px));
    padding: 20px;
    color: var(--mcd-white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: rgba(13, 25, 51, 0.82);
    backdrop-filter: blur(12px);
}

.mcd-heritage__floating-card span,
.mcd-heritage__floating-card strong,
.mcd-heritage__floating-card a {
    display: block;
}

.mcd-heritage__floating-card span {
    color: var(--mcd-gold-light);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mcd-heritage__floating-card strong {
    margin-top: 6px;
    font-size: 1.08rem;
}

.mcd-heritage__floating-card a {
    margin-top: 12px;
    color: var(--mcd-white) !important;
    font-size: 0.75rem;
    font-weight: 800;
}

.mcd-heritage-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.mcd-heritage-gallery__item {
    position: relative;
    height: 230px;
    overflow: hidden;
    border-radius: var(--mcd-radius-medium);
    background: var(--mcd-blue-800);
}

.mcd-heritage-gallery__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 35%,
            rgba(8, 19, 40, 0.8) 100%
        );
}

.mcd-heritage-gallery__item img {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    transition: transform 800ms ease;
}

.mcd-heritage-gallery__item span {
    position: absolute;
    bottom: 18px;
    left: 20px;
    z-index: 2;
    color: var(--mcd-white);
    font-size: 0.88rem;
    font-weight: 800;
}

.mcd-heritage-gallery__item:hover img {
    transform: scale(1.06);
}

/* =========================================================
   PROGRAMAS
========================================================= */

.mcd-programs {
    padding-top: 0;
    background: var(--mcd-white);
}

.mcd-program {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    min-height: 500px;
    overflow: hidden;
    border-radius: var(--mcd-radius-large);
}

.mcd-program + .mcd-program {
    margin-top: 22px;
}

.mcd-program--arts {
    color: var(--mcd-white);
    background: var(--mcd-blue-800);
}

.mcd-program--sports {
    grid-template-columns: 0.92fr 1.08fr;
    background: var(--mcd-sky-soft);
}

.mcd-program__image {
    min-width: 0;
    min-height: 500px;
    overflow: hidden;
}

.mcd-program__image img {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center;
    transition: transform 900ms ease;
}

.mcd-program:hover .mcd-program__image img {
    transform: scale(1.04);
}

.mcd-program__copy {
    align-self: center;
    padding: clamp(38px, 6vw, 72px);
}

.mcd-program--arts .mcd-program__copy h2 {
    color: var(--mcd-white) !important;
}

.mcd-program__copy p {
    margin: 22px 0 28px;
    color: var(--mcd-text-soft);
    line-height: 1.8;
}

.mcd-program--arts .mcd-program__copy p {
    color: rgba(255, 255, 255, 0.72);
}

.mcd-program__links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
}

.mcd-program__links a {
    padding: 9px 13px;
    color: var(--mcd-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.73rem;
    font-weight: 700;
    transition:
        background var(--mcd-ease),
        transform var(--mcd-ease);
}

.mcd-program__links a:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.mcd-program__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 30px 0;
}

.mcd-program__metrics > div {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(31, 48, 89, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
}

.mcd-program__metrics strong,
.mcd-program__metrics span {
    display: block;
}

.mcd-program__metrics strong {
    color: var(--mcd-blue-800);
    font-size: 1.55rem;
}

.mcd-program__metrics span {
    margin-top: 4px;
    color: var(--mcd-text-soft);
    font-size: 0.68rem;
    line-height: 1.35;
}

/* =========================================================
   SERVICIOS
========================================================= */

.mcd-services {
    background: var(--mcd-surface);
}

.mcd-services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.mcd-service {
    min-width: 0;
    min-height: 116px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--mcd-border);
    border-radius: var(--mcd-radius-medium);
    background: var(--mcd-white);
    box-shadow: 0 8px 22px rgba(21, 38, 72, 0.04);
    transition:
        transform var(--mcd-ease),
        box-shadow var(--mcd-ease),
        border-color var(--mcd-ease);
}

.mcd-service:hover {
    border-color: rgba(33, 61, 112, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--mcd-shadow-soft);
}

.mcd-service__icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    color: var(--mcd-blue-700);
    border-radius: 15px;
    background: var(--mcd-sky-soft);
}

.mcd-service__icon svg {
    width: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mcd-service__text {
    min-width: 0;
}

.mcd-service__text strong,
.mcd-service__text small {
    display: block;
}

.mcd-service__text strong {
    color: var(--mcd-blue-800);
    font-size: 0.86rem;
    line-height: 1.3;
}

.mcd-service__text small {
    margin-top: 4px;
    color: var(--mcd-text-soft);
    font-size: 0.68rem;
}

.mcd-service__arrow {
    color: var(--mcd-terracotta);
    font-size: 1.05rem;
    transition: transform var(--mcd-ease);
}

.mcd-service:hover .mcd-service__arrow {
    transform: translateX(5px);
}

/* =========================================================
   CIFRAS
========================================================= */

.mcd-numbers {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    color: var(--mcd-white);
    background:
        linear-gradient(
            110deg,
            var(--mcd-blue-950),
            var(--mcd-blue-700)
        );
}

.mcd-numbers::before,
.mcd-numbers::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.mcd-numbers::before {
    top: -180px;
    right: -80px;
    width: 470px;
    height: 470px;
}

.mcd-numbers::after {
    bottom: -260px;
    left: -150px;
    width: 560px;
    height: 560px;
}

.mcd-numbers .mcd-shell {
    position: relative;
    z-index: 1;
}

.mcd-numbers__heading h2 {
    color: var(--mcd-white) !important;
}

.mcd-numbers__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 48px;
}

.mcd-number {
    min-width: 0;
    padding: 0 34px;
}

.mcd-number:first-child {
    padding-left: 0;
}

.mcd-number + .mcd-number {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.mcd-number strong {
    display: block;
    color: var(--mcd-gold-light);
    font-size: clamp(3.5rem, 6vw, 5.6rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.mcd-number span {
    display: block;
    max-width: 190px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.76rem;
    line-height: 1.45;
}

/* =========================================================
   NOTICIAS
========================================================= */

.mcd-news {
    background: var(--mcd-white);
}

.mcd-news__grid {
    display: grid;
    grid-template-columns: 1.22fr 0.78fr 0.78fr;
    gap: 18px;
}

.mcd-news-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--mcd-border);
    border-radius: var(--mcd-radius-medium);
    background: var(--mcd-white);
    transition:
        transform var(--mcd-ease),
        box-shadow var(--mcd-ease);
}

.mcd-news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mcd-shadow-medium);
}

.mcd-news-card__image {
    height: 230px;
    display: block;
    overflow: hidden;
}

.mcd-news-card--featured .mcd-news-card__image {
    height: 320px;
}

.mcd-news-card__image img {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    transition: transform 800ms ease;
}

.mcd-news-card:hover .mcd-news-card__image img {
    transform: scale(1.05);
}

.mcd-news-card__content {
    padding: 24px;
}

.mcd-news-card__content > span {
    color: var(--mcd-terracotta);
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mcd-news-card h3 {
    margin: 10px 0;
    color: var(--mcd-blue-800) !important;
    font-size: 1.15rem;
    line-height: 1.3;
}

.mcd-news-card--featured h3 {
    font-size: 1.55rem;
}

.mcd-news-card h3 a {
    color: var(--mcd-blue-800) !important;
}

.mcd-news-card h3 a:hover {
    color: var(--mcd-blue-600) !important;
}

.mcd-news-card p {
    margin-bottom: 18px;
    color: var(--mcd-text-soft);
    font-size: 0.84rem;
    line-height: 1.7;
}

.mcd-news-card small {
    color: #818b9d;
    font-size: 0.69rem;
}

/* =========================================================
   FOOTER
========================================================= */

.mcd-footer {
    position: relative;
    overflow: hidden;
    padding: 78px 0 24px;
    color: rgba(255, 255, 255, 0.7);
    background: var(--mcd-blue-950);
}

.mcd-footer::after {
    content: "";
    position: absolute;
    right: -160px;
    bottom: -190px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.mcd-footer__main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 0.72fr);
    gap: 55px;
}

.mcd-footer__identity img {
    width: 235px;
    height: 68px;
    object-fit: contain;
    object-position: left center;
}

.mcd-footer__identity p {
    max-width: 390px;
    margin: 24px 0 0;
    font-size: 0.82rem;
    line-height: 1.8;
}

.mcd-footer__column h3 {
    margin: 0 0 20px;
    color: var(--mcd-white) !important;
    font-size: 0.88rem;
}

.mcd-footer__column a,
.mcd-footer__column p {
    display: block;
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 0.76rem;
    line-height: 1.7;
}

.mcd-footer__column a {
    transition:
        color var(--mcd-ease),
        transform var(--mcd-ease);
}

.mcd-footer__column a:hover {
    color: var(--mcd-gold-light) !important;
    transform: translateX(4px);
}

.mcd-footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 64px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.66rem;
}

.mcd-footer__bottom > div {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.mcd-footer__bottom a {
    color: rgba(255, 255, 255, 0.64) !important;
}

.mcd-footer__bottom a:hover {
    color: var(--mcd-gold-light) !important;
}

/* =========================================================
   TOAST
========================================================= */

.mcd-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2500;
    max-width: min(420px, calc(100% - 48px));
    padding: 16px 20px;
    color: var(--mcd-white);
    border-left: 4px solid var(--mcd-gold);
    border-radius: 13px;
    background: var(--mcd-blue-950);
    box-shadow: var(--mcd-shadow-large);
    opacity: 0;
    transform: translateY(22px);
    pointer-events: none;
    transition:
        opacity var(--mcd-ease),
        transform var(--mcd-ease);
}

.mcd-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   REVEAL
========================================================= */

.mcd-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mcd-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mcd-area-grid .mcd-reveal:nth-child(2),
.mcd-events .mcd-reveal:nth-child(2),
.mcd-services__grid .mcd-reveal:nth-child(2),
.mcd-heritage-gallery .mcd-reveal:nth-child(2),
.mcd-news__grid .mcd-reveal:nth-child(2) {
    transition-delay: 90ms;
}

.mcd-area-grid .mcd-reveal:nth-child(3),
.mcd-events .mcd-reveal:nth-child(3),
.mcd-services__grid .mcd-reveal:nth-child(3),
.mcd-heritage-gallery .mcd-reveal:nth-child(3),
.mcd-news__grid .mcd-reveal:nth-child(3) {
    transition-delay: 170ms;
}

.mcd-area-grid .mcd-reveal:nth-child(4),
.mcd-services__grid .mcd-reveal:nth-child(4) {
    transition-delay: 240ms;
}

/* =========================================================
   ANIMACIONES
========================================================= */

@keyframes mcdHeroCopyIn {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mcdHeroProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1180px) {
    .mcd-header__agenda {
        display: none;
    }

    .mcd-main-nav {
        gap: 18px;
    }

    .mcd-brand img {
        width: 195px;
    }

    .mcd-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .mcd-menu-trigger {
        display: inline-grid;
    }

    .mcd-main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1200;
        width: min(390px, 88vw);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        margin: 0;
        padding: 110px 30px 40px;
        color: var(--mcd-white);
        background: var(--mcd-blue-950);
        box-shadow: -30px 0 70px rgba(0, 0, 0, 0.28);
        transform: translateX(105%);
        transition: transform var(--mcd-ease);
    }

    .mcd-main-nav.is-open {
        transform: translateX(0);
    }

    .mcd-main-nav a {
        min-height: auto;
        padding: 17px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
    }

    .mcd-main-nav a::after {
        right: auto;
        bottom: 8px;
        width: 38px;
    }

    .mcd-header__actions {
        margin-left: auto;
    }

    .mcd-area-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, 330px);
    }

    .mcd-area-card--feature {
        grid-row: auto;
    }

    .mcd-area-card--wide {
        grid-column: auto;
    }

    .mcd-program,
    .mcd-program--sports {
        grid-template-columns: 1fr;
    }

    .mcd-program--sports .mcd-program__image {
        order: -1;
    }

    .mcd-program__image {
        min-height: 380px;
    }

    .mcd-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mcd-news-card--featured {
        grid-column: 1 / 3;
    }

    .mcd-footer__main {
        grid-template-columns: 1.2fr repeat(2, 0.8fr);
    }

    .mcd-footer__column:last-child {
        grid-column: 2 / 4;
    }
}

/* =========================================================
   TABLET PEQUEÑA
========================================================= */

@media (max-width: 820px) {
    .mcd-topbar__links {
        display: none;
    }

    .mcd-header__inner {
        min-height: 72px;
    }

    .mcd-brand img {
        width: 172px;
        height: 50px;
    }

    .mcd-hero {
        height: 790px;
        min-height: 790px;
    }

    .mcd-hero-slide__content {
        align-items: flex-start;
        padding-top: 180px;
        padding-bottom: 210px;
    }

    .mcd-hero-slide__veil {
        background:
            linear-gradient(
                90deg,
                rgba(7, 16, 34, 0.96) 0%,
                rgba(10, 23, 48, 0.76) 68%,
                rgba(7, 16, 34, 0.55) 100%
            ),
            linear-gradient(
                0deg,
                rgba(6, 16, 35, 0.9) 0%,
                transparent 55%
            );
    }

    .mcd-hero-copy {
        max-width: 590px;
    }

    .mcd-hero-copy h1,
    .mcd-hero-copy h2 {
        font-size: clamp(3.4rem, 11vw, 5.7rem);
    }

    .mcd-hero__bottom-inner {
        align-items: flex-end;
    }

    .mcd-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 540px;
    }

    .mcd-hero-stats > div {
        padding: 12px 16px 0 0;
    }

    .mcd-hero-stats > div + div {
        padding-left: 16px;
    }

    .mcd-hero-stats > div:nth-child(3) {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .mcd-hero-stats > div:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .mcd-discovery__heading {
        display: block;
    }

    .mcd-discovery__heading h2 {
        margin-top: 8px;
    }

    .mcd-section {
        padding: 84px 0;
    }

    .mcd-section-heading,
    .mcd-section-heading--row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mcd-events {
        grid-template-columns: 1fr;
    }

    .mcd-event {
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
    }

    .mcd-event__image {
        height: 100%;
        min-height: 230px;
    }

    .mcd-event__body {
        align-self: center;
    }

    .mcd-heritage__layout {
        grid-template-columns: 1fr;
    }

    .mcd-heritage__visual {
        min-height: 420px;
    }

    .mcd-heritage-gallery {
        grid-template-columns: 1fr;
    }

    .mcd-heritage-gallery__item {
        height: 300px;
    }

    .mcd-program__metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mcd-numbers__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 0;
    }

    .mcd-number:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }
}

/* =========================================================
   TELÉFONO
========================================================= */

@media (max-width: 640px) {
    .mcd-shell {
        width: min(calc(100% - 28px), var(--mcd-shell));
    }

    .mcd-topbar__inner {
        justify-content: center;
        text-align: center;
    }

    .mcd-header {
        top: 30px;
    }

    .mcd-header.is-scrolled {
        top: 0;
    }

    .mcd-brand img {
        width: 150px;
    }

    .mcd-round-button {
        display: none;
    }

    .mcd-hero {
        height: 790px;
        min-height: 790px;
    }

    .mcd-hero-slide__content {
        padding-top: 155px;
        padding-bottom: 245px;
    }

    .mcd-hero-slide > img {
        object-position: 60% center;
    }

    .mcd-hero-slide:nth-child(1) > img {
        object-position: 64% center;
    }

    .mcd-hero-copy h1,
    .mcd-hero-copy h2 {
        font-size: clamp(3rem, 15vw, 4.7rem);
    }

    .mcd-hero-copy p {
        font-size: 0.95rem;
    }

    .mcd-hero-copy__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mcd-hero-copy__actions .mcd-button {
        width: 100%;
    }

    .mcd-hero__bottom {
        bottom: 26px;
    }

    .mcd-hero__bottom-inner {
        display: block;
    }

    .mcd-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mcd-hero-stats > div {
        min-height: 62px;
    }

    .mcd-hero-stats strong {
        font-size: 1.35rem;
    }

    .mcd-hero-stats span {
        font-size: 0.62rem;
    }

    .mcd-hero-controls {
        justify-content: flex-end;
        margin-top: 13px;
    }

    .mcd-discovery {
        margin-top: -28px;
    }

    .mcd-discovery__card {
        padding: 22px;
        border-radius: 24px;
    }

    .mcd-discovery__form,
    .mcd-search-overlay__form {
        grid-template-columns: 1fr;
    }

    .mcd-discovery__form .mcd-button,
    .mcd-search-overlay__form .mcd-button {
        width: 100%;
    }

    .mcd-search-overlay__panel {
        padding: 34px 22px 24px;
    }

    .mcd-area-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .mcd-area-card,
    .mcd-area-card--feature,
    .mcd-area-card--wide {
        min-height: 350px;
    }

    .mcd-area-card b {
        position: static;
        display: block;
        margin-top: 14px;
    }

    .mcd-event {
        display: block;
    }

    .mcd-event__image {
        height: 230px;
    }

    .mcd-heritage__copy,
    .mcd-program__copy {
        padding: 34px 24px;
    }

    .mcd-heritage__visual {
        min-height: 360px;
    }

    .mcd-heritage-gallery__item {
        height: 240px;
    }

    .mcd-program__image {
        min-height: 310px;
    }

    .mcd-program__metrics {
        grid-template-columns: 1fr;
    }

    .mcd-services__grid {
        grid-template-columns: 1fr;
    }

    .mcd-service {
        min-height: 100px;
    }

    .mcd-numbers__grid {
        grid-template-columns: 1fr;
    }

    .mcd-number,
    .mcd-number:first-child,
    .mcd-number:nth-child(3) {
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        border-left: 0;
    }

    .mcd-number:first-child {
        border-top: 0;
    }

    .mcd-news__grid {
        grid-template-columns: 1fr;
    }

    .mcd-news-card--featured {
        grid-column: auto;
    }

    .mcd-news-card--featured .mcd-news-card__image {
        height: 260px;
    }

    .mcd-footer__main {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .mcd-footer__column:last-child {
        grid-column: auto;
    }

    .mcd-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   REDUCCIÓN DE MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .mcd-home *,
    .mcd-home *::before,
    .mcd-home *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .mcd-reveal {
        opacity: 1;
        transform: none;
    }

    .mcd-hero-slide > img {
        transform: none;
    }
}

/* =========================================================
   HERO DINÁMICO PARA TODAS LAS PÁGINAS
========================================================= */

.mcd-hero-dynamic {
    position: relative;
    min-height: 380px;
    height: 45vh;
    max-height: 500px;
    overflow: hidden;
    color: var(--mcd-white, #ffffff);
    background: var(--mcd-blue-950, #0d1933);
    display: flex;
    align-items: center;
    isolation: isolate;
}

.mcd-hero-dynamic__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mcd-hero-dynamic__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform 10s ease;
}

.mcd-hero-dynamic:hover .mcd-hero-dynamic__background img {
    transform: scale(1.08);
}

.mcd-hero-dynamic__veil {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(
            135deg,
            rgba(13, 25, 51, 0.92) 0%,
            rgba(13, 25, 51, 0.6) 50%,
            rgba(13, 25, 51, 0.85) 100%
        );
}

.mcd-hero-dynamic__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 120px 0 60px;
    text-align: center;
}

.mcd-hero-dynamic__copy {
    max-width: 820px;
    margin: 0 auto;
}

.mcd-hero-dynamic__kicker {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 20px;
    border-radius: 999px;
    background: rgba(240, 161, 26, 0.2);
    color: var(--mcd-gold-light, #ffd491);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.mcd-hero-dynamic__copy h1 {
    margin: 0;
    color: var(--mcd-white, #ffffff) !important;
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* Animación suave de entrada */
.mcd-hero-dynamic__copy h1 {
    animation: mcdHeroDynamicIn 800ms 300ms forwards;
    opacity: 0;
    transform: translateY(20px);
}

.mcd-hero-dynamic__kicker {
    animation: mcdHeroDynamicIn 700ms 200ms forwards;
    opacity: 0;
    transform: translateY(15px);
}

@keyframes mcdHeroDynamicIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Meta para entradas (fecha y autor) */
.mcd-hero-dynamic__meta {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    animation: mcdHeroDynamicIn 800ms 500ms forwards;
    opacity: 0;
    transform: translateY(15px);
}

.mcd-hero-dynamic__meta time {
    font-weight: 500;
}

.mcd-hero-dynamic__separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Decoración inferior */
.mcd-hero-dynamic__bottom-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--mcd-gold, #f0a11a),
        var(--mcd-gold-light, #ffd491),
        var(--mcd-gold, #f0a11a)
    );
    background-size: 200% 100%;
    animation: mcdDecorationMove 4s linear infinite;
}

@keyframes mcdDecorationMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

/* =========================================================
   RESPONSIVE - HERO DINÁMICO
========================================================= */

@media (max-width: 768px) {
    .mcd-hero-dynamic {
        min-height: 300px;
        height: 35vh;
        max-height: 400px;
    }
    
    .mcd-hero-dynamic__content {
        padding: 100px 0 40px;
    }
    
    .mcd-hero-dynamic__copy h1 {
        font-size: clamp(2rem, 7vw, 3rem);
    }
    
    .mcd-hero-dynamic__meta {
        flex-direction: column;
        gap: 4px;
        font-size: 0.75rem;
    }
    
    .mcd-hero-dynamic__separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .mcd-hero-dynamic {
        min-height: 250px;
        height: 30vh;
        max-height: 350px;
    }
    
    .mcd-hero-dynamic__copy h1 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    
    .mcd-hero-dynamic__kicker {
        font-size: 0.6rem;
        padding: 4px 14px;
    }
}

/* =========================================================
   REDUCCIÓN DE MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .mcd-hero-dynamic__background img {
        transform: none !important;
        transition: none !important;
    }
    
    .mcd-hero-dynamic__copy h1,
    .mcd-hero-dynamic__kicker,
    .mcd-hero-dynamic__meta {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .mcd-hero-dynamic__bottom-decoration {
        animation: none !important;
        background: var(--mcd-gold, #f0a11a);
    }
}

/* =========================================================
   PÁGINA DE BÚSQUEDA - ESTILOS
========================================================= */

/* Hero de búsqueda */
.mcd-search-hero {
    padding: 60px 0 50px;
    background: linear-gradient(135deg, #0d1933 0%, #1f3059 100%);
    color: #ffffff;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.mcd-search-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(240, 161, 26, 0.05);
}

.mcd-search-hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(240, 161, 26, 0.03);
}

.mcd-search-hero__content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.mcd-search-hero__content .mcd-kicker {
    color: var(--mcd-gold-light);
}

.mcd-search-hero__content .mcd-kicker::before {
    background: var(--mcd-gold);
}

.mcd-search-hero__content h1 {
    margin: 16px 0 20px;
    color: #ffffff !important;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.mcd-search-hero__content h1 strong {
    color: var(--mcd-gold-light);
}

/* Formulario de búsqueda mejorado */
.mcd-search-form {
    max-width: 720px;
    margin: 0 auto;
}

.mcd-search-form__field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 4px 4px 20px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background var(--mcd-ease), border-color var(--mcd-ease);
}

.mcd-search-form__field:focus-within {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(240, 161, 26, 0.4);
    box-shadow: 0 0 0 4px rgba(240, 161, 26, 0.1);
}

.mcd-search-form__field svg {
    width: 22px;
    flex: 0 0 auto;
    fill: none;
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 2;
    stroke-linecap: round;
}

.mcd-search-form__field input {
    width: 100%;
    height: 52px;
    padding: 0;
    color: #ffffff;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    font-size: 1rem;
    box-shadow: none !important;
}

.mcd-search-form__field input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.mcd-search-form__field input:focus {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.mcd-search-form__field .mcd-button {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 28px;
}

/* Contador de resultados */
.mcd-search-hero__count {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.mcd-search-hero__count strong {
    color: var(--mcd-gold-light);
    font-weight: 700;
}

/* =========================================================
   GRID DE RESULTADOS
========================================================= */

.mcd-search-results {
    padding: 60px 0 80px;
    background: #f4f7fb;
}

.mcd-search-results__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* Tarjeta de resultado */
.mcd-search-result {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: transform var(--mcd-ease), box-shadow var(--mcd-ease);
}

.mcd-search-result:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.mcd-search-result__link {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

.mcd-search-result__image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #eef3f7;
}

.mcd-search-result__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.mcd-search-result:hover .mcd-search-result__image img {
    transform: scale(1.04);
}

.mcd-search-result__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0c4d8;
    background: #e8eef4;
}

.mcd-search-result__image--placeholder svg {
    width: 60px;
    height: 60px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.mcd-search-result__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(13, 25, 51, 0.85);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.mcd-search-result__content {
    padding: 20px 24px 24px;
}

.mcd-search-result__content h3 {
    margin: 0 0 10px;
    color: #1f3059 !important;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color var(--mcd-ease);
}

.mcd-search-result:hover .mcd-search-result__content h3 {
    color: #213d70 !important;
}

.mcd-search-result__content p {
    margin: 0 0 14px;
    color: #657086;
    font-size: 0.88rem;
    line-height: 1.6;
}

.mcd-search-result__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(31, 48, 89, 0.06);
    font-size: 0.75rem;
    color: #8c96a9;
}

.mcd-search-result__meta svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    margin-right: 4px;
}

.mcd-search-result__date,
.mcd-search-result__category {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.mcd-search-result__category a {
    color: #8c96a9;
    text-decoration: none !important;
    transition: color var(--mcd-ease);
}

.mcd-search-result__category a:hover {
    color: #213d70;
}

/* =========================================================
   PAGINACIÓN
========================================================= */

.mcd-search-pagination {
    margin-top: 48px;
    text-align: center;
}

.mcd-search-pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mcd-search-pagination li {
    display: inline-block;
}

.mcd-search-pagination a,
.mcd-search-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f3059;
    text-decoration: none !important;
    transition: background var(--mcd-ease), color var(--mcd-ease);
}

.mcd-search-pagination a {
    background: #ffffff;
}

.mcd-search-pagination a:hover {
    background: #213d70;
    color: #ffffff;
}

.mcd-search-pagination .current {
    background: var(--mcd-gold);
    color: #0d1933;
}

.mcd-search-pagination .dots {
    background: transparent;
    color: #8c96a9;
}

/* =========================================================
   SIN RESULTADOS
========================================================= */

.mcd-search-empty {
    max-width: 600px;
    margin: 40px auto;
    padding: 60px 40px;
    text-align: center;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.04);
}

.mcd-search-empty__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef3f7;
    color: #8c96a9;
}

.mcd-search-empty__icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.mcd-search-empty h2 {
    margin: 0 0 12px;
    color: #1f3059 !important;
    font-size: 1.8rem;
}

.mcd-search-empty p {
    margin: 0 0 28px;
    color: #657086;
    font-size: 1rem;
    line-height: 1.6;
}

.mcd-search-empty p strong {
    color: #213d70;
}

.mcd-search-empty__suggestions {
    margin-bottom: 32px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: left;
}

.mcd-search-empty__suggestions h4 {
    margin: 0 0 8px;
    color: #1f3059;
    font-size: 0.85rem;
}

.mcd-search-empty__suggestions ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #657086;
    font-size: 0.88rem;
    line-height: 1.8;
}

.mcd-search-empty__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.mcd-button--outline {
    color: #213d70 !important;
    border: 2px solid #213d70;
    background: transparent !important;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    transition: transform var(--mcd-ease), background var(--mcd-ease), color var(--mcd-ease);
}

.mcd-button--outline:hover {
    color: #ffffff !important;
    background: #213d70 !important;
    transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE - BÚSQUEDA
========================================================= */

@media (max-width: 768px) {
    .mcd-search-hero {
        padding: 40px 0 35px;
        margin-top: 0;
    }
    
    .mcd-search-hero__content h1 {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
    }
    
    .mcd-search-form__field {
        padding: 4px;
        flex-wrap: wrap;
        background: transparent;
        border: none;
        gap: 8px;
    }
    
    .mcd-search-form__field input {
        height: 48px;
        padding: 0 16px;
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
    
    .mcd-search-form__field input:focus {
        background: rgba(255, 255, 255, 0.14) !important;
        border-color: rgba(240, 161, 26, 0.3) !important;
    }
    
    .mcd-search-form__field .mcd-button {
        width: 100%;
        justify-content: center;
    }
    
    .mcd-search-form__field svg {
        display: none;
    }
    
    .mcd-search-results__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .mcd-search-result__image {
        height: 160px;
    }
    
    .mcd-search-empty {
        padding: 40px 24px;
    }
    
    .mcd-search-pagination a,
    .mcd-search-pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .mcd-search-result__content {
        padding: 16px;
    }
    
    .mcd-search-result__content h3 {
        font-size: 1rem;
    }
    
    .mcd-search-result__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}