/* ===== ASSAK RUN 2026 — Landing Page Styles ===== */

:root {
  --maroon-950: #3d0a08;
  --maroon-900: #5a0f0c;
  --maroon-800: #7a140f;
  --red-700: #96201a;
  --red-600: #b8352e;
  --green-700: #146b2e;
  --green-600: #1a8300;
  --gold-500: #f6a21e;
  --gold-400: #ffc23c;
  --cream-50: #fff8ef;
  --cream-100: #fdeee0;
  --ink-900: #241210;
  --ink-700: #4a2b26;
  --white: #ffffff;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 30px rgba(61, 10, 8, 0.15);
  --shadow-hard: 0 16px 40px rgba(61, 10, 8, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream-50);
  color: var(--ink-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; position: relative; overflow: hidden; }
.section--tight { padding: 64px 0; }

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow--gold { background: rgba(246, 162, 30, 0.15); color: #a9600a; }
.eyebrow--light { background: rgba(255, 255, 255, 0.16); color: var(--cream-50); }
.eyebrow--green { background: rgba(26, 131, 0, 0.12); color: var(--green-700); }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--maroon-800); }
.section-head p { color: var(--ink-700); font-size: 1.05rem; }
.section-head--light h2 { color: var(--white); }
.section-head--light p { color: rgba(255, 255, 255, 0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 17px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--maroon-950);
  box-shadow: 0 12px 28px rgba(246, 162, 30, 0.45);
}
.btn--primary:hover { box-shadow: 0 16px 34px rgba(246, 162, 30, 0.55); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn--dark {
  background: var(--maroon-900);
  color: var(--white);
}

.btn--block { width: 100%; }
.btn--sm { padding: 12px 22px; font-size: 0.82rem; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(58, 11, 9, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}
.brand span em {
  font-style: normal;
  color: var(--gold-400);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--gold-400); }

.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cta .btn--sm { padding: 10px 16px; font-size: 0.72rem; }
}

@media (max-width: 560px) {
  .brand { font-size: 0.85rem; white-space: nowrap; }
  .brand img { width: 32px; height: 32px; }
  .nav__cta .btn--sm { display: none; }
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--maroon-950);
  padding: 10px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 860px);
  display: flex;
  align-items: center;
  background: #7a140f url("../img/hero.jpg") center center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 5, 4, 0.55) 0%, rgba(30, 5, 4, 0.45) 35%, rgba(20, 3, 2, 0.95) 94%),
    linear-gradient(90deg, rgba(20, 3, 2, 0.45) 0%, transparent 50%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 90px 0 40px;
  text-align: center;
}
.hero__kicker {
  font-family: var(--font-head);
  color: var(--gold-400);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero__title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: var(--white);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  margin-bottom: 18px;
}
.hero__title span { color: var(--gold-400); }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  color: var(--cream-50);
  font-weight: 600;
  margin-bottom: 34px;
  font-size: 1.02rem;
}
.hero__meta div { display: flex; align-items: center; gap: 8px; }
.hero__meta strong { color: var(--gold-400); }

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

.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(rgba(255, 255, 255, 0.8), transparent);
  animation: scrollPulse 1.8s infinite;
}
@keyframes scrollPulse {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}

/* ---------- Stats strip ---------- */
.stats {
  background: linear-gradient(90deg, var(--green-700), var(--green-600));
  padding: 26px 0;
}
.stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.stats__row div { color: var(--white); }
.stats__row strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
}
.stats__row span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 720px) {
  .stats__row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Category cards ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) {
  .cats { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(122, 20, 15, 0.08);
}
.cat-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cat-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--maroon-950);
  color: var(--gold-400);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.cat-card__fee {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold-500);
  color: var(--maroon-950);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 999px;
}
.cat-card__body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.cat-card__body h3 { color: var(--maroon-800); font-size: 1.3rem; }
.cat-card__sub { color: var(--ink-700); font-size: 0.9rem; margin-bottom: 16px; }
.cat-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--ink-900);
}
.cat-card__list li { display: flex; align-items: flex-start; gap: 9px; }
.cat-card__list li em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--ink-700);
  opacity: 0.85;
}
.cat-card__list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  background: var(--green-600);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.cat-card__body .btn { margin-top: auto; }

/* ---------- Fee table ---------- */
.fee-table-wrap {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}
table.fee-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.fee-table thead th {
  background: var(--maroon-950);
  color: var(--gold-400);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  padding: 16px 20px;
  text-align: left;
}
table.fee-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(122, 20, 15, 0.08);
  color: var(--ink-900);
}
table.fee-table tbody tr:last-child td { border-bottom: none; }
table.fee-table tbody tr:nth-child(even) { background: var(--cream-100); }
table.fee-table td.fee-price {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--red-700);
}
.table-scroll { overflow-x: auto; }

/* ---------- Race pack gallery ---------- */
.pack-group-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 1.05rem;
  color: var(--maroon-800);
  margin: 0 0 18px;
}
.pack-group-title:not(:first-of-type) { margin-top: 40px; }
.pack-group-title span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--ink-700);
  text-transform: none;
  letter-spacing: 0;
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pack-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 620px; }
.pack-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 780px; }
@media (max-width: 980px) {
  .pack-grid { grid-template-columns: repeat(2, 1fr); }
  .pack-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
.pack-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.pack-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.pack-item__icon {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  background: linear-gradient(160deg, var(--maroon-800), var(--red-700));
}
.pack-item span {
  display: block;
  padding: 14px 10px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--maroon-800);
  font-size: 0.92rem;
}
.pack-item span em {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--ink-700);
  text-transform: none;
  margin-top: 3px;
}

.perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}
@media (max-width: 720px) { .perks { grid-template-columns: 1fr 1fr; } }
.perk {
  background: var(--cream-100);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  text-align: center;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--maroon-800);
}

/* ---------- Tabs (size chart) ---------- */
.tabs__nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tabs__nav button {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid var(--maroon-800);
  background: transparent;
  color: var(--maroon-800);
  cursor: pointer;
  transition: all 0.15s ease;
}
.tabs__nav button.is-active,
.tabs__nav button:hover {
  background: var(--maroon-800);
  color: var(--white);
}
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }

/* ---------- Award tables ---------- */
.awards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 820px) { .awards { grid-template-columns: 1fr; } }
.award-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}
.award-card h3 {
  background: var(--gold-500);
  color: var(--maroon-950);
  padding: 16px 22px;
  font-size: 1.1rem;
  margin: 0;
}
.award-card table { width: 100%; border-collapse: collapse; }
.award-card td {
  padding: 14px 22px;
  color: var(--cream-50);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}
.award-card tr:last-child td { border-bottom: none; }
.award-card td:first-child { font-weight: 700; color: var(--gold-400); width: 40%; }

/* ---------- Info cards (REPC / Flag off) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(122, 20, 15, 0.08);
}
.info-card h3 {
  color: var(--maroon-800);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(122, 20, 15, 0.18);
}
.info-row:last-child { border-bottom: none; }
.info-row dt { color: var(--ink-700); font-weight: 600; }
.info-row dd { margin: 0; font-weight: 800; color: var(--maroon-800); text-align: right; }

.flag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.flag-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--cream-100);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.flag-time {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--white);
  background: var(--red-700);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  min-width: 68px;
  text-align: center;
}
.flag-list li span:last-child { font-weight: 700; color: var(--maroon-800); }

/* ---------- Aquapark add-on ---------- */
.addon {
  background: linear-gradient(120deg, #17a7d8, #49cef2);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  box-shadow: var(--shadow-hard);
}
@media (max-width: 820px) { .addon { grid-template-columns: 1fr; } }
.addon__media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.addon__body { padding: 40px; color: var(--white); }
.addon__body .eyebrow { background: rgba(255, 255, 255, 0.22); color: var(--white); }
.addon__body h3 { font-size: 1.7rem; margin-bottom: 10px; }
.addon__price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  margin: 14px 0 6px;
}
.addon__price span { font-size: 1rem; font-weight: 600; opacity: 0.85; }
.addon__note { font-size: 0.85rem; opacity: 0.85; margin-bottom: 22px; }

/* ---------- Sponsors ---------- */
.sponsors-strip {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
}
.sponsors-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
  margin-bottom: 26px;
}
.sponsors-cols h4 {
  font-family: var(--font-head);
  color: var(--gold-400);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
  opacity: 0.85;
}
@media (max-width: 720px) { .sponsors-cols { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Final CTA ---------- */
.final-cta {
  background: radial-gradient(circle at 30% 20%, var(--gold-400), var(--gold-500) 55%, #d6810c 100%);
  text-align: center;
  padding: 80px 0;
}
.final-cta h2 { color: var(--maroon-950); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.final-cta p { color: rgba(36, 18, 16, 0.8); font-size: 1.05rem; max-width: 560px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--maroon-950);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 26px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 22px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 46px; height: 46px; border-radius: 12px; }
.footer__brand strong { color: var(--white); font-family: var(--font-head); font-size: 1.15rem; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { font-weight: 600; font-size: 0.9rem; }
.footer__links a:hover { color: var(--gold-400); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all 0.15s ease;
}
.footer__social a:hover { background: var(--gold-400); color: var(--maroon-950); border-color: var(--gold-400); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(58, 11, 9, 0.96);
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.sticky-cta span { color: var(--white); font-weight: 700; font-size: 0.85rem; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 74px; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
