/* =============================================================
   Sekhon Half Marathon — Eastern Air Command Edition
   Main stylesheet
   Font: Plus Jakarta Sans  |  Colours & spacing pulled 1:1 from Figma
   ============================================================= */

/* ----------  Design tokens  ---------- */
:root {
  /* Brand navy scale */
  --navy-900: #0a2148;   /* darkest text / CTA badge bg */
  --navy-800: #0b2a5a;   /* section headings, card body */
  --navy-700: #012964;   /* nav active underline */
  --navy-680: #012a63;   /* register pill */
  --navy-600: #022a67;   /* countdown numbers */
  --navy-550: #003f98;   /* primary buttons / footer / banners */
  --blue-500: #1e5bb8;   /* accent (labels, highlighted words) */
  --blue-brand: #008edb; /* active faq border */
  --blue-ring: #0760c5;  /* icon circle border */
  --blue-loc: #156ac9;

  /* Support colours */
  --orange: #e8792b;
  --green:  #1f8a4c;

  /* Text */
  --text-body: #3e4a63;
  --white: #ffffff;

  /* Surfaces & borders */
  --bg-soft: #f5f9fd;
  --bg-softer: #fdfdfd;
  --border-card: #dce6f2;
  --border-soft: #e7eef6;
  --border-line: #e6e9ea;

  /* Shadows */
  --shadow-card: 0 6px 18px -2px rgba(10, 33, 71, .08);
  --shadow-soft: 0 6px 18px -2px rgba(10, 33, 71, .07);
  --shadow-drop: 10px 25px 100px 0 rgba(0, 43, 107, .25);

  /* 4px spacing system */
  --s-4: 4px;   --s-8: 8px;   --s-12: 12px; --s-14: 14px; --s-16: 16px;
  --s-20: 20px; --s-24: 24px; --s-32: 32px; --s-36: 36px; --s-40: 40px;
  --s-44: 44px; --s-48: 48px; --s-50: 50px; --s-56: 56px; --s-64: 64px;
  --s-80: 80px; --s-96: 96px; --s-100: 100px;

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 16px;

  --content-max: 1192px;   /* Figma content width (1352 frame − 80×2 gutters) */
  --header-h: 96px;
}

/* ----------  Reset / base  ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--navy-800);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:focus-visible { outline: 3px solid rgba(30, 91, 184, .55); outline-offset: 2px; border-radius: 4px; }

/* ----------  Shared layout  ---------- */
.wrap { width: 100%; max-width: var(--content-max); margin-inline: auto; }
.section { padding: var(--s-80); position: relative; }
.text-center { text-align: center; }

/* ----------  Shared typography blocks  ---------- */
.section-title {
  font-weight: 800;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--navy-800);
}
.section-title .accent { color: var(--blue-500); }
.section-title.on-dark { color: var(--white); }

.section-lead {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-body);
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

/* Eyebrow label with side lines */
.eyebrow { display: flex; align-items: center; gap: var(--s-24); }
.eyebrow-center { justify-content: center; }
.eyebrow .line { width: 50px; height: 1px; background: var(--blue-500); flex: none; }
.eyebrow-text {
  font-weight: 700; font-size: 16px; letter-spacing: 2.24px;
  text-transform: uppercase; color: var(--blue-500); white-space: nowrap;
}
.eyebrow-light .line { background: var(--white); }
.eyebrow-light .eyebrow-text { color: var(--white); }

/* =============================================================
   HEADER / NAV
   ============================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
  margin-top: 30px;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(10, 33, 71, .10);
  height: 76px;
  margin-top:0px;
}
.nav-wrap {
  width: 100%; max-width: 1312px; margin-inline: auto;
  padding-inline: var(--s-40);
  display: flex; align-items: center; gap: var(--s-24);
}
.brand { flex: none; display: block; }
.brand img { width: 120px; height: 120px; object-fit: contain; transition: width .3s, height .3s; }
.site-header.scrolled .brand img { width: 64px; height: 64px; }

/* Eastern Air Command / IAF emblem — mirrors the brand logo on the right */
.brand-iaf { flex: none; display: block; }
.brand-iaf img { width: 120px; height: 132px; object-fit: contain; transition: width .3s, height .3s; }
.site-header.scrolled .brand-iaf img { width: 58px; height: 64px; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: var(--s-8); margin-bottom: 0px;}
.nav-link-item {
  font-weight: 500; font-size: 16px; color: #000;
  padding: var(--s-10, 10px) var(--s-10, 10px); padding: 10px;
  position: relative; white-space: nowrap; transition: color .2s;
}
.nav-link-item:hover { color: var(--blue-500); }
.nav-link-item.active { color: var(--navy-700); }
.nav-link-item.active::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px;
  height: 2px; background: var(--navy-700); border-radius: 2px;
}

.btn-register-pill {
  flex: none; display: inline-flex; align-items: center; gap: var(--s-10, 10px); gap: 10px;
  background: var(--navy-680); color: var(--white);
  font-weight: 500; font-size: 16px;
  padding: 7px 7px 7px 20px; border-radius: 100px;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-register-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(1, 42, 99, .35); }
.pill-arrow {
  width: 40px; height: 40px; border-radius: 100px; background: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
}
.pill-arrow img { width: 20px; height: 20px; }

/* Hamburger (hidden on desktop) */
.hamburger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.hamburger span { display: block; height: 3px; border-radius: 3px; background: var(--navy-700); transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile slide-in menu */
.mobile-menu {
  position: fixed; top: 0; right: 0; z-index: 1001;
  width: min(80vw, 340px); height: 100dvh;
  background: #fff; box-shadow: -10px 0 40px rgba(10, 33, 71, .18);
  transform: translateX(105%); transition: transform .4s cubic-bezier(.7, 0, .2, 1);
  padding: calc(var(--header-h) + 16px) var(--s-24) var(--s-24);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: var(--s-8); }
.mobile-menu .nav-link-item { font-size: 18px; padding: 12px 6px; display: block; }
.mobile-menu .nav-link-item.active { color: var(--navy-700); }
.mobile-menu .nav-link-item.active::after { display: none; }
.btn-register-pill.mobile { margin-top: var(--s-16); width: fit-content; }
.menu-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(4, 20, 48, .45);
  opacity: 0; visibility: hidden; transition: opacity .35s;
}
.menu-overlay.show { opacity: 1; visibility: visible; }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative; min-height: 810px;
  background: url("../images/hero-bg.jpg") center top / cover no-repeat;
  display: flex; align-items: flex-start;
  padding: 180px 44px 40px;
  overflow: hidden;
}
.hero-inner { width: 100%; max-width: 1264px; margin-inline: auto; }
.hero-content { display: flex; flex-direction: column; gap: var(--s-20); max-width: 620px; }
.hero-title { width: 547px; max-width: 100%; height: auto; }

/* Mobile-only hero element (top-left logo row) — shown via responsive.css */
.hero-logos-mobile { display: none; }

.hero-taglines { display: flex; flex-direction: column; gap: var(--s-20); }
.hero-tagline {
  font-weight: 600; font-style: italic; font-size: 24px; line-height: 33px;
  color:#fff;
}
.accent-bars { display: flex; gap: var(--s-8); }
.accent-bars .bar { width: 64px; height: 4px; border-radius: 2px; }
.bar-orange { background: var(--orange); }
.bar-green { background: var(--green); }
.bar-white { background: var(--white); }
.hero-subtag { font-weight: 600; font-style: italic; font-size: 18px; color:#fff; }

.hero-actions { display: flex; gap: var(--s-24); flex-wrap: wrap; margin-top: var(--s-12); }
.btn-primary-solid, .btn-primary-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-14);
  font-weight: 600; font-size: 20px; letter-spacing: .8px;
  padding: 14px 24px; border-radius: var(--radius-sm);
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn-primary-solid { background: var(--navy-550); color: var(--white); }
.btn-primary-solid:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 63, 152, .4); }
.btn-primary-solid .btn-ico-plane { width: 26px; height: 26px; }
.btn-primary-outline { background: var(--white); color: var(--navy-550); border: 1px solid var(--navy-550); }
.btn-primary-outline:hover { background: var(--navy-550); color: var(--white); }
.btn-primary-outline:hover .btn-ico-chev circle,
.btn-primary-outline:hover .btn-ico-chev path { stroke: #fff; }
.btn-ico-chev { transition: transform .3s; }
.btn-primary-outline:hover .btn-ico-chev { transform: translateY(3px); }

.hero-emblem { position: absolute; object-fit: contain; }
.emblem-iaf { left: 46%; top: 150px; width: 137px; height: 150px; }
.emblem-eac { left: 57%; top: 148px; width: 94px; height: 150px; }

/* =============================================================
   COUNTDOWN BAR
   ============================================================= */
.countdown-bar {
  background: url("../images/countdown-bg.png") center / cover no-repeat, #e8f1fb;
  padding: 24px;
}
.countdown-inner {
  max-width: var(--content-max); margin-inline: auto; padding-inline: var(--s-24);
  display: flex; align-items: center; justify-content: center; gap: var(--s-48); flex-wrap: wrap;
}
.count-blocks { flex: 1 1 0; min-width: 300px; display: flex; align-items: stretch; justify-content: center; gap: var(--s-32); }
.count-block { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; text-transform: uppercase; }
.count-num {
  font-weight: 800; font-size: 50px; line-height: 1; color: var(--navy-600);
  font-variant-numeric: tabular-nums;
}
.count-num.tick { animation: tick .4s ease; }
@keyframes tick {
  0% { transform: translateY(-40%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.count-label { font-weight: 700; font-size: 18px; color: var(--blue-500); margin-top: var(--s-4); }
.count-sep { width: 1px; align-self: stretch; background: rgba(0, 63, 152, .2); }

.event-facts {
  flex: none; width: 580px; max-width: 100%;
  background: #fff; border-radius: var(--radius-lg);
  display: flex; align-items: center; gap: var(--s-24);
  padding: 12px 14px; box-shadow: var(--shadow-card);
}
.fact { flex: 1 1 0; display: flex; align-items: center; gap: var(--s-14); }
.fact-ico { width: 32px; height: 32px; flex: none; object-fit: contain; }
.fact-title { font-weight: 800; font-size: 20px; color: var(--navy-800); text-transform: uppercase; line-height: 1.1; margin-bottom: 0px;}
.fact-sub { font-weight: 500; font-size: 14px; color: var(--navy-800); text-transform: uppercase; }
.fact-sep { width: 1px; height: 50px; background: rgba(0, 63, 152, .2); flex: none; }

/* =============================================================
   ABOUT — Every Step Is a Salute
   ============================================================= */
.about-grid { display: flex; align-items: center; gap: var(--s-100); }
.about-media { flex: 1 1 0; min-width: 0; }
.about-media img { width: 100%; height: auto; border-radius: 12px; aspect-ratio: 1085 / 1450; object-fit: cover; }
.about-copy { width: 636px; max-width: 100%; flex: none; display: flex; flex-direction: column; gap: var(--s-24); }
.about-copy .section-title { text-align: center; }
.about-text { display: flex; flex-direction: column; gap: var(--s-8); font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--text-body); }

/* =============================================================
   WHY GUWAHATI
   ============================================================= */
.why-guwahati { padding: 0; }
.why-guwahati .wrap { position: relative; z-index: 2; padding: var(--s-80); max-width: none; }
.why-guwahati {
  background: url("../images/guwahati-river.png") center / cover no-repeat;
  overflow: hidden;
}
.why-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(89.8deg, #002862 41%, rgba(0, 63, 152, 0) 99%);
}
.why-content { max-width: 660px; display: flex; flex-direction: column; gap: var(--s-14); }
.why-content .section-title { max-width: 652px; }
.why-text { display: flex; flex-direction: column; gap: var(--s-8); color: var(--white); font-size: 16px; line-height: 1.5; max-width: 600px; margin-top: var(--s-8); }

/* =============================================================
   EASTERN AIR COMMAND — Guardians
   ============================================================= */
.eac-section {
  background: url("../images/eac-bg.png") center / cover no-repeat, #fdfdfd;
}
.eac-section .eyebrow { justify-content: center; }
.eac-section .section-title { margin: var(--s-14) 0 var(--s-48); }
.eac-points { display: flex; gap: var(--s-44); }
.eac-card {
  flex: 1 1 0; min-width: 0; min-height: 278px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--blue-500); border-left: 10px solid var(--blue-500);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center; gap: var(--s-24);
  padding: var(--s-24) var(--s-44);
  transition: transform .3s, box-shadow .3s;
}
.eac-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10, 33, 71, .12); }
.eac-icon-circle {
  flex: none; width: 130px; height: 130px; border-radius: 100px;
  border: 1px solid var(--blue-ring);
  display: flex; align-items: center; justify-content: center;
}
.eac-icon-circle img { width: 70px; height: 64px; object-fit: contain; }
.eac-icon-jet { flex: none; width: 130px; height: 130px; }
.eac-card p { flex: 1 1 0; font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--text-body); }

/* =============================================================
   OUR MISSION — Beyond the Finish Line
   ============================================================= */
.mission-section { overflow: hidden; }
.mission-bg-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: url("../images/mission-bg.png") center / cover no-repeat;
  opacity: .15;
}
.mission-grid { position: relative; z-index: 1; display: flex; gap: var(--s-50); align-items: center; }
.mission-left { width: 636px; max-width: 100%; flex: none; display: flex; flex-direction: column; gap: var(--s-14); }
.mission-left .section-title { margin-bottom: var(--s-8); }
.mission-belief-1 { font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--text-body); }
.mission-belief-2 { font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--blue-500); }
.mission-points { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--s-16); }
.mission-points li {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 14px 18px; display: flex; align-items: center; gap: var(--s-14);
  font-weight: 500; font-size: 16px; line-height: 20px; color: var(--blue-500);
  transition: transform .25s, box-shadow .25s;
}
.mission-points li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-500);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9.55 17.6 4.9 12.95l1.4-1.4 3.25 3.25 8.15-8.15 1.4 1.4z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9.55 17.6 4.9 12.95l1.4-1.4 3.25 3.25 8.15-8.15 1.4 1.4z'/></svg>") center / contain no-repeat;
}
.mission-points li:hover { transform: translateX(6px); box-shadow: 0 12px 26px rgba(10, 33, 71, .12); }

/* =============================================================
   RUNNER KIT — Experience Excellence
   ============================================================= */
.kit-section { background: var(--bg-soft); padding: 64px 64px 56px; }
.kit-head { display: flex; flex-direction: column; align-items: center; gap: var(--s-14); margin-bottom: var(--s-36); }
.kit-head .section-title { margin: 0; }
.kit-grid { display: flex; flex-wrap: wrap; gap: var(--s-14); justify-content: center; }
.kit-card {
  width: 192px; flex: 0 0 192px;
  background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-14);
  padding: var(--s-14); min-height: 118px;
  transition: transform .3s, box-shadow .3s;
}
.kit-card img { width: 40px; height: 40px; object-fit: contain; transition: transform .3s; }
.kit-card p { font-weight: 500; font-size: 14px; text-align: center; color: var(--navy-900); }
.kit-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(10, 33, 71, .14); }
.kit-card:hover img { transform: scale(1.12); }

/* =============================================================
   PARTICIPANT GOODIE BAG & KIT
   ============================================================= */
.goodie-section { background: #fff; padding: 64px 64px 56px; }
.goodie-section .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--s-36); }
.goodie-head { display: flex; flex-direction: column; align-items: center; gap: var(--s-14); }
.goodie-head .section-title { margin: 0; }
.goodie-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-24); width: 100%; }

/* Card — same recipe as .race-cat-card */
.goodie-card {
  background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  box-shadow: 0 6px 9px rgba(10, 33, 71, .08);
  display: flex; flex-direction: column; gap: var(--s-14);
  padding: var(--s-14) var(--s-14) var(--s-24); text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.goodie-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(10, 33, 71, .14); }

/* Product visual tile */
.goodie-media {
  position: relative; height: 180px; margin-bottom: var(--s-8);
  background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.goodie-ring {
  width: 110px; height: 110px; border-radius: 50%;
  border: 1px solid var(--blue-ring); background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: center;
}
.goodie-ring img { width: 56px; height: 56px; object-fit: contain; transition: transform .3s; }
.goodie-card:hover .goodie-ring img { transform: scale(1.12); }
.goodie-tag {
  position: absolute; top: var(--s-12); left: var(--s-12);
  padding: 4px 12px; border-radius: 999px; background: var(--navy-550); color: #fff;
  font-weight: 700; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
}

.goodie-title { font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--navy-800); padding-inline: var(--s-8); }
.goodie-desc { font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--text-body); padding-inline: var(--s-8); }
.goodie-note { font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--text-body); text-align: center; }

/* =============================================================
   DISCOVER ASSAM
   ============================================================= */
.assam-section { overflow: hidden; }
.assam-bg-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: url("../images/assam-bg.png") center / cover no-repeat;
  opacity: .24;
}
.assam-section .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--s-64); }
.assam-top { display: flex; gap: var(--s-50); align-items: center; }
.assam-left { width: 636px; max-width: 100%; flex: none; display: flex; flex-direction: column; gap: var(--s-24); }
.assam-lead { font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--text-body); }
.assam-places { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-32); }
.place { display: flex; flex-direction: column; align-items: center; gap: var(--s-14); }
.place img { width: 100px; height: 100px; border-radius: 100px; object-fit: cover; transition: transform .35s, box-shadow .35s; }
.place:hover img { transform: scale(1.06); box-shadow: 0 12px 28px rgba(10, 33, 71, .22); }
.place figcaption { font-weight: 600; font-size: 14px; text-align: center; color: var(--navy-900); line-height: 1.5; }
.assam-banner { width: 100%; height: auto; border-radius: var(--radius-xl); }

/* Discover Assam — CTA banner */
.assam-cta {
  width: 100%; background: #001b38; border-radius: var(--radius-lg);
  padding: var(--s-24); display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-24); flex-wrap: wrap;
}
.assam-cta-item { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: var(--s-20); }
.assam-cta-ring {
  flex: none; width: 70px; height: 70px; border-radius: 50%;
  border: 2px solid; display: flex; align-items: center; justify-content: center;
}
.assam-cta-ring img { width: 38px; height: 38px; object-fit: contain; }
.assam-cta-txt { display: flex; flex-direction: column; gap: var(--s-10, 10px); gap: 10px; }
.assam-cta-title { font-weight: 600; font-size: 18px; line-height: 1.2; }
.assam-cta-desc { font-weight: 400; font-size: 16px; line-height: 1.35; color: #fff; max-width: 242px; }
.assam-cta-sep { flex: none; width: 2px; align-self: stretch; background: rgba(220, 230, 242, .4); }
.assam-cta-item.is-orange .assam-cta-ring { border-color: #e8792b; }
.assam-cta-item.is-orange .assam-cta-title { color: #f87709; }
.assam-cta-item.is-green .assam-cta-ring { border-color: #20ae31; }
.assam-cta-item.is-green .assam-cta-title { color: #20ae31; }
.assam-cta-item.is-blue .assam-cta-ring { border-color: #4fb3f9; }
.assam-cta-item.is-blue .assam-cta-title { color: #4fb3f9; }

/* =============================================================
   RACE CATEGORIES — Choose your Challenge
   ============================================================= */
.race-cat { background: #fff; padding: 64px 64px 56px; }
.race-cat .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--s-36); }
.race-cat-head { display: flex; flex-direction: column; align-items: center; gap: var(--s-14); }
.race-cat-head .section-title { margin: 0; }
.race-cat-grid { display: flex; gap: var(--s-36); width: 100%; align-items: stretch; }
.race-cat-card {
  flex: 1 1 0; min-width: 0;
  background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  box-shadow: 0 6px 9px rgba(10, 33, 71, .08);
  display: flex; flex-direction: column; align-items: center; gap: var(--s-24);
  padding: var(--s-24); text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.race-cat-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(10, 33, 71, .14); }
.race-cat-icon { height: 100px; display: flex; align-items: center; justify-content: center; }
.race-cat-icon img { height: auto; max-height: 100px; width: auto; transition: transform .3s; }
.race-cat-card:hover .race-cat-icon img { transform: scale(1.08); }
.race-cat-name { display: flex; flex-direction: column; align-items: center; gap: var(--s-14); }
.race-cat-title { font-weight: 700; font-size: 24px; line-height: 1.2; text-transform: uppercase; color: var(--navy-800); display: none;}
.race-cat-km { font-weight: 700; font-size: 48px; line-height: 1; text-transform: uppercase; color: var(--blue-500); }
.race-cat-desc { font-weight: 400; font-size: 18px; line-height: 1.5; color: #000; }
.race-cat-divider { width: 100%; height: 4px; background: var(--navy-800); border-radius: 2px; margin-top: auto; }
.btn-race-cat {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-14);
  background: var(--navy-550); color: #fff;
  font-weight: 600; font-size: 20px; letter-spacing: .8px;
  padding: 14px 24px; border-radius: var(--radius-sm);
  transition: transform .25s, box-shadow .25s;
}
.btn-race-cat img { width: 24px; height: 24px; transform: rotate(90deg); }
.btn-race-cat:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 63, 152, .4); }
.race-cat-note { font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--text-body); text-align: center; }

/* =============================================================
   CASH PRIZES
   ============================================================= */
.cash-prizes { background: var(--bg-soft); }
.cash-prizes .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--s-36); }
.cash-prizes-head { display: flex; flex-direction: column; align-items: center; gap: var(--s-14); }
.cash-prizes-head .section-title,
.cash-prizes-head .section-lead { margin: 0; }

.prize-list { display: flex; flex-direction: column; gap: var(--s-32); width: 100%; }

/* Card — same recipe as .race-cat-card */
.prize-card {
  background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  box-shadow: 0 6px 9px rgba(10, 33, 71, .08);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.prize-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(10, 33, 71, .14); }

.prize-card-title {
  margin: 0; padding: var(--s-20) var(--s-24);
  font-weight: 700; font-size: 24px; line-height: 1.2; text-transform: uppercase; color: var(--navy-800);
  border-bottom: 4px solid var(--navy-800);
}
.prize-card-title .prize-km { color: var(--blue-500); }

/* Table */
.prize-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.prize-table th, .prize-table td { padding: var(--s-16) var(--s-24); text-align: left; vertical-align: middle; }

.prize-table thead th {
  background: var(--navy-550); color: #fff;
  font-weight: 700; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase;
}
.prize-table thead tr:first-child th { padding-bottom: var(--s-8); }
.prize-table thead tr:last-child th { padding-top: var(--s-8); }
.prize-table thead .pt-age { width: 22%; }
.prize-table thead .pt-total { width: 24%; text-align: right; }
.prize-table thead .pt-group {
  text-align: center; font-weight: 600; color: rgba(255, 255, 255, .8);
  background-image: linear-gradient(rgba(255, 255, 255, .25), rgba(255, 255, 255, .25));
  background-size: calc(100% - 48px) 1px; background-position: center bottom; background-repeat: no-repeat;
}

/* 1st / 2nd / 3rd — tints of the site orange */
.pt-rank { display: inline-flex; align-items: center; gap: var(--s-8); }
.pt-rank::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--orange); background: var(--rank-fill, var(--orange));
}
.pt-r1 { --rank-fill: var(--orange); }
.pt-r2 { --rank-fill: rgba(232, 121, 43, .45); }
.pt-r3 { --rank-fill: transparent; }

.prize-table tbody th,
.prize-table tbody td { border-top: 1px solid var(--border-soft); transition: background-color .25s; }
.prize-table tbody tr:first-child > * { border-top: 0; }
.prize-table tbody td { font-weight: 700; font-size: 20px; color: var(--navy-800); }
.prize-table tbody td.pt-r1 { background: rgba(232, 121, 43, .05); }
.prize-table tbody td.pt-total {
  text-align: right; font-weight: 800; font-size: 22px; color: var(--navy-550);
  background: var(--bg-soft);
}
.prize-table tbody tr:hover > * { background-color: #eef4fc; }

.pt-age-tag {
  display: inline-block; padding: 6px 14px; border: 1px solid var(--border-card); border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: .56px; text-transform: uppercase; white-space: nowrap;
  color: var(--text-body);
}

/* "Open" row — stronger treatment */
.prize-table tr.is-open > th { box-shadow: inset 4px 0 0 var(--orange); }
.prize-table tr.is-open .pt-age-tag { background: var(--navy-550); border-color: var(--navy-550); color: #fff; }
.prize-table tr.is-open td { font-size: 22px; }
.prize-table tr.is-open td.pt-total { font-size: 24px; color: var(--blue-500); }

/* Grand total — navy banner, like the CTA band */
.prize-grand {
  width: 100%; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--s-12);
  padding: var(--s-40) var(--s-24);
  background: linear-gradient(135deg, var(--navy-550) 0%, var(--navy-900) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform .3s, box-shadow .3s;
}
.prize-grand:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(10, 33, 71, .2); }
.prize-grand .eyebrow-text { white-space: normal; }
.prize-grand-amount {
  margin: 0;
  font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.5px;
  color: var(--orange); font-variant-numeric: tabular-nums;
}

/* =============================================================
   INFO UPDATE — Map Route
   ============================================================= */
.info-update { background: #f5f8fd; }
.info-update .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--s-36); }
.info-update-head { display: flex; flex-direction: column; align-items: center; gap: var(--s-14); }
.info-update-head .section-title { margin: 0; }
.info-update-grid { display: flex; gap: var(--s-24); width: 100%; }
.info-update-card {
  flex: 1 1 0; min-width: 0; height: 300px;
  background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, box-shadow .3s;
}
.info-update-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(10, 33, 71, .14); }
.info-update-card p { font-weight: 700; font-size: 38px; text-transform: uppercase; color: var(--blue-500); }

/* Full-bleed image band */
.image-band { line-height: 0; }
.image-band img { width: 100%; height: auto; object-fit: cover; }

/* =============================================================
   CTA / REGISTER
   ============================================================= */
.cta-section {
  background: url("../images/cta-bg.png") center / cover no-repeat;
  overflow: hidden;
}
.cta-overlay { position: absolute; inset: 0; z-index: 0; background: rgba(0, 63, 152, .9); }
.cta-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: var(--s-24); text-align: center;
}
.cta-badge {
  display: inline-flex; align-items: center; gap: var(--s-8);
  background: var(--navy-900); border: 1px solid var(--border-card);
  border-radius: 999px; padding: 14px 24px;
}
.cta-badge .star { color: var(--orange); font-size: 12px; }
.cta-badge span:last-child { font-weight: 600; font-size: 14px; letter-spacing: .56px; color: #fff; }
.cta-title { font-weight: 800; font-size: 50px; line-height: 1.1; letter-spacing: -0.5px; color: #fff; max-width: 1120px; }
.cta-text { font-weight: 400; font-size: 14px; line-height: 22px; color: #fff; max-width: 1120px; }
.cta-slogan { font-weight: 700; font-style: italic; font-size: 24px; color: var(--orange); }
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .6px;
  padding: 15px 32px; border-radius: 999px; margin-top: var(--s-4);
  transition: transform .25s, box-shadow .25s, filter .25s;
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(232, 121, 43, .5); filter: brightness(1.05); }

/* =============================================================
   RACE EXPERIENCE — More Than Just a Marathon
   ============================================================= */
.race-head { display: flex; flex-direction: column; align-items: center; gap: var(--s-14); margin-bottom: var(--s-36); }
.race-head .section-title { margin: 0; }
.race-cards { display: flex; gap: var(--s-24); }
.race-card {
  flex: 1 1 0; min-width: 0;
  background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--s-14); display: flex; flex-direction: column; gap: var(--s-14);
  transition: transform .3s, box-shadow .3s;
}
.race-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(10, 33, 71, .14); }
.race-card img { width: 40px; height: 40px; object-fit: contain; }
.race-card h3 { font-weight: 700; font-size: 16px; color: var(--blue-500); }
.race-card p { font-weight: 400; font-size: 14px; line-height: 22px; color: var(--navy-800); }
.race-banner {
  margin-top: var(--s-36); background: var(--navy-550); border-radius: var(--radius-xl);
  padding: 26px; text-align: center;
}
.race-banner p { font-weight: 600; font-size: 20px; color: #fff; }

/* =============================================================
   PARTNERS
   ============================================================= */
.partners-section .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--s-48); }
.partners-section .section-title { margin: 0; }
.partners-showcase { display: flex; justify-content: center; width: 100%; gap: 24px;}
.partner-card {
  width: 100%; max-width: 366px;
  background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--s-24); text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.partner-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(10, 33, 71, .14); }
.partner-role { font-weight: 500; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; color: var(--blue-500); }
.partner-name { font-weight: 700; font-size: 18px; color: var(--blue-500); }
.partner-card img { width: 182px; height: 90px; max-width: 100%; object-fit: contain; transition: transform .3s; }
.partner-card:hover img { transform: scale(1.05); }

/* =============================================================
   OFFICIAL PARTNERS & SPONSORS
   ============================================================= */
.sponsors-section { background: var(--bg-soft); }
.sponsors-section .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--s-48); }
.sponsors-head { display: flex; flex-direction: column; align-items: center; gap: var(--s-14); }
.sponsors-head .section-title { margin: 0; }

/* Tier — label with side rules, then its row of cards */
.sponsor-tier { width: 100%; display: flex; flex-direction: column; gap: var(--s-24); }
.sponsor-tier-title {
  display: flex; align-items: center; gap: var(--s-24);
  font-weight: 700; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--navy-800);
}
.sponsor-tier-title::before,
.sponsor-tier-title::after { content: ""; flex: 1 1 0; height: 1px; background: var(--border-card); }

.sponsor-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-24); width: 100%; }
/* Card — same recipe as .partner-card */
.sponsor-card {
  flex: 1 1 260px; max-width: 366px;
  background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-14);
  padding: var(--s-24); text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.sponsor-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(10, 33, 71, .14); }
.sponsor-role { font-weight: 500; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; color: var(--blue-500); }
.sponsor-card img { width: 182px; height: 90px; max-width: 100%; object-fit: contain; transition: transform .3s; }
.sponsor-card:hover img { transform: scale(1.05); }

/* Presenting tier — larger cards and logos, navy top rule */
.sponsor-grid.is-featured .sponsor-card { max-width: 480px; padding: var(--s-32) var(--s-24); border-top: 4px solid var(--navy-550); }
.sponsor-grid.is-featured .sponsor-card img { width: 240px; height: 118px; }

/* =============================================================
   FAQ
   ============================================================= */
.faq-section .section-title { margin-bottom: var(--s-36); }
.faq-list { max-width: 1120px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--s-16); }
.faq-item {
  background: #fff; border: 1px solid var(--border-line); border-radius: var(--radius-md);
  transition: border-color .3s, box-shadow .3s;
}
.faq-q {
  width: 100%; display: flex; align-items: center; gap: var(--s-16);
  padding: var(--s-24); text-align: left;
  font-weight: 600; font-size: 18px; line-height: 1.5; color: var(--blue-500);
}
.faq-q > span:first-child { flex: 1 1 0; }
.faq-ico { flex: none; width: 24px; height: 24px; position: relative; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--navy-900); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  transition: transform .3s, opacity .3s;
}
.faq-ico::before { width: 15px; height: 2px; }
.faq-ico::after { width: 2px; height: 15px; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p, .faq-a-inner ul { padding: 0 var(--s-24) var(--s-24); font-weight: 400; font-size: 16px; line-height: 1.5; color: #000; }
.faq-a-inner ul { list-style: disc; padding-left: 48px; }
.faq-a-inner ul li { margin-bottom: 4px; }

.faq-item.is-open { border-color: var(--blue-brand); box-shadow: var(--shadow-drop); }
.faq-item.is-open .faq-q { color: var(--blue-500); }
.faq-item.is-open .faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item.is-open .faq-ico::before { background: var(--blue-brand); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--navy-550); padding: 32px 64px; }
.footer-inner { display: flex; flex-direction: column; gap: var(--s-24); }

.footer-cols { display: flex; gap: 64px; width: 100%; align-items: flex-start; }
.footer-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--s-14); }

.footer-brand img { width: 94px; height: 94px; object-fit: contain; }
.footer-about {
  font-weight: 400; font-size: 16px; line-height: 1.5; letter-spacing: .32px;
  color: rgba(255, 255, 255, .8);
}

.footer-heading { font-weight: 700; font-size: 19px; letter-spacing: .38px; color: #fff; }
.footer-links { display: flex; gap: var(--s-24); }
.footer-links ul { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--s-8);  padding-left: 0%;}
.footer-links a,
.footer-contact-list p,
.footer-contact-list a {
  font-weight: 400; font-size: 16px; line-height: 1.5; letter-spacing: .32px;
  color: rgba(255, 255, 255, .8); transition: color .2s;
}
.footer-links a:hover,
.footer-contact-list a:hover { color: #fff; }

.footer-contact-list { font-style: normal; display: flex; flex-direction: column; gap: var(--s-14); }

.footer-divider { width: 100%; height: 1px; background: rgba(255, 255, 255, .12); }
.footer-copy { font-weight: 400; font-size: 14px; color: #fff; text-align: center; margin-bottom: 0px;}

/* =============================================================
   BACK TO TOP
   ============================================================= */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-550); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 63, 152, .4);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s, visibility .3s, transform .3s, background .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-500); }

/* =============================================================
   ANIMATION HELPERS (GSAP toggles .is-in; fallback shown if no JS)
   ============================================================= */
[data-animate] { opacity: 1; }
.js [data-animate] { opacity: 0; will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  .js [data-animate] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}


/*Custom css*/
.modal{
    display:none;
    position:fixed;
    z-index:9999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.7);
}

.modal-content{
    position:relative;
    width:90%;
    max-width:1200px;
    height:90vh;
    margin:3vh auto;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
}

.modal iframe{
    width:100%;
    height:100%;
}

.close{
    position:absolute;
    right:18px;
    top:12px;
    font-size:32px;
    font-weight:bold;
    cursor:pointer;
    color:#000;
    z-index:10;
}
/* =============================================================
   REGISTRATION OFFERS POPUP (auto-open, once per session)
   ============================================================= */
.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-24);
}
.promo-modal[hidden] { display: none; }

.promo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 40, .62);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .3s ease;
}
.promo-modal.is-open .promo-overlay { opacity: 1; }

.promo-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1024px;
  max-height: calc(100vh - var(--s-48));
  overflow: auto;
  background: var(--white);
  border-radius: var(--s-12);
  box-shadow: var(--shadow-drop);
  padding: var(--s-40);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-32);
  text-align: left;
  transform: translateY(16px) scale(.97);
  opacity: 0;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), opacity .35s ease;
}
.promo-modal.is-open .promo-dialog { transform: none; opacity: 1; }

/* Close button */
.promo-close {
  position: absolute;
  top: var(--s-14);
  right: var(--s-14);
  width: var(--s-40);
  height: var(--s-40);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-550);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.promo-close:hover { background: var(--navy-680); transform: rotate(90deg); }
.promo-close:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }

/* Body */
.promo-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-24);
}
.promo-head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-14);
}
.promo-title { width: 100%; margin: 0; }

.promo-lead {
  width: 100%;
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-body);
}

/* Discount cards */
.promo-offers {
  display: flex;
  gap: var(--s-24);
  width: 100%;
  
}
.promo-offer {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-10, 10px);
  padding: var(--s-14);
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
  
}
.promo-offer-pct {
  margin: 0;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--blue-500);
  
}
.promo-offer-label {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  color: var(--navy-900);
}

.promo-note {
  width: 100%;
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-body);
  text-align: center;
}

/* CTA — reuses .btn-race-cat recipe */
.promo-cta { border: none; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .promo-overlay,
  .promo-dialog { transition: none; }
}
