:root {
  --bg: #f5f7fb;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-2: rgba(255, 255, 255, 0.94);
  --text: rgba(15, 23, 42, 0.92);
  --muted: rgba(15, 23, 42, 0.66);
  --line: rgba(15, 23, 42, 0.14);
  --brand: #f97316;
  --brand-2: #fbbf24;
  --shadow: 0 18px 55px rgba(2, 6, 23, 0.12);
  --radius: 18px;
  --radius-2: 26px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 10% 20%, rgba(251, 191, 36, 0.14), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(249, 115, 22, 0.12), transparent 56%),
    radial-gradient(1200px 800px at 50% 120%, rgba(2, 6, 23, 0.04), transparent 58%),
    var(--bg);
  font-family: Bahnschrift, "Segoe UI Variable Text", "Segoe UI", sans-serif;
  line-height: 1.45;
}

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

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 14px;
  padding: 10px 12px;
  background: rgba(2, 6, 23, 0.92);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
}
.skip-link:focus { top: 14px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(245, 247, 251, 0.85);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand__logo {
  width: 64px;
  height: 64px;
  padding: 4px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.14);
  border: 1px solid var(--line);
  background: #fff;
}
.brand__name { font-weight: 760; letter-spacing: 0.2px; }
.brand__tag { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__link {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
}
.nav__link:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(15, 23, 42, 0.04);
}
.nav__link.is-active {
  color: var(--text);
  border-color: rgba(249, 115, 22, 0.38);
  background: rgba(251, 191, 36, 0.16);
}
.nav__cta {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.12);
}
.nav__cta:hover {
  background: rgba(249, 115, 22, 0.18);
}

.nav__drop { position: relative; }
.nav__link--summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.nav__link--summary::-webkit-details-marker { display: none; }
.nav__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(245, 247, 251, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.10);
  z-index: 50;
}
.nav__drop[open] .nav__menu { display: grid; gap: 4px; }
.nav__menu-link {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
}
.nav__menu-link:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(15, 23, 42, 0.04);
}
.nav__menu-link.is-active {
  color: var(--text);
  border-color: rgba(249, 115, 22, 0.38);
  background: rgba(251, 191, 36, 0.16);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(15, 23, 42, 0.78);
  margin: 4px auto;
  border-radius: 2px;
}

.hero {
  padding: 62px 0 42px;
  position: relative;
}
.hero--bg {
  background-image: url("/images/hero-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(245, 247, 251, 0.72), rgba(245, 247, 251, 0.96)),
    radial-gradient(900px 520px at 10% 15%, rgba(251, 191, 36, 0.14), transparent 62%),
    radial-gradient(900px 520px at 90% 10%, rgba(249, 115, 22, 0.10), transparent 62%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
}
.hero__title {
  margin: 14px 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.6px;
  line-height: 1.06;
}
.hero__lead {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}
.hero__lead-stack {
  display: grid;
  gap: 10px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  margin: 18px 0 18px;
  flex-wrap: wrap;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.meta-card {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.meta-card__k { color: var(--muted); font-size: 12px; }
.meta-card__v { margin-top: 6px; font-weight: 680; font-size: 14px; }

.hero__media {
  display: grid;
  gap: 12px;
  justify-items: end;
}
.photo-stack {
  position: relative;
  width: min(420px, 100%);
  height: 420px;
}
.photo-stack__card {
  position: absolute;
  border-radius: var(--radius-2);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel);
}
.photo-stack__card img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack__card--a {
  inset: 0 60px 60px 0;
  transform: rotate(-2.5deg);
}
.photo-stack__card--b {
  inset: 60px 0 0 60px;
  transform: rotate(2.6deg);
}
.hero__note {
  width: min(420px, 100%);
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(249, 115, 22, 0.35);
  background: rgba(251, 191, 36, 0.12);
  color: var(--text);
}

.section { padding: 52px 0; }
.section--alt {
  background:
    radial-gradient(900px 420px at 10% 20%, rgba(249, 115, 22, 0.16), transparent 60%),
    rgba(2, 6, 23, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head { margin-bottom: 20px; }
.h1 { font-size: clamp(34px, 4vw, 46px); margin: 0 0 10px; letter-spacing: -0.6px; }
.h2 { font-size: 26px; margin: 0 0 8px; letter-spacing: -0.35px; }
.h3 { font-size: 18px; margin: 0 0 10px; letter-spacing: -0.2px; }
.lead { margin: 0; max-width: 70ch; color: var(--muted); }
.muted { color: var(--muted); margin: 0; }
.mt { margin-top: 18px; }

.grid { display: grid; gap: 14px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px 16px;
  min-height: 220px;
  display: grid;
  gap: 10px;
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.10);
}
.card__p { margin: 0; color: var(--muted); }
.card__meta { color: var(--muted); font-size: 13px; }
.card__link {
  margin-top: auto;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.card__link:hover { text-decoration: underline; }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
}

.feature {
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}
.feature__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(249, 115, 22, 0.16);
  border: 1px solid rgba(249, 115, 22, 0.35);
  font-weight: 900;
  margin-bottom: 10px;
}
.feature__title { font-weight: 780; margin-bottom: 6px; }
.feature__p { color: var(--muted); }

.cta-band {
  margin-top: 18px;
  border-radius: 22px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: rgba(251, 191, 36, 0.10);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cta-band--compact { margin-top: 14px; }
.cta-band__title { font-weight: 820; margin-bottom: 4px; }
.cta-band__p { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-weight: 760;
  cursor: pointer;
}
.btn--primary {
  border-color: rgba(249, 115, 22, 0.6);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(251, 191, 36, 0.55));
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.22);
}
.btn--ghost:hover { background: var(--panel-2); }
.btn--primary:hover { filter: saturate(1.05) brightness(1.02); }
.btn:disabled { opacity: 0.65; cursor: not-allowed; }

.page-hero {
  padding: 44px 0 22px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(251, 191, 36, 0.16), transparent 60%),
    rgba(2, 6, 23, 0.02);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px 16px;
}
.panel--accent {
  border-color: rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.06);
}
.panel__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.list { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.list li { margin: 10px 0; }

.steps { display: grid; gap: 12px; margin-top: 10px; }
.step { display: flex; gap: 12px; }
.step__n {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  border: 1px solid var(--line);
  background: var(--panel);
}
.step__t { font-weight: 820; }
.step__p { color: var(--muted); }

.notice {
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: rgba(251, 191, 36, 0.10);
}
.notice__title { font-weight: 860; margin-bottom: 4px; }
.notice__p { color: var(--muted); }

.enroll {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 14px;
  align-items: start;
}
.enroll__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px 16px;
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.10);
}
.enroll__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.enroll__title { font-weight: 900; font-size: 18px; }
.enroll__muted { color: var(--muted); font-size: 13px; }
.flash {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: rgba(251, 191, 36, 0.12);
  color: var(--text);
}
.flash--danger {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.10);
}

.form { margin-top: 14px; }
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.form__actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 12px; color: var(--muted); }
.field__input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  outline: none;
}
.field__input:focus {
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}
.field__error { font-size: 12px; color: rgba(255, 180, 180, 0.95); }

.aside-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 16px 14px;
}
.aside-card--soft {
  border-color: var(--line);
  background: var(--panel-2);
}
.aside-card__title { font-weight: 900; margin-bottom: 8px; }
.aside-card__p { color: var(--muted); margin: 10px 0 0; }

.footer {
  margin-top: 54px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.02);
  padding: 26px 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}
.footer__logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  padding: 4px;
  object-fit: contain;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.12);
  margin-bottom: 10px;
  background: #fff;
}
.footer__title { font-weight: 880; margin-bottom: 6px; }
.footer__muted { color: var(--muted); }
.footer__fineprint { color: var(--muted); font-size: 12px; margin-top: 16px; }
.link { color: var(--text); }
.map-embed {
  width: 100%;
  height: clamp(280px, 44vh, 420px);
  border: 0;
  border-radius: var(--radius);
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { justify-items: start; }
  .hero__meta { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: 1fr; }
  .enroll { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav {
    position: absolute;
    top: 66px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(245, 247, 251, 0.95);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .nav__cta { text-align: center; }
  .nav__drop { width: 100%; }
  .nav__menu {
    position: static;
    min-width: 0;
    padding: 6px 0 2px 12px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }
  .nav__menu-link { padding: 10px 0; }
  .form__grid { grid-template-columns: 1fr; }
  .photo-stack { height: 360px; }
}
