﻿@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Barlow+Condensed:wght@400;600;700;800;900&family=Source+Sans+3:wght@400;600;700&display=swap');

/* â”€â”€â”€ TOKENS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
    /* Azul marino (la base de la guÃ­a) */
    --navy-deep:   #080f22;
    --navy-dark:   #0d1730;
    --navy-mid:    #102044;
    --navy-card:   #132558;
    --navy-hover:  #193070;

    /* Dorado (acento principal) */
    --gold:        #c9a027;
    --gold-soft:   #e0bc5e;
    --gold-bright: #f5d778;
    --gold-dark:   #8a6b14;

    /* Texto */
    --white:       #ffffff;
    --white-warm:  #f2eddf;
    --white-soft:  #c8d0e0;

    /* Bordes y sombras */
    --line:        rgba(201, 160, 39, 0.32);
    --line-bright: rgba(201, 160, 39, 0.65);
    --shadow-sm:   0 4px 18px rgba(0, 0, 0, 0.45);
    --shadow-md:   0 12px 40px rgba(0, 0, 0, 0.6);
    --shadow-lg:   0 24px 64px rgba(0, 0, 0, 0.75);
    --shadow-gold: 0 4px 24px rgba(201, 160, 39, 0.22);

    --page-bg-solid: var(--navy-deep);
    --anchor-offset: 8.2rem;
    --page-bg:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(19, 37, 88, 0.9), transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 5%, rgba(201, 160, 39, 0.06), transparent 45%),
        linear-gradient(175deg, #0a1228 0%, #080f22 50%, #060b18 100%);
    --grain-opacity: 0.4;
}

/* â”€â”€â”€ RESET / BASE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Source Sans 3", sans-serif;
    color: var(--white);
    background: var(--page-bg-solid);
    transition: background 0.28s ease;
}

html {
    scroll-padding-top: var(--anchor-offset);
}

header[id],
section[id],
footer[id] {
    scroll-margin-top: var(--anchor-offset);
}

body {
    position: relative;
    background: var(--page-bg);
    min-height: 100vh;
    transition: background 0.28s ease;
}

body.theme-light {
    --page-bg-solid: #ffffff;
    --page-bg: #ffffff;
    --grain-opacity: 0;
}

/* Grain sutil como en la guÃ­a */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: var(--grain-opacity);
    transition: opacity 0.24s ease;
}

body > * {
    position: relative;
    z-index: 1;
}

a {
    color: var(--gold-soft);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover,
a:focus-visible {
    color: var(--gold-bright);
    text-decoration: underline;
}

/* â”€â”€â”€ HEADER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 15, 34, 0.95);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-md);
}

.header-shell {
    width: min(1220px, 94vw);
    margin: 0 auto;
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: inherit;
}

.brand:hover {
    text-decoration: none;
}

.brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 18px rgba(201, 160, 39, 0.35), var(--shadow-sm);
}

.brand-kicker {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold-soft);
    font-weight: 600;
}

.brand h1 {
    margin: 0.1rem 0 0;
    font-family: "Cinzel", serif;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-weight: 700;
    line-height: 1;
    color: var(--white);
}

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1 1 auto;
}

.header-tools {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1 1 auto;
}

.main-nav a {
    padding: 0.38rem 0.7rem;
    border-radius: 6px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white-warm);
    transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: rgba(201, 160, 39, 0.15);
    color: var(--gold-soft);
    text-decoration: none;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--line-bright);
    border-radius: 999px;
    background: rgba(201, 160, 39, 0.12);
    color: var(--gold-soft);
    padding: 0.27rem 0.48rem;
    cursor: pointer;
    white-space: nowrap;
    margin-left: auto;
    min-height: 2.1rem;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover {
    background: rgba(201, 160, 39, 0.22);
    border-color: rgba(245, 215, 120, 0.65);
}

.theme-toggle:focus-visible {
    outline: 2px solid rgba(245, 215, 120, 0.72);
    outline-offset: 2px;
}

.theme-toggle__icon {
    width: 0.95rem;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.theme-toggle__track {
    position: relative;
    width: 2.45rem;
    height: 1.32rem;
    border-radius: 999px;
    background: rgba(6, 11, 24, 0.44);
    border: 1px solid rgba(245, 215, 120, 0.25);
}

.theme-toggle__thumb {
    position: absolute;
    top: 50%;
    left: 2px;
    width: 0.96rem;
    height: 0.96rem;
    border-radius: 50%;
    transform: translate(1.12rem, -50%);
    transition: transform 0.24s ease;
    background: linear-gradient(145deg, var(--gold-bright), var(--gold));
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.32);
}

body.theme-light .theme-toggle__thumb {
    transform: translate(0, -50%);
}

body.theme-light .theme-toggle__icon-sun {
    opacity: 1;
    color: var(--gold-bright);
    transform: scale(1.06);
}

body:not(.theme-light) .theme-toggle__icon-moon {
    opacity: 1;
    color: var(--gold-bright);
    transform: scale(1.06);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* â”€â”€â”€ MAIN LAYOUT â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
main {
    width: min(1220px, 94vw);
    margin: 1.5rem auto 3rem;
    display: grid;
    gap: 1.1rem;
}

/* â”€â”€â”€ HERO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    border: 1px solid var(--line-bright);
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--navy-card), var(--navy-mid));
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.04);
    position: relative;
}

/* Borde dorado superior decorativo */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-soft), var(--gold), transparent);
    z-index: 2;
}

.hero-photo {
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 65%, var(--navy-card) 100%);
    z-index: 1;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) contrast(1.12) brightness(0.88);
    display: block;
}

.hero-copy {
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
    display: grid;
    align-content: center;
    gap: 1rem;
}

.hero-eyebrow {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.hero-copy h2 {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    font-weight: 900;
    line-height: 1.06;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--white);
}

.hero-copy h2 span {
    color: var(--gold-soft);
}

.hero-copy > p {
    margin: 0;
    color: var(--white-soft);
    line-height: 1.62;
    font-size: 1rem;
}

/* MÃ©tricas */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.hero-metrics article {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem 0.6rem;
    background: rgba(201, 160, 39, 0.06);
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
}

.hero-metrics article:hover {
    border-color: var(--gold);
    background: rgba(201, 160, 39, 0.12);
}

.hero-metrics strong {
    display: block;
    color: var(--gold-soft);
    font-size: 1.4rem;
    font-family: "Cinzel", serif;
    font-weight: 700;
}

.hero-metrics span {
    font-size: 0.77rem;
    color: var(--white-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* CTA buttons */
.hero-cta {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    border-radius: 999px;
    padding: 0.65rem 1.2rem;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-gold {
    color: #0d1730;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    box-shadow: 0 6px 20px rgba(201, 160, 39, 0.38);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #fff0b0, var(--gold-soft));
    box-shadow: 0 10px 28px rgba(201, 160, 39, 0.55);
}

.btn-gold,
.btn-gold:hover,
.btn-gold:focus-visible,
.btn-gold:active {
    color: #0d1730;
    text-decoration: none;
}

.btn-line {
    color: var(--gold-soft);
    border-color: var(--gold);
    background: rgba(201, 160, 39, 0.07);
}

.btn-line:hover {
    background: rgba(201, 160, 39, 0.16);
    color: var(--gold-bright);
}

/* â”€â”€â”€ PANEL (tarjetas de secciÃ³n) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.panel {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(155deg, var(--navy-card), var(--navy-mid));
    padding: 1.6rem 1.4rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

/* Acento dorado lateral izquierdo (como en la guÃ­a) */
.panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
    border-radius: 0 3px 3px 0;
}

/* Brillo interior sutil */
.panel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201,160,39,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.panel h3 {
    margin: 0 0 1.1rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold-soft);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.panel h3::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--line-bright), transparent);
    min-width: 20px;
}

.panel p {
    color: var(--white-soft);
    line-height: 1.65;
    margin: 0 0 0.6rem;
}

/* â”€â”€â”€ TIMELINE HORIZONTAL â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.timeline {
    margin: 1.8rem 0 0.4rem;
    padding: 16px 0 0.5rem;   /* padding-top reserva espacio para el glow del punto */
    list-style: none;
    display: flex;
    gap: 0;
    position: relative;
    overflow-x: auto;
    overflow-y: visible;      /* evita que el glow quede cortado */
}

/* LÃ­nea dorada central que conecta los hitos */
.timeline::before {
    content: "";
    position: absolute;
    top: 26px;                /* 16px padding-top + 10px (mitad del punto 20px) */
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 2%, var(--gold) 10%, var(--gold) 90%, transparent 98%);
    z-index: 0;
}

.timeline li {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.5rem;
    position: relative;
    z-index: 1;
    cursor: default;
}

/* Punto dorado sobre la lÃ­nea */
.timeline li::before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--navy-mid);
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 160, 39, 0.15);
    flex-shrink: 0;
    margin-bottom: 1.1rem;    /* mÃ¡s separaciÃ³n entre punto y aÃ±o */
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.timeline li:hover::before {
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(201, 160, 39, 0.25), 0 0 16px rgba(201, 160, 39, 0.45);
    transform: scale(1.15);
}

.timeline span {
    display: block;
    color: var(--gold-soft);
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}

.timeline li small {
    color: var(--white-soft);
    font-size: 0.82rem;
    line-height: 1.35;
    max-width: 130px;
    display: block;
}

@media (max-width: 760px) {
    :root {
        --anchor-offset: 12.4rem;
    }

    .timeline {
        flex-direction: column;
        gap: 0;
        overflow-x: visible;
    }

    .timeline::before {
        top: 0;
        bottom: 0;
        left: 20px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, transparent 2%, var(--gold) 8%, var(--gold) 92%, transparent 98%);
    }

    .timeline li {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 0.5rem 0.5rem 0.5rem 0;
        gap: 0.9rem;
        min-width: unset;
    }

    .timeline li::before {
        margin-bottom: 0;
        margin-top: 0.15rem;
        flex-shrink: 0;
    }

    .timeline li small {
        max-width: none;
    }
}

@media (min-width: 761px) {
    #noticias {
        scroll-margin-top: calc(var(--anchor-offset) - 10.5rem);
    }
}

@media (min-width: 761px) {
    #galeria {
        scroll-margin-top: calc(var(--anchor-offset) - 10.5rem);
    }
}

@media (min-width: 761px) {
    #patrocinios {
        scroll-margin-top: calc(var(--anchor-offset) - 10.5rem);
    }
}

@media (min-width: 761px) {
    #contacto {
        scroll-margin-top: calc(var(--anchor-offset) - 10.5rem);
    }
}

/* â”€â”€â”€ EVENTS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.event-list {
    display: grid;
    gap: 0.8rem;
}

.event-list article {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.025);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    position: relative;
}

.event-list article:hover {
    border-color: var(--gold);
    background: rgba(201, 160, 39, 0.06);
    transform: translateX(4px);
}

.event-list time {
    display: inline-block;
    color: var(--white);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.45rem;
}

.event-list h4 {
    margin: 0.3rem 0 0.35rem;
    font-family: "Cinzel", serif;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 600;
}

.event-list p {
    margin: 0.15rem 0;
    font-size: 0.93rem;
}

.event-card {
    display: grid;
    gap: 0.52rem;
    position: relative;
}

.event-card.has-image {
    --event-thumb-right-gap: 1rem;
    padding-right: calc(108px + 0.85rem + var(--event-thumb-right-gap));
}

.event-card-layout {
    display: grid;
    gap: 0.28rem;
}

.event-card-copy {
    min-width: 0;
}

.event-thumb {
    position: absolute;
    top: 50%;
    right: var(--event-thumb-right-gap, 0);
    width: 108px;
    aspect-ratio: 1 / 1;
    height: 165px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    transform: translateY(-50%);
    display: block;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.event-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.event-location {
    margin-top: 0.28rem;
}

.content-chip {
    margin: 0 0 0.2rem;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid var(--line-bright);
    border-radius: 999px;
    padding: 0.14rem 0.52rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--gold-bright);
    background: rgba(201, 160, 39, 0.1);
}

.content-more {
    margin-top: 0.5rem;
    width: fit-content;
    border: 1px solid var(--line-bright);
    border-radius: 999px;
    padding: 0.36rem 0.86rem;
    background: rgba(201, 160, 39, 0.1);
    color: var(--gold-soft);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.content-more:hover {
    background: rgba(201, 160, 39, 0.2);
    border-color: var(--gold);
    color: var(--gold-bright);
}

/* â”€â”€â”€ NEWS GRID â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.news-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(19, 37, 88, 0.55);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.news-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    filter: saturate(0.85) brightness(0.9);
    transition: filter 0.3s;
}

.news-card:hover img {
    filter: saturate(1) brightness(0.95);
}

.news-body {
    padding: 0.85rem 0.9rem;
}

.news-date {
    margin: 0 0 0.35rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
}

.news-body h4 {
    margin: 0 0 0.4rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.28;
}

.news-body p {
    margin: 0.2rem 0;
    color: var(--white-soft);
    font-size: 0.93rem;
}

.news-rich-text {
    margin-top: 0.5rem;
    color: var(--white-soft);
    font-size: 0.94rem;
    line-height: 1.6;
}

.news-rich-text p { margin: 0 0 0.55rem; }
.news-rich-text ul, .news-rich-text ol { margin: 0 0 0.65rem 1.2rem; }

.news-rich-text blockquote {
    margin: 0.4rem 0 0.6rem;
    padding: 0.5rem 0.8rem;
    border-left: 3px solid var(--gold);
    background: rgba(201, 160, 39, 0.06);
    border-radius: 0 8px 8px 0;
    color: #e8d9b0;
}

body.modal-open {
    overflow: hidden;
}

.content-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.content-modal[hidden] {
    display: none;
}

.content-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 9, 20, 0.78);
    backdrop-filter: blur(4px);
}

.content-modal__dialog {
    position: relative;
    width: min(900px, 95vw);
    max-height: min(88vh, 980px);
    overflow: auto;
    overflow-x: hidden;
    border: 1px solid var(--line-bright);
    border-radius: 16px;
    background: linear-gradient(155deg, var(--navy-card), var(--navy-mid));
    box-shadow: var(--shadow-lg);
}

.content-modal__header {
    position: sticky;
    top: 0;
    z-index: 2;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.2rem 0.7rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 15, 34, 0.95);
    backdrop-filter: blur(6px);
}

.content-modal__kind {
    margin: 0;
    color: var(--gold-soft);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.content-modal__header h2 {
    margin: 0;
    grid-column: 1 / 2;
    color: var(--white);
    font-family: "Cinzel", serif;
    font-size: clamp(1.1rem, 2.1vw, 1.45rem);
    font-weight: 700;
}

.content-modal__close {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
    border: 1px solid var(--line-bright);
    border-radius: 999px;
    background: rgba(201, 160, 39, 0.14);
    color: var(--gold-soft);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.38rem 0.78rem;
}

.content-modal__close:hover {
    background: rgba(201, 160, 39, 0.26);
    color: var(--gold-bright);
}

.content-modal__body {
    padding: 1rem;
}

.modal-content-article {
    display: grid;
    gap: 0.7rem;
    min-width: 0;
}

.modal-hero-image {
    width: 100%;
    max-height: min(70vh, 640px);
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(8, 15, 34, 0.62);
}

.modal-kicker {
    margin: 0;
    color: var(--gold-soft);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.83rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.modal-meta {
    margin: 0;
    color: var(--white-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

.modal-meta strong {
    color: var(--white);
}

.modal-excerpt {
    margin: 0;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(201, 160, 39, 0.06);
    color: #ece2c6;
    line-height: 1.6;
}

.modal-action-link {
    min-width: 0;
}

/* â”€â”€â”€ GALLERY â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.media-carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.6rem;
    align-items: center;
}

.media-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(235px, 28%);
    gap: 0.8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 0.25rem;
}

.media-slide {
    scroll-snap-align: start;
}

.media-card {
    width: 100%;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(19, 37, 88, 0.45);
    display: grid;
    grid-template-rows: 190px auto;
    text-align: left;
    padding: 0;
    color: inherit;
}

.media-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.media-card:focus-visible {
    outline: 2px solid rgba(245, 215, 120, 0.75);
    outline-offset: 2px;
}

.media-cover {
    width: 100%;
    height: 100%;
    background: rgba(8, 15, 34, 0.68);
}

.media-cover img,
.media-cover video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--gold-soft);
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: linear-gradient(140deg, rgba(201, 160, 39, 0.08), rgba(8, 15, 34, 0.65));
}

.media-info {
    padding: 0.72rem 0.78rem 0.82rem;
}

.media-label {
    margin: 0 0 0.3rem;
    color: var(--gold-soft);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.media-info h4 {
    margin: 0 0 0.28rem;
    color: var(--white);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    line-height: 1.2;
}

.media-info p {
    margin: 0;
    color: var(--white-soft);
    font-size: 0.89rem;
    line-height: 1.45;
}

.media-nav {
    width: 2.3rem;
    height: 2.3rem;
    border: 1px solid var(--line-bright);
    border-radius: 999px;
    background: rgba(201, 160, 39, 0.12);
    color: var(--gold-soft);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0;
    display: grid;
    place-items: center;
}

.media-nav:hover:not(:disabled) {
    background: rgba(201, 160, 39, 0.28);
    color: var(--gold-bright);
}

.media-nav:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.modal-video,
.modal-video-embed {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: rgba(8, 15, 34, 0.7);
}

.modal-video {
    height: auto;
    max-height: min(70vh, 640px);
    object-fit: contain;
    object-position: center;
    background: rgba(3, 8, 18, 0.86);
}

.modal-video-embed {
    aspect-ratio: 16 / 9;
}

.modal-video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.news-rich-text img,
.news-rich-text video,
.news-rich-text iframe {
    max-width: 100%;
    height: auto;
}

.news-rich-text table {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}

/* â”€â”€â”€ SPONSORS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sponsor-wall {
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
}

.sponsor-tier {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.95rem;
    background: linear-gradient(160deg, rgba(8, 15, 34, 0.52), rgba(6, 10, 24, 0.78));
}

.sponsor-tier__header {
    margin-bottom: 0.7rem;
}

.sponsor-tier__header h4 {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.sponsor-tier__header p {
    margin: 0.24rem 0 0;
    color: var(--white-soft);
    font-size: 0.9rem;
}

.sponsor-grid {
    display: grid;
    gap: 0.72rem;
}

.sponsor-grid--principal {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.sponsor-grid--oro {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.sponsor-grid--plata {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sponsor-grid--bronce,
.sponsor-grid--colaborador {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.sponsor-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(8, 15, 34, 0.7), rgba(7, 11, 26, 0.9));
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
}

.sponsor-card__media {
    width: 100%;
    height: 112px;
    border-bottom: 1px solid rgba(201, 160, 39, 0.2);
    background: rgba(201, 160, 39, 0.06);
}

.sponsor-card--principal .sponsor-card__media {
    height: 182px;
}

.sponsor-card--oro .sponsor-card__media {
    height: 148px;
}

.sponsor-card--plata .sponsor-card__media {
    height: 124px;
}

.sponsor-card--bronce .sponsor-card__media,
.sponsor-card--colaborador .sponsor-card__media {
    height: 90px;
}

.sponsor-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sponsor-card__media--placeholder {
    display: grid;
    place-items: center;
    color: rgba(201, 160, 39, 0.68);
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: 0.15em;
    font-size: 0.78rem;
}

.sponsor-card__body {
    padding: 0.78rem;
    display: grid;
    gap: 0.52rem;
    align-content: start;
}

.sponsor-card__body h5 {
    margin: 0;
    color: var(--white);
    font-size: 1.03rem;
}

.sponsor-card__body p {
    margin: 0;
    color: var(--white-soft);
    font-size: 0.88rem;
    line-height: 1.45;
}

.sponsor-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid var(--line-bright);
    border-radius: 999px;
    padding: 0.34rem 0.68rem;
    background: rgba(201, 160, 39, 0.1);
    color: var(--gold-soft);
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sponsor-card__link:hover {
    background: rgba(201, 160, 39, 0.22);
    color: var(--gold-bright);
    text-decoration: none;
}

/* â”€â”€â”€ AD SLOTS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ad-band {
    display: grid;
    gap: 0;
}

.ad-band.ad-band-inline {
    margin-top: 1.1rem;
}

.ad-band.is-empty {
    display: grid;
}

.ad-slot {
    border: 1px dashed rgba(201, 160, 39, 0.4);
    border-radius: 14px;
    min-height: 210px;
    padding: 1rem 1.1rem;
    background: rgba(201, 160, 39, 0.02);
    transition: border-color 0.2s;
    display: flex;
    align-items: center;
}

.ad-slot > * {
    width: 100%;
}

.ad-slot:hover {
    border-color: rgba(201, 160, 39, 0.6);
}

.ad-placeholder {
    margin: 0;
    padding: 0.35rem 0;
    text-align: center;
    color: rgba(200, 208, 224, 0.45);
    font-size: 0.95rem;
    line-height: 1.65;
}

.ad-slot.is-empty {
    display: flex;
}

.ad-card {
    display: grid;
    gap: 0.85rem;
    width: 100%;
}

.ad-card picture {
    display: block;
    width: 100%;
}

.ad-card img {
    width: 100%;
    height: 156px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
}

.ad-actions {
    display: flex;
    justify-content: flex-end;
}

.ad-tier {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.ad-tier-oro {
    color: #2f2400;
    background: linear-gradient(135deg, #f5d778, #c9a027);
}

.ad-tier-plata {
    color: #1e2831;
    background: linear-gradient(135deg, #d7dde7, #a9b4c4);
}

.ad-tier-bronce {
    color: #f5e4d1;
    background: linear-gradient(135deg, #8a5b3b, #5f3d28);
}

.ad-link {
    border: 1px solid var(--line-bright);
    border-radius: 999px;
    padding: 0.42rem 0.8rem;
    color: var(--gold-soft);
    background: rgba(201, 160, 39, 0.1);
    font-weight: 700;
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.07em;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s;
}

.ad-link:hover {
    background: rgba(201, 160, 39, 0.22);
    color: var(--gold-bright);
    text-decoration: none;
}

.ad-enter .ad-card {
    animation: adFadeIn 0.4s ease-out;
}

@keyframes adFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* â”€â”€â”€ FOOTER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.site-footer {
    width: min(1220px, 94vw);
    margin: 0 auto 2.5rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.55rem 1.65rem 1.15rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.05rem;
    background:
        radial-gradient(ellipse 44% 70% at 8% 0%, rgba(201, 160, 39, 0.11), transparent 70%),
        radial-gradient(ellipse 36% 55% at 100% 100%, rgba(201, 160, 39, 0.08), transparent 70%),
        linear-gradient(154deg, rgba(8, 15, 34, 0.98), rgba(16, 32, 68, 0.96));
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

/* Barra dorada inferior en el footer (como en la guÃ­a) */
.site-footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.site-footer h4 {
    margin: 0 0 0.62rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-soft);
}

.site-footer p {
    margin: 0.28rem 0;
    color: var(--white-soft);
    font-size: 0.94rem;
}

.site-footer small {
    display: block;
    margin-top: 0.62rem;
    color: rgba(200, 208, 224, 0.55);
    font-size: 0.82rem;
}

.footer-brand {
    border: 1px solid rgba(201, 160, 39, 0.22);
    border-radius: 12px;
    padding: 0.75rem 0.78rem;
    background: rgba(201, 160, 39, 0.05);
}

.footer-kicker {
    margin: 0 0 0.32rem;
    color: var(--gold-soft);
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.footer-note {
    margin-top: 0.52rem;
    color: rgba(200, 208, 224, 0.82);
    font-size: 0.88rem;
    line-height: 1.5;
}

.footer-col {
    padding: 0.15rem 0.18rem;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.34rem;
}

.footer-list li {
    margin: 0;
}

.footer-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    color: var(--white-soft);
    text-decoration: none;
}

.footer-list a::before {
    content: "";
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    box-shadow: 0 0 0 3px rgba(201, 160, 39, 0.12);
}

.footer-list a:hover,
.footer-list a:focus-visible {
    color: var(--gold-bright);
    text-decoration: none;
}

.footer-bottom {
    grid-column: 1 / -1;
    margin-top: 0.15rem;
    padding-top: 0.78rem;
    border-top: 1px solid rgba(201, 160, 39, 0.24);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.84rem;
    color: rgba(200, 208, 224, 0.74);
}

.footer-bottom a {
    color: var(--gold-soft);
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

/* â”€â”€â”€ CODE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
code {
    font-family: Consolas, Monaco, monospace;
    border: 1px solid rgba(201, 160, 39, 0.35);
    background: rgba(0, 0, 0, 0.35);
    border-radius: 6px;
    padding: 0.1rem 0.32rem;
    font-size: 0.88em;
    color: var(--gold-soft);
}

/* â”€â”€â”€ RESPONSIVE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-photo {
        min-height: 380px;
    }

    .hero-photo::after {
        background: linear-gradient(180deg, transparent 60%, var(--navy-card) 100%);
    }

    .media-track {
        grid-auto-columns: minmax(290px, 44%);
    }

    .media-card {
        grid-template-rows: 175px auto;
    }

    .sponsor-grid--principal {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .sponsor-grid--oro {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 760px) {
    .header-shell {
        justify-content: space-between;
    }

    .header-tools {
        width: 100%;
        justify-content: flex-end;
        gap: 0.55rem;
    }

    .main-nav {
        justify-content: flex-start;
        flex: 1 1 100%;
    }

    .theme-toggle {
        margin-left: auto;
    }

    .hero-metrics {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .sponsor-tier {
        padding: 0.8rem;
    }

    .sponsor-grid--principal,
    .sponsor-grid--oro,
    .sponsor-grid--plata,
    .sponsor-grid--bronce,
    .sponsor-grid--colaborador {
        grid-template-columns: 1fr;
    }

    .sponsor-card--principal .sponsor-card__media {
        height: 150px;
    }

    .sponsor-card--oro .sponsor-card__media {
        height: 126px;
    }

    .sponsor-card--plata .sponsor-card__media {
        height: 108px;
    }

    .ad-card img {
        height: 172px;
    }

    .media-carousel {
        gap: 0.45rem;
    }

    .media-track {
        grid-auto-columns: minmax(78%, 1fr);
    }

    .media-card {
        grid-template-rows: 165px auto;
    }

    .media-nav {
        width: 2.05rem;
        height: 2.05rem;
    }

    .panel {
        padding: 1.2rem 1rem;
    }

    .event-card.has-image {
        --event-thumb-right-gap: 1rem;
        padding-right: calc(92px + 0.65rem + var(--event-thumb-right-gap));
    }

    .event-thumb {
        width: 92px;
        height: 132px;
        top: 50%;
    }

    .event-excerpt {
        -webkit-line-clamp: 3;
    }

    .timeline::before {
        left: 0.72rem;
    }

    .timeline li {
        padding-left: 0.35rem;
    }

    .timeline li::before {
        margin-left: 0.82rem;
    }

    .content-more {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .content-modal {
        padding: 0.55rem;
    }

    .content-modal__dialog {
        width: 100%;
        max-height: 92vh;
    }

    .content-modal__header {
        grid-template-columns: 1fr;
        padding: 0.8rem 0.85rem;
    }

    .content-modal__close {
        grid-column: 1 / 2;
        grid-row: auto;
        justify-self: start;
    }

    .content-modal__body {
        padding: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-copy h2 {
        font-size: 2rem;
    }
}

/* â”€â”€â”€ RESPONSIVE HARDENING (2026) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* 1) Desktop/Laptop >= 1025px */
@media (min-width: 1025px) {
    .ad-card img {
        height: auto;
        aspect-ratio: 6 / 1;
        min-height: 144px;
        max-height: 236px;
    }

    .ad-slot {
        min-height: 230px;
    }
}

/* 2) Tablet clean range 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --anchor-offset: 9.2rem;
    }

    .header-shell {
        gap: 0.7rem;
        padding: 0.65rem 0;
    }

    .header-tools {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
        gap: 0.45rem;
    }

    .main-nav {
        justify-content: flex-start;
        gap: 0.2rem;
    }

    .main-nav a {
        padding: 0.32rem 0.55rem;
        font-size: 0.84rem;
        letter-spacing: 0.06em;
    }

    .theme-toggle {
        margin-left: 0;
    }

    .hero-photo {
        min-height: 320px;
    }

    .hero-copy {
        padding: 1.25rem 1.2rem;
    }

    .btn {
        min-width: 132px;
    }

    .event-card.has-image {
        --event-thumb-right-gap: 0.75rem;
        padding-right: calc(94px + 0.55rem + var(--event-thumb-right-gap));
    }

    .event-thumb {
        width: 94px;
        height: 136px;
    }

    .ad-card img {
        height: auto;
        aspect-ratio: 5 / 1;
        min-height: 134px;
        max-height: 212px;
    }
}

/* 3) Mobile <= 768px */
@media (max-width: 768px) {
    :root {
        --anchor-offset: 10.2rem;
    }

    main {
        width: min(1220px, 95vw);
        margin: 0.95rem auto 1.9rem;
        gap: 0.85rem;
    }

    .header-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.55rem;
        padding: 0.52rem 0;
    }

    .brand {
        padding-right: 4.25rem;
    }

    .header-tools {
        width: 100%;
        margin-left: 0;
        display: block;
        position: relative;
        margin-top: 0.3rem;
    }

    .main-nav {
        flex: 1 1 auto;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        gap: 0.18rem;
        padding-bottom: 0.08rem;
        padding-top: 0.2rem;
        min-width: 0;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        flex: 0 0 auto;
        font-size: 0.8rem;
        letter-spacing: 0.05em;
        padding: 0.32rem 0.58rem;
    }

    .theme-toggle {
        margin-left: 0;
        position: absolute;
        top: -3.05rem;
        right: 0;
        z-index: 6;
        min-height: 1.9rem;
        padding: 0.2rem 0.38rem;
    }

    .panel {
        padding: 1.05rem 0.9rem;
    }

    .panel h3 {
        margin-bottom: 0.85rem;
        font-size: 1.32rem;
    }

    .hero-copy {
        padding: 1.05rem 0.95rem 1.1rem;
        gap: 0.8rem;
    }

    .hero-photo {
        min-height: 300px;
    }

    .hero-photo img {
        object-fit: contain;
        object-position: center top;
        background: rgba(7, 14, 30, 0.9);
    }

    .hero-cta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.52rem;
    }

    .btn {
        min-width: 0;
        width: 100%;
        padding: 0.58rem 0.75rem;
        font-size: 0.9rem;
        letter-spacing: 0.08em;
    }

    .event-list article:hover {
        transform: none;
    }

    .event-card.has-image {
        padding-right: 0;
    }

    .event-thumb {
        position: static;
        transform: none;
        top: auto;
        right: auto;
        width: 100%;
        height: 180px;
        margin-top: 0.45rem;
    }

    .ad-slot {
        min-height: 206px;
        padding: 0.82rem 0.82rem 0.9rem;
    }

    .ad-card {
        gap: 0.65rem;
    }

    .ad-card img {
        height: auto;
        aspect-ratio: 16 / 5;
        min-height: 128px;
        max-height: 196px;
    }

    .ad-actions {
        justify-content: center;
    }

    .ad-link {
        width: 100%;
        text-align: center;
    }

    .content-modal__dialog,
    .content-modal__body,
    .modal-content-article {
        overflow-x: hidden;
    }

    .media-carousel {
        grid-template-columns: 2.05rem minmax(0, 1fr) 2.05rem;
        gap: 0.35rem;
    }

    .media-track {
        grid-auto-columns: 100%;
        min-width: 0;
        padding-bottom: 0.15rem;
    }

    .media-slide {
        min-width: 0;
    }

    .media-nav {
        position: relative;
        z-index: 3;
        place-self: center;
    }
}

/* 4) Small mobile <= 560px */
@media (max-width: 560px) {
    :root {
        --anchor-offset: 9.6rem;
    }

    .brand-kicker {
        display: none;
    }

    .brand-logo {
        width: 50px;
        height: 50px;
    }

    .brand h1 {
        font-size: 1.22rem;
    }

    .hero-photo {
        min-height: 336px;
        aspect-ratio: auto;
    }

    .hero-photo::after {
        background: linear-gradient(180deg, transparent 52%, rgba(13, 23, 48, 0.95) 100%);
    }

    .theme-toggle {
        top: -2.86rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .hero-cta {
        grid-template-columns: 1fr;
    }

    .panel {
        padding: 0.95rem 0.78rem;
    }

    .panel h3 {
        font-size: 1.2rem;
    }

    .site-footer {
        padding: 1.05rem 0.88rem;
        gap: 0.7rem;
    }

    .ad-slot {
        min-height: 192px;
    }

    .ad-card img {
        aspect-ratio: 3 / 1;
        min-height: 122px;
        max-height: 176px;
    }
}

/* 5) Ultra small <= 360px */
@media (max-width: 360px) {
    :root {
        --anchor-offset: 8.9rem;
    }

    main {
        margin: 0.72rem auto 1.45rem;
        gap: 0.65rem;
    }

    .header-shell {
        padding: 0.42rem 0;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand h1 {
        font-size: 1.06rem;
    }

    .brand {
        padding-right: 3.9rem;
    }

    .main-nav a {
        font-size: 0.74rem;
        letter-spacing: 0.04em;
        padding: 0.3rem 0.5rem;
    }

    .panel {
        border-radius: 14px;
        padding: 0.82rem 0.68rem;
    }

    .panel h3 {
        font-size: 1.08rem;
        margin-bottom: 0.75rem;
    }

    .hero-copy {
        padding: 0.85rem 0.75rem 0.95rem;
        gap: 0.65rem;
    }

    .hero-copy h2 {
        font-size: 1.5rem;
    }

    .hero-photo {
        min-height: 286px;
    }

    .theme-toggle {
        top: -2.68rem;
    }

    .btn {
        font-size: 0.82rem;
        padding: 0.54rem 0.58rem;
    }

    .event-thumb {
        height: 150px;
    }

    .ad-slot {
        min-height: 176px;
        padding: 0.72rem 0.64rem 0.78rem;
    }

    .ad-card img {
        aspect-ratio: 5 / 2;
        min-height: 108px;
        max-height: 154px;
    }

    .ad-link {
        font-size: 0.82rem;
        padding: 0.38rem 0.6rem;
    }
}

/* MOBILE MENU HAMBURGUESA */
.mobile-menu-toggle,
.mobile-menu-backdrop {
    display: none;
}

@media (max-width: 768px) {
    body.mobile-menu-open {
        overflow: hidden;
    }

    .header-shell {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.6rem;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
        padding-right: 0;
    }

    .header-tools {
        width: auto;
        margin-left: 0;
        margin-top: 0;
        position: static;
        display: flex;
        align-items: center;
        gap: 0.35rem;
        flex: 0 0 auto;
    }

    .theme-toggle {
        position: static;
        top: auto;
        right: auto;
        margin: 0;
        z-index: 41;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        width: 2.2rem;
        height: 2.2rem;
        padding: 0;
        margin: 0;
        border: 1px solid var(--line-bright);
        border-radius: 0.68rem;
        background: rgba(201, 160, 39, 0.14);
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 0.22rem;
        cursor: pointer;
        z-index: 41;
    }

    .mobile-menu-toggle:focus-visible {
        outline: 2px solid rgba(245, 215, 120, 0.68);
        outline-offset: 2px;
    }

    .mobile-menu-toggle span {
        width: 1.06rem;
        height: 2px;
        background: var(--gold-soft);
        border-radius: 2px;
        transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
    }

    body.mobile-menu-open .mobile-menu-toggle span {
        background: var(--gold-bright);
    }

    body.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    body.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        left: 0.72rem;
        right: 0.72rem;
        top: calc(4.35rem + env(safe-area-inset-top, 0px));
        z-index: 36;
        display: grid;
        gap: 0.28rem;
        padding: 0.72rem;
        border: 1px solid var(--line-bright);
        border-radius: 12px;
        background: linear-gradient(160deg, rgba(8, 15, 34, 0.98), rgba(16, 32, 68, 0.97));
        box-shadow: var(--shadow-md);
        max-height: calc(100dvh - 5.6rem);
        overflow: auto;
        transform: translateY(-10px) scale(0.985);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .main-nav a {
        width: 100%;
        display: flex;
        align-items: center;
        min-height: 2.2rem;
        padding: 0.52rem 0.64rem;
        border-radius: 8px;
        font-size: 0.84rem;
        letter-spacing: 0.06em;
        border: 1px solid transparent;
        background: rgba(201, 160, 39, 0.03);
        color: var(--white-warm);
    }

    .main-nav a:hover,
    .main-nav a:focus-visible {
        background: rgba(201, 160, 39, 0.15);
        border-color: rgba(201, 160, 39, 0.32);
        color: var(--gold-soft);
    }

    body.mobile-menu-open .main-nav {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .mobile-menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 30;
        border: 0;
        margin: 0;
        padding: 0;
        background: rgba(5, 9, 20, 0.58);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    body.mobile-menu-open .mobile-menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 560px) {
    .mobile-menu-toggle {
        width: 2.05rem;
        height: 2.05rem;
    }

    .main-nav {
        left: 0.6rem;
        right: 0.6rem;
        top: calc(4.15rem + env(safe-area-inset-top, 0px));
        max-height: calc(100dvh - 5.2rem);
    }
}
