:root {
  --navy: #241b4a;
  --navy-2: #32275f;
  --ink: #17141f;
  --muted: #5c5770;
  --line: #e6e2ef;
  --paper: #f6f5fb;
  --white: #ffffff;
  --red: #d1263d;
  --red-dark: #a8182c;
  --gold: #e2a31a;
  --green: #1c8a6a;
  --blue: #2f6fed;
  --shadow: 0 18px 50px rgba(36, 27, 74, 0.1);
  --radius: 22px;
  --header: 74px;
  --max: 1160px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  background: var(--white);
}

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

a { color: inherit; }

button,
input,
select,
textarea { font: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #f4f7ff, #fff 40%, #fff6f7);
  color: var(--navy);
  font-size: 14px;
  text-align: center;
  padding: 10px 16px;
  border-bottom: 1px solid #efeaf6;
}

.topbar a { color: var(--red); font-weight: 700; text-decoration: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
}

.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(23, 20, 31, 0.04); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img { height: 42px; width: auto; }

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

.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav a.nav-apply, .nav a.nav-apply:hover { color: #fff; }
.nav .nav-label, .nav .nav-apply, .nav .nav-quick, .nav .nav-ico { display: none; }
.drop-menu a { display: flex; align-items: center; gap: 10px; }
.drop-menu a span { display: block; line-height: 1.25; }
.drop-menu small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 2px; }
.drop-menu .ico { width: 18px; height: 18px; color: var(--navy); flex: none; }

.drop { position: relative; }

.drop > button {
  background: none;
  border: 0;
  padding: 0;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.drop > button:hover { color: var(--red); }

.drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}

.drop:hover .drop-menu,
.drop:focus-within .drop-menu { display: grid; }

.drop-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
}

.drop-menu a:hover { background: var(--paper); color: var(--navy); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  margin: 0 auto;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after { transition: transform .2s ease, top .2s ease, background .2s ease; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.nav-backdrop {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  border: 0;
  padding: 0;
  background: rgba(18, 14, 36, 0.46);
  z-index: 35;
  cursor: pointer;
}
body.nav-open { overflow: hidden; }
body.nav-open .nav-backdrop { display: block; }
body.nav-open .floaters { opacity: 0; pointer-events: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-dark { background: #1b1730; color: #fff; }
.btn-dark:hover { background: #000; }

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

.btn-ghost {
  background: #fff;
  border-color: #d9d4e6;
  color: var(--navy);
}

.btn-ghost:hover { border-color: var(--navy); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 28px;
  background:
    radial-gradient(820px 380px at 88% 8%, rgba(209, 38, 61, 0.09), transparent 62%),
    radial-gradient(680px 360px at 8% 90%, rgba(36, 27, 74, 0.07), transparent 60%),
    #fff;
}

.hero-grid,
.split,
.visit-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
  font-weight: 800;
}

h1 span { color: var(--red); }

.eyebrow {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede { font-size: 18px; color: var(--muted); max-width: 560px; }

.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.trust strong { display: block; font-size: 15px; }
.trust span { color: var(--muted); font-size: 13px; }

.hero-visual { position: relative; min-height: 0; }
.hero-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.course-media { display: block; overflow: hidden; border-radius: 16px 16px 0 0; }
.course-media img { width: 100%; height: 190px; object-fit: cover; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.page-shot {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.ico { width: 22px; height: 22px; display: block; }
.floaters a .ico { width: 26px; height: 26px; color: #fff; }
.addr-line { display: flex; gap: 10px; align-items: center; margin: 8px 0; }
.addr-line .ico { margin-top: 4px; color: var(--red); flex: none; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.blob-a {
  width: 280px;
  height: 280px;
  right: 10px;
  top: 30px;
  background: rgba(47, 111, 237, 0.08);
}

.blob-b {
  width: 180px;
  height: 180px;
  left: 20px;
  bottom: 30px;
  background: rgba(209, 38, 61, 0.08);
}

.float-card,
.hero-panel {
  position: absolute;
  background: #fff;
  border: 1px solid #efeaf5;
  box-shadow: var(--shadow);
  border-radius: 18px;
}

.float-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  width: min(280px, 80%);
}

.float-card strong { display: block; font-size: 15px; }
.float-card small { color: var(--muted); }

.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot.red { background: var(--red); }
.dot.navy { background: var(--navy); }
.dot.gold { background: var(--gold); }

.float-1 { top: 24px; left: 18px; }
.float-2 { top: 126px; right: 0; }
.float-3 { top: 228px; left: 46px; }

.hero-panel { right: 18px; bottom: 18px; padding: 18px 18px 8px; width: min(260px, 78%); }
.panel-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hero-panel ul { margin: 0; padding-left: 18px; }
.hero-panel li { margin: 6px 0; font-weight: 600; font-size: 14px; }

.section { padding: 84px 0; }
.section.alt { background: linear-gradient(180deg, #f7f8fc, #fff 80%); }
.section.paper { background: var(--paper); }

.rule { display: flex; gap: 5px; margin: 12px 0 18px; }
.rule i { width: 28px; height: 4px; border-radius: 99px; display: block; }
.rule i:nth-child(1) { background: var(--navy); }
.rule i:nth-child(2) { background: var(--red); }
.rule i:nth-child(3) { background: var(--gold); }
.rule i:nth-child(4) { background: var(--green); }

h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  font-weight: 800;
}

.center { text-align: center; }
.center .rule { justify-content: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; color: var(--muted); }

.apply-card,
.panel,
.course,
.feature,
.quote,
.place,
.step {
  background: #fff;
  border: 1px solid #efeaf6;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(36, 27, 74, 0.06);
}

.apply-card { padding: 28px 26px 24px; position: sticky; top: 96px; }
.kicker { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.apply-card h2 { font-size: 34px; margin: 6px 0 0; }
.hint { color: var(--muted); font-size: 14px; margin: 8px 0 16px; }

form { display: grid; gap: 12px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid #ddd7ea;
  background: #fbfbfe;
  border-radius: 12px;
  padding: 12px 12px;
  color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(209, 38, 61, 0.15);
  border-color: var(--red);
}
.full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.fine { font-size: 12px; color: var(--muted); margin: 0; }
.form-error {
  background: #fff1f2;
  color: var(--red-dark);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0;
}

.features, .courses, .quotes, .places, .steps { display: grid; gap: 18px; }
.features { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.feature, .step, .quote, .place { padding: 22px; }
.feature h3, .step h3, .course h3 { margin-bottom: 8px; letter-spacing: -0.03em; }
.feature p, .step p, .quote p, .place p { color: var(--muted); margin-bottom: 0; }
.icon-pill {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.navy { background: var(--navy); }
.red { background: var(--red); }
.gold { background: var(--gold); color: #2a2108; }
.green { background: var(--green); }
.blue { background: var(--blue); }

.courses { grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.course { padding: 0 0 22px; overflow: hidden; display: flex; flex-direction: column; }
.course-top { height: 8px; border-radius: 16px 16px 0 0; }
.course-body { padding: 18px 18px 0; display: flex; flex-direction: column; gap: 8px; height: 100%; }
.price { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.price s { color: #9a94ab; font-weight: 600; font-size: 15px; margin-left: 6px; }
.meta { color: var(--muted); font-size: 14px; margin: 0; }
.course ul { margin: 6px 0 16px; padding-left: 18px; color: var(--muted); }
.course li { margin: 5px 0; }
.course .btn { margin-top: auto; }

.steps { grid-template-columns: repeat(4, 1fr); }
.step span { font-weight: 800; color: var(--red); font-size: 13px; letter-spacing: 0.08em; }

.who { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check li {
  background: #fff;
  border-radius: 16px;
  padding: 16px 16px 16px 18px;
  border: 1px solid var(--line);
}
.check strong { display: block; }

.places { grid-template-columns: repeat(3, 1fr); }
.place img { width: 100%; height: 230px; object-fit: cover; border-radius: 14px; background: var(--paper); }
.place h3 { margin: 12px 0 0; font-size: 18px; }
.place p { margin: 2px 0 0; }

.quotes { grid-template-columns: repeat(3, 1fr); }
.quote p { font-size: 15.5px; }
.quote footer { margin-top: 14px; font-weight: 800; }

.faq { display: grid; gap: 10px; margin-top: 22px; }
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 18px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--red); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p, details ul { margin-top: 0; color: var(--muted); }
.curriculum details ul { margin-bottom: 16px; }

.visit-grid, .contact-grid { align-items: start; }
.map {
  min-height: 450px;
  border: 0;
  width: 100%;
  border-radius: 20px;
  background: var(--paper);
}
.address { font-style: normal; }
.address a { color: var(--red); font-weight: 700; text-decoration: none; }

.footer { background: #1b1638; color: #ddd8ea; padding: 56px 0 0; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #ffc4cc; }
.footer-top { display: grid; grid-template-columns: 1.25fr .8fr .7fr 1.15fr; gap: 36px; align-items: start; }
.footer-brand img { height: 46px; width: auto; background: #fff; border-radius: 12px; padding: 8px 10px; }
.footer-brand p { max-width: 340px; margin: 16px 0; }
.footer h2 { color: #fff; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0; }
.footer li a, .footer-visit .addr-line { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; color: #efeaf8; }
.footer .ico { width: 18px; height: 18px; margin-top: 2px; color: #ff8b9a; flex: none; }
.footer p { color: #c9c3da; }
.footer-phone, .footer-mail {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-weight: 800;
}
.footer-phone {
  background: #fff;
  color: var(--navy) !important;
  border-radius: 12px;
  padding: 12px 14px;
  width: fit-content;
}
.footer-phone .ico { color: var(--red); margin: 0; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  font-weight: 800;
}
.sub {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 32px;
  padding: 16px 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #c9c3da;
}

.floaters { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 30; }
body:has(input:focus, textarea:focus, select:focus) .floaters { opacity: 0; pointer-events: none; }
.floaters a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.wa { background: #1fa855; }
.call { background: var(--red); }

.page-hero { padding: 42px 0 10px; background: linear-gradient(180deg, #f7f6fb, #fff); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--navy); font-weight: 700; text-decoration: none; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); max-width: 860px; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 8px; }
.spec { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.spec b { display: block; font-size: 14px; }
.spec span { color: var(--muted); font-size: 14px; }

.prose h2 { font-size: 32px; }
.prose h3 { margin-bottom: 6px; }
.prose p, .prose li { color: var(--muted); }
.two { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.related a {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}
.related a:hover { border-color: var(--navy); }
.related strong { display: block; }
.related span { color: var(--muted); font-size: 14px; }

.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 40px 0 80px; }

@media (max-width: 980px) {
  .menu-btn { display: grid; place-items: center; position: relative; z-index: 70; }
  .header { z-index: 60; }
  .nav {
    display: flex;
    position: fixed;
    left: auto;
    right: 0;
    width: min(420px, 100%);
    z-index: 50;
    background: #fff;
    padding: 8px 18px calc(28px + env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow: auto;
    box-shadow: -18px 0 40px rgba(18, 14, 36, 0.16);
    transform: translateX(24px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .nav .nav-label { display: block; margin: 8px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
  .drop > button { display: none; }
  .drop-menu { position: static; display: grid; gap: 8px; min-width: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .drop-menu a { background: var(--paper); border-radius: 16px; padding: 12px; font-size: 16px; }
  .drop-menu small { display: block; }
  .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }
  .nav .nav-ico { display: block; color: var(--red); }
  .nav .nav-apply { display: inline-flex; width: 100%; margin-top: 16px; }
  .nav .nav-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
  .nav-quick a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
  }
  .header-cta { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-visit { grid-column: 1 / -1; }
  .hero-grid, .split, .visit-grid, .contact-grid, .who, .two, .footer-grid { grid-template-columns: 1fr; }
  .features, .courses, .quotes, .places, .steps, .specs { grid-template-columns: 1fr 1fr; }
  .hero-visual img { height: 320px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-shot { height: 240px; }
  .apply-card { position: static; }
}

@media (max-width: 680px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .features, .courses, .quotes, .places, .steps, .specs, .fields, .trust, .related { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .section { padding: 58px 0; }
  .hero-visual img { height: 240px; }
  .float-2, .hero-panel { right: 0; }
  .sub { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer { padding-top: 40px; padding-bottom: 112px; }
}
