:root {
  --cream: #fbf6ee;
  --cream-2: #f3e7d2;
  --paper: #fffdf9;
  --ink: #16343c;
  --muted: #5d6f74;
  --teal: #0e5c6e;
  --teal-deep: #0a3d49;
  --gold: #d89a1d;
  --gold-deep: #b47c10;
  --line: rgba(22, 52, 60, 0.12);
  --shadow: 0 18px 50px rgba(22, 52, 60, 0.08);
  --radius: 28px;
  --header: 78px;
  --font: Manrope, "Noto Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(216, 154, 29, 0.16), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, rgba(14, 92, 110, 0.08), transparent 55%),
    var(--cream);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
p { margin: 0 0 0.85em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--teal);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.topbar {
  background: var(--teal-deep);
  color: #f6efe4;
  font-size: 14px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: #f2d48a; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 246, 238, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.header.is-stuck { border-bottom-color: var(--line); }
.header-row {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  background: white;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-size: 18px; letter-spacing: -0.03em; }
.brand-name small { color: var(--muted); font-size: 13px; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.nav a:hover { color: var(--teal); }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.burger i {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, #f0c14d, var(--gold)); color: #3d2a06; }
.btn-teal { background: var(--teal); color: white; }
.btn-ghost { background: transparent; border-color: rgba(22, 52, 60, 0.2); }
.btn-line { background: white; border-color: var(--line); }

.hero { padding: 28px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}
.eyebrow:before {
  content: "";
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 50% 50%, #f6d48a 0 35%, var(--gold) 36% 60%, transparent 62%);
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 5vw, 62px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 26px; }
.lead { font-size: 18px; color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 14px;
}
.hero-art {
  background:
    radial-gradient(circle at 50% 18%, rgba(224, 161, 26, 0.28), transparent 28%),
    linear-gradient(180deg, #fffaf2, #f4e6cf);
  border-radius: 40px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 154, 29, 0.25);
}
.hero-art img { width: 100%; height: auto; border-radius: 28px; }

.section { padding: 72px 0; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 16px;
  color: var(--gold-deep);
}
.divider span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(180, 124, 16, 0.7), transparent); max-width: 90px; }
.kicker { color: var(--gold-deep); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.photo {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
}
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }

.principles, .values, .hours {
  display: grid;
  gap: 14px;
}
.principles { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.values { grid-template-columns: repeat(3, 1fr); }
.card, .value, .club, .group, .price-card, .contact-card, .form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card, .value { padding: 22px; }
.card { position: relative; }
.num {
  font-weight: 800;
  color: var(--gold-deep);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.value strong { display: block; font-size: 20px; margin-bottom: 6px; }
.goal {
  margin-top: 22px;
  padding: 28px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(14, 92, 110, 0.95), rgba(10, 61, 73, 0.92)),
    var(--teal);
  color: #f8f1e6;
}
.goal h2, .goal p { color: inherit; }
.goal p { color: rgba(248, 241, 230, 0.88); }

.culture {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: center;
  background: white;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.culture img { width: 100%; height: auto; object-fit: contain; background: #f6efe4; }
.culture-copy { padding: 28px 32px 28px 8px; }
.caption { color: var(--muted); font-weight: 700; }

.groups { display: grid; gap: 22px; }
.group {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  overflow: hidden;
}
.group img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.group-body { padding: 28px; }
.age {
  display: inline-block;
  background: #f8ecd4;
  color: #7a5410;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 800;
  font-size: 13px;
}
.motto { color: var(--teal); font-weight: 800; font-size: 18px; }
.points { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.points li {
  padding-left: 22px;
  position: relative;
}
.points li:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 0.55em;
}
.group:nth-child(even) { direction: rtl; }
.group:nth-child(even) .group-body { direction: ltr; }

.club-slider { position: relative; }
.clubs {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 0 8px;
  outline: none;
}
.clubs::-webkit-scrollbar { display: none; }
.club {
  overflow: hidden;
  flex: 0 0 calc((100% - 28px) / 3);
  scroll-snap-align: start;
}
.club-arrow {
  position: absolute;
  top: 22%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.club-arrow svg { width: 22px; height: 22px; }
.club-arrow:hover { background: var(--teal); color: white; }
.club-arrow[hidden] { display: none; }
.club-arrow-prev { left: -10px; }
.club-arrow-next { right: -10px; }
.club img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.club div { padding: 18px 18px 22px; }
.club h3 { font-size: 24px; }
.club .sub { color: var(--teal); font-weight: 800; margin-bottom: 8px; }

.price { padding-top: 10px; }
.price-card {
  padding: 42px 36px;
  text-align: center;
  background:
    radial-gradient(500px 180px at 50% 0%, rgba(216, 154, 29, 0.2), transparent 70%),
    var(--paper);
}
.price-card .lead { margin: 0 auto 18px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}
.contact-card, .form-card { padding: 26px; }
.contact-list { display: grid; gap: 14px; margin: 18px 0; }
.contact-list a, .contact-list p { text-decoration: none; }
.contact-list strong { display: block; }
.hours { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.hours div {
  background: #f8f1e6;
  border-radius: 18px;
  padding: 12px;
}
.hours span { display: block; color: var(--muted); font-size: 13px; }
.map {
  margin-top: 18px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: #efe6d6;
}
.map iframe { width: 100%; height: 360px; border: 0; }

label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 92, 110, 0.12); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .wide { grid-column: 1 / -1; }
.alert {
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: #e7f6ef;
  color: #0e5c3d;
  font-weight: 700;
}
.alert.err { background: #fdecea; color: #8d2b2b; }
.hp { position: absolute; left: -9999px; }

.footer {
  background: var(--teal-deep);
  color: #f6efe4;
  padding: 36px 0 28px;
  margin-top: 20px;
}
.footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: end; }
.footer a { color: #f2d48a; }
.footer p { max-width: 640px; }
.footer-tile { width: 148px; height: auto; margin: 0 0 10px; }

.ru { display: none; }
html[lang="ru"] .kk { display: none; }
html[lang="ru"] span.ru { display: inline; }
html[lang="ru"] div.ru { display: block; }
html[lang="ru"] .lang-switch [data-set-lang="kk"] {
  background: transparent;
  color: var(--muted);
}
html[lang="ru"] .lang-switch [data-set-lang="ru"] {
  background: var(--teal);
  color: white;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  gap: 2px;
  flex: none;
}
.lang-switch button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  min-width: 46px;
  min-height: 34px;
  padding: 0 8px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  color: var(--muted);
}
.lang-switch button.is-active { background: var(--teal); color: white; }

.ornament {
  display: flex;
  justify-content: center;
  margin: 0 auto 8px;
}
.ornament img {
  width: min(520px, 86%);
  height: auto;
  display: block;
}

.watermarks {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.topbar,
main,
.footer { position: relative; z-index: 1; }
.wm {
  position: absolute;
  height: auto;
  user-select: none;
}
.wm-mountains {
  top: 72px;
  left: 50%;
  width: min(1200px, 140%);
  transform: translateX(-50%);
  opacity: 0.22;
}
.wm-horses {
  top: 36%;
  right: -18%;
  width: min(640px, 78%);
  opacity: 0.16;
}
.wm-yurt {
  top: 70%;
  left: -12%;
  width: min(420px, 52%);
  opacity: 0.18;
}

.orn-frame { position: relative; }
.orn-frame .orn {
  position: absolute;
  width: clamp(84px, 22%, 168px);
  height: auto;
  pointer-events: none;
  user-select: none;
}
.photo-frame .orn { z-index: 2; }
.photo-frame > :not(.orn) { position: relative; z-index: 1; }
.card-frame { padding: 78px 68px 64px; }
.card-frame > :not(.orn) { position: relative; z-index: 1; }
.card-frame .orn { z-index: 0; }
.orn-frame .c-tl { top: -8px; left: -8px; }
.orn-frame .c-tr { top: -8px; right: -8px; }
.orn-frame .c-bl { bottom: -8px; left: -8px; }
.orn-frame .c-br { bottom: -8px; right: -8px; }
.hero-art img.orn { width: clamp(84px, 22%, 168px); height: auto; border-radius: 0; }

.contact-list .line strong { display: block; }
.contact-list .line { font-weight: 500; }

.wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1faf62;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(20, 90, 50, 0.28);
}
.wa svg { width: 30px; height: 30px; fill: white; }

@media (max-width: 980px) {
  .hero-grid, .split, .culture, .group, .contact-grid, .principles, .values { grid-template-columns: 1fr; }
  .group:nth-child(even) { direction: ltr; }
  .culture-copy { padding: 8px 20px 24px; }
  .club { flex-basis: calc((100% - 14px) / 2); }
  .club-arrow-prev { left: 6px; }
  .club-arrow-next { right: 6px; }
  .burger { display: flex; }
  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--header) - 6px);
    background: white;
    border-radius: 20px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }
  .nav a { padding: 10px 8px; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .header-cta { display: none; }
  .card-frame { padding: 64px 36px 48px; }
}
@media (max-width: 680px) {
  .form-grid, .hours { grid-template-columns: 1fr; }
  .club { flex-basis: 86%; }
  .section { padding: 52px 0; }
  h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .clubs { transition: none; scroll-behavior: auto; }
}
