/* =========================================
   WORLD CUP 2026 TICKETS - DESIGN SYSTEM
   Estilo FIFA Oficial - Optimizado para conversión telefónica
   ========================================= */

:root {
    /* FIFA Colors */
    --fifa-blue: #326afc;
    --fifa-blue-dark: #1a3edc;
    --fifa-navy: #001346;
    --fifa-navy-2: #0a1d5c;
    --fifa-cyan: #00d4ff;
    --fifa-yellow: #ffe600;
    --white: #ffffff;
    --gray-50: #f7f7f9;
    --gray-100: #ececf1;
    --gray-200: #d1d1db;
    --gray-400: #8a8a99;
    --gray-700: #3f3f4d;
    --gray-900: #18181f;
    --black: #000000;
    --success: #00b865;
    --red: #d32f2f;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-display: 'Anton', 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1280px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.16);
    --shadow-xl: 0 24px 60px rgba(0,19,70,0.25);
}

/* ============== RESET ============== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-900);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============== TOPBAR ============== */
.topbar {
    background: var(--fifa-navy);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.topbar-trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0.85;
}
.topbar-trust span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-phone {
    font-weight: 700;
    color: var(--fifa-yellow);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ============== HEADER ============== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 18px;
    color: var(--fifa-navy);
    letter-spacing: -0.02em;
}
.logo-mark {
    width: 44px;
    height: 44px;
    background: var(--fifa-navy);
    color: var(--white);
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1;
}
.logo-mark small { font-size: 8px; opacity: 0.85; letter-spacing: 0.1em; }
.logo-text { line-height: 1.1; }
.logo-text small { display: block; font-weight: 600; font-size: 11px; color: var(--gray-400); letter-spacing: 0.06em; text-transform: uppercase; }

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav a {
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-700);
    transition: color 0.15s;
    position: relative;
}
.nav a:hover, .nav a.active { color: var(--fifa-blue); }
.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--fifa-blue);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Lang switcher */
.lang-switch {
    position: relative;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--white);
    transition: all 0.15s;
}
.lang-btn:hover { border-color: var(--fifa-blue); color: var(--fifa-blue); }
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    min-width: 140px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: all 0.18s;
    z-index: 10;
}
.lang-dropdown.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lang-dropdown button {
    display: flex;
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    font-weight: 500;
    color: var(--gray-700);
    transition: background 0.12s;
    align-items: center;
    gap: 8px;
}
.lang-dropdown button:hover { background: var(--gray-50); color: var(--fifa-blue); }
.lang-dropdown button.active { color: var(--fifa-blue); font-weight: 700; }

/* CTA Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.18s;
    white-space: nowrap;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary {
    background: var(--fifa-blue);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--fifa-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline {
    background: transparent;
    color: var(--fifa-navy);
    border-color: var(--fifa-navy);
}
.btn-outline:hover { background: var(--fifa-navy); color: var(--white); }
.btn-yellow {
    background: var(--fifa-yellow);
    color: var(--fifa-navy);
}
.btn-yellow:hover { background: #ffd900; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-call {
    background: var(--success);
    color: var(--white);
}
.btn-call:hover { background: #009b56; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn-block { width: 100%; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--gray-900);
}
.menu-toggle:hover { background: var(--gray-50); }

/* ============== HERO ============== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1d4ed8 0%, #326afc 50%, #4f7dff 100%);
    color: var(--white);
    overflow: hidden;
    padding: 80px 0 0;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255,230,0,0.18), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0,212,255,0.22), transparent 50%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.25);
}
.hero-eyebrow .pulse {
    width: 8px; height: 8px; border-radius: 50%; background: var(--fifa-yellow);
    box-shadow: 0 0 0 0 rgba(255,230,0,0.7);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,230,0,0.7); }
    70% { box-shadow: 0 0 0 12px rgba(255,230,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,230,0,0); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 84px);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.hero h1 .highlight {
    background: linear-gradient(90deg, #ffe600, #ffb900);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero p.lead {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.95;
    max-width: 680px;
    margin: 0 auto 32px;
}
.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* Countdown */
.countdown-card {
    position: relative;
    background: var(--white);
    color: var(--fifa-navy);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 36px 24px 24px;
    box-shadow: var(--shadow-xl);
    margin-top: 24px;
}
.countdown-label {
    text-align: center;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-400);
}
.countdown-match {
    text-align: center;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 700;
    color: var(--fifa-navy);
}
.countdown-match .vs {
    color: var(--fifa-blue);
    margin: 0 8px;
    font-weight: 900;
}
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}
.countdown-cell {
    background: linear-gradient(180deg, #f0f4ff 0%, #e2eaff 100%);
    border-radius: var(--radius-md);
    padding: 18px 8px;
    text-align: center;
}
.countdown-cell .num {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1;
    color: var(--fifa-navy);
    font-weight: 400;
    letter-spacing: -0.02em;
}
.countdown-cell .lbl {
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
    font-weight: 600;
}
.countdown-meta {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--gray-400);
}

/* ============== HIGHLIGHT BANNERS (Venta de última hora + Hospitality) ============== */
.highlight-banners {
    background: var(--white);
    padding: 64px 0;
}
.banners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.banner {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    color: var(--white);
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s, box-shadow 0.25s;
}
.banner:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.banner-1 {
    background: linear-gradient(135deg, #ff4d4d 0%, #d32f2f 100%);
}
.banner-1::before {
    content: 'ÚLTIMA HORA';
    position: absolute;
    top: 16px; right: 16px;
    background: var(--fifa-yellow);
    color: var(--fifa-navy);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.banner-2 {
    background: linear-gradient(135deg, var(--fifa-navy) 0%, var(--fifa-blue) 100%);
}
.banner h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.banner p { font-size: 15px; opacity: 0.95; margin-bottom: 24px; max-width: 380px; }
.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--fifa-navy);
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    align-self: flex-start;
    transition: all 0.18s;
}
.banner-cta:hover { transform: translateX(4px); }

/* ============== OFFERINGS ============== */
.offerings {
    background: var(--gray-50);
    padding: 80px 0;
}
.section-head {
    margin-bottom: 48px;
}
.section-head .eyebrow {
    color: var(--fifa-blue);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1;
    text-transform: uppercase;
    color: var(--fifa-navy);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.section-head p {
    font-size: 16px;
    color: var(--gray-700);
    max-width: 720px;
}
.steps-bar {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    color: var(--gray-700);
    font-size: 14px;
}
.steps-bar .step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.steps-bar .step-num {
    width: 28px; height: 28px;
    background: var(--fifa-navy);
    color: var(--white);
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 13px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.offer-card {
    background: var(--fifa-navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s;
}
.offer-card::after {
    content: '';
    position: absolute;
    bottom: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(50,106,252,0.4), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.offer-badge {
    position: absolute;
    top: 24px; right: 24px;
    background: var(--fifa-cyan);
    color: var(--fifa-navy);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
}
.offer-card h3 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 48px);
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}
.offer-card .lead-text {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 20px;
    position: relative; z-index: 1;
}
.offer-card ul {
    margin-bottom: 28px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}
.offer-card li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.45;
    opacity: 0.95;
}
.offer-card li::before {
    content: '';
    flex-shrink: 0;
    width: 6px; height: 6px;
    background: var(--fifa-cyan);
    border-radius: 50%;
    margin-top: 8px;
}
.offer-card li strong { font-weight: 700; opacity: 1; }
.offer-card .btn { position: relative; z-index: 1; align-self: flex-start; }

/* ============== HOST COUNTRIES ============== */
.hosts {
    padding: 80px 0;
    background: var(--white);
}
.hosts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.host-card {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    color: var(--white);
}
.host-card:hover { transform: scale(1.02); }
.host-can {
    background:
        linear-gradient(135deg, rgba(213,0,28,0.85) 0%, rgba(213,0,28,0.6) 100%),
        radial-gradient(circle at 30% 30%, #ff4757 0%, #d5001c 100%);
}
.host-mex {
    background:
        linear-gradient(135deg, rgba(0,104,71,0.9) 0%, rgba(0,104,71,0.7) 100%),
        radial-gradient(circle at 30% 30%, #00a86b 0%, #006847 100%);
}
.host-usa {
    background:
        linear-gradient(135deg, rgba(60,59,255,0.85) 0%, rgba(60,59,255,0.6) 100%),
        radial-gradient(circle at 30% 30%, #5865ff 0%, #3c3bff 100%);
}
.host-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.45));
}
.host-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.host-card .country-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}
.host-card .country-code {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.85;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.host-card .stadium-count {
    position: absolute;
    top: 28px; left: 28px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
}

/* ============== TRUST STRIP ============== */
.trust-strip {
    background: var(--fifa-navy);
    color: var(--white);
    padding: 48px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.trust-item .icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    color: var(--fifa-cyan);
}
.trust-item h4 {
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 700;
}
.trust-item p { font-size: 13px; opacity: 0.7; }

/* ============== CTA BAND ============== */
.cta-band {
    background: linear-gradient(135deg, var(--fifa-navy) 0%, #001a6b 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(0,212,255,0.25), transparent 60%);
}
.cta-band-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.cta-band p { font-size: 17px; opacity: 0.92; margin-bottom: 32px; }
.cta-band .phone-large {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    color: var(--fifa-yellow);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    line-height: 1;
}

/* ============== FOOTER ============== */
.footer {
    background: #000824;
    color: var(--white);
    padding: 64px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h4 {
    font-family: var(--font-display);
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; opacity: 0.7; line-height: 1.6; max-width: 320px; }
.footer h5 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fifa-cyan);
    margin-bottom: 18px;
    font-weight: 700;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
    font-size: 14px;
    opacity: 0.75;
    transition: opacity 0.15s;
}
.footer ul a:hover { opacity: 1; color: var(--fifa-cyan); }
.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    opacity: 0.85;
}
.footer-contact-item .ico { flex-shrink: 0; color: var(--fifa-cyan); margin-top: 2px; }
.footer-contact-item strong { display: block; color: var(--white); font-weight: 700; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    opacity: 0.55;
}
.footer-bottom-disclaimer {
    margin-top: 16px;
    font-size: 12px;
    opacity: 0.5;
    line-height: 1.6;
}

/* ============== STICKY CALL BAR (mobile) ============== */
.sticky-call {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--fifa-navy);
    z-index: 90;
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    gap: 10px;
    align-items: center;
}
.sticky-call .info {
    flex: 1;
    color: var(--white);
}
.sticky-call .info small {
    display: block;
    font-size: 11px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.sticky-call .info b { font-weight: 700; font-size: 16px; color: var(--fifa-yellow); }

/* ============== FLOATING CALL (desktop) ============== */
.floating-call {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    background: var(--success);
    color: var(--white);
    border-radius: 999px;
    padding: 16px 24px;
    box-shadow: var(--shadow-xl);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.18s;
}
.floating-call:hover { transform: scale(1.05); }
.floating-call .ring {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--fifa-yellow);
    animation: pulse-yellow 1.5s infinite;
}
@keyframes pulse-yellow {
    0% { box-shadow: 0 0 0 0 rgba(255,230,0,0.7); }
    70% { box-shadow: 0 0 0 14px rgba(255,230,0,0); }
}

/* ============== SUB-PAGES (Single Match / Venue / Follow) ============== */
.page-hero {
    background: linear-gradient(135deg, var(--fifa-navy) 0%, #102b8a 100%);
    color: var(--white);
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0,212,255,0.18), transparent 50%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.page-hero p { font-size: 17px; opacity: 0.9; max-width: 720px; margin: 0 auto; }
.crumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 13px;
    opacity: 0.7;
}
.crumbs a { color: var(--fifa-cyan); }
.crumbs span { opacity: 0.5; }

/* Country Selector */
.country-selector {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-100);
}
.country-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.country-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border: 2px solid var(--gray-200);
    border-radius: 999px;
    font-weight: 700;
    color: var(--gray-700);
    background: var(--white);
    transition: all 0.18s;
    font-size: 15px;
}
.country-tab:hover { border-color: var(--fifa-blue); color: var(--fifa-blue); }
.country-tab.active {
    background: var(--fifa-navy);
    color: var(--white);
    border-color: var(--fifa-navy);
}
.country-tab .flag {
    font-size: 22px;
    line-height: 1;
}

/* Filters */
.filters-bar {
    background: var(--gray-50);
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 72px;
    z-index: 50;
}
.filters-inner {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.15s;
}
.filter-chip:hover { border-color: var(--fifa-blue); }
.filter-chip.active {
    background: var(--fifa-blue);
    color: var(--white);
    border-color: var(--fifa-blue);
}

/* Match cards */
.matches-section { padding: 48px 0 80px; background: var(--white); }
.match-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.match-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.match-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.match-card-header {
    background: linear-gradient(135deg, var(--fifa-navy), var(--fifa-blue));
    color: var(--white);
    padding: 20px;
    position: relative;
}
.match-card-header.knockout {
    background: linear-gradient(135deg, #5b1a8a, #d32f2f);
}
.match-card-header.final {
    background: linear-gradient(135deg, #1a1a1a, var(--fifa-navy));
}
.match-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 12px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.match-stage {
    background: rgba(255,255,255,0.18);
    padding: 3px 10px;
    border-radius: 999px;
}
.match-card-header h3 {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.match-vs { color: var(--fifa-yellow); margin: 0 6px; }
.match-time { font-size: 13px; opacity: 0.85; }
.match-card-body {
    padding: 20px;
    flex-grow: 1;
}
.match-info-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--gray-700);
}
.match-info-row .ico { color: var(--fifa-blue); flex-shrink: 0; margin-top: 2px; }
.match-info-row strong { color: var(--gray-900); }
.match-tier {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    background: var(--gray-50);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
}
.match-tier.tier-1 { background: #fff3cd; color: #8a6d00; }
.match-tier.tier-2 { background: #d4edff; color: #0a5fb8; }
.match-card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.price-display { display: flex; flex-direction: column; }
.price-display small {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.price-display .amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--fifa-navy);
}

/* Venue Cards (Venue Series) */
.venue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.venue-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: transform 0.25s, box-shadow 0.25s;
}
.venue-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.venue-image {
    height: 180px;
    background: linear-gradient(135deg, var(--fifa-blue), var(--fifa-navy));
    position: relative;
    color: var(--white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.venue-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, transparent 49%, rgba(255,255,255,0.06) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(255,255,255,0.06) 50%, transparent 51%);
    background-size: 30px 30px;
    pointer-events: none;
}
.venue-image .city {
    font-size: 13px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    position: relative; z-index: 1;
}
.venue-image .name {
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
    position: relative; z-index: 1;
}
.venue-card-body { padding: 24px; }
.venue-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.venue-stat {
    text-align: center;
    padding: 12px 8px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}
.venue-stat .num {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--fifa-navy);
    line-height: 1;
}
.venue-stat .lbl {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: 0.06em;
}
.venue-card-body p {
    font-size: 14px;
    color: var(--gray-700);
    margin-bottom: 18px;
}

/* Team Cards (Follow My Team) */
.teams-section { padding: 48px 0 80px; background: var(--white); }
.teams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.team-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.team-card:hover { border-color: var(--fifa-blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-flag {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--gray-50);
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    font-size: 36px;
    line-height: 1;
    border: 3px solid var(--gray-100);
}
.team-card h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--fifa-navy);
}
.team-card .group {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 14px;
}
.team-card .matches-count {
    font-size: 12px;
    color: var(--fifa-blue);
    font-weight: 700;
    margin-bottom: 14px;
}

/* Hospitality info */
.hospitality-info {
    background: var(--gray-50);
    padding: 80px 0;
}
.hospitality-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.hosp-tier {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--gray-100);
}
.hosp-tier .crown { color: var(--fifa-yellow); margin-bottom: 12px; }
.hosp-tier h4 {
    font-family: var(--font-display);
    font-size: 18px;
    text-transform: uppercase;
    color: var(--fifa-navy);
    margin-bottom: 8px;
}
.hosp-tier p { font-size: 13px; color: var(--gray-700); line-height: 1.5; }

/* FAQ */
.faq-section { padding: 80px 0; background: var(--white); }
.faq-list { max-width: 820px; margin: 32px auto 0; }
.faq-item {
    border-bottom: 1px solid var(--gray-100);
    padding: 20px 0;
}
.faq-q {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    font-size: 17px;
    color: var(--fifa-navy);
}
.faq-q .toggle {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--gray-50);
    display: grid; place-items: center;
    transition: transform 0.2s, background 0.2s;
    flex-shrink: 0;
}
.faq-item.open .faq-q .toggle { transform: rotate(180deg); background: var(--fifa-blue); color: var(--white); }
.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s, padding-top 0.3s;
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; padding-top: 12px; }

/* Hide elements based on language */
[data-lang-hidden="true"] { display: none !important; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
    .nav { display: none; }
    .menu-toggle { display: inline-flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .offer-grid, .match-grid, .teams-grid { grid-template-columns: 1fr 1fr; }
    .teams-grid { grid-template-columns: repeat(3, 1fr); }
    .hospitality-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .topbar { font-size: 12px; }
    .topbar-trust { display: none; }
    .topbar-inner { justify-content: center; }
    .header-inner { height: 60px; }
    .logo { font-size: 16px; }
    .logo-mark { width: 38px; height: 38px; font-size: 16px; }
    .header .btn-primary { display: none; }
    .hero { padding: 48px 0 0; }
    .hero h1 { margin-bottom: 16px; }
    .countdown-card { padding: 24px 16px 16px; margin: 0 -8px -8px; }
    .countdown-grid { gap: 8px; }
    .countdown-cell { padding: 12px 4px; }
    .banners-grid { grid-template-columns: 1fr; }
    .banner { padding: 28px 24px; min-height: 220px; }
    .offerings, .hosts, .hospitality-info, .faq-section { padding: 56px 0; }
    .offer-grid, .match-grid, .venue-grid { grid-template-columns: 1fr; }
    .teams-grid { grid-template-columns: 1fr 1fr; }
    .hosts-grid { grid-template-columns: 1fr; }
    .host-card { aspect-ratio: 16/9; }
    .hospitality-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .sticky-call { display: flex; }
    .floating-call { display: none; }
    body { padding-bottom: 76px; }
    .filters-bar { top: 60px; }
    .country-tab { padding: 10px 18px; font-size: 14px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 38px; }
    .hero-ctas { flex-direction: column; gap: 10px; }
    .hero-ctas .btn { width: 100%; }
    .countdown-cell .num { font-size: 32px; }
    .teams-grid { grid-template-columns: 1fr; }
    .hospitality-grid { grid-template-columns: 1fr; }
    .cta-band .phone-large { font-size: 36px; }
}

/* Mobile menu drawer */
.mobile-drawer {
    position: fixed;
    top: 0; right: 0;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.25s;
    box-shadow: var(--shadow-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.mobile-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}
.mobile-drawer-head .close {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--gray-50);
}
.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--gray-700);
    transition: background 0.12s;
}
.mobile-nav a:hover, .mobile-nav a.active { background: var(--gray-50); color: var(--fifa-blue); }
.mobile-drawer-foot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--gray-100); }

/* SEO/A11y enhancements */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
:focus-visible { outline: 3px solid var(--fifa-cyan); outline-offset: 2px; border-radius: 4px; }

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 4px solid var(--fifa-blue);
    box-shadow: 0 -8px 32px rgba(0,0,0,0.14);
    padding: 18px 24px;
    z-index: 110;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}
.cookie-content {
    flex: 1;
    min-width: 280px;
    display: flex;
    gap: 16px;
    align-items: center;
}
.cookie-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cookie-text-wrap h4 {
    font-size: 16px;
    color: var(--fifa-navy);
    margin-bottom: 4px;
    font-weight: 800;
}
.cookie-text-wrap p {
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.5;
    margin: 0;
}
.cookie-text-wrap a {
    color: var(--fifa-blue);
    text-decoration: underline;
    font-weight: 600;
}
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 12px 20px; font-size: 14px; }
@media (max-width: 768px) {
    .cookie-banner { padding: 14px 16px; /* stays at bottom: 0 default */ }
    .cookie-banner.show { transform: translateY(-76px); /* lift above sticky-call */ }
    .cookie-inner { flex-direction: column; align-items: stretch; gap: 12px; }
    .cookie-icon { display: none; }
    .cookie-actions { width: 100%; }
    .cookie-actions .btn { flex: 1; padding: 10px 14px; font-size: 13px; }
}

/* =========================================
   LEGAL PAGES (Terms & Privacy)
   ========================================= */
.legal-section {
    padding: 64px 0 80px;
    background: var(--white);
}
.legal-content {
    max-width: 820px;
    margin: 0 auto;
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.75;
}
.legal-content h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    text-transform: uppercase;
    color: var(--fifa-navy);
    margin: 48px 0 16px;
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
    font-size: 18px;
    color: var(--fifa-navy);
    margin: 32px 0 12px;
    font-weight: 700;
}
.legal-content p { margin-bottom: 16px; }
.legal-content ul, .legal-content ol {
    margin: 0 0 20px 0;
    padding-left: 24px;
}
.legal-content ul li, .legal-content ol li {
    list-style: disc;
    margin-bottom: 8px;
}
.legal-content ol li { list-style: decimal; }
.legal-content a {
    color: var(--fifa-blue);
    text-decoration: underline;
    font-weight: 600;
}
.legal-content strong { color: var(--gray-900); font-weight: 700; }
.legal-callout {
    background: #fff8e1;
    border-left: 4px solid var(--fifa-yellow);
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    margin: 24px 0;
    font-size: 15px;
}
.legal-callout strong { color: var(--fifa-navy); }
.legal-callout-blue {
    background: #e8f0ff;
    border-left-color: var(--fifa-blue);
}
.legal-content .placeholder {
    background: #ffeaea;
    color: #b30000;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    font-weight: 700;
}
.legal-content .last-update {
    background: var(--gray-50);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-top: 40px;
    color: var(--gray-700);
}

/* =========================================
   IMAGE FALLBACK SYSTEM
   - If image loads → image is shown over the gradient
   - If image fails (404) → onerror removes <img>, only gradient stays
   ========================================= */

/* HOST CARDS (3 host countries on home) */
.host-card .host-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.host-card.has-img::before { z-index: 1; }
.host-card .stadium-count { z-index: 2; }
.host-card .host-content { z-index: 2; position: relative; }

/* VENUE CARDS (stadium photos in venue-series) */
.venue-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.venue-image.has-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,19,70,0.45) 0%, rgba(0,19,70,0.7) 100%);
    z-index: 1;
    pointer-events: none;
}
.venue-image.has-img::after {
    display: none; /* hide diagonal pattern when image is present */
}
.venue-image > .city,
.venue-image > .name {
    position: relative;
    z-index: 2;
}

/* TEAM FLAGS (emoji fallback if no image) */
.team-flag {
    display: block !important; /* override grid for absolute positioning */
    font-size: 0 !important;   /* hide any direct text */
    overflow: hidden;
    position: relative;
}
.team-flag::before {
    content: attr(data-flag);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 36px;
    line-height: 1;
    z-index: 0;
}
.team-flag > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background: var(--white);
}
