/* ==========================================================================
   Журавли.team — лендинг школы плавания
   ========================================================================== */

/* --------------------------------------------------------------- шрифты  */
@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 250 1000;
  font-display: swap;
  src: url('../fonts/TildaSans-VF.woff2') format('woff2-variations');
}

/* --------------------------------------------------------------- токены  */
:root {
  --blue: #1756a2;          /* основной синий: меню, кнопки, плашки */
  --blue-deep: #141e30;     /* тёмный конец градиента кнопки в шапке */
  --blue-btn: #164a9a;      /* кнопки в карточках */
  --cyan: #168de2;          /* акцент: кнопка календаря, активный таб */
  --cyan-bright: #00a1e7;   /* play-кнопки видео */
  --orange: #ff5600;
  --ink: #000;
  --ink-muted: #afafaf;
  --page: #fff;

  --container: 1200px;
  --gutter: 20px;
}

/* --------------------------------------------------------------- сброс   */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'TildaSans', Arial, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; }

body.is-locked { overflow: hidden; }

/* ------------------------------------------------------------ типографика
   Шкала повторяет размеры исходного макета: базовые значения, затем ступени
   на 960px и 640px.                                                        */
.t-title   { font-weight: 600; line-height: 1.23; }
.t-title_xxs { font-size: 36px; }
.t-title_xs  { font-size: 42px; }
.t-title_lg  { font-size: 64px; }
.t-title_xxl { font-size: 82px; line-height: 1.17; }

.t-heading    { font-weight: 600; }
.t-heading_xs { font-size: 26px; line-height: 1.23; }
.t-heading_sm { font-size: 28px; line-height: 1.17; }
.t-heading_lg { font-size: 32px; line-height: 1.17; }

.t-name    { font-weight: 600; line-height: 1.35; }
.t-name_xs { font-size: 16px; }
.t-name_md { font-size: 20px; }
.t-name_lg { font-size: 22px; }
.t-name_xl { font-size: 24px; }

.t-descr    { font-weight: 300; line-height: 1.55; }
.t-descr_xxs { font-size: 14px; }
.t-descr_xs  { font-size: 16px; }
.t-descr_sm  { font-size: 18px; }
.t-descr_md  { font-size: 20px; }
.t-descr_xl  { font-size: 24px; line-height: 1.5; }

.t-text    { font-weight: 300; line-height: 1.55; }
.t-text_xs { font-size: 15px; }
.t-text_sm { font-size: 18px; }
.t-text_md { font-size: 20px; }

.t-uptitle    { font-weight: 600; letter-spacing: 2.5px; }
.t-uptitle_xs { font-size: 12px; }
.t-uptitle_sm { font-size: 14px; }

.t-align_center { text-align: center; }
.t-align_left   { text-align: left; }

/* ------------------------------------------------------------------ сетка */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}
.container_100 { max-width: none; }
.container_10  { max-width: 1000px; }
.container_8   { max-width: 800px; }
.container_flex { display: flex; }

.col   { width: 100%; padding: 0 var(--gutter); }
.col_1 { width: 8.3333%; }  .col_2 { width: 16.6667%; }
.col_3 { width: 25%; }      .col_4 { width: 33.3333%; }
.col_5 { width: 41.6667%; } .col_6 { width: 50%; }
.col_7 { width: 58.3333%; } .col_8 { width: 66.6667%; }
.col_9 { width: 75%; }      .col_10 { width: 83.3333%; }
.col_11 { width: 91.6667%; }.col_12 { width: 100%; }

/* Вертикальные отступы блоков — как в исходной сетке (шаг 15px). */
.pt-0  { padding-top: 0; }      .pb-0  { padding-bottom: 0; }
.pt-15 { padding-top: 15px; }   .pb-15 { padding-bottom: 15px; }
.pt-30 { padding-top: 30px; }   .pb-30 { padding-bottom: 30px; }
.pt-45 { padding-top: 45px; }   .pb-45 { padding-bottom: 45px; }
.pt-60 { padding-top: 60px; }   .pb-60 { padding-bottom: 60px; }
.pt-75 { padding-top: 75px; }   .pb-75 { padding-bottom: 75px; }
.pt-90 { padding-top: 90px; }   .pb-90 { padding-bottom: 90px; }

/* ---------------------------------------------------------------- кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1ch;
  max-width: 100%;
  padding: 0 30px;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  background-color: var(--blue);
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color .2s ease-in-out, color .2s ease-in-out,
              box-shadow .2s ease-in-out, opacity .2s ease-in-out;
}
.btn:hover { opacity: .9; }

.btn_xs  { height: 35px; font-size: 13px; padding: 0 15px; }
.btn_sm  { height: 40px; font-size: 14px; padding: 0 30px; }
.btn_smd { height: 50px; font-size: 15px; padding: 0 44px; }
.btn_md  { height: 60px; font-size: 16px; padding: 0 60px; }
.btn_lg  { height: 60px; font-size: 22px; padding: 0 70px; }
.btn_xl  { height: 80px; font-size: 26px; padding: 0 80px; }

/* Мерцающий блик — как у кнопки на первом экране. */
.btn_flash { position: relative; overflow: hidden; isolation: isolate; }
.btn_flash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%, rgba(255,255,255,.28) 50%, rgba(255,255,255,0) 100%);
  width: 85px;
  animation: btn-flash 3s linear infinite;
}
@keyframes btn-flash {
  0%   { transform: translateX(-85px); }
  50%  { transform: translateX(var(--flash-distance, 420px)); }
  100% { transform: translateX(var(--flash-distance, 420px)); }
}
@media (prefers-reduced-motion: reduce) {
  .btn_flash::after { animation: none; opacity: 0; }
}

/* ================================================================== ШАПКА */
.header-slot { padding-bottom: 60px; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2000;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0);
  transition: background-color .3s linear;
}

.header__inner {
  display: flex;
  align-items: center;
  height: 124px;
  padding: 0 40px;
}

.header__logo { flex-shrink: 0; align-self: flex-start; margin-right: 30px; }
.header__logo img { width: 120px; height: auto; }

.header__nav { flex: 1 1 auto; min-width: 0; }

/* Пункты меню прижаты к правому краю своей колонки — как в исходном макете. */
.header__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.header__item { padding: 0 15px; white-space: nowrap; position: relative; }
.header__item:first-child { padding-left: 0; }
.header__item:last-child { padding-right: 0; }

.header__link {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
  transition: opacity .2s;
}
.header__link:hover { opacity: .7; }

/* стрелка выпадающего меню */
.header__caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 8px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--blue);
}

.header__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 12px 0;
  margin-top: 6px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  text-align: left;
  z-index: 10;
}
.header__item:hover .header__submenu,
.header__item:focus-within .header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header__sublink {
  display: block;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}
.header__sublink:hover { opacity: .7; }

.header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-left: 25px;
  flex-shrink: 0;
}

/* 46px слева — так правая группа занимает те же 500px, что и в макете. */
.socials { display: flex; align-items: center; padding-left: 46px; }
.socials__item { padding: 0 5px; line-height: 0; }
.socials__item img { width: 30px; height: 30px; }

.header__btn {
  background-image: radial-gradient(circle at center, var(--blue) 0%, var(--blue-deep) 100%);
  background-color: transparent;
  border-radius: 64px;
  box-shadow: 0 0 20px -6px rgba(20, 30, 48, .5);
  height: 40px;
  font-size: 14px;
  padding: 0 30px;
}

/* бургер и мобильная шапка */
.header-mobile { display: none; }

.burger {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 20px;
  z-index: 999;
}
.burger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--blue);
  transition: .25s ease-in-out;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2),
.burger span:nth-child(3) { top: 8px; }
.burger span:nth-child(4) { top: 16px; }
.burger.is-open span:nth-child(1),
.burger.is-open span:nth-child(4) { top: 8px; width: 0; left: 50%; }
.burger.is-open span:nth-child(2) { transform: rotate(45deg); }
.burger.is-open span:nth-child(3) { transform: rotate(-45deg); }

/* ==================================== АДАПТИВ: сетка, как в исходном макете */
@media screen and (max-width: 1200px) {
  :root { --container: 960px; }
  .container_10 { max-width: 780px; }
  .container_8  { max-width: 640px; }
  .col { padding: 0 10px; }
  .col_offset { margin-left: 10px; }
}

@media screen and (max-width: 960px) {
  :root { --container: 640px; }
  .container_10, .container_8 { max-width: 640px; }
  .container_flex { display: block; }
  .col { padding: 0 20px; }
  .col_1, .col_2, .col_3, .col_4, .col_5, .col_6,
  .col_7, .col_8, .col_9, .col_10, .col_11, .col_12 { width: 100%; }
}

/* =================================================== АДАПТИВ: 980px и ниже */
@media screen and (max-width: 980px) {
  .header { position: static; height: auto; }
  .header__inner { display: none; }

  .header-slot { padding-bottom: 0; }

  /* Мобильная шапка остаётся в потоке — как в исходном макете. */
  .header-mobile {
    display: block;
    position: relative;
    width: 100%;
    z-index: 990;
    background: #fff;
  }
  .header-mobile__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 20px;
  }
  .header-mobile__logo img { width: 120px; height: auto; }
  /* Бургер слева, логотип справа — порядок из макета. */
  .header-mobile__bar { justify-content: space-between; }
  .header-mobile__logo { order: 1; }

  .header-mobile__menu {
    display: none;
    padding: 0 20px 24px;
    background: #fff;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .header-mobile__menu.is-open { display: block; }
  .header-mobile__menu a {
    display: block;
    padding: 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--blue);
  }
  .header-mobile__menu .header-mobile__sub a {
    padding-left: 20px;
    font-size: 17px;
  }
  .header-mobile__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
  }
}

/* ============================================ АДАПТИВ: типографика 960px */
@media screen and (max-width: 960px) {
  .t-text_xs { font-size: 14px; }
  .t-text_sm { font-size: 16px; }
  .t-text_md { font-size: 18px; }
  .t-descr_xxs { font-size: 12px; }
  .t-descr_xs  { font-size: 14px; }
  .t-descr_sm  { font-size: 16px; }
  .t-descr_md  { font-size: 18px; }
  .t-descr_xl  { font-size: 22px; }
  .t-title_xxs { font-size: 32px; }
  .t-title_xs  { font-size: 38px; }
  .t-title_lg  { font-size: 60px; }
  .t-title_xxl { font-size: 78px; }
  .t-name_xs { font-size: 14px; }
  .t-name_md { font-size: 18px; }
  .t-name_lg { font-size: 20px; }
  .t-name_xl { font-size: 22px; }
  .t-heading_xs { font-size: 24px; }
  .t-heading_sm { font-size: 26px; }
  .t-heading_lg { font-size: 30px; }
}

@media screen and (max-width: 960px) {
  .btn_sm { padding: 0 20px; }
  .btn_md { padding: 0 30px; }
  .btn_lg { font-size: 18px; padding: 0 40px; }
  .btn_xl { font-size: 22px; padding: 0 50px; }
}

@media screen and (max-width: 640px) {
  .t-text_sm { font-size: 14px; line-height: 1.45; }
  .t-text_md { font-size: 16px; line-height: 1.45; }
  .t-descr_xs { font-size: 12px; line-height: 1.45; }
  .t-descr_sm { font-size: 14px; line-height: 1.45; }
  .t-descr_md { font-size: 16px; line-height: 1.45; }
  .t-descr_xl { font-size: 20px; line-height: 1.4; }
  .t-uptitle_xs, .t-uptitle_sm { font-size: 10px; }
  .t-title_xxs { font-size: 28px; }
  .t-title_xs  { font-size: 30px; }
  .t-title_lg  { font-size: 30px; }
  .t-title_xxl { font-size: 36px; }
  .t-name_xs { font-size: 12px; }
  .t-name_md { font-size: 16px; }
  .t-name_lg { font-size: 18px; }
  .t-name_xl { font-size: 20px; }
  .t-heading_xs { font-size: 22px; }
  .t-heading_sm { font-size: 24px; }
  .t-heading_lg { font-size: 26px; }
}

@media screen and (max-width: 480px) {
  /* На узких экранах в шапке остаётся только бургер — как в макете. */
  .header-mobile__logo { display: none; }
  .header-mobile__bar { min-height: 64px; }
  .services__imgwrap { flex: 0 0 150px; width: 150px; padding-bottom: 150px; }
}

/* ============================================================ ЯКОРЯ, РАЗДЕЛЫ */
.anchor { font-size: 0; line-height: 0; scroll-margin-top: 100px; }

.section-title {
  margin-bottom: 90px;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.23;
  text-align: center;
}

@media screen and (max-width: 960px) {
  .section-title { margin-bottom: 45px; font-size: 38px; }
}

@media screen and (max-width: 640px) {
  .section-title { font-size: 30px; }
}

/* =============================================================== ФОРМЫ */
.form-section__title {
  margin-bottom: 75px;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.23;
  text-align: center;
}

.form__inputs { display: flex; align-items: flex-end; width: 100%; }
.form__group { flex: 1 1 0; padding-right: var(--gutter); }
.form__label {
  display: block;
  padding-right: 10px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
}
.form__input {
  width: 100%;
  height: 60px;
  padding: 0;
  font-size: 16px;
  line-height: 1.33;
  color: #000;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
}
.form__input::placeholder { color: #000; opacity: .5; }
.form__input:focus { border-bottom-color: var(--blue); }

.form__submit { flex: 0 0 auto; }
.form__submit .btn {
  border: 1px solid #74cbf3;
  border-radius: 10px;
}

.form__note {
  margin-top: 30px;
  text-align: center;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
}
.form__note a { color: #ff8562; }

.form__message {
  padding: 20px 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
}
.form__message_error { color: #d0342c; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ================================================================ ОТЗЫВЫ */
.reviews-title {
  padding: 8px 0 3px;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.23;
  text-align: center;
}
.reviews-widget {
  position: relative;
  width: 560px;
  max-width: 100%;
  height: 800px;
  margin: 0 auto;
  overflow: hidden;
}
.reviews-widget iframe {
  width: 100%;
  height: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}
.reviews-widget__link {
  position: absolute;
  left: 0;
  bottom: 8px;
  display: block;
  width: 100%;
  max-height: 14px;
  padding: 0 16px;
  overflow: hidden;
  color: #b3b3b3;
  font-size: 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 960px) {
  .form-section__title { margin-bottom: 45px; font-size: 38px; }
}

@media screen and (max-width: 640px) {
  .form__inputs { display: block; }
  .form__group { padding-right: 0; margin-bottom: 20px; }
  .form__submit .btn { width: 100%; }
}

/* ================================================= ПЕРЕКЛЮЧАТЕЛЬ ТАРИФОВ */
.tabs { width: 560px; max-width: 100%; margin: 0 auto; }
.tabs__list { display: flex; }
.tabs__item { width: 50%; border-bottom: 1px solid #eee; }
.tabs__btn {
  width: 100%;
  padding: 0 10px 18px;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--blue);
  text-align: center;
  transition: color .2s ease-in-out;
}
.tabs__item_active { border-bottom-color: #222; }
.tabs__item_active .tabs__btn { color: #74cbf3; font-weight: 600; }

.tab-panel[hidden] { display: none; }

/* -------------------------------------------------- заголовки внутри вкладок */
.tab-heading {
  padding: 8px 0 3px;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.23;
  text-align: center;
}
.tab-heading_sm { font-size: 36px; }

/* ----------------------------------------------- обложка раздела (t164) */
.section-cover { position: relative; height: 80vh; overflow: hidden; background-color: #000; }
.section-cover__carrier {
  height: 100%;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: cover;
}
.section-cover__filter { position: absolute; inset: 0; background-color: rgba(23, 86, 162, .60); }
.section-cover__container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}
.section-cover__wrapper { width: 100%; padding-top: 42px; padding-bottom: 42px; color: #fff; }
.section-cover__title {
  padding-bottom: 12px;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.17;
}
.section-cover__text {
  padding: 8px 0 6px;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.55;
}

/* ------------------------------------------ карточки направлений (t1025) */
.services__item {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.services__item:first-child { border-top: 1px solid rgba(0, 0, 0, .1); }
.services__imgwrap {
  position: relative;
  flex: 0 0 300px;
  width: 300px;
  padding-bottom: 300px;
  margin-right: 20px;
  margin-bottom: auto;
}
.services__img {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.services__content { display: flex; flex-grow: 1; }
.services__text { flex-grow: 1; margin-right: 20px; }
.services__title { font-size: 36px; font-weight: 600; line-height: 1.5; }
.services__descr {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  opacity: .6;
}
.services__btn { flex: 0 0 auto; }
.services__btn .btn {
  height: 45px;
  font-size: 14px;
  padding: 0 30px;
  border: 1px solid #74cbf3;
  border-radius: 10px;
}

/* ------------------------------------------------------ вопрос-ответ (t585) */
.faq__item { border-top: 1px solid #eee; }
.faq__item:last-child { border-bottom: 1px solid #eee; }
.faq__trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 27px 50px 27px 0;
  text-align: left;
}
.faq__question { display: block; font-size: 30px; font-weight: 600; line-height: 1.35; }
.faq__icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}
.faq__icon span,
.faq__icon::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 24px;
  height: 1px;
  background: #222;
}
.faq__icon span { transform: rotate(90deg); transition: transform .3s ease-in-out; }
.faq__item_open .faq__icon span { transform: rotate(0deg); }
.faq__answer {
  display: none;
  padding: 0 0 27px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
}
.faq__item_open .faq__answer { display: block; }

/* Колонки со сдвигом — пары .t-col_N + .t-prefix_M исходной сетки: рамка
   начинается в 20px от левого края контейнера, отступ слева прибавляется
   к ширине колонки, справа его нет. */
.col_offset { margin-left: var(--gutter); padding-left: 0; padding-right: 0; max-width: calc(100% - var(--gutter)); }
.col_9.col_offset  { width: 1060px; padding-left: 200px; }
.col_10.col_offset { width: 1060px; padding-left: 100px; }
.col_8.col_offset  { width: 960px;  padding-left: 200px; }

@media screen and (max-width: 960px) {
  .col_offset { margin-left: 0; max-width: 100%; }
  .col_9.col_offset, .col_10.col_offset, .col_8.col_offset { width: 100%; padding-left: var(--gutter); padding-right: var(--gutter); }
  .tabs__btn { font-size: 24px; }
}

@media screen and (max-width: 640px) {
  .tabs__btn { font-size: 18px; padding-bottom: 12px; }
  .faq__trigger { padding: 20px 40px 20px 0; }
  .services__item { display: flex; }
  .services__imgwrap { flex: 0 0 200px; width: 200px; padding-bottom: 200px; }
  .services__content { display: block; }
  .services__text { margin-right: 0; }
  .services__btn { margin-top: 20px; }

}

/* ============================================================ ГАЛЕРЕЯ (t603) */
.gallery { padding: 0 10px; font-size: 0; }
.gallery__tile { display: inline-block; vertical-align: top; width: 25%; padding: 20px 10px 0; }
.gallery__img {
  width: 100%;
  padding-bottom: 133%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: zoom-in;
}

/* ============================================================== ВИДЕО (t1061) */
.videos { display: flex; flex-wrap: wrap; }
.videos__col { width: 50%; padding: 0 var(--gutter); }
.videos__col:nth-child(n+3) { margin-top: 40px; }
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.video__play svg { width: 68px; height: 68px; }
.videos__name { margin-top: 20px; font-size: 20px; font-weight: 600; line-height: 1.35; }

@media screen and (max-width: 960px) {
  .gallery { padding: 0 5px; }
  .gallery__tile { width: 50%; padding: 10px 5px 0; }
  .videos__col { width: 100%; }
  .videos__col:nth-child(n+2) { margin-top: 20px; }
}

@media screen and (max-width: 640px) {
  .video__play svg { width: 52px; height: 52px; }
}

/* ========================================================== КОММЬЮНИТИ */
.community__text {
  padding-top: 41px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  text-align: left;
}
.community__text p { margin: 0; }

/* коллаж из пяти фотографий */
.collage { display: flex; padding: 20px; }
.collage__left  { display: flex; width: 50%; padding-right: 10px; }
.collage__right { width: 50%; padding-left: 10px; font-size: 0; }
.collage__big {
  flex: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.collage__cell { display: inline-block; vertical-align: middle; width: 50%; }
.collage__cell_left  { padding-right: 10px; }
.collage__cell_right { padding-left: 10px; }
.collage__img {
  width: 100%;
  padding-bottom: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.collage__gap { width: 100%; height: 20px; }

/* ======================================================= СОТРУДНИЧЕСТВО */
.coop-tabs { width: 760px; max-width: 100%; margin: 0 auto; display: flex; }
.coop-tabs__item {
  position: relative;
  width: 33.3333%;
  background-color: #fff;
  border: 1px solid #222;
}
.coop-tabs__item + .coop-tabs__item { border-left: 0; }
.coop-tabs__item:first-child { border-radius: 10px 0 0 10px; }
.coop-tabs__item:last-child  { border-radius: 0 10px 10px 0; }
.coop-tabs__item_active { background-color: var(--blue); }
.coop-tabs__btn {
  width: 100%;
  height: 100%;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: #000;
  text-align: center;
}
.coop-tabs__item_active .coop-tabs__btn { color: #fff; font-weight: 600; cursor: default; }

/* Отступы 8/6px — как у исходного текстового блока. */
.coop-text { padding: 8px 0 6px; font-size: 20px; font-weight: 300; line-height: 1.55; }
.coop-text strong { font-weight: 600; }
.coop-text ul { padding-left: 20px; margin-bottom: 10px; list-style: disc; }

/* ================================================== ПЛАВАЮЩИЕ ЭЛЕМЕНТЫ */
.to-top {
  position: fixed;
  right: 40px;
  bottom: 80px;
  z-index: 900;
  width: 50px;
  height: 50px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }

.callback { position: fixed; left: 20px; bottom: 20px; z-index: 900; }
.callback__btn {
  position: relative;
  width: 64px;
  height: 64px;
  padding: 4px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 50%;
}
.callback__avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.callback__pulse {
  position: absolute;
  inset: -2px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  animation: callback-pulse 2s ease-out infinite;
}
@keyframes callback-pulse {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .callback__pulse { animation: none; } }

.callback__popup {
  position: absolute;
  left: 0;
  bottom: 0;
  display: none;
  width: 320px;
  max-width: calc(100vw - 40px);
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .18);
}
.callback.is-open .callback__popup { display: block; }
.callback.is-open .callback__btn { display: none; }
.callback__close { position: absolute; top: 12px; right: 14px; font-size: 20px; line-height: 1; color: #888; }
.callback__img {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
}
.callback__title { font-size: 20px; font-weight: 600; line-height: 1.35; }
.callback__descr { margin-top: 6px; font-size: 14px; font-weight: 300; line-height: 1.55; }
.callback__phone {
  display: inline-block;
  margin-top: 14px;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
}

/* ================================================================ ПОДВАЛ */
.footer { background-color: #171717; }
.footer__inner { display: flex; }
.footer__col { width: 33.3333%; padding: 0 var(--gutter); }
.footer__col_links { width: 46.6667%; margin-left: var(--gutter); padding-left: 400px; padding-right: 0; }
.footer__logo { width: 120px; height: auto; }
.footer__text {
  margin-top: 40px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: #525252;
}
.footer__title {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #525252;
}
.footer__links { font-size: 14px; font-weight: 300; line-height: 1.55; color: #fff; }
.footer__links li { margin-bottom: 10px; }
.footer__links li:last-child { margin-bottom: 0; }
.footer__links a { color: #ff8562; }
.footer__links a:hover { text-decoration: underline; }

@media screen and (max-width: 960px) {
  .coop-tabs__btn { font-size: 12px; padding: 12px 10px; }
  .coop-text { font-size: 18px; }
  .footer__inner { display: block; }
  .footer__col, .footer__col_links { width: 100%; margin-left: 0; padding: 0 var(--gutter); }
  .footer__col_links { margin-top: 40px; }
}

@media screen and (max-width: 960px) {
  .collage { display: block; padding: 10px; }
  .collage__left, .collage__right { width: 100%; padding: 0; }
  .collage__left { padding-bottom: 10px; }
  .collage__big { padding-bottom: 100%; }
  .collage__cell_left { padding-right: 5px; }
  .collage__cell_right { padding-left: 5px; }
  .collage__gap { height: 10px; }
  .coop-tabs { display: block; }
  .coop-tabs__item { width: 100%; border-radius: 0 !important; }
  .coop-tabs__item + .coop-tabs__item { border-left: 1px solid #222; border-top: 0; }
  .to-top { right: 20px; bottom: 90px; }
}

/* =============================================================== ПОПАПЫ */
.popup {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10000001;
  display: none;
  width: 640px;
  max-width: calc(100% - 40px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 0 20px;
  background-color: #fbfbf9;
  opacity: 0;
  transition: opacity .3s ease-in-out;
}
.popup.is-open { display: block; opacity: 1; }

.popup__close {
  position: absolute;
  top: 8px;
  right: 6px;
  z-index: 9;
  width: 24px;
  height: 24px;
  padding: 6px;
}
.popup__close svg { width: 12px; height: 12px; fill: #fff; }

.popup__container { display: flex; padding: 30px 10px; }
.popup__content { flex-grow: 1; min-width: 0; }
.popup__title { margin-bottom: 11px; font-size: 24px; font-weight: 600; line-height: 1.35; }
.popup__descr { margin-bottom: 24px; font-size: 16px; font-weight: 300; line-height: 1.55; }
.popup__group { margin-bottom: 12px; }
.popup__label {
  display: block;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
}
.popup__input,
.popup__textarea {
  width: 100%;
  padding: 0 20px;
  font-size: 16px;
  line-height: 21.28px;
  color: #000;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 10px;
  outline: none;
  -webkit-appearance: none;
}
.popup__input { height: 60px; }
.popup__textarea { height: 170px; padding: 18px 20px; resize: vertical; }
.popup__input::placeholder,
.popup__textarea::placeholder { color: #000; opacity: .5; }
.popup__submit { width: 100%; }
.popup__note {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  text-align: center;
}
.popup__note a { color: #ff8562; }

.popup__img-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 40%;
  margin-left: 30px;
}
.popup__img {
  position: absolute;
  inset: -30px -30px -30px 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (max-width: 640px) {
  .popup {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
  }
  .popup__container { display: block; }
  .popup__img-wrapper { width: 100%; height: 200px; margin: 0 0 20px; }
  .popup__img { inset: -30px -30px 0; }
  .popup__title { margin-bottom: 6px; }
  .popup__descr { margin-bottom: 14px; }
}

/* ========================================================= ПРОСМОТР ФОТО */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, .9);
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 23px;
  height: 23px;
}
.lightbox__close svg { fill: #fff; }

/* ============================================================== АНИМАЦИИ
   Класс появляется только при работающем JS, поэтому без него всё видно. */
.js-anim { opacity: 0; transform: translateY(30px); }
.js-anim.is-shown {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease-out, transform .6s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .js-anim, .js-anim.is-shown { opacity: 1; transform: none; transition: none; }
}

/* ================================================= СТРАНИЦА «КАЛЕНДАРЬ» */
.crumbs {
  min-height: 23px;
  font-size: 16px;
  font-weight: 300;
  line-height: 19px;
  text-align: center;
}
.crumbs__item { display: inline-block; }
.crumbs__divider { padding: 0 5px; font-family: Arial, Helvetica, sans-serif; }
.crumbs a:hover { text-decoration: underline; }

.page-title {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.17;
  text-align: center;
}
.page-intro {
  padding-top: 50px;
  padding-bottom: 9px;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.45;
  text-align: center;
}

.event { background-color: #fff; box-shadow: 0 10px 20px 0 rgba(0, 11, 48, .25); }
.event__tabs {
  width: 100%;
  padding-top: 3px;
  font-size: 0;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.event__tab { position: relative; display: inline-block; vertical-align: middle; }
.event__tab::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 3px;
  background-color: transparent;
}
.event__tab_active::before { background-color: #1f5bff; }
.event__btn {
  padding: 18px 20px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.35;
  color: #000;
}
.event__tab_active .event__btn { color: #1f5bff; cursor: default; }
.event__btn_lg { font-size: 32px; }
.event__btn_sm { font-size: 18px; }
.event__btn_camp { color: #f00; }

.event__panel { display: none; padding: 40px; }
.event__panel_active { display: block; }
.event__panel::after { content: ''; display: table; clear: both; }
.event__col { float: left; width: 50%; box-sizing: border-box; }
.event__col:first-child { padding-right: var(--gutter); }
/* У текстовой колонки в макете есть свои вертикальные отступы. */
.event__panel:not(.event__panel_wide) .event__col:last-child {
  padding: 20px 0 20px var(--gutter);
}
.event__panel_wide .event__col { float: none; width: 100%; padding: 0; }
.event__col img { display: block; width: 100%; }
.event__title { margin-bottom: 15px; font-size: 28px; font-weight: 600; line-height: 1.17; text-align: center; }
.event__text { font-size: 18px; font-weight: 300; line-height: 1.55; }
.event__text ul { padding-left: 20px; margin-bottom: 10px; list-style: disc; }
.event__cta { margin-top: 30px; text-align: center; }
.event__cta .btn {
  height: 50px;
  padding: 0 44px;
  font-size: 15px;
  background-color: var(--cyan);
  border-radius: 30px;
}

/* Юридические страницы */
.legal {
  padding: 8px 0 6px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
}
.legal a { color: #ff8562; }
.legal a:hover { text-decoration: underline; }
/* Абзацы в исходных текстах разделены переносами, а не отступами. */
.legal p { margin: 0; }
.legal ul, .legal ol { padding-left: 20px; margin-bottom: 10px; list-style: disc; }
.legal table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.legal td, .legal th { padding: 5px; border: 1px solid #ddd; vertical-align: top; text-align: left; }

@media screen and (max-width: 960px) {
  .page-title { font-size: 38px; }
  .page-intro { padding-top: 30px; font-size: 22px; }
  .event__panel { padding: 20px; }
  .event__col { float: none; width: 100%; padding: 0 !important; }
  .event__col + .event__col { margin-top: 20px; }
  .event__btn_lg { font-size: 22px; }
  .event__title { font-size: 24px; }
  .event__text { font-size: 16px; }
  .legal { font-size: 18px; }
}

@media screen and (max-width: 640px) {
  .page-title { font-size: 30px; }
  .page-intro { font-size: 18px; }
  .event__btn { padding: 12px 12px; }
  .event__btn_lg { font-size: 18px; }
  .event__btn_sm { font-size: 15px; }
}

/* Единые тарифы и первая тренировка */
.new-pricing{padding:80px 24px;background:#f4f7fb;scroll-margin-top:100px}
.pricing-wrap{max-width:1160px;margin:0 auto}
.pricing-eyebrow{color:var(--blue);font-weight:700;font-size:15px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:16px}
.new-pricing h2,.first-session h2{font-size:clamp(30px,4vw,48px);line-height:1.1;font-weight:700;margin-bottom:20px}
.pricing-intro{font-size:20px;line-height:1.5;max-width:670px;color:#465367}
.pricing-group{margin-top:44px}.pricing-group h3{font-size:26px;margin-bottom:20px}
.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.pricing-card{position:relative;background:white;border:1px solid #dce4ee;border-radius:20px;padding:48px 26px 26px;display:flex;flex-direction:column;align-items:flex-start}
.pricing-card_best{border:2px solid var(--blue)}.pricing-badge{position:absolute;top:16px;font-size:13px;font-weight:700;color:var(--blue)}
.pricing-card h4{font-size:22px;font-weight:500}.pricing-total{font-size:40px;font-weight:700;margin-top:22px;white-space:nowrap}.pricing-unit{font-size:17px;color:#546174;margin-top:8px}
.pricing-link{display:flex;align-items:center;justify-content:center;text-align:center;min-height:58px;background:var(--blue);color:white!important;border-radius:10px;padding:12px 16px;margin-top:28px;width:100%;font-size:16px;font-weight:600;line-height:1.25}
.pricing-link:hover{background:#103f78}.pricing-link:focus-visible{outline:3px solid #168de2;outline-offset:4px}
.pricing-term{font-size:18px;line-height:1.55;margin-top:30px;color:#344255}
.first-session{padding:70px 24px}.first-session p:not(.pricing-eyebrow){font-size:20px;line-height:1.5;max-width:720px}.first-session .btn{margin-top:28px;white-space:normal;height:auto;min-height:58px;padding:18px 24px}.first-session p.first-session-note{font-size:15px;color:#536174;margin-top:18px}
@media(max-width:700px){.new-pricing{padding:48px 20px}.pricing-grid{grid-template-columns:1fr}.pricing-card{padding:46px 24px 24px}.pricing-group h3{font-size:23px}.pricing-total{font-size:36px}.first-session{padding:48px 20px}.first-session .btn{width:100%}}

/* Первый экран во всю ширину и выбор направления */
.intro{position:relative;display:block;max-width:none;margin:0;isolation:isolate;background:#102c48;color:white;overflow:hidden}
.intro::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,23,42,.91) 0%,rgba(5,23,42,.75) 33%,rgba(5,23,42,.3) 65%,rgba(5,23,42,.08) 100%)}
.intro__copy{max-width:1256px;margin:0 auto;padding:70px 48px 64px;min-height:650px}.intro__brand{font-size:16px;letter-spacing:.15em;font-weight:700;margin-bottom:26px}
.intro h1{max-width:650px;font-size:clamp(40px,4.6vw,66px);line-height:1.03;letter-spacing:-.025em;font-weight:750;margin-bottom:24px}
.intro__lead{max-width:460px;font-size:20px;line-height:1.45;color:#f0f5fa}.intro__motto{font-size:22px;font-weight:650;margin-top:20px}.intro__location{font-size:15px;color:#e2ebf4;margin-top:24px}
.intro__cta{display:flex;align-items:center;justify-content:space-between;gap:16px;background:white;color:#123f79;font-size:17px;line-height:1.3;font-weight:700;border-radius:10px;padding:19px 22px;margin-top:24px;max-width:440px;min-height:62px}.intro__cta span{font-size:26px}.intro__cta:hover{background:#e5effa}.intro__calendar{display:inline-block;font-size:15px;color:white;margin-top:20px;text-decoration:underline;text-underline-offset:5px}
.intro__photo{position:absolute;inset:0;min-height:0;height:100%;z-index:-2}.intro__photo img{width:100%;height:100%;object-fit:cover;object-position:65% center}.intro__photo figcaption{position:absolute;bottom:22px;left:22px;right:22px;background:rgba(12,37,59,.85);padding:14px 20px;border-radius:8px;font-size:18px}
.directions{padding:76px 24px;scroll-margin-top:100px}.directions h2{font-size:clamp(30px,4vw,44px);line-height:1.12;margin-bottom:32px}.directions__grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.direction-card{background:#f4f7fb;border:1px solid #e1e8f0;border-radius:20px;overflow:hidden;display:flex;flex-direction:column}.direction-card>img{width:100%;height:260px;object-fit:cover;object-position:center 38%}.direction-card__body{padding:30px;display:flex;flex-direction:column;flex:1}.direction-card h3{font-size:34px;margin-bottom:14px}.direction-card p{font-size:18px;line-height:1.45;color:#47576a}.direction-card p.direction-card__lead{font-size:21px;color:#152b45;font-weight:650;margin-bottom:16px}.direction-card__actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;padding-top:26px;margin-top:auto}.direction-card__actions a{font-weight:650;font-size:16px;color:var(--blue)}.direction-card__actions .direction-card__main{display:inline-block;background:var(--blue);color:white;border-radius:10px;padding:16px 20px;line-height:1.3}
.intro a:focus-visible,.direction-card a:focus-visible{outline:3px solid #168de2;outline-offset:4px}
@media(max-width:980px){.intro__copy{padding:52px 32px;min-height:610px}.intro h1{font-size:48px}.intro::before{background:linear-gradient(90deg,rgba(5,23,42,.88),rgba(5,23,42,.6) 55%,rgba(5,23,42,.16))}.directions{padding:54px 24px}.direction-card__body{padding:24px}}
@media(max-width:700px){.intro::before{background:linear-gradient(90deg,rgba(5,23,42,.82),rgba(5,23,42,.48)),linear-gradient(0deg,rgba(5,23,42,.3),transparent)}.intro__copy{padding:40px 24px;min-height:640px}.intro h1{font-size:42px}.intro__lead{font-size:18px}.intro__photo img{object-position:68% center}.intro__cta{font-size:16px}.directions{padding:44px 20px}.directions__grid{grid-template-columns:1fr}.direction-card>img{height:240px}.direction-card__actions{align-items:stretch;flex-direction:column}.direction-card__main{text-align:center}}

/* Компактная команда с раскрываемыми биографиями */
.coaches-compact{padding:70px 24px;background:#f4f7fb;scroll-margin-top:100px}.coaches-compact h2{font-size:clamp(30px,4vw,44px);line-height:1.15;margin-bottom:18px}.coaches-compact__intro{max-width:650px;font-size:20px;line-height:1.5;color:#47576a;margin-bottom:36px}.coaches-compact__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.coach-card{border-radius:18px;background:white;overflow:hidden;border:1px solid #e1e8f0}.coach-card>img{width:100%;height:320px;object-fit:cover;object-position:center 20%}.coach-card__body{padding:26px}.coach-card h3{font-size:26px;line-height:1.15;margin-bottom:12px}.coach-card__rank{color:var(--blue);font-size:16px;font-weight:650;line-height:1.4;min-height:45px}.coach-card__achievements{font-size:17px;line-height:1.5;color:#47576a;margin:18px 0 24px;min-height:102px}.coach-card summary{cursor:pointer;color:var(--blue);font-size:17px;font-weight:650;padding:14px 0;border-top:1px solid #e1e8f0}.coach-card summary:focus-visible{outline:3px solid #168de2;outline-offset:3px}.coach-card__bio{font-size:16px;line-height:1.55;color:#33445a;padding-top:14px;overflow-wrap:anywhere}.coach-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:980px){.coaches-compact__grid{gap:16px}.coach-card__body{padding:20px}.coach-card h3{font-size:23px}.coach-card>img{height:260px}}
@media(max-width:700px){.coaches-compact{padding:44px 20px}.coaches-compact__grid{grid-template-columns:1fr;gap:24px}.coach-card>img{height:340px}.coach-card__rank,.coach-card__achievements{min-height:0}}

/* Короткий блок преимуществ с живым фото */
.school-benefits { padding:70px 24px; scroll-margin-top:100px; background:#fff; }
.school-benefits h2 { font-size:clamp(30px,4vw,44px); line-height:1.15; margin:0 0 36px; }
.school-benefits__layout { display:grid; grid-template-columns:1fr 1.1fr; gap:48px; align-items:stretch; }
.school-benefits__photo { width:100%; height:100%; min-height:480px; object-fit:cover; object-position:55% center; border-radius:24px; }
.school-benefits__content { align-self:center; min-width:0; }
.school-benefits__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 24px; }
.school-benefits__card { border:0; padding:0; }
.school-benefits__number { display:inline-flex; width:36px; height:36px; align-items:center; justify-content:center; border-radius:50%; background:#eaf4fa; color:#245c91; font-size:14px; }
.school-benefits__card h3 { font-size:23px; line-height:1.2; margin:14px 0 10px; }
.school-benefits__card p { color:#485563; font-size:17px; line-height:1.55; margin:0; }
.school-benefits__cta { margin-top:36px; background:#245c91; color:white; padding:20px 28px; white-space:normal; text-align:center; }
@media(max-width:1000px) { .school-benefits__layout { gap:28px; grid-template-columns:0.85fr 1.15fr; } .school-benefits__card h3 { font-size:21px; } }
@media(max-width:760px) { .school-benefits__layout { grid-template-columns:1fr; } .school-benefits__photo { height:320px; min-height:0; object-position:50% 35%; } }
@media(max-width:600px) { .school-benefits { padding:44px 20px; } .school-benefits__cta { width:100%; box-sizing:border-box; } }
@media(max-width:480px) { .school-benefits__grid { grid-template-columns:1fr; gap:24px; } .school-benefits__photo { height:280px; } }

.school-benefits__bonus { margin:28px 0 0; padding:16px 20px; border-radius:12px; background:#eaf4fa; color:#245c91; font-size:16px; line-height:1.5; }

/* Адрес бассейна и финальная запись */
.visit { padding:72px 24px; background:#eef5fa; }
.visit__grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.visit h2 { font-size:clamp(30px,4vw,42px); line-height:1.15; margin:0 0 32px; }
.visit p { font-size:18px; line-height:1.6; }
.visit .visit__place { font-size:26px; font-weight:700; margin-bottom:8px; }
.visit__route { display:inline-block; margin-top:20px; color:#245c91; text-decoration:underline; text-underline-offset:5px; }
.visit__booking { background:#fff; border-radius:24px; padding:32px; }
.visit__booking h3 { font-size:28px; line-height:1.2; margin:0 0 18px; }
.visit__cta { background:#245c91; color:#fff; white-space:normal; width:100%; box-sizing:border-box; padding:20px; text-align:center; margin:12px 0; }
.visit .visit__question { font-size:16px; margin:20px 0 12px; }
.visit__links { display:flex; flex-wrap:wrap; gap:14px 22px; }
.visit__links a { color:#245c91; overflow-wrap:anywhere; }
@media(max-width:800px) { .visit__grid { grid-template-columns:1fr; gap:32px; } .visit { padding:44px 20px; } .visit__booking { padding:24px; } }
