@media (max-width: 991.98px) {
  .site-social-bar { display: none; }
  .site-header { padding: .85rem 0; }
  .navbar-collapse { background: rgba(9,37,24,.98); border: 1px solid rgba(255,255,255,.12); border-radius: 1rem; box-shadow: var(--shadow-lg); margin-top: .85rem; padding: .7rem; }
  .navbar-nav { align-items: stretch !important; gap: .1rem; }
  .navbar .nav-link { padding: .72rem .8rem; }
  .nav-cta { margin: .5rem 0 .15rem; }
  .nav-cta .btn { width: 100%; }
  .hero-section { padding: 8.5rem 0 5.25rem; }
  .event-card { margin: 0; max-width: 410px; }
  .scroll-cue { display: none; }
  .countdown-wrap { grid-template-columns: 1fr 1.6fr; }
  .countdown-register { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 767.98px) {
  .gtr-back-to-top { bottom: 1rem; right: 1rem; }
  .gtr-whatsapp-chat { bottom: 1rem; padding: .72rem; right: 1rem; }.gtr-whatsapp-chat span { display: none; }.gtr-back-to-top.is-visible { bottom: 4.5rem; }
  .hero-section { align-items: flex-start; min-height: auto; padding-top: 7.5rem; }
  .hero-background { background-image: linear-gradient(180deg, rgba(6,31,19,.89), rgba(7,35,21,.88)), url("https://images.unsplash.com/photo-1551632811-561732d1e306?auto=format&fit=crop&w=1400&q=82"); }
  .hero-media-item::after { background: linear-gradient(180deg, rgba(6,31,19,.89), rgba(7,35,21,.88)); }
  .hero-media-indicators { bottom: 1rem; margin-right: 1rem; }
  .topographic-lines { right: -440px; top: 295px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: .8rem; margin-top: 2.8rem; }
  .hero-stat strong { font-size: 1.32rem; }
  .hero-stat > span { font-size: .55rem; }
  .event-card { margin-top: .2rem; padding: 1.25rem; }
  .event-card h2 { margin: 2rem 0; }
  .countdown-wrap { grid-template-columns: 1fr; }
  .countdown-clock { max-width: 450px; width: 100%; }
  .countdown-register { width: 100%; }
  .race-card { min-height: 380px; }
  .about-image { min-height: 370px; }
  .destination-image { min-height: 410px; }
  .course-preview { grid-template-columns: 1fr; }
  .course-map-visual { min-height: 360px; }
  .registration-section { min-height: 0; }
  .partner-logos { grid-template-columns: repeat(3, 1fr); }
  .partner-logos span:nth-child(3) { border-right: 0; }
  .partner-logos span:nth-child(-n+3) { border-bottom: 1px solid rgba(23,32,25,.12); }
  .footer-top { padding-bottom: 2.8rem; }
  .gallery-tile { min-height: 360px; }.gallery-tile-small { min-height: 250px; }
  .route-map-large { min-height: 360px; }
  .registration-assurance .container { grid-template-columns: 1fr; }.registration-assurance .container > div { border-bottom: 1px solid rgba(255,255,255,.18); border-right: 0; padding: 0 0 1rem; }.registration-assurance .container > div:last-child { border-bottom: 0; padding-bottom: 0; }
}

@media (max-width: 399.98px) {
  .brand-copy strong { font-size: .92rem; }
  .brand-copy small { font-size: .48rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: .8rem; }
  .partner-logos { grid-template-columns: repeat(2, 1fr); }
  .partner-logos span { height: 80px; }.partner-logos span:nth-child(3) { border-right: 1px solid rgba(23,32,25,.12); }.partner-logos span:nth-child(even) { border-right: 0; }.partner-logos span:nth-child(-n+3) { border-bottom: 1px solid rgba(23,32,25,.12); }.partner-logos span:last-child { border-right: 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .5rem; }
}
