/* FIT INDIA MARATHON 2026 — Run for Health · design system */
:root {
  --navy: #002d62;
  --navy-deep: #001a3a;
  --magenta: #c2185b;
  --magenta-hot: #e91e63;
  --cyan: #00bcd4;
  --ink: #1a2332;
  --muted: #5a6a7a;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: rgba(0, 45, 98, 0.12);
  --shadow: 0 18px 50px rgba(0, 29, 74, 0.18);
  --radius: 14px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

p {
  margin: 0;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* University masthead — primary institutional brand */
.univ-masthead {
  background:
    linear-gradient(105deg, #000814 0%, var(--navy-deep) 42%, #003a7a 100%);
  color: #fff;
  padding: 1.15rem 0;
  border-bottom: 3px solid #f5a623;
  position: relative;
  overflow: hidden;
}

.univ-masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 120% at 0% 50%, rgba(245, 166, 35, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 100% at 100% 0%, rgba(0, 188, 212, 0.1), transparent 50%);
  pointer-events: none;
}

.univ-masthead-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
}

.univ-identity {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-width: 0;
  color: #fff;
  max-width: min(100%, 820px);
}

.univ-logo {
  width: clamp(72px, 12vw, 110px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.univ-text {
  min-width: 0;
}

.univ-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.univ-place {
  margin-top: 0.35rem;
  font-size: clamp(0.88rem, 1.6vw, 1.05rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
}

.univ-masthead-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  margin-left: auto;
}

.univ-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5a623;
  border: 1px solid rgba(245, 166, 35, 0.45);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.08);
}

.topbar-social {
  display: flex;
  gap: 0.75rem;
}

.topbar-social a {
  color: #fff;
  opacity: 0.9;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s, opacity 0.2s;
}

.topbar-social a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

.hero-univ-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding: 0.4rem 0.85rem 0.4rem 0.4rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  max-width: 100%;
}

.hero-univ-chip img {
  width: 36px;
  height: auto;
  flex-shrink: 0;
}

.hero-univ-chip span {
  font-size: clamp(0.72rem, 1.8vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.25;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand img.brand-logo-main {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 2px rgba(255, 153, 51, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  letter-spacing: 0.04em;
  color: var(--navy);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.55rem;
  color: var(--ink);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--magenta);
  background: rgba(194, 24, 91, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--magenta), #9c1250);
  color: #fff;
  box-shadow: 0 10px 28px rgba(194, 24, 91, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(194, 24, 91, 0.45);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

/* Hero — full-bleed composition + slider */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 130px);
  min-height: min(92vh, 900px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.35);
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 26, 58, 0.35) 0%, rgba(0, 26, 58, 0.55) 40%, rgba(0, 26, 58, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 45, 98, 0.55), transparent 60%);
}

.hero-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 3.5rem;
  animation: fadeUp 0.9s var(--ease) both;
  position: relative;
  z-index: 1;
}

.feature-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.warmup-band {
  background: linear-gradient(180deg, #fff, var(--paper));
}

.warmup-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 860px) {
  .warmup-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 0.35rem;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero-brand em {
  font-style: normal;
  color: var(--magenta-hot);
  display: block;
}

.hero-tag {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-meta i {
  color: var(--cyan);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-center {
  text-align: center;
  margin-inline: auto;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0, 45, 98, 0.55));
  pointer-events: none;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 0.85rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--navy);
}

.stat span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

/* Categories */
.categories {
  background:
    radial-gradient(ellipse at top right, rgba(0, 188, 212, 0.12), transparent 50%),
    linear-gradient(180deg, #fff, var(--paper));
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.cat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
}

.cat-card h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.cat-card .distance {
  font-weight: 800;
  color: var(--magenta);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.fee {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.fee small {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.prize-list {
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.prize-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line);
}

.prize-list li:last-child {
  border-bottom: none;
}

.prize-list strong {
  color: var(--navy);
}

/* Schedule / info band */
.info-band {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.info-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../images/ai_hero_campus_marathon.png") center/cover;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}

.info-band .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.info-band .section-head h2,
.info-band .section-head .eyebrow {
  color: #fff;
}

.info-band .section-head .eyebrow {
  color: var(--cyan);
}

.info-band .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

.poster-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.poster-frame img {
  width: 100%;
  height: auto;
}

.detail-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.detail-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-list strong {
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rules {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.rules li {
  padding: 0.35rem 0 0.35rem 1.1rem;
  position: relative;
}

.rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta-hot);
}

/* Marathon route map (embedded on page) */
.route-section {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 188, 212, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgba(194, 24, 91, 0.07), transparent 50%),
    linear-gradient(180deg, #eef3f8 0%, var(--paper) 45%, #fff 100%);
}

.route-stops {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 0 auto 1.5rem;
  max-width: 920px;
  padding: 0;
  list-style: none;
}

.route-stops > li:not(.route-stops-arrow) {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  min-width: min(100%, 220px);
  box-shadow: 0 8px 24px rgba(0, 29, 74, 0.06);
}

.route-stops strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--navy);
}

.route-stops span:not(.route-stop-badge) {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.route-stops-arrow {
  color: var(--magenta);
  font-size: 1.15rem;
  opacity: 0.85;
}

.route-stop-badge {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}

.route-stop-badge--start,
.route-stop-badge--finish {
  background: var(--navy);
}

.route-stop-badge--turn {
  background: var(--magenta);
}

.route-map-shell {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.route-map {
  width: 100%;
  min-height: 480px;
  height: 520px;
  background: #dce6f0;
  z-index: 0;
  position: relative;
}

.route-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.route-map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
}


.route-map-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.9rem 1.15rem;
  background: linear-gradient(90deg, var(--navy-deep), var(--navy));
  color: rgba(255, 255, 255, 0.92);
}

.route-map-meta p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.route-map-meta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.route-map-meta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.route-map-note {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.route-map-note code {
  font-size: 0.78rem;
  background: rgba(0, 45, 98, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.route-marker {
  background: transparent !important;
  border: 0 !important;
}

.route-pin {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  border: 2px solid #fff;
}

.route-pin--start,
.route-pin--finish {
  background: #002d62;
}

.route-pin--turn {
  background: #c2185b;
}

.route-pin--aid {
  background: #00bcd4;
}

.leaflet-popup-content {
  margin: 0.65rem 0.85rem;
  font-family: var(--font-body), system-ui, sans-serif;
  line-height: 1.35;
}

.route-popup-role {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c2185b;
}

.route-popup-sub {
  font-size: 0.8rem;
  color: #5a6a7a;
}

@media (max-width: 768px) {
  .route-stops-arrow {
    display: none;
  }

  .route-map {
    min-height: 360px;
    height: 400px;
  }

  .route-map-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Race day timeline */
.race-day-section {
  background: linear-gradient(180deg, #fff 0%, #f0f5fa 100%);
}

.timeline {
  list-style: none;
  margin: 0 auto 1.75rem;
  padding: 0;
  max-width: 720px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5.5rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--magenta));
  opacity: 0.45;
}

.timeline-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.25rem;
  padding: 0.85rem 0;
  position: relative;
}

.timeline-item time {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-align: right;
  padding-top: 0.15rem;
}

.timeline-item > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  position: relative;
  box-shadow: 0 10px 28px rgba(0, 29, 74, 0.05);
}

.timeline-item > div::before {
  content: "";
  position: absolute;
  left: -1.55rem;
  top: 1.1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--magenta);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(194, 24, 91, 0.25);
}

.timeline-item strong {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--navy);
}

.timeline-item span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.addon-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* FAQ */
.faq-section {
  background: #fff;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 0.15rem 1rem 0.15rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--navy);
  padding: 0.95rem 0;
  position: relative;
  padding-right: 1.75rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--magenta);
  font-weight: 600;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq-more {
  text-align: center;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-more a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 4.4rem;
  }

  .timeline-item {
    grid-template-columns: 3.8rem 1fr;
    gap: 1rem;
  }

  .timeline-item time {
    font-size: 0.78rem;
  }

  .timeline-item > div::before {
    left: -1.35rem;
  }

  .addon-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .addon-actions .btn {
    text-align: center;
  }
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.benefit {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease);
}

.benefit:hover {
  transform: translateY(-4px);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(194, 24, 91, 0.12), rgba(0, 188, 212, 0.15));
  color: var(--magenta);
  font-size: 1.4rem;
}

.benefit h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.benefit p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sponsors */
.sponsor-wrap {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1rem;
  overflow: hidden;
}

.sponsor-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sponsor-wrap--empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, #f8fafc, #eef2f7);
  border-style: dashed;
}

.sponsor-wrap--empty img:not([src]),
.sponsor-wrap--empty img[src=""] {
  display: none;
}

.sponsor-wrap--empty::after {
  content: "2026 sponsor artwork coming soon — replace the empty image src when ready";
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  max-width: 28rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ddd;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(0, 26, 58, 0.85));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Registration CTA */
.reg-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, #0a3d7a);
  color: #fff;
  overflow: hidden;
}

.reg-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 30, 99, 0.35), transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.reg-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.time-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.85rem 0.4rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.time-box span:first-child {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1;
}

.time-box .label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 0.35rem;
  display: block;
}

.reg-panel {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.reg-panel h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.reg-panel > p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.fee-chips {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.fee-chips li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 600;
}

.fee-chips .price {
  color: var(--magenta);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.reg-actions {
  display: grid;
  gap: 0.75rem;
}

.reg-actions .btn {
  width: 100%;
}

.reg-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-cards--solo {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.2rem;
}

.contact-card h4 {
  font-size: 0.85rem;
  color: var(--magenta);
  margin-bottom: 0.35rem;
  letter-spacing: 0.08em;
}

.contact-card p,
.contact-card a {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--magenta);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 1.75rem 0;
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer a {
  color: #fff;
  font-weight: 600;
}

/* Forms (registration / login / payment) */
.page-hero {
  background:
    linear-gradient(120deg, rgba(0, 26, 58, 0.88), rgba(194, 24, 91, 0.55)),
    url("../images/ai_registration_campus.png") center/cover;
  color: #fff;
  padding: 3rem 0 2.5rem;
}

.page-hero--register {
  background:
    linear-gradient(120deg, rgba(0, 26, 58, 0.82), rgba(194, 24, 91, 0.5)),
    url("../images/ai_registration_campus.png") center 40%/cover;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 0.4rem;
}

.page-hero p {
  opacity: 0.9;
  max-width: 36rem;
}

.form-shell {
  padding: 2.5rem 0 4rem;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
  max-width: 860px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem 1.1rem;
}

.col-12 { grid-column: span 12; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }

label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1.5px solid #d5dde8;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.15);
}

.hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  background: rgba(194, 24, 91, 0.1);
  color: var(--magenta);
  font-weight: 800;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.fee-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 45, 98, 0.06), rgba(194, 24, 91, 0.08));
  border: 1px solid var(--line);
}

.category-auto {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  border: 1.5px dashed var(--line);
  background: var(--paper);
}

.category-auto.is-ready {
  border-style: solid;
  border-color: rgba(0, 45, 98, 0.25);
  background: linear-gradient(135deg, rgba(0, 45, 98, 0.05), rgba(0, 188, 212, 0.08));
}

.category-auto strong {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--navy);
}

.category-auto span {
  font-size: 0.85rem;
  color: var(--muted);
}

.preview {
  border: 1px dashed #c5d0de;
  border-radius: 10px;
  padding: 0.75rem;
  background: var(--paper);
  margin-top: 0.5rem;
}

.error-text {
  color: #c62828;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.login-wrap {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
}

.login-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
}

.login-card h2 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.alert-error {
  background: #ffebee;
  color: #b71c1c;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.pay-wrap {
  max-width: 720px;
  margin: 2rem auto 3rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.pay-wrap h2 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.qr-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  display: inline-block;
  margin: 1rem 0;
}

.steps {
  margin: 1rem 0 1.25rem;
  color: var(--muted);
}

.steps li {
  padding: 0.35rem 0 0.35rem 1.1rem;
  position: relative;
}

.steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
}

.steps {
  counter-reset: step;
}

/* Motion reduce */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .about-grid,
  .info-band .container,
  .reg-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid,
  .benefits-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-cards--solo {
    grid-template-columns: 1fr;
  }

  .info-band .poster-frame {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .univ-masthead {
    padding: 0.9rem 0;
  }

  .univ-masthead-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .univ-identity {
    gap: 0.85rem;
  }

  .univ-masthead-aside {
    align-items: flex-start;
    margin-left: 0;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .hero-univ-chip span {
    font-size: 0.7rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.9rem 1rem;
  }

  .site-nav .btn {
    margin-top: 0.35rem;
    border-radius: 10px;
  }

  .hero {
    min-height: 78vh;
    align-items: end;
  }

  .hero-inner {
    padding: 3rem 0 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .cat-grid,
  .benefits-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .detail-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .col-6,
  .col-4 {
    grid-column: span 12;
  }

  .brand-text span {
    display: none;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 1.25rem);
  }

  .hero-brand {
    font-size: 2.35rem;
  }

  .fee {
    font-size: 1.7rem;
  }

  .form-card,
  .reg-panel,
  .pay-wrap {
    padding: 1.1rem;
  }
}
