@font-face {
  font-family: Oswald;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/oswald-cyr-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Oswald;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/oswald-lat-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Oswald;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/oswald-cyr-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Oswald;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/oswald-lat-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-cyr-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-lat-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-cyr-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-lat-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f1ea;
  --ink: #161616;
  --muted: #4e4a43;
  --card: #fffdf8;
  --line: #e3ddd2;
  --lime: #d8f25a;
  --on-lime: #172000;
  --coral: #c43116;
  --max: 1120px;
  --pad: 1.15rem;
  --font-d: Oswald, Manrope, sans-serif;
  --font-b: Manrope, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-x: clip;
}
body.has-dock { padding-bottom: 4.8rem; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.skip {
  position: absolute; left: 0.6rem; top: -4rem; z-index: 80;
  background: var(--ink); color: #fff; padding: 0.6rem 0.8rem;
}
.skip:focus { top: 0.5rem; }

.sticky-top { position: sticky; top: 0; z-index: 40; }
.demo-bar {
  background: var(--ink); color: var(--lime);
  text-align: center; font-size: 0.82rem; font-weight: 700;
  line-height: 1.35; padding: 0.45rem 0.8rem;
}
.header {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  padding: 0.7rem var(--pad);
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--font-d); font-weight: 600; letter-spacing: 0.08em;
  text-decoration: none; font-size: 1.35rem; text-transform: uppercase;
}
.nav-toggle, .btn, input, select, textarea { font: inherit; }
.nav-toggle {
  min-height: 48px; min-width: 48px; border: 1px solid var(--ink);
  background: transparent; padding: 0 0.85rem;
}
.nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 0.3rem var(--pad) 0.8rem;
}
.nav.is-open { display: grid; }
.nav a {
  text-decoration: none; min-height: 48px; display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
}
.header .btn { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.1rem; border: 0; cursor: pointer;
  background: var(--lime); color: var(--on-lime); font-weight: 700; text-decoration: none;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

.wrap { width: min(var(--max), calc(100% - 2 * var(--pad))); margin-inline: auto; }
section { padding: 3rem 0; scroll-margin-top: 6.5rem; }

.hero {
  width: min(1180px, calc(100% - 2 * var(--pad)));
  margin: 1.2rem auto 0;
  display: grid; gap: 1.2rem;
}
h1, h2, h3 { font-family: var(--font-d); font-weight: 500; letter-spacing: 0.01em; }
h1 { margin: 0; font-size: clamp(2.7rem, 12vw, 5.4rem); line-height: 0.92; text-transform: uppercase; }
.kicker { margin: 0 0 0.6rem; color: var(--coral); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.lead { font-size: 1.12rem; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; display: block; border-radius: 1.4rem; }
.sticker {
  position: absolute; left: 0.8rem; bottom: 0.8rem;
  background: var(--lime); color: var(--on-lime);
  border-radius: 999px; padding: 0.7rem 0.95rem; font-weight: 700;
}
.stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.4rem;
}
.stats article, .card, .trainer, .review, .book, .map-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 1rem;
}
.stats article { padding: 0.85rem; }
.stats strong {
  display: block; font-family: var(--font-d); font-size: 1.8rem; line-height: 1; font-weight: 500;
}
.stats span { color: var(--muted); font-size: 0.92rem; }

h2 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 0.95; text-transform: uppercase; margin: 0 0 0.6rem; }
.note { color: var(--muted); max-width: 62ch; }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--ink); border-radius: 999px; padding: 0.45rem 0.8rem; }

.plans { display: grid; gap: 0.8rem; margin-top: 1.2rem; }
.card { padding: 1.1rem; display: grid; align-content: start; gap: 0.35rem; }
.card h3 { margin: 0; font-size: 1.6rem; text-transform: uppercase; }
.price { font-family: var(--font-d); font-size: 2.4rem; margin: 0.2rem 0; line-height: 1; }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: 0.4rem 0 0.8rem; padding-left: 1.1rem; }
.card.popular { background: var(--ink); color: #fff; }
.card.popular p, .card.popular li { color: #e7e2d8; }
.badge {
  justify-self: start; background: var(--lime); color: var(--on-lime);
  border-radius: 999px; padding: 0.2rem 0.6rem; font-size: 0.8rem; font-weight: 700;
}
.singles { list-style: none; margin: 1rem 0 0; padding: 0; }
.singles li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 0; border-top: 1px solid var(--line); min-height: 48px; align-items: center;
}

.trainers, .gallery, .reviews { display: grid; gap: 0.8rem; margin-top: 1.2rem; }
.trainer img, .gallery img { width: 100%; display: block; object-fit: cover; }
.trainer img { aspect-ratio: 4 / 5; border-radius: 1rem 1rem 0 0; }
.trainer div { padding: 0.9rem 1rem 1.1rem; }
.trainer h3 { margin: 0; text-transform: uppercase; font-size: 1.45rem; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 1rem; aspect-ratio: 4 / 5; }
.gallery figcaption { margin-top: 0.35rem; color: var(--muted); font-size: 0.92rem; }

.schedule { width: 100%; border-collapse: collapse; margin-top: 1rem; background: var(--card); }
.schedule th, .schedule td { text-align: left; padding: 0.8rem; border-bottom: 1px solid var(--line); }
.schedule th { font-weight: 700; }

.review { margin: 0; padding: 1rem; }
.review blockquote { margin: 0; font-size: 1.08rem; }
.review figcaption { margin-top: 0.7rem; color: var(--muted); }

.book { padding: 1.1rem; display: grid; gap: 1rem; }
label { display: grid; gap: 0.3rem; margin-bottom: 0.75rem; }
input, select, textarea {
  width: 100%; min-height: 48px; border: 1px solid #cfc8bb; border-radius: 0.6rem;
  padding: 0.65rem 0.75rem; background: #fff; color: var(--ink);
}
textarea { min-height: 6.5rem; resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.check input { width: 1.2rem; min-height: 0; height: 1.2rem; margin-top: 0.2rem; }
.form-status { min-height: 1.4rem; color: var(--coral); font-weight: 700; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.faq details { border-top: 1px solid var(--line); }
.faq summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 700; }
.faq p { margin: 0 0 0.8rem; color: var(--muted); }

.place { display: grid; gap: 0.9rem; }
.map-card {
  min-height: 240px; position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(255,253,248,.15), rgba(255,253,248,.15)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(22,22,22,.08) 42px 43px),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(196,49,22,.16) 42px 43px);
}
.pin {
  position: absolute; left: 62%; top: 42%; width: 18px; height: 18px;
  background: var(--coral); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
}
.map-card p { position: absolute; left: 1rem; bottom: 1rem; margin: 0; background: var(--card); padding: 0.7rem 0.8rem; border-radius: 0.7rem; }
.contacts { list-style: none; margin: 0; padding: 0; }
.contacts li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.contacts a { color: var(--coral); font-weight: 700; }

.footer { padding: 2rem var(--pad) 2.5rem; }
.footer a { color: var(--coral); font-weight: 700; }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: center; gap: 0.7rem;
  padding: 0.55rem var(--pad); background: #fffdf8; border-top: 1px solid var(--line);
}
.dock p { margin: 0; }

.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (min-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .trainers { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: 1.3fr 1fr 1fr; }
  .gallery figure:first-child img { aspect-ratio: 3 / 2; height: 100%; }
  .reviews { grid-template-columns: 1fr 1fr 1fr; }
  .place { grid-template-columns: 1fr 1fr; }
  .book { grid-template-columns: 0.8fr 1.2fr; padding: 1.5rem; }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; background: transparent; border: 0; padding: 0; gap: 1.1rem; }
  .nav a { border: 0; min-height: 0; }
  .header .btn { display: inline-flex; }
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: center; min-height: calc(100svh - 8rem); }
  .dock { display: none; }
  body.has-dock { padding-bottom: 0; }
  .gallery { grid-template-columns: 1.35fr 1fr 1fr; }
  .gallery figure:first-child { grid-row: span 2; }
  .gallery figure:first-child img { aspect-ratio: 3 / 4; height: 100%; object-fit: cover; }
  .gallery img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
