:root {
  --coral: #9C1B30;
  --coral-dark: #7A1024;
  --teal: #3FB58F;
  --yellow: #F7C400;
  --cream: #FFFAE8;
  --tint: #FFF0C4;
  --ink: #3B1A1F;
  --muted: #7A6A5C;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(120, 70, 20, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img, svg, iframe { max-width: 100%; }
a { color: var(--coral-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 900; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.section { padding: 80px 0; }
.section--tint { background: var(--tint); }
.eyebrow {
  margin-bottom: .5em;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral-dark);
}
.note { color: var(--muted); font-size: .95rem; }
.empty { color: var(--muted); font-style: italic; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--coral); color: var(--white); box-shadow: 0 8px 20px rgba(122, 16, 36, .3); }
.btn--primary:hover { background: var(--coral-dark); }
.btn--ghost { border-color: var(--coral); color: var(--coral-dark); background: transparent; }
.btn--full { width: 100%; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 232, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(120, 70, 20, .08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo img { width: auto; height: 50px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 900; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo b { color: var(--coral-dark); }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); font-weight: 700; text-decoration: none; }
.nav a:hover { color: var(--coral-dark); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--tint); }
.lang button {
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: .8rem;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
}
.lang button.is-active { background: var(--coral); color: var(--white); }
.burger { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.burger span { display: block; height: 3px; margin: 4px 0; border-radius: 3px; background: var(--ink); }

/* Hero */
.hero { padding: 60px 0 80px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__tags li { padding: 6px 14px; border-radius: 999px; background: var(--white); font-size: .9rem; font-weight: 700; box-shadow: var(--shadow); }
.hero__art { max-width: 460px; margin: 0 auto; }
.hero__art svg { display: block; width: 100%; height: auto; }
.hero__logo { display: block; width: auto; max-width: 100%; height: auto; max-height: 460px; margin: 0 auto; filter: drop-shadow(0 12px 24px rgba(122, 16, 36, .18)); }
.hero__photo { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; box-shadow: var(--shadow); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.values { display: grid; gap: 16px; }
.values li { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.values span { font-size: 2rem; line-height: 1; }
.values p { margin: 4px 0 0; color: var(--muted); }

/* Program cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.card { padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); border-top: 6px solid var(--c); transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card p { margin: 0; color: var(--muted); }
.card__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 18px; font-size: 2rem; background: color-mix(in srgb, var(--c) 18%, white); }
.card--coral { --c: #9C1B30; }
.card--teal { --c: #3FB58F; }
.card--blue { --c: #5BA8E6; }
.card--yellow { --c: #FFC93C; }
.card--purple { --c: #A283E0; }
.card--green { --c: #8BC34A; }

/* Timeline */
.timeline { max-width: 720px; margin: 32px auto 0; }
.timeline li { display: flex; align-items: center; gap: 20px; padding: 14px 20px; margin-bottom: 10px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.timeline time { flex: none; padding: 4px 12px; border-radius: 999px; background: var(--tint); font-weight: 900; color: var(--coral-dark); }

/* Gallery */
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 32px 0; }
.photos img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; margin: 32px 0; }
.insta .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
.insta__fallback { display: block; padding: 40px 16px; border-radius: 16px; background: var(--white); text-align: center; font-weight: 700; box-shadow: var(--shadow); }

/* Admission */
.admission { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.steps { counter-reset: step; margin: 24px 0 32px; }
.steps li { position: relative; padding: 0 0 20px 60px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 900;
}
.steps p { margin: 2px 0 0; color: var(--muted); }
.docs { margin-bottom: 12px; }
.docs li { position: relative; padding: 4px 0 4px 28px; }
.docs li::before { content: '✓'; position: absolute; left: 0; font-weight: 900; color: var(--teal); }
.price { margin-top: 20px; font-size: 1.1rem; }

.form { padding: 32px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form label { display: block; margin-bottom: 14px; font-weight: 700; font-size: .95rem; }
.form input, .form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 2px solid #F0E2C8;
  border-radius: 12px;
  background: var(--cream);
  font: inherit;
  color: inherit;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--coral); }
.form__status { min-height: 1.4em; margin: 12px 0 0; font-size: .95rem; color: var(--coral-dark); }

/* Contacts */
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; margin-top: 36px; }
.contacts__list { display: grid; gap: 14px; }
.contacts__list li { display: flex; gap: 14px; padding: 16px 20px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.contacts__list span { font-size: 1.5rem; }
.contacts__list p { margin: 0; }
.map { display: grid; place-items: center; min-height: 340px; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 2px dashed #E8D3AE; color: var(--muted); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
.map.has-map { border: 0; box-shadow: var(--shadow); }

/* Footer */
.footer { padding: 28px 0; background: var(--ink); color: #F5E6CF; }
.footer a { color: var(--yellow); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

.wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}
.wa[hidden] { display: none; }

@media (max-width: 960px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    background: var(--cream);
    border-bottom: 1px solid rgba(120, 70, 20, .1);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; }
  .burger { display: block; }
  .hero__inner, .about, .admission, .contacts { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 300px; }
  .cards, .insta { grid-template-columns: repeat(2, 1fr); }
  .photos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 32px 0 56px; }
  .cards, .insta { grid-template-columns: 1fr; }
  .photos { grid-template-columns: repeat(2, 1fr); }
  .logo span { font-size: 1.1rem; }
  .form { padding: 22px; }
  .timeline li { gap: 12px; padding: 12px 14px; }
}
