:root {
  --ink: #101412;
  --ink-2: #17211c;
  --panel: #1c2621;
  --ivory: #f4efe6;
  --paper: #ebe4d8;
  --sand: #e4dccb;
  --gold: #b8956a;
  --gold-2: #e6d3b0;
  --gold-deep: #6d5434;
  --text: #1c2621;
  --muted: #5d675f;
  --line: rgba(28, 38, 33, 0.12);
  --ivory-line: rgba(244, 239, 230, 0.16);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(16, 20, 18, 0.16);
  --header: 84px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #c6a56e #101412;
}
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: #101412;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e6d3b0, #8d6b3e);
  border: 2px solid #101412;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e6d3b0;
}
::-webkit-scrollbar-corner { background: #101412; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: #c6a56e; color: #1a140c; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 100;
  background: var(--gold-2);
  color: var(--ink);
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.section { padding: 108px 0; }
.section-head { max-width: 740px; margin-bottom: 48px; }
.section-head h2,
.visit h2,
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 0;
}
.section-head h2,
.visit h2 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}
.index {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-note {
  margin: 18px 0 0;
  max-width: 560px;
  color: var(--muted);
}
.section-note a { color: var(--gold-deep); }

section[id] { scroll-margin-top: 84px; }
.js .reveal {
  opacity: 0;
  animation: fade 0.9s ease forwards;
  animation-play-state: paused;
}
.js .reveal.is-in { animation-play-state: running; }
.js .reveal:nth-child(2) { animation-delay: 0.08s; }
.js .reveal:nth-child(3) { animation-delay: 0.16s; }
.js .reveal:nth-child(4) { animation-delay: 0.22s; }
@keyframes fade { to { opacity: 1; } }

.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 40;
  opacity: 0.14;
  mix-blend-mode: multiply;
}
.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-2));
  pointer-events: none;
}
.loader {
  display: none;
}
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background: var(--ink);
  color: var(--ivory);
  transition: opacity 0.6s ease, visibility 0.6s;
}
.js .loader p {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: 0.08em;
}
.loader-mark {
  width: 84px;
  height: 84px;
  border: 1px solid var(--gold-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}
.loader-bar {
  width: 120px;
  height: 1px;
  background: rgba(244, 239, 230, 0.2);
  overflow: hidden;
}
.loader-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold-2);
  animation: load 1.3s ease forwards;
}
@keyframes load { to { width: 100%; } }
.js.is-ready .loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4vw;
  color: var(--ivory);
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
}
.header.is-stuck {
  padding-block: 12px;
  background: rgba(16, 20, 18, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ivory-line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  z-index: 2;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  letter-spacing: 0.04em;
}
.logo-text { display: grid; line-height: 1.1; }
.logo-text strong { font-weight: 600; font-size: 0.95rem; }
.logo-text small {
  color: var(--gold-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.62rem;
}
.nav {
  display: flex;
  gap: 22px;
}
.nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 2;
}
.header-phone {
  color: var(--gold-2);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ivory-line);
  border-radius: 50%;
  background: transparent;
  position: relative;
}
.nav-toggle i {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.3s, top 0.3s;
}
.nav-toggle i:first-of-type { top: 19px; }
.nav-toggle i:last-of-type { top: 26px; }
.nav-toggle[aria-expanded="true"] i:first-of-type { top: 22px; transform: rotate(40deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { top: 22px; transform: rotate(-40deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-gold {
  background: var(--gold-2);
  color: #1b140c;
  font-weight: 650;
}
.btn-gold:hover { background: #fff8ec; }
.btn-ghost {
  border-color: rgba(244, 239, 230, 0.35);
  color: var(--ivory);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-dark {
  background: var(--ink);
  color: var(--ivory);
}
.btn-dark:hover { background: #000; }
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: 100vh;
  color: var(--ivory);
  background:
    radial-gradient(ellipse at 85% 15%, rgba(184, 149, 106, 0.28), transparent 42%),
    radial-gradient(ellipse at 0% 80%, rgba(47, 74, 62, 0.55), transparent 46%),
    var(--ink);
  overflow: hidden;
  padding: 140px 0 90px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-2);
  opacity: 0.45;
  animation: float 9s ease-in-out infinite;
}
.p1 { top: 22%; left: 12%; }
.p2 { top: 68%; left: 28%; animation-delay: -2s; }
.p3 { top: 30%; left: 48%; animation-delay: -4s; }
.p4 { top: 74%; left: 70%; width: 3px; height: 3px; }
.p5 { top: 18%; right: 12%; animation-delay: -3s; }
.p6 { bottom: 18%; right: 30%; animation-delay: -6s; }
@keyframes float {
  50% { transform: translateY(-18px); opacity: 0.9; }
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-2);
}
.eyebrow span {
  border: 1px solid rgba(230, 211, 176, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
}
.hero-name {
  display: block;
  font-size: clamp(3.1rem, 7vw, 7.1rem);
  line-height: 0.86;
}
.hero-name::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--gold-2), transparent);
  animation: grow 1.1s ease forwards 0.5s;
}
@keyframes grow { to { width: min(220px, 40%); } }
.who {
  display: block;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(244, 239, 230, 0.82);
}
.who em { font-style: italic; color: var(--gold-2); }
.lead {
  max-width: 520px;
  font-size: 1.05rem;
  color: rgba(244, 239, 230, 0.78);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 18px 0 0;
  margin: 8px 0 0;
  border-top: 1px solid var(--ivory-line);
}
.hero-meta strong,
.hero-meta span { display: block; }
.hero-meta strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.hero-meta span { color: rgba(244, 239, 230, 0.62); font-size: 0.82rem; }

.seal { position: relative; min-height: 460px; }
.seal-svg { width: 100%; height: auto; overflow: visible; }
.orbit {
  fill: none;
  stroke: rgba(230, 211, 176, 0.28);
  stroke-dasharray: 3 9;
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 48s linear infinite;
}
.orbit-2 {
  stroke-dasharray: 1 8;
  animation-duration: 72s;
  animation-direction: reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.arch-draw {
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  animation: draw 2.2s ease forwards 0.3s;
}
.arch-draw-2 { animation-delay: 0.7s; opacity: 0.7; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.tooth {
  opacity: 0;
  animation: toothIn 0.55s ease forwards;
}
@keyframes toothIn { to { opacity: 1; } }
.seal-badge {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background: rgba(16, 20, 18, 0.72);
  border: 1px solid rgba(230, 211, 176, 0.45);
  backdrop-filter: blur(8px);
  animation: pulse 4.5s ease-in-out infinite;
}
.seal-badge strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}
.seal-badge span {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 12px rgba(230, 211, 176, 0.06); }
}
.scroll-hint {
  position: absolute;
  left: 4vw;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(244, 239, 230, 0.7);
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.scroll-hint i {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--gold-2), transparent);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip {
  50% { transform: scaleY(0.55); transform-origin: top; opacity: 0.4; }
}

.marquee {
  overflow: hidden;
  background: var(--gold-2);
  color: #1b140c;
  border-block: 1px solid rgba(27, 20, 12, 0.08);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.marquee p {
  margin: 0;
  padding: 14px 0;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes ticker { to { transform: translateX(-50%); } }

.about { background: var(--ivory); }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.prose p { margin-top: 0; font-size: 1.05rem; }
.prose a { color: var(--gold-deep); }
.quote {
  margin: 0;
  padding: 36px 32px;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 28px;
  position: relative;
  box-shadow: var(--shadow);
}
.quote::before {
  content: "“";
  font-family: var(--serif);
  position: absolute;
  top: 6px;
  left: 22px;
  font-size: 6rem;
  line-height: 1;
  color: rgba(230, 211, 176, 0.28);
}
.quote p {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  line-height: 1.15;
  font-weight: 500;
}
.quote footer {
  margin-top: 22px;
  color: var(--gold-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 64px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.stats li {
  padding: 28px 22px 0 0;
}
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1;
}
.stats span { display: block; margin-top: 8px; color: var(--muted); }
.principles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 42px 0 0;
  padding: 0;
}
.principles li {
  padding: 26px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 0.35s ease, border-color 0.35s;
}
.principles li:hover { transform: translateY(-6px); border-color: var(--gold); }
.principles span,
.steps span,
.card-no {
  font-family: var(--serif);
  color: var(--gold-deep);
  font-size: 1.3rem;
}
.principles h3,
.steps h3,
.card h3 { margin: 10px 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.principles p,
.steps p,
.card p { margin: 0; color: var(--muted); }

.services { background: linear-gradient(180deg, var(--paper), var(--ivory) 30%); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 28px 26px 24px;
  background: rgba(255, 252, 247, 0.8);
  border: 1px solid var(--line);
  border-radius: 26px;
  min-height: 280px;
  transform-style: preserve-3d;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s, transform 0.2s ease;
}
.card:hover {
  background: var(--ink-2);
  color: var(--ivory);
  border-color: transparent;
}
.card:hover p,
.card:hover .card-no { color: rgba(244, 239, 230, 0.76); }
.card:hover .card-no { color: var(--gold-2); }
.card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.card li {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.card:hover li { border-color: rgba(230, 211, 176, 0.35); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
}
.steps li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.education { background: var(--ivory); }
.edu-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.3s ease;
}
.timeline.is-in::before { transform: scaleY(1); }
.timeline li { position: relative; padding: 0 0 28px 18px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--gold-deep);
}
.timeline span {
  color: var(--gold-deep);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.timeline h3 { margin: 4px 0; font-size: 1.45rem; font-family: var(--serif); font-weight: 600; }
.timeline p { margin: 0; color: var(--muted); }
.courses-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
.courses-head h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.text-btn {
  border: 0;
  background: transparent;
  color: var(--gold-deep);
  padding: 0 0 8px;
  border-bottom: 1px solid var(--gold);
}
.year { border-top: 1px solid var(--line); }
.year summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  align-items: baseline;
}
.year summary::-webkit-details-marker { display: none; }
.year summary b { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.year summary span { color: var(--muted); text-align: right; }
.year summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-deep);
  line-height: 1;
}
.year[open] summary::after { content: "–"; }
.year ul { margin: 0 0 18px; padding: 0 0 0 18px; color: var(--muted); }
.year li + li { margin-top: 8px; }

.scheme-section { background: var(--paper); }
.scheme-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 28px;
  align-items: stretch;
}
.scheme-stage {
  container-type: inline-size;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: none;
  border: 0;
  box-shadow: none;
}
.hero .scheme-stage {
  height: min(68vh, 640px);
  min-height: 460px;
}
.scheme-after,
.scheme-before { position: absolute; inset: 0; }
.scheme-before {
  width: var(--pos, 54%);
  overflow: hidden;
  border-right: 1px solid rgba(230, 211, 176, 0.5);
}
.scheme-after svg,
.scheme-before svg {
  width: 100cqi;
  height: 100%;
  display: block;
}
.scheme-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 54%);
  width: 0;
  z-index: 2;
  pointer-events: none;
}
.scheme-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--ivory);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.scheme-line::after {
  content: "↔";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -56%);
  color: var(--ink);
  font-size: 1.1rem;
}
.scheme-stage input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}
.tag {
  position: absolute;
  top: 22px;
  z-index: 2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold-2);
  pointer-events: none;
}
.tag-before { left: 22px; }
.tag-after { right: 22px; }
.scheme-side {
  padding: 28px;
  border-radius: 32px;
  background: var(--ivory);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scheme-side ul { margin: 0; padding: 0; list-style: none; }
.scheme-side li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.scheme-side strong { display: block; color: var(--text); }
.scheme-side .btn { margin-top: auto; align-self: flex-start; }

.reviews { background: var(--ivory); }
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.review {
  margin: 0;
  padding: 36px 32px;
  background: #fffdf8;
  border-radius: 28px;
  border: 1px solid var(--line);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease;
}
.review:hover { transform: translateY(-6px); }
.review blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1.2;
  font-weight: 500;
}
.review figcaption { margin-top: 24px; color: var(--muted); font-size: 0.86rem; }

.faq { background: var(--paper); padding-top: 40px; }
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
}
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 36px 20px 0;
  position: relative;
  font-size: 1.2rem;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold-deep);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 20px; max-width: 640px; color: var(--muted); }

.visit {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(184, 149, 106, 0.2), transparent 40%),
    var(--ink);
  color: var(--ivory);
  padding: 108px 0;
}
.visit .index { color: var(--gold-2); }
.visit-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.visit-copy p { color: rgba(244, 239, 230, 0.74); max-width: 460px; }
.contacts { list-style: none; padding: 0; margin: 28px 0 0; }
.contacts li { padding: 14px 0; border-top: 1px solid var(--ivory-line); }
.contacts span {
  display: block;
  color: rgba(230, 211, 176, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contacts a { text-decoration: none; font-size: 1.25rem; }
.contacts a:hover { color: var(--gold-2); }
.form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ivory-line);
}
.form label { display: grid; gap: 6px; }
.form label span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.28);
  border-radius: 0;
  padding: 12px 0;
  outline: none;
}
.form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  padding: 0;
  border: 0;
  accent-color: #c6a56e;
  flex: none;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.88rem;
  line-height: 1.45;
}
.form input:focus,
.form select:focus,
.form textarea:focus { border-bottom-color: var(--gold-2); }
.form select option { color: var(--ink); }
.form textarea { resize: vertical; }
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.form-error { min-height: 1.2em; margin: 0; color: #ffb4a8; }
.form-note { margin: 0; color: rgba(244, 239, 230, 0.55); font-size: 0.85rem; }
.form-success {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #18211c;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 32px;
}
.form-success[hidden] { display: none; }
.form-success strong {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
}
.form-success p { margin: 0; color: rgba(244, 239, 230, 0.75); }
.form.is-done > :not(.form-success) { visibility: hidden; }

.footer {
  background: #0c0f0e;
  color: rgba(244, 239, 230, 0.72);
  padding: 36px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
.footer p { margin: 0; font-size: 0.92rem; }
.footer-meta { color: rgba(244, 239, 230, 0.5); }

.to-top,
.call-fab {
  position: fixed;
  z-index: 55;
  text-decoration: none;
}
.to-top {
  right: 22px;
  bottom: 84px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.8);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(.2,.7,.2,1), visibility 0.35s, background 0.25s;
}
.to-top.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.to-top span {
  display: block;
  line-height: 1;
}
.to-top.is-on span {
  animation: to-top-bob 1.5s ease-in-out infinite;
}
.to-top.is-on:hover {
  background: var(--gold-2);
  transform: translateY(-4px);
}
@keyframes to-top-bob {
  50% { transform: translateY(-4px); }
}
.call-fab,
.lead-fab {
  right: 22px;
  bottom: 22px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--gold-2);
  color: #1b140c;
  font-weight: 700;
  border: 0;
}
.call-fab { display: none; }
.lead-fab {
  position: fixed;
  z-index: 55;
  bottom: 22px;
  box-shadow: 0 12px 30px rgba(16, 20, 18, 0.28);
}
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 9, 0.72);
  backdrop-filter: blur(8px);
}
.modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(92vh, 780px);
  overflow: auto;
  padding: 32px 28px 24px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(184, 149, 106, 0.18), transparent 42%),
    #141c18;
  color: var(--ivory);
  border: 1px solid var(--ivory-line);
  box-shadow: var(--shadow);
}
.modal-dialog h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.modal-lead { margin: 0 0 18px; color: rgba(244, 239, 230, 0.72); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ivory-line);
  background: transparent;
  color: var(--ivory);
  font-size: 1.4rem;
  line-height: 1;
}
.modal .form { padding: 0; border: 0; background: transparent; }
.modal .index { color: var(--gold-2); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(16, 20, 18, 0.97);
    flex-direction: column;
    justify-content: center;
    padding: 100px 10vw;
    gap: 8px;
    transform: translateY(-102%);
    transition: transform 0.45s ease;
  }
  .nav.is-open { transform: none; }
  .nav a {
    font-family: var(--serif);
    font-size: clamp(2rem, 7vw, 3.2rem);
    line-height: 1.15;
  }
  .header-phone { display: none; }
  .hero-grid,
  .about-grid,
  .edu-grid,
  .scheme-layout,
  .review-grid,
  .faq-grid,
  .visit-grid,
  .footer-grid,
  .cards,
  .steps,
  .principles,
  .stats {
    grid-template-columns: 1fr;
  }
  .cards { grid-template-columns: 1fr 1fr; }
  .seal { min-height: 380px; max-width: 520px; margin-inline: auto; }
  .hero { padding-top: 120px; }
  .call-fab { display: inline-flex; }
  .lead-fab { bottom: 74px; }
  .to-top { bottom: 128px; }
  .section { padding: 80px 0; }
}

@media (max-width: 680px) {
  .wrap { width: min(1180px, calc(100% - 32px)); }
  .cards,
  .hero-meta { grid-template-columns: 1fr; }
  .header .btn-gold { display: none; }
  .hero-actions .btn { width: 100%; }
  .scheme-stage { min-height: 420px; }
  .quote, .review, .form { padding: 24px 20px; }
  .to-top { bottom: 128px; }
  .lead-fab { bottom: 74px; }
}

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