/* ===================================================
   ESTADIOS MUNDIAL 2026 — style.css
   Theme: FIFA Dark — Red/Gold/Deep Navy
   =================================================== */

/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* === CSS VARIABLES === */
:root {
    --red: #C9112A;
    --red-light: #E8314A;
    --red-dark: #9A0D1F;
    --gold: #D4A847;
    --gold-light: #F0C65A;
    --gold-dark: #A8822E;
    --navy: #0B0D17;
    --navy-mid: #141729;
    --navy-card: #1A1E32;
    --navy-lite: #222844;
    --text: #E8EAF6;
    --text-muted: #8892B0;
    --border: rgba(212, 168, 71, 0.15);
    --border-red: rgba(201, 17, 42, 0.3);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.6);
    --radius: 12px;
    --radius-sm: 6px;
    --transition: 0.25s ease;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-display: 'Bebas Neue', sans-serif;
    --max-w: 1280px;
}

/* === GLOBAL === */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* === SKIP LINK === */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--red);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 10px;
}

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 13, 23, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.1rem;
    color: var(--text);
    letter-spacing: 0.02em;
}

.logo-text strong {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
    background: rgba(212, 168, 71, 0.1);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 1050;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: all var(--transition);
}

/* === HERO === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 68px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
    animation: heroZoom 12s ease infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.06);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(11, 13, 23, 0.85) 0%,
            rgba(11, 13, 23, 0.6) 50%,
            rgba(11, 13, 23, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-display);
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 24px;
    animation: fadeDown 0.6s ease both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 1.05;
    color: #fff;
    margin-bottom: 20px;
    animation: fadeDown 0.7s 0.1s ease both;
}

.gold-text {
    color: var(--gold);
    -webkit-background-clip: unset;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto 36px;
    animation: fadeDown 0.7s 0.2s ease both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeDown 0.7s 0.3s ease both;
}

.hero-stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeDown 0.7s 0.4s ease both;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-light));
    color: #fff;
    box-shadow: 0 4px 20px rgba(201, 17, 42, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 17, 42, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: rgba(212, 168, 71, 0.1);
    transform: translateY(-2px);
}

/* === COUNTRIES BAR === */
.countries-bar {
    background: var(--navy-mid);
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.countries-bar .container {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.country-item:hover {
    color: var(--gold);
}

.country-item .flag {
    font-size: 1.4rem;
}

.country-item em {
    color: var(--gold);
    font-style: normal;
    font-weight: 600;
}

/* === SECTION SHARED === */
.section-resumen,
.section-grid,
.section-historia,
.section-comparativa,
.section-faq,
.seo-content {
    padding: 80px 0;
}

.section-resumen {
    background: var(--navy-mid);
    border-top: 1px solid var(--border);
}

.section-historia {
    background: var(--navy);
}

.section-comparativa {
    background: var(--navy-mid);
}

.section-faq {
    background: var(--navy);
}

.seo-content {
    background: var(--navy-mid);
    border-top: 1px solid var(--border);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

/* === TABLE === */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
}

.main-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--navy-card);
    border-radius: var(--radius);
    overflow: hidden;
}

.main-table caption {
    caption-side: top;
    text-align: left;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    padding: 0 0 12px;
}

.main-table th {
    background: var(--navy-lite);
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
}

.main-table td {
    padding: 14px 16px;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.main-table tbody tr {
    transition: background var(--transition);
}

.main-table tbody tr:hover {
    background: rgba(212, 168, 71, 0.05);
}

.main-table .cap {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--gold-light);
}

.table-link {
    color: var(--gold);
    font-weight: 600;
}

.table-link:hover {
    text-decoration: underline;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.badge-gold {
    background: rgba(212, 168, 71, 0.2);
    color: var(--gold);
    border: 1px solid var(--gold);
}

.badge-silver {
    background: rgba(192, 192, 192, 0.15);
    color: #ccc;
    border: 1px solid rgba(200, 200, 200, 0.3);
}

.badge-bronze {
    background: rgba(192, 120, 50, 0.15);
    color: #cd7f32;
    border: 1px solid rgba(192, 120, 50, 0.3);
}

.badge-blue {
    background: rgba(100, 140, 255, 0.15);
    color: #8ab4f8;
    border: 1px solid rgba(100, 140, 255, 0.3);
}

.badge-red {
    background: rgba(201, 17, 42, 0.15);
    color: var(--red-light);
    border: 1px solid rgba(201, 17, 42, 0.3);
}

.flag-sm {
    font-size: 1rem;
}

/* === FILTER TABS === */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tab {
    padding: 9px 22px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition);
}

.tab:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.tab.active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

/* === STADIUMS GRID === */
.stadiums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.stadium-card {
    background: var(--navy-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.stadium-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 168, 71, 0.4);
}

.stadium-card.hidden {
    display: none;
}

.card-link {
    display: block;
    color: inherit;
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.stadium-card:hover .card-img-wrap img {
    transform: scale(1.06);
}

.card-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--font-display);
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 700;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 4px;
}

.card-city {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.card-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.card-stats strong {
    color: var(--gold-light);
}

.card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* === HISTORIA === */
.historia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.historia-card {
    background: var(--navy-card);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    transition: transform var(--transition), border-color var(--transition);
}

.historia-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 17, 42, 0.4);
}

.historia-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.historia-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: var(--gold);
    margin-bottom: 10px;
}

.historia-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === CAPACITY BARS === */
.cap-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cap-item {}

.cap-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.cap-name {
    color: var(--text);
    font-weight: 500;
}

.cap-num {
    color: var(--gold);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.cap-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}

.cap-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--navy-lite), #6a7fd0);
    transition: width 1s ease;
}

/* === FAQ === */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--navy-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-item[open] {
    border-color: rgba(201, 17, 42, 0.4);
}

.faq-q {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition);
}

.faq-q:hover {
    color: var(--gold);
}

.faq-item[open] .faq-q {
    color: var(--gold);
}

.faq-q::after {
    content: '+';
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-item[open] .faq-q::after {
    content: '−';
}

.faq-a {
    padding: 0 24px 18px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.faq-a p {
    margin: 0;
}

.faq-a strong {
    color: var(--text);
}

/* === SEO CONTENT === */
.seo-article {
    max-width: 900px;
    margin: 0 auto;
}

.seo-article h2 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    letter-spacing: 0.03em;
    color: #fff;
    margin-bottom: 16px;
}

.seo-article h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.03em;
    color: var(--gold);
    margin: 28px 0 12px;
}

.seo-article p {
    font-size: 0.96rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.text-link {
    color: var(--gold);
    border-bottom: 1px dashed rgba(212, 168, 71, 0.4);
}

.text-link:hover {
    color: var(--gold-light);
}

.seo-news-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
    padding: 20px;
    background: var(--navy-card);
    border-radius: var(--radius);
    border-left: 3px solid var(--red);
}

.seo-news-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.seo-news-links a:hover {
    color: var(--gold);
}

.related-sports {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.sport-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    background: var(--navy-card);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all var(--transition);
}

.sport-link span {
    color: var(--gold);
    font-weight: 600;
}

.sport-link:hover {
    border-color: var(--gold);
    background: rgba(212, 168, 71, 0.07);
}

/* === FOOTER === */
.site-footer {
    background: var(--navy-mid);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-logo span {
    font-size: 1.05rem;
    color: var(--text);
}

.footer-logo strong {
    color: var(--gold);
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    font-size: 0.85rem;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* === SOCIAL MEDIA === */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}

.social-fb {
    background: #1877f2;
}

.social-x {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-tt {
    background: #010101;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.dev-credit {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.22);
    margin-top: 6px;
}

.dev-credit a {
    color: rgba(212, 168, 71, 0.45);
    transition: color 0.2s;
}

.dev-credit a:hover {
    color: var(--gold);
}


/* === ANIMATIONS === */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === DETAIL PAGES (Stadio individual) === */
.breadcrumb {
    padding: 14px 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    background: var(--navy-mid);
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb span {
    color: var(--text-muted);
    margin: 0 6px;
}

.stadium-hero {
    position: relative;
    height: 55vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    margin-top: 68px;
}

.stadium-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 13, 23, 0.95) 0%, rgba(11, 13, 23, 0.3) 60%, transparent 100%);
}

.stadium-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
    width: 100%;
}

.stadium-hero-content .container {}

.stadium-phase {
    display: inline-block;
    font-family: var(--font-display);
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.stadium-name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #fff;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.stadium-city {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.stadium-info-bar {
    background: var(--navy-card);
    border-bottom: 1px solid var(--border);
}

.stadium-info-bar .container {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
}

.info-item {
    flex: 1;
    min-width: 140px;
    padding: 20px 24px;
    border-right: 1px solid var(--border);
    text-align: center;
}

.info-item:last-child {
    border-right: none;
}

.info-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gold);
    letter-spacing: 0.04em;
}

.info-key {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stadium-content {
    padding: 60px 0;
}

.stadium-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.stadium-main h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 14px;
}

.stadium-main p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.7;
}

.stadium-sidebar {}

.sidebar-card {
    background: var(--navy-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.06em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.sidebar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.87rem;
}

.sidebar-row:last-child {
    border-bottom: none;
}

.sidebar-row .slabel {
    color: var(--text-muted);
}

.sidebar-row .svalue {
    color: var(--text);
    font-weight: 600;
}

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.match-item {
    background: var(--navy-lite);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.85rem;
}

.match-round {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.match-teams {
    color: var(--text);
    font-weight: 600;
}

.match-date {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 3px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stadium-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* Show hamburger */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        inset: 68px 0 0 0;
        background: var(--navy-mid);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateX(0);
        pointer-events: auto;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
    }

    /* touch-targets */
    .menu-toggle {
        min-height: 44px;
        min-width: 44px;
        justify-content: center;
    }

    .nav-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .hero-stats {
        gap: 24px;
    }

    .countries-bar .container {
        gap: 24px;
    }

    .stadiums-grid {
        grid-template-columns: 1fr;
    }

    .historia-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-resumen,
    .section-grid,
    .section-historia,
    .section-comparativa,
    .section-faq,
    .seo-content {
        padding: 50px 0;
    }

    .main-table th,
    .main-table td {
        padding: 10px 12px;
        font-size: 0.82rem;
    }

    .stadium-info-bar .container {
        flex-wrap: wrap;
    }

    .info-item {
        min-width: 50%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-stats {
        gap: 16px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.88rem;
    }

    .stadiums-grid {
        gap: 16px;
    }

    .footer-grid {
        gap: 24px;
    }
}

/* === Smooth scroll reveal (JS enhanced) === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}