:root {
  --paper: #f8f6f2;
  --white: #fff;
  --ink: #202020;
  --muted: #6f6b67;
  --line: #ded7cf;
  --accent: #a87755;
  --accent-soft: #eadbd0;
  --accent-pale: #f1e7df;
  --shadow: 0 18px 50px rgba(31, 25, 20, 0.08);
  --radius: 8px;
  --container: 1210px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-shell {
  width: 100%;
  background: var(--paper);
}

.container {
  width: min(var(--container), calc(100% - 88px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 31px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(168, 119, 85, 0.45);
  outline-offset: 3px;
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: #000;
  box-shadow: 0 12px 28px rgba(32, 32, 32, 0.18);
}

.btn-outline {
  background: transparent;
  color: #8c6045;
  border-color: #d7bca9;
}

.btn-outline:hover {
  background: #fbf4ef;
  border-color: var(--accent);
}

.btn-small {
  min-height: 38px;
  padding: 0 22px;
  font-size: 10px;
  border-radius: 5px;
  white-space: nowrap;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  line-height: 0.88;
  font-size: 19px;
  color: #1b1b1b;
}

.logo strong {
  font-weight: 900;
}

.logo span {
  font-weight: 400;
}

.hero {
  position: relative;
  min-height: clamp(610px, 70vh, 700px);
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(248, 246, 242, 0.99) 0%, rgba(248, 246, 242, 0.93) 35%, rgba(248, 246, 242, 0.5) 55%, rgba(248, 246, 242, 0.05) 100%),
    #f7f5f1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(248, 246, 242, 0) 0%, rgba(248, 246, 242, 0.96) 72%, var(--paper) 100%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  top: 0;
  right: max(0px, calc((100vw - 1440px) / 2));
  width: min(58vw, 840px);
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(120deg, #eee8e1 0%, #f8f6f2 42%, #dfd7cf 100%),
    #ece7e1;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(248, 246, 242, 0.86) 10%, rgba(248, 246, 242, 0.28) 36%, rgba(248, 246, 242, 0) 60%),
    linear-gradient(180deg, rgba(248, 246, 242, 0.05), rgba(248, 246, 242, 0.28));
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  opacity: 0;
  pointer-events: none;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.45s ease, transform 0.7s ease;
}

.hero-media.is-loading::after {
  opacity: 1;
  animation: mediaShine 1.35s ease-in-out infinite;
}

.hero-media.is-loading video {
  opacity: 0;
  transform: scale(1.018);
}

.hero-loader {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(168, 119, 85, 0.2);
  border-top-color: rgba(168, 119, 85, 0.78);
  border-radius: 50%;
  opacity: 0;
  animation: loaderSpin 0.9s linear infinite;
  pointer-events: none;
}

.hero-media.is-loading .hero-loader {
  opacity: 1;
}

.hero-media.is-ready .hero-loader {
  opacity: 0;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  width: min(1320px, calc(100% - 88px));
  margin: 0 auto;
  padding: 28px 0 0;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 3.2vw, 54px);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--accent);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cabinet-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: #28231f;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.cabinet-link svg,
.menu-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 119, 85, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(390px, 45vh, 430px);
  padding-top: 18px;
}

.hero-copy {
  width: min(650px, 55vw);
  padding-bottom: 18px;
}

.hero-copy h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(48px, 4.8vw, 68px);
  font-weight: 950;
  line-height: 0.96;
  text-transform: uppercase;
}

.hero-copy h1 span {
  white-space: nowrap;
}

.hero-copy p {
  max-width: 465px;
  margin: 26px 0 32px;
  color: #262421;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.62;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  max-width: 560px;
  margin-top: 22px;
  color: #5f554e;
  font-size: 12px;
  line-height: 1.35;
}

.hero-trust span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
}

.hero-trust strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.hero-cards {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: -2px;
  padding-bottom: 28px;
}

.feature-card {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 118px;
  padding: 23px 21px;
  border: 1px solid rgba(225, 218, 209, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(40, 33, 26, 0.06);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-card svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card small {
  display: block;
  color: #37312d;
  font-size: 12px;
  line-height: 1.42;
}

.section {
  padding: 68px 0;
  background: var(--paper);
}

.section-pricing,
.section-benefits,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 2.7vw, 43px);
  line-height: 1.03;
  font-weight: 950;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-schedule {
  padding-top: 38px;
  background: #fbfaf8;
}

.schedule-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 30px 0 0;
  border-bottom: 1px solid #dfd8d0;
}

.schedule-tabs button {
  position: relative;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: #77716b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.schedule-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  background: #c79d84;
  transition: transform 0.2s ease;
}

.schedule-tabs button.active {
  color: #1e1e1e;
}

.schedule-tabs button.active::after {
  transform: scaleX(1);
}

.schedule-table {
  overflow: hidden;
  border: 1px solid #ded8d0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.58);
}

.schedule-row {
  display: grid;
  grid-template-columns: 112px minmax(190px, 1fr) 330px 150px;
  align-items: center;
  min-height: 76px;
  padding: 0 32px;
  border-bottom: 1px solid #e7e1da;
}

.schedule-row:last-child {
  border-bottom: 0;
}

.schedule-time {
  font-size: 15px;
  font-weight: 700;
}

.schedule-name {
  font-size: 14px;
  font-weight: 700;
}

.schedule-coach {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  color: #5a544f;
  font-size: 12px;
  line-height: 1.35;
}

.schedule-coach img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.schedule-coach strong {
  display: block;
  color: #524a44;
  font-size: 12px;
  font-weight: 700;
}

.schedule-row .btn {
  justify-self: end;
  min-height: 40px;
  padding: 0 25px;
  font-size: 11px;
}

.section-center {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.section-trainers {
  background:
    radial-gradient(circle at 22% 50%, rgba(234, 219, 208, 0.55), rgba(234, 219, 208, 0) 35%),
    #f6f1ec;
}

.trainers-layout {
  display: grid;
  grid-template-columns: minmax(300px, 348px) minmax(0, 1fr);
  gap: 74px;
  align-items: center;
}

.section-trainers .section-intro h2 {
  max-width: 345px;
  font-size: clamp(28px, 2.35vw, 36px);
  line-height: 1.06;
}

.section-trainers .section-intro p:not(.eyebrow) {
  max-width: 315px;
}

.section-intro p:not(.eyebrow) {
  margin: 22px 0 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.section-intro {
  min-width: 0;
}

.trainer-area {
  min-width: 0;
}

.trainer-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.trainer-card {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(35, 29, 24, 0.06);
}

.trainer-card img {
  width: 100%;
  aspect-ratio: 1 / 1.03;
  object-fit: cover;
  object-position: center top;
  background: #dcd9d6;
}

.trainer-card div {
  padding: 18px 20px 24px;
}

.trainer-card h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 900;
}

.trainer-card p {
  margin: 0 0 12px;
  color: #4d4640;
  font-size: 12px;
  line-height: 1.45;
}

.trainer-card span {
  color: #5a534d;
  font-size: 12px;
}

.section-pricing {
  background: #fbfaf8;
  padding-bottom: 54px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.pricing-intro {
  align-self: start;
  padding-top: 66px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 338px;
  flex-direction: column;
  padding: 34px 31px 31px;
  border: 1px solid #ded8d0;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.price-card:hover,
.price-card:focus-within {
  transform: translateY(-4px);
  border-color: #d4b9a6;
  box-shadow: 0 22px 55px rgba(35, 29, 24, 0.08);
}

.price-card.popular {
  border-color: #d4b9a6;
  background: linear-gradient(180deg, #eee0d6 0%, #eadbd0 100%);
  box-shadow: 0 20px 45px rgba(126, 87, 59, 0.15);
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin: -16px 0 16px;
  padding: 7px 14px;
  border-radius: 5px;
  background: #dfc7b6;
  color: #8c6045;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 950;
  text-transform: uppercase;
}

.price-hint {
  min-height: 34px;
  margin: 0 0 16px;
  color: #8c6045;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.price {
  margin: 0 0 28px;
  font-size: 39px;
  font-weight: 800;
  line-height: 1;
}

.price span {
  font-size: 16px;
  font-weight: 500;
}

.price-card ul {
  display: grid;
  gap: 13px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  color: #3e3935;
  font-size: 12px;
}

.price-card li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: center;
}

.price-card li svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #59524c;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.promo {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  border-radius: 8px;
  background: #fff;
}

.promo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.promo-image-cta {
  position: absolute;
  left: 6%;
  top: 64%;
  width: 18%;
  height: 13%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.promo-image-cta:focus-visible {
  outline: 2px solid rgba(168, 119, 85, 0.55);
  outline-offset: 3px;
}

.section-benefits {
  padding: 44px 0 64px;
  background: #fbfaf8;
}

.section-benefits h2 {
  margin-bottom: 44px;
  font-size: 21px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: center;
}

.benefit-item svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #c89c80;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-item p {
  margin: 0;
  color: #4d4742;
  font-size: 12px;
  line-height: 1.5;
}

.footer {
  background: #f1ebe5;
  padding: 56px 0 58px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1.25fr 1.25fr 1.35fr;
  gap: 56px;
}

.footer h3 {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer a,
.footer button,
.footer address,
.footer p {
  color: #3d3731;
  font-size: 12px;
  line-height: 1.65;
}

.footer a,
.footer button {
  display: block;
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.footer button:hover,
.footer a:hover {
  color: var(--accent);
}

.footer-brand {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: space-between;
}

.footer-brand p {
  margin: 0;
}

.footer address {
  margin: 0 0 8px;
  font-style: normal;
}

.socials {
  display: flex;
  gap: 18px;
  margin-top: 14px;
}

.socials a {
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.subscribe p {
  margin: 0 0 23px;
}

.subscribe-form {
  display: grid;
  grid-template-columns: 1fr 56px;
  overflow: hidden;
  border-radius: 7px;
  background: #e8ded6;
}

.subscribe-form input {
  min-width: 0;
  height: 54px;
  border: 0;
  padding: 0 20px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

.subscribe-form button {
  display: flex;
  width: 56px;
  align-items: center;
  justify-content: center;
  background: #decbbd;
}

.subscribe-form svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #654c3b;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.open {
  display: flex;
}

.modal.open .modal-backdrop {
  animation: fadeIn 0.2s ease both;
}

.modal.open .modal-card {
  animation: modalIn 0.24s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 18, 16, 0.54);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  width: min(820px, calc(100vw - 40px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.modal-card.wide {
  width: min(1120px, calc(100vw - 40px));
}

.modal-close {
  position: sticky;
  top: 18px;
  float: right;
  z-index: 3;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 18px 18px 0 0;
  border: 1px solid #e0d8d0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.modal-close svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #2e2925;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.modal-body {
  padding: 44px 48px 48px;
}

.modal-body h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  text-transform: uppercase;
}

.modal-body > p {
  max-width: 650px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.booking-form label,
.login-form label {
  display: grid;
  gap: 8px;
  color: #493f38;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.booking-form input,
.booking-form select,
.login-form input {
  width: 100%;
  height: 52px;
  border: 1px solid #ded6cf;
  border-radius: 6px;
  padding: 0 15px;
  background: #fbfaf8;
  color: var(--ink);
  font-size: 15px;
  text-transform: none;
}

.booking-form .full {
  grid-column: 1 / -1;
}

.booking-form .btn,
.login-form .btn {
  width: 100%;
}

.modal-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.booking-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 22px;
}

.booking-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 5px;
  background: #f1e7df;
  color: #7d5941;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.booking-success {
  display: grid;
  justify-items: center;
  padding: 24px 0 8px;
  text-align: center;
}

.success-mark {
  display: flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #f1e7df;
  color: #8c6045;
}

.success-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-success h2 {
  max-width: 560px;
}

.booking-success p {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.modal-list,
.payment-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-list li,
.payment-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 60px;
  padding: 16px 18px;
  border: 1px solid #e3ddd6;
  border-radius: 8px;
  background: #fbfaf8;
  color: #39342f;
  font-size: 14px;
}

.modal-list strong {
  font-size: 15px;
}

.trainer-modal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.trainer-modal-head .eyebrow {
  margin-bottom: 12px;
}

.trainer-modal-head p:not(.eyebrow) {
  max-width: 690px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.trainer-modal-stats {
  display: grid;
  gap: 4px;
  justify-items: end;
  padding-bottom: 4px;
  color: var(--accent);
  text-align: right;
}

.trainer-modal-stats strong {
  color: var(--ink);
  font-size: 54px;
  font-weight: 850;
  line-height: 0.85;
}

.trainer-modal-stats span {
  max-width: 130px;
  color: #776b62;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.modal-trainers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.modal-trainer-card {
  overflow: hidden;
  border: 1px solid #e3ddd6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(35, 29, 24, 0.07);
}

.modal-trainer-photo {
  overflow: hidden;
  background: #e7e3de;
}

.modal-trainer-photo img {
  width: 100%;
  aspect-ratio: 1.38 / 1;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.35s ease;
}

.modal-trainer-card:hover .modal-trainer-photo img {
  transform: scale(1.025);
}

.modal-trainer-info {
  display: flex;
  min-height: 216px;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.trainer-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 5px;
  background: #f0e3d9;
  color: #8c6045;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-trainer-info h3 {
  margin: 0 0 9px;
  font-size: 18px;
  font-weight: 950;
}

.modal-trainer-info p {
  margin: 0 0 13px;
  color: #4d4640;
  font-size: 12px;
  line-height: 1.45;
}

.modal-trainer-info dl {
  display: grid;
  gap: 9px;
  margin: 0 0 16px;
}

.modal-trainer-info dl div {
  display: grid;
  gap: 3px;
}

.modal-trainer-info dt {
  color: #9a8d82;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-trainer-info dd {
  margin: 0;
  color: #292622;
  font-size: 12px;
  line-height: 1.38;
}

.modal-trainer-info .btn {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 0 16px;
  font-size: 11px;
}

.login-form {
  display: grid;
  gap: 18px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: min(360px, calc(100vw - 48px));
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  border-radius: 8px;
  background: #202020;
  color: #fff;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.45;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.mobile-sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 80;
  display: none;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #202020;
  color: #fff;
  box-shadow: 0 18px 42px rgba(32, 32, 32, 0.28);
  cursor: pointer;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-sticky-cta span,
.mobile-sticky-cta small {
  display: block;
}

.mobile-sticky-cta span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-sticky-cta small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.mobile-sticky-cta:hover,
.mobile-sticky-cta:focus-visible {
  transform: translateY(-2px);
}

.sticky-cta-visible .mobile-sticky-cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal-open .mobile-sticky-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.reveal-ready .reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mediaShine {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready .reveal-item {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .container,
  .site-header {
    width: min(var(--container), calc(100% - 48px));
  }

  .site-header {
    gap: 20px;
  }

  .main-nav {
    gap: 22px;
  }

  .cabinet-link span {
    display: none;
  }

  .hero-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trainers-layout,
  .pricing-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .pricing-intro {
    padding-top: 0;
  }

  .section-intro {
    max-width: 520px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
  }

  .modal-trainers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(222, 216, 209, 0.9);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 17px 20px;
    border-bottom: 1px solid #eee8e1;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding-bottom: 34px;
    background: #f8f6f2;
  }

  .hero-media {
    right: 0;
    width: 100%;
    height: 470px;
    opacity: 1;
  }

  .hero-media::before {
    background:
      linear-gradient(90deg, rgba(248, 246, 242, 0.9) 0%, rgba(248, 246, 242, 0.6) 48%, rgba(248, 246, 242, 0.12) 100%),
      linear-gradient(180deg, rgba(248, 246, 242, 0.04) 0%, rgba(248, 246, 242, 0.22) 54%, rgba(248, 246, 242, 0.96) 100%);
  }

  .hero-media video {
    object-position: 58% top;
  }

  .hero-content {
    min-height: 430px;
    padding-top: 48px;
  }

  .hero-copy {
    width: min(610px, 100%);
  }

  .hero-trust {
    max-width: 500px;
  }

  .hero-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 0;
  }

  .schedule-row {
    grid-template-columns: 72px 1fr;
    gap: 12px 18px;
    padding: 20px;
  }

  .schedule-coach {
    grid-column: 1 / -1;
  }

  .schedule-row .btn {
    justify-self: start;
    grid-column: 1 / -1;
  }

  .trainer-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .trainer-card {
    flex: 0 0 235px;
    scroll-snap-align: start;
  }

  .price-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .price-card {
    min-height: auto;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 86px;
  }

  .container,
  .site-header {
    width: min(var(--container), calc(100% - 32px));
  }

  .site-header {
    padding-top: 18px;
  }

  .logo {
    font-size: 17px;
  }

  .header-actions .btn-small,
  .cabinet-link {
    display: none;
  }

  .hero-content {
    min-height: 420px;
    padding-top: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 12.2vw, 50px);
    line-height: 0.98;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.55;
    margin: 24px 0 28px;
  }

  .hero-trust {
    display: grid;
    gap: 9px;
    margin-top: 18px;
  }

  .hero-trust span {
    white-space: normal;
  }

  .hero-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    min-height: 86px;
    padding: 18px;
  }

  .feature-card strong {
    margin-bottom: 5px;
  }

  .section {
    padding: 44px 0;
  }

  .section h2 {
    font-size: clamp(27px, 9vw, 34px);
    line-height: 1.08;
  }

  .section-schedule {
    padding-top: 42px;
  }

  .schedule-tabs {
    grid-template-columns: repeat(7, minmax(42px, 1fr));
    overflow-x: auto;
  }

  .schedule-tabs button {
    min-width: 42px;
  }

  .schedule-row {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 10px;
    padding: 18px;
  }

  .schedule-coach {
    grid-template-columns: 38px 1fr;
  }

  .schedule-coach img {
    width: 38px;
    height: 38px;
  }

  .pricing-layout,
  .trainers-layout {
    gap: 24px;
  }

  .section-trainers .section-intro h2,
  .section-trainers .section-intro p:not(.eyebrow) {
    max-width: none;
  }

  .trainer-track {
    gap: 14px;
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .trainer-card {
    flex-basis: min(78vw, 260px);
  }

  .price-card {
    padding: 26px 22px 24px;
  }

  .price-hint {
    min-height: auto;
  }

  .promo {
    margin-top: 34px;
    border-radius: 8px;
  }

  .promo img {
    min-height: 168px;
    object-fit: cover;
    object-position: 56% center;
  }

  .promo-image-cta {
    left: 5%;
    top: 65%;
    width: 42%;
    height: 18%;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    min-height: auto;
    gap: 28px;
  }

  .modal {
    padding: 16px;
  }

  .modal-card,
  .modal-card.wide {
    width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
  }

  .modal-body {
    padding: 34px 20px 28px;
  }

  .modal-body h2 {
    font-size: 28px;
    line-height: 1.08;
  }

  .booking-form {
    gap: 14px;
  }

  .booking-form input,
  .booking-form select,
  .login-form input {
    height: 50px;
  }

  .trainer-modal-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .trainer-modal-stats {
    justify-items: start;
    text-align: left;
  }

  .trainer-modal-stats strong {
    font-size: 44px;
  }

  .booking-form,
  .modal-grid,
  .modal-trainers {
    grid-template-columns: 1fr;
  }

  .modal-trainer-info {
    min-height: 0;
  }

  .modal-list li,
  .payment-list li {
    grid-template-columns: 1fr;
  }

  .success-actions {
    width: 100%;
  }

  .success-actions .btn {
    width: 100%;
  }

  .mobile-sticky-cta {
    display: grid;
  }
}

@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: 36px;
  }

  .btn {
    width: 100%;
    padding-inline: 18px;
  }

  .schedule-tabs {
    margin-left: -8px;
    margin-right: -8px;
  }

  .trainer-card {
    flex-basis: 246px;
  }
}
