/* ═══════════════════════════════════════════════════════════════
   QuakQuarks Productions — Styles
   Color Palette: #000 (Black), #FFF (White), #FFD700 (Golden Yellow)
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

/* ── Typography Utilities ──────────────────────────────────────── */
.brush-text {
    font-family: 'Bebas Neue', 'Arial Black', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    /* Brush/graffiti texture effect via text-shadow */
    text-shadow:
        2px 2px 0 rgba(0,0,0,0.08),
        -1px -1px 0 rgba(0,0,0,0.04);
}

.section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #666;
    display: block;
    margin-bottom: 16px;
}

.section-label-light {
    color: rgba(255,255,255,0.6);
}

/* ── NAVBAR ────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    mix-blend-mode: multiply;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #1a1a1a;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #000;
}

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

.portal-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 10px 20px;
    border: 2px solid #000;
    color: #000;
    border-radius: 999px;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
    white-space: nowrap;
}

.portal-btn:hover {
    background: #000;
    color: #fff;
    transform: scale(1.03);
}

.nav-cta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #fff;
    background: #000;
    padding: 12px 28px;
    border-radius: 999px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: #FFD700;
    color: #000;
    transform: scale(1.03);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Nav Actions (hidden on desktop) */
.mobile-nav-actions {
    display: none;
}

/* ── HERO SECTION ──────────────────────────────────────────────── */
.hero {
    /* Capped: in Android "desktop site" mode the viewport is ~980x1900 and the hero stretched into a blank screen. */
    min-height: min(100vh, 860px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 48px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-left {
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-family: 'Caveat', cursive;
    font-size: clamp(54px, 6.5vw, 88px);
    font-weight: 700;
    line-height: 0.95;
    color: #000;
    margin-bottom: 28px;
    position: relative;
    transform: rotate(-2.5deg);
    transform-origin: left center;
}

.hero-headline .brush-text {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: inline-block;
    position: relative;
    color: #000;
    text-shadow: none;
    background-image: none;
    -webkit-background-clip: unset;
    padding: 2px 0;
}

.hero-body {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    max-width: 440px;
    margin-bottom: 32px;
}

.hero-body strong {
    color: #000;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-primary {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #fff;
    background: #000;
    padding: 16px 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.35s ease;
    border: 2px solid #000;
}

.btn-primary:hover {
    background: #FFD700;
    color: #000;
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ── Hero CTA Button Custom Variants & Testing ─────────────────── */
.hero-btn-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ── Tira de Fechas (Mini Boletos Futura Fest Tour) ─────────────── */
.tira-fechas-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 610px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.tira-fechas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 4px;
    padding: 0 2px;
    box-sizing: border-box;
}

.tira-fechas-kicker {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.5px;
}

.tira-fechas-ver-todos {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.tira-fechas-ver-todos:hover {
    color: #b38600;
    transform: translateX(2px);
}

.tira-fechas-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 12px 6px 12px 2px;
    width: 100%;
    box-sizing: border-box;
}

.tira-fechas-track::-webkit-scrollbar {
    display: none;
}

/* 2026-10-27 · The tickets are grouped by year, each group with its own label. */
.tira-fechas-track { gap: 18px; padding-left: 8px; }
.tira-fechas-grupo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    flex: 0 0 auto;
}
.tira-fechas-grupo + .tira-fechas-grupo {
    border-left: 2px dashed #000000;
    padding-left: 16px;
}
.tira-fechas-grupo-items {
    display: flex;
    gap: 10px;
}
.tira-fechas-anio {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 1px;
    color: #FFD700;
    background: #000000;
    padding: 4px 9px 2px;
    border-radius: 6px;
}

/* On desktop all six must fit in the 610px column, separator included. */
@media (min-width: 769px) {
    .tira-fechas-track { gap: 12px; padding-right: 2px; }
    .tira-fechas-grupo + .tira-fechas-grupo { padding-left: 10px; }
    .tira-fechas-grupo-items { gap: 8px; }
    .tira-fechas-track .tira-fechas-item { flex-basis: 88px; width: 88px; }
    .tira-fechas-track { padding-left: 6px; }
}

/* The next event stands out: yellow ring and a bigger yellow tag. */
.tira-fechas-item.tira-fechas-proximo {
    outline: 3px solid #FFD700;
    outline-offset: 2px;
}
.tira-fechas-proximo .tira-fechas-tag {
    top: -13px;
    background: #FFD700;
    color: #000000;
    border: 2px solid #000000;
    font-size: 10px;
    letter-spacing: 0.8px;
    padding: 2px 8px;
    box-shadow: 2px 2px 0 #000000;
}

.tira-fechas-item {
    flex: 0 0 92px;
    width: 92px;
    min-height: 106px;
    background: #ffffff;
    border: 2.5px solid #000000;
    border-radius: 12px;
    box-shadow: 3px 3px 0 #000000;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: #000000;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tira-fechas-item:hover,
.tira-fechas-item:focus-visible {
    transform: translateY(-2px);
    box-shadow: 4px 5px 0 #000000;
}

.tira-fechas-item:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 #000000;
}

.tira-fechas-tag {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 1.5px 6px;
    border-radius: 4px;
    border: 1.5px solid #000000;
    white-space: nowrap;
    z-index: 2;
    line-height: 1.2;
}

.tira-fechas-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px 6px;
    flex: 1;
}

/* 2026-10-27 · Each ticket shows its venue photo (240px thumbnails in logos/sedes/mini/,
   ~13 KB each) under a dark veil so the white date stays readable. */
.tira-fechas-body {
    position: relative;
    overflow: hidden;
    border-radius: 9.5px 9.5px 0 0;
    background: #111111;
}
.tira-fechas-foto {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tira-fechas-body::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.62) 100%);
}
.tira-fechas-dia,
.tira-fechas-mes {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.tira-fechas-dia {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 38px;
    line-height: 0.95;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.tira-fechas-mes {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 2px;
}

.tira-fechas-sede {
    background: #FFD700;
    color: #000000;
    border-top: 2px solid #000000;
    border-radius: 0 0 9.5px 9.5px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-align: center;
    padding: 5px 3px 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .tira-fechas-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .tira-fechas-track {
        gap: 8px;
        padding: 10px 4px 10px 2px;
    }
    .tira-fechas-item {
        flex: 0 0 78px;
        width: 78px;
        min-height: 96px;
    }
    .tira-fechas-dia {
        font-size: 30px;
    }
    .tira-fechas-mes {
        font-size: 9.5px;
    }
    .tira-fechas-sede {
        font-size: 9px;
        padding: 4px 2px 5px;
    }
    .tira-fechas-tag {
        font-size: 7.5px;
        padding: 1px 5px;
        top: -8px;
    }
}

/* Variant 2: LIVE PULSE / RADAR (Activo por defecto) */
.hero-btn-v2 {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #FFD700 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 215, 0, 0.2) !important;
}

.hero-btn-v2:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #FFD700 !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 215, 0, 0.4) !important;
    transform: translateY(-2px);
}

.hero-btn-v2:hover .btn-arrow-icon {
    transform: translateX(5px);
}

/* Pulse Dot */
.live-pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #00E676;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    margin-right: 6px;
}

.live-pulse-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background-color: #00E676;
    opacity: 0.7;
    animation: live-pulse-wave 2s infinite ease-out;
}

@keyframes live-pulse-wave {
    0% {
        transform: scale(0.8);
        opacity: 0.9;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.btn-arrow-icon {
    display: inline-block;
    transition: transform 0.25s ease;
}

/* Variant 1: AMARILLO DORADO GLOW */
.hero-btn-v1 {
    background: #FFD700 !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5) !important;
}

.hero-btn-v1:hover {
    background: #000 !important;
    color: #FFD700 !important;
    border-color: #000 !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-3px) scale(1.02);
}

/* Variant 3: NEO-BRUTALISTA */
.hero-btn-v3 {
    background: #FFD700 !important;
    color: #000 !important;
    border: 3px solid #000 !important;
    border-radius: 999px !important;
    box-shadow: 5px 5px 0px #000 !important;
    font-weight: 700 !important;
}

.hero-btn-v3:hover {
    transform: translate(2px, 2px) !important;
    box-shadow: 2px 2px 0px #000 !important;
    background: #FFD700 !important;
    color: #000 !important;
}

/* Variant 4: CON BADGE FLOTANTE */
.hero-cta-badge {
    position: absolute;
    top: -14px;
    left: 20px;
    background: #FFD700;
    color: #000;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1.5px solid #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    white-space: nowrap;
    animation: hero-badge-float 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes hero-badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}


.doodle-text {
    font-family: 'Caveat', cursive;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
    transform: rotate(-3deg);
}

.doodle-arrow {
    width: 40px;
    height: 30px;
    flex-shrink: 0;
}

.lightning-doodle {
    position: absolute;
    width: 24px;
    height: 40px;
    animation: lightning-flash 2s ease-in-out infinite;
}

.lightning-1 {
    bottom: 20%;
    right: -10px;
}

@keyframes lightning-flash {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; transform: scale(1.1); }
}

/* ── Hero Right (Mascot) ── */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mascot-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.mascot-img {
    width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.crown-doodle {
    position: absolute;
    top: -20px;
    right: 30%;
    width: 55px;
    animation: crown-bob 3s ease-in-out infinite;
}

@keyframes crown-bob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

.lightning-bolt {
    position: absolute;
    animation: lightning-flash 2.5s ease-in-out infinite;
}

.bolt-1 {
    width: 22px;
    top: 15%;
    right: -10px;
    animation-delay: 0.5s;
}

.bolt-2 {
    width: 18px;
    bottom: 25%;
    right: 0;
    animation-delay: 1.2s;
}

.grandes-ideas-text {
    font-family: 'Caveat', cursive;
    font-size: 22px;
    font-weight: 700;
    color: #000;
    position: absolute;
    right: -30px;
    top: 30%;
    transform: rotate(-8deg);
    line-height: 1.2;
    text-align: center;
    text-shadow: 2px 2px 0 rgba(255,215,0,0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-bottom: 30px;
    margin-top: auto;
}

.mouse-icon {
    width: 24px;
    height: 38px;
}

.mouse-dot {
    animation: scroll-dot 1.5s ease-in-out infinite;
}

@keyframes scroll-dot {
    0%, 100% { cy: 10; opacity: 1; }
    50% { cy: 18; opacity: 0.3; }
}

.scroll-indicator span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #999;
}

/* ── SERVICES SECTION ──────────────────────────────────────────── */
.services {
    padding: 100px 0;
    background: #fff;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.services-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.05;
    color: #000;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.services-body {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    max-width: 400px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.service-card {
    padding: 32px 28px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    transition: all 0.35s ease;
    cursor: default;
}

.service-card:hover {
    border-color: #FFD700;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #000;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* ── PROJECTS SECTION ──────────────────────────────────────────── */
.projects {
    padding: 80px 0 100px;
    background: #fff;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.projects-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: 0.03em;
    color: #000;
}

.projects-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.2vw, 16px);
    color: #666;
    font-weight: 400;
    margin-top: 4px;
    letter-spacing: 0.01em;
}

.projects-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #000;
    transition: color 0.3s ease;
}

.projects-link:hover {
    color: #FFD700;
}

.carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.left-btn {
    left: -15px;
}

.right-btn {
    right: -15px;
}

.projects-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 20px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    width: 100%;
}

.projects-grid::-webkit-scrollbar {
    display: none;
}

.project-card {
    flex: 0 0 calc(20% - 16px);
    scroll-snap-align: start;
    min-width: 220px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-stats {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.stat-item {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    color: #555;
    letter-spacing: 0.03em;
}

.stat-num {
    font-weight: 700;
    color: #000;
    font-size: 13px;
}

.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.15);
}

.project-img-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 12px;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2;
}

.play-btn svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.project-info {
    padding: 16px 4px 8px;
}

.project-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #000;
    margin-bottom: 4px;
}

.project-category {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    /* 2026-10-01, DECISIONS.md #39: #FFD700 medía 1,40:1 sobre el fondo
       blanco de .projects (desktop/tablet) -- bajo el umbral de 4,5:1.
       #826E00 mide 5,02:1 contra ese mismo blanco. En mobile (<=768px)
       .project-card pasa a fondo #111 y aqui se restaura #FFD700
       (13,46:1), ver la regla de abajo en @media (max-width: 768px). */
    color: #826E00;
    font-weight: 500;
}

/* ── ABOUT SECTION ─────────────────────────────────────────────── */
.about {
    background: #000;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle brush texture overlay */
.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.01) 0px,
            rgba(255,255,255,0) 2px,
            transparent 2px,
            transparent 6px
        );
    pointer-events: none;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.about-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #FFD700;
    text-transform: uppercase;
}

.about-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 5.5vw, 80px);
    color: #fff;
    letter-spacing: 0.03em;
    line-height: 0.95;
    margin: 0;
    line-height: 1.1;
}

.about-body {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    max-width: 460px;
}

.btn-outline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #fff;
    padding: 14px 32px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.35s ease;
}

.btn-outline:hover {
    border-color: #FFD700;
    color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,215,0,0.15);
}

.about-headline-accent {
    color: #FFD700;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    background: #FFD700;
    color: #000;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 16px 36px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.about-cta-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255,215,0,0.3);
}

.about-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.about-stat-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.about-stat-card:hover {
    background: rgba(255,215,0,0.07);
    border-color: rgba(255,215,0,0.4);
}

.about-stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    color: #FFD700;
    line-height: 1;
    letter-spacing: 0.02em;
}

.about-stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.3;
    font-weight: 500;
}

.formula-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.formula-line {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
    line-height: 1.3;
    text-decoration: underline;
    text-decoration-color: rgba(255,215,0,0.3);
    text-underline-offset: 4px;
}

.formula-op {
    font-family: 'Caveat', cursive;
    font-size: 20px;
    color: rgba(255,215,0,0.5);
    padding-left: 4px;
}

.formula-result {
    font-size: 28px;
    text-decoration-color: #FFD700;
}

/* ── EXPOSITORES SECTION ─────────────────────────────────────────── */
.expositores {
    background: #FFD700;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.expositores-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.expositores-content {
    background: #000;
    padding: 60px;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.expositores .section-label {
    color: #FFD700;
}

.expositores-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 3.5vw, 48px);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 0.03em;
}

.expositores-body {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.login-box form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-box input {
    font-family: 'Inter', sans-serif;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 15px;
    /* F4 casilla 5, 2026-10-01 (DECISIONS.md entry 40): the `outline` set to
       `none` that used to sit here was removed. This selector never wins the
       cascade on the only page that uses it (expositores.html's own <style>
       block has `.login-form input` with the same specificity, declared
       after this stylesheet, so it wins) -- the declaration that actually
       rendered lived there and was removed in that file too. Kept in sync
       here anyway so `.login-box` behaves correctly the day someone uses it
       without that inline override. */
    transition: border-color 0.3s;
}

.login-box input:focus {
    border-color: #FFD700;
    background: rgba(255,255,255,0.1);
}

.forgot-password {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 12px;
    text-decoration: underline;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #FFD700;
}

.expositores-doodle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.doodle-star {
    width: 250px;
    height: 250px;
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── CONVOCATORIAS SECTION ─────────────────────────────────────── */
.convocatorias {
    background: #f9f9f9;
    padding: 100px 0;
}

.convocatorias-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.convocatorias-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.convocatorias-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 4vw, 56px);
    color: #000;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
    line-height: 1.1;
}

.convocatorias-body {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.convocatorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.convocatoria-card {
    background: #fff;
    border: 2px solid #000;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 8px 8px 0px #FFD700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.convocatoria-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px #FFD700;
}

.convocatoria-date {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #000;
    background: #FFD700;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.convocatoria-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.convocatoria-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 24px;
}

.convocatoria-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-open .status-dot { background: #10B981; }
.status-open { color: #10B981; }

.status-soon .status-dot { background: #F59E0B; }
.status-soon { color: #F59E0B; }

.btn-outline-dark {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #000;
    padding: 12px 24px;
    border: 2px solid #000;
    border-radius: 999px;
    display: inline-block;
    transition: all 0.3s;
    text-align: center;
}

.btn-outline-dark:hover {
    background: #000;
    color: #fff;
}

.btn-outline-dark.disabled {
    opacity: 0.5;
    pointer-events: none;
    border-color: #999;
    color: #999;
}

.newsletter-box {
    background: #000;
    border-radius: 16px;
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    color: #fff;
}

.newsletter-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 0.03em;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-family: 'Inter', sans-serif;
    /* F4 casilla 5, 2026-10-01 (DECISIONS.md entry 40): the `outline` set to
       `none` that used to sit here was removed. */
}

.newsletter-form input:focus {
    border-color: #FFD700;
}

/* F4 casilla 5, 2026-10-01 (DECISIONS.md entry 40): the input's own background
   is 5% white over its section's #f9f9f9 (eventos.html/convocatorias.html),
   so it renders almost identical to #f9f9f9 -- measured, not assumed. Against
   that real background #FFD700 (the border-color above) is only 1.33:1 and
   `color:#fff` (what currentColor would give the universal rule below) fails
   even harder, so this input needs its own fixed ring: #000 measures 19.95:1
   against that background. */
.newsletter-form input:focus-visible {
    outline-color: #000;
}

.newsletter-form button {
    white-space: nowrap;
}

/* ── FOOTER ────────────────────────────────────────────────────── */
.footer {
    background: #0a0a0a;
    padding: 48px 0 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 32px;
    padding-bottom: 40px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    color: #FFD700;
    transform: translateY(-3px);
}

.footer-tagline {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

.yellow-dash {
    width: 28px;
    height: 3px;
    background: #FFD700;
    border-radius: 2px;
    flex-shrink: 0;
}

.footer-tagline p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    text-align: right;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 48px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS & SCROLL REVEAL
   ═══════════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .grandes-ideas-text {
        display: none;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 24px;
    }

    .hero-container {
        padding: 40px 24px;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
    }

    .projects-container {
        padding: 0 24px;
    }

    .projects-grid {
        gap: 24px;
    }

    .about-container {
        grid-template-columns: 1fr;
        padding: 0 24px;
        text-align: center;
    }

    .about-left { display: none; }
    .about-right { justify-content: center; }
    .about-body { margin: 0 auto 32px; }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 24px;
    }

    .footer-logo { display: flex; justify-content: center; }
    .footer-tagline { 
        flex-direction: column; 
        justify-content: center; 
        align-items: center; 
        text-align: center;
        gap: 12px;
    }
    .footer-tagline p { text-align: center; }
}

/* Hide Mobile Nav Elements on Desktop by Default */
.mobile-bottom-nav,
.mobile-side-menu,
.side-menu-overlay {
    display: none;
}

@media (max-width: 768px) {
    /* Top Nav (Mobile Header) */
    .nav-container { padding: 0 20px; justify-content: flex-start; }
    .nav-links, .nav-cta, .nav-actions { display: none !important; }
    .hamburger { display: none; }
    .mobile-nav-actions {
        display: flex;
        gap: 16px;
        align-items: center;
    }
    .mobile-nav-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        text-decoration: none;
        color: #000;
        transition: color 0.3s;
    }
    .mobile-nav-action svg {
        width: 20px;
        height: 20px;
    }
    .mobile-nav-action span {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }
    .mobile-nav-action:hover {
        color: #FFD700;
    }
    .nav-container {
        justify-content: space-between;
    }
    .nav-logo { 
        position: relative; 
        left: auto; 
        transform: none; 
        margin: 0; 
    }
    
    /* 2026-10-27 · The bar is a solid strip docked to the bottom edge, not a floating
       translucent pill: the pill covered buttons and text while scrolling. The body
       reserves its height, so no content (footer included) ever sits under it. */
    body:has(.mobile-bottom-nav) { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

    /* Bottom Navigation Bar · Rediseño UX/UI "Burbuja que sobresale" */
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: stretch;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: calc(64px + env(safe-area-inset-bottom, 0px));
        background: #0f0f0f;
        border-top: 2px solid #FFD700;
        z-index: 1000;
        padding: 0 4px env(safe-area-inset-bottom, 0px);
        box-sizing: border-box;
        overflow: visible;
    }
    
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        color: #8a8a8a;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: -0.01em;
        text-decoration: none;
        flex: 1;
        min-width: 0;
        height: 100%;
        min-height: 48px;
        padding: 0 1px 8px;
        position: relative;
        box-sizing: border-box;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.2s ease;
    }

    .bottom-nav-icon {
        width: 22px;
        height: 22px;
        fill: #8a8a8a;
        margin-bottom: 4px;
        flex-shrink: 0;
        transition: fill 0.2s ease, transform 0.2s ease;
    }

    /* Estados hover y tap para botones no activos */
    .bottom-nav-item:not(.active):hover,
    .bottom-nav-item:not(.active):active,
    .bottom-nav-item:not(.active):focus-visible {
        color: #ffffff;
    }

    .bottom-nav-item:not(.active):hover .bottom-nav-icon,
    .bottom-nav-item:not(.active):active .bottom-nav-icon,
    .bottom-nav-item:not(.active):focus-visible .bottom-nav-icon {
        fill: #ffffff;
    }

    /* Botón ACTIVO: Burbuja amarilla elevada que sobresale */
    .bottom-nav-item.active {
        color: #FFD700;
        font-weight: 700;
    }

    .bottom-nav-item.active:hover,
    .bottom-nav-item.active:active,
    .bottom-nav-item.active:focus {
        color: #FFD700;
    }

    /* Muesca / curva negra detrás del círculo activo que enrasa con la barra */
    .bottom-nav-item.active::before {
        content: "";
        position: absolute;
        top: -24px;
        left: 50%;
        transform: translateX(-50%);
        width: 62px;
        height: 62px;
        background: #0f0f0f;
        border-radius: 50%;
        z-index: 1;
        pointer-events: none;
    }

    /* Círculo amarillo de la burbuja activa */
    .bottom-nav-item.active .bottom-nav-icon {
        width: 52px;
        height: 52px;
        box-sizing: border-box;
        padding: 12px;
        background: #FFD700;
        border: 3px solid #000;
        border-radius: 50%;
        box-shadow: 0 4px 0 #000;
        fill: #000;
        color: #000;
        position: relative;
        transform: translateY(-18px);
        margin-bottom: -10px;
        z-index: 2;
        animation: navBubbleBounce 350ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    .bottom-nav-item.active:hover .bottom-nav-icon,
    .bottom-nav-item.active:active .bottom-nav-icon {
        fill: #000;
    }

    /* Animación de entrada con pequeño rebote */
    @keyframes navBubbleBounce {
        0% {
            transform: translateY(-18px) scale(0.6);
            opacity: 0.7;
        }
        60% {
            transform: translateY(-18px) scale(1.08);
            opacity: 1;
        }
        100% {
            transform: translateY(-18px) scale(1);
            opacity: 1;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .bottom-nav-item.active .bottom-nav-icon {
            animation: none;
            transform: translateY(-18px) scale(1);
        }
    }

    @media (max-width: 360px) {
        .bottom-nav-item {
            font-size: 9.5px;
            letter-spacing: -0.02em;
        }
        .bottom-nav-item.active .bottom-nav-icon {
            width: 50px;
            height: 50px;
            padding: 11px;
            transform: translateY(-18px);
        }
        .bottom-nav-item.active::before {
            width: 58px;
            height: 58px;
            top: -23px;
        }
    }
    
    /* Mobile Side Menu (Dark) */
    .mobile-side-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
        z-index: 2000;
        padding: 32px 28px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        box-shadow: 20px 0 60px rgba(0,0,0,0.6);
        border-right: 1px solid rgba(255,215,0,0.08);
    }
    
    .mobile-side-menu.open {
        left: 0;
    }
    
    .side-menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.7);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 1999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }
    
    .side-menu-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }
    
    .side-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 48px;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    
    .side-menu-logo {
        height: 36px;
        width: auto;
    }
    
    .side-menu-close {
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 12px;
        cursor: pointer;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
        transition: all 0.3s;
    }

    .side-menu-close:hover {
        background: rgba(255,215,0,0.1);
        border-color: rgba(255,215,0,0.3);
        color: #FFD700;
    }
    
    .side-menu-links {
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1;
    }
    
    .side-menu-link {
        display: flex;
        align-items: center;
        gap: 16px;
        font-family: 'Space Grotesk', sans-serif;
        color: rgba(255,255,255,0.6);
        font-size: 15px;
        font-weight: 500;
        letter-spacing: 0.04em;
        transition: all 0.3s ease;
        text-decoration: none;
        padding: 12px 16px;
        border-radius: 12px;
    }

    .side-menu-link:hover {
        background: rgba(255,255,255,0.04);
        color: #fff;
    }
    
    .side-menu-link.active {
        color: #FFD700;
        background: rgba(255,215,0,0.08);
    }
    
    .side-menu-link svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        flex-shrink: 0;
        transition: all 0.3s;
    }
    
    .side-menu-link:hover svg, .side-menu-link.active svg {
        color: #FFD700;
    }

    .side-menu-footer {
        margin-top: auto;
        padding-top: 24px;
        border-top: 1px solid rgba(255,255,255,0.06);
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .side-menu-cta {
        display: block;
        width: 100%;
        text-align: center;
        background: #FFD700;
        color: #000;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.08em;
        padding: 14px 24px;
        border-radius: 999px;
        text-decoration: none;
        transition: all 0.3s;
    }

    .side-menu-cta:hover {
        background: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255,215,0,0.2);
    }

    .side-menu-social {
        display: flex;
        gap: 16px;
    }

    .side-menu-social a {
        color: rgba(255,255,255,0.4);
        transition: color 0.3s;
    }

    .side-menu-social a:hover {
        color: #FFD700;
    }

    .side-menu-social svg {
        width: 22px;
        height: 22px;
    }

    /* Overrides for Mobile Layout */
    .hero-container { display: flex; flex-direction: column; text-align: center; padding: 40px 24px; }
    .hero-left, .hero-right { display: contents; }
    /* The 3D figures are absolute, but their <picture> wrappers were flex items: 4 empty
       items x 40px gap pushed the button and the duck ~160px down. */
    .hero-container > picture { display: contents; }
    .hero-container > picture > source { display: none; }
    /* 2026-10-27 · Phone order: who we are first, then the dates, then a smaller duck that peeks
       at the bottom of the first screen and invites to keep scrolling. */
    .hero-container { gap: 14px; }
    .hero-headline { font-size: 42px; margin-bottom: 4px; order: 1; }
    .hero-body { margin: 0 auto 22px; font-size: 15px; order: 2; }
    .hero-actions { justify-content: center; order: 3; margin-bottom: 18px; width: 100%; }
    .mascot-container { max-width: 190px; margin: 0 auto; order: 4; margin-bottom: 12px; }
    .lightning-1 { order: 5; }
    .doodle-text { display: none; }
    .grandes-ideas-text { display: none; }
    
    /* Services Mobile Dark Mode Theme */
    .services { background: #050505; color: #fff; padding: 60px 0; }
    .services-headline { color: #fff; text-align: left; }
    .services-body { color: #aaa; text-align: left; margin-bottom: 30px; }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .service-card {
        background: #111;
        border: 1px solid #222;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 16px;
        gap: 12px;
        border-radius: 16px;
    }
    .service-card:hover { border-color: #FFD700; transform: none; box-shadow: 0 0 20px rgba(255,215,0,0.08); }
    .service-card .service-icon { margin-bottom: 0; flex-shrink: 0; width: 36px; height: 36px; }
    .service-card .service-icon svg { filter: brightness(0) saturate(100%) invert(84%) sepia(50%) saturate(1412%) hue-rotate(345deg) brightness(101%) contrast(104%); }
    .service-card .service-title { color: #fff; margin-bottom: 0; font-size: 13px; letter-spacing: 0.06em; }
    .service-card .service-desc { display: none; }
    
    /* Projects Mobile Dark Mode Theme */
    .projects { background: #0a0a0a; color: #fff; padding: 10px 0 60px; }
    .projects-headline { color: #fff; font-size: 32px; margin-bottom: 8px; }
    .projects-link { color: #FFD700; margin-bottom: 30px; display: inline-block; }
    .projects-header { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
    .projects-grid { gap: 24px; flex-direction: column; overflow-x: visible; scroll-snap-type: none; }
    .project-card { border-radius: 16px; background: #111; border: 1px solid #222; overflow: hidden; width: 100%; flex: none; }
    .project-img-wrapper { aspect-ratio: 16/9; border-radius: 0; }
    .project-info { padding: 20px; }
    .project-title { color: #fff; font-size: 18px; margin-bottom: 6px; }
    /* 2026-10-01, DECISIONS.md #39: aqui .project-card tiene fondo #111,
       no el blanco de desktop -- se restaura #FFD700 (13,46:1) en vez de
       heredar el #826E00 de la regla base, que sobre #111 da 3,76:1. */
    .project-category { font-size: 12px; color: #FFD700; }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 38px;
    }

    .projects-grid {
    }

    .nav-container {
        padding: 0 16px;
    }
}

/* 3D Floating Elements */
.floating-3d {
    position: absolute;
    z-index: 1;
    
    pointer-events: none;
}

.float-anim-1 { animation: float3d 6s ease-in-out infinite; }
.float-anim-2 { animation: float3dalt 8s ease-in-out infinite; }
.float-anim-3 { animation: float3d 7s ease-in-out infinite reverse; }
.float-anim-4 { animation: float3dalt 9s ease-in-out infinite reverse; }

@keyframes float3d {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float3dalt {
    0% { transform: translateY(0px) rotate(0deg) scale(1); }
    50% { transform: translateY(20px) rotate(-8deg) scale(1.05); }
    100% { transform: translateY(0px) rotate(0deg) scale(1); }
}

.star-hero { top: 12%; right: 8%; width: 140px; opacity: 0.9; }
.torus-hero { bottom: 5%; left: 4%; width: 120px; opacity: 0.85; }
.torus-hero-2 { top: 35%; left: 50%; width: 80px; opacity: 0.7; filter: hue-rotate(140deg); }
.star-hero-3 { display: none; bottom: 45%; right: 15%; width: 90px; opacity: 0.75; filter: hue-rotate(200deg); }

.star-about { top: 5%; right: 5%; width: 130px; opacity: 0.8; }
.torus-srv { bottom: 20%; left: 10%; width: 130px; opacity: 0.75; filter: hue-rotate(60deg); }
.star-srv-2 { top: 60%; left: 35%; width: 90px; opacity: 0.7; filter: hue-rotate(180deg); }

.torus-proj-1 { top: 8%; left: 55%; width: 80px; opacity: 0.85; filter: hue-rotate(120deg); }
.star-proj-2 { top: 8%; right: 20%; width: 120px; opacity: 0.8; filter: hue-rotate(250deg); }

.star-nosotros-1 { top: 10%; left: 5%; width: 100px; opacity: 0.8; }
.torus-nosotros-2 { bottom: 3%; right: 2%; width: 90px; /* below the figures, not over "Talleres" */ opacity: 0.75; filter: hue-rotate(220deg); }

@media (max-width: 968px) {
    .floating-3d { display: block !important; max-width: 70px !important; opacity: 0.4 !important; }
    
    /* Hero */
    .star-hero { top: 15% !important; right: -15px !important; }
    .torus-hero { bottom: 2% !important; left: -15px !important; }
    .torus-hero-2 { top: 40% !important; left: auto !important; right: -15px !important; }
    .star-hero-3 { top: 10% !important; bottom: auto !important; right: auto !important; left: -15px !important; }
    
    /* Servicios */
    .star-about { top: 2% !important; right: -15px !important; }
    .torus-srv { display: none !important; }
    .star-srv-2 { top: 50% !important; left: -15px !important; }
    
    /* Proyectos */
    .torus-proj-1 { top: 25% !important; left: -15px !important; }
    .star-proj-2 { top: auto !important; bottom: 2% !important; right: -15px !important; }
    
    /* Nosotros */
    .star-nosotros-1 { top: 2% !important; left: -15px !important; }
    .torus-nosotros-2 { bottom: 2% !important; right: -15px !important; }
}

@media (max-width: 768px) {
    .star-hero { right: 12px !important; max-width: 55px !important; }
    .torus-hero { left: 10px !important; max-width: 50px !important; }
}

/* ═══════════════════════════════════════════════ */
/* LOADING SCREEN                                  */
/* ═══════════════════════════════════════════════ */
#loading-screen {
    /* Hidden by default (F4 decision, 2026-10-01, see DECISIONS.md entry
       37): with no JavaScript, the safe path is to never paint at all,
       instead of relying on a script to remove it. The inline script right
       after this div in index.html adds .is-active to show it when JS does
       run. */
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.is-active {
    display: flex;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader-logo-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.4));
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.4)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.7)); }
}

/* Orbit ring 1 — tilted ellipse */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    height: 260px;
    margin-top: -130px;
    margin-left: -130px;
    border: 2px solid rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    transform: rotateX(65deg) rotateZ(-25deg);
    animation: orbitSpin 1.8s linear infinite;
    transform-style: preserve-3d;
}

/* Orbit ring 2 — opposite tilt */
.orbit-ring-2 {
    width: 240px;
    height: 240px;
    margin-top: -120px;
    margin-left: -120px;
    border-color: rgba(255, 215, 0, 0.1);
    transform: rotateX(65deg) rotateZ(55deg);
    animation: orbitSpin2 2.4s linear infinite;
}

@keyframes orbitSpin {
    0%   { transform: rotateX(65deg) rotateZ(-25deg) rotate(0deg); }
    100% { transform: rotateX(65deg) rotateZ(-25deg) rotate(360deg); }
}

@keyframes orbitSpin2 {
    0%   { transform: rotateX(65deg) rotateZ(55deg) rotate(0deg); }
    100% { transform: rotateX(65deg) rotateZ(55deg) rotate(360deg); }
}

/* Lightning bolt on the orbit */
.orbit-bolt {
    position: absolute;
    top: -14px;
    left: 50%;
    margin-left: -10px;
    font-size: 24px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.9))
            drop-shadow(0 0 20px rgba(255, 200, 0, 0.6));
    animation: boltFlicker 0.4s ease-in-out infinite alternate;
}

.orbit-bolt-2 {
    top: auto;
    bottom: -14px;
    font-size: 20px;
    animation-delay: 0.2s;
}

@keyframes boltFlicker {
    0%   { opacity: 0.7; filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.7)); }
    100% { opacity: 1;   filter: drop-shadow(0 0 14px rgba(255, 215, 0, 1)); }
}

/* Loading text */
.loader-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 6px;
    color: #1a1a1a;
    text-transform: uppercase;
}

.loader-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
    100% { content: ''; }
}

/* Gallery Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.show {
    display: flex;
    opacity: 1;
}

.gallery-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.gallery-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
}

.gallery-close:hover {
    color: #FFD700;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.gallery-btn:hover {
    background: rgba(255, 215, 0, 0.8);
    color: #000;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* ═══════════════════════════════════════════════ */
/* REDUCED MOTION                                  */
/* ═══════════════════════════════════════════════ */
/* F4 decision, 2026-10-01 (DECISIONS.md entry 38): one universal override
   for every CSS animation/transition/smooth-scroll in the site, instead of
   hunting each @keyframes one by one. What it disables is the MOVEMENT —
   duration collapsed to near-zero, one iteration instead of infinite — not
   the element: nothing gets display:none or opacity:0 here, so content
   stays exactly as reachable as with motion on. script.js has its own
   matching check for the motion it drives in JS (parallax, card tilt,
   window.scrollTo, the stat counter) because this media query only reaches
   CSS-driven motion. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ═══════════════════════════════════════════════ */
/* SKIP LINK AND FOCUS                             */
/* ═══════════════════════════════════════════════ */
/* F4 casilla 5, 2026-10-01 (DECISIONS.md entry 40): first focusable element
   of <body> on all seven pages. Off-screen until it gets focus -- not
   display:none, so it stays in the DOM and in the tab order for a keyboard
   user, it just isn't painted for anyone else. Fixed #000/#fff instead of
   the brand #FFD700: measured 1.40:1 for that yellow over white (same number
   casilla 4 already fixed for body text), so it fails here for the same
   reason. Uses :focus, not :focus-visible, on purpose: a skip link has no
   mouse-focus path to guard against, and :focus is what the in-repo
   precedent (plantilla.mjs, consulted but not used as source of truth here)
   already uses for the same element. */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    background: #000;
    color: #fff;
    padding: 12px 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* F4 casilla 5, 2026-10-01 (DECISIONS.md entry 40): one ring for every
   interactive element on the site -- links, buttons, the five form controls
   (input/select/textarea cover the 18 fields of casilla 8) and [tabindex]
   for whatever gets one later, since none exists today (grep confirmed).
   currentColor instead of a fixed color, same reasoning as the skip link
   above and as plantilla.mjs's precedent: the brand yellow alone fails on
   white (1.40:1) and a fixed #000/#fff each fail on one of the two button
   colors that exist (#000-on-white text needs a #000 ring, #fff-on-black
   text needs a #fff ring), so the ring has to track whichever text color
   already had to be legible against its own background.
   outline-offset is NEGATIVE, unlike plantilla.mjs's +3px, and that is a
   deliberate departure from that precedent, not a copy: `.nav-cta` and
   `.btn-primary` paint white text on a black fill and sit on light sections
   (navbar, hero) everywhere they're used (checked every usage across the
   seven pages) -- a positive offset puts a white ring OUTSIDE the button,
   over that light page background, where it measures under 1:1 and
   disappears. A negative offset keeps the ring on the button's own fill,
   where its text color already had to clear a real contrast ratio to be
   readable: measured 21:1 for white-on-black inset this way. For plain text
   links with no fill of their own (nav links, footer links) the ring still
   lands next to the glyphs against the same background the text is already
   readable against, so nothing is lost by the sign flip. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: -2px;
    /* instant, not eased: several of these elements carry their own
       `transition: all ...`, and a focus ring that fades in is a focus ring
       a fast keyboard user can miss between two Tab presses. */
    transition: none;
}

/* F4 casilla 5, 2026-10-01 (DECISIONS.md entry 40): the "COMPRAR LUGAR"
   sold-out state (eventos.html and convocatorias.html, `.btn-primary
   .disabled`) sets color:#999 on background:#f0f0f0 inline -- it's still a
   real `<a href="#">`, so it's still in the tab order even though it looks
   disabled, and currentColor there measures 2.50:1, under the 3:1 floor.
   #000 measures 18.43:1 against that same #f0f0f0. */
.btn-primary.disabled:focus-visible {
    outline-color: #000;
}

/* F4 casilla 5, 2026-10-01 (DECISIONS.md entry 40): belt-and-suspenders for
   the three pill buttons with a solid fill (`.nav-cta`, `.btn-primary`,
   `.portal-btn`, all border-radius:999px, white text on black everywhere
   they're used -- checked every usage across the seven pages). A Chrome
   headless harness (.tmp-verificacion-focus-f4-5.html, deleted after use)
   first measured the outline rule above computing outline-offset:0px on
   these three instead of the authored -2px, which would put the ring
   outside the pill over the page background and under 1:1 -- but that
   reading turned out to be the harness catching the outline mid-transition
   (`.nav-cta` etc. carry `transition: all 0.3s ease`, and outline-offset is
   interpolated through it), not a real browser limit: adding `transition:
   none` to both this rule and the one above made every reading stable and
   correct across repeated runs (DECISIONS.md entry 40 has both sets of
   numbers). The `transition: none` above is therefore the actual fix; this
   `box-shadow` is kept anyway as an independent second ring for these three,
   since it does not go through outline-offset at all and always clips to
   the element's own border-radius -- harmless if the outline also renders
   correctly, and one less thing shared with it if it ever doesn't. */
.nav-cta:focus-visible,
.btn-primary:focus-visible,
.portal-btn:focus-visible {
    box-shadow: inset 0 0 0 3px currentColor;
    transition: none;
}

/* ═══════════════════════════════════════════════ */
/* 2026-10-27 · TYPOGRAPHY: the user picked the home title's font for every title     */
/* (Caveat bold, uppercase, hand-written) and Inter for subtitles and text.           */
/* Small UI labels (service names, agenda rows, "Entra o regístrate") stay as they are. */
/* !important because several pages set fonts in their own <style> or inline.         */
/* ═══════════════════════════════════════════════ */
main h1, main h1 *:not(svg):not(path):not(mark),
main h2, main h2 *:not(svg):not(path),
main .paquete-nombre, main .sede-title, .checkout-title {
    font-family: 'Caveat', cursive !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
    line-height: 1.05;
    text-shadow: none !important;
}
main h1 mark { font-family: 'Caveat', cursive !important; font-weight: 700 !important; }
main p,
.tour-subheadline, .tour-live-tag, .expo-head-tag,
.banner-comic-kicker, .banner-visitantes-kicker, .sim-sub, .tour-comic-desc, .expo-v2-desc {
    font-family: 'Inter', sans-serif !important;
}

/* ═══════════════════════════════════════════════ */
/* 2026-10-27 · ALIADOS, PATROCINADORES Y EXPOSITORES (drawn by patrocinios-render.js) */
/* ═══════════════════════════════════════════════ */
.patro-seccion { background: #fff; padding: 72px 0 80px; border-top: 2px solid #000; scroll-margin-top: 80px; }
.patro-contenedor { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.patro-titulo { font-size: clamp(36px, 5vw, 56px); text-align: center; margin: 0 0 8px; }
.patro-sub { text-align: center; color: #555; font-size: 16px; max-width: 520px; margin: 0 auto 40px; line-height: 1.5; }
.patro-grupo + .patro-grupo { margin-top: 32px; }
.patro-grupo-titulo {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b6b6b;
    margin: 0 0 12px;
}
.patro-seccion .patro-grupo-titulo { text-align: center; }
.patro-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}
.patro-logo {
    aspect-ratio: 3 / 2;
    background: #fff;
    border: 2px solid #000;
    border-radius: 14px;
    box-shadow: 3px 3px 0 #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-sizing: border-box;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.patro-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: filter 0.2s ease, opacity 0.2s ease; }
a.patro-logo:hover, a.patro-logo:focus-visible { transform: translateY(-2px); box-shadow: 4px 5px 0 #000; }
.patro-logo:hover img, .patro-logo:focus-visible img { filter: none; opacity: 1; }
.patro-vacio { border: 2px dashed #c9c9c9; box-shadow: none; background: #fafafa; }
.patro-vacio-texto { font-size: 12px; font-weight: 600; color: #9a9a9a; }
/* Inside a venue: smaller tiles, no shadow. */
.patro-sede { margin-top: 22px; padding-top: 18px; border-top: 1px solid #ececec; text-align: left; }
.patro-logos-chicos { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.patro-chico { border-radius: 10px; box-shadow: none; padding: 10px; border-width: 1.5px; }
.patro-sede .patro-grupo + .patro-grupo { margin-top: 20px; }
/* Exhibitors */
.patro-expo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.patro-expo {
    border: 2px solid #000;
    border-radius: 14px;
    box-shadow: 3px 3px 0 #000;
    background: #fff;
    padding: 16px 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}
.patro-expo-logo {
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 2px solid #000;
    background: #FFD700;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 6px;
}
.patro-expo-logo img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.patro-expo-inicial { font-family: 'Caveat', cursive; font-weight: 700; font-size: 34px; line-height: 1; }
.patro-expo-nombre { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14.5px; color: #000; margin: 0; }
.patro-expo-giro { font-size: 12.5px; color: #666; margin: 0; line-height: 1.35; }
.patro-expo-ig {
    margin-top: 8px;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 700; color: #000; text-decoration: none;
    background: #FFF6CC; border: 1.5px solid #000; border-radius: 999px; padding: 5px 11px;
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.patro-expo-ig:hover { background: #FFD700; }
.patro-expo-vacio {
    display: flex; flex-direction: column; gap: 4px;
    border: 2px dashed #c9c9c9; border-radius: 14px; background: #fafafa;
    padding: 16px; text-decoration: none;
}
.patro-expo-vacio-titulo { font-weight: 700; color: #333; font-size: 14.5px; }
.patro-expo-vacio-sub { font-size: 13px; color: #6b6b6b; }
.patro-expo-vacio:hover { border-color: #000; background: #FFF9DB; }
@media (max-width: 480px) {
    .patro-seccion { padding: 52px 0 60px; }
    .patro-contenedor { padding: 0 18px; }
    .patro-logos, .patro-logos-chicos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .patro-logo { padding: 8px; border-radius: 10px; box-shadow: 2px 2px 0 #000; }
    .patro-vacio { box-shadow: none; }
    .patro-vacio-texto { font-size: 11px; text-align: center; }
    /* minmax(0,1fr) + min-width:0 so a long Instagram handle cannot widen the card past the screen. */
    .patro-expo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .patro-expo { min-width: 0; padding: 14px 8px 12px; }
    .patro-expo-logo { width: 56px; height: 56px; }
    .patro-expo-nombre { font-size: 13.5px; }
    .patro-expo-giro { font-size: 12px; }
    .patro-expo-ig { font-size: 11.5px; padding: 4px 9px; }
}

/* 2026-10-27 · Scroll cue under the date strip, phones only. */
.hero-scroll-cue { display: none; }
@media (max-width: 768px) {
    .hero-container { padding-top: 22px; gap: 10px; }
    .hero-headline { font-size: 36px; }
    .hero-body { font-size: 14.5px; line-height: 1.55; margin-bottom: 12px; }
    .hero-actions { margin-bottom: 6px; }
    /* Round yellow button floating at the bottom-right corner (over the ticket that is already cut
       off), just above the bottom bar, whatever the phone height; hides on scroll. */
    .hero-scroll-cue {
        position: fixed;
        right: 14px;
        bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 14px);
        z-index: 999;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: #FFD700;
        border: 2.5px solid #000;
        box-shadow: 3px 3px 0 #000;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0;
        text-decoration: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .hero-scroll-flecha { color: #000; font-size: 26px; font-weight: 800; line-height: 1; display: inline-block; animation: heroCueRebote 1.6s ease-in-out infinite; }
    #scroll-indicator { display: none; }
    .hero-scroll-cue.oculto { opacity: 0; transform: translateY(12px); pointer-events: none; }
    .mascot-container { order: 4; }
}
@keyframes heroCueRebote { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-flecha { animation: none; } }
/* 2026-10-27 · Empty state of the allies section: one invitation card instead of empty boxes. */
.patro-invita {
    display: flex; flex-direction: column; gap: 6px;
    max-width: 560px; margin: 0 auto;
    background: #FFD700; border: 2.5px solid #000; border-radius: 18px; box-shadow: 4px 4px 0 #000;
    padding: 22px 24px; text-decoration: none; color: #000; text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.patro-invita:hover, .patro-invita:focus-visible { transform: translateY(-2px); box-shadow: 5px 6px 0 #000; }
.patro-invita-titulo { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 17px; }
.patro-invita-sub { font-size: 14.5px; line-height: 1.45; }
/* 2026-10-28 · Same cap for subpages: "desktop site" on a phone reports a ~1900px-tall viewport. */
.page-content { min-height: min(100vh, 1000px) !important; }
/* 2026-10-28 · When a page is shorter than the screen (very tall "desktop site" phones, big monitors),
   the area under the footer was white. The canvas takes the footer's black; body stays white. */
html { background: #0a0a0a; }

/* ═══════════════════════════════════════════════ */
/* 2026-10-28 · Desktop review                      */
/* ═══════════════════════════════════════════════ */
@media (min-width: 993px) {
    /* One column edge for every block: the black hero, the agenda and the rest were 1080/1040/860 px
       while the other blocks were the full 1232 px container. */
    .ev-hero-block, .conv-hero-block, .agenda-sedes-list { max-width: none !important; }
    /* Wide agenda rows: keep the text a comfortable reading width. */
    .agenda-desc-texto { max-width: 760px; }
    .agenda-foto-grande { max-height: 320px !important; }
}
/* 3D figures that land on text when the side margins are narrow (laptops). */
@media (min-width: 769px) and (max-width: 1599px) {
    .hero .torus-hero, .about .star-nosotros-1, .about .torus-nosotros-2,
    #eventos .star-hero, #eventos .torus-hero,
    .expositores-hero .star-hero { display: none !important; }
}
@media (min-width: 769px) {
    #eventos .star-srv-2 { display: none !important; }
}
@media (min-width: 769px) {
    /* Its position was relative to the page height, so on tall screens it ended up on the footer logo. */
    .convocatorias .torus-hero { top: 640px !important; bottom: auto !important; }
}
@media (min-width: 769px) and (max-width: 1199px) {
    /* Between tablet and small laptop the services grid fills the width: the figures fall on the cards. */
    .services .floating-3d { display: none !important; }
}
@media (min-width: 769px) and (max-width: 1365px) {
    .hero .torus-hero-2 { display: none !important; } /* touches the title (980–1024) or the duck (1280) */
}
/* 2026-10-28 · Desktop header: the button of the page you are on is filled black. */
.portal-btn.portal-btn-activo { background: #000; color: #fff; border-color: #000; }
.nav-cta.portal-btn-activo { background: #FFD700; color: #000; }
/* 2026-10-28 · The unified header has 5 links + 3 buttons: tighten it so it fits from 769 to 1365 px. */
@media (min-width: 769px) and (max-width: 1365px) {
    .nav-container { padding: 0 24px; gap: 16px; }
    .nav-links { gap: 22px; }
    .nav-link { font-size: 12px; letter-spacing: 0.08em; }
    .nav-actions { gap: 8px; }
    .portal-btn { padding: 9px 14px; font-size: 12px; letter-spacing: 0.04em; }
    .nav-cta { padding: 10px 18px; font-size: 12px; letter-spacing: 0.04em; }
}
@media (min-width: 769px) and (max-width: 1150px) {
    .nav-links { gap: 14px; }
    .nav-link { font-size: 11px; letter-spacing: 0.05em; }
    .portal-btn { padding: 8px 11px; font-size: 11px; }
    .nav-cta { padding: 9px 13px; font-size: 11px; }
    .nav-logo img, .nav-logo-img { max-width: 112px; height: auto; }
}
