:root {
  --navy: #0e2438;
  --navy-2: #15324c;
  --navy-3: #1d425f;
  --gold: #d8a43a;
  --gold-2: #c08f28;
  --gold-soft: #ecca84;
  --cream: #f4eee2;
  --paper: #ffffff;
  --ink: #15243a;
  --ink-2: #44546a;
  --muted: #7c8696;
  --line: rgba(14, 36, 56, 0.12);
  --line-2: rgba(14, 36, 56, 0.07);
  --line-light: rgba(255, 255, 255, 0.16);
  --serif: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --wrap: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 20px 0;
  transition: background .35s, padding .35s, box-shadow .35s;
}
.nav--scrolled {
  background: rgba(14, 36, 56, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.brand__mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
}
.brand__txt { line-height: 1.05; }
.brand__name {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand__sub {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.nav__links {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.82);
}
.nav__links a { transition: color .2s; position: relative; }
.nav__links a:hover { color: #fff; }
.nav__links a.is-accent { color: var(--gold-soft); }
.nav__tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all .2s;
}
.nav__tg:hover { background: var(--gold-2); border-color: var(--gold-2); }
.nav__tg svg { width: 16px; height: 16px; }
.nav__burger { display: none; }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__inner { padding: 0 20px; gap: 16px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all .2s;
  border: 1px solid transparent;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,0.42); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  padding: 130px 0 56px;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 50%;
  z-index: 0;
}
.hero__shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(14,36,56,0.62) 0%, rgba(14,36,56,0.12) 26%, rgba(14,36,56,0.12) 50%, rgba(14,36,56,0.86) 100%),
    linear-gradient(90deg, rgba(14,36,56,0.55) 0%, rgba(14,36,56,0) 64%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 26px;
  color: rgba(255,255,255,0.9);
}
.hero__flag {
  display: inline-block;
  width: 26px; height: 16px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3);
  background:
    linear-gradient(to bottom, #fff 0 33.3%, #0039A6 33.3% 66.6%, #D52B1E 66.6% 100%);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 7.2vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--gold-soft); }
.hero__lead {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  max-width: 56ch;
  margin-bottom: 38px;
  color: rgba(255,255,255,0.92);
  text-wrap: pretty;
}
.hero__row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero__strip {
  display: flex;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}
.hero__stat { display: flex; flex-direction: column; gap: 4px; }
.hero__stat strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
}
.hero__stat span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
}
.hero__divider { width: 1px; background: var(--line-light); }

/* Countdown pill in hero */
.hero__count {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  text-align: right;
}
.hero__count span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
}
.hero__count strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  color: var(--gold-soft);
}
@media (max-width: 720px) {
  .hero__count { margin-left: 0; align-items: flex-start; text-align: left; }
}

/* ============ SECTION SHELL ============ */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 120px 40px;
}
.sec-head { margin-bottom: 60px; max-width: 760px; }
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 18px;
  font-weight: 600;
}
.sec-eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--gold);
}
.sec-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.sec-lede {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}
@media (max-width: 700px) {
  .section { padding: 80px 22px; }
  .sec-head { margin-bottom: 40px; }
}

/* ============ STAGES ============ */
.stages { background: var(--navy); color: #fff; }
.stages .sec-title { color: #fff; }
.stages .sec-lede { color: rgba(255,255,255,0.75); }
.stages .sec-eyebrow { color: var(--gold-soft); }

.stage-list {
  display: flex;
  flex-direction: column;
}
.stage {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--line-light);
  transition: padding-left .25s;
}
.stage:last-child { border-bottom: 1px solid var(--line-light); }
.stage:hover { padding-left: 12px; }
.stage__num {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  color: rgba(255,255,255,0.3);
}
.stage.is-next .stage__num { color: var(--gold); }
.stage__body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 6px;
}
.stage__body p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}
.stage__date {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stage__day {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}
.stage__month {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.stage__badge {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  align-self: flex-end;
}
@media (max-width: 720px) {
  .stage {
    grid-template-columns: 56px 1fr;
    grid-template-areas: "num body" "num date";
    gap: 6px 20px;
    row-gap: 10px;
  }
  .stage__num { grid-area: num; font-size: 40px; }
  .stage__body { grid-area: body; }
  .stage__date { grid-area: date; text-align: left; flex-direction: row; align-items: baseline; gap: 10px; }
  .stage__day { font-size: 24px; }
  .stage__badge { align-self: center; margin-top: 0; }
}

/* ============ STAGE PRICE ============ */
.stage-price {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  padding: 32px 38px;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
}
.stage-price__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.stage-price__big { display: flex; align-items: baseline; gap: 10px; }
.stage-price__big strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  color: #fff;
}
.stage-price__big span { font-size: 15px; color: rgba(255,255,255,0.7); }
.stage-price__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-left: 1px solid rgba(255,255,255,0.16);
  padding-left: 36px;
}
.stage-price__list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
}
.stage-price__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}
@media (max-width: 720px) {
  .stage-price {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 24px;
  }
  .stage-price__list { border-left: none; padding-left: 0; flex-direction: column; gap: 12px; }
}

/* ============ ROUTE ============ */
.route__diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin: 56px 0 48px;
}
.route__node { text-align: center; padding: 0 12px; }
.route__dot {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 2px solid var(--gold);
  color: var(--gold-2);
}
.route__dot svg { width: 26px; height: 26px; }
.route__node:last-child .route__dot { background: var(--navy); border-color: var(--navy); color: #fff; }
.route__node h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 6px;
  line-height: 1.1;
}
.route__node p { font-size: 14px; color: var(--muted); }
.route__line {
  position: relative;
  height: 2px;
  margin-top: 27px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
}
.route__line::after {
  content: '⛵';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-size: 18px;
  background: var(--cream);
  padding: 0 8px;
}
.route__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.route__meta div {
  padding: 24px 24px 24px 0;
  border-right: 1px solid var(--line-2);
}
.route__meta div:last-child { border-right: none; }
.route__meta dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.route__meta dd {
  font-family: var(--serif);
  font-size: 22px;
}
@media (max-width: 760px) {
  .route__diagram {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .route__line {
    width: 2px; height: 40px;
    margin: 6px auto;
    background: repeating-linear-gradient(180deg, var(--gold) 0 10px, transparent 10px 18px);
  }
  .route__line::after { transform: translate(-50%, -50%) rotate(90deg); }
  .route__meta { grid-template-columns: 1fr; }
  .route__meta div { border-right: none; border-bottom: 1px solid var(--line-2); padding-right: 0; }
  .route__meta div:last-child { border-bottom: none; }
}

/* ============ ABOUT / STATS ============ */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media figcaption {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(244,238,226,0.94);
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.about__text p { font-size: 17px; color: var(--ink-2); margin-bottom: 18px; }
.about__text p:last-of-type { margin-bottom: 0; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: var(--navy);
}
.about__stat span {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about__media { aspect-ratio: 16/11; }
}

/* ============ GALLERY ============ */
.gallery-sec { background: var(--cream); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery a {
  overflow: hidden;
  border-radius: 3px;
  position: relative;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.gallery a:hover img { transform: scale(1.06); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery .g-wide { grid-column: span 2; }
  .gallery .g-tall { grid-row: span 1; }
}

/* ============ TELEGRAM CTA ============ */
.tg-cta {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.tg-cta__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 110px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.tg-cta__glow {
  position: absolute;
  width: 480px; height: 480px;
  right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(216,164,58,0.22), transparent 68%);
  pointer-events: none;
}
.tg-cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  margin-bottom: 20px;
  text-wrap: balance;
}
.tg-cta p { font-size: 18px; color: rgba(255,255,255,0.78); margin-bottom: 32px; max-width: 46ch; }
.tg-cta__row { display: flex; gap: 14px; flex-wrap: wrap; }
.tg-cta__card {
  background: var(--navy-2);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  padding: 32px;
}
.tg-cta__card .tg-handle {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold-soft);
  margin-bottom: 6px;
  word-break: break-all;
}
.tg-cta__card .tg-note { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 22px; }
@media (max-width: 860px) {
  .tg-cta__inner { grid-template-columns: 1fr; gap: 36px; padding: 80px 22px; }
}

/* ============ RENT PROMO ============ */
.rent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
}
.rent__media { overflow: hidden; min-height: 340px; }
.rent__media img { width: 100%; height: 100%; object-fit: cover; }
.rent__body { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.rent__body .sec-eyebrow { margin-bottom: 16px; }
.rent__body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.06;
  margin-bottom: 16px;
}
.rent__body p { font-size: 17px; color: var(--ink-2); margin-bottom: 28px; }
.rent__price {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.rent__price strong { font-family: var(--serif); font-size: 22px; color: var(--navy); }
@media (max-width: 820px) {
  .rent { grid-template-columns: 1fr; }
  .rent__media { min-height: 240px; }
  .rent__body { padding: 36px 24px; }
}

/* ============ SERVICES PROMO (two cards) ============ */
.promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.promo {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.promo:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -32px rgba(14,36,56,0.42);
  border-color: var(--gold);
}
.promo__media { height: 240px; overflow: hidden; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.promo:hover .promo__media img { transform: scale(1.04); }
.promo__body { padding: 38px 38px 40px; display: flex; flex-direction: column; flex: 1; }
.promo__tag {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.promo__body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 14px;
}
.promo__body p { font-size: 16px; color: var(--ink-2); margin-bottom: 24px; flex: 1; }
.promo__price {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
}
.promo__price strong { font-family: var(--serif); font-size: 22px; color: var(--navy); }
.promo .btn { align-self: flex-start; }
@media (max-width: 820px) {
  .promos { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .promo__body { padding: 30px 24px 32px; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 80px 40px 32px;
}
.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand .brand__mark { width: 38px; height: 38px; }
.footer__col p { font-size: 14px; line-height: 1.65; }
.footer__h {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
}
.footer__col a.footer__link {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  transition: color .2s;
}
.footer__col a.footer__link:hover { color: var(--gold-soft); }
.footer__big {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}
.footer__big:hover { color: var(--gold-soft); }
.footer__base {
  max-width: var(--wrap);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ============ REVEAL ANIMATION ============ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ============ COURSES (study) ============ */
.courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 38px 32px;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.course:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(14,36,56,0.4);
  border-color: var(--gold);
}
.course--feature {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.course__tag {
  position: absolute;
  top: 22px; right: 22px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
}
.course__icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--gold-2);
  margin-bottom: 22px;
}
.course--feature .course__icon { background: rgba(255,255,255,0.1); color: var(--gold-soft); }
.course__icon svg { width: 28px; height: 28px; }
.course h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.course__sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  min-height: 2.6em;
}
.course--feature .course__sub { color: rgba(255,255,255,0.66); }
.course__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.course--feature .course__price { border-color: var(--line-light); }
.course__price strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  color: var(--navy);
}
.course--feature .course__price strong { color: #fff; }
.course__price span { font-size: 14px; color: var(--muted); }
.course--feature .course__price span { color: rgba(255,255,255,0.6); }

/* split price rows (теория / практика) */
.course__prices {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.course--feature .course__prices { border-color: var(--line-light); }
.prow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.prow span { font-size: 14px; color: var(--muted); }
.course--feature .prow span { color: rgba(255,255,255,0.66); }
.prow strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  color: var(--navy);
  white-space: nowrap;
}
.course--feature .prow strong { color: #fff; }

/* installment banner */
.install {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 32px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: var(--cream);
}
.install__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.install__icon svg { width: 26px; height: 26px; }
.install__txt { display: flex; flex-direction: column; gap: 5px; }
.install__txt strong { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--navy); }
.install__txt span { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 560px) {
  .install { flex-direction: column; align-items: flex-start; text-align: left; padding: 24px; }
}
.course__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex: 1;
}
.course__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.45;
}
.course--feature .course__list li { color: rgba(255,255,255,0.84); }
.course__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}
.course .btn { width: 100%; justify-content: center; }
.course--feature .btn--navy { background: var(--gold); color: var(--navy); }
.course--feature .btn--navy:hover { background: var(--gold-2); }
@media (max-width: 920px) {
  .courses { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
.courses--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 920px) {
  .courses--two { grid-template-columns: 1fr; max-width: 480px; }
}

/* ============ PROCESS STEPS ============ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.pstep {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.pstep__n {
  font-family: var(--serif);
  font-size: 18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold);
  color: var(--gold-2);
  margin-bottom: 20px;
}
.pstep h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  margin-bottom: 8px;
}
.pstep p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
}

/* ============ APPLICATION FORM ============ */
.formwrap {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.formwrap__glow {
  position: absolute;
  width: 520px; height: 520px;
  left: -160px; bottom: -200px;
  background: radial-gradient(circle, rgba(216,164,58,0.18), transparent 68%);
  pointer-events: none;
}
.formwrap__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 100px 40px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.formwrap .sec-title { color: #fff; }
.formwrap__lede { font-size: 18px; color: rgba(255,255,255,0.78); margin-bottom: 28px; max-width: 42ch; }
.formwrap__contacts { display: flex; flex-direction: column; gap: 10px; }
.formwrap__contacts a { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-soft); font-size: 16px; }
.formwrap__contacts svg { width: 18px; height: 18px; }

.doc-download {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 16px 22px 16px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  transition: background .2s, border-color .2s, transform .2s;
}
.doc-download:hover { background: rgba(216,164,58,0.14); border-color: var(--gold); transform: translateY(-2px); }
.doc-download__icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--navy);
}
.doc-download__icon svg { width: 24px; height: 24px; }
.doc-download__txt { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.doc-download__txt strong { font-size: 16px; color: #fff; font-weight: 600; }
.doc-download__txt em { font-size: 13px; font-style: normal; color: rgba(255,255,255,0.62); }

.appform {
  background: var(--paper);
  border-radius: 12px;
  padding: 38px;
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5);
}
.appform__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c8696' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
.appform .btn { width: 100%; justify-content: center; margin-top: 4px; }
.appform__note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  text-align: center;
  line-height: 1.5;
}
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.form-status.is-ok { display: block; background: rgba(31,138,91,0.1); color: #1f7a52; border: 1px solid rgba(31,138,91,0.25); }
.form-status.is-err { display: block; background: rgba(197,43,30,0.08); color: #b5341f; border: 1px solid rgba(197,43,30,0.22); }
.appform.is-sent .appform__grid,
.appform.is-sent .btn { display: none; }
.appform__done { display: none; text-align: center; padding: 12px 0; }
.appform.is-sent .appform__done { display: block; }
.appform__check {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.appform__done h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-bottom: 10px; }
.appform__done p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) {
  .formwrap__inner { grid-template-columns: 1fr; gap: 36px; padding: 70px 22px; }
  .appform { padding: 28px 22px; }
}
@media (max-width: 460px) {
  .appform__grid { grid-template-columns: 1fr; }
}
