:root {
  --bg: #faf8f5;
  --ink: #0b0809;
  --muted: #69645d;
  --accent: #ffb900;
  --line: #e9e3d7;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 95% 0%, #ead5c77a, transparent 30%), var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
}
h1 { font-size: clamp(40px, 5vw, 68px); }
h2 { font-size: clamp(30px, 3vw, 44px); }
h3 { font-size: 28px; }
p { margin: 0 0 16px; color: var(--muted); }
em { font-style: italic; color: var(--ink); }

.wrap { width: min(1392px, calc(100% - 40px)); margin: 0 auto; }
.panel {
  background: #ffffffce;
  border: 1px solid #fff;
  border-radius: var(--radius);
  padding: 28px;
  margin: 20px auto;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 99px;
  border: 1px solid #000;
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--accent); }
.btn.ghost {
  background: transparent;
  border-color: #b9a77b;
}
.btn.ghost:hover { background: #fff3cf; color: var(--ink); }

.header {
  position: sticky;
  top: 12px;
  z-index: 40;
  width: min(1340px, calc(100% - 40px));
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  background: var(--accent);
  border: 1px solid #fff;
  border-radius: 20px;
}
.header.scrolled { background: #fffffff2; box-shadow: 0 12px 35px #4b28300f; }
.brand img { width: 170px; height: auto; }
.nav { display: flex; gap: 24px; font-size: 14px; }
.nav a:hover { text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.langs {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: #f4f0e6;
  border-radius: 99px;
}
.langs a {
  min-width: 35px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  font-size: 12px;
}
.langs a.current, .langs a[aria-current="page"] {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}
.menu-check { position: absolute; opacity: 0; pointer-events: none; }
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  place-items: center;
}

.hero {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 28px 40px 12px;
  align-items: center;
}
.hero-photo {
  position: relative;
  height: 560px;
  border-radius: 140px 24px 90px 120px;
  overflow: hidden;
  background: #e0d2c6;
}
.hero-photo img { width: 100%; height: 100%; }
.badge {
  position: absolute;
  top: 24px;
  right: 20px;
  background: #ffffffed;
  border-radius: 18px;
  padding: 14px 18px;
}
.badge strong { font: 32px Georgia, serif; display: block; }
.trial {
  display: flex;
  gap: 14px;
  background: #fff6de;
  border: 1px solid #efdee4;
  border-radius: 16px;
  padding: 16px;
  margin: 16px 0;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.benefits { display: flex; gap: 22px; margin-top: 20px; font-size: 13px; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
}
.card.wide { grid-column: 1 / -1; }
.card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 12px;
}
.card ul { padding: 0; margin: 0 0 16px; list-style: none; }
.card li { font-size: 13px; margin: 8px 0; color: #605c66; }
.tag {
  display: inline-block;
  background: #fff3cf;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 12px;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { background: #fff3cf; border-radius: 16px; padding: 20px; }
.step:nth-child(2) { background: #fff6de; }
.step:nth-child(3) { background: #f5f2e9; }
.num { font: 30px Georgia, serif; color: #8a6400; }

.teachers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.teacher {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.teacher img { width: 100%; aspect-ratio: 1; }
.teacher div { padding: 14px; }
.teacher p { font-size: 13px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px auto; }
.stat { background: #fff3cf; border-radius: 16px; padding: 20px 24px; }
.stat strong { font: 40px Georgia, serif; display: block; }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; height: 300px; }
.gallery img { width: 100%; height: 100%; }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  color: #fff;
  padding: 50px 16px 16px;
  background: linear-gradient(transparent, #23141dba);
  font: 20px Georgia, serif;
}

.about { display: grid; grid-template-columns: 36% 1fr; gap: 28px; align-items: center; }
.about img { width: 100%; height: 300px; border-radius: 14px; }

.booking {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 40px;
  background: #fff3cf;
  padding: 44px;
  border-radius: var(--radius);
  margin: 24px auto;
}
.form {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 14px;
}
.form label { font-size: 13px; font-weight: 600; display: grid; gap: 6px; }
.form input, .form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ded5d8;
  border-radius: 10px;
  padding: 10px 12px;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 12px; color: #7a6b73; }
.check input { width: 18px; height: 18px; margin-top: 2px; }
.hp { position: absolute; left: -9999px; }
.status { font-size: 13px; margin: 0; }
.status.ok { color: #345b3c; }
.status.err { color: #9d253c; }

.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  background: #fff9e9;
  border-radius: 20px;
  overflow: hidden;
  margin: 24px auto;
}
.contact > div { padding: 24px; }
.phone { font-size: 22px; font-weight: 700; }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 28px;
  margin: 16px auto 40px;
  font-size: 13px;
}
.footer nav { display: flex; gap: 18px; }

.float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 6px 20px #24111f26;
}
.float .wa { background: #168a48; }

.reveal { opacity: 0; transform: translateY(18px); transition: 0.6s ease; }
.reveal.show { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav, .header .btn { display: none; }
  .menu-btn { display: grid; }
  .menu-check:checked ~ .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 12px 35px #4b28300f;
  }
  .header { position: sticky; }
  .hero, .grid-2, .steps, .teachers, .stats, .gallery, .about, .booking, .contact, .footer {
    grid-template-columns: 1fr;
  }
  .card, .card.wide { grid-template-columns: 1fr; }
  .hero-photo { height: 380px; border-radius: 80px 20px 60px 70px; }
  .gallery figure:first-child { height: 240px; }
  .header-actions .btn { display: none; }
}
