:root {
    --blue: #2B3278;
    --blue-light: #3d4699;
    --blue-dark: #1a1f4e;
    --red: #EE2A3C;
    --red-dark: #c41e2e;
    --white: #ffffff;
    --off-white: #f4f5fa;
    --gray-100: #e8eaf3;
    --gray-300: #a0a5c0;
    --gray-500: #6b7194;
    --black: #0a0c1a;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --header-h: 72px;
    --scroll-progress-h: 56px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 20px 60px rgba(10, 12, 26, 0.25);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --page-gutter: clamp(1.125rem, 4vw, 1.5rem);
    --section-pad-y: clamp(3.5rem, 8vw, 6rem);
    --card-pad: 1.75rem;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    padding-bottom: var(--scroll-progress-h);
}

main {
    overflow-x: hidden;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: var(--page-gutter);
}

.container-narrow {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-inline: var(--page-gutter);
}

.accent { color: var(--red); }

/* Cursor glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238, 42, 60, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow { opacity: 1; }

/* Scroll progress — fixed bottom bar, contained within reserved space */
.scroll-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: var(--scroll-progress-h);
    padding: 0 14px;
    box-sizing: border-box;
    pointer-events: none;
    background: rgba(10, 12, 26, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.page-light .scroll-progress {
    background: rgba(255, 255, 255, 0.97);
    border-top-color: var(--gray-100);
}

.scroll-progress-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 5px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    overflow: hidden;
}

.page-light .scroll-progress-track {
    background: rgba(26, 31, 78, 0.16);
}

.scroll-progress-fill {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red-dark), var(--red));
    box-shadow: 0 0 10px rgba(238, 42, 60, 0.5);
    will-change: width;
}

.scroll-progress-runner {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%);
    will-change: left;
}

.scroll-progress-runner-icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    :root {
        --scroll-progress-h: 52px;
    }

    .scroll-progress {
        padding: 0 var(--page-gutter);
    }

    .scroll-progress-track {
        left: 0;
        right: 0;
        height: 4px;
    }

    .scroll-progress-runner {
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress-fill,
    .scroll-progress-runner {
        transition: none !important;
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 12, 26, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.site-header-solid {
    background: rgba(10, 12, 26, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo img {
    height: 44px;
    width: auto;
    max-width: min(160px, 42vw);
}

.nav-logo {
    flex-shrink: 1;
    min-width: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
    transition: opacity var(--transition), color var(--transition);
    white-space: nowrap;
}

.nav-links a:hover { opacity: 1; color: var(--red); }

.nav-links a.active {
    opacity: 1;
    color: var(--red);
}

.nav-cta.active {
    background: var(--red-dark) !important;
}

.nav-cta {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    opacity: 1 !important;
}

.nav-cta:hover {
    background: var(--red-dark) !important;
    transform: translateY(-1px);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.lang-switch {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.65);
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    transition: color var(--transition), background var(--transition);
}

.lang-switch:hover,
.lang-switch.active {
    color: var(--white);
}

.lang-switch.active {
    background: rgba(238, 42, 60, 0.35);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
    user-select: none;
}

.mobile-lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.mobile-lang-switcher .lang-switch {
    flex: 1;
    text-align: center;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.mobile-lang-switcher .lang-switch.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 1100;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), border-color var(--transition);
}

.nav-toggle:hover {
    background: rgba(238, 42, 60, 0.15);
    border-color: rgba(238, 42, 60, 0.4);
}

.nav-toggle-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease, top 0.35s ease;
}

.nav-toggle-line:nth-child(1) { top: 14px; }
.nav-toggle-line:nth-child(2) { top: 21px; }
.nav-toggle-line:nth-child(3) { top: 28px; }

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1050;
    pointer-events: none;
    visibility: hidden;
    overflow: hidden;
}

.mobile-menu.open {
    pointer-events: auto;
    visibility: visible;
}

.mobile-menu-backdrop {
    display: none;
}

.mobile-menu-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--blue-dark) 0%, #0d1028 100%);
    padding: 1rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-menu.open .mobile-menu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-top img {
    max-width: min(130px, 45vw);
    height: auto;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.mobile-menu-close span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

.mobile-menu-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-menu-close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav-link:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus,
.mobile-nav-link.active {
    color: var(--white);
    padding-left: 0.5rem;
}

.mobile-nav-link.active {
    color: var(--red);
}

.mobile-nav-cta {
    margin-top: 1.25rem;
    flex-shrink: 0;
}

body.menu-open {
    overflow: hidden;
    touch-action: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(238, 42, 60, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-full { width: 100%; }

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(160deg, var(--blue-dark) 0%, var(--black) 50%, var(--blue) 100%);
}

.hero-marquee {
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-h) + 2rem) var(--page-gutter) 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(43, 50, 120, 0.45) 0%, transparent 55%),
        linear-gradient(180deg, var(--blue-dark) 0%, var(--black) 100%);
}

.hero-marquee-content {
    position: relative;
    z-index: 2;
    width: min(640px, 100%);
    padding: 0 0.5rem 2rem;
}

.hero-marquee-content > * {
    opacity: 0;
    animation: heroMarqueeFadeIn 0.75s cubic-bezier(0.34, 1.15, 0.64, 1) forwards;
}

.hero-marquee-tagline {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(43, 50, 120, 0.4);
    backdrop-filter: blur(10px);
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-300);
    margin-bottom: 1.25rem;
    animation-delay: 0s;
}

.hero-marquee-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 11vw, 5.5rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    animation-delay: 0.12s;
}

.hero-marquee-title .accent {
    display: block;
    color: var(--red);
}

.hero-marquee-desc {
    margin-top: 1.35rem;
    color: var(--gray-300);
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    line-height: 1.65;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    animation-delay: 0.32s;
}

.hero-marquee-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    animation-delay: 0.48s;
}

.hero-marquee-band {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: clamp(10rem, 33vh, 18rem);
    overflow: hidden;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.hero-marquee-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding: 0 0.5rem;
    animation: heroMarqueeScroll 40s linear infinite;
    will-change: transform;
}

.hero-marquee-card {
    flex-shrink: 0;
    aspect-ratio: 3 / 4;
    height: clamp(9rem, 22vh, 16rem);
    transform: rotate(var(--tilt, 0deg));
}

.hero-marquee-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

@keyframes heroMarqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes heroMarqueeFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-marquee-track {
        animation: none;
    }

    .hero-marquee-content > * {
        opacity: 1;
        animation: none;
    }
}

.hero-compact {
    min-height: clamp(420px, 72vh, 680px);
}

.hero-parallax {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    will-change: transform;
    max-width: 100%;
}

.parallax-layer svg {
    max-width: 100%;
    height: auto;
}

.layer-bg {
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(238, 42, 60, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(43, 50, 120, 0.4) 0%, transparent 50%);
}

.layer-castle {
    bottom: 15%;
    left: 5%;
    width: 35vw;
    max-width: 400px;
    color: rgba(255, 255, 255, 0.15);
    opacity: 0.8;
}

.layer-bridge {
    bottom: 8%;
    right: 0;
    width: 50vw;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.12);
}

.layer-runner {
    top: 20%;
    right: 10%;
    width: 25vw;
    max-width: 280px;
    opacity: 0.9;
    animation: runnerFloat 6s ease-in-out infinite;
}

@keyframes runnerFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: calc(var(--header-h) + 2.5rem) 0 3rem;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 11vw, 7.5rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    overflow-wrap: break-word;
}

.hero-title .line { display: block; }
.hero-title .accent { color: var(--red); }

.hero-edition {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 540px;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number,
.stat-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--red);
    line-height: 1;
    display: block;
}

.stat-text { letter-spacing: 0.05em; }

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-300);
}

.hero-scroll { display: none; }

/* Info bar */
.info-bar {
    background: var(--blue);
    padding: 1.25rem 0;
    position: relative;
    z-index: 5;
}

.info-bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 1.25rem;
}

@media (max-width: 900px) {
    .info-bar-grid {
        grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    }
}

.info-bar-item {
    padding: 0.5rem 0;
}

.info-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.info-bar-item strong {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--white);
}

/* Sections */
.section {
    padding: var(--section-pad-y) 0;
    position: relative;
    overflow-x: clip;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--gray-300);
    max-width: 500px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-desc { margin: 0 auto; }

.content-grid {
    display: grid;
    gap: 1.5rem;
    min-width: 0;
}

.content-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.content-grid > *,
.section-grid > *,
.distance-cards > *,
.explore-grid > *,
.footer-grid > *,
.highlight-grid > *,
.schedule-grid > *,
.tips-grid > *,
.info-bar-grid > *,
.register-grid > * {
    min-width: 0;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--gray-100);
    box-shadow: 0 4px 20px rgba(26, 31, 78, 0.06);
    height: 100%;
}

.shkodra { background: var(--off-white); color: var(--blue-dark); }

.shkodra .section-desc { color: var(--gray-500); }

.info-card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--blue);
}

.info-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--gray-500);
}

.highlight-box {
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: var(--white);
}

.highlight-box h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 0.03em;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.highlight-grid strong {
    display: block;
    color: var(--red);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.highlight-grid p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-300);
}

/* Schedule */
.schedule {
    background: var(--off-white);
    color: var(--blue-dark);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.schedule-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    border-left: 4px solid var(--red);
    box-shadow: 0 4px 16px rgba(26, 31, 78, 0.06);
}

.schedule-card time {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.schedule-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: var(--blue);
}

.schedule-card ul {
    list-style: none;
}

.schedule-card li {
    font-size: 0.88rem;
    color: var(--gray-500);
    padding: 0.35rem 0 0.35rem 1rem;
    position: relative;
    line-height: 1.5;
}

.schedule-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--red);
}

/* Official program table */
.official-program {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(26, 31, 78, 0.08);
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.program-table {
    width: 100%;
    border-collapse: collapse;
}

.program-table th,
.program-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: top;
    font-size: 0.95rem;
    line-height: 1.5;
}

.program-table thead th {
    background: var(--blue);
    color: var(--white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.program-table tbody tr:last-child td {
    border-bottom: none;
}

.program-table td:first-child {
    width: 140px;
    font-weight: 700;
    color: var(--blue);
    white-space: nowrap;
}

.program-table tr.program-race {
    background: rgba(238, 42, 60, 0.04);
}

.program-table tr.program-race td:first-child {
    color: var(--red);
}

.schedule .section-desc {
    margin: 0 auto;
    text-align: center;
    max-width: 560px;
}

@media (max-width: 600px) {
    .program-table td:first-child {
        width: auto;
        white-space: normal;
        display: block;
        padding: var(--card-pad) var(--card-pad) 0.25rem;
        border-bottom: none;
    }

    .program-table td:last-child {
        display: block;
        padding: 0 var(--card-pad) var(--card-pad);
    }

    .program-table tr {
        display: block;
        border-bottom: 1px solid var(--gray-100);
    }

    .program-table thead {
        display: none;
    }
}

/* Rules */
.rules {
    background: var(--black);
}

.rules-grid { align-items: start; }

.rules-intro p {
    color: var(--gray-300);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.rules-lists {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rules-block {
    background: rgba(43, 50, 120, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

.rules-block h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.rules-block-prohibited {
    border-color: rgba(238, 42, 60, 0.3);
    background: rgba(238, 42, 60, 0.08);
}

.rules-block ul {
    list-style: none;
}

.rules-block li {
    font-size: 0.88rem;
    color: var(--gray-300);
    padding: 0.35rem 0;
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.5;
}

.rules-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 5px;
    height: 5px;
    background: var(--red);
    border-radius: 50%;
}

/* Tips */
.tips {
    background: linear-gradient(180deg, var(--blue-dark) 0%, var(--black) 100%);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.tip-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: border-color var(--transition), transform var(--transition);
}

.tip-card:hover {
    border-color: rgba(238, 42, 60, 0.35);
    transform: translateY(-4px);
}

.tip-num {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--red);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.tip-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.tip-card p {
    font-size: 0.88rem;
    color: var(--gray-300);
    line-height: 1.6;
}

/* FAQ */
.faq {
    background: var(--off-white);
    color: var(--blue-dark);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(26, 31, 78, 0.04);
}

.faq-item summary {
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--blue);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--red);
    flex-shrink: 0;
    transition: transform 0.25s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--gray-500);
}

/* About */
.about {
    background: var(--off-white);
    color: var(--blue-dark);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-width: 0;
}

.about-image-wrap {
    position: relative;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.about-logo {
    width: 80%;
    margin: 0 auto;
}

.about-badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.about-content p {
    color: var(--gray-500);
    margin-bottom: 1rem;
}

/* Partners */
.partners {
    background: var(--white);
    color: var(--blue-dark);
    border-top: 1px solid var(--gray-100);
    padding: 2.75rem 0 3rem;
}

.partners-heading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-dark);
    line-height: 1.1;
    margin: 0;
}

.partners-heading-center {
    text-align: center;
    margin-bottom: 1.5rem;
}

.partners-organizer {
    margin-bottom: 2.5rem;
}

.partners-organizer-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(1rem, 4vw, 2rem);
    max-width: min(100%, 720px);
    margin: 0 auto;
}

.partners-organizer-row .partners-heading {
    text-align: right;
}

.partners-organizer-row .partner-logo-organizer {
    justify-content: flex-start;
}

.partner-logo-organizer img {
    max-height: clamp(96px, 16vw, 140px);
}

.partners-supporters {
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    gap: 1.25rem 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.partners-grid-supporters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-items: center;
    gap: 1.5rem 2.5rem;
    max-width: 720px;
    margin: 0 auto;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.25rem;
}

.partners-grid-supporters .partner-logo img {
    max-height: clamp(88px, 14vw, 128px);
}

@media (max-width: 768px) {
    .partners {
        padding: var(--section-pad-y) 0;
    }

    .partners-organizer {
        margin-bottom: 2rem;
    }

    .partners-organizer-row {
        max-width: 100%;
        gap: 0.75rem 1.25rem;
    }

    .partners-grid,
    .partners-grid-supporters {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 1.25rem;
        max-width: 100%;
    }

    .partner-logo-organizer img {
        max-height: clamp(80px, 22vw, 110px);
    }

    .partners-grid-supporters .partner-logo img {
        max-height: clamp(72px, 20vw, 100px);
    }
}

/* Gara about — centered layout */
.gara-about-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.gara-about-text p {
    color: var(--gray-500);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.gara-about-text p:last-child {
    margin-bottom: 0;
}

.gara-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
    text-align: left;
}

.gara-feature-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    height: 100%;
    padding: 1.5rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(26, 31, 78, 0.06);
}

.gara-feature-row .feature-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.gara-feature-row strong {
    display: block;
    color: var(--blue);
    margin-bottom: 0.35rem;
}

.gara-feature-row p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.6;
}

/* Edition gallery carousel */
.edition-gallery-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--red);
    margin-bottom: 1rem;
}

.gallery-carousel {
    width: 100%;
}

.carousel-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(26, 31, 78, 0.18);
    background: var(--blue-dark);
}

.carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
    display: block;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.carousel-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-100);
    border-radius: 50%;
    background: var(--white);
    color: var(--blue);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.carousel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
}

.carousel-counter {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.05em;
}

.carousel-caption {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-align: right;
    margin: 0;
}

.carousel-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.85rem;
    max-height: 52px;
    overflow-y: auto;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--gray-100);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.carousel-dot.active {
    background: var(--red);
    transform: scale(1.2);
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 12, 26, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 4rem;
}

.gallery-lightbox[hidden] { display: none; }

.gallery-lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
    transition: background var(--transition);
}

.gallery-lightbox-nav:hover {
    background: var(--red);
}

.gallery-lightbox-prev { left: 1.25rem; }
.gallery-lightbox-next { right: 1.25rem; }

.gallery-lightbox-figure {
    max-width: min(900px, 92vw);
    margin: 0;
}

.gallery-lightbox-figure img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.gallery-lightbox-figure figcaption {
    text-align: center;
    color: var(--gray-300);
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.feature-icon { font-size: 1.5rem; }

.feature-list strong {
    display: block;
    color: var(--blue);
    margin-bottom: 0.25rem;
}

.feature-list p {
    font-size: 0.9rem;
    margin: 0;
}

/* Distances */
.distances {
    background: var(--black);
}

.distance-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.distance-card {
    background: rgba(43, 50, 120, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--bib-color, rgba(255, 255, 255, 0.15));
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.bib-color-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.bib-color-swatch {
    flex-shrink: 0;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 0 1px rgba(10, 12, 26, 0.2);
}

.gara-about .bib-color-swatch {
    border-color: rgba(26, 31, 78, 0.15);
    box-shadow: 0 0 0 1px rgba(26, 31, 78, 0.12);
}

.distance-card:hover {
    transform: translateY(-8px);
    border-color: rgba(238, 42, 60, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.distance-card.featured {
    background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-color: var(--red);
    transform: scale(1.03);
}

.distance-card.featured:hover { transform: scale(1.03) translateY(-8px); }

.card-badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: var(--red);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-distance {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.card-distance span {
    font-size: 1.5rem;
    vertical-align: super;
}

.distance-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.distance-card > p {
    color: var(--gray-300);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.card-features {
    list-style: none;
    margin-bottom: 2rem;
}

.card-features li {
    font-size: 0.85rem;
    color: var(--gray-300);
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    transform: translateY(-50%);
}

.card-link {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red);
    transition: gap var(--transition);
}

.card-link:hover { color: var(--white); }

.participation-info {
    margin-top: 3rem;
    padding: 2rem 2.5rem;
    background: rgba(43, 50, 120, 0.2);
    border: 1px solid rgba(238, 42, 60, 0.25);
    border-radius: var(--radius-lg);
    text-align: center;
}

.participation-info h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.participation-info p {
    color: var(--gray-300);
    max-width: 780px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

/* Interactive course map */
.route-map-section {
    background: var(--off-white) !important;
    color: var(--blue-dark);
}

.route-map-section .section-title {
    color: var(--blue-dark);
}

.route-map-section .section-desc {
    max-width: 40rem;
    margin: 0.75rem auto 0;
    color: var(--gray-500);
}

.route-map-panel {
    margin-top: 1.75rem;
}

.route-map-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.route-map-tabs {
    display: inline-flex;
    gap: 0.35rem;
    background: var(--white);
    padding: 0.35rem;
    border-radius: 999px;
    border: 1px solid var(--gray-100);
}

.route-map-tabs button {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--blue);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}

.route-map-tabs button:hover {
    background: rgba(43, 50, 120, 0.06);
}

.route-map-tabs button.active {
    color: var(--white);
    background: var(--blue);
}

.route-map-meta {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-500);
}

.route-map-stage {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #e8eaf0;
    border: 1px solid var(--gray-100);
    box-shadow: 0 18px 40px rgba(43, 50, 120, 0.08);
    isolation: isolate;
    transform: none !important;
}

#routeMap,
#routeMap.leaflet-container {
    width: 100% !important;
    height: 520px !important;
    min-height: 520px !important;
    max-width: 100%;
    margin: 0;
    z-index: 1;
    background: #dfe3ec;
}

.route-map-legend {
    position: absolute;
    z-index: 1100;
    left: 0.75rem;
    bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    padding: 0.65rem 0.8rem;
    max-width: calc(100% - 1.5rem);
    box-shadow: 0 8px 24px rgba(43, 50, 120, 0.12);
    pointer-events: none;
}

.route-map-legend .legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-dark);
    white-space: nowrap;
}

.route-map-legend .legend-swatch {
    width: 1.1rem;
    height: 4px;
    border-radius: 999px;
    background: var(--route-color, var(--blue));
    flex-shrink: 0;
}

.route-map-legend .legend-dot {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.route-map-legend .legend-dot.start { background: var(--red); }
.route-map-legend .legend-dot.water { background: #0ea5e9; }
.route-map-legend .legend-dot.police { background: var(--blue); }

.route-marker-wrap {
    background: transparent !important;
    border: 0 !important;
}

.route-marker {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    box-shadow: 0 6px 16px rgba(10, 12, 26, 0.22);
}

.route-marker svg { display: block; }
.route-marker.police { background: var(--blue); }
.route-marker.water { background: #0ea5e9; }
.route-marker.start {
    background: var(--red);
    width: 38px;
    height: 38px;
    font-family: var(--font-display);
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(43, 50, 120, 0.16);
}

.leaflet-popup-content {
    margin: 0.7rem 0.85rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-dark);
}

/* Route */
.route {
    overflow: hidden;
    background: linear-gradient(180deg, var(--black) 0%, var(--blue-dark) 100%);
}

.route-parallax {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.route-bg {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 30% 50%, rgba(238, 42, 60, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(43, 50, 120, 0.3) 0%, transparent 50%);
    will-change: transform;
}

.route-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.route-timeline {
    margin-top: 3rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-left: 2px solid rgba(238, 42, 60, 0.3);
    margin-left: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.timeline-item:last-child { border-left-color: transparent; }

.timeline-marker {
    position: absolute;
    left: -1.6rem;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.9rem;
}

.timeline-body h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.timeline-body p {
    color: var(--gray-300);
    font-size: 0.9rem;
}

/* Register */
.register {
    background: var(--off-white);
    color: var(--blue-dark);
    overflow-x: clip;
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.register-info p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.register-perks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.perk {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--blue);
}

.register-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    min-width: 0;
}

.form-row-single {
    grid-template-columns: 1fr;
}

.form-section {
    margin: 1.5rem 0 1.25rem;
    padding: 1.25rem 1.25rem 0.25rem;
    background: rgba(26, 31, 78, 0.03);
    border: 1px solid rgba(26, 31, 78, 0.08);
    border-radius: var(--radius);
}

.form-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.form-section-emergency .form-group:last-child {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
    min-width: 0;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--blue-dark);
    background: var(--off-white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(43, 50, 120, 0.15);
}

.form-group input.error,
.form-group select.error {
    border-color: var(--red);
}

.country-select {
    position: relative;
}

.country-select-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    background: #fff;
}

.country-select-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(43, 50, 120, 0.15);
}

.country-select-input.error {
    border-color: var(--red);
}

.country-select-list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    max-height: 14rem;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    overflow-y: auto;
    background: #fff;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(43, 50, 120, 0.12);
}

.country-select.open .country-select-list {
    border-color: var(--blue);
}

.country-select-list li {
    padding: 0.55rem 1rem;
    font-size: 0.95rem;
    cursor: pointer;
}

.country-select-list li:hover,
.country-select-list li[aria-selected="true"] {
    background: rgba(43, 50, 120, 0.08);
    color: var(--blue-dark);
}

.country-select-empty {
    color: var(--gray-500, #6b7194);
    cursor: default;
}

.country-select-empty:hover {
    background: transparent;
    color: var(--gray-500, #6b7194);
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-checkbox {
    margin: 1.25rem 0 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--blue-dark);
}

.checkbox-label input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    min-height: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--red);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"].error {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.checkbox-label a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--red);
}

/* Regulations page */
.regulations {
    background: var(--off-white);
    color: var(--blue-dark);
}

.regulations-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.regulation-item {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(26, 31, 78, 0.04);
}

.regulation-item summary {
    padding: 1rem 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3.5vw, 1.35rem);
    letter-spacing: 0.02em;
    font-weight: 400;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--blue);
    transition: background var(--transition), color var(--transition);
}

.regulation-item summary::-webkit-details-marker { display: none; }

.regulation-item summary::after {
    content: '+';
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--red);
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.25s;
}

.regulation-item[open] summary {
    background: rgba(43, 50, 120, 0.04);
    border-bottom: 1px solid var(--gray-100);
}

.regulation-item[open] summary::after {
    transform: rotate(45deg);
}

.regulation-content {
    padding: 1.15rem 1.25rem 1.35rem;
}

.regulation-content p {
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.regulation-content p:last-child {
    margin-bottom: 0;
}

.regulation-list {
    list-style: none;
    margin: 0.5rem 0 1rem;
    padding: 0;
}

.regulation-list li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.2rem;
    color: var(--gray-500);
    line-height: 1.6;
    font-size: 0.95rem;
}

.regulation-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}

.regulation-subsections {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0.75rem 0 1rem;
}

.regulation-subsection {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
}

.regulation-subsection h3 {
    font-size: 1rem;
    color: var(--blue);
    margin-bottom: 0.6rem;
}

.regulation-subsection p:last-child {
    margin-bottom: 0;
}

.regulations-cta {
    margin-top: 2.5rem;
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.regulations-cta p {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--blue-dark);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--gray-300);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-about {
    line-height: 1.65;
    max-width: 28rem;
}

.footer-slogan {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    letter-spacing: 0.04em;
    color: var(--red) !important;
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.05;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--red);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-300);
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-contact p {
    font-size: 0.9rem;
    color: var(--gray-300);
    margin-bottom: 0.35rem;
}

.footer-contact a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: var(--gray-500);
}

.footer-edition {
    color: var(--red);
    font-weight: 600;
}

.footer-edition a {
    color: inherit;
    transition: opacity var(--transition);
}

.footer-edition a:hover {
    opacity: 0.85;
}

/* Page hero (inner pages) */
.page-hero {
    padding: calc(var(--header-h) + var(--section-pad-y)) 0 var(--section-pad-y);
    background: linear-gradient(160deg, var(--blue-dark) 0%, var(--black) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: clip;
}

.page-hero-light {
    background: var(--off-white);
    color: var(--blue-dark);
}

.page-hero-light .section-tag { color: var(--red); }
.page-hero-light .page-desc { color: var(--gray-500); max-width: 100%; }
.page-hero-light .page-title { overflow-wrap: anywhere; }

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    margin-bottom: 0.75rem;
    overflow-wrap: anywhere;
}

.page-desc {
    font-size: 1.05rem;
    max-width: 600px;
    color: var(--gray-300);
    line-height: 1.6;
}

/* Explore cards (homepage) */
.explore {
    background: var(--black);
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.explore-card {
    display: block;
    background: rgba(43, 50, 120, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.explore-card:hover {
    transform: translateY(-6px);
    border-color: rgba(238, 42, 60, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.explore-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.explore-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.explore-card p {
    font-size: 0.9rem;
    color: var(--gray-300);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.explore-link {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--red);
}

/* CTA banner */
.cta-banner {
    background: var(--blue);
    padding: 3rem 0;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.register-grid-single {
    grid-template-columns: 1fr;
    max-width: min(960px, 100%);
    width: 100%;
    margin: 0 auto;
}

.page-minimal {
    background: #fff;
    min-height: 100dvh;
}

.page-minimal .cursor-glow,
.page-minimal .scroll-progress {
    display: none;
}

.main-minimal {
    min-height: 100dvh;
    padding: 0;
}

.register-embed {
    padding: 0 !important;
    margin: 0;
    min-height: 100dvh;
}

.register-iframe-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.register-iframe-wrap iframe {
    display: block;
    width: 100%;
    flex: 1 1 auto;
    min-height: 100dvh;
    height: 100dvh;
    border: 0;
    background: #fff;
}

.register-iframe-fallback {
    display: none;
    margin: 0;
    padding: 0.65rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500, #6b7194);
    background: #f7f8fb;
    border-top: 1px solid rgba(43, 50, 120, 0.08);
}

.register-iframe-fallback a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: underline;
}

.register-success {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 6vw, 3rem);
    box-shadow: var(--shadow);
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.register-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #d4edda;
    color: #155724;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.register-success-bib {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.register-bib-number {
    font-size: clamp(2rem, 8vw, 2.75rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--navy);
}

.register-bib-category {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.category-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    background: rgba(26, 31, 78, 0.04);
    border-radius: var(--radius);
    border: 1px solid rgba(26, 31, 78, 0.08);
}

.category-preview-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
}

.form-hint {
    margin-top: 0.4rem;
    font-size: 0.82rem;
    color: var(--gray-600);
}

.register-success h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    letter-spacing: 0.02em;
    color: var(--blue-dark);
    margin-bottom: 0.75rem;
}

.register-success-text {
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.register-success-note {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.register-closed {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 6vw, 3rem);
    box-shadow: var(--shadow);
    text-align: center;
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(26, 31, 78, 0.08);
}

.register-closed-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(238, 42, 60, 0.1);
    color: var(--red);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.register-closed h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    letter-spacing: 0.02em;
    color: var(--blue-dark);
    margin-bottom: 0.75rem;
}

.register-closed-text {
    color: var(--gray-500);
    line-height: 1.65;
    max-width: 36rem;
    margin: 0 auto 1.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
    max-width: min(960px, 100%);
    margin: 0 auto;
}

.contact-info-title,
.contact-form-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    color: var(--blue-dark);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(26, 31, 78, 0.08);
}

.contact-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.contact-card-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--blue-dark);
    text-decoration: none;
}

.contact-card-value:hover {
    color: var(--red);
}

.volunteer-info-text {
    color: var(--gray-500);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.form-label-text {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 0.65rem;
}

.volunteer-roles {
    display: grid;
    gap: 0.55rem;
}

.volunteer-role-option {
    margin: 0;
    padding: 0.7rem 0.85rem;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius);
    background: #fff;
}

.volunteer-role-option:has(input:checked) {
    border-color: var(--blue);
    background: rgba(43, 50, 120, 0.05);
}

.volunteer-role-option input.error {
    outline: 2px solid var(--red);
}

.volunteer-section .contact-card-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-500);
}

.contact-whatsapp {
    margin-top: 1.25rem;
    width: 100%;
    justify-content: center;
}

.contact-form-wrap .register-form,
.contact-success {
    width: 100%;
    max-width: 100%;
}

.contact-info {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2rem);
    box-shadow: var(--shadow);
    border: 1px solid rgba(26, 31, 78, 0.06);
}

.register-perks-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 1rem 0 1.25rem;
    padding: 1rem;
    background: var(--off-white);
    border-radius: var(--radius);
}

.register-perks-inline .perk {
    font-size: 0.82rem;
}

/* Reveal animations */
.reveal, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 968px) {
    .reveal-left,
    .reveal-right {
        transform: translateY(30px);
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .desktop-nav { display: none; }
    .nav-toggle { display: flex; }
}

@media (max-width: 968px) {
    .section-grid,
    .register-grid,
    .contact-grid,
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .distance-cards,
    .footer-grid,
    .content-grid.three-col,
    .highlight-grid,
    .schedule-grid,
    .tips-grid,
    .explore-grid {
        grid-template-columns: 1fr;
    }

    .gara-features {
        grid-template-columns: 1fr;
    }

    .register-perks-inline { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner .btn { width: 100%; }

    .distance-card.featured {
        transform: none;
    }

    .distance-card.featured:hover {
        transform: translateY(-8px);
    }

    .hero-stats { gap: 1.25rem 2rem; }

    .section-header {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
        --page-gutter: 1.25rem;
        --section-pad-y: 2.75rem;
        --card-pad: 1.25rem;
    }

    .cursor-glow { display: none !important; }

    .nav-logo img { height: 36px; }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .page-hero-light .page-desc {
        max-width: 100%;
    }

    .route-map-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .route-map-tabs {
        width: 100%;
        justify-content: space-between;
    }

    .route-map-tabs button {
        flex: 1;
        text-align: center;
        padding: 0.55rem 0.35rem;
        font-size: 0.8rem;
    }

    #routeMap,
    #routeMap.leaflet-container {
        height: 380px !important;
        min-height: 380px !important;
    }

    .route-map-legend {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
        max-width: none;
    }

    .hero-marquee {
        min-height: auto;
        padding-top: calc(var(--header-h) + 1.5rem);
        padding-bottom: clamp(10rem, 28vh, 13rem);
        padding-inline: var(--page-gutter);
    }

    .hero-marquee-content {
        padding-inline: 0;
        padding-bottom: 1.5rem;
    }

    .hero-marquee-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-marquee-band {
        height: clamp(8.5rem, 26vh, 11rem);
    }

    .hero-marquee-card {
        height: clamp(7rem, 18vh, 9.5rem);
    }

    .hero-marquee-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-marquee-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-compact { min-height: auto; }

    .hero-content {
        padding: calc(var(--header-h) + 1.5rem) 0 2rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }

    .hero-subtitle { margin-bottom: 1.5rem; }

    .hero-actions {
        flex-direction: column;
        margin-bottom: 1.5rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 1rem;
        justify-content: space-between;
    }

    .stat-item { flex: 1; min-width: 0; }

    .stat-label { font-size: 0.65rem; }

    .info-bar {
        padding: var(--card-pad) 0;
    }

    .info-bar-item {
        padding: 0.35rem 0;
    }

    .info-label {
        font-size: 0.65rem;
    }

    .info-bar-item strong {
        font-size: 0.82rem;
    }

    .about-content .btn {
        width: 100%;
        justify-content: center;
    }

    .register-form,
    .register-success,
    .register-closed {
        padding: 1.25rem 1rem;
    }

    .register-iframe-wrap {
        padding: 0;
        min-height: 100dvh;
    }

    .register-iframe-wrap iframe {
        min-height: 100dvh;
        height: 100dvh;
    }
    .distance-card,
    .explore-card,
    .info-card,
    .highlight-box,
    .participation-info,
    .tip-card,
    .rules-block,
    .schedule-card,
    .gara-feature-row,
    .regulations-cta {
        padding: var(--card-pad);
    }

    .regulation-item summary {
        padding: 1rem var(--card-pad);
        font-size: 1.05rem;
    }

    .regulation-content {
        padding: 0 var(--card-pad) var(--card-pad);
    }

    .faq-item summary,
    .faq-item p {
        padding-left: var(--card-pad);
        padding-right: var(--card-pad);
    }

    .faq-item summary {
        font-size: 0.9rem;
        padding-top: var(--card-pad);
        padding-bottom: var(--card-pad);
    }

    .faq-item p {
        padding-bottom: var(--card-pad);
        padding-top: 0;
    }

    .program-table th,
    .program-table td {
        padding: 0.85rem var(--card-pad);
    }

    .cta-banner {
        padding: var(--section-pad-y) 0;
    }

    .site-footer {
        padding: var(--section-pad-y) 0 var(--card-pad);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        max-width: 100%;
        font-size: 16px;
        min-height: 48px;
    }

    .footer-grid {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .layer-castle,
    .layer-bridge,
    .layer-runner { display: none; }

    .carousel-main {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .carousel-arrow {
        display: none;
    }

    .carousel-viewport {
        touch-action: pan-y;
        width: 100%;
    }

    .gallery-lightbox {
        padding: var(--section-pad-y) var(--page-gutter);
    }

    .gallery-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .gallery-lightbox-prev { left: 0.5rem; }
    .gallery-lightbox-next { right: 0.5rem; }

    .card-distance { font-size: 3rem; }

    .participation-info {
        margin-top: 2rem;
    }

    .participation-info h3 {
        font-size: 1.5rem;
    }

    .timeline-item {
        margin-left: 0.75rem;
        padding-left: 1.5rem;
        gap: 1rem;
    }

    .timeline-marker {
        width: 2rem;
        height: 2rem;
        left: -1.35rem;
        font-size: 0.75rem;
    }

    .highlight-box {
        margin-top: 1.5rem;
    }

    .highlight-box h3 {
        font-size: 1.5rem;
    }

    .gara-about-inner .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .checkbox-label {
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .hero-marquee-tagline {
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        padding: 0.4rem 0.85rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .stat-item:last-child { border-bottom: none; }

    .info-bar-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .info-bar-item {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .info-bar-item:last-child {
        border-bottom: none;
    }

    .page-title {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }

    .partners-grid {
        max-width: 100%;
    }

    .mobile-menu-panel {
        padding: var(--card-pad);
        padding-bottom: calc(var(--card-pad) + 0.25rem);
    }
}
