/* ==========================================================
   Tanzania Cycling Challenge — Premium Homepage Stylesheet
   Safari + Cycling Aesthetic · Production-Ready
   ========================================================== */

/* ====== CSS VARIABLES ====== */
:root {
  --deep-green:  #0d3b1f;
  --green-mid:   #1a6b3c;
  --green-light: #e8f5e9;
  --gold:        #f7941d;
  --gold-light:  #fdb94d;
  --gold-glow:   rgba(247,148,29,.25);
  --earth-brown: #6b4226;
  --earth-tan:   #d4a76a;
  --sand:        #f5efe6;
  --dark:        #0f0f0f;
  --dark-card:   #1a1a1a;
  --off-white:   #fafaf7;
  --text:        #3a3a3a;
  --text-muted:  #777;
  --white:       #fff;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 8px 30px rgba(0,0,0,.08);
  --shadow-lg:   0 16px 48px rgba(0,0,0,.14);
  --transition:  .35s cubic-bezier(.4,0,.2,1);
  --header-h:    70px;
  --font-body:   'Poppins', sans-serif;
  --font-head:   'Montserrat', sans-serif;
}

/* ====== BASE ====== */
.hp-body {
  background: var(--off-white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ====== GEOMETRIC BACKGROUND (subtle, fixed) ====== */
.geo-bg {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.geo-bg .wheel {
  position: absolute; border: 2px solid rgba(13,59,31,.035); border-radius: 50%;
}
.geo-bg .wheel-1 { width: 500px; height: 500px; top: -100px; right: -140px; }
.geo-bg .wheel-2 { width: 320px; height: 320px; bottom: 15%; left: -110px; }
.geo-bg .wheel-3 { width: 220px; height: 220px; top: 55%; right: 8%; }
.geo-bg .spoke {
  position: absolute; top: 50%; left: 50%;
  width: 50%; height: 1px; background: rgba(13,59,31,.025);
  transform-origin: left center;
}
.geo-bg .road-curve {
  position: absolute; bottom: -50px; left: -5%; width: 110%;
  height: 140px; border-top: 2px solid rgba(247,148,29,.05);
  border-radius: 50%/100% 100% 0 0;
}
.geo-bg .circle-motion {
  position: absolute; border: 1.5px dashed rgba(107,66,38,.04);
  border-radius: 50%; animation: geo-spin 50s linear infinite;
}
.geo-bg .cm-1 { width: 650px; height: 650px; top: 28%; left: 50%; transform: translateX(-50%); }
.geo-bg .cm-2 { width: 380px; height: 380px; top: 8%; left: 18%; animation-direction: reverse; animation-duration: 65s; }
@keyframes geo-spin { to { transform: rotate(360deg); } }

/* ============================================================
   HEADER + OFFCANVAS MOBILE NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1100;
  padding: 0 28px; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.site-header.solid {
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.site-header .logo img { height: 44px; width: auto; }

/* Desktop nav */
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: .5px;
  color: rgba(255,255,255,.85); text-decoration: none;
  padding: 8px 14px; border-radius: 6px; transition: var(--transition);
  position: relative;
}
.site-header.scrolled .site-nav a { color: var(--text); }
.site-header.solid .site-nav a { color: var(--text); }
.site-nav a:hover,
.site-nav a.active { color: var(--gold); }
.site-nav a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px;
  background: var(--gold); transition: width .3s, left .3s;
}
.site-nav a:hover::after,
.site-nav a.active::after { width: 60%; left: 20%; }

/* CTA button in nav */
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 22px; background: var(--gold); color: var(--white) !important;
  border-radius: 50px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; text-decoration: none;
  transition: var(--transition); border: none; cursor: pointer;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 20px var(--gold-glow); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  width: 32px; height: 32px; background: none; border: none;
  cursor: pointer; padding: 0; z-index: 1200;
}
.hamburger span {
  display: block; width: 26px; height: 2.5px; border-radius: 2px;
  background: var(--white); transition: var(--transition);
  margin: 3px 0;
}
.site-header.scrolled .hamburger span { background: var(--dark); }
.site-header.solid .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Offcanvas */
.offcanvas-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1050;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.offcanvas-overlay.show { opacity: 1; pointer-events: auto; }

.offcanvas-menu {
  position: fixed; top: 0; right: -320px; width: 300px; max-width: 85vw;
  height: 100vh; background: var(--dark); z-index: 1150;
  padding: 80px 30px 30px; overflow-y: auto;
  transition: right .4s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; gap: 4px;
}
.offcanvas-menu.open { right: 0; }
.offcanvas-menu a {
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: rgba(255,255,255,.7); text-decoration: none;
  padding: 14px 16px; border-radius: var(--radius-sm);
  transition: var(--transition); display: block;
}
.offcanvas-menu a:hover,
.offcanvas-menu a.active { color: var(--gold); background: rgba(255,255,255,.05); }
.offcanvas-menu .nav-cta {
  margin-top: 16px; text-align: center; justify-content: center;
  padding: 14px 22px; font-size: 14px;
}

@media (max-width: 991px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 992px) {
  .offcanvas-menu, .offcanvas-overlay { display: none !important; }
}

/* ============================================================
   HERO SECTION — VIDEO BACKGROUND
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  overflow: hidden; padding-top: var(--header-h);
  background: var(--dark);
}

/* Video */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}

/* Dark overlay */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(13,59,31,.35) 0%, rgba(0,0,0,.30) 50%, rgba(15,15,15,.40) 100%);
}

/* Subtle animated elements on top of overlay */
.hero-anim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
}
.hero-anim .road-line {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(247,148,29,.35) 0, rgba(247,148,29,.35) 40px, transparent 40px, transparent 80px);
  animation: roadScroll 3s linear infinite;
}
@keyframes roadScroll { to { background-position: -80px 0; } }
.hero-anim .road-line::before {
  content: ''; position: absolute; bottom: 4px; left: 0; width: 100%; height: 50px;
  background: linear-gradient(to top, rgba(0,0,0,.25), transparent);
}
.hero-anim .geo-circle {
  position: absolute; border: 1.5px solid rgba(255,255,255,.04); border-radius: 50%;
  animation: geo-spin 25s linear infinite;
}
.hero-anim .gc-1 { width: 400px; height: 400px; top: -80px; right: -80px; }
.hero-anim .gc-2 { width: 280px; height: 280px; bottom: 10%; left: -60px; animation-direction: reverse; animation-duration: 35s; }
.hero-anim .curve-path {
  position: absolute; bottom: 60px; left: 0; width: 120%; height: 180px;
  border-top: 1.5px solid rgba(255,255,255,.04);
  border-radius: 50%/100% 100% 0 0; transform: translateX(-10%);
}

/* Cyclist silhouette */
.hero-anim .cyclist-sil {
  position: absolute; bottom: 20px; font-size: 60px; opacity: .06;
  animation: cyclist-ride 22s linear infinite;
}
@keyframes cyclist-ride {
  0%   { left: -100px; }
  100% { left: calc(100% + 100px); }
}

/* Mobile video fallback */
.hero-fallback {
  display: none; position: absolute; inset: 0; z-index: 0;
  background: url('../img/about-mission.webp') center/cover no-repeat;
}
@media (max-width: 768px) {
  .hero-video { display: none; }
  .hero-fallback { display: block; }
}

/* Hero content */
.hero-content {
  position: relative; z-index: 5; max-width: 820px; padding: 0 24px;
}
.hero-label {
  display: inline-block; font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); font-weight: 600;
  margin-bottom: 16px; opacity: 0; animation: fadeSlideUp .8s .3s forwards;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(15, 15, 15, .34); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4.2rem); color: var(--white);
  line-height: 1.12; margin-bottom: 18px; letter-spacing: -.5px;
  opacity: 0; animation: fadeSlideUp .8s .5s forwards;
}
.hero h1 .accent { color: var(--gold); }
.hero .hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,.72);
  max-width: 580px; margin: 0 auto 32px; line-height: 1.7; font-weight: 300;
  opacity: 0; animation: fadeSlideUp .8s .7s forwards;
}
.hero .btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 40px; background: var(--gold); color: var(--white);
  font-weight: 700; font-size: 15px; border-radius: 50px;
  text-decoration: none; letter-spacing: .3px; transition: var(--transition);
  opacity: 0; animation: fadeSlideUp .8s .9s forwards;
}
.hero .btn-hero:hover {
  background: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 14px 40px var(--gold-glow);
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   COMMON SECTION STYLES
   ============================================================ */
.hp-section { position: relative; z-index: 1; padding: 100px 0; }
.hp-section-header { text-align: center; margin-bottom: 56px; }
.hp-section-header .label {
  display: inline-block; font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); font-weight: 700;
  margin-bottom: 10px;
}
.hp-section-header h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--deep-green);
  margin-bottom: 12px;
}
.hp-section-header p {
  font-size: 15px; color: var(--text-muted); max-width: 600px;
  margin: 0 auto; line-height: 1.7;
}

/* ============================================================
   STATS CARDS
   ============================================================ */
.stats-section { background: var(--white); padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.stat-card {
  background: var(--off-white); border-radius: var(--radius); padding: 34px 20px;
  text-align: center; transition: var(--transition); position: relative;
  overflow: hidden; border: 1px solid rgba(13,59,31,.05);
}
.stat-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stat-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 22px; transition: var(--transition);
}
.stat-card:hover .stat-icon { transform: scale(1.1); }
.stat-icon.green  { background: rgba(13,59,31,.07); color: var(--deep-green); }
.stat-icon.gold   { background: rgba(247,148,29,.1); color: var(--gold); }
.stat-icon.brown  { background: rgba(107,66,38,.07); color: var(--earth-brown); }
.stat-icon.dark   { background: rgba(15,15,15,.06); color: var(--dark); }
.stat-value {
  font-family: var(--font-head); font-size: 30px; font-weight: 800;
  color: var(--deep-green); margin-bottom: 2px;
}
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
@media (max-width: 991px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-card { padding: 24px 14px; } .stat-value { font-size: 24px; } }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-img-wrap img { width: 100%; display: block; border-radius: var(--radius); }
.about-img-wrap .accent-bar {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--deep-green));
}
.about-text h3 {
  font-family: var(--font-head); font-weight: 700;
  font-size: 26px; color: var(--deep-green); margin-bottom: 14px;
}
.about-text p { text-align: justify; line-height: 1.8; font-size: 15px; color: var(--text); }
.btn-outline-green {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 28px; border: 2px solid var(--deep-green);
  color: var(--deep-green); border-radius: 50px; font-weight: 600;
  font-size: 13px; text-decoration: none; transition: var(--transition);
}
.btn-outline-green:hover { background: var(--deep-green); color: var(--white); }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-section { background: var(--white); }
.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 48px; }
.timeline::before {
  content: ''; position: absolute; left: 22px; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(to bottom, var(--gold), var(--deep-green));
  border-radius: 2px;
}
.timeline-item {
  position: relative; margin-bottom: 36px; padding-left: 38px;
  opacity: 0; transform: translateX(-20px);
  transition: opacity .6s, transform .6s;
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-dot {
  position: absolute; left: -36px; top: 4px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; z-index: 2;
  box-shadow: 0 0 0 5px rgba(247,148,29,.15);
}
.timeline-date {
  font-size: 12px; color: var(--gold); font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px;
}
.timeline-card {
  background: var(--off-white); border-radius: var(--radius);
  padding: 22px 26px; border: 1px solid rgba(13,59,31,.05);
  transition: var(--transition);
}
.timeline-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.timeline-card h4 {
  font-family: var(--font-head); font-weight: 700;
  font-size: 17px; color: var(--deep-green); margin-bottom: 6px;
}
.timeline-card h4 i { color: var(--gold); margin-right: 8px; }
.timeline-card p { font-size: 14px; line-height: 1.7; color: var(--text-muted); margin: 0; }
.timeline-card ul { list-style: none; padding: 0; margin: 8px 0 0; }
.timeline-card ul li {
  padding: 3px 0 3px 18px; position: relative;
  font-size: 14px; color: var(--text-muted);
}
.timeline-card ul li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.timeline-card.race-day {
  border-color: rgba(247,148,29,.2);
  background: linear-gradient(135deg, #fff8ef, var(--off-white));
}

/* ============================================================
   ADD-ONS
   ============================================================ */
.addons-section { background: var(--off-white); }
.addon-card {
  display: grid; grid-template-columns: 300px 1fr;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  margin-bottom: 24px; border: 1px solid rgba(0,0,0,.04);
  transition: var(--transition);
}
.addon-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.addon-card img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.addon-body { padding: 28px 30px; }
.addon-body h3 {
  font-family: var(--font-head); font-weight: 700;
  font-size: 20px; color: var(--deep-green); margin-bottom: 10px;
}
.addon-body p { font-size: 14px; line-height: 1.7; color: var(--text-muted); text-align: left; }
.addon-desc-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.addon-body ul { padding: 0; list-style: none; margin: 12px 0; }
.addon-body ul li {
  padding: 3px 0 3px 20px; position: relative;
  font-size: 13px; color: var(--text);
}
.addon-body ul li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 5px; color: var(--green-mid); font-size: 11px;
}
.btn-dark-green {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; background: var(--deep-green); color: var(--white);
  border-radius: 50px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: var(--transition);
}
.btn-dark-green:hover { background: var(--green-mid); }
@media (max-width: 768px) {
  .addon-card { grid-template-columns: 1fr; }
  .addon-card img { max-height: 220px; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--deep-green) 0%, #0a4420 60%, #072712 100%);
  color: var(--white); text-align: center; padding: 90px 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200'%3E%3Cg fill='rgba(255,255,255,0.04)'%3E%3Cpath d='M80 170c0-16.6 13.4-30 30-30s30 13.4 30 30-13.4 30-30 30-30-13.4-30-30zm70 0c0-16.6 13.4-30 30-30s30 13.4 30 30-13.4 30-30 30-30-13.4-30-30zm-35-28l-8-40h16l5 25 7-25h12l7 25 5-25h16l-8 40h-14l-7-26-7 26h-14zm-12-5l28-55h8l-28 55h-8z'/%3E%3Cpath d='M380 170c0-16.6 13.4-30 30-30s30 13.4 30 30-13.4 30-30 30-30-13.4-30-30zm70 0c0-16.6 13.4-30 30-30s30 13.4 30 30-13.4 30-30 30-30-13.4-30-30zm-35-28l-8-40h16l5 25 7-25h12l7 25 5-25h16l-8 40h-14l-7-26-7 26h-14zm-20-5l28-55h8l-28 55h-8z' transform='translate(50,-10) scale(0.85)'/%3E%3Cpath d='M700 170c0-16.6 13.4-30 30-30s30 13.4 30 30-13.4 30-30 30-30-13.4-30-30zm70 0c0-16.6 13.4-30 30-30s30 13.4 30 30-13.4 30-30 30-30-13.4-30-30zm-35-28l-8-40h16l5 25 7-25h12l7 25 5-25h16l-8 40h-14l-7-26-7 26h-14zm-15-5l28-55h8l-28 55h-8z' transform='translate(30,-15) scale(0.78)'/%3E%3Cpath d='M950 170c0-16.6 13.4-30 30-30s30 13.4 30 30-13.4 30-30 30-30-13.4-30-30zm70 0c0-16.6 13.4-30 30-30s30 13.4 30 30-13.4 30-30 30-30-13.4-30-30zm-35-28l-8-40h16l5 25 7-25h12l7 25 5-25h16l-8 40h-14l-7-26-7 26h-14z' transform='translate(20,-5) scale(0.9)'/%3E%3C/g%3E%3C/svg%3E") repeat-x bottom center / 1200px auto;
  pointer-events: none;
}
.cta-section::after {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  border: 2px solid rgba(255,255,255,.04); border-radius: 50%;
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.3rem); margin-bottom: 14px;
}
.cta-section p { font-size: 16px; opacity: .7; max-width: 520px; margin: 0 auto 28px; }
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 40px; background: var(--gold); color: var(--white);
  font-weight: 700; border-radius: 50px; text-decoration: none;
  transition: var(--transition); font-size: 15px;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 35px var(--gold-glow); }

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown-section { background: var(--white); padding: 80px 0; }
.countdown-grid { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cd-item {
  background: var(--off-white); border-radius: var(--radius); padding: 26px 18px;
  min-width: 115px; text-align: center; border: 1px solid rgba(13,59,31,.05);
  transition: var(--transition);
}
.cd-item:hover { box-shadow: var(--shadow); }
.cd-value {
  font-family: var(--font-head); font-size: 40px; font-weight: 800;
  color: var(--deep-green); line-height: 1;
}
.cd-label {
  font-size: 12px; color: var(--text-muted); margin-top: 6px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
}

/* ============================================================
   RECORDS
   ============================================================ */
.records-section {
  background: linear-gradient(135deg, var(--deep-green), #072712);
  color: var(--white); padding: 80px 0;
}
.records-section .hp-section-header h2 { color: var(--white); }
.records-section .hp-section-header .label { color: var(--gold); }
.records-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.record-item { text-align: center; }
.record-value {
  font-family: var(--font-head); font-size: 46px; font-weight: 800;
  color: var(--gold); margin-bottom: 4px;
}
.record-label { font-size: 14px; color: rgba(255,255,255,.55); }
@media (max-width: 768px) { .records-grid { grid-template-columns: repeat(2,1fr); gap: 28px; } }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { background: var(--off-white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; transition: var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item img {
  width: 100%; height: 240px; object-fit: cover; display: block;
  transition: transform .6s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity .35s;
}
.gallery-item:hover .ov { opacity: 1; }
.gallery-item .ov p { color: var(--white); font-size: 13px; margin: 0; line-height: 1.5; }
.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 28px; border: 2px solid var(--deep-green);
  color: var(--deep-green); font-weight: 600; font-size: 13px;
  border-radius: 50px; text-decoration: none; transition: var(--transition);
}
.btn-outline-dark:hover { background: var(--deep-green); color: var(--white); }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SPONSORS
   ============================================================ */
.sponsors-section { background: var(--white); padding: 70px 0; }

/* ── GRID MODE ── */
.sponsors-grid-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
  grid-auto-rows: 100px;
}
.sponsor-card-item {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--off-white);
  border: 1px solid rgba(13,59,31,.05);
  padding: 10px;
}
.sponsor-card-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.sponsors-grid-layout img {
  display: block;
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}
.sponsors-grid-layout img:hover { transform: scale(1.05); }

/* ── SLIDER MODE ── */
.sponsors-slider {
  --sponsor-gap: 20px;
  --sponsor-columns: 4;
  position: relative;
  padding: 0 60px;
}
.sponsors-slider-viewport {
  overflow: hidden;
  width: 100%;
}
.sponsors-track {
  display: flex;
  align-items: stretch;
  gap: var(--sponsor-gap);
  transition: transform .45s ease;
  will-change: transform;
}
.sponsor-slide-item {
  flex: 0 0 calc((100% - (var(--sponsor-columns) - 1) * var(--sponsor-gap)) / var(--sponsor-columns));
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--off-white);
  border: 1px solid rgba(13,59,31,.05);
  padding: 10px;
}
.sponsor-slide-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.sponsors-track img {
  display: block;
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}
.sponsors-track img:hover { transform: scale(1.05); }

/* ── SLIDER NAV ARROWS ── */
.sponsors-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--deep-green);
  background: var(--white);
  color: var(--deep-green);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.sponsors-nav-prev { left: 0; }
.sponsors-nav-next { right: 0; }
.sponsors-nav:hover {
  background: var(--deep-green);
  color: var(--white);
}
.sponsors-nav:disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .sponsors-slider { --sponsor-columns: 2; padding: 0 50px; }
  .hero-label { letter-spacing: 1.5px; padding: 8px 14px; }
}
@media (max-width: 480px) {
  .sponsors-slider { --sponsor-columns: 1; padding: 0 50px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-cards { display: grid; gap: 16px; align-content: start; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border-radius: var(--radius); padding: 20px 22px;
  border: 1px solid rgba(0,0,0,.04); transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); }
.contact-card .cc-icon {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; background: rgba(13,59,31,.06); color: var(--deep-green);
}
.contact-card h5 { font-size: 14px; font-weight: 700; margin: 0 0 3px; color: var(--deep-green); }
.contact-card p { font-size: 14px; color: var(--text-muted); margin: 0; }
.contact-card a { color: var(--gold); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.contact-form {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  border: 1px solid rgba(0,0,0,.04);
}
.contact-form-layout .form-group { margin-bottom: 20px; }
.contact-form-layout input,
.contact-form-layout textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
}
.contact-form-layout textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form-layout button {
  margin-top: 15px;
  padding: 12px 20px;
}
.contact-form .form-control {
  border-radius: var(--radius-sm); border: 1px solid #e0e0e0; padding: 12px 16px;
  font-size: 14px; transition: var(--transition);
}
.contact-form .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(247,148,29,.1); }
.btn-send {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px; background: var(--deep-green); color: var(--white);
  border: none; border-radius: 50px; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: var(--transition);
}
.btn-send:hover { background: var(--green-mid); }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section-hp { background: var(--white); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(0,0,0,.05); border-radius: 10px;
  margin-bottom: 10px; overflow: hidden; transition: var(--transition);
}
.faq-item:hover { border-color: rgba(247,148,29,.12); }
.faq-q {
  padding: 16px 22px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 15px; color: var(--deep-green);
  background: var(--off-white); transition: background .3s; user-select: none;
}
.faq-q:hover { background: #f0ede6; }
.faq-q i { font-size: 11px; transition: transform .3s; color: var(--gold); flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  padding: 0 22px; font-size: 14px; line-height: 1.8; color: var(--text-muted);
}
.faq-item.open .faq-a { max-height: 400px; padding: 14px 22px 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.hp-footer {
  background: var(--dark); color: rgba(255,255,255,.55);
  padding: 60px 0 0; position: relative; z-index: 1;
}
.hp-footer h4 {
  color: var(--white); font-family: var(--font-head);
  font-size: 15px; font-weight: 700; margin-bottom: 18px;
}
.hp-footer p { font-size: 14px; line-height: 1.7; text-align: left; }
.hp-footer a { color: var(--gold); text-decoration: none; }
.hp-footer a:hover { color: var(--gold-light); }
.hp-footer ul { list-style: none; padding: 0; margin: 0; }
.hp-footer ul li { margin-bottom: 8px; }
.hp-footer ul li a { color: rgba(255,255,255,.45); font-size: 14px; transition: color .2s; }
.hp-footer ul li a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); transition: var(--transition); font-size: 15px;
}
.footer-social a:hover {
  background: var(--gold); color: var(--white); border-color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
  margin-top: 40px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { color: var(--gold-light); }

@media (max-width: 768px) {
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left {
  opacity: 0; transform: translateX(-28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right {
  opacity: 0; transform: translateX(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.btt {
  position: fixed; bottom: 24px; right: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; z-index: 999; text-decoration: none;
  opacity: 0; pointer-events: none; transition: var(--transition);
  box-shadow: 0 4px 16px var(--gold-glow);
}
.btt.show { opacity: 1; pointer-events: auto; }
.btt:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ============================================================
   UTILITY
   ============================================================ */
.text-gold { color: var(--gold) !important; }
.text-deep-green { color: var(--deep-green) !important; }
.mt-6 { margin-top: 4rem; }
