/* =========================================================
   Roorkee Half Marathon 2026 — Stylesheet
   ========================================================= */

:root {
  --bg: #0b0f19;
  --bg-2: #111827;
  --surface: #161d2e;
  --line: rgba(255, 255, 255, 0.09);
  --text: #e8ecf4;
  --muted: #9aa5b8;
  --brand: #ff6b35;
  --brand-2: #f7c531;
  --grad: linear-gradient(135deg, #ff6b35 0%, #f7c531 100%);
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1400px, 94%); margin-inline: auto; }
.narrow { width: min(820px, 92%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-weight: 700; font-size: .95rem;
  padding: .85rem 1.7rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #141414; box-shadow: 0 10px 26px rgba(255, 107, 53, .35); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(255, 107, 53, .5); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.05); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: #1f2937; color: #fff; border-color: #1f2937; }
.btn-dark:hover { background: #111827; }
.btn-light { background: #fff; color: #141414; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1rem 0; transition: background .3s, padding .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(11, 15, 25, .92);
  backdrop-filter: blur(14px);
  padding: .55rem 0;
  box-shadow: 0 6px 30px rgba(0,0,0,.45);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .7rem; }
.logo-mark {
  width: 60px; height: 60px; border-radius: 12px;
  object-fit: contain; background: transparent;
  display: block;
}
.logo-text { font-weight: 800; font-size: .95rem; line-height: 1.05; text-transform: uppercase; }
.logo-text small { font-weight: 500; font-size: .68rem; color: var(--muted); letter-spacing: .12em; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { font-size: .92rem; font-weight: 600; color: var(--muted); position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad); transition: width .25s;
}
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: stretch; justify-content: center;
  text-align: center; padding: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255,107,53,.25), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(247,197,49,.18), transparent 55%),
    linear-gradient(160deg, #0b0f19 0%, #141b2d 50%, #0b0f19 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(0,0,0,.6), transparent 60%); }

/* ---------- Banner carousel (slide) ---------- */
.banner-track {
  display: flex;
  width: 100%;
  transition: transform .7s cubic-bezier(.65, 0, .35, 1);
  will-change: transform;
  z-index: 2;
}
.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 8rem 0 6.5rem;
  box-sizing: border-box;
}
.banner-slide:nth-child(2) {
  background:
    radial-gradient(ellipse at 75% 25%, rgba(247,197,49,.28), transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(255,107,53,.2), transparent 55%);
}
.banner-slide:nth-child(3) {
  background:
    radial-gradient(ellipse at 25% 30%, rgba(56,189,248,.22), transparent 55%),
    radial-gradient(ellipse at 85% 75%, rgba(255,107,53,.25), transparent 55%);
}
.banner-slide.banner-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.banner-slide.banner-img::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,15,25,.78) 0%, rgba(11,15,25,.45) 55%, rgba(11,15,25,.25) 100%);
  z-index: 0;
}
.banner-slide.banner-img .hero-content {
  z-index: 1;
  max-width: 760px;
  margin-right: auto;
  margin-left: max(4%, calc((100% - 1180px) / 2));
  text-align: left;
  padding-inline: 4%;
}
.banner-slide.banner-img .hero-sub { margin-left: 0; margin-right: 0; }
.banner-slide.banner-img .hero-actions { justify-content: flex-start; }

/* Video banner */
.banner-slide.banner-video {
  position: relative;
  padding: 8rem 0 6.5rem;
  overflow: hidden;
}
.banner-video-el {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.banner-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11,15,25,.82) 0%, rgba(11,15,25,.5) 55%, rgba(11,15,25,.35) 100%);
}
.banner-slide.banner-video .hero-content {
  position: relative; z-index: 2;
}

.banner-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid var(--line);
  color: #fff; font-size: 1rem; cursor: pointer;
  backdrop-filter: blur(8px); transition: background .2s, transform .2s;
}
.banner-nav:hover { background: rgba(255,107,53,.35); transform: translateY(-50%) scale(1.08); }
.banner-nav.prev { left: max(1rem, 3vw); }
.banner-nav.next { right: max(1rem, 3vw); }

.banner-dots {
  position: absolute; bottom: 5.2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .55rem; z-index: 5;
}
.banner-dots .dot {
  width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(255,255,255,.3); cursor: pointer; transition: width .3s, background .3s;
}
.banner-dots .dot.active { width: 28px; background: var(--grad); }

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--brand-2);
  border: 1px solid rgba(247,197,49,.4); background: rgba(247,197,49,.08);
  padding: .45rem 1.1rem; border-radius: 999px; margin-bottom: 1.6rem;
}
.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 8rem); line-height: .92;
  letter-spacing: .02em; text-transform: uppercase;
}
.hero-title .year {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; display: inline-block;
}
.hero-sub { max-width: 620px; margin: 1.4rem auto 2.2rem; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.countdown { display: flex; gap: .9rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.cd-box {
  min-width: 88px; padding: .95rem .6rem; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.cd-box span { display: block; font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: var(--brand-2); }
.cd-box label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--brand-2); border-radius: 2px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Stats ---------- */
.stats { background: var(--bg-2); border-block: 1px solid var(--line); padding: 2.6rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 3.2rem; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--brand); margin-bottom: .7rem; }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 5.5vw, 3.8rem); letter-spacing: .02em; line-height: 1.05; text-transform: uppercase; }
.section-title span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 1rem; }
.about-text .section-title { margin-bottom: 1.2rem; text-align: left; }
.check-list { list-style: none; margin-top: 1.4rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--grad);
  color: #141414; font-size: .75rem; font-weight: 900;
  display: grid; place-items: center;
}
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.3rem;
  transition: transform .25s, border-color .25s;
}
.info-card:hover { transform: translateY(-6px); border-color: rgba(255,107,53,.5); }
.ic-icon { font-size: 1.7rem; margin-bottom: .7rem; }
.info-card h4 { font-size: .95rem; margin-bottom: .35rem; }
.info-card p { font-size: .87rem; color: var(--muted); line-height: 1.55; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.cat-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,107,53,.14), rgba(247,197,49,.06)), var(--surface);
  border: 1px solid rgba(255,107,53,.55);
  border-radius: 20px; padding: 2.2rem 1.8rem; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.cat-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #141414; font-size: .7rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; padding: .35rem 1rem; border-radius: 999px;
}
.cat-card h3 { font-size: 1.15rem; letter-spacing: .02em; }
.cat-dist { font-family: var(--font-display); font-size: 4rem; line-height: 1; margin: .5rem 0 1.2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cat-dist small { font-size: 1.4rem; -webkit-text-fill-color: var(--muted); }
.cat-card ul { list-style: none; display: grid; gap: .55rem; margin-bottom: 1.5rem; flex: 1; }
.cat-card ul li { font-size: .9rem; color: var(--muted); padding-left: 1.3rem; position: relative; }
.cat-card ul li::before { content: "▸"; position: absolute; left: 0; color: var(--brand); }
.cat-price { font-size: 1.7rem; font-weight: 800; margin-bottom: 1.1rem; }
.cat-price s { font-size: .95rem; color: var(--muted); font-weight: 500; margin-left: .4rem; }

/* ---------- Route ---------- */
.route-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.route-visual {
  background: radial-gradient(circle at 30% 30%, rgba(255,107,53,.12), transparent 60%), var(--surface);
  border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem;
}
.route-visual svg { width: 100%; height: auto; }
.route-note { font-size: .8rem; color: var(--muted); margin-top: .9rem; text-align: center; }
.route-points { display: grid; gap: 1.3rem; }
.rp { display: flex; gap: 1.1rem; align-items: flex-start; }
.rp span {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad); color: #141414; font-weight: 800;
  display: grid; place-items: center; font-size: .9rem;
}
.rp h4 { font-size: 1rem; margin-bottom: .15rem; }
.rp p { font-size: .88rem; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { max-width: 760px; margin-inline: auto; position: relative; padding-left: 1.6rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--brand), var(--brand-2)); }
.tl-item { position: relative; padding: 0 0 2rem 2.2rem; }
.tl-item::before {
  content: ""; position: absolute; left: -1.6rem; top: .4rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-2); border: 3px solid var(--brand);
}
.tl-item.accent::before { background: var(--brand-2); border-color: var(--brand-2); box-shadow: 0 0 0 6px rgba(247,197,49,.18); }
.tl-date { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand-2); letter-spacing: .05em; }
.tl-body h4 { font-size: 1.1rem; margin: .15rem 0 .4rem; }
.tl-body p { color: var(--muted); font-size: .93rem; }
.tl-times { list-style: none; display: grid; gap: .45rem; margin-top: .7rem; }
.tl-times li { font-size: .92rem; color: var(--muted); display: flex; gap: .8rem; }
.tl-times b { color: #fff; min-width: 74px; font-variant-numeric: tabular-nums; }

/* ---------- Marquee ---------- */
.marquee-section { background: var(--grad); padding: 1rem 0; overflow: hidden; }
.marquee { display: flex; gap: 2rem; white-space: nowrap; animation: slide 26s linear infinite; font-family: var(--font-display); font-size: 1.7rem; color: #141414; letter-spacing: .06em; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Run With Army ---------- */
.army-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.army-text .section-title { text-align: left; margin-bottom: 1.1rem; }
.army-para { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.8rem; line-height: 1.75; }
.army-img {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.army-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Gallery ---------- */
.section-lead { color: var(--muted); max-width: 540px; margin: .8rem auto 0; font-size: 1rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: .85rem;
}
.gallery-item {
  position: relative; border: 0; padding: 0; cursor: pointer;
  border-radius: 14px; overflow: hidden; background: var(--surface);
  grid-row: span 1; grid-column: span 1;
}
.gallery-year {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: .1em;
  color: #fff; text-align: left;
  padding: .9rem 1.1rem; margin-top: .6rem;
  background: linear-gradient(90deg, rgba(255,107,53,.18), rgba(247,197,49,.06));
  border-left: 4px solid var(--brand);
  border-radius: 10px;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(7) { grid-column: span 2; }
.gallery-item:nth-child(12) { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s ease, filter .35s ease;
}
.gallery-item::after {
  content: "⤢"; position: absolute; right: .7rem; top: .55rem;
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(11,15,25,.7); color: #fff; font-size: .95rem;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(-6px); transition: .3s;
}
.gallery-item:hover img { transform: scale(1.07); filter: brightness(1.05); }
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }
.gallery-item:hover { outline: 2px solid rgba(255,107,53,.65); outline-offset: 2px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 8, 14, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem 4.5rem;
}
.lightbox[hidden] { display: none; }
.lb-figure { max-width: min(1000px, 92vw); text-align: center; margin: 0; }
.lb-figure img {
  max-width: 100%; max-height: 78vh; border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0,0,0,.55);
  object-fit: contain;
}
.lb-figure figcaption { margin-top: .9rem; color: var(--muted); font-size: .95rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; border: 1px solid var(--line);
  background: rgba(255,255,255,.08); color: #fff;
  border-radius: 50%; cursor: pointer; backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,107,53,.4); transform: scale(1.06); }
.lb-close { top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.1rem; }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .9rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: rgba(255,107,53,.45); }
.faq-item summary {
  cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 700; font-size: 1rem;
  list-style: none; position: relative; padding-right: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--brand); transition: transform .25s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .93rem; }

/* ---------- About BEG&C Roorkee ---------- */
.begc-section {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0;
}
.begc-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.begc-section::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,15,25,.92) 0%, rgba(11,15,25,.82) 50%, rgba(11,15,25,.92) 100%);
  z-index: 1;
}
.begc-inner {
  position: relative; z-index: 2;
  max-width: 900px;
  text-align: center;
}
.begc-inner .section-title { margin-bottom: 1.4rem; }
.begc-para {
  color: #d5dbe8;
  font-size: 1.02rem;
  line-height: 1.85;
  text-align: justify;
  background: rgba(11,15,25,.45);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.8rem 2rem;
  backdrop-filter: blur(6px);
}

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(ellipse at 10% 50%, rgba(255,107,53,.35), transparent 55%),
    radial-gradient(ellipse at 90% 50%, rgba(247,197,49,.28), transparent 55%),
    #141b2d;
  padding: 5rem 0; text-align: center; border-block: 1px solid var(--line);
}
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: .02em; text-transform: uppercase; margin-bottom: .7rem; }
.cta-inner p { color: var(--muted); margin-bottom: 1.8rem; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.footer { background: #070a12; border-top: 1px solid var(--line); padding: 4rem 0 1.5rem; }
.footer .logo-mark { width: 200px; height: 200px; border-radius: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr .9fr; gap: 2.5rem; align-items: center; }
.f-brand-logo { display: flex; align-items: center; justify-content: flex-end; }
.vi-logo { max-width: 190px; width: 100%; height: auto; }
.f-brand p { color: var(--muted); font-size: .9rem; margin-top: 1rem; max-width: 300px; }
.f-col h5 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 1rem; }
.f-col a, .f-col p { display: block; color: var(--muted); font-size: .92rem; margin-bottom: .55rem; transition: color .2s; }
.f-col a:hover { color: #fff; }
.f-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }

/* =========================================================
   REGISTRATION PAGE
   ========================================================= */
.page-hero {
  padding: 9.5rem 0 3.5rem; text-align: center;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255,107,53,.25), transparent 55%),
    radial-gradient(ellipse at 70% 100%, rgba(247,197,49,.15), transparent 55%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.8rem, 7vw, 5rem); letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.page-hero p { color: var(--muted); max-width: 560px; margin: .9rem auto 0; }

.reg-wrap { padding: 4rem 0 6rem; display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }

.form-card, .summary-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 2.2rem;
}
.form-card h2, .summary-card h3 { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 1.4rem; }
.summary-card h3 { margin-bottom: 1.2rem; }
.summary-card { position: sticky; top: 90px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: #0e1422; border: 1px solid var(--line); border-radius: 10px;
  color: #fff; padding: .8rem .95rem; font-family: inherit; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,107,53,.18);
}
.field input::placeholder, .field textarea::placeholder { color: #5a6478; }
.radio-group { display: grid; gap: .7rem; }
.radio-opt {
  display: flex; align-items: center; gap: .9rem; cursor: pointer;
  background: #0e1422; border: 1.5px solid var(--line); border-radius: 12px;
  padding: .95rem 1.1rem; transition: border-color .2s, background .2s;
}
.radio-opt:hover { border-color: rgba(255,255,255,.25); }
.radio-opt input { accent-color: var(--brand); width: 18px; height: 18px; }
.radio-opt .ro-info { flex: 1; }
.radio-opt .ro-info b { display: block; font-size: .98rem; }
.radio-opt .ro-info small { color: var(--muted); font-size: .8rem; }
.radio-opt .ro-price { font-weight: 800; color: var(--brand-2); }
.radio-opt.selected { border-color: var(--brand); background: rgba(255,107,53,.08); }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-top: .4rem; }
.consent input { margin-top: .25rem; accent-color: var(--brand); }

.sum-row { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.sum-row span:last-child { color: #fff; font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; padding-top: 1.1rem; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .03em; }
.sum-total span:last-child { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.summary-card .btn { margin-top: 1.4rem; }
.sum-note { font-size: .8rem; color: var(--muted); margin-top: .9rem; text-align: center; }

.success-msg {
  display: none; grid-column: 1 / -1; text-align: center;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.45);
  border-radius: 16px; padding: 2.4rem 1.5rem;
}
.success-msg.show { display: block; }
.success-msg .tick { width: 62px; height: 62px; margin: 0 auto 1rem; border-radius: 50%; background: #22c55e; color: #fff; font-size: 2rem; display: grid; place-items: center; }
.success-msg h3 { font-family: var(--font-display); font-size: 2rem; letter-spacing: .03em; margin-bottom: .5rem; }
.success-msg p { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: min(320px, 82vw); height: 100vh;
    background: #0d1322; flex-direction: column; align-items: flex-start;
    padding: 5.5rem 2rem 2rem; gap: 1.3rem; transition: right .35s ease;
    border-left: 1px solid var(--line); box-shadow: -20px 0 50px rgba(0,0,0,.5);
    z-index: 99;
  }
  .nav-links.open { right: 0; }
  .nav-links a:not(.btn) { font-size: 1.1rem; color: #fff; }
  .nav-toggle { display: block; z-index: 101; }

  .about-grid, .route-grid, .reg-wrap, .army-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-item:nth-child(7) { grid-column: span 1; }
  .gallery-item:nth-child(8) { grid-column: span 2; }
  .cat-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand-logo { justify-content: flex-start; }
  .summary-card { position: static; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .about-cards { grid-template-columns: 1fr; }
  .begc-section { padding: 4.5rem 0; }
  .begc-para {
    text-align: left;
    font-size: .92rem;
    padding: 1.2rem 1.1rem;
    line-height: 1.7;
  }
  .army-grid { gap: 1.8rem; }
  .army-text .section-title { text-align: center; }
  .army-para { text-align: center; font-size: .97rem; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: .6rem; }
  .lightbox { padding: 1.2rem; }
  .lb-prev { left: .4rem; }
  .lb-next { right: .4rem; }
  .form-card, .summary-card { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-bottom { flex-direction: column; text-align: center; }
  .hero { padding-top: 0; }
  .banner-slide {
    padding: 5.4rem 0 5rem;
    min-height: 100svh;
    align-items: flex-start;
    justify-content: center;
  }
  .banner-slide .hero-eyebrow { margin-bottom: .9rem; }
  .banner-slide .hero-sub { margin-top: .7rem; margin-bottom: 1.4rem; }
  .banner-slide .hero-title { line-height: .95; }
  .banner-slide.banner-img .hero-content {
    margin-left: auto; margin-right: auto;
    text-align: center; padding-inline: 0;
  }
  .banner-slide.banner-img .hero-actions { justify-content: center; }
  .banner-slide.banner-img .hero-sub { margin-inline: auto; }
  .banner-slide.banner-img::before {
    background: linear-gradient(180deg, rgba(11,15,25,.72) 0%, rgba(11,15,25,.55) 100%);
  }
  .banner-slide.banner-video { padding: 5.4rem 0 5rem; align-items: flex-start; }
  .banner-video-overlay {
    background: linear-gradient(180deg, rgba(11,15,25,.55) 0%, rgba(11,15,25,.72) 100%);
  }
  .banner-nav { width: 38px; height: 38px; font-size: .85rem; }
  .banner-dots { bottom: 4.6rem; }
  .cd-box { min-width: 74px; }
  .cd-box span { font-size: 1.85rem; }
}
