/* ==========================================================================
   Education and AI Symposium — IIT Jodhpur
   Shared stylesheet
   ========================================================================== */

:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --navy-600: #1d4477;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --cyan-400: #22d3ee;
  --gold-500: #f5b700;
  --gold-100: #fff6d6;

  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-muted: #64748b;
  --line: #e2e8f0;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-alt: #eef3fa;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow: 0 10px 30px -12px rgba(11, 37, 69, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(11, 37, 69, 0.35);

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

  --container: 1180px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--teal-500); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-soft); }

:focus-visible {
  outline: 3px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--navy-800);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus { left: 12px; color: #fff; }

/* Placeholder marker — remove the class once real data is added */
.placeholder {
  background: repeating-linear-gradient(
    -45deg, rgba(245, 183, 0, 0.12), rgba(245, 183, 0, 0.12) 6px,
    rgba(245, 183, 0, 0.04) 6px, rgba(245, 183, 0, 0.04) 12px
  );
  border-radius: 4px;
  padding: 0 4px;
}
h3.placeholder, h4.placeholder, p.placeholder, li.placeholder { width: fit-content; max-width: 100%; }
.person .placeholder, .center.placeholder, .free-panel .placeholder { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-400));
  color: var(--navy-900);
  box-shadow: 0 10px 24px -10px rgba(20, 184, 166, 0.7);
}
.btn-primary:hover { color: var(--navy-900); box-shadow: 0 14px 30px -10px rgba(20, 184, 166, 0.85); }

.btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; }

.btn-lg { padding: 15px 32px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy-800); }
.brand:hover { color: var(--navy-800); }
.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 3px;
  background: #fff;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.site-footer .brand-mark { width: 60px; height: 60px; padding: 5px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.brand-sub { font-size: 0.75rem; color: var(--ink-muted); }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.nav-menu a:hover { color: var(--navy-800); background: var(--surface-alt); }
.nav-menu a.active { color: var(--navy-800); background: var(--surface-alt); font-weight: 600; }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; transform: translateX(-50%); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 20px 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-open .nav-menu { transform: none; opacity: 1; visibility: visible; }
  .nav-menu a { padding: 12px 14px; font-size: 1rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { display: flex; width: 100%; padding: 13px 20px; font-size: 1rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(34, 211, 238, 0.25), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(20, 184, 166, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  padding: 96px 0 120px;
}
.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.25fr 1fr; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 14px;
}
.hero .eyebrow { color: var(--teal-400); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }

.hero h1 { color: #fff; margin-bottom: 0.3em; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--teal-400), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.82); max-width: 580px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 26px 0 32px; }
.hero-meta-item { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.9); font-weight: 500; }
.hero-meta-item svg { width: 20px; height: 20px; color: var(--teal-400); flex-shrink: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.badge-free {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px -8px rgba(245, 183, 0, 0.7);
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-card h3 { color: #fff; font-size: 1rem; font-weight: 500; opacity: 0.85; margin-bottom: 18px; }

/* Countdown */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.countdown-unit {
  text-align: center;
  padding: 16px 6px;
  border-radius: var(--radius);
  background: rgba(7, 26, 51, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.countdown-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.countdown-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.65); }
.countdown-status { color: var(--teal-400); font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; text-align: center; }
.hero-card-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}
.hero-card-foot strong { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 72px 0 64px;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(34, 211, 238, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.page-hero .hero-net { opacity: 0.3; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.3em; }
.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 640px; font-size: 1.08rem; margin: 0; }

.breadcrumb { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 0.88rem; }
.breadcrumb li { color: rgba(255, 255, 255, 0.65); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.breadcrumb a { color: var(--teal-400); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Quick facts strip ---------- */
.facts { position: relative; margin-top: -56px; z-index: 2; }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
@media (min-width: 820px) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 24px 22px; display: flex; gap: 14px; align-items: flex-start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-alt);
  color: var(--navy-600);
  flex-shrink: 0;
}
.fact-icon svg { width: 22px; height: 22px; }
.fact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); font-weight: 600; }
.fact-value { font-family: var(--font-head); font-weight: 600; color: var(--navy-800); font-size: 1rem; line-height: 1.35; }
.fact.is-free .fact-icon { background: var(--gold-100); color: #b58500; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--surface); }
.section-tint { background: var(--surface-alt); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split.top { align-items: start; }

.grid { display: grid; gap: 24px; }
.grid > *, .split > * { min-width: 0; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(34, 211, 238, 0.14));
  color: var(--teal-500);
}
.card-icon svg { width: 26px; height: 26px; }

.card-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal-500);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

/* About visual */
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  padding: 40px;
  color: #fff;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.about-visual .hero-net { opacity: 0.35; }
.about-visual > * { position: relative; }
.about-visual h3 { color: #fff; font-size: 1.5rem; }
.about-visual p { color: rgba(255, 255, 255, 0.78); }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- People (speakers / committee) ---------- */
.person { text-align: center; padding: 32px 24px; }
.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-700), var(--teal-500));
  box-shadow: 0 0 0 6px var(--surface-alt);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: 4px; }
.person-role { font-weight: 600; color: var(--teal-500); font-size: 0.92rem; margin-bottom: 4px; }
.person-org { font-size: 0.9rem; color: var(--ink-muted); margin-bottom: 14px; }
.person-talk {
  font-size: 0.88rem;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--ink-soft);
  margin: 0;
}
.person-talk strong { color: var(--navy-800); display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }

.organizer-card {
  display: grid;
  gap: 32px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
@media (min-width: 760px) { .organizer-card { grid-template-columns: auto 1fr; } }
.organizer-card .avatar { width: 150px; height: 150px; font-size: 2.4rem; margin: 0 auto; }
.organizer-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: #0f8a7d;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- Schedule ---------- */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--gold-100);
  border: 1px solid #f3dd8c;
  color: #7a5a00;
  margin-bottom: 32px;
  font-size: 0.95rem;
}
.notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }

.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--surface-alt); border-radius: 999px; margin-bottom: 36px; flex-wrap: wrap; }
.tab {
  border: 0;
  background: transparent;
  padding: 11px 24px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.tab small { display: block; font-weight: 500; font-size: 0.75rem; opacity: 0.75; }
.tab[aria-selected="true"] { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-sm); }

.tab-panel[hidden] { display: none; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 118px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline-item { display: grid; grid-template-columns: 100px 1fr; gap: 36px; padding: 0 0 20px; position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 112px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--teal-500);
}
.timeline-time { font-family: var(--font-head); font-weight: 600; color: var(--navy-800); padding-top: 16px; font-size: 0.92rem; text-align: right; }
.timeline-body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.timeline-body h3 { margin-bottom: 4px; font-size: 1.05rem; }
.timeline-body p { margin: 0; font-size: 0.92rem; }
.session-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  background: var(--surface-alt);
  color: var(--navy-600);
}
.session-type.keynote { background: rgba(20, 184, 166, 0.14); color: #0f8a7d; }
.session-type.break { background: var(--gold-100); color: #8a6500; }
.session-type.hands-on { background: rgba(34, 211, 238, 0.14); color: #0e7490; }
.timeline-item.is-break .timeline-body { background: var(--bg); border-style: dashed; }

@media (max-width: 640px) {
  .timeline::before { left: 7px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; padding-left: 32px; }
  .timeline-item::before { left: 0; top: 4px; }
  .timeline-time { text-align: left; padding-top: 0; }
}

/* ---------- Registration ---------- */
.free-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: #fff;
  text-align: center;
}
.free-panel .hero-net { opacity: 0.3; }
.free-panel > * { position: relative; }
.free-price { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 8vw, 4.6rem); line-height: 1; color: var(--gold-500); margin: 10px 0; }
.free-panel h2 { color: #fff; }
.free-panel p { color: rgba(255, 255, 255, 0.8); max-width: 540px; margin: 0 auto 28px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 20px 22px 20px 78px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-400));
  color: var(--navy-900);
}
.steps h3 { margin-bottom: 2px; font-size: 1.02rem; }
.steps p { margin: 0; font-size: 0.92rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; min-width: 420px; }
.table th,
.table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.table th { font-family: var(--font-head); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); background: var(--surface-alt); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; color: var(--navy-800); }

/* ---------- Venue ---------- */
.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--surface-alt);
}
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .fact-icon { background: var(--surface-alt); }
.info-list h4 { margin: 0 0 2px; font-size: 1rem; }
.info-list p { margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-800);
}
.faq-q::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--teal-500);
  border-bottom: 2px solid var(--teal-500);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-3px); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 20px; margin: 0; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }

/* ---------- Contact ---------- */
.contact-card { display: flex; gap: 18px; align-items: flex-start; }
.contact-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.contact-card p { margin: 0; }

/* ---------- CTA banner ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(34, 211, 238, 0.3), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: #fff;
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 860px) { .cta { grid-template-columns: 1fr auto; padding: 56px 64px; } }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: rgba(255, 255, 255, 0.8); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.72); padding: 72px 0 0; margin-top: 0; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.3fr; } }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.site-footer p { color: rgba(255, 255, 255, 0.65); font-size: 0.93rem; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-sub { color: rgba(255, 255, 255, 0.55); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.7); font-size: 0.93rem; }
.footer-links a:hover { color: var(--teal-400); }
.footer-bottom {
  margin-top: 56px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--navy-800);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal-500); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Registration form ---------- */
.page-hero-compact { padding-bottom: 48px; }
.page-hero-compact h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.form-page {
  padding-top: 40px;
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 184, 166, 0.08), transparent 36%),
    var(--bg);
}

.container.narrow { max-width: 820px; }

.reg-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.reg-shell-head {
  padding: 32px 36px 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(45, 212, 191, 0.18), transparent 40%),
    linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: #fff;
}

.reg-shell-head .eyebrow { color: var(--teal-400); }
.reg-shell-head h2 { color: #fff; margin-bottom: 0.35em; }
.reg-shell-head p { color: rgba(255, 255, 255, 0.78); margin: 0; max-width: 40rem; }

.reg-form { padding: 32px 36px 36px; }

.reg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-800);
}

.field abbr { color: #b45309; text-decoration: none; }
.field-full { grid-column: 1 / -1; }
.field-hint { font-size: 0.78rem; font-weight: 400; color: var(--ink-muted); }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-muted); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
  background: #fff;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.phone-field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-field:focus-within {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
  background: #fff;
}

.phone-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--surface-alt);
  border-right: 1px solid var(--line);
  letter-spacing: 0.02em;
}

.phone-field input {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-field input:focus {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.field-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  color: var(--ink-soft);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.field-check input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--teal-500);
}

.reg-form-actions {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.reg-form-status {
  margin: 0;
  font-size: 0.95rem;
  min-height: 1.4em;
}

.reg-form-status.is-ok { color: #0f766e; font-weight: 600; }
.reg-form-status.is-error { color: #b91c1c; font-weight: 600; }
.reg-form-status.is-pending { color: var(--ink-muted); }

.reg-form.is-submitting .btn { opacity: 0.7; pointer-events: none; }

@media (max-width: 640px) {
  .reg-shell-head,
  .reg-form { padding: 24px 18px; }
  .reg-form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 48px; }
.center { text-align: center; }
.text-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: "→"; transition: transform 0.2s ease; }
.text-link:hover::after { transform: translateX(4px); }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 104px; }
  .hero-card, .free-panel, .cta, .organizer-card { padding: 28px 22px; }
  .fact { padding: 18px 16px; }
  .countdown { gap: 8px; }
  .btn-lg { white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
