/* ============================================================
   PENSIONERS MARATHON — Main Stylesheet
   Mobile-first | NAPSA Brand Colors | Manrope
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

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

:root {
  --napsa-blue:       #232d61;
  --napsa-blue-deep:  #1a2350;
  --napsa-blue-soft:  #2e3b78;
  --napsa-yellow:     #f9a61b;
  --napsa-yellow-lt:  #ffbe4d;
  --accent-glow:      rgba(249,166,27,0.25);
  --bg:               #ffffff;
  --text:             #111827;
  --muted:            #4b5563;
  --border:           #eef2f6;
  --section-bg:       #fafbff;
  --card-shadow:      0 12px 30px rgba(35,45,97,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.02em;
}

/* ── REUSABLES ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(35,45,97,0.05);
  border: 1px solid rgba(249,166,27,0.5);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--napsa-blue);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--napsa-blue);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(95deg, var(--napsa-blue) 0%, var(--napsa-blue-soft) 100%);
  color: white;
  border: none;
  padding: 10px 26px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
  box-shadow: 0 6px 14px rgba(35,45,97,0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--napsa-blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(35,45,97,0.25);
}

/* Nav + hero Register button — only text colour transitions on hover */
#app > nav .btn-primary,
#reg-app > nav .btn-primary,
#auth-app > nav .btn-primary,
.btn-hero-cta {
  transition: color 0.25s;
}
#app > nav .btn-primary:hover,
#reg-app > nav .btn-primary:hover,
#auth-app > nav .btn-primary:hover,
.btn-hero-cta:hover {
  color: var(--napsa-yellow);
  background: linear-gradient(95deg, var(--napsa-blue) 0%, var(--napsa-blue-soft) 100%);
  transform: none;
  box-shadow: none;
}

/* Register page — same blue pill; label only turns yellow */
#app > nav .btn-primary--nav-active,
#reg-app > nav .btn-primary--nav-active,
#auth-app > nav .btn-primary--nav-active {
  color: var(--napsa-yellow);
}

.btn-outline-white {
  background: none;
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

.btn-ghost-dark {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--napsa-blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-ghost-dark:hover { gap: 14px; color: var(--napsa-yellow); }

.btn-white {
  background: var(--napsa-yellow);
  color: var(--napsa-blue);
  border: none;
  padding: 14px 38px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  text-decoration: none;
}
.btn-white:hover {
  background: var(--napsa-yellow-lt);
  transform: translateY(-3px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.25);
}

/* ── NAV ── */
#app > nav,
#reg-app > nav,
#auth-app > nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(35,45,97,0.08);
  transition: box-shadow 0.3s;
}

#app > nav.scrolled,
#reg-app > nav.scrolled,
#auth-app > nav.scrolled {
  box-shadow: 0 4px 24px rgba(35,45,97,0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--napsa-blue);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--napsa-blue), var(--napsa-blue-deep));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(35,45,97,0.2);
}
.logo-icon svg { width: 17px; height: 17px; fill: var(--napsa-yellow); }

.brand-logo {
  padding: 4px 0;
  gap: 0;
}
.brand-logo img {
  display: block;
  height: 56px;
  width: auto;
}
.brand-logo-footer img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-sponsors {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 20px;
  border-left: 1px solid rgba(35, 45, 97, 0.15);
}
.nav-sponsors-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--napsa-blue-soft, #6b7394);
  white-space: nowrap;
}
.nav-sponsors-logos {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-sponsor-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}
.nav-sponsor-logo[alt="NAPSA"] {
  height: 56px;
  max-width: 130px;
}
@media (max-width: 960px) {
  .nav-sponsors { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #2c3a5e;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--napsa-yellow); }
.nav-links a.nav-link-active {
  color: var(--napsa-yellow);
  font-weight: 800;
}

.nav-actions { display: flex; align-items: center; gap: 16px; }

/* Account icon — links guests to /account/login, signed-in users to
   their portal/admin dashboard. Sits between nav links and the
   "Register Now" CTA. */
.nav-account {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(35, 45, 97, 0.18);
  background: #fff;
  color: var(--napsa-blue);
  text-decoration: none;
  transition: color .2s ease, background .15s ease, border-color .15s ease, transform .05s ease;
}
.nav-account:hover {
  color: var(--napsa-yellow);
  border-color: rgba(249, 166, 27, 0.4);
  background: #fff;
}
.nav-account:active { transform: translateY(1px); }
.nav-account:focus-visible {
  outline: 3px solid var(--napsa-yellow);
  outline-offset: 2px;
}
.nav-account svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Small status dot for "signed-in" affordance. */
.nav-account-dot {
  position: absolute;
  top: 4px; right: 4px;
  width: 8px; height: 8px;
  background: var(--napsa-yellow);
  border-radius: 50%;
  border: 2px solid #fff;
  pointer-events: none;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--napsa-blue);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: white;
  z-index: 99;
  padding: 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--napsa-yellow); }
.mobile-menu a.nav-link-active {
  color: var(--napsa-yellow);
  font-weight: 800;
}
.mobile-menu .btn-primary { margin-top: 16px; justify-content: center; width: 100%; }
.mobile-menu .btn-primary--nav-active {
  color: var(--napsa-yellow);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(249,166,27,0.08) 0%, rgba(35,45,97,0.02) 70%),
              linear-gradient(125deg, #fff9ef 0%, #fef7e8 35%, #ffffff 100%);
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: blobFloat 12s ease-in-out infinite;
}
.hero-blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(249,166,27,0.5), rgba(35,45,97,0.2));
  top: -120px; left: -80px;
  animation-delay: 0s;
}
.hero-blob-2 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(35,45,97,0.45), rgba(249,166,27,0.25));
  top: 25%; right: -40px;
  animation-delay: -4s;
}
.hero-blob-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(249,166,27,0.4), rgba(35,45,97,0.2));
  bottom: -30px; left: 30%;
  animation-delay: -7s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(25px,-25px) scale(1.06); }
  66%       { transform: translate(-18px,20px) scale(0.98); }
}

.dot-grid {
  position: absolute;
  width: 140px; height: 140px;
  background-image: radial-gradient(circle, rgba(35,45,97,0.2) 1.8px, transparent 1.8px);
  background-size: 14px 14px;
  opacity: 0.5;
}
.dot-grid-tl { top: 100px; left: 40px; }
.dot-grid-br { bottom: 80px; right: 50px; }

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,166,27,0.1);
  border: 1px solid rgba(249,166,27,0.4);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #9a6200;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 0.8s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--napsa-yellow);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.7; }
}

.hero-text h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--napsa-blue);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  animation: fadeUp 0.8s 0.1s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-text p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 36px;
  font-weight: 500;
  line-height: 1.6;
  max-width: 440px;
  animation: fadeUp 0.8s 0.18s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.26s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-btns .btn-hero-cta {
  padding: 14px 32px;
  font-size: 15px;
}

.play-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(35,45,97,0.08);
  border: 1.5px solid rgba(35,45,97,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.play-icon svg { width: 14px; height: 14px; fill: var(--napsa-blue); margin-left: 2px; }

/* Hero stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  animation: fadeUp 0.8s 0.34s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--napsa-blue);
  line-height: 1;
}
.hero-stat span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.hero-stat-divider {
  width: 2px; height: 40px;
  background: linear-gradient(to bottom, var(--napsa-yellow), #ffe2b3);
}

/* Hero image collage */
.hero-images {
  position: relative;
  height: 400px;
  animation: fadeUp 0.8s 0.15s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-img {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 48px rgba(35,45,97,0.2);
  border: 2px solid rgba(249,166,27,0.3);
}
.hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.hero-img:hover img { transform: scale(1.03); }

.hero-img-1 {
  width: 260px; height: 210px;
  top: 0; left: 60px;
  z-index: 2;
}
.hero-img-2 {
  width: 240px; height: 280px;
  bottom: 0; right: 0;
  z-index: 3;
}

/* Floating badge on hero */
.hero-badge {
  position: absolute;
  top: 50%; left: 0;
  transform: translateY(-50%);
  background: white;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 12px 40px rgba(35,45,97,0.15);
  border: 1px solid rgba(249,166,27,0.25);
  z-index: 4;
  animation: fadeUp 0.9s 0.4s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-badge-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.hero-badge-date {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--napsa-blue);
}

/* Watermark */
.conf-watermark {
  position: absolute;
  bottom: 30px; left: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(70px, 13vw, 150px);
  font-weight: 800;
  color: rgba(35,45,97,0.08);
  white-space: nowrap;
  letter-spacing: -0.03em;
  pointer-events: none;
  user-select: none;
  animation: fadeUp 1s 0.3s cubic-bezier(0.22,1,0.36,1) both;
}

/* ── COUNTDOWN ── */
.countdown-section {
  background: white;
  padding: 0 48px;
}
.countdown-inner {
  max-width: 1280px;
  margin: 0 auto;
  transform: translateY(-36px);
}
.countdown-card {
  background: white;
  border-radius: 32px;
  box-shadow: var(--card-shadow), 0 0 0 1px rgba(249,166,27,0.2);
  padding: 36px 56px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.count-item { text-align: center; }
.count-number {
  font-family: 'Manrope', sans-serif;
  font-size: 58px;
  font-weight: 800;
  color: var(--napsa-blue);
  line-height: 1;
  display: block;
  text-shadow: 0 2px 5px rgba(249,166,27,0.2);
}
.count-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--napsa-blue);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.event-started-card {
  justify-content: center;
}
.event-started-content {
  text-align: center;
}
.event-started-title {
  font-family: 'Manrope', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--napsa-blue);
  line-height: 1;
  margin: 0 0 10px;
}
.event-started-sub {
  font-size: 16px;
  font-weight: 700;
  color: var(--napsa-yellow, #f9a61b);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
}
.countdown-local-time {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--napsa-blue);
  opacity: 0.6;
  margin: 10px 0 0;
  letter-spacing: 0.03em;
}
.count-divider {
  width: 2px; height: 68px;
  background: linear-gradient(to bottom, var(--napsa-yellow), #ffe2b3);
}

/* ── INFO BAR ── */
.info-bar {
  background: white;
  padding: 20px 48px 48px;
}
.info-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #eef2ff;
  font-size: 14px;
  font-weight: 600;
  color: var(--napsa-blue);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  transition: all 0.2s;
}
.info-item:hover {
  border-color: var(--napsa-yellow);
  box-shadow: 0 6px 14px rgba(249,166,27,0.1);
}
.info-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--napsa-yellow);
}

/* ── ABOUT ── */
.about-section {
  padding: 80px 48px;
  background: var(--section-bg);
}
.about-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-inner h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--napsa-blue);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.about-inner p {
  font-size: 16px;
  color: #2c3a5e;
  line-height: 1.7;
}

/* ── CATEGORIES ── */
.categories-section {
  padding: 0 48px 80px;
  background: white;
}
.categories-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  display: block;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 35px rgba(35,45,97,0.15);
}

.category-thumb {
  width: 100%;
  padding-bottom: 110%;
  position: relative;
  overflow: hidden;
}
.category-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}
.category-card:hover .category-bg { transform: scale(1.04); }

.cat-bg-1 { background: linear-gradient(125deg, #232d61 0%, #3a478f 45%, #f9a61b 100%); }
.cat-bg-2 { background: linear-gradient(125deg, #1a2350 0%, #232d61 50%, #f9a61b 80%); }
.cat-bg-3 { background: linear-gradient(125deg, #2e3b78 0%, #232d61 40%, #f9a61b 100%); }
.cat-bg-4 { background: linear-gradient(125deg, #1a1040 0%, #4c2090 50%, #e8920a 100%); }

.cat-shape {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.8;
}

.category-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  color: white;
}
.category-distance {
  font-size: 11px;
  opacity: 0.8;
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.category-name {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(12px, 1.35vw, 19px);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.category-price {
  margin-top: 10px;
  display: inline-block;
  background: var(--napsa-yellow);
  color: var(--napsa-blue);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
}

.category-badge-free {
  margin-top: 10px;
  display: inline-block;
  background: #16a34a;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ── REGISTRATION TYPES ── */
.reg-section {
  padding: 80px 48px;
  background: var(--section-bg);
}
.reg-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.reg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.reg-card {
  background: white;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid #edf2f7;
  transition: all 0.25s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.reg-card:hover {
  border-color: var(--napsa-yellow);
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(35,45,97,0.1);
}
.reg-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--napsa-blue), var(--napsa-blue-soft));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 14px rgba(35,45,97,0.25);
}
.reg-card-icon svg { width: 24px; height: 24px; stroke: var(--napsa-yellow); fill: none; stroke-width: 2; }
.reg-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--napsa-blue);
}
.reg-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.reg-steps-list {
  margin: 0 0 20px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
.reg-steps-list li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.reg-card .btn-reg-card {
  font-size: 13px;
  padding: 9px 20px;
  transition: color 0.25s;
}
.reg-card .btn-reg-card:hover {
  color: var(--napsa-yellow);
  transform: none;
  background: linear-gradient(95deg, var(--napsa-blue) 0%, var(--napsa-blue-soft) 100%);
  box-shadow: 0 6px 14px rgba(35,45,97,0.3);
}
.reg-card .btn-coming-soon {
  background: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.reg-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.tag-individual { background: rgba(249,166,27,0.12); color: #9a6200; }
.tag-lfs        { background: rgba(35,45,97,0.08);   color: var(--napsa-blue); }
.tag-corporate  { background: rgba(46,59,120,0.08);  color: var(--napsa-blue-soft); }
.tag-vendor     { background: rgba(234,88,12,0.08);  color: #c2410c; }

/* ── SCHEDULE ── */
.schedule-section {
  padding: 90px 48px;
  background: var(--section-bg);
}
.schedule-inner { max-width: 1280px; margin: 0 auto; }
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.schedule-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid #edf2f7;
  transition: all 0.25s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.schedule-card:hover {
  border-color: var(--napsa-yellow);
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(35,45,97,0.1);
}
.schedule-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag-race   { background: rgba(249,166,27,0.12); color: #9a6200; }
.tag-start  { background: rgba(35,45,97,0.08);   color: var(--napsa-blue); }
.tag-awards { background: rgba(46,59,120,0.08);  color: var(--napsa-blue-soft); }

.schedule-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--napsa-blue);
}
.schedule-card .time {
  font-size: 13px;
  color: #5c6b8a;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.schedule-card .time svg {
  width: 14px; height: 14px;
  stroke: var(--napsa-yellow);
  fill: none;
  stroke-width: 2.2;
}

/* ── SPONSORS ── */
.sponsors-section {
  padding: 60px 48px;
  background: white;
}
.sponsors-inner { max-width: 1280px; margin: 0 auto; text-align: center; }
.sponsors-inner h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--napsa-blue-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 36px;
}
.sponsors-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px 56px;
}
.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.sponsor-logo {
  display: block;
  height: 100px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}
.sponsor-item:hover {
  transform: translateY(-2px);
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(115deg, var(--napsa-blue) 0%, #1f2b5e 100%);
  padding: 90px 48px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='70' height='70' viewBox='0 0 70 70' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f9a61b' fill-opacity='0.08'%3E%3Ccircle cx='35' cy='35' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-blob {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,166,27,0.15), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cta-inner p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 38px;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── ABOUT PAGE ── */
.about-page-hero {
  background: linear-gradient(115deg, var(--napsa-blue) 0%, #1f2b5e 100%);
  padding: 100px 48px 60px;
  position: relative;
  overflow: hidden;
}
.about-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='70' height='70' viewBox='0 0 70 70' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='35' cy='35' r='3' fill='%23f9a61b' fill-opacity='0.07'/%3E%3C/svg%3E");
}
.about-page-hero-blob {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,166,27,0.14), transparent 70%);
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  pointer-events: none;
}
.about-page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}
.about-page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.about-page-hero .breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.about-page-hero .breadcrumb a:hover { color: white; }
.about-page-hero .breadcrumb span { color: var(--napsa-yellow); font-weight: 700; }
.about-page-hero .breadcrumb svg {
  width: 14px;
  height: 14px;
  stroke: rgba(255,255,255,0.35);
  fill: none;
  stroke-width: 2;
}
.about-page-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.about-page-hero h1 span { color: white; }
.about-page-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}

.about-page-main {
  background: white;
}

.about-page-section {
  padding: 72px 48px;
}
.about-page-section-alt {
  background: var(--section-bg);
}
.about-page-inner {
  max-width: 1040px;
  margin: 0 auto;
}
.about-page-section h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--napsa-blue);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.about-section-sub {
  font-size: 16px;
  color: #4a5878;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 0 28px;
}
.about-page-section p {
  font-size: 16px;
  color: #2c3a5e;
  line-height: 1.7;
  margin: 0 0 16px;
}
.about-page-section p:last-child { margin-bottom: 0; }

.about-page-intro {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 320px);
  gap: 48px;
  align-items: start;
}
.about-facts-card {
  background: white;
  border-radius: 24px;
  padding: 28px 28px 24px;
  border: 1px solid #eef2ff;
  box-shadow: 0 12px 32px rgba(35,45,97,0.08);
}
.about-page-section-alt .about-facts-card {
  background: #fafbff;
}
.about-facts-card h3 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--napsa-yellow);
  margin: 0 0 16px;
}
.about-facts-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-facts-card li {
  font-size: 14px;
  color: #2c3a5e;
  line-height: 1.55;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f7;
}
.about-facts-card li:last-child { border-bottom: none; padding-bottom: 0; }
.about-facts-card strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--napsa-blue);
  margin-bottom: 4px;
}

.about-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.about-audience-card {
  background: var(--section-bg);
  border-radius: 20px;
  padding: 24px 22px;
  border: 1px solid #e8ecf4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.about-page-section-alt .about-audience-card {
  background: white;
}
.about-audience-card:hover {
  border-color: rgba(249,166,27,0.45);
  box-shadow: 0 10px 28px rgba(35,45,97,0.07);
}
.about-audience-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--napsa-blue);
  margin: 0 0 10px;
}
.about-audience-card p {
  font-size: 14px;
  margin: 0;
  color: #4a5878;
  line-height: 1.55;
}

.about-napsa-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 28px;
  align-items: center;
}
.about-napsa-block .about-napsa-copy {
  max-width: 760px;
}
.about-napsa-logo-card {
  background: white;
  border: 1px solid #e8ecf4;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(35,45,97,0.08);
}
.about-napsa-logo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.about-distances-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid #e8ecf4;
  box-shadow: 0 8px 24px rgba(35,45,97,0.06);
}
.about-distances-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: white;
}
.about-distances-table thead {
  background: var(--napsa-blue);
  color: white;
}
.about-distances-table th {
  text-align: left;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.about-distances-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #edf0f7;
  color: #2c3a5e;
  vertical-align: top;
}
.about-distances-table td:first-child {
  font-weight: 800;
  color: var(--napsa-blue);
  white-space: nowrap;
}
.about-distances-table tbody tr:last-child td { border-bottom: none; }
.about-distances-table tbody tr:nth-child(even) { background: #fbfcff; }

/* ── TERMS PAGE ── */
.terms-doc-inner {
  max-width: 820px;
}
.terms-doc-section h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: clamp(22px, 2.8vw, 30px);
}
.terms-doc-num {
  flex-shrink: 0;
  color: var(--napsa-yellow);
  font-weight: 800;
}

.terms-doc-list {
  margin: 0;
  padding: 0 0 0 22px;
  list-style: disc;
}
.terms-doc-list > li {
  margin: 0 0 14px;
  font-size: 16px;
  color: #2c3a5e;
  line-height: 1.65;
}
.terms-doc-list > li:last-child {
  margin-bottom: 0;
}

.terms-doc-sublist {
  margin: 12px 0 0;
  padding: 0 0 0 20px;
  list-style: circle;
}
.terms-doc-sublist li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #4a5878;
  line-height: 1.55;
}
.terms-doc-sublist li:last-child {
  margin-bottom: 0;
}

.terms-doc-section-accept p {
  margin-bottom: 16px;
}
.terms-doc-accept-list {
  margin: 0;
  padding: 0 0 0 24px;
  list-style: decimal;
}
.terms-doc-accept-list li {
  margin: 0 0 12px;
  font-size: 16px;
  color: #2c3a5e;
  line-height: 1.65;
  padding-left: 6px;
}
.terms-doc-accept-list li:last-child {
  margin-bottom: 0;
}

/* ── CONTACT PAGE ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* ── CONTACT PAGE ── */
.contact-page-hero {
  background: linear-gradient(115deg, var(--napsa-blue) 0%, #1f2b5e 100%);
  padding: 96px 48px 56px;
  position: relative;
  overflow: hidden;
}
.contact-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='70' height='70' viewBox='0 0 70 70' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='35' cy='35' r='3' fill='%23f9a61b' fill-opacity='0.07'/%3E%3C/svg%3E");
}
.contact-page-hero-blob {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,166,27,0.14), transparent 70%);
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  pointer-events: none;
}
.contact-page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}
.contact-page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.contact-page-hero .breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-page-hero .breadcrumb a:hover { color: white; }
.contact-page-hero .breadcrumb span { color: var(--napsa-yellow); font-weight: 700; }
.contact-page-hero .breadcrumb svg {
  width: 14px;
  height: 14px;
  stroke: rgba(255,255,255,0.35);
  fill: none;
  stroke-width: 2;
}
.contact-hero-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.contact-hero-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  margin-top: 4px;
}
.contact-hero-icon svg {
  width: 100%;
  height: 100%;
}
.contact-page-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.contact-page-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.65;
  margin: 0;
}

/* Main layout */
.contact-page-main {
  background: #f5f7fb;
}
.contact-page-section {
  padding: 64px 48px 96px;
}
.contact-page-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.contact-page-inner--2col {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

/* Info panel */
.contact-info-panel {
  background: var(--napsa-blue);
  border-radius: 24px;
  padding: 36px 32px 32px;
  color: white;
  position: sticky;
  top: 88px;
}
.contact-info-heading {
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.contact-info-lead {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin: 0 0 28px;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-channel-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(249,166,27,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--napsa-yellow);
}
.contact-channel-icon svg {
  width: 18px;
  height: 18px;
}
.contact-channel-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 3px;
}
.contact-channel-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  line-height: 1.45;
}
a.contact-channel-value:hover {
  color: var(--napsa-yellow);
}
.contact-channel-item div a.contact-channel-value {
  display: block;
}
.contact-countdown-item {
  padding-top: 4px;
}
.contact-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.contact-count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px 10px 6px;
  min-width: 48px;
}
.contact-count-number {
  font-family: 'Manrope', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--napsa-yellow);
  line-height: 1;
  letter-spacing: -0.02em;
}
.contact-count-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 3px;
}
.contact-count-sep {
  font-size: 1.2rem;
  font-weight: 800;
  color: rgba(249,166,27,0.5);
  line-height: 1;
  margin-bottom: 12px;
}
.contact-info-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.contact-info-note svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--napsa-yellow);
}

/* Form section */
.contact-form-section-heading {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--napsa-blue);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.contact-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 36px 32px;
  border: 1px solid #e4e8f2;
  box-shadow: 0 4px 24px rgba(35,45,97,0.06), 0 1px 4px rgba(35,45,97,0.04);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-form-field {
  display: flex;
  flex-direction: column;
}
.contact-form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--napsa-blue);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.contact-form .req {
  color: #c2410c;
  font-weight: 800;
}
.contact-form-optional {
  font-weight: 500;
  color: #9ca3af;
  text-transform: none;
  letter-spacing: 0;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1.5px solid #dde1ef;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  color: #111827;
  background: #fafbfd;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form input[type="tel"]::placeholder,
.contact-form textarea::placeholder {
  color: #b0b7cc;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--napsa-blue);
  box-shadow: 0 0 0 3px rgba(35, 45, 97, 0.1);
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}
.contact-form-error {
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0.3rem 0 0;
}
.contact-form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ecfdf5;
  border: 1.5px solid #6ee7b7;
  color: #065f46;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 1rem;
}
.contact-form-success svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #059669;
}
.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.contact-submit-btn svg {
  width: 15px;
  height: 15px;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-page-inner--2col {
    grid-template-columns: 1fr;
  }
  .contact-info-panel {
    position: static;
  }
}
@media (max-width: 640px) {
  .contact-page-hero {
    padding: 88px 24px 44px;
  }
  .contact-hero-content {
    gap: 14px;
  }
  .contact-hero-icon {
    width: 44px;
    height: 44px;
  }
  .contact-page-section {
    padding: 40px 20px 64px;
  }
  .contact-form-card {
    padding: 24px 20px 20px;
  }
  .contact-info-panel {
    padding: 28px 24px 24px;
  }
  .contact-form-row--2 {
    grid-template-columns: 1fr;
  }
}

/* ── FOOTER ── */
footer {
  background: var(--napsa-blue-deep);
  color: rgba(255,255,255,0.5);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
}
.footer-logo { color: white; }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── PORTAL (corporate / vendor dashboards) ── */
.portal-body {
  margin: 0;
  min-height: 100vh;
  background: #f3f5fb;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
}

.portal-body--corporate { --portal-accent: var(--napsa-blue); --portal-accent-soft: rgba(35, 45, 97, 0.08); }
.portal-body--vendor {
  --portal-accent: var(--napsa-yellow);
  --portal-accent-soft: rgba(249, 166, 27, 0.12);
}

.portal-shell {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.portal-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--napsa-blue-deep);
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-direction: column;
  padding: 28px 20px 24px;
  gap: 28px;
}

.portal-body--vendor .portal-sidebar {
  background: var(--napsa-blue-deep);
}

.portal-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.portal-sidebar-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--napsa-yellow), var(--napsa-yellow-lt));
  color: var(--napsa-blue-deep);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.portal-sidebar-logo--vendor {
  background: linear-gradient(145deg, var(--napsa-yellow), #e8920a);
  color: var(--napsa-blue-deep);
}

.portal-sidebar-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.portal-sidebar-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--napsa-yellow);
}

.portal-sidebar-badge--vendor {
  color: var(--napsa-yellow);
}

.portal-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.portal-nav-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.portal-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.portal-nav-link.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.portal-body--vendor .portal-nav-link.is-active {
  background: rgba(249, 166, 27, 0.15);
  color: var(--napsa-yellow);
}

.portal-nav-link--muted {
  font-weight: 500;
  opacity: 0.85;
}

.portal-sidebar-logout {
  margin-top: auto;
}

.portal-main-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.portal-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 28px;
}

.portal-topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.portal-topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}


.portal-topbar-label {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.portal-topbar-label strong {
  color: var(--text);
  font-weight: 700;
}

.portal-main {
  flex: 1;
  padding: 28px 28px 48px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.portal-flash {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
}

.portal-flash--success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.portal-flash--info {
  background: #eff6ff;
  color: #1e3a5f;
  border: 1px solid #93c5fd;
}

.portal-page-header {
  margin-bottom: 28px;
}

.portal-h1 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--napsa-blue);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.portal-body--vendor .portal-h1 {
  color: var(--napsa-blue);
}

.portal-lede {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 52ch;
}

.portal-section {
  margin-bottom: 36px;
}

.portal-section--muted {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.portal-section-head {
  margin-bottom: 12px;
}

.portal-pool-notice {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 16px;
  max-width: 52rem;
}
.portal-pool-notice strong {
  color: #1a1f36;
}
.portal-pool-notice-cap {
  font-weight: 600;
  color: #232d61;
  white-space: nowrap;
}

.portal-h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--napsa-blue);
  letter-spacing: -0.02em;
}

.portal-body--vendor .portal-h2 {
  color: var(--napsa-blue);
}

.portal-section-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.portal-section--actions .portal-h2 {
  margin-bottom: 16px;
}

.portal-action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.portal-action-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--card-shadow);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

a.portal-action-card:hover {
  border-color: rgba(35, 45, 97, 0.25);
  box-shadow: 0 16px 36px rgba(35, 45, 97, 0.12);
  transform: translateY(-2px);
}

.portal-action-card--note {
  box-shadow: none;
  background: var(--section-bg);
  cursor: default;
}

.portal-action-card--note:hover {
  transform: none;
}

.portal-action-card--vendor {
  border-color: rgba(249, 166, 27, 0.3);
}

a.portal-action-card--vendor:hover {
  border-color: rgba(249, 166, 27, 0.65);
  box-shadow: 0 16px 36px rgba(249, 166, 27, 0.15);
}

.portal-action-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--napsa-blue);
}

.portal-body--vendor .portal-action-card-title {
  color: var(--napsa-blue);
}

.portal-action-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.portal-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.portal-table thead {
  background: var(--napsa-blue);
  color: #fff;
}

.portal-body--vendor .portal-table thead {
  background: var(--napsa-blue);
}

.portal-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portal-table td,
.portal-table tbody th[scope="row"] {
  padding: 14px 16px;
  border-bottom: 1px solid #edf0f7;
  vertical-align: middle;
  color: #2c3a5e;
  font-weight: 500;
}

.portal-table-col-numeric,
.portal-table th.portal-table-col-numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.portal-table tbody th[scope="row"] {
  text-align: left;
  font-weight: 600;
  color: #1a1f36;
}

.portal-availability-block {
  margin-top: 4px;
}

.portal-availability-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.portal-availability-actions .portal-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.portal-availability-hint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 12px 0 0;
  max-width: 48rem;
}

.portal-availability-categories-missing {
  margin-top: 12px;
}

.portal-table tbody tr:last-child td,
.portal-table tbody tr:last-child th[scope="row"] {
  border-bottom: none;
}

.portal-table tbody tr:nth-child(even) {
  background: #fbfcff;
}

.portal-body--vendor .portal-table tbody tr:nth-child(even) {
  background: #fffbf3;
}

.portal-mono {
  font-family: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--napsa-blue);
}

.portal-body--vendor .portal-mono {
  color: var(--napsa-blue);
}

.portal-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
  background: #f3f4f6;
  color: #374151;
}

.portal-status--unpaid { background: #fef3c7; color: #92400e; }
.portal-status--pending { background: #dbeafe; color: #1e40af; }
.portal-status--completed { background: #d1fae5; color: #065f46; }
.portal-status--failed { background: #fee2e2; color: #991b1b; }
.portal-status--unknown { background: #f3f4f6; color: #6b7280; }

.portal-status-hint {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
  font-weight: 500;
}

.portal-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
  background: var(--portal-accent-soft);
  color: var(--portal-accent);
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: var(--napsa-blue);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s, opacity 0.15s;
}

.portal-btn:hover:not(:disabled) {
  background: var(--napsa-blue-soft);
}

.portal-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.portal-btn--small {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
}

.portal-btn--vendor {
  background: var(--napsa-yellow);
  color: var(--napsa-blue-deep);
}

.portal-btn--vendor:hover:not(:disabled) {
  background: #e8920a;
  color: var(--napsa-blue-deep);
}

.portal-btn--ghost {
  width: 100%;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.portal-btn--ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

.portal-btn--vendor-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

/* Vendor agreement blocks (dashboard) */
.portal-h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 24px 0 10px;
  color: var(--napsa-blue);
}

.portal-body--vendor .portal-h3 {
  color: var(--napsa-blue);
}

.portal-section--muted .portal-h3:first-of-type {
  margin-top: 4px;
}

.portal-h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 18px 0 8px;
  color: #4a5878;
}

.portal-agreement-list {
  margin: 0 0 16px;
  padding-left: 1.25em;
  font-size: 14px;
  color: #2c3a5e;
  line-height: 1.55;
}

.portal-agreement-list li {
  margin-bottom: 6px;
}

.portal-agreement-para {
  font-size: 14px;
  color: #2c3a5e;
  line-height: 1.55;
  margin: 0 0 14px;
}

.portal-table-caption {
  font-size: 13px;
  font-weight: 700;
  color: var(--napsa-blue);
  margin: 18px 0 8px;
}

.portal-table-wrap--spaced {
  margin-bottom: 4px;
}

.portal-section-intro--tight {
  margin-top: -4px;
  margin-bottom: 10px;
}

.portal-agreement-footnote {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  line-height: 1.55;
}

.portal-agreement-footnote a {
  font-weight: 600;
  text-decoration: none;
  color: var(--napsa-blue);
}

.portal-agreement-footnote a:hover {
  text-decoration: underline;
}

.portal-body--vendor .portal-agreement-footnote a {
  color: var(--napsa-blue);
}

.portal-empty {
  font-size: 15px;
  color: var(--muted);
  padding: 20px;
  background: #fff;
  border: 1px dashed #d1d9e6;
  border-radius: 12px;
}

.portal-footnote {
  font-size: 12px;
  color: #6b7280;
  margin-top: 12px;
  line-height: 1.45;
}

.portal-muted {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Two-column layout for participant add forms */
.portal-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .portal-two-col {
    grid-template-columns: 1fr;
  }
}

.portal-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 20px 16px;
}

.portal-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--napsa-blue);
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.portal-field-error {
  display: block;
  font-size: 12px;
  color: #dc2626;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .portal-shell {
    flex-direction: column;
  }
  .portal-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 20px 18px;
    gap: 16px;
  }
  .portal-sidebar-brand {
    flex: 1 1 100%;
  }
  .portal-nav {
    flex: 1 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .portal-nav-link {
    padding: 8px 12px;
    font-size: 13px;
  }
  .portal-sidebar-logout {
    margin-top: 0;
    flex: 0 0 auto;
  }
  .portal-sidebar-logout .portal-btn--ghost {
    width: auto;
  }
  .portal-main {
    padding: 20px 18px 40px;
  }
  .portal-topbar {
    padding: 14px 18px;
  }
}


/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  #app > nav, #reg-app > nav, #auth-app > nav { padding: 0 28px; }
  .hero-inner { padding: 60px 28px 80px; gap: 40px; }
  .countdown-section { padding: 0 28px; }
  .info-bar { padding: 20px 28px 40px; }
  .about-section, .reg-section, .schedule-section,
  .sponsors-section, .cta-section { padding-left: 28px; padding-right: 28px; }
  .categories-section { padding: 0 28px 60px; }
  .about-page-hero { padding: 88px 28px 56px; }
  .about-page-section { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-images { height: 320px; margin-top: 20px; }
  .categories-inner { grid-template-columns: repeat(2, 1fr); }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .reg-grid { grid-template-columns: 1fr; }
  .info-bar-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .about-page-intro { grid-template-columns: 1fr; }
  .about-napsa-block { grid-template-columns: 1fr; }
  .about-napsa-logo-card {
    max-width: 280px;
    width: 100%;
  }
  .about-audience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #app > nav, #reg-app > nav, #auth-app > nav { padding: 0 20px; }
  .nav-actions .btn-primary { display: none; }
  .hamburger { display: flex; }
  .hero-inner { padding: 48px 20px 72px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .countdown-card { padding: 28px 20px; flex-wrap: wrap; gap: 20px; }
  .count-divider { display: none; }
  .count-number { font-size: 42px; }
  .categories-inner { grid-template-columns: repeat(2, 1fr); }
  .schedule-grid { grid-template-columns: 1fr; }
  footer { padding: 28px 20px; flex-direction: column; text-align: center; gap: 16px; }
  .footer-links { justify-content: center; }
  .about-page-hero { padding: 82px 20px 48px; }
  .about-page-section { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 480px) {
  .countdown-section, .info-bar { padding-left: 16px; padding-right: 16px; }
  .about-section, .reg-section, .schedule-section,
  .sponsors-section, .cta-section, .categories-section { padding-left: 16px; padding-right: 16px; }
  .hero-inner { padding: 40px 16px 60px; }

  /* Stack hero images side-by-side instead of overlapping */
  .hero-images {
    display: flex;
    gap: 10px;
    height: 180px;
  }
  .hero-img {
    position: relative;
    flex: 1;
    width: auto;
    height: 100%;
    top: auto; left: auto; bottom: auto; right: auto;
  }
  .hero-img-1, .hero-img-2 {
    width: auto;
    height: 100%;
  }

  .categories-inner { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-white, .btn-outline-white { text-align: center; justify-content: center; }
  .about-page-hero { padding: 76px 16px 40px; }
  .about-page-section { padding-top: 40px; padding-bottom: 40px; }
  .about-audience-grid { grid-template-columns: 1fr; }
}

/* ─────────────── Corporate portal slot flow ─────────────── */
.portal-flash--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.portal-flash--success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Availability cards */
.slot-availability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 14px;
}
.slot-availability-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(35, 45, 97, 0.03);
}
.slot-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.slot-card-head h3 {
  margin: 0;
  font-size: 1rem;
  color: #232d61;
}
.slot-card-price {
  font-weight: 700;
  color: #232d61;
  font-size: 0.95rem;
}
.slot-card-meter {
  height: 6px;
  background: #eef0f6;
  border-radius: 999px;
  overflow: hidden;
}
.slot-card-meter-bar {
  height: 100%;
  width: var(--pct, 0%);
  background: linear-gradient(90deg, #f9a61b, #f26b3a);
  border-radius: 999px;
  transition: width 0.2s ease-in-out;
}
.slot-card-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  font-size: 0.82rem;
}
.slot-card-stats > div {
  background: #f4f6fb;
  border-radius: 8px;
  padding: 8px 10px;
}
.slot-card-stats dt {
  color: #6b7280;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0;
}
.slot-card-stats dd {
  margin: 2px 0 0;
  color: #1a1f36;
  font-weight: 600;
}

.slot-card-distances {
  margin-top: 4px;
}
.slot-card-distances-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #6b7280;
  margin-bottom: 6px;
}
.slot-card-distances-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.slot-card-distance {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  background: #f4f6fb;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #1a1f36;
  line-height: 1.2;
}
.slot-card-distance-name {
  font-weight: 600;
  color: #232d61;
}
.slot-card-distance-count {
  color: #374151;
  font-variant-numeric: tabular-nums;
}
.slot-card-distance.is-bottleneck {
  background: #fef6e4;
  border-color: #f9a61b;
}
.slot-card-distance.is-bottleneck .slot-card-distance-count {
  color: #92400e;
  font-weight: 700;
}
.slot-card-distance.is-empty {
  background: #fee2e2;
  border-color: #fecaca;
}
.slot-card-distance.is-empty .slot-card-distance-name,
.slot-card-distance.is-empty .slot-card-distance-count {
  color: #991b1b;
}

/* Slot-request dialog */
.portal-dialog {
  border: 0;
  padding: 0;
  border-radius: 16px;
  width: min(92vw, 520px);
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
  background: #fff;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.25);
}
.portal-dialog::backdrop {
  background: rgba(17, 24, 39, 0.5);
}
.portal-dialog--confirm {
  width: min(92vw, 420px);
}
.portal-dialog-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px 16px;
}
.portal-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.portal-dialog-head h3 {
  margin: 0;
  color: #232d61;
  font-size: 1.15rem;
}
.portal-dialog-close {
  background: transparent;
  border: 0;
  color: #6b7280;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.portal-dialog-close:hover {
  background: #f3f4f6;
}
.portal-dialog-intro {
  margin: 0;
  font-size: 0.82rem;
  color: #4b5563;
}
.portal-form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.portal-form-row label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
}
.portal-form-optional {
  color: #9ca3af;
  font-weight: 400;
}
.portal-form-row input,
.portal-form-row select {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  color: #111827;
}
.portal-form-row input:focus,
.portal-form-row select:focus {
  outline: 2px solid #f9a61b;
  outline-offset: 0;
  border-color: #f9a61b;
}
.portal-form-hint {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: #6b7280;
}
.portal-form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
}
.portal-category-lines-intro {
  margin: 0 0 8px;
}
.portal-category-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.portal-category-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.portal-category-line-fields {
  flex: 1 1 200px;
  display: grid;
  grid-template-columns: 1fr minmax(72px, 100px);
  gap: 8px;
  align-items: center;
}
.portal-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.portal-form-row--meta {
  background: #f4f6fb;
  padding: 10px 14px;
  border-radius: 10px;
}
.portal-form-meta {
  font-size: 0.9rem;
  color: #1a1f36;
}
.portal-form-error {
  margin: 0;
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
}
.portal-dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 6px;
  background: transparent;
  padding: 0;
  color: inherit;
}
.portal-dialog-actions .portal-btn {
  width: auto;
}
.portal-dialog-form .portal-btn--ghost {
  width: auto;
  color: #374151;
  border: 1px solid #d1d5db;
  background: transparent;
}
.portal-dialog-form .portal-btn--ghost:hover:not(:disabled) {
  background: #f3f4f6;
  color: #374151;
}

/* Reservation list */
.portal-reservation-list {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}
.portal-reservation {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 20px;
  display: grid;
  gap: 12px;
}
.portal-reservation-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.portal-reservation-title {
  margin: 0;
  font-size: 1.05rem;
  color: #232d61;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.5px;
}
.portal-reservation-sub {
  margin: 3px 0 0;
  font-size: 0.88rem;
  color: #6b7280;
}
.portal-status--pending-payment { background: #fef3c7; color: #92400e; }
.portal-status--pending-verification { background: #dbeafe; color: #1e40af; }
.portal-status--rejected { background: #fee2e2; color: #991b1b; }
.portal-status--confirmed { background: #d1fae5; color: #065f46; }
.portal-status--expired { background: #f3f4f6; color: #6b7280; }
.portal-status--cancelled { background: #f3f4f6; color: #6b7280; }

.portal-reservation-meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.portal-reservation-meta dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #9ca3af;
  margin: 0;
}
.portal-reservation-meta dd {
  margin: 2px 0 0;
  font-size: 0.92rem;
  color: #111827;
  font-weight: 600;
}
.portal-reservation-alert {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.portal-reservation-alert p {
  margin: 6px 0 0;
}
.portal-reservation-alert--error {
  background: #fef2f2;
  border-left: 3px solid #b91c1c;
  color: #7f1d1d;
}
.portal-reservation-alert--info {
  background: #ecfeff;
  border-left: 3px solid #0891b2;
  color: #155e75;
}
.portal-reservation-alert-meta {
  color: #6b7280;
  font-size: 0.82rem;
}

.portal-reservation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.portal-reservation-actions form {
  margin: 0;
}
.portal-pop-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px dashed #c7d0e8;
  border-radius: 10px;
  background: #f9fafc;
}
.portal-pop-picker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #232d61;
}
.portal-pop-picker input[type="file"] {
  display: none;
}
.portal-btn--danger {
  background: #b91c1c;
  color: #fff;
  border: 1px solid #991b1b;
}
.portal-btn--danger:hover:not(:disabled) {
  background: #991b1b;
}
.portal-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .portal-reservation-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .portal-dialog-form { padding: 20px; }
  .slot-card-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Student ID uploads (individual / LFS — STUDENT_50_DISCOUNT) */
.reg-student-id-block {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(35, 45, 97, 0.12);
}
.reg-student-id-block .form-group + .form-group {
  margin-top: 16px;
}
.reg-student-file-input {
  padding: 10px 12px;
  border: 1px solid #c7d0e8;
  border-radius: 8px;
  background: #fff;
  font-size: 0.9rem;
}
