:root {
  --bg: #f3f5f8;
  --bg2: #eef2f6;
  --surface: #ffffff;
  --text: #12233a;
  --text2: #3d5166;
  --muted: #6b7c8f;
  --line: #e3e9f0;
  --navy: #0f3a6b;
  --navy2: #0a2b52;
  --gold: #e87a22;
  --gold-soft: #fde6d2;
  --orange: #e87a22;
  --blue: #2b8fd6;
  --green: #2e9e4f;
  --accent: #0f3a6b;
  --danger: #b42318;
  --ok: #176c45;
  --shadow: 0 16px 48px rgba(15, 42, 71, 0.08);
  --shadow-sm: 0 8px 24px rgba(15, 42, 71, 0.06);
  --max: 1240px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--max);
  margin: auto;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(360px, 42vw);
  object-fit: contain;
}
.topbar nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
}
.topbar nav a:hover { color: var(--navy); }
.actions { display: flex; align-items: center; gap: 4px; }
.lang {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
}
.lang.active {
  color: var(--navy);
  background: var(--bg2);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--navy);
  margin-left: 8px;
}

.hero {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  max-width: var(--max);
  margin: auto;
  padding: 72px 28px 64px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 640px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 58, 107, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 58, 107, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  z-index: 0;
  animation: gridShift 28s linear infinite;
}
@keyframes gridShift {
  from { background-position: 0 0; }
  to { background-position: 72px 72px; }
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.42;
  z-index: 0;
  animation: glowFloat 12s ease-in-out infinite;
}
.glow-1 {
  width: 480px;
  height: 480px;
  background: #b9d4ee;
  right: -80px;
  top: 20px;
}
.glow-2 {
  width: 320px;
  height: 320px;
  background: #f7d3b3;
  left: 8%;
  bottom: -140px;
  animation-delay: -4s;
}
.glow-3 {
  width: 260px;
  height: 260px;
  background: #c8e6d0;
  left: 42%;
  top: -80px;
  opacity: 0.28;
  animation-delay: -7s;
}
@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -16px) scale(1.06); }
}
.hero-content { position: relative; z-index: 2; min-width: 0; }
.eyebrow, .kicker, .mini-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 700;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
h1, h2, h3 { font-family: Manrope, Inter, sans-serif; margin: 0; }
h1 {
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin: 20px 0 16px;
  color: var(--navy2);
}
.hero h1 span { color: var(--navy); }
.lead {
  max-width: 540px;
  color: var(--text2);
  font-size: 17px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.18s ease;
}
.btn.primary {
  background: var(--navy);
  color: #fff;
}
.btn.primary:hover { background: var(--navy2); transform: translateY(-1px); }
.btn.primary:disabled { opacity: 0.65; cursor: wait; transform: none; }
.btn.ghost {
  border-color: var(--line);
  color: var(--navy);
  background: var(--surface);
}
.btn.ghost:hover { border-color: var(--navy); }
.hero-meta { display: flex; gap: 42px; margin-top: 56px; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta b { font-family: Manrope, Inter, sans-serif; font-size: 24px; color: var(--navy); }
.hero-meta span { font-size: 11px; color: var(--muted); margin-top: 3px; }

.hero-card {
  width: 360px;
  min-height: 420px;
  margin-left: auto;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.hero-media {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 14px;
  border: 1px solid rgba(232, 122, 34, 0.38);
  border-radius: 18px;
  z-index: 0;
}
.hero-media-frame {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 22px 56px rgba(15, 42, 71, 0.12);
  overflow: hidden;
}
.hero-media-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #102a4c;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #102a4c;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.hero-video.ready { opacity: 1; }
.hero-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background: linear-gradient(180deg, #f7fafc, #e8eef5);
  color: var(--text2);
}
.hero-video-placeholder[hidden] { display: none !important; }
.hero-video-placeholder img {
  width: min(72%, 280px);
  height: auto;
  margin-bottom: 14px;
}
.hero-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  margin-bottom: 12px;
  box-shadow: 0 10px 24px rgba(15, 42, 71, 0.22);
}
.hero-video-placeholder p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 280px;
}
.hero-media-ctrl {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 42, 71, 0.78);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  z-index: 3;
}
.hero-media-ctrl:hover { background: var(--navy); }
.card-stripe {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--orange), var(--green));
}
.card-top, .card-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
}
.card-title {
  font-family: Manrope, Inter, sans-serif;
  font-size: 34px;
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy2);
  margin: 48px 0 auto;
}
.card-title em { color: var(--gold); font-style: normal; }
.card-note {
  font-size: 13px;
  color: var(--text2);
  margin: 0 0 28px;
}
.card-bottom { padding-top: 16px; border-top: 1px solid var(--line); }

.countdown-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 48px 28px 52px;
  text-align: center;
}
.countdown-intro { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.countdown-intro .mini-label { font-size: 13px; }
.countdown-intro strong { font-size: 18px; color: var(--navy); letter-spacing: 0.04em; }
.countdown { display: flex; align-items: center; justify-content: center; gap: 18px; }
.countdown div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 92px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 14px 14px;
}
.countdown b {
  font-family: Manrope, Inter, sans-serif;
  font-size: 42px;
  line-height: 1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.countdown span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; }
.countdown i { color: var(--muted); font-style: normal; font-size: 28px; font-weight: 600; }

.section { max-width: var(--max); margin: auto; padding: 110px 28px; }
.about { padding-top: 72px; }
.section-head { margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-top: 14px;
  color: var(--navy2);
}
.section-head h2 span,
.register h2 span,
.faq h2 span { color: var(--gold); }

.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: start; }
.about .section-head { margin-bottom: 24px; }
.large {
  font-size: 26px;
  line-height: 1.4;
  color: var(--text2);
  max-width: 540px;
  margin: 0;
}
.feature-list {
  padding: 0;
}
.feature-heading {
  font-family: Manrope, Inter, sans-serif;
  font-size: 17px;
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.feature {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: 0; }
.feature > span {
  font-size: 12px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.55;
  padding-top: 1px;
}
.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text2);
}

.program {
  background: var(--bg2);
  max-width: none;
  padding-left: max(28px, calc((100vw - var(--max)) / 2 + 28px));
  padding-right: max(28px, calc((100vw - var(--max)) / 2 + 28px));
}
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1184px;
}
.day {
  min-height: 390px;
  border: 1px solid var(--line);
  padding: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
}
.day.featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%);
  color: #fff;
  border-color: var(--navy);
}
.day-num { font-family: Manrope, Inter, sans-serif; font-size: 48px; line-height: 1; }
.day-date { font-size: 10px; letter-spacing: 0.16em; margin-top: 14px; opacity: 0.65; }
.day h3 {
  font-size: 28px;
  line-height: 1.1;
  max-width: 360px;
  margin-top: 64px;
  letter-spacing: -0.03em;
}
.day ul { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.day li { font-size: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.day li:before { content: "→"; margin-right: 10px; color: var(--gold); }
.featured ul, .featured li { border-color: rgba(255, 255, 255, 0.14); }

.register { padding-top: 110px; }
.register-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 620px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.register-copy {
  padding: 56px 48px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc, #eef3f8);
}
.register h2 {
  font-size: 52px;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 18px 0;
  color: var(--navy2);
}
.register-copy > p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 390px;
}
.contact-line {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 80px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.contact-line > span {
  font-family: Manrope, Inter, sans-serif;
  font-size: 30px;
  color: var(--gold);
}
.contact-line b { display: block; font-size: 12px; color: var(--navy); }
.contact-line small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }

.form-wrap { padding: 0; }
.form { padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label > span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
input, select, textarea {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--text);
  padding: 0 14px;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
textarea {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  background: var(--surface);
}
input.invalid, select.invalid { border-color: var(--danger); background: #fff7f6; }
input::placeholder { color: #9aa8b6; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7C8F' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field-error {
  display: block;
  min-height: 16px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--danger);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
}
.check input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--navy); flex: none; }
.check span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text2);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}
.submit { width: 100%; margin-top: 6px; justify-content: center; }
.form-note { font-size: 11px; color: var(--muted); margin: 0; }
.why { padding-top: 40px; padding-bottom: 40px; }
.why-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
}
.why-panel h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  color: var(--navy2);
  margin: 14px 0 22px;
  letter-spacing: -0.04em;
}
.why-panel p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text2);
  max-width: 860px;
  margin: 0 0 14px;
}
.why-panel p:last-of-type { margin-bottom: 22px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}
.why-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.why-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dce6f0;
}
.why-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.why-card span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding: 14px 16px 0;
}
.why-card b {
  font-family: Manrope, Inter, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: var(--navy);
  font-weight: 700;
  padding: 8px 16px 16px;
}

.country-field { display: block; }
.country-wrap { position: relative; }
.country-trigger {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7C8F' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--text);
  padding: 0 36px 0 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 14px;
}
.country-trigger-text { display: inline-flex; align-items: center; gap: 8px; color: #9aa8b6; }
.country-trigger.invalid { border-color: var(--danger); background: #fff7f6; }
.country-trigger.has-value .country-trigger-text { color: var(--text); }
.country-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-height: 280px;
  overflow: auto;
  padding: 6px;
}
.country-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 10px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  text-align: left;
}
.country-option:hover,
.country-option.active { background: var(--bg); }
.flag-img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
  flex: none;
  background: #e8eef5;
}

.photo-field > span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.photo-row {
  display: flex;
  align-items: stretch;
  gap: 20px;
}
.photo-drop {
  width: 180px;
  aspect-ratio: 3 / 4;
  min-height: 0;
  flex: none;
  border: 1px dashed var(--line);
  background: #f8fafc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}
.photo-drop.invalid { border-color: var(--danger); background: #fff7f6; }
.photo-placeholder {
  font-size: 12px;
  color: var(--muted);
  padding: 14px 10px;
  text-align: center;
  line-height: 1.4;
}
.photo-drop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.photo-help {
  margin: 0;
  padding: 2px 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: 0;
}
.photo-help li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text2);
}
.photo-help li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.modal-card.ticket { text-align: center; }
.ticket-photo {
  width: 96px;
  height: 128px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 16px;
  background: var(--bg);
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(15, 42, 71, 0.12);
}
.ticket-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ticket-photo:not(.has-photo) { display: none; }
.ticket-name { font-family: Manrope, Inter, sans-serif; font-size: 18px; color: var(--navy); margin: 0 0 4px; font-weight: 700; }
.ticket-meta { font-size: 13px; color: var(--muted); margin: 0 0 14px; }

.already-box {
  padding: 56px 48px;
  text-align: center;
}
.already-box h3 { font-size: 26px; color: var(--navy2); margin: 8px 0 10px; }
.already-box p { color: var(--text2); font-size: 14px; margin: 0 0 22px; }
.already-box .btn { width: 100%; justify-content: center; margin-top: 18px; }

.reg-id {
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.reg-id span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.reg-id strong {
  font-family: Manrope, Inter, sans-serif;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.faq { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 80px; }
.faq .section-head { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary {
  cursor: pointer;
  list-style: none;
  font-family: Manrope, Inter, sans-serif;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  color: var(--navy);
}
summary::-webkit-details-marker { display: none; }
summary:after { content: "+"; font-weight: 400; color: var(--gold); }
details[open] summary:after { content: "−"; }
details p { color: var(--text2); font-size: 14px; line-height: 1.7; max-width: 700px; margin: 14px 0 0; }

footer {
  max-width: var(--max);
  margin: auto;
  padding: 28px 28px 44px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.footer-logo { height: 42px; width: auto; max-width: 260px; object-fit: contain; }
footer a { color: var(--navy); font-weight: 600; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 28, 48, 0.45);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 20px;
  z-index: 100;
}
.modal.show { display: grid; }
.modal-card {
  width: min(500px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  border-radius: 12px;
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
}
.success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 22px;
}
.success-icon.sm { width: 44px; height: 44px; font-size: 20px; }
.modal-card h2 { font-size: 32px; margin: 14px 0 10px; color: var(--navy2); }
.modal-card p { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 20px; }
.modal-card .reg-id { margin-bottom: 22px; text-align: left; }
.modal-card .btn { width: 100%; justify-content: center; }

.admin-page { background: var(--bg); min-height: 100vh; }
.admin-shell { max-width: 1180px; margin: 0 auto; padding: 40px 24px 80px; }
.admin-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 32px;
}
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}
.admin-head h1 { font-size: 28px; color: var(--navy2); }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.stat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
.stat b { display: block; font-size: 26px; color: var(--navy); font-family: Manrope, Inter, sans-serif; }
.stat span { font-size: 12px; color: var(--muted); }
.admin-toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-toolbar input {
  max-width: 280px;
  background: var(--surface);
}
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: #f8fafc; color: var(--muted); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
td { color: var(--text); }
.login-box { max-width: 420px; margin: 12vh auto; }
.login-box .brand-logo { height: 56px; max-width: 100%; }
.login-box h1 { font-size: 28px; margin-bottom: 8px; }
.login-box p { color: var(--text2); margin: 0 0 22px; }
.admin-photo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.topbar nav a.is-active { color: var(--navy); font-weight: 700; }
.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.admin-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text2);
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.admin-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.admin-projects {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
}
.admin-card h2 {
  font-size: 20px;
  color: var(--navy2);
  margin: 0 0 18px;
}
.project-form-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
}
.admin-project-list { display: flex; flex-direction: column; gap: 10px; }
.admin-project-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  background: var(--bg);
}
.admin-project-item img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #dce6f0;
}
.admin-project-item b { display: block; color: var(--navy); font-size: 14px; }
.admin-project-item span { color: var(--muted); font-size: 12px; }
.admin-project-item .admin-toolbar { margin: 0; }
.projects-page { background: var(--bg); }
.projects-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 48px;
  padding-bottom: 12px;
}
.projects-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--navy2);
  margin: 12px 0 16px;
  letter-spacing: -0.04em;
}
.projects-hero p {
  max-width: 720px;
  font-size: 18px;
  color: var(--text2);
  line-height: 1.7;
  margin: 0;
}
.projects-body { max-width: var(--max); margin: 0 auto; padding-top: 12px; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.project-photo {
  aspect-ratio: 16 / 9;
  background: #dce6f0;
  overflow: hidden;
}
.project-photo img, .project-photo-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-photo-fallback {
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 800;
  font-size: 28px;
}
.project-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-sector {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project-body h2 {
  font-family: Manrope, Inter, sans-serif;
  font-size: 20px;
  line-height: 1.3;
  color: var(--navy2);
  margin: 0;
}
.project-body p {
  margin: 0;
  color: var(--text2);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: end;
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.project-meta b { color: var(--navy); }
.projects-empty { color: var(--text2); font-size: 18px; }

@media (max-width: 850px) {
  .menu-toggle { display: grid; place-items: center; }
  .topbar nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 28px 18px;
    gap: 14px;
  }
  .topbar.nav-open nav { display: flex; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: 48px; min-height: auto; grid-template-columns: 1fr; gap: 32px; }
  .hero-content { width: 100%; }
  .hero-media { max-width: 640px; }
  .hero-meta { margin-top: 42px; }
  .countdown-wrap { padding: 36px 28px; }
  .countdown b { font-size: 36px; }
  .countdown div { min-width: 76px; }
  .about-grid, .program-grid, .register-panel, .faq, .admin-stats { grid-template-columns: 1fr; }
  .register-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-line { margin-top: 40px; }
  .faq { gap: 40px; }
  .form, .already-box, .register-copy { padding: 32px; }
  .why-panel { padding: 32px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid, .admin-projects { grid-template-columns: 1fr; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .admin-head { flex-direction: column; align-items: stretch; }
  .admin-shell { max-width: 1180px; }
}
@media (max-width: 560px) {
  .topbar-inner { padding: 0 16px; }
  .hero-inner { padding-left: 18px; padding-right: 18px; }
  .brand-logo { height: 40px; max-width: 54vw; }
  .topbar-inner { height: 70px; }
  .hero h1 { font-size: 48px; }
  .eyebrow { white-space: normal; letter-spacing: 0.1em; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-meta { gap: 16px; justify-content: space-between; }
  .countdown-wrap { padding: 28px 18px; }
  .countdown { gap: 8px; width: 100%; justify-content: center; }
  .countdown div { min-width: 0; flex: 1; padding: 12px 6px; }
  .countdown b { font-size: 28px; }
  .countdown i { font-size: 20px; }
  .section { padding-left: 18px; padding-right: 18px; }
  .large { font-size: 20px; }
  .program { padding-left: 18px; padding-right: 18px; }
  .day { min-height: 0; }
  .day h3 { margin-top: 36px; font-size: 24px; }
  .register h2 { font-size: 40px; }
  .form, .already-box { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .photo-row { flex-direction: column; }
  .why-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  footer { padding: 24px 18px; flex-wrap: wrap; gap: 16px; }
  .modal-card { padding: 32px 22px; }
  .hero-media { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-grid, .hero-glow { animation: none; }
}
