:root {
  --green: #2d8f2e;
  --green-hover: #37a838;
  --green-deep: #01332b;
  --green-mid: #068e78;
  --ink: #121412;
  --muted: #5c635c;
  --paper: #f3f5f2;
  --white: #fff;
  --line: rgba(1, 51, 43, 0.1);
  --radius: 18px;
  --header-h: 72px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(10, 12, 10, 0.88);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  color: #e8eee8;
}

.site-header.is-scrolled {
  background: rgba(8, 10, 8, 0.55);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav a {
  position: relative;
  opacity: 0.78;
  transition: opacity 0.2s, color 0.2s;
  color: #f2f5f2;
}

.nav a:hover {
  opacity: 1;
}

.nav a.is-active {
  opacity: 1;
  color: #9dff9a;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #f2f5f2;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.logo img {
  width: clamp(140px, 18vw, 180px);
  height: auto;
}

.nav {
  display: flex;
  gap: clamp(0.85rem, 1.6vw, 1.35rem);
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 600;
}

.header-phone {
  margin-left: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #f2f5f2;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.header-phone:hover {
  color: #9dff9a;
}

.header-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  padding: 0 10px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid #278a28;
  box-shadow: 0 4px 14px rgba(0, 100, 0, 0.18);
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s, background 0.2s;
}

.btn:hover {
  background: var(--green-hover);
  border-color: #2f9a30;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 100, 0, 0.22);
}

.btn--sm {
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

.btn--ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn--ghost:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08));
  border-color: var(--white);
  color: var(--white);
  filter: none;
}

.btn--ghost-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn--ghost-light:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1));
  border-color: var(--white);
  color: var(--white);
  filter: none;
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: hero-zoom 18s ease-out forwards;
}

@keyframes hero-zoom {
  to { transform: scale(1); }
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(1, 30, 26, 0.88) 0%, rgba(1, 51, 43, 0.62) 48%, rgba(1, 40, 34, 0.35) 100%),
    linear-gradient(180deg, rgba(1, 30, 26, 0.25) 0%, transparent 35%, rgba(1, 30, 26, 0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.hero h1 {
  font-size: clamp(2.1rem, 6.2vw, 4.25rem);
  margin-bottom: 1rem;
  opacity: 0;
  animation: rise 0.85s 0.15s ease forwards;
}

.hero__lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.75rem;
  opacity: 0;
  animation: rise 0.85s 0.28s ease forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.85s 0.42s ease forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.facts__item {
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
}

.facts__item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--green-deep);
}

.facts__item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
  max-width: 1240px;
  margin: 0 auto;
}

.section__head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.75rem;
}

.eyebrow--on-dark {
  color: #9dff9a;
}

.section h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
  color: var(--green-deep);
}

.section__sub {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.price-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover,
.price-card:focus-visible {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 60, 30, 0.1);
  outline: none;
}

.price-card--accent {
  border-color: rgba(46, 160, 67, 0.35);
  background: linear-gradient(180deg, #f3faf3 0%, #fff 55%);
}

.price-card__tag {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.price-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--green-deep);
  line-height: 1.25;
}

.price-card__value {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
}

.price-card__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  flex: 1;
}

.price-card__badge {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(46, 160, 67, 0.12);
  color: var(--green-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card__more {
  margin-top: 0.85rem;
  font-weight: 700;
  color: var(--green);
  font-size: 0.92rem;
}



.nutrition-points {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-width: 720px;
}

.nutrition-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nutrition-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}

.nutrition-subhead {
  margin: 2.25rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--green-deep);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nutrition-video {
  margin-top: 0.5rem;
}
.nutrition-video__title {
  text-align: center;
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}

.nutrition-video__fallback {
  text-align: center;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.nutrition-video__fallback a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
}


.nutrition-video__frame {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #0e110e;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.nutrition-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.nutrition-story {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 1.5rem;
  align-items: center;
  margin: 0.5rem 0 1.75rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.nutrition-story__photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #dfe6df;
}

.nutrition-story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

.nutrition-story__copy h4 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--green-deep);
}

.nutrition-story__copy p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  line-height: 1.55;
}

.nutrition-story__outro {
  color: var(--ink) !important;
}

.nutrition-ba {
  display: grid;
  gap: 1.25rem;
}

.nutrition-ba__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.nutrition-ba__photos figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #dfe6df;
  aspect-ratio: 3 / 4;
}

.nutrition-ba__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nutrition-cta {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

.btn--nutrition-wa {
  background: #e53935;
  border-color: #c62828;
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.22);
  text-align: center;
  max-width: 560px;
  min-height: 56px;
  padding-inline: 1.75rem;
}

.btn--nutrition-wa:hover {
  background: #ef5350;
  border-color: #d32f2f;
  box-shadow: 0 8px 18px rgba(198, 40, 40, 0.28);
}

.nutrition-result {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: #0e110e;
  color: #e8eee8;
}

.nutrition-result h3 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  color: #fff;
}

.nutrition-result p {
  margin: 0 0 0.85rem;
  color: #b8c0b8;
  line-height: 1.55;
}

.nutrition-result blockquote {
  margin: 0;
  padding-left: 0.9rem;
  border-left: 3px solid var(--green);
  color: #dce4dc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.nutrition-result__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  align-content: center;
}

.nutrition-result__stats div {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nutrition-result__stats span {
  display: block;
  font-size: 0.78rem;
  color: #8a938a;
  margin-bottom: 0.25rem;
}

.nutrition-result__stats strong {
  font-family: var(--display);
  font-size: 1.05rem;
  color: #9dff9a;
}

.trainings__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.training {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background: var(--green-deep);
  isolation: isolate;
  cursor: pointer;
}

.training:focus-visible,
.trainer:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.training p {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.training__more,
.trainer__more {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9dff9a;
}

.trainer {
  scroll-snap-align: start;
  cursor: pointer;
}

.trainer__more {
  margin-top: 0.55rem;
  color: var(--green);
}

.training img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.training::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(1, 30, 26, 0.92) 100%);
  z-index: 1;
}

.training:hover img {
  transform: scale(1.06);
}

.training__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.35rem 1.25rem 1.4rem;
  color: var(--white);
}

.training h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.trainers {
  max-width: none;
  padding-inline: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 133, 0, 0.05));
}

.trainers .section__head {
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  max-width: calc(1240px - 0px);
  margin-inline: auto;
  width: 100%;
}

.trainers__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 1.15rem;
  overflow-x: auto;
  padding: 0.25rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.trainers__grid::-webkit-scrollbar {
  height: 6px;
}

.trainers__grid::-webkit-scrollbar-thumb {
  background: rgba(0, 133, 0, 0.35);
  border-radius: 99px;
}

.trainer {
  scroll-snap-align: start;
  cursor: pointer;
}

.trainer__photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: #dfe6df;
  margin-bottom: 1rem;
}

.trainer__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.trainer:hover .trainer__photo img {
  transform: scale(1.04);
}

.trainer h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--green-deep);
}

.trainer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.btn--block {
  width: 100%;
}

body.lb-open {
  overflow: hidden;
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lb[hidden] {
  display: none !important;
}

.lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 8, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lb.is-open .lb__backdrop {
  opacity: 1;
}

.lb__dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(92vh, 900px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #f7f8f5;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.lb.is-open .lb__dialog {
  transform: none;
  opacity: 1;
}

.lb-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.lb-close:hover {
  background: #f0f2ef;
  color: #000;
}

.lb__layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 0;
  min-height: 420px;
  overflow: auto;
  flex: 1;
  min-height: 0;
}

.lb__main {
  padding: 1.75rem 1.75rem 2rem;
}

.lb__media {
  margin: 0 0 1.1rem;
  border-radius: 14px;
  overflow: hidden;
  background: #dfe6df;
}

.lb__media--landscape {
  aspect-ratio: 16 / 10;
  max-height: min(42vh, 380px);
  display: grid;
  place-items: center;
}

.lb__media--landscape img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Портреты тренеров: целиком, без обрезки */
.lb__media--portrait {
  max-width: min(100%, 280px);
  margin-left: auto;
  margin-right: auto;
  max-height: none;
  background: transparent;
  overflow: visible;
}

.lb__media--portrait img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(40vh, 400px);
  object-fit: contain;
  border-radius: 14px;
  background: #dfe6df;
  margin: 0 auto;
}

.lb__main h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--green-deep);
  margin: 0 0 1rem;
}

.lb__body {
  color: #3a423a;
  font-size: 0.98rem;
  line-height: 1.6;
}

.lb__body p {
  margin: 0 0 0.85rem;
}

.lb__body ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}

.lb__body li {
  margin-bottom: 0.35rem;
}

.lb__aside {
  padding: 1.75rem 1.5rem 2rem;
  background: #0e110e;
  color: #e8eee8;
}

.lb__aside h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0 0 1.1rem;
  color: #fff;
  padding-right: 2rem;
}

.lb-form {
  display: grid;
  gap: 0.85rem;
}

.lb-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #b8c0b8;
}

.lb-form input,
.lb-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
}

.lb-form input::placeholder,
.lb-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.lb-form input:focus,
.lb-form textarea:focus {
  outline: 2px solid var(--green);
  border-color: transparent;
}

.lb-form__note {
  margin: 0;
  color: #9dff9a;
  font-size: 0.88rem;
}

.lb-form__hint {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #8a938a;
}

.lb-form__hint a {
  color: #9dff9a;
  font-weight: 700;
}

@media (max-width: 800px) {
  .lb__layout {
    grid-template-columns: 1fr;
  }

  .lb__media--landscape {
    max-height: min(36vh, 300px);
  }

  .lb__media--portrait {
    max-width: min(100%, 240px);
  }

  .lb__media--portrait img {
    max-height: min(42vh, 380px);
  }

  .lb__aside {
    border-radius: 0 0 22px 22px;
  }
}

.gallery {
  max-width: none;
  padding-inline: 0;
}

.gallery .section__head {
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  margin-inline: auto;
  max-width: 1240px;
}

.gallery__strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(200px, 1fr));
  gap: 0.65rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  overflow-x: auto;
}

.gallery__strip figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #dfe6df;
}

.gallery__strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__strip figure:hover img {
  transform: scale(1.05);
}
.gallery__item {
  cursor: zoom-in;
}

.gallery__item:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}


.cta-block {
  margin: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 6vw, 4.5rem);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0, 168, 10, 0.28), transparent 50%),
    linear-gradient(145deg, #01332b 0%, #025a3f 55%, #008500 140%);
  color: var(--white);
}

.cta-block__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: 360px;
}

.cta-block__inner {
  padding: clamp(2.25rem, 5vw, 3.75rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-block__media {
  position: relative;
  min-height: 280px;
}

.cta-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-block__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 51, 43, 0.45), transparent 40%);
  pointer-events: none;
}

.cta-block h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.cta-block p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.cta-block address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .cta-block__grid {
    grid-template-columns: 1fr;
  }

  .cta-block__media {
    min-height: 220px;
    order: -1;
  }

  .cta-block__media::after {
    background: linear-gradient(180deg, transparent 40%, rgba(1, 51, 43, 0.55));
  }
}

.map-section {
  margin: 0 clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
  border-radius: 28px;
  overflow: hidden;
  background: #0a0c0a;
  color: #e8eee8;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.map-section__wrap {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
  min-height: 420px;
}

.map-section__contacts {
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-section__contacts h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 1.5rem;
  color: #fff;
}

.contact-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-list__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9dff9a;
  margin-bottom: 0.3rem;
}

.contact-list a,
.contact-list span:not(.contact-list__label) {
  color: #f2f5f2;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact-list a:hover {
  color: #9dff9a;
}

.map-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.map-section__frame {
  width: 100%;
  min-height: 420px;
  background: #1a1f1a;
  overflow: hidden;
}

.map-static {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  color: #fff;
}

.map-static img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.map-static__cta {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: rgba(10, 12, 10, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.map-static:hover .map-static__cta {
  background: var(--green);
  border-color: var(--green);
}

@media (max-width: 800px) {
  .map-section,
  .site-footer {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }

  .map-section__wrap {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0e110e;
  color: #9aa39a;
  font-size: 0.9rem;
  box-shadow: none;
}

.logo--footer img {
  width: 140px;
  height: auto;
  filter: none;
}

.footer-current {
  margin-left: auto;
  color: #9dff9a;
  font-weight: 700;
}

.footer-privacy {
  color: #b8c0b8;
  font-weight: 600;
}

.footer-privacy:hover,
.footer-current:hover {
  text-decoration: underline;
  color: #fff;
}

.lb-consent {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: #b8c0b8 !important;
  line-height: 1.4;
}

.lb-consent input {
  width: 18px !important;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.lb-consent a {
  color: #9dff9a;
  text-decoration: underline;
}

.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1900;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem 1.15rem;
  background: rgba(10, 12, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: #e8eee8;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.cookie-bar[hidden] {
  display: none !important;
}

.cookie-bar__text {
  flex: 1 1 280px;
}

.cookie-bar__text strong {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.cookie-bar__text p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #c5cdc5;
}

.cookie-bar__text a {
  color: #9dff9a;
  font-weight: 700;
}

.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn--ghost-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  color: #e8eee8;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn--ghost-dark:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  border-color: #fff;
  color: #fff;
  filter: none;
}

@media (max-width: 800px) {
  .cookie-bar {
    bottom: 1rem;
  }

  .site-footer .footer-current {
    margin-left: 0;
  }
}


.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--d, 0) * 0.07s);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .trainings__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .nutrition-result {
    grid-template-columns: 1fr;
  }

  .nutrition-story {
    grid-template-columns: 1fr;
  }

  .nutrition-result__stats {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__strip {
    grid-template-columns: repeat(6, minmax(180px, 1fr));
  }
}

@media (max-width: 800px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #0e110e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 0;
  }

  .nav.is-open {
    display: flex;
    background: #0e110e;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .nav a {
    padding: 0.9rem 1.25rem;
    opacity: 1;
  }

  .nav a.is-active::after {
    left: 1.25rem;
    right: auto;
    bottom: 0.55rem;
    width: 1.5rem;
  }

  .nav a.is-active {
    background: rgba(45, 143, 46, 0.12);
  }

  .header-cta {
    display: none;
  }

  .header-phone {
    margin-left: auto;
    margin-right: 0.25rem;
    font-size: 0.82rem;
  }

  .nav-toggle {
    display: flex;
    margin-left: 0;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .trainings__grid {
    grid-template-columns: 1fr;
  }

  .price-grid,
  .price-grid--2 {
    grid-template-columns: 1fr;
  }

  .training {
    min-height: 280px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-current {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img { animation: none; transform: none; }
  .hero h1, .hero__lead, .hero__actions {
    opacity: 1;
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Privacy policy lightbox */
.privacy-lb {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.privacy-lb[hidden] {
  display: none !important;
}

.privacy-lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 8, 0.78);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.privacy-lb.is-open .privacy-lb__backdrop {
  opacity: 1;
}

.privacy-lb__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(90vh, 860px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #f7f8f5;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.privacy-lb.is-open .privacy-lb__dialog {
  transform: none;
  opacity: 1;
}

.privacy-lb__inner {
  padding: 2rem 1.5rem 2.25rem;
  overflow: auto;
  flex: 1;
  min-height: 0;
}

.privacy-lb__inner h2 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  color: var(--green-deep);
  margin: 0 0 1rem;
  padding-right: 2.5rem;
}

.privacy-lb__inner h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--green-deep);
}

.privacy-lb__inner p,
.privacy-lb__inner li {
  color: #3a423a;
  line-height: 1.65;
  font-size: 0.95rem;
}

.privacy-lb__inner ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0;
}

.privacy-lb__inner .note {
  background: #eef3ee;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
}

.privacy-lb__inner a {
  color: var(--green);
  font-weight: 600;
}

body.privacy-lb-open {
  overflow: hidden;
}


/* Gallery photo lightbox */
.gallery-lb {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.gallery-lb[hidden] {
  display: none !important;
}

.gallery-lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 6, 0.88);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-lb.is-open .gallery-lb__backdrop {
  opacity: 1;
}

.gallery-lb__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: min(92vh, 920px);
  display: grid;
  place-items: center;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.gallery-lb.is-open .gallery-lb__dialog {
  transform: none;
  opacity: 1;
}

.gallery-lb__figure {
  margin: 0;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  width: 100%;
}

.gallery-lb__figure img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  background: #111;
}

.gallery-lb__figure figcaption {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.gallery-lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.gallery-lb__nav:hover {
  background: #f0f2ef;
}

.gallery-lb__nav--prev {
  left: 0.35rem;
}

.gallery-lb__nav--next {
  right: 0.35rem;
}

.gallery-lb .lb-close {
  top: 0;
  right: 0;
}

body.gallery-lb-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .gallery-lb__nav {
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }

  .gallery-lb__nav--prev {
    left: 0;
  }

  .gallery-lb__nav--next {
    right: 0;
  }

  .gallery-lb__figure img {
    max-height: min(70vh, 640px);
    border-radius: 12px;
  }
}

@media (max-width: 600px) {
  .nutrition-ba__photos {
    grid-template-columns: 1fr;
  }

  .btn--nutrition-wa {
    width: 100%;
    font-size: 0.9rem;
  }
}


.nutrition-case {
  --nutrition-media-w: min(360px, 100%);
  display: grid;
  grid-template-columns: var(--nutrition-media-w) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin: 0.75rem 0 1.75rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.nutrition-case--ba {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.nutrition-case__photo {
  margin: 0;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #dfe6df;
  aspect-ratio: 567 / 593;
}

.nutrition-case__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nutrition-case__copy h4 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--green-deep);
}

.nutrition-case__copy p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  line-height: 1.55;
}

.nutrition-case__copy ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.55;
}

.nutrition-case__copy li {
  margin-bottom: 0.35rem;
}

.nutrition-case__outro {
  color: var(--ink) !important;
}

.nutrition-carousel {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1f1a;
}

.nutrition-carousel__track {
  position: relative;
  aspect-ratio: 567 / 593;
}

.nutrition-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.nutrition-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.nutrition-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nutrition-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.nutrition-carousel__btn--prev { left: 0.5rem; }
.nutrition-carousel__btn--next { right: 0.5rem; }

.nutrition-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.nutrition-carousel__dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
}

.nutrition-carousel__dots button.is-active {
  background: #fff;
}

.nutrition-case--ba .nutrition-result {
  margin: 0;
  padding: 0;
  background: transparent;
  display: block;
}

.nutrition-case--ba .nutrition-result h3 {
  margin-bottom: 0.85rem;
  color: var(--green-deep);
}

.nutrition-case--ba .eyebrow {
  color: var(--green);
}

.nutrition-result__table {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1rem;
}

.nutrition-result__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  background: #f3f6f3;
  border: 1px solid var(--line);
}

.nutrition-result__row--head {
  background: transparent;
  border: 0;
  padding-bottom: 0.15rem;
}

.nutrition-result__row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #8a938a;
}

.nutrition-result__ico {
  flex: 0 0 auto;
  color: var(--green);
  opacity: 0.95;
}

.nutrition-result__row strong {
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--green-deep);
  text-align: center;
}

.nutrition-result__row--head strong {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.nutrition-case--ba blockquote {
  margin: 0;
  padding-left: 0.9rem;
  border-left: 3px solid var(--green);
  color: #3a423a;
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .nutrition-case,
  .nutrition-case--ba {
    grid-template-columns: 1fr;
  }

  .nutrition-case {
    --nutrition-media-w: 100%;
  }

  .nutrition-case__photo,
  .nutrition-carousel {
    max-width: 360px;
    margin-inline: auto;
  }
}
