:root {
    --bg-color: #03213C;
    --brand-blue-dark: #021629;
    --brand-gold: #BE9A48;
    --accent: #E5F0FF;
    --text-main: #FFFFFF;
    --text-muted: #B0C4DE;

    --font-heading: 'Syne', sans-serif;
    --font-body: 'Manrope', sans-serif;

    --space-sm: 1rem;
    --space-md: 2.5rem;
    --space-lg: 6rem;
    --space-xl: 12rem;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior: none; /* Disable pull-to-refresh and bounce/elastic scrolling */
    touch-action: manipulation; /* Disable double-tap to zoom */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Remove blue tap highlight on mobile */
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none; /* Make it feel like a native app */
    user-select: none;
    -webkit-touch-callout: none; /* Disable long press context menu */
}

/* Ensure form inputs are still selectable and working */
input, textarea, select {
    -webkit-user-select: auto;
    user-select: auto;
}

/* Noise texture overlay for premium brutalist vibe */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography Base */
h1, h2, h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 800;
    line-height: 0.9;
}

p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Top Layout Variables */
.language-selector {
    position: absolute;
    top: 2.5rem;
    left: 5%;
    z-index: 1000;
    display: flex;
    gap: 1.25rem;
}
/* Language Selector */
.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--brand-gold);
    border-color: var(--brand-gold);
}

.lang-btn.active {
    color: var(--bg-color);
    background: var(--brand-gold);
    border-color: var(--brand-gold);
}

/* GP Experience mobile button (top-right, solo ≤1024px) */
.gp-mobile-btn {
    display: none;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0; width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 5%;
    z-index: 100;
    transition: background 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.brand-logo {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

.menu-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Section: Hero */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center to prevent top-collision */
    padding: calc(5.5rem + env(safe-area-inset-top)) 5% 4rem; /* Espacio superior sin logo esquina */
    position: relative;
    background-color: var(--bg-color);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
    opacity: 0.5; /* Opacidad al 50% (transparencia más reducida) */
    filter: blur(1px);
    image-rendering: high-quality;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, var(--bg-color) 0%, transparent 60%);
    z-index: 1;
}

.hero-title, .hero-sub, .scroll-indicator {
    z-index: 10;
}

.hero-title-container {
    position: relative;
    display: inline-block;
    z-index: 2;
    margin-bottom: 2.75rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 5.5rem); /* Smaller, compact, and visual */
    z-index: 1;
    color: var(--text-main);
    margin-bottom: 2rem;
    letter-spacing: -0.02em; /* Balanced tracking */
    line-height: 1; /* Clean multi-line cohesion */
    text-transform: uppercase;
    font-weight: 800;
    transform: skewX(-4deg); /* Subtle premium MotoGP skew */
    text-shadow: 0 10px 20px rgba(0,0,0,0.5); /* Depth without overwhelming */
    display: inline-block;
}

.hero-title span {
    color: var(--brand-gold);
}

.hero-sub {
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    max-width: 650px;
    color: var(--accent);
    line-height: 1.65;
    border-left: 4px solid var(--brand-gold);
    padding-left: 2rem;
    margin-top: 0.25rem;
}

.scroll-indicator {
    position: relative; /* Un-absolute it so it stacks cleanly */
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.scroll-indicator .line {
    width: 80px;
    height: 1px;
    background: rgba(255,255,255,0.4);
}

/* Section: About Grid */
.about-us {
    padding: var(--space-xl) 5%;
    background: var(--bg-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.section-heading {
    font-size: clamp(3rem, 6vw, 6rem);
    margin-bottom: var(--space-md);
    color: var(--text-main);
}

.about-text p {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--accent);
}

.about-text {
    flex: 1;
}

.premium-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid rgba(255,255,255,0.05);
}

.premium-description p {
    font-size: 0.95rem; /* Significantly smaller and more compact */
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    max-width: 400px;
    letter-spacing: 0.02em;
}

.premium-description p strong {
    color: var(--text-main);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.2rem;
    transition: color 0.3s ease;
}

.premium-description p strong:hover {
    color: var(--brand-gold);
}

.about-founders {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.founder {
    padding-left: var(--space-md);
    border-left: 2px solid var(--brand-blue);
}

.founder h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.founder-role {
    color: #4A90E2; 
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.founder-quote {
    font-style: italic;
    color: var(--text-muted);
}

.interactive-name {
    cursor: pointer;
    transition: color 0.3s ease;
    display: inline-block;
}

.interactive-name:hover {
    color: var(--brand-gold);
}

/* Modals */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(1, 10, 20, 0.95); 
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1001;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--brand-gold);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {transform: translateY(-50%) scale(0.9); opacity: 0;}
    to {transform: translateY(-50%) scale(1); opacity: 1;}
}

/* Banner Divider */
.banner-divider {
    width: 100%;
    margin: 0; /* Tight cut between sections */
    display: flex;
    background: var(--bg-color);
}

/* Banner solo visible en móvil (oculto por defecto en desktop). Doble clase para
   ganar a `.banner-divider { display: flex }` por especificidad. */
.banner-divider.banner-divider--mobile-only {
    display: none;
}

/* Specific adjustments to maintain thinner aspect ratios for context banners */
.contact-banner-img {
    aspect-ratio: 3840 / 212;
    object-position: center;
}

/* Neon Borders for Banners */
.banner-divider, .rider-modal-separator, .fau55-banner-container {
    border-top: 2px solid var(--brand-gold);
    border-bottom: 2px solid var(--brand-gold);
    box-shadow: 0 -15px 35px -5px rgba(190, 154, 72, 0.4), 
                0 15px 35px -5px rgba(190, 154, 72, 0.4);
    position: relative;
    z-index: 10;
}

.full-banner {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Section: Riders */
.riders {
    padding: var(--space-xl) 5%;
    background: var(--brand-blue);
    color: var(--bg-color);
}

.riders .section-heading, .riders h2 {
    color: var(--text-main);
}

.riders p {
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.riders-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rider-card {
    background: rgba(255,255,255,0.03);
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    transition: background-color 0.4s ease;
    cursor: pointer;
}

.rider-card:hover {
    background: rgba(255,255,255,0.08);
}

.rider-info {
    padding: var(--space-md);
    flex: 1;
}

.rider-stats {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main); /* Or var(--brand-gold) to look premium */
    transition: color 0.3s ease;
}

.rider-card:hover .stat-number {
    color: var(--brand-gold);
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.text-gold {
    color: var(--brand-gold);
}

.rider-info h3 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.rider-card:hover .rider-info h3 {
    color: var(--brand-gold);
}

.rider-img-placeholder {
    flex: 0 0 22%;
    min-width: 150px;
    max-width: 220px;
    background: var(--bg-color);
    position: relative;
    border-left: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.rider-img-placeholder::after {
    content: attr(data-letter);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 8rem;
    color: rgba(255,255,255,0.03);
    pointer-events: none;
    z-index: 1;
}

.rider-hover-flag {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://flagcdn.com/w320/es.png');
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    mix-blend-mode: normal;
    pointer-events: none;
    filter: brightness(0.6) blur(2px) contrast(1.1);
    transform: scale(1.1);
}

.rider-hover-num {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-family: var(--font-heading);
    font-size: 10rem;
    font-weight: 900;
    color: var(--brand-gold);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.9)) drop-shadow(0 0 40px rgba(0,0,0,0.8));
    -webkit-text-stroke: 2px #fff;
}

.riders-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: 4;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rider-card:has(.rider-info h3:hover) .rider-hover-flag {
    opacity: 0.45;
    filter: brightness(0.6) blur(0px) contrast(1.1);
    transform: scale(1.0);
}

.rider-card:has(.rider-info h3:hover) .rider-hover-num {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.rider-card:has(.rider-info h3:hover) .riders-image {
    transform: scale(1.05);
}

.lazy-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-image[src] {
    opacity: 1;
}

/* Section: Sponsorship */
.sponsorship {
    padding: var(--space-xl) 5%;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.sponsorship-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    opacity: 0.35;
}

.sponsorship-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--bg-color) 0%, transparent 100%);
    z-index: 1;
}

.sponsorship-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 2;
}

.sponsor-data {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(255,255,255,0.1);
}

.data-item {
    background: var(--bg-color);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: transform 0.3s ease;
}

.data-item:hover {
    transform: translateX(20px);
}

.data-value {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 6rem);
    color: var(--text-main);
    width: 150px;
}

.data-name {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4A90E2;
}

/* Footer */
.main-footer {
    padding: var(--space-md) 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: var(--bg-color);
}

.footer-logo {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text span {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}

.reveal-text.active span {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text.active span:nth-child(2) {
    transition-delay: 0.15s;
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

@media (max-width: 768px) {
    .about-grid, .sponsorship-content {
        grid-template-columns: 1fr;
    }
    
    /* --- Rider Section Mobile Restructure --- */
    .rider-card {
        flex-direction: column-reverse; /* Foto arriba, texto abajo */
    }
    .rider-img-placeholder {
        width: 100%;
        height: 380px; /* Considerable height to showcase the rider full scale */
        border-left: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .riders-image {
        width: auto;
        height: 100%;
        max-width: 100%;
        right: 50%;
        transform: translateX(50%);
        object-fit: contain;
    }
    
    /* Override Hover Transforms for Centered Mobile Image */
    .rider-card:hover .riders-image, 
    .rider-card:has(.rider-info h3:hover) .riders-image {
        transform: translateX(50%) scale(1.05) translateY(-5px) !important;
    }
    
    /* Rider Typography Fixes */
    .rider-info {
        padding: 1.5rem;
    }
    .rider-info h3 {
        font-size: clamp(2.2rem, 8vw, 3rem) !important;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    .rider-hover-flag {
        font-size: 4rem; /* Reducir bandera gigante de fondo */
        top: 10%;
        right: 0;
        opacity: 0.1;
    }
    .rider-hover-num {
        font-size: 7rem; /* Reducir número neón tras la foto */
        opacity: 0.15;
    }
    
    /* Rider Stats Alignment */
    .rider-stats {
        flex-wrap: wrap;
        gap: 0.8rem 1.5rem;
    }
    .stat-number {
        font-size: 1.6rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }
    
    .data-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
}

/* --- Brand Visibility / Patrocinadores --- */
.visibility-section {
    padding: 6rem 0 7rem;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.visibility-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 38%, rgba(190, 154, 72, 0.10) 0%, rgba(190, 154, 72, 0.04) 40%, transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 18%);
    pointer-events: none;
    z-index: 0;
}

.visibility-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(180deg, transparent 0%, var(--bg-color) 100%);
    pointer-events: none;
    z-index: 1;
}

.visibility-section .visibility-container,
.visibility-section #sponsorship-dynamic-content {
    position: relative;
    z-index: 2;
}

.visibility-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.visibility-header::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
    opacity: 0.85;
    margin-top: 0.5rem;
}

.section-kicker {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(190, 154, 72, 0.1);
    border: 1px solid rgba(190, 154, 72, 0.5);
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: var(--font-body);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.04em; /* Very tight spacing */
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* --- Separator Banner --- */
.rider-modal-separator {
    width: 100vw;
    display: flex;
    justify-content: center;
    background-color: var(--bg-color);
    position: relative;
    z-index: 10;
    padding: 0; /* Eliminado para pegarlo a la imagen */
}

.separator-banner {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: none; /* Modificado: Ancho 100% completo nativo sin límite */
    display: block;
}

/* Franja MotoGP / Moto2 / Moto3 / Junior GP entre perfil del piloto y visibilidad de marca (modal único) */
.rider-modal-championship-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--bg-color);
    position: relative;
    z-index: 10;
    line-height: 0;
}

.rider-modal-championship-banner__img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
    object-fit: cover;
    object-position: center;
}

.sponsorship-interactive {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.dual-interactive {
    gap: 4.5rem;
    padding: 0 1.5rem;
}

.interactive-map {
    position: relative;
    max-width: 800px;
    width: 100%;
}

.half-map {
    max-width: 400px;
}

.helmet-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    display: block;
}

/* Hotspots */
.hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    cursor: crosshair;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Posiciones exactas sobre el casco renderizado */
.hotspot-center {
    top: 50%;
    left: 50%;
}

.hotspot-top {
    top: 15%;
    left: 48%;
}

.hotspot-visor {
    top: 60%;
    left: 70%;
}

.hotspot-brazo {
    top: 55%;
    left: 55%;
}

.hotspot-pecho {
    top: 50%;
    left: 50%;
}

.hotspot-core {
    width: 12px;
    height: 12px;
    background-color: var(--brand-gold);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 10px var(--brand-gold);
    transition: transform 0.3s ease;
}

.hotspot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--brand-gold);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.6;
    animation: pulseGlow 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.5); opacity: 0; }
}

.hotspot:hover .hotspot-core {
    transform: scale(1.5);
}

.hotspot .hotspot-tooltip {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: rgba(3, 33, 60, 0.85); /* Azul corporativo ahumado */
    backdrop-filter: blur(8px);
    border: 1px solid var(--brand-gold);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Modificador para que el de la visera salga hacia la izquierda a veces, 
   pero dejémoslo que abran a la derecha que es limpio, salvo en móviles. */
.hotspot-visor .hotspot-tooltip {
    left: auto;
    right: 30px;
    transform: translateY(-50%) translateX(-20px);
}
.hotspot-visor:hover .hotspot-tooltip {
    transform: translateY(-50%) translateX(0);
}

.tooltip-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
}

.tooltip-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-gold);
    line-height: 1;
}

@media (max-width: 768px) {
    .visibility-section {
        padding: 3.5rem 0 4.5rem;
    }
    .visibility-header {
        margin-bottom: 2.5rem;
    }
    .visibility-section::after {
        height: 90px;
    }
    .dual-interactive {
        flex-direction: column;
        gap: 3rem;
        padding: 0 1rem;
    }

    .hotspot .hotspot-tooltip {
        transform: translateY(-10px) translateX(-50%) !important;
        top: -70px;
        left: 50%;
        right: auto;
    }
    .hotspot:hover .hotspot-tooltip {
        transform: translateY(0) translateX(-50%) !important;
    }
}

/* --- Rider Profile MotoGP Layout --- */
body.rider-modal-open {
    overflow: hidden;
}

.rider-modal {
    background-color: var(--bg-color); /* Fondo azul corporativo */
    overflow: hidden; /* Evita segunda barra: el scroll solo en .rider-modal-content */
}

.rider-modal-back {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top));
    left: max(1rem, env(safe-area-inset-left));
    z-index: 10002;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(190, 154, 72, 0.45);
    border-radius: 50%;
    background: rgba(1, 22, 44, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--brand-gold);
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.rider-modal-back:hover,
.rider-modal-back:focus-visible {
    outline: none;
    background: rgba(190, 154, 72, 0.14);
    border-color: var(--brand-gold);
    color: #fff;
}

.rider-modal-content {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow-y: auto;   /* Scrub Scroll support */
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

.rider-scroll-track {
    width: 100%;
    height: auto;
}

/* Altura fijada por JS (= scrubMinPx); solo aquí se consume scroll del scrub */
.rider-scrub-stage {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

.rider-motogp-layout {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    position: sticky;
    top: 0;
    overflow-x: hidden;
    overflow-y: visible;
    display: flex;
    align-items: flex-start;
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    box-sizing: border-box;
}

/* Escudo oscuro en la izquierda para asegurar la legibilidad del perfil contra el vídeo de fondo */
.rider-motogp-layout::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 65vw;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(to right, var(--bg-color) 40%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.rider-watermark {
    display: none; /* Eliminado según petición */
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 35vw;
    font-weight: 800;
    color: rgba(190, 154, 72, 0.04);
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
    text-transform: lowercase;
}

.rider-photo-container {
    position: absolute;
    right: -5%;
    bottom: 0;
    height: 95vh;
    width: 60vw;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
}

.rider-photo-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: bottom right;
    mask-image: linear-gradient(to right, transparent 0%, black 15%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%);
}



#rider-scrub-canvas,
#rider-scrub-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: 25% 50%; /* Desplaza el centro del video más hacia la izquierda */
    z-index: -1;
    opacity: 0.75; /* Aumentado a 75% */
    display: none;
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

#rider-scrub-video.rider-scrub-video--premium {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

#rider-scrub-video.rider-scrub-video--premium.is-ready {
    opacity: 0.88;
    transform: scale(1);
}

.rider-scrub-caption {
    position: absolute;
    left: max(8vw, 1rem);
    bottom: max(2.25rem, env(safe-area-inset-bottom));
    max-width: min(38rem, 88vw);
    z-index: 1;
    margin: 0;
    pointer-events: none;
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 1.05vw, 0.88rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.rider-scrub-caption.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rider-modal-data {
    position: relative;
    z-index: 2;
    padding-left: 8vw;
    width: 50vw;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.rider-modal-data--hero {
    gap: 0.5rem;
}

.rider-profile-details {
    position: relative;
    z-index: 2;
    padding: 1.5rem 8vw 2.5rem;
    background: var(--bg-color);
}

.rider-header-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    max-width: 500px;
}

/* Dorsal + MotoGP pegados al nombre (menos hueco vertical) */
.rider-header-block:has(.rider-header-strip--motogp) {
    gap: 0.12rem;
}

.rider-header-block .rider-motogp-name {
    margin-block: 0;
}

.rider-header-strip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
}

/* Fermín: dorsal + logo en fila; logo junto al 54 y tamaño destacado */
.rider-header-strip--motogp {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    width: 100%;
    max-width: min(40rem, 100%);
    padding: 0.08rem 0;
    box-sizing: border-box;
}

.rider-header-strip--motogp > .rider-number {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.rider-header-strip--motogp > .rider-motogp-logo-slot {
    position: relative;
    flex: 0 1 auto;
    max-width: min(75%, calc(100% - 4.25rem));
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.rider-motogp-logo-slot {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 2.5rem;
}

.rider-motogp-logo-slot[hidden] {
    display: none !important;
}

.rider-motogp-brand-logo {
    display: block;
    max-height: clamp(4rem, 14vw, 6.5rem);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

/* Wordmark apaisado (Moto2) */
.rider-moto2-brand-logo {
    max-height: clamp(2.75rem, 9.5vw, 4.75rem);
    max-width: min(50vw, 16rem);
    width: auto;
    height: auto;
}

/* Wordmark apaisado (Moto3) */
.rider-moto3-brand-logo {
    max-height: clamp(2.75rem, 9.5vw, 4.75rem);
    max-width: min(50vw, 16rem);
    width: auto;
    height: auto;
}

.rider-number {
    background: var(--brand-gold); /* Fondo dorado */
    color: var(--bg-color); /* Número en azul fuerte */
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    letter-spacing: -0.05em;
    line-height: 1;
}

.rider-motogp-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.solid-name {
    color: #ffffff; /* Blanco rotundo para máximo contraste sobre azul */
    font-weight: 400; /* As requested before */
}

.outline-name {
    color: transparent;
    -webkit-text-stroke: 2px var(--brand-gold); /* Trazo dorado intenso */
}

.rider-biography {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    border-left: 3px solid var(--brand-gold);
    padding-left: 1rem;
    margin-top: 0;
    display: none;
}

.rider-stats-table {
    background: rgba(255, 255, 255, 0.04); /* Cristal ahumado casi invisible */
    backdrop-filter: blur(16px);
    border: 1px solid rgba(190, 154, 72, 0.2); /* Borde sutil oro */
    border-radius: 12px;
    padding: 0.5rem 2rem;
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

.motogp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(190, 154, 72, 0.15); /* Separador fino dorado */
}

.motogp-row:last-child {
    border-bottom: none;
}

.motogp-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-gold); /* Letras indicadoras en dorado */
}

.motogp-val {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff; /* Datos técnicos en blanco nieve */
}

@media (max-width: 1024px) {
    .rider-motogp-layout { flex-direction: column; justify-content: flex-start; padding-top: 10vh; }
    .rider-modal-data { padding-left: 5vw; width: 90vw; }
    .rider-photo-container { height: 60vh; right: -10%; opacity: 0.5; z-index: 0; }
    .rider-watermark { top: 30%; font-size: 45vw; }
}

/* --- Contact Form --- */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.premium-form {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(190, 154, 72, 0.6);
    box-shadow: 0 0 20px rgba(190, 154, 72, 0.3), inset 0 0 10px rgba(190, 154, 72, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.half-width {
    flex: 1;
}

.form-group label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.form-optional {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    text-transform: lowercase;
    letter-spacing: 0.04em;
    margin-left: 0.4rem;
}

.form-group input, 
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1.2rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-gold);
    box-shadow: 0 0 15px rgba(190, 154, 72, 0.4);
    background: rgba(190, 154, 72, 0.05); /* very faint gold tint */
}

.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 1.2rem;
    color: var(--brand-gold);
    pointer-events: none;
    font-size: 0.8rem;
}

.premium-form select optgroup {
    background-color: #0a0a0a;
    color: var(--brand-gold);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.premium-form select option {
    background-color: #111;
    color: #f5f5f5;
    font-weight: 500;
    padding: 0.5rem;
}

.form-group select {
    appearance: none;
    width: 100%;
    cursor: pointer;
}

/* Base style for options */
.form-group select option {
    background-color: var(--brand-blue-dark);
    color: var(--text-main);
}

.submit-btn {
    width: 100%;
    background: var(--brand-gold);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(190, 154, 72, 0.2);
}

.contact-form-status {
    margin: 1rem 0 0;
    min-height: 1.2em;
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
}

.contact-form-status[data-type="info"] {
    color: var(--brand-gold);
}

.contact-form-status[data-type="success"] {
    color: #6ee7a0;
}

.contact-form-status[data-type="error"] {
    color: #f87171;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .premium-form {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   FAU55 TEYRACING SPONSORSHIP SECTION 
   ========================================================================== */
.fau55-sponsorship {
    background: linear-gradient(180deg, var(--bg-color) 0%, #010a14 100%);
    position: relative;
    overflow: hidden;
}

.fau55-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: var(--space-xl) 0;
}

.text-center { text-align: center; }

/* Header */
.fau55-header {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.fau55-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Smaller and more compact */
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 900;
}

.stacked-title {
    line-height: 0.8; /* Supreme tight stacking */
    text-align: center;
}

.stacked-title .block-text {
    display: block;
    margin-bottom: 0;
}

.stacked-title .text-small {
    display: block;
    font-size: 0.35em;
    margin: 0.2rem auto;
}

.fau55-title .text-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--brand-gold);
    font-size: clamp(0.9rem, 5vw, 3.6rem);
    letter-spacing: -0.02em;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
}

.premium-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.subtitle-box {
    max-width: 650px;
    margin: 0 auto;
    padding: 1.8rem 2.5rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(190, 154, 72, 0.3);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Grid & Text (Asymmetric Layout) */
.fau55-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-xl);
}

.fau55-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(190, 154, 72, 0.3);
    border-radius: 50px;
    color: var(--brand-gold);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: rgba(190, 154, 72, 0.05);
}

.fau55-secondary-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 900;
}

.fau55-body {
    font-size: 1.1rem;
    color: #9baec4;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Values Grid (Ultra Minimalist Premium) */
.fau55-values-wrapper {
    position: relative;
    padding: 0;
}

.fau55-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem; /* Generous gap from screenshot */
}

.value-card {
    background: rgba(255, 255, 255, 0.02); /* Essential subtle solid fill */
    border: 1px solid rgba(255, 255, 255, 0.03); /* Faint ultra-thin border */
    padding: 2.2rem 1.5rem; /* Taller padding */
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.value-card span {
    font-family: var(--font-heading);
    font-weight: 500; /* Lighter font weight */
    font-size: 0.85rem; /* Smaller font size */
    letter-spacing: 0.25em; /* Extremely wide tracking */
    text-transform: uppercase;
    color: #ffffff;
}

.value-wide {
    grid-column: span 2;
}

.value-passion {
    grid-column: span 2;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.03);
}

.hover-glow:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Timeline Vertical */
.fau55-timeline-section {
    position: relative;
}

.timeline-intro {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.timeline-wrapper-vertical {
    position: relative;
    padding-left: 2.5rem;
}

.timeline-line-vertical {
    position: absolute;
    top: 5px;
    left: 8px;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, rgba(190, 154, 72, 0.8), rgba(190, 154, 72, 0.1));
}

.timeline-item-vertical {
    position: relative;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
}

.timeline-item-vertical:last-child {
    padding-bottom: 0;
}

.timeline-item-vertical .timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--bg-color);
    border: 3px solid var(--brand-gold);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(190, 154, 72, 0.4);
    transition: all 0.3s ease;
}

.timeline-item-vertical:hover .timeline-dot {
    background: var(--brand-gold);
    box-shadow: 0 0 25px rgba(190, 154, 72, 0.8);
    transform: translateX(-50%) scale(1.3);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
    opacity: 0.95;
    line-height: 1;
}

.timeline-card h4 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-main);
    letter-spacing: 0.05em;
    font-weight: 300;
    margin: 0 0 0.65rem 0;
}

.timeline-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.timeline-highlights li {
    position: relative;
    padding-left: 1.05rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(155, 174, 196, 0.98);
    font-weight: 300;
}

.timeline-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 5px;
    height: 5px;
    background: var(--brand-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(190, 154, 72, 0.45);
}

/* CTA Glass Section */
.fau55-cta-section {
    position: relative;
    max-width: 900px; /* Constrain width to make it compact */
    margin: 0 auto;
}

.fau55-cta-glass {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05); /* Tighter, fainter border */
    border-radius: 16px; /* Straighter edges */
    padding: 3.5rem 3rem; /* Much more compact padding */
    text-align: center;
    backdrop-filter: blur(15px);
    overflow: hidden;
}

.fau55-cta-glass::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(190, 154, 72, 0.03) 0%, transparent 50%); /* Fainter glow */
    pointer-events: none;
    z-index: 0;
}

.fau55-quote-icon {
    font-family: var(--font-heading);
    font-size: 3.5rem; /* Smaller and sharper */
    color: var(--brand-gold); /* Solid gold */
    line-height: 0;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-value-prop {
    position: relative;
    z-index: 1;
    font-size: clamp(1rem, 1.8vw, 1.25rem); /* Smaller text */
    color: #cbd5e1; /* Slightly softer white */
    font-style: italic;
    max-width: 750px; /* Text breaks sooner */
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.fau55-btn-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.premium-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-solid {
    background: var(--brand-gold);
    color: #000;
    border: 1px solid var(--brand-gold);
}

.primary-solid:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(190, 154, 72, 0.25);
}

.primary-solid .btn-arrow {
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.primary-solid:hover .btn-arrow {
    transform: translateX(6px);
}

.secondary-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.secondary-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 992px) {
    .fau55-grid {
        grid-template-columns: 1fr;
    }
    .timeline-year {
        font-size: clamp(2rem, 11vw, 2.65rem);
    }
    .timeline-highlights li {
        font-size: 0.86rem;
        line-height: 1.42;
    }
    .fau55-btn-group {
        flex-direction: column;
        width: 100%;
    }
    .fau55-cta-glass {
        padding: 4rem 2rem;
    }
}

/* Responsive Contact Form Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: stretch;
}

@media(min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 40px rgba(190, 154, 72, 0.1);
    min-height: 350px;
}

.contact-video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}

/* Menú compacto superior — oculto siempre (la navegación se hace con el menú flotante inferior y los botones de las esquinas) */
.mobile-top-nav {
    display: none !important;
}

/* Barra de navegación fija inferior (solo vista estrecha; el menú superior se oculta ≤1024px) */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-bottom-nav {
        display: none !important;
    }

    .mobile-bottom-nav-track {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        padding: 0 0.15rem;
        mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
    }

    .mobile-bottom-nav-track::-webkit-scrollbar {
        display: none;
    }

    .mobile-bottom-nav .nav-item {
        flex-shrink: 0;
        font-size: 0.52rem;
        padding: 0.45rem 0.7rem;
        letter-spacing: 0.07em;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }
}

@media (min-width: 1025px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* Cookie banner (estilo notificación — patrón Whatsora, marca Urus) */
.urus-cookie-root {
    position: fixed;
    bottom: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
    z-index: 2147483000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(1.25rem) scale(0.98);
    filter: blur(6px);
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.45s ease;
}

.urus-cookie-root.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.urus-cookie-card {
    margin-left: auto;
    max-width: 24rem;
    overflow: hidden;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1.75rem 4rem -1.5rem rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(190, 154, 72, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.urus-cookie-card__head {
    display: flex;
    gap: 0.85rem;
    padding: 0.95rem 1rem 0.75rem;
}

.urus-cookie-card__icon {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 1rem;
    background: var(--bg-color);
    color: var(--brand-gold);
}

.urus-cookie-card__icon-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--brand-gold);
    box-shadow: 0 0 0 2px #fff;
}

.urus-cookie-card__copy {
    min-width: 0;
    flex: 1;
}

.urus-cookie-card__topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.urus-cookie-card__eyebrow {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(3, 33, 60, 0.55);
}

.urus-cookie-card__title {
    margin-top: 0.15rem;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--bg-color);
}

.urus-cookie-card__close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: rgba(3, 33, 60, 0.45);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.urus-cookie-card__close:hover {
    background: rgba(3, 33, 60, 0.08);
    color: var(--bg-color);
}

.urus-cookie-card__text {
    margin-top: 0.45rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(3, 33, 60, 0.72);
}

.urus-cookie-link {
    color: var(--brand-gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.urus-cookie-link:hover {
    color: var(--bg-color);
}

.urus-cookie-prefs {
    border-top: 1px solid rgba(3, 33, 60, 0.08);
    padding: 0.65rem 0.85rem;
    display: grid;
    gap: 0.5rem;
}

.urus-cookie-toggle-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(3, 33, 60, 0.08);
    background: rgba(3, 33, 60, 0.03);
}

.urus-cookie-toggle-row.is-disabled {
    opacity: 0.85;
    background: rgba(3, 33, 60, 0.05);
}

.urus-cookie-toggle-row__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--bg-color);
}

.urus-cookie-toggle-row__badge {
    margin-left: 0.35rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(190, 154, 72, 0.15);
    color: rgba(3, 33, 60, 0.55);
}

.urus-cookie-toggle-row__desc {
    margin-top: 0.2rem;
    font-size: 0.68rem;
    line-height: 1.35;
    color: rgba(3, 33, 60, 0.58);
}

.urus-cookie-switch {
    position: relative;
    flex-shrink: 0;
    width: 2.35rem;
    height: 1.35rem;
    border: none;
    border-radius: 999px;
    background: rgba(3, 33, 60, 0.15);
    cursor: pointer;
    transition: background 0.25s ease;
}

.urus-cookie-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.urus-cookie-switch.is-on {
    background: var(--brand-gold);
}

.urus-cookie-switch.is-on::after {
    transform: translateX(1rem);
}

.urus-cookie-switch:disabled {
    cursor: not-allowed;
}

.urus-cookie-card__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem 0.85rem;
    border-top: 1px solid rgba(3, 33, 60, 0.08);
}

.urus-cookie-btn {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.urus-cookie-btn:active {
    transform: scale(0.98);
}

.urus-cookie-btn--primary {
    flex: 1;
    padding: 0.65rem 1rem;
    background: var(--bg-color);
    color: #fff;
}

.urus-cookie-btn--primary:hover {
    background: #021629;
}

.urus-cookie-btn--secondary {
    flex: 1;
    padding: 0.65rem 0.85rem;
    background: rgba(3, 33, 60, 0.08);
    color: var(--bg-color);
}

.urus-cookie-btn--secondary:hover {
    background: rgba(3, 33, 60, 0.14);
}

.urus-cookie-btn--icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #fff;
    color: var(--bg-color);
    border: 1px solid rgba(3, 33, 60, 0.1);
}

.urus-cookie-btn--icon:hover {
    background: rgba(3, 33, 60, 0.05);
}

@media (max-width: 768px) {
    .urus-cookie-root {
        bottom: max(5.25rem, calc(env(safe-area-inset-bottom) + 4.5rem));
        left: 0.65rem;
        right: 0.65rem;
    }
    .urus-cookie-card {
        max-width: none;
        margin-left: 0;
        box-shadow: 0 1.75rem 4rem -1rem rgba(0, 0, 0, 0.75);
    }
    body.rider-modal-open .urus-cookie-root,
    body:has(.phone-popup:not([hidden])) .urus-cookie-root {
        bottom: max(6.5rem, calc(env(safe-area-inset-bottom) + 5.5rem));
    }
}

/* Botones legacy del formulario / CTA */
.gold-btn {
    background: var(--brand-gold);
    color: #000;
    border: 1px solid var(--brand-gold);
}

.gold-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.outline-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.outline-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Footer Legal Styles */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-link {
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--brand-gold);
}

.legal-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

.footer-sonora {
    padding: 0.75rem 1.25rem !important;
    background: linear-gradient(180deg, rgba(190, 154, 72, 0.08) 0%, rgba(190, 154, 72, 0.02) 100%);
    border: 1px solid rgba(190, 154, 72, 0.25);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.footer-sonora:hover {
    border-color: rgba(190, 154, 72, 0.55);
    box-shadow: 0 8px 26px rgba(190, 154, 72, 0.18);
}
.footer-sonora-logo {
    height: 44px !important;
}
.footer-sonora-text {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    letter-spacing: 0.04em !important;
    line-height: 1.4 !important;
}
.footer-sonora-text a {
    text-shadow: 0 0 12px rgba(190, 154, 72, 0.35);
}

/* ==========================================================================
   CINEMATIC SCRUB SECTION
   ========================================================================== */
.cinematic-scrub-section {
    position: relative;
    background: #000;
}

.cinematic-scroll-track {
    position: relative;
    height: 400vh;
}

.cinematic-sticky-container {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#main-cinematic-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
}

.cinematic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 40%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}

.cinematic-content-layer {
    position: absolute;
    z-index: 3;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 5%;
}

.cinematic-main-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 6rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.cinematic-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--brand-gold);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ==========================================================================
   GLOBAL IMPACT CINEMATIC SECTION
   ========================================================================== */
.global-impact-section {
    position: relative;
    background: #010a14;
}

.impact-scroll-track {
    position: relative;
    height: 400vh;
}

.impact-sticky-container {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#world-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
    filter: contrast(1.2) sepia(0.2) hue-rotate(-15deg);
}

.impact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(1, 10, 20, 0.9) 100%),
                linear-gradient(180deg, #010a14 0%, transparent 15%, transparent 85%, #010a14 100%);
    z-index: 2;
    pointer-events: none;
}

/* Base class for scroll-animated layers */
.fade-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 1400px;
    padding: 0 5%;
    transform: translate(-50%, -40%) scale(0.95);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fade-layer.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.fade-layer.is-hidden-up {
    opacity: 0;
    transform: translate(-50%, -60%) scale(0.95);
    pointer-events: none;
}

/* 1. Title Area */
.title-layer {
    max-width: 1000px;
}

.impact-main-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.9;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--brand-gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.impact-subtitle {
    color: #ffffff;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    margin: 0 auto;
    max-width: 800px;
    letter-spacing: 0.05em;
    line-height: 1.6;
    text-align: center;
}

/* 2. Metrics Grid */
.impact-metrics-layer {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(190, 154, 72, 0.15);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(12px);
    flex: 1 1 220px;
    max-width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(190, 154, 72, 0.5);
    background: rgba(190, 154, 72, 0.04);
}

.metric-val {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--brand-gold);
    line-height: 1;
    display: inline-block;
    margin-bottom: 0.8rem;
    white-space: nowrap;
}

.metric-unit {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: #ffffff;
    margin-left: 0.2rem;
}

.metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

/* 3. Map Focus Text */
.impact-map-focus h3 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    color: rgba(190, 154, 72, 0.05);
    -webkit-text-stroke: 1.5px var(--brand-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    filter: drop-shadow(0 0 10px rgba(190, 154, 72, 0.3));
}

/* 4. Audience Area */
.audience-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 3.5rem;
    letter-spacing: 0.15em;
}

.donuts-container {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.donut-chart {
    position: relative;
    width: 150px;
    height: 150px;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 2s cubic-bezier(0.16, 1, 0.3, 1);
    stroke-dashoffset: 0;
}

/* Animation triggered by custom fade-layer class */
.fade-layer:not(.is-visible) .circle {
    stroke-dasharray: 0, 100 !important;
}

.circular-chart.gold .circle { stroke: var(--brand-gold); }
.circular-chart.blue .circle { stroke: #3b82f6; }
.circular-chart.gold-dim .circle { stroke: rgba(190, 154, 72, 0.5); }
.circular-chart.silver .circle { stroke: #c0c0c0; }

.donut-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.donut-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.donut-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.4rem;
}

/* ==========================================================================
   CALENDAR SECTION
   ========================================================================== */
.calendar-section {
    background-color: #0B2A3C;
    padding: 8rem 5%;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.calendar-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
    pointer-events: none;
}

.calendar-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.calendar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5rem;
    text-align: center;
}

.calendar-gold-title {
    color: #D4AF37;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    text-transform: uppercase;
    letter-spacing: 0.35em; /* Extremely wide tracking for a premium feel */
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}

.calendar-big-title-wrap {
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    flex-direction: column; /* Stack 2026 and CALENDAR */
    justify-content: center;
    align-items: center;
    line-height: 0.85; /* Tight vertical stacking */
    margin-bottom: 2.5rem;
    gap: 0;
}

.calendar-outline-text {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85); /* Slightly softer stroke */
    background-image: linear-gradient(to bottom, #ffffff, #666666);
    -webkit-background-clip: text;
    margin-right: 0;
    font-size: clamp(5rem, 18vw, 14rem); /* Massive to match width of CALENDAR */
    letter-spacing: -0.04em;
    transform: translateX(-2%); /* Minor optical centering */
}

.calendar-solid-text {
    color: #fff;
    font-size: clamp(2.5rem, 9.4vw, 7.3rem); /* Proportioned to match 2026 width */
    letter-spacing: -0.01em;
}

.calendar-decorative-line {
    width: 120px;
    height: 4px;
    background-image: linear-gradient(90deg, transparent, #D4AF37, transparent);
    background-color: transparent;
    margin: 0 auto;
    border-radius: 2px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.calendar-card {
    container-type: inline-size;
    container-name: calendar-card;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(190, 154, 72, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: default;
}

.calendar-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-gold);
    box-shadow: inset 0 0 30px rgba(190, 154, 72, 0.05), 0 15px 40px rgba(0,0,0,0.5);
}

.calendar-flag {
    width: 65px;
    height: auto;
    border-radius: 6px;
    margin-right: 1.5rem;
    flex-shrink: 0;
    filter: grayscale(100%) opacity(0.25);
    mix-blend-mode: luminosity;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.calendar-card:hover .calendar-flag {
    filter: grayscale(0%) opacity(1);
    mix-blend-mode: normal;
    transform: scale(1.05);
}

.calendar-content {
    display: flex;
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
    align-items: center;
}

.calendar-date-area {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 1rem;
    margin-right: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    min-width: 4.75rem;
}

.calendar-days {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 900;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.2rem;
    letter-spacing: -0.05em;
}

.calendar-month {
    color: var(--brand-gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.calendar-info-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.calendar-country {
    color: #ffffff;
    font-size: clamp(0.72rem, 5.8cqi, 1.15rem);
    font-weight: 900;
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0.01em;
    margin-bottom: 0.3rem;
    overflow-wrap: break-word;
    word-break: keep-all;
    hyphens: manual;
}

.calendar-circuit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@media (max-width: 1200px) {
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .calendar-section {
        padding: 1.75rem 5% 1.5rem;
    }
    .calendar-header {
        margin-bottom: 1rem;
    }
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
    .calendar-big-title-wrap {
        flex-direction: row;
        gap: 0.4rem;
        font-size: clamp(1.8rem, 9vw, 2.6rem);
        flex-wrap: wrap;
        justify-content: center;
    }
    .calendar-outline-text {
        margin-right: 0;
        -webkit-text-stroke: 1px #fff;
    }
    .calendar-card {
        padding: 0.45rem 0.55rem !important;
        border-radius: 7px;
        min-height: 0;
    }
    .calendar-card:hover {
        transform: none;
    }
    .calendar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.05rem;
    }
    .calendar-flag {
        width: 22px;
        border-radius: 3px;
        margin-right: 0.4rem;
    }
    .calendar-date-area {
        padding: 0 !important;
        margin: 0 0 0.15rem 0 !important;
        border: none !important;
        flex-direction: row;
        align-items: baseline;
        gap: 0.3rem;
        min-width: 0;
    }
    .calendar-days {
        font-size: 0.78rem;
        margin-bottom: 0;
        letter-spacing: -0.04em;
    }
    .calendar-month {
        font-size: 0.46rem;
        letter-spacing: 0.16em;
    }
    .calendar-info-area {
        flex-direction: row;
        align-items: center;
        gap: 0.35rem;
        flex-wrap: nowrap;
        width: 100%;
    }
    .calendar-country {
        font-size: clamp(0.52rem, 11cqi, 0.72rem);
        letter-spacing: 0.01em;
        line-height: 1.1;
        font-weight: 800;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        max-width: none;
        overflow-wrap: break-word;
    }
    .calendar-circuit {
        display: none;
    }
}

/* Premium Floating Navigation - Ultra Compact */
.premium-floating-nav {
    position: fixed;
    top: 2.5rem; /* Movido a la parte superior */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 0.35rem 0.6rem;
    border-radius: 50px;
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-floating-nav:hover {
    background: rgba(10, 10, 10, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.nav-track {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-item {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.45rem 0.85rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    font-family: var(--font-body);
}

.nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-item.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--brand-gold, #BE9A48);
    box-shadow: 0 0 6px var(--brand-gold, #BE9A48);
}

@media (max-width: 992px) {
    .premium-floating-nav {
        bottom: 1.5rem;
        width: 90%;
        padding: 0.35rem 0.5rem;
        background: rgba(5, 5, 5, 0.6);
    }
    .nav-track {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        gap: 0.35rem;
    }
    .nav-track::-webkit-scrollbar {
        display: none;
    }
    .nav-item {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.55rem;
        padding: 0.4rem 0.75rem;
    }
}

@media (max-width: 600px) {
    .premium-floating-nav {
        bottom: 1rem;
        width: 92%;
        padding: 0.35rem 0.45rem;
        background: rgba(8, 8, 8, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }
    .nav-track {
        padding: 0 0.3rem;
        gap: 0.2rem;
        /* Efecto premium de difuminado en los bordes para indicar scroll */
        -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
        mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
    }
    .nav-item {
        font-size: 0.5rem;
        padding: 0.4rem 0.65rem;
        letter-spacing: 0.06em;
    }
    .nav-item.active::after {
        bottom: 1px;
    }
}

/* =========================================
   MASTER MOBILE REFACTOR (768px & below) 
   ========================================= */
@media (max-width: 1024px) {
    /* 1. Global Spacing Overrides & Fixes */
    :root {
        --space-md: 1.5rem;
        --space-lg: 3rem;
        --space-xl: 4rem;
    }
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important; /* Force block horizontal scroll causing issues */
        padding-bottom: env(safe-area-inset-bottom);
    }
    main {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
    }
    * {
        box-sizing: border-box;
    }

    /* 2. Hide Floating Menu as requested */
    .premium-floating-nav {
        display: none !important;
    }

    /* 3. Hero Section (Premium Mobile Focus) */
    .hero {
        min-height: 72dvh !important;
        padding: calc(3rem + env(safe-area-inset-top)) 1.25rem 2rem 1.25rem !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
        text-align: center !important;
        overflow: hidden;
    }
    .hero-bg {
        object-position: center 30% !important;
        opacity: 0.25 !important;
        filter: blur(0.5px) !important;
        transform: scale(1.05);
    }
    .hero-overlay {
        background:
            radial-gradient(ellipse 90% 60% at 50% 45%, rgba(3, 33, 60, 0.15) 0%, rgba(3, 33, 60, 0.7) 70%, rgba(3, 33, 60, 0.92) 100%),
            linear-gradient(to top, var(--bg-color) 0%, rgba(3, 33, 60, 0.65) 50%, rgba(3, 33, 60, 0.5) 100%) !important;
    }
    .hero-title-container {
        margin-bottom: 0.6rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 2;
        padding: 0 0.25rem;
        box-sizing: border-box;
    }
    .hero-title {
        font-size: clamp(1.25rem, 7vw, 2.2rem) !important;
        line-height: 1.05 !important;
        margin-bottom: 0.85rem !important;
        transform: skewX(-2deg);
        text-align: center !important;
        white-space: nowrap !important;
        display: block;
        width: 100%;
        max-width: 100%;
        letter-spacing: -0.02em;
        text-shadow: 0 6px 18px rgba(0,0,0,0.6) !important;
    }
    .hero-sub {
        font-size: 0.85rem !important;
        line-height: 1.45 !important;
        max-width: 86% !important;
        margin: 0 auto !important;
        border-left: none !important;
        padding-left: 0 !important;
        text-align: center !important;
        color: rgba(226, 232, 240, 0.92) !important;
        z-index: 2;
    }
    .language-selector {
        top: max(1.5rem, env(safe-area-inset-top)); /* Safe area respect */
        left: 1.5rem;
        gap: 1rem;
    }
    .lang-btn {
        padding: 0.45rem 0.95rem;
        font-size: 0.8rem;
    }

    /* Botón GP Experience arriba a la derecha en mobile/tablet */
    .gp-mobile-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        position: absolute;
        top: max(1.5rem, env(safe-area-inset-top));
        right: 1.5rem;
        z-index: 1000;
        padding: 0.55rem 0.95rem;
        background: linear-gradient(140deg, #d8b25c 0%, var(--brand-gold) 55%, #8e6c2c 100%);
        color: #0d1a2c;
        font-family: var(--font-heading);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        text-decoration: none;
        border-radius: 50px;
        box-shadow:
            0 6px 18px rgba(190, 154, 72, 0.32),
            0 0 0 1px rgba(255, 255, 255, 0.14) inset;
        transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent;
    }
    .gp-mobile-btn:hover,
    .gp-mobile-btn:active {
        transform: translateY(-1px);
        filter: brightness(1.05);
        box-shadow:
            0 10px 24px rgba(190, 154, 72, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.22) inset;
    }
    .gp-mobile-btn svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
        margin-top: 1px;
    }
    
    /* FIX: Banner Divider Logos — pegado a las secciones (sin espacio azul) */
    .banner-divider {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #000;
        box-sizing: border-box;
        line-height: 0;
    }
    .banner-divider img.full-banner {
        width: 100% !important;
        min-width: 100% !important; 
        height: auto;
        display: block !important;
    }

    /* 4. About Us Section (Compact) */
    .about-us {
        padding: calc(2.5rem + env(safe-area-inset-top)) 1.25rem 1.5rem 1.25rem !important;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .fau55-title {
        font-size: clamp(1.4rem, 8vw, 3rem) !important; /* Scale down INTERNACIONAL to fit screen */
    }
    .stacked-title {
        line-height: 1.05 !important; /* Prevent text overlap on mobile */
    }
    .fau55-title .text-outline {
        display: none !important;
    }
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    .subtitle-box {
        padding: 1.25rem 1rem !important;
    }
    .about-text .section-heading, .about-us h2.section-heading {
        font-size: clamp(1.5rem, 8vw, 2.6rem) !important;
        line-height: 1;
        margin-bottom: 1.5rem;
        word-break: normal !important;
        overflow-wrap: break-word;
        max-width: 100%;
        letter-spacing: -0.01em;
    }
    .about-text .section-heading .text-gold,
    .about-us h2.section-heading .text-gold {
        display: inline-block;
        max-width: 100%;
    }
    .premium-description {
        padding-left: 1rem;
        gap: 0.9rem;
        margin-top: 1.5rem;
        border-left-width: 2px;
    }
    .premium-description p {
        font-size: 0 !important;
        line-height: 0 !important;
        margin: 0;
    }
    .premium-description p strong {
        display: block;
        margin-bottom: 0;
        font-size: 1rem;
        line-height: 1.3;
        letter-spacing: 0.05em;
    }
    .about-founders {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1rem;
    }
    .about-founders .founder p:not(.founder-role) {
        display: none !important;
    }
    .interactive-name {
        font-size: clamp(1.4rem, 8vw, 2.2rem) !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.15;
    }

    /* FIX: RIDER LIST GRID (Thumbnail cards) - PURE TEXT COMPACT MODE */
    .riders-list {
        gap: 0.65rem !important;
        padding: 0 1rem;
    }
    .rider-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        text-align: left !important;
        height: auto !important;
        padding: 1.1rem 1.1rem 1.1rem 1.25rem !important;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.06);
        border-left: 2px solid var(--brand-gold);
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(8, 28, 50, 0.85) 0%, rgba(2, 14, 26, 0.9) 100%) !important;
        position: relative;
    }
    .rider-card::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 1rem;
        width: 8px;
        height: 8px;
        border-top: 2px solid rgba(190, 154, 72, 0.7);
        border-right: 2px solid rgba(190, 154, 72, 0.7);
        transform: translateY(-50%) rotate(45deg);
        opacity: 0.7;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }
    .rider-card:active::after {
        transform: translateY(-50%) rotate(45deg) translateX(3px);
        opacity: 1;
    }
    .rider-img-placeholder {
        display: none !important;
    }
    .riders {
        padding-top: 2rem !important;
        padding-bottom: calc(3rem + env(safe-area-inset-bottom)) !important;
    }
    .riders .section-heading {
        font-size: clamp(2rem, 9vw, 3rem) !important;
        margin-bottom: 1.25rem !important;
        text-align: center !important;
    }
    .rider-info {
        width: 100%;
        padding: 0 1.5rem 0 0 !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }
    .rider-stats {
        display: inline-flex !important;
        justify-content: flex-start !important;
        align-items: baseline !important;
        width: auto;
        margin-bottom: 0.1rem !important;
        gap: 0.4rem !important;
    }
    .rider-info h3 {
        font-size: clamp(1.05rem, 5.5vw, 1.6rem) !important;
        color: var(--text-main) !important;
        text-transform: uppercase !important;
        line-height: 1.05 !important;
        word-spacing: normal !important;
        white-space: normal !important;
        word-break: normal !important;
        text-align: left !important;
        margin: 0 !important;
        font-weight: 900 !important;
        letter-spacing: -0.01em;
    }
    .rider-card .stat-number {
        font-size: 1.05rem !important;
        color: var(--brand-gold) !important;
        font-weight: 800 !important;
        letter-spacing: 0.02em;
    }
    .rider-card .stat-label {
        color: rgba(248, 250, 252, 0.7) !important;
        font-size: 0.62rem !important;
        margin-left: 0 !important;
        text-transform: uppercase;
        font-weight: 500;
        letter-spacing: 0.18em;
    }

    /* FIX: IMPACT SECTION / TOTAL PAISES TEXT */
    .impact-map-focus h3 {
        font-size: clamp(2rem, 10vw, 4rem) !important; /* Prevents TOTAL 207 PAISES cutoff */
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center;
        width: 100%;
    }

    /* Ocultar el bloque descriptivo de FAU55 en móvil (badge + título + 3 párrafos) */
    .fau55-sponsorship .fau55-text-content {
        display: none !important;
    }

    /* Ocultar la animación/video del globo (Global Impact) en móvil */
    .global-impact-section {
        display: none !important;
    }
    /* Como la sección del globo desaparece, dos banner-divider quedaban pegados.
       Ocultamos el banner que iba justo después para dejar solo uno entre secciones. */
    .global-impact-section + .banner-divider {
        display: none !important;
    }

    /* Ocultar el banner-divider que va pegado al hero — la portada queda con una sola foto */
    .hero + .banner-divider {
        display: none !important;
    }
    /* Banner exclusivo móvil entre portada y "Sobre Nosotros" */
    .banner-divider.banner-divider--mobile-only {
        display: flex !important;
    }

    /* 5. Rider Modal Profile Mobile - PRO POSTER LAYOUT */
    .rider-scroll-track {
        background: transparent !important; /* Ensure canvas shows */
    }
    .rider-scrub-stage {
        min-height: 100dvh !important;
        height: 100dvh !important; /* En móvil: 1 pantalla de scrub (canvas oculto) */
    }
    .rider-scrub-caption {
        left: 0.85rem !important;
        bottom: max(5.5rem, env(safe-area-inset-bottom)) !important;
        max-width: calc(100vw - 1.75rem) !important;
        font-size: clamp(0.52rem, 2.85vw, 0.72rem) !important;
        letter-spacing: 0.1em !important;
        line-height: 1.35 !important;
    }
    .rider-motogp-layout {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start !important;
        /* Deja crecer el contenido (bio + stats); 100vh + overflow:hidden recortaba la caja */
        height: auto !important;
        min-height: 100dvh;
        overflow: visible !important;
        padding-top: max(0.35rem, env(safe-area-inset-top)) !important;
        gap: 0;
        width: 100%;
        /* Pro sports poster gradient: dark left edge to readable text, transparent right for action shot */
        background: linear-gradient(to right, rgba(1, 10, 20, 0.95) 0%, rgba(1, 10, 20, 0.7) 50%, rgba(1, 10, 20, 0.2) 100%) !important;
    }
    /* Gradiente lateral cubre toda la altura si el bloque crece por la bio */
    .rider-motogp-layout::before {
        height: 100% !important;
        min-height: 100dvh !important;
    }
    .rider-modal-data,
    .rider-modal-data--hero {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
        width: 100% !important; /* Critical 100vw bugfix! */
        box-sizing: border-box;
        height: auto;
        max-height: none !important;
        overflow-y: visible;
        margin-top: 0 !important;
        gap: 0.65rem !important;
        z-index: 2;
        position: relative;
    }
    .rider-profile-details {
        order: 2;
        padding: 0 0.65rem 1rem !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    .rider-motogp-layout #rider-scrub-canvas,
    .rider-motogp-layout #rider-scrub-video {
        display: none !important;
    }
    .rider-photo-container {
        display: block !important;
        position: relative !important;
        right: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        height: 52vh !important;
        z-index: 1 !important;
        margin: 0 0 0.5rem 0 !important;
        overflow: hidden;
        order: 1;
        opacity: 1 !important;
    }
    /* Bandera de España de fondo, sutil, detrás del piloto */
    .rider-photo-container::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            #c60b1e 0%,
            #c60b1e 25%,
            #ffc400 25%,
            #ffc400 75%,
            #c60b1e 75%,
            #c60b1e 100%
        );
        opacity: 0.18;
        mix-blend-mode: screen;
        z-index: 0;
        pointer-events: none;
    }
    .rider-photo-container img {
        position: relative;
        z-index: 1;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 22% !important;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 65%, rgba(0,0,0,0.6) 88%, transparent 100%) !important;
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 65%, rgba(0,0,0,0.6) 88%, transparent 100%) !important;
    }
    .rider-modal-data--hero {
        order: 1;
    }
    .rider-profile-details {
        order: 2;
    }
    .rider-watermark {
        top: 20% !important;
        font-size: clamp(3rem, 20vw, 5rem) !important;
        opacity: 0.05 !important;
        text-align: left;
        padding-left: 1rem;
    }
    .rider-header-block:has(.rider-header-strip--motogp) {
        gap: 0.1rem !important;
    }
    .rider-header-block {
        margin-bottom: 0.35rem !important;
        flex-direction: column;
        align-items: flex-start;
        /* Dorsal + logo MotoGP visibles al hacer scroll en la biografía */
        position: sticky !important;
        top: calc(env(safe-area-inset-top) + 3rem) !important;
        z-index: 6 !important;
        padding-bottom: 0.5rem !important;
        margin-top: 0 !important;
        width: 100%;
        background: linear-gradient(
            to bottom,
            rgba(1, 10, 20, 0.99) 0%,
            rgba(1, 10, 20, 0.94) 72%,
            transparent 100%
        );
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
    /* Fermín: logo junto al dorsal y más grande en móvil */
    .rider-header-strip--motogp {
        gap: 0.5rem !important;
    }
    .rider-header-strip--motogp > .rider-motogp-logo-slot {
        max-width: min(70%, calc(100% - 3.75rem)) !important;
    }
    .rider-header-strip--motogp .rider-motogp-brand-logo {
        max-height: clamp(3.1rem, 17vw, 5rem) !important;
    }
    .rider-header-strip--motogp .rider-moto2-brand-logo {
        max-height: clamp(2.4rem, 12.5vw, 3.9rem) !important;
        max-width: min(78%, 15rem) !important;
    }
    .rider-header-strip--motogp .rider-moto3-brand-logo {
        max-height: clamp(2.4rem, 12.5vw, 3.9rem) !important;
        max-width: min(78%, 15rem) !important;
    }
    .rider-header-strip--motogp .rider-number {
        font-size: 1.35rem !important;
        padding: 0.2rem 0.5rem !important;
        margin-bottom: 0 !important;
        background: var(--brand-gold) !important;
        color: var(--bg-color) !important;
    }
    .rider-number {
        font-size: clamp(2.5rem, 12vw, 4rem) !important;
        position: static !important;
        margin-right: 0;
        line-height: 1;
        margin-bottom: 0.2rem;
        background: transparent !important; /* Fixes blank gold block bug! */
        color: var(--brand-gold) !important;
    }
    .rider-motogp-name {
        font-size: clamp(1.85rem, 9.5vw, 3.25rem) !important;
        line-height: 1 !important;
        margin-left: 0 !important;
        margin-top: 0;
        white-space: normal !important;
        word-break: normal !important;
    }
    /* Bio oculta en móvil: solo perfil, nombre y stats */
    .rider-biography {
        display: none !important;
    }
    /* Espacio de colaboración oculto en móvil dentro del modal del piloto */
    #rider-profile-modal #modal-patrocinadores,
    #rider-profile-modal .rider-modal-championship-banner {
        display: none !important;
    }
    .rider-stats-table {
        gap: 0 !important;
        margin-left: 0 !important;
        max-width: 100% !important;
        justify-content: flex-start !important;
        padding: 0.35rem 0.75rem 1rem !important;
        padding-bottom: 1.25rem !important;
        flex-wrap: wrap;
    }
    .rider-modal-data .motogp-row,
    .rider-profile-details .motogp-row {
        padding: 0.42rem 0 !important;
    }
    .rider-modal-data .motogp-label,
    .rider-profile-details .motogp-label {
        font-size: 0.62rem !important;
    }
    .rider-modal-data .motogp-val,
    .rider-profile-details .motogp-val {
        font-size: 0.78rem !important;
        padding-left: 0.35rem;
        text-align: right;
    }
    .modal-stat-card {
        padding: 0.5rem !important;
        min-width: 45%;
    }
    .stat-val {
        font-size: 1.4rem !important;
    }
    .stat-lbl {
        font-size: 0.6rem !important;
    }

    /* 6. Global Impact — layout apilado (clase .impact-mobile añadida por JS en vista estrecha) */
    .impact-main-title {
        font-size: clamp(1.4rem, 8vw, 2.5rem) !important;
        line-height: 1.15 !important;
        text-align: center;
        word-break: break-word !important;
        white-space: normal !important;
    }
    .impact-subtitle {
        font-size: 0.9rem !important;
        margin-top: 1rem;
        max-width: 100%;
        padding: 0 1rem;
        text-align: center;
    }
    .impact-metrics-layer {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
        position: static; 
        align-items: center;
    }
    .metric-value {
        font-size: clamp(2rem, 9vw, 3rem) !important;
    }
    .metric-label {
        font-size: 0.75rem !important;
    }

    /* 7. Calendar Section Mobile */
    .calendar-container {
        padding: 3rem 1.5rem;
    }
    .calendar-header {
        margin-bottom: 2rem !important;
    }
    .calendar-gold-title {
        font-size: clamp(0.9rem, 3.5vw, 1.2rem) !important;
        letter-spacing: 0.15em !important;
    }
    .calendar-outline-text {
        font-size: clamp(2.5rem, 12vw, 4.5rem) !important;
        word-break: normal !important;
    }
    .calendar-solid-text {
        font-size: clamp(1.5rem, 7.3vw, 2.5rem) !important;
        word-break: normal !important;
    }
    .race-card {
        padding: 1.5rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 1rem !important;
        border-radius: 8px !important;
    }
    .race-date {
        width: 100% !important;
        justify-content: flex-start !important;
        font-size: 1.8rem !important;
        line-height: 1;
        margin-bottom: 0.2rem;
    }
    .race-location {
        width: 100% !important;
        justify-content: flex-start !important;
        text-align: left !important;
        margin-bottom: 0.2rem;
    }
    .race-country {
        width: 100% !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    /* 8. Contact Section Mobile */
    .contact-wrapper, .contact-content-grid {
        grid-template-columns: 1fr !important; /* Stack map/video and form */
        gap: 2rem;
    }
    #contact {
        padding-top: 4rem !important;
        padding-bottom: 3rem !important;
    }
    .form-container, .premium-form {
        padding: 1.1rem !important;
        border-radius: 10px;
    }
    .form-group {
        margin-bottom: 0.7rem !important;
    }
    .premium-input, .premium-select, .premium-textarea {
        padding: 0.7rem 0.85rem !important;
        font-size: 0.85rem !important;
    }
    /* Make generic flex rows stack on mobile */
    .form-row, .contact-row {
        flex-direction: column !important;
        gap: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Contact form compactado para móvil — versión slim */
    .contact-section {
        padding: 1.75rem 0 1.5rem !important;
    }
    .contact-section .contact-container {
        padding: 0 0.85rem !important;
    }
    .contact-section .contact-header {
        margin-bottom: 1rem !important;
    }
    .contact-section .contact-header h2 {
        font-size: clamp(1.25rem, 6.5vw, 2rem) !important;
        gap: 0.45rem !important;
        margin-bottom: 0 !important;
        line-height: 1.05 !important;
    }
    .contact-section .form-wrapper {
        max-width: 100% !important;
        border-radius: 9px !important;
        box-shadow: 0 0 18px rgba(190, 154, 72, 0.1) !important;
    }
    .contact-section .premium-form {
        padding: 0.85rem !important;
    }
    .contact-section .form-row {
        gap: 0 !important;
        margin-bottom: 0 !important;
    }
    .contact-section .form-group {
        margin-bottom: 0.55rem !important;
    }
    .contact-section .form-group label {
        font-size: 0.55rem !important;
        margin-bottom: 0.18rem !important;
        letter-spacing: 0.16em;
    }
    .contact-section .form-group input,
    .contact-section .form-group select,
    .contact-section .form-group textarea {
        padding: 0.55rem 0.7rem !important;
        font-size: 0.8rem !important;
        border-radius: 6px !important;
    }
    .contact-section .form-group textarea {
        min-height: 70px;
        line-height: 1.4;
    }
    .contact-section .submit-btn {
        padding: 0.7rem !important;
        font-size: 0.78rem !important;
        margin-top: 0.55rem !important;
        letter-spacing: 0.12em;
        border-radius: 30px !important;
    }
    .contact-section .select-wrapper::after {
        right: 0.7rem;
        font-size: 0.55rem;
    }

    .calendar-section {
        padding: 2.5rem 1rem 2rem !important;
    }

    .main-footer {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 1.25rem !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        padding-top: 1.75rem !important;
        padding-bottom: 1.75rem !important;
    }

    .footer-legal {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .legal-separator {
        display: none;
    }

    /* Reorden en mobile: Sonora primero, luego legal, luego copyright */
    .main-footer .footer-sonora {
        order: -2 !important;
        margin-top: 0 !important;
        flex-direction: column !important;
        gap: 0.6rem !important;
        padding: 1rem 1rem 1.1rem !important;
        background: linear-gradient(180deg, rgba(190, 154, 72, 0.08) 0%, rgba(190, 154, 72, 0.02) 100%);
        border: 1px solid rgba(190, 154, 72, 0.25);
        border-radius: 12px;
        width: 100%;
        max-width: 320px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    }
    .main-footer .footer-sonora-logo {
        height: 48px !important;
    }
    .main-footer .footer-sonora-text {
        font-size: 0.85rem !important;
        color: rgba(255,255,255,0.85) !important;
        letter-spacing: 0.04em !important;
        line-height: 1.4 !important;
    }
    .main-footer .footer-content {
        order: -1 !important;
        margin-bottom: 0 !important;
    }
    .main-footer > .footer-copy {
        order: 0 !important;
        font-size: 0.72rem !important;
        opacity: 0.7;
    }
}

/* Pantallas muy estrechas: columnas más estrechas (sigue habiendo 2–3 columnas = menos altura) */
@media (max-width: 380px) {
    .rider-modal-data .rider-biography,
    .rider-profile-details .rider-biography {
        -webkit-column-width: min(29vw, 6.15rem);
        column-width: min(29vw, 6.15rem);
        font-size: 0.58rem !important;
        -webkit-column-gap: 0.38rem;
        column-gap: 0.38rem;
    }
}

/* Impacto global: vista estática apilada (≤1024px + clase por JS; evita scroll 400vh en móvil) */
.global-impact-section.impact-mobile .impact-scroll-track {
    height: auto !important;
}

.global-impact-section.impact-mobile .impact-sticky-container {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
}

.global-impact-section.impact-mobile #world-video {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 100% !important;
    height: min(42vh, 320px) !important;
    min-height: 240px !important;
    flex-shrink: 0;
    object-fit: cover;
}

.global-impact-section.impact-mobile .impact-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: min(42vh, 320px) !important;
    min-height: 240px !important;
    pointer-events: none !important;
}

.global-impact-section.impact-mobile .fade-layer {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    padding: 2rem 1.25rem !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    flex-shrink: 0;
}

.global-impact-section.impact-mobile .fade-layer.is-hidden-up {
    opacity: 1 !important;
    transform: none !important;
}

.global-impact-section.impact-mobile .impact-metrics-layer {
    flex-direction: column !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
}

.global-impact-section.impact-mobile .metric-card {
    max-width: none !important;
    flex: 1 1 auto !important;
}

.global-impact-section.impact-mobile .donuts-container {
    gap: 1.5rem !important;
    justify-content: center !important;
}

.global-impact-section.impact-mobile .impact-map-focus h3 {
    white-space: normal !important;
    text-align: center !important;
}

@media (max-width: 420px) {
    .hero-title {
        white-space: normal !important;
        font-size: clamp(1.15rem, 6.5vw, 2.2rem) !important;
    }
    .fau55-title .text-outline {
        display: none !important;
    }

    /* Botón GP Experience: ajustar para móviles pequeños */
    .gp-mobile-btn {
        right: 1rem;
        padding: 0.45rem 0.75rem;
        font-size: 0.62rem;
        letter-spacing: 0.06em;
        gap: 0.3rem;
    }
    .gp-mobile-btn svg {
        width: 11px;
        height: 11px;
    }
    .language-selector {
        left: 1rem !important;
        gap: 0.6rem !important;
    }
    .lang-btn {
        padding: 0.35rem 0.65rem !important;
        font-size: 0.7rem !important;
    }
}

@media (max-width: 360px) {
    .gp-mobile-btn {
        font-size: 0.55rem;
        padding: 0.4rem 0.65rem;
        letter-spacing: 0.04em;
    }
}

@media (max-width: 360px) {
    .fau55-title .text-outline {
        display: none !important;
    }
}

/* ============================================ */
/* === Floating Phone Button + Phone Popup ==== */
/* ============================================ */
.floating-phone-btn {
    position: fixed;
    right: clamp(1.25rem, 2.5vw, 2rem);
    bottom: calc(clamp(1.25rem, 2.5vw, 2rem) + env(safe-area-inset-bottom));
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(140deg, #d8b25c 0%, var(--brand-gold) 55%, #8e6c2c 100%);
    color: #0d1a2c;
    cursor: pointer;
    z-index: 10045;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 24px rgba(190, 154, 72, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.floating-phone-btn:hover,
.floating-phone-btn:focus-visible {
    transform: translateY(-2px) scale(1.04);
    filter: brightness(1.05);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.14) inset,
        0 0 36px rgba(190, 154, 72, 0.55);
    outline: none;
}

.floating-phone-btn:active {
    transform: translateY(0) scale(0.98);
}

.floating-phone-icon {
    position: relative;
    z-index: 2;
    color: #0d1a2c;
}

.floating-phone-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(190, 154, 72, 0.55);
    z-index: 1;
    animation: floatingPhonePulse 2.4s ease-out infinite;
    pointer-events: none;
}

.floating-phone-pulse--delay {
    animation-delay: 1.2s;
}

@keyframes floatingPhonePulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    80% {
        transform: scale(1.9);
        opacity: 0;
    }
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-phone-pulse {
        animation: none;
        opacity: 0;
    }
    .floating-phone-btn,
    .floating-phone-btn:hover {
        transition: none;
        transform: none;
    }
}

.phone-popup {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.phone-popup[hidden] {
    display: none;
}

.phone-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 12, 22, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: phonePopupOverlayIn 0.25s ease;
}

.phone-popup__panel {
    position: relative;
    width: min(460px, 100%);
    padding: 2.75rem 1.6rem 2.25rem;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(8, 28, 50, 0.92) 0%, rgba(2, 14, 26, 0.92) 100%);
    border: 1px solid rgba(190, 154, 72, 0.35);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 40px rgba(190, 154, 72, 0.18);
    text-align: center;
    color: var(--text-main);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: phonePopupPanelIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.phone-popup__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% -10%, rgba(190, 154, 72, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.phone-popup__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.phone-popup__close:hover,
.phone-popup__close:focus-visible {
    background: rgba(190, 154, 72, 0.18);
    border-color: rgba(190, 154, 72, 0.6);
    color: var(--brand-gold);
    transform: rotate(90deg);
    outline: none;
}

.phone-popup__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
}

.phone-popup__number {
    margin: 0 0 1.1rem;
    line-height: 1;
}

.phone-popup__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(190, 154, 72, 0.55);
    background: linear-gradient(140deg, rgba(190, 154, 72, 0.18) 0%, rgba(190, 154, 72, 0.05) 100%);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 24px rgba(190, 154, 72, 0.18);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    width: 100%;
    box-sizing: border-box;
}

.phone-popup__cta:hover,
.phone-popup__cta:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(190, 154, 72, 0.9);
    filter: brightness(1.06);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.07) inset,
        0 0 36px rgba(190, 154, 72, 0.32);
    outline: none;
}

.phone-popup__cta-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(140deg, rgba(190, 154, 72, 0.35) 0%, rgba(190, 154, 72, 0.1) 100%);
    border: 1px solid rgba(190, 154, 72, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
}

.phone-popup__cta-number {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 4.4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(180deg, #f6dfa5 0%, var(--brand-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.phone-popup__hint {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.4;
}

@keyframes phonePopupOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes phonePopupPanelIn {
    from { opacity: 0; transform: translateY(14px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

body.phone-popup-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .floating-phone-btn {
        width: 56px;
        height: 56px;
        right: 1rem;
        bottom: calc(1.25rem + env(safe-area-inset-bottom));
        box-shadow:
            0 14px 30px rgba(0, 0, 0, 0.55),
            0 0 0 1px rgba(255, 255, 255, 0.08) inset,
            0 0 22px rgba(190, 154, 72, 0.45);
    }
    .floating-phone-icon {
        width: 22px;
        height: 22px;
    }
    /* En móvil, ocultar el botón flotante cuando se abre la ficha del piloto */
    body.rider-modal-open .floating-phone-btn {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .floating-phone-btn {
        width: 54px;
        height: 54px;
        bottom: calc(1.1rem + env(safe-area-inset-bottom));
    }
    .phone-popup__panel {
        padding: 2.25rem 1.1rem 1.85rem;
    }
    .phone-popup__cta {
        padding: 0.8rem 1rem;
        gap: 0.65rem;
    }
    .phone-popup__cta-icon {
        width: 36px;
        height: 36px;
    }
    .phone-popup__cta-number {
        letter-spacing: 0;
    }
}

/* ============================================================
   GRAND PRIX EXCLUSIVE EXPERIENCE PAGE
   ============================================================ */

.nav-item--gp {
    color: var(--brand-gold) !important;
    border: 1px solid rgba(190, 154, 72, 0.35);
    background: linear-gradient(135deg, rgba(190, 154, 72, 0.08), rgba(190, 154, 72, 0.02));
}
.nav-item--gp:hover {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(190, 154, 72, 0.25), rgba(190, 154, 72, 0.08)) !important;
    border-color: rgba(190, 154, 72, 0.55);
    box-shadow: 0 0 18px rgba(190, 154, 72, 0.2);
}
.nav-item--gp.active {
    color: #0d1a2c !important;
    background: var(--brand-gold) !important;
    border-color: var(--brand-gold);
    box-shadow: 0 4px 16px rgba(190, 154, 72, 0.35);
}
.nav-item--gp.active::after {
    background: #0d1a2c;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

/* ---------- HERO ---------- */
.gp-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    background: var(--bg-color);
}
.gp-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: grayscale(35%) brightness(0.55) saturate(1.05);
    transform: scale(1.05);
}
.gp-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 70%, rgba(3, 33, 60, 0.55) 0%, rgba(3, 33, 60, 0.85) 60%, rgba(2, 22, 41, 0.95) 100%),
        linear-gradient(180deg, rgba(2, 22, 41, 0.55) 0%, rgba(2, 22, 41, 0.2) 35%, rgba(2, 22, 41, 0.85) 100%);
}
/* Fallback: botón "toca para reproducir" cuando iOS bloquea el autoplay */
.gp-hero-play-fallback {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gp-hero-play-fallback.is-visible {
    display: flex;
    opacity: 1;
}
.gp-hero-play-fallback .gp-hero-play-icon {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.92);
    box-shadow:
        0 0 0 8px rgba(212, 175, 55, 0.18),
        0 18px 40px rgba(0, 0, 0, 0.45);
    position: relative;
    animation: gpHeroPulse 2.4s ease-in-out infinite;
}
.gp-hero-play-fallback .gp-hero-play-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 16px 0 16px 26px;
    border-color: transparent transparent transparent #03213C;
}
@keyframes gpHeroPulse {
    0%, 100% {
        box-shadow:
            0 0 0 8px rgba(212, 175, 55, 0.18),
            0 18px 40px rgba(0, 0, 0, 0.45);
    }
    50% {
        box-shadow:
            0 0 0 18px rgba(212, 175, 55, 0.05),
            0 18px 40px rgba(0, 0, 0, 0.45);
    }
}
@media (max-width: 768px) {
    .gp-hero-play-fallback .gp-hero-play-icon {
        width: 72px;
        height: 72px;
    }
    .gp-hero-play-fallback .gp-hero-play-icon::before {
        border-width: 13px 0 13px 22px;
    }
}
.gp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
    color: var(--text-main);
}
.gp-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-gold);
    padding: 0.5rem 1.1rem;
    border: 1px solid rgba(190, 154, 72, 0.4);
    border-radius: 50px;
    background: rgba(190, 154, 72, 0.06);
    margin-bottom: 1.75rem;
}
.gp-hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    max-width: 100%;
}
.gp-hero-sub {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}
.gp-hero-sub strong {
    color: #fff;
    font-weight: 600;
}
.gp-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.4rem;
    background: linear-gradient(140deg, #d8b25c 0%, var(--brand-gold) 55%, #8e6c2c 100%);
    color: #0d1a2c;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 12px 32px rgba(190, 154, 72, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, filter 0.3s ease;
}
.gp-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(190, 154, 72, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
    filter: brightness(1.05);
}
.gp-hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 2.25rem;
    transform: translateX(-50%);
    width: 1px;
    height: 56px;
    background: linear-gradient(180deg, transparent 0%, rgba(190, 154, 72, 0.55) 100%);
    z-index: 2;
}
.gp-hero-scroll span {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-gold);
    box-shadow: 0 0 12px var(--brand-gold);
    animation: gpScrollPulse 2.4s ease-in-out infinite;
}
@keyframes gpScrollPulse {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
    50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ---------- SECTIONS ---------- */
.gp-section {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 1.5rem;
}
.gp-container {
    max-width: 1200px;
    margin: 0 auto;
}
.text-center { text-align: center; }

.gp-section-header {
    max-width: 880px;
    margin: 0 auto 3rem;
}
.gp-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-gold);
    padding: 0.4rem 1rem;
    border: 1px solid rgba(190, 154, 72, 0.4);
    border-radius: 50px;
    background: rgba(190, 154, 72, 0.06);
    margin-bottom: 1.5rem;
}
.gp-section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.7rem, 3.4vw, 2.8rem);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    color: var(--text-main);
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    max-width: 100%;
}
.gp-section-sub {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
    font-weight: 300;
}

.gp-grid-split {
    display: grid;
    grid-template-columns: 0.95fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
.gp-grid-split > * { min-width: 0; }
.gp-grid-split--reverse .gp-block-left  { order: 2; }
.gp-grid-split--reverse .gp-block-right { order: 1; }

.gp-block-left .gp-section-title,
.gp-block-right .gp-section-title {
    margin-bottom: 1.25rem;
}
.gp-body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-weight: 300;
}
.gp-body:last-child { margin-bottom: 0; }

/* ---------- BLOQUE 2: feature cards ---------- */
.gp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.gp-feature-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.025) 0%, rgba(190, 154, 72, 0.025) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.gp-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(190, 154, 72, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(190, 154, 72, 0.15) inset;
}
.gp-feature-card:hover .gp-feature-title {
    color: var(--brand-gold);
}
.gp-feature-card .gp-feature-title {
    transition: color 0.3s ease;
}
.gp-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(190, 154, 72, 0.15), rgba(190, 154, 72, 0.04));
    border: 1px solid rgba(190, 154, 72, 0.3);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.gp-feature-icon svg { width: 26px; height: 26px; }
.gp-feature-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}
.gp-feature-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
    font-weight: 300;
    margin: 0;
}

/* ---------- BLOQUE 3: statements ---------- */
.gp-statements {
    list-style: none;
    padding: 0;
    margin: 3rem 0 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
}
.gp-statement {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--brand-gold);
    border-radius: 0 12px 12px 0;
    transition: background 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.gp-statement:hover {
    background: rgba(190, 154, 72, 0.06);
    transform: translateX(4px);
}
.gp-statement-num {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--brand-gold);
    letter-spacing: 0.1em;
    padding-top: 0.2rem;
}
.gp-statement-text {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.7vw, 1.45rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: -0.005em;
}
.gp-block-3-quote {
    font-family: var(--font-body);
    text-align: center;
    font-style: italic;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: rgba(255, 255, 255, 0.78);
    max-width: 820px;
    margin: 2.5rem auto 0;
    line-height: 1.65;
    font-weight: 300;
    position: relative;
    padding: 0 2rem;
}
.gp-block-3-quote::before,
.gp-block-3-quote::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-gold));
}
.gp-block-3-quote::before { left: -1rem; transform: translateY(-50%); }
.gp-block-3-quote::after  { right: -1rem; transform: translateY(-50%) scaleX(-1); }

/* ---------- BLOQUE 4: actions ---------- */
.gp-actions {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}
.gp-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: 1.5rem 1rem 1.6rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.025) 0%, rgba(190, 154, 72, 0.025) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.gp-action:hover {
    transform: translateY(-4px);
    border-color: rgba(190, 154, 72, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(190, 154, 72, 0.15) inset;
}
.gp-action:hover .gp-action-title {
    color: var(--brand-gold);
}
.gp-action-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(190, 154, 72, 0.18), rgba(190, 154, 72, 0.05));
    border: 1px solid rgba(190, 154, 72, 0.4);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gp-action-icon svg { width: 22px; height: 22px; }
.gp-action-title {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1.3vw, 1.15rem);
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin: 0;
    transition: color 0.3s ease;
}
.gp-action-sub {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    font-weight: 300;
    margin: 0;
}
.gp-block-4-foot {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
    text-align: center;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(190, 154, 72, 0.15);
    max-width: 720px;
}

/* ---------- BLOQUE 5: cierre + CTA ---------- */
.gp-block-5 {
    background:
        radial-gradient(circle at 50% 0%, rgba(190, 154, 72, 0.08) 0%, transparent 60%),
        var(--brand-blue-dark);
    border-top: 1px solid rgba(190, 154, 72, 0.18);
    border-bottom: 1px solid rgba(190, 154, 72, 0.18);
}
.gp-closing {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.gp-closing-line {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    font-weight: 300;
}
.gp-closing-line--strike {
    text-decoration: line-through;
    text-decoration-color: rgba(190, 154, 72, 0.6);
    text-decoration-thickness: 2px;
}
.gp-closing-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.015em;
    margin: 1.75rem 0 1.25rem;
    color: var(--text-main);
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    max-width: 100%;
}
.gp-closing-sub {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    max-width: 720px;
    font-weight: 300;
}
.gp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.15rem 2.6rem;
    background: linear-gradient(140deg, #d8b25c 0%, var(--brand-gold) 55%, #8e6c2c 100%);
    color: #0d1a2c;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 14px 36px rgba(190, 154, 72, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, filter 0.3s ease;
}
.gp-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(190, 154, 72, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    filter: brightness(1.05);
}

/* ---------- RESPONSIVE: GP page ---------- */
@media (max-width: 1200px) {
    .gp-grid-split,
    .gp-grid-split--reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .gp-grid-split--reverse .gp-block-left  { order: 1; }
    .gp-grid-split--reverse .gp-block-right { order: 2; }
}

@media (max-width: 1024px) {
    .gp-features-grid { grid-template-columns: repeat(2, 1fr); }
    .gp-statements { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .gp-hero {
        min-height: calc(100vh - env(safe-area-inset-bottom));
        padding: calc(5.5rem + env(safe-area-inset-top)) 1.25rem 6rem;
    }
    .gp-eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.18em;
        padding: 0.4rem 0.85rem;
    }
    .gp-hero-title { line-height: 1; }
    .gp-hero-sub  { font-size: 0.95rem; }
    .gp-hero-cta  { padding: 0.85rem 1.8rem; font-size: 0.78rem; letter-spacing: 0.16em; }

    .gp-section { padding: 4rem 1.25rem; }
    .gp-section-header { margin-bottom: 2rem; }
    .gp-features-grid { grid-template-columns: 1fr; }
    .gp-feature-card { padding: 1.6rem 1.25rem; }
    .gp-statement { padding: 1.1rem 1.1rem; }
    .gp-statement-text { font-size: 1.05rem; }
    .gp-actions { grid-template-columns: 1fr; gap: 0.7rem; }
    .gp-action { padding: 1.25rem 1rem 1.35rem; flex-direction: row; align-items: center; text-align: left; gap: 1rem; }
    .gp-action-icon { width: 42px; height: 42px; }
    .gp-action-icon svg { width: 20px; height: 20px; }
    .gp-action-title { font-size: 1rem; }
    .gp-action-sub { font-size: 0.8rem; }
    .gp-block-3-quote { padding: 0 1rem; }
    .gp-block-3-quote::before,
    .gp-block-3-quote::after { display: none; }
    .gp-cta-btn { padding: 0.95rem 2rem; font-size: 0.82rem; letter-spacing: 0.18em; }
}

@media (max-width: 420px) {
    .gp-hero-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
    .gp-section-title { font-size: clamp(1.5rem, 7vw, 2rem); }
    .gp-action-title { font-size: 0.95rem; }
    .gp-statement-num { font-size: 0.75rem; }
}

/* --- Legal pages (Aviso Legal, etc.) --- */
body.page-legal {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ES/EN a la derecha; el botón volver ocupa la izquierda */
body.page-legal .language-selector {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    left: auto;
    z-index: 201;
    gap: 0.65rem;
}

body.page-legal .lang-btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
}

.legal-back-btn {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top));
    left: max(1rem, env(safe-area-inset-left));
    z-index: 200;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem 0.55rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(190, 154, 72, 0.45);
    background: rgba(1, 22, 44, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--brand-gold);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.legal-back-btn:hover,
.legal-back-btn:focus-visible {
    outline: none;
    border-color: var(--brand-gold);
    color: #fff;
    background: rgba(190, 154, 72, 0.12);
}

.legal-page {
    flex: 1;
    width: 100%;
    max-width: 52rem;
    margin: 0 auto;
    padding: calc(5.5rem + env(safe-area-inset-top)) 1.25rem 3rem;
}

.legal-page__header {
    margin-bottom: 2rem;
}

.legal-page__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 0.75rem;
}

.legal-page__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.legal-page__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.legal-page__notice {
    margin-bottom: 2.5rem;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--brand-gold);
    background: rgba(190, 154, 72, 0.08);
    border-radius: 0 8px 8px 0;
}

.legal-page__notice p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.legal-section {
    margin-bottom: 2.25rem;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 700;
    color: var(--brand-gold);
    margin-bottom: 0.85rem;
    letter-spacing: 0.02em;
}

.legal-section p,
.legal-section li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.legal-section p {
    margin-bottom: 0.85rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    margin: 0.5rem 0 1rem 1.25rem;
    padding: 0;
}

.legal-section li {
    margin-bottom: 0.45rem;
}

.legal-section a {
    color: var(--brand-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-section a:hover {
    color: #fff;
}

.legal-link--active {
    color: var(--brand-gold) !important;
    pointer-events: none;
}

.legal-page__footer {
    margin-top: auto;
}

@media (max-width: 768px) {
    .legal-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .legal-back-btn span {
        display: none;
    }
    .legal-back-btn {
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}
