/* ========================================
   Custom Properties
======================================== */
:root {
    --color-bg: #FDFAF6;
    --color-bg-alt: #F5F0E8;
    --color-bg-dark: #1A1612;
    --color-bg-dark-alt: #252017;
    --color-text: #2C2418;
    --color-text-light: #6B5E4F;
    --color-text-inv: #FAF7F2;
    --color-text-inv-muted: #B8AE9E;
    --color-accent: #C8432B;
    --color-accent-hover: #A83521;
    --color-accent-light: #F2D9D3;
    --color-warm: #D4883A;
    --color-warm-light: #FBF0E0;
    --color-teal: #2A7A6B;
    --color-teal-light: #DFF0EC;
    --color-border: #E2D9CC;
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'DM Serif Display', serif;
    --max-width: 1140px;
    --section-pad: 100px;
    --section-pad-mobile: 60px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-accent-hover);
}

/* ========================================
     Typography
  ======================================== */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
}

/* ========================================
     Layout
  ======================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-pad) 0;
}

@media (max-width: 768px) {
    section {
        padding: var(--section-pad-mobile) 0;
    }
}

/* Section background variants */
.section-alt {
    background: var(--color-bg-alt);
}

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-inv);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-text-inv);
}

/* Section header elements */
.section-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
    display: block;
}

.section-dark .section-label {
    color: var(--color-warm);
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 20px;
}

.section-intro {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 640px;
    line-height: 1.7;
}

.section-dark .section-intro {
    color: var(--color-text-inv-muted);
}

/* ========================================
     Buttons
  ======================================== */
.btn-register {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}

.btn-register:hover {
    background: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--color-accent);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--color-accent);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--color-accent);
    color: #fff;
}

/* ========================================
     Header
  ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 72px;
    display: flex;
    align-items: center;
    background: rgba(26, 22, 18, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

/* Desktop nav */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-desktop a {
    color: var(--color-text-inv-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--color-text-inv);
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile nav toggle button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-inv);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile nav overlay */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(26, 22, 18, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 80px 32px 32px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    color: var(--color-text-inv);
    font-size: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-nav a:hover {
    color: var(--color-warm);
}

.mobile-nav .btn-register {
    margin-top: 20px;
    text-align: center;
    justify-content: center;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--color-text-inv);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

/* Responsive breakpoint */
@media (max-width: 900px) {
    .nav-desktop {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .header-register {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 32px;
    }
}

/* ========================================
   Hero
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: url('/assets/img/bg-1.webp') center center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(26, 22, 18, 0.75) 0%,
            rgba(26, 22, 18, 0.55) 50%,
            rgba(26, 22, 18, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-warm);
    background: rgba(212, 136, 58, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.hero .hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(20px, 3.5vw, 32px);
    color: var(--color-warm);
    font-style: italic;
    margin-bottom: 28px;
}

.hero .hero-date {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin-bottom: 8px;
}

.hero .hero-location {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 36px;
}

.hero .btn-register {
    font-size: 16px;
    padding: 14px 36px;
}

/* ========================================
   About
======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 16px;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-body .section-label {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 36px);
    letter-spacing: normal;
    text-transform: none;
    color: var(--color-text);
    margin-bottom: 4px;
}

.about-body .section-title {
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 16px;
}

.about-intro {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-body p {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 12px;
    line-height: 1.7;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.info-card {
    background: var(--color-bg);
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.info-card .info-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.info-card .info-value {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--color-text);
}

.info-card .info-sub {
    font-size: 13px;
    color: var(--color-text-light);
    margin-top: 2px;
}

.info-feenote {
    font-size: 10px;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 6px;
    opacity: 0.75;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Our Cause
======================================== */
.cause-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0;
}

.cause-point {
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.cause-point .cause-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.cause-icon-funds {
    background: rgba(212, 136, 58, 0.15);
    color: var(--color-warm);
}

.cause-icon-community {
    background: rgba(42, 122, 107, 0.15);
    color: var(--color-teal);
}

.cause-icon-running {
    background: rgba(200, 67, 43, 0.15);
    color: var(--color-accent);
}

.cause-point h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.cause-point p {
    font-size: 15px;
    color: var(--color-text-inv-muted);
    line-height: 1.65;
}

/* Divider */
.cause-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 48px 0;
}

/* Subtitle used within cause section */
.cause-subtitle {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 12px;
}

/* Partners */
.partners-grid {
    columns: 2;
    column-gap: 32px;
    margin-top: 32px;
}

.partner-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 32px;
    transition: border-color 0.2s;
    break-inside: avoid;
    margin-bottom: 24px;
}

.partner-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.partner-card h4 {
    font-size: 22px;
    margin-bottom: 16px;
}

.partner-card p {
    font-size: 15px;
    color: var(--color-text-inv-muted);
    line-height: 1.65;
    margin-bottom: 12px;
}

.partner-card ul {
    list-style: none;
    margin: 0 0 12px 0;
    padding: 0;
}

.partner-card ul li {
    font-size: 15px;
    color: var(--color-text-inv-muted);
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.65;
}

.partner-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-warm);
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-warm);
    font-weight: 600;
    font-size: 14px;
    margin-top: 4px;
}

.partner-link:hover {
    color: #e9a44f;
}

/* Why running sub-section */
.why-running-block {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.why-running-text {
    font-size: 16px;
    color: var(--color-text-inv-muted);
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 20px;
}

.articles-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 8px;
    color: var(--color-text-inv);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    text-decoration: none;
}

.article-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-inv);
}

.connect-links {
    margin-top: 32px;
}

.connect-text {
    font-size: 15px;
    color: var(--color-text-inv-muted);
    margin-bottom: 12px;
}

/* Mobile */
@media (max-width: 768px) {
    .cause-points {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        columns: 1;
    }

    .articles-list {
        flex-direction: column;
    }
}

/* ========================================
   Event Details
======================================== */
.details-grid-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.details-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.detail-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px;
    transition: box-shadow 0.2s;
}

.detail-card:hover {
    box-shadow: 0 4px 24px rgba(44, 36, 24, 0.06);
}

.detail-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.dci-categories {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.dci-time {
    background: var(--color-warm-light);
    color: var(--color-warm);
}

.dci-bib {
    background: var(--color-teal-light);
    color: var(--color-teal);
}

.dci-venue {
    background: #E8E0F0;
    color: #6B4F8A;
}

.dci-included {
    background: #DDEEF8;
    color: #2D6A8E;
}

.dci-fee {
    background: #FCE8E8;
    color: #A83535;
}

.detail-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.detail-card p {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 8px;
    line-height: 1.6;
}

.detail-card ul {
    list-style: none;
    margin-top: 8px;
}

.detail-card ul li {
    font-size: 15px;
    color: var(--color-text-light);
    padding: 5px 0 5px 20px;
    position: relative;
    line-height: 1.6;
}

.detail-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-border);
}

.category-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.category-badge {
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 15px;
}

.venue-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
}

.bib-note {
    margin-top: 12px;
    padding: 10px 14px;
    background: var(--color-warm-light);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #8B5E1A;
}

.fee-amount {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--color-text);
    margin-bottom: 8px;
}

.fee-note {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-style: italic;
    opacity: 0.75;
}

.detail-register {
    margin-top: 8px;
}

@media (max-width: 768px) {

    .details-grid-top,
    .details-grid-bottom {
        grid-template-columns: 1fr;
    }
}

.detail-card-icon i {
    font-size: 24px;
    line-height: 1;
}

.detail-card .fee-note {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-style: italic;
    opacity: 0.75;
}

/* ========================================
   Route Maps
======================================== */
.route-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.route-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}

.route-card:hover {
    box-shadow: 0 4px 24px rgba(44, 36, 24, 0.08);
    transform: translateY(-2px);
}


.route-card .route-label {
    padding: 16px;
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--color-text);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: pointer;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

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

@media (max-width: 480px) {
    .route-grid {
        grid-template-columns: 1fr;
    }
}

.route-card-image {
    cursor: pointer;
    overflow: hidden;
  }
  
  .route-card-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .route-card-image:hover img {
    transform: scale(1.05);
  }
  
  .route-link {
    display: block;
    text-align: center;
    padding: 8px 16px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
  }
  
  .route-link:hover {
    color: var(--color-accent-hover);
  }

/* ========================================
   Gallery
======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
    margin-top: 48px;
}

.gallery-grid .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-grid .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-auto-rows: 150px;
    }
}

/* ========================================
   Transparency / Budget
======================================== */
.budget-tabs {
    display: flex;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 32px;
}

.budget-tab {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--color-text-inv-muted);
}

.budget-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-inv);
}

.budget-tab.active {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.budget-panel {
    display: none;
}

.budget-panel.active {
    display: block;
}

.budget-heading {
    font-size: clamp(20px, 2.5vw, 26px);
    color: var(--color-text-inv);
    margin-bottom: 24px;
}

.budget-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.budget-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.budget-table thead tr:first-child th {
    text-align: center;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text-inv);
    padding: 16px 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.budget-table thead tr:nth-child(2) th {
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-inv-muted);
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.budget-table tbody td {
    padding: 12px 20px;
    color: var(--color-text-inv-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.budget-table .amount {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.budget-table tfoot .totals-row td {
    padding: 16px 20px;
    font-weight: 700;
    color: var(--color-text-inv);
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    border-bottom: none;
}

.budget-table tfoot .funds-row td {
    padding: 14px 20px;
    font-weight: 700;
    color: var(--color-warm);
    background: rgba(212, 136, 58, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 600px) {
    .budget-table {
        font-size: 13px;
    }

    .budget-table thead tr:first-child th {
        font-size: 15px;
        padding: 12px 12px;
    }

    .budget-table thead tr:nth-child(2) th,
    .budget-table tbody td,
    .budget-table tfoot td {
        padding: 10px 12px;
    }
}

/* ========================================
   FAQ
======================================== */
.faq-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.faq-group-title {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 0;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-text-light);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 18px;
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .faq-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ========================================
     CTA
  ======================================== */
.cta-section {
    background: url('/assets/img/bg-4.webp') center center / cover no-repeat;
    position: relative;
    padding: 100px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 22, 18, 0.82);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(28px, 4vw, 42px);
    color: #fff;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-register {
    font-size: 16px;
    padding: 14px 36px;
}

.btn-outline-inv {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-inv:hover {
    background: #fff;
    color: var(--color-text);
    border-color: #fff;
}

/* ========================================
     Footer
  ======================================== */
.site-footer {
    background: var(--color-bg-dark);
    color: var(--color-text-inv-muted);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 16px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-inv-muted);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-inv);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--color-text-inv-muted);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-warm);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--color-text-inv-muted);
}

.footer-contact a:hover {
    color: var(--color-warm);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-inv-muted);
    font-size: 18px;
    transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
    background: var(--color-accent);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-inv-muted);
}

.tc-link {
    background: none;
    border: none;
    color: var(--color-text-inv-muted);
    font-size: 13px;
    cursor: pointer;
    font-family: var(--font-body);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tc-link:hover {
    color: var(--color-warm);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ========================================
     Modal (Terms & Conditions)
  ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    background: var(--color-bg);
    border-radius: 16px;
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background: var(--color-bg);
    border-radius: 16px 16px 0 0;
}

.modal-header h3 {
    font-size: 22px;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-text-light);
    line-height: 1;
}

.modal-body {
    padding: 24px 32px 32px;
}

.modal-intro {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
}

.modal-body p {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.modal-body h4 {
    font-size: 18px;
    margin: 24px 0 12px;
}

.modal-body ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.modal-body ol li {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 10px;
    line-height: 1.65;
}

/* Scroll offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

/* ========================================
   Back to top
======================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-accent-hover);
}

/* Connect icons */
.connect-icons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

/* Connect pills */
.connect-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.connect-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-text-inv);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.connect-pill i {
    font-size: 20px;
    color: var(--color-warm);
}

.connect-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-text-inv);
}

.connect-pill i.bx-globe {
    color: var(--color-warm);
}

.connect-pill i.bxl-facebook {
    color: #1877F2;
}

.connect-pill i.bxl-instagram {
    color: #E4405F;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s, color 0.2s;
}

.footer-social a .bxl-facebook {
    color: #1877F2;
}

.footer-social a .bxl-instagram {
    color: #E4405F;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.route-card:hover .route-external {
    opacity: 1;
}

a.route-card {
    text-decoration: none;
    color: inherit;
}