@font-face {
  font-family: "TikTok Sans";
  src: url("../fonts/TikTokSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TikTok Sans Display";
  src: url("../fonts/TikTokSans36pt-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TikTok Sans";
  src: url("../fonts/TikTokSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TikTok Sans";
  src: url("../fonts/TikTokSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Design base: 1920px → sizes scale via vw on desktop */
  --font: "TikTok Sans", sans-serif;
  --font-display: "TikTok Sans Display", var(--font);
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;

  --h1-size: min(120px, calc(120 / 1920 * 100vw));
  --h1-line: 0.9;
  --h1-track: -0.02em;
  --h1-weight: var(--font-light);

  --h2-size: min(104px, calc(104 / 1920 * 100vw));
  --h2-line: 1;
  --h2-track: -0.02em;
  --h2-weight: var(--font-light);

  --h3-size: min(64px, calc(64 / 1920 * 100vw));
  --h3-line: 1;
  --h3-track: -0.02em;
  --h3-weight: var(--font-light);

  --h4-size: min(56px, calc(56 / 1920 * 100vw));
  --h4-line: 1;
  --h4-track: -0.02em;
  --h4-weight: var(--font-light);

  --h5-size: min(48px, calc(48 / 1920 * 100vw));
  --h5-line: 1;
  --h5-track: -0.02em;
  --h5-weight: var(--font-light);

  --h6-size: min(40px, calc(40 / 1920 * 100vw));
  --h6-line: 1;
  --h6-track: -0.02em;
  --h6-weight: var(--font-light);

  --h7-size: min(32px, calc(32 / 1920 * 100vw));
  --h7-line: 1;
  --h7-track: -0.02em;
  --h7-weight: var(--font-light);

  --h8-size: min(24px, calc(24 / 1920 * 100vw));
  --h8-line: 1;
  --h8-track: -0.02em;
  --h8-weight: var(--font-light);

  /* < 20px — фиксированный px, без vw */
  --h9-size: 18px;
  --h9-line: 1;
  --h9-track: -0.02em;
  --h9-weight: var(--font-regular);

  --h10-size: 16px;
  --h10-line: 1;
  --h10-weight: var(--font-regular);

  --body-1-size: min(32px, calc(32 / 1920 * 100vw));
  --body-1-line: 1.3;
  --body-1-weight: var(--font-regular);

  --body-1s-size: min(24px, calc(24 / 1920 * 100vw));
  --body-1s-line: 1.3;
  --body-1s-weight: var(--font-regular);

  --body-2-size: 18px;
  --body-2-line: 1.3;
  --body-2-weight: var(--font-regular);

  --body-3-size: 14px;
  --body-3-line: 1.3;
  --body-3-weight: var(--font-regular);

  --caption-size: 12px;
  --caption-line: 1.3;
  --caption-weight: var(--font-regular);

  --container-width: min(1760px, calc(1760 / 1920 * 100vw));
  --section-gap: min(140px, calc(140 / 1920 * 100vw));
  --hero-copy-max: min(930px, calc(930 / 1920 * 100vw));

  --header-border: #FAFAFA4D;
  --header-logo-gap: calc(58 / 1920 * 100vw);
  --header-nav-gap: calc(32 / 1920 * 100vw);
  --header-nav-size: max(14px, calc(18 / 1920 * 100vw));
  --header-contact-size: max(14px, calc(16 / 1920 * 100vw));
  --header-contact-gap: 8px;
  --header-track: -0.02em;
  --header-line: 1;
  --topbar-h: 65px;
  --app-vh: 100svh;

  --white: #FAFAFA;
  --smoke: rgba(250, 250, 250, 0.5);
  --gray: #A5ACB6;
  --blue: #505E72;
  --sky: #7A9DCB;
  --sky-soft: #95ACD1;
  --gradient: radial-gradient(125.07% 452.71% at 0% 0%, #5D7BA3 0%, #7A9DCB 49.98%, #AABCD4 100%);
  --nav-mobile-bg: radial-gradient(125.07% 452.71% at 0% 0%, #5D7BA3 0%, #7A9DCB 49.98%, #AABCD4 100%), #333333;
  --light: rgba(251, 251, 251, 0.2);
  --ghost: rgba(165, 172, 182, 0.2);
  --accent: rgba(165, 172, 182, 0.5);
  --shadow: 0 18px 48px rgba(80, 94, 114, .14);
  --brand: #E31E24;
}

@media (max-width: 720px) {
  :root {
    --h1-size: 40px;
    --h2-size: 36px;
    --h3-size: 32px;
    --h4-size: 28px;
    --h5-size: 24px;
    --h6-size: 22px;
    --h7-size: 20px;
    --h8-size: 20px;
    --h9-size: 16px;
    --h10-size: 14px;
    --body-1-size: 20px;
    --body-1s-size: 18px;
    --body-2-size: 16px;
    --body-3-size: 14px;
    --caption-size: 12px;
    --container-width: calc(100% - 32px);
    --section-gap: 64px;
    --hero-copy-max: none;
  }
}


/* Modal / popup */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(80, 94, 114, .55);
  display: none;
  z-index: 50;
  padding: 20px;
}
.modal.is-open { display: flex; align-items: center; justify-content: center; }
.modal-card {
  position: relative;
  width: min(720px, 100%);
  background: var(--white);
  border-radius: 28px;
  padding: 40px 40px 32px;
  box-shadow: var(--shadow);
  max-height: min(92vh, 860px);
  overflow: auto;
  color: var(--blue);
}
.modal-card__title {
  margin: 0 48px 12px 0;
  text-align: center;
  font-size: var(--h7-size);
  line-height: var(--h7-line);
  letter-spacing: var(--h7-track);
  font-weight: var(--h7-weight);
  color: var(--blue);
}
.modal-card__lead {
  margin: 0 auto 28px;
  max-width: 460px;
  text-align: center;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  font-weight: var(--body-3-weight);
  color: var(--gray);
}
.modal-card__legal {
  margin: 8px 0 0;
  text-align: center;
  font-size: var(--caption-size);
  line-height: var(--caption-line);
  font-weight: var(--caption-weight);
  color: var(--gray);
}
.apply-form--modal {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.apply-form--modal .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
}
.apply-form--modal .form-row .field { flex: 1 1 calc(50% - 12px); min-width: 200px; }
.apply-form--modal .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.apply-form--modal .field-label {
  font-size: var(--caption-size);
  line-height: var(--caption-line);
  font-weight: var(--caption-weight);
  color: var(--gray);
}
.apply-form--modal input,
.apply-form--modal select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ghost);
  border-radius: 0;
  background: transparent;
  padding: 8px 0 10px;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  font-weight: var(--body-2-weight);
  color: var(--blue);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.apply-form--modal select {
  background-image: url("../img/icons/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 16px 16px;
  padding-right: 24px;
}
.apply-form--modal input:focus,
.apply-form--modal select:focus {
  border-bottom-color: var(--blue);
}
.apply-form--modal .btn {
  margin-top: 8px;
  border-radius: 18px;
  font-size: var(--body-2-size);
  font-weight: var(--font-medium);
}
.close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.close img { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .modal-card { padding: 28px 22px 24px; }
}

@media (max-width: 720px) {
  .modal { padding: 0; }
  .modal.is-open { align-items: flex-end; }
  .modal-card {
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 22px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    max-height: 92vh;
  }
}

/* ——— Page sections ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page { background: var(--white); color: var(--blue); }

.section {
  padding-top: var(--section-gap);
  background: var(--white);
}
.section:first-child { padding-top: var(--section-gap); }

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--h5-size);
  line-height: var(--h5-line);
  letter-spacing: var(--h5-track);
  font-weight: var(--h5-weight);
  color: var(--blue);
}
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px 48px;
  margin-bottom: 40px;
}
.section-side {
  margin: 0;
  max-width: 360px;
  text-align: right;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  color: var(--gray);
  flex: 0 1 360px;
}

.btn-rect {
  border-radius: 14px;
  white-space: nowrap;
}
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--white);
}
.more-link:hover { opacity: .85; }

/* Why */
.why__title {
  max-width: 640px;
  margin-bottom: 36px;
  font-size: var(--h4-size);
  line-height: var(--h4-line);
  letter-spacing: var(--h4-track);
}
.why__grid {
  border-top: 1px solid var(--ghost);
  margin: 0;
}
.why__item {
  padding: 36px 28px 8px 0;
  border-right: 1px solid var(--ghost);
}
.why__item:last-child { border-right: 0; }
.why__item:not(:first-child) { padding-left: 28px; }
.why__num {
  display: block;
  margin-bottom: 28px;
  font-size: var(--h5-size);
  line-height: var(--h5-line);
  font-weight: var(--font-light);
  color: var(--accent);
}
.why__item-title {
  margin: 0 0 16px;
  font-size: var(--h8-size);
  line-height: 1.2;
  letter-spacing: var(--h8-track);
  font-weight: var(--font-medium);
  color: var(--blue);
}
.why__text {
  margin: 0;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--gray);
}
.insurance-widget {
  margin-top: 8px;
  max-width: 920px;
}
.insurance-widget #goProtectWidget2021 {
  width: 100%;
}

/* Sports */
.sports__grid { margin: 0; }
.sport-card {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  color: var(--white);
  background-color: var(--sky-soft);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 100%;
  display: flex;
}
.sport-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: min(100%, 58%);
  padding: 40px 36px;
}
.sport-card__title {
  margin: 0;
  font-size: var(--h6-size);
  line-height: 1.1;
  letter-spacing: var(--h6-track);
  font-weight: var(--font-light);
}
.sport-card__text {
  margin: 0;
  max-width: 280px;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--smoke);
}
.sport-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: var(--light);
  backdrop-filter: blur(8px);
  font-size: var(--caption-size);
  line-height: var(--caption-line);
}
.sport-card__badge img { width: 18px; height: 18px; }
.sport-card__price {
  margin: 12px 0 0;
  font-size: var(--h7-size);
  line-height: var(--h7-line);
  font-weight: var(--font-medium);
}
.sport-card__note {
  margin: 0;
  font-size: var(--caption-size);
  line-height: var(--caption-line);
  color: var(--smoke);
}
.sport-card .more-link { margin-top: 28px; }

/* Lead form */
.lead {
  background: var(--white);
}
.lead__grid {
  margin: 0;
  align-items: flex-start;
  --bs-gutter-x: calc(80 / 1920 * 100vw);
  --bs-gutter-y: 40px;
}
.lead__title {
  max-width: 520px;
}
.lead__sub {
  margin: 24px 0 0;
  max-width: 420px;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  font-weight: var(--body-2-weight);
  color: var(--gray);
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.lead-form__row {
  margin: 0;
  --bs-gutter-x: 40px;
  --bs-gutter-y: 32px;
}
.uline-field {
  display: block;
  min-width: 0;
}
.uline-field input,
.uline-field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ghost);
  border-radius: 0;
  background-color: transparent;
  padding: 8px 0 14px;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  font-weight: var(--body-2-weight);
  color: var(--blue);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.uline-field input::placeholder {
  color: var(--gray);
  opacity: 1;
}
.uline-field select {
  color: var(--gray);
  background-image: url("../img/icons/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 16px 16px;
  padding-right: 28px;
  cursor: pointer;
}
.uline-field select:valid { color: var(--blue); }
.uline-field input:focus,
.uline-field select:focus { border-bottom-color: var(--blue); }
.lead-form__footer {
  margin: 8px 0 0;
  align-items: center;
  --bs-gutter-x: 24px;
  --bs-gutter-y: 16px;
}
.lead-form__btn {
  border-radius: 16px;
  padding: 16px 36px;
  min-width: 220px;
  white-space: nowrap;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  font-weight: var(--font-regular);
}
.lead-form__legal {
  margin: 0;
  max-width: 360px;
  font-size: var(--caption-size);
  line-height: var(--caption-line);
  font-weight: var(--caption-weight);
  color: var(--gray);
}

@media (max-width: 720px) {
  .lead__grid {
    --bs-gutter-x: 0;
    --bs-gutter-y: 32px;
  }
  .lead__title { max-width: none; }
  .lead__sub {
    margin-top: 16px;
    max-width: none;
  }
  .lead-form { gap: 24px; }
  .lead-form__row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 24px;
  }
  .lead-form__footer {
    margin-top: 16px;
    --bs-gutter-y: 16px;
  }
  .lead-form__btn {
    width: 100%;
    min-width: 0;
    border-radius: 999px;
    padding: 16px 24px;
  }
  .lead-form__legal {
    max-width: none;
    text-align: center;
  }
}

/* Achievements — gap via margin-top so space stays white, not sky */
.section.achievements {
  position: relative;
  background: var(--sky);
  color: var(--white);
  padding: 160px 0;
  margin-top: var(--section-gap);
  overflow: hidden;
}
.achievements__pc {
  display: block;
}
.achievements__mob {
  display: none;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.achievements__content {
  position: relative;
  z-index: 1;
}
.achievements__overlay {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.achievements__photo {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  width: min(480px, 40vw);
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
@media (max-width: 720px) {
  .section.achievements {
    padding: 0;
    margin-top: var(--section-gap);
    background: transparent;
    overflow: visible;
  }
  .achievements__pc { display: none; }
  .achievements__mob { display: block; }
}
.achievements__grid {
  min-height: 360px;
  padding: 48px 0 0;
  margin: 0;
}
.achievements__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: var(--h6-size);
  line-height: 1.1;
  letter-spacing: var(--h6-track);
  font-weight: var(--font-light);
  color: var(--white);
}
.achievements__sub {
  margin: 0;
  max-width: 320px;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--smoke);
}
.achievements__media {
  align-self: end;
  max-width: 360px;
  margin: 0 auto;
  pointer-events: none;
}
.achievements__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}
.achievements__stats {
  align-self: center;
  min-height: 220px;
  margin: 0;
}
.ach-stat {
  padding: 8px 18px;
  border-left: 1px solid rgba(250, 250, 250, .45);
  display: flex;
  flex-direction: column;
}
.ach-stat:first-child { border-left: 0; padding-left: 0; }
.ach-stat__value {
  margin: 0;
  font-size: var(--h6-size);
  line-height: 1;
  font-weight: var(--font-light);
  color: var(--white);
}
.ach-stat__unit {
  margin: 6px 0 0;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  color: var(--white);
}
.ach-stat__text {
  margin: auto 0 0;
  padding-top: 24px;
  font-size: var(--caption-size);
  line-height: var(--caption-line);
  color: var(--smoke);
}

/* Promo */
.promo { padding-top: var(--section-gap); }
.promo .section-head { margin-bottom: 40px; }
.promo__grid { margin: 0; }
.promo__grid > [class*="col-"] > a {
  display: block;
}
.promo__grid img {
  width: 100%;
  height: auto;
}
.promo-card {
  aspect-ratio: 573 / 415;
  border-radius: 28px;
  overflow: hidden;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background-color: var(--sky);
  background-size: cover;
  background-position: center;
  position: relative;
}
.promo-card__title {
  margin: 0 0 14px;
  font-size: var(--h8-size);
  line-height: 1.15;
  letter-spacing: var(--h8-track);
  font-weight: var(--font-medium);
  color: var(--white);
}
.promo-card__text {
  margin: 0;
  max-width: 280px;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--smoke);
}

/* FAQ */
.faq__grid {
  margin: 0;
  --bs-gutter-x: 80px;
  --bs-gutter-y: 40px;
  align-items: flex-start;
}
.faq__copy .section-title {
  max-width: 520px;
}
.faq__sub {
  margin: 20px 0 0;
  max-width: 380px;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  font-weight: var(--body-2-weight);
  color: var(--gray);
}
.faq__list { border-top: 1px solid var(--ghost); }
.faq-item { border-bottom: 1px solid var(--ghost); }
.faq-item__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  font-weight: var(--font-medium);
  color: var(--blue);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { content: ""; }
.faq-item__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  position: relative;
  color: var(--gray);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
  opacity: 1;
}
.faq-item__a {
  margin: -4px 0 24px;
  padding-right: 42px;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  font-weight: var(--body-3-weight);
  color: var(--gray);
}
@media (max-width: 991.98px) {
  .faq__grid {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 32px;
  }
  .faq__copy .section-title,
  .faq__sub {
    max-width: none;
  }
}
@media (max-width: 720px) {
  .faq__grid {
    --bs-gutter-y: 28px;
  }
  .faq__sub {
    margin-top: 16px;
  }
  .faq-item__q {
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
  }
  .faq-item__icon {
    margin-top: 2px;
  }
  .faq-item__a {
    margin: 0 0 20px;
    padding-right: 34px;
  }
}

/* Branches */
.branches .section-head {
  margin-bottom: 28px;
}
.branches__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--ghost);
}
.branches__tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0 0 14px;
  margin-bottom: -1px;
  cursor: pointer;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  font-weight: var(--body-2-weight);
  color: var(--gray);
  border-bottom: 2px solid transparent;
}
.branches__tab.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.branches__tabs--chips {
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 0;
  overflow: visible;
}
.branches__tabs--chips .branches__tab {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(80, 94, 114, 0.22);
  border-radius: 12px;
  background: var(--white);
  color: var(--blue);
  white-space: normal;
  text-align: left;
  max-width: 220px;
  transition: .2s background, .2s border-color, .2s color;
}
.branches__tab-name {
  font-weight: 600;
  line-height: 1.25;
}
.branches__tab-addr {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 400;
  opacity: .72;
}
.branches__tabs--chips .branches__tab.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  border-bottom-color: var(--blue);
}
.branches__tabs--chips .branches__tab.is-active .branches__tab-addr {
  opacity: .85;
}
.branches__tabs--chips .branches__tab:hover:not(.is-active) {
  border-color: var(--blue);
}
.branches__panel {
  margin: 0;
  padding: 20px;
  border-radius: 28px;
  background: rgba(165, 172, 182, .12);
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
}
.branch-card {
  background: var(--white);
  border: 1px solid var(--ghost);
  border-radius: 22px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}
.branch-card__title {
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ghost);
  font-size: var(--h8-size);
  line-height: 1.2;
  letter-spacing: var(--h8-track);
  font-weight: var(--font-medium);
  color: var(--blue);
}
.branch-card__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 22px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--ghost);
  list-style: none;
}
.branch-card__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--gray);
}
.branch-card__list img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-top: 0;
  object-fit: contain;
}
.branch-card__list strong {
  font-weight: var(--font-medium);
  color: var(--blue);
}
.branch-card__list a { color: var(--gray); }
.branch-card__actions { display: flex; flex-direction: column; gap: 12px; }
.branch-card__actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.branch-card__actions-row .btn { flex: 1 1 140px; }
.branch-card__actions .btn {
  min-height: 48px;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(80, 94, 114, 0.35);
  border-radius: 14px;
}
.branch-map {
  position: relative;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  background: #e8eef5;
}
.branch-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}
.branch-map__pins {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.branch-map__pin {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -100%);
  pointer-events: auto;
}
.branch-map__pin-mark {
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--white);
  border-radius: 50% 50% 50% 0;
  background: var(--sky);
  box-shadow: 0 2px 8px rgba(80, 94, 114, 0.28);
  transform: rotate(-45deg);
}
.branch-map__pin-name {
  order: -1;
  display: none;
  max-width: 160px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: var(--caption-size);
  line-height: var(--caption-line);
  font-weight: var(--font-medium);
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(80, 94, 114, 0.18);
}
.branch-map__pin.is-active {
  z-index: 2;
}
.branch-map__pin.is-active .branch-map__pin-mark {
  width: 24px;
  height: 24px;
  background: var(--blue);
}
.branch-map__pin.is-active .branch-map__pin-name {
  display: block;
}
.branch-map__open {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--blue);
  font-size: var(--caption-size);
  line-height: var(--caption-line);
  box-shadow: var(--shadow);
  pointer-events: auto;
}

@media (max-width: 1100px) {
  .section,
  .promo { padding-top: var(--section-gap); }
  .section.achievements {
    padding-top: 160px;
    margin-top: var(--section-gap);
  }
  .section-head { flex-direction: column; gap: 16px; }
  .section-side { text-align: left; max-width: none; flex: none; }
  .why__item:nth-child(2) { border-right: 0; }
  .why__item:nth-child(3),
  .why__item:nth-child(4) {
    border-top: 1px solid var(--ghost);
    padding-top: 28px;
  }
  .why__item:nth-child(3) { padding-left: 0; }
  .sport-card { min-height: 440px; }
  .achievements__grid {
    text-align: left;
    align-items: stretch;
    min-height: 0;
    padding: 40px 0 0;
  }
  .achievements__media {
    max-width: none;
    width: 100%;
  }
  .achievements__stats { min-height: 0; width: 100%; }
  .ach-stat {
    border-left: 0;
    border-top: 1px solid rgba(250, 250, 250, .35);
    padding: 20px 0;
  }
  .ach-stat:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .ach-stat__text {
    margin: 8px 0 0;
    padding-top: 0;
  }
}

.docs__pay {
  margin-top: 48px;
}
.docs__pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 28px 40px;
  margin: 0;
  justify-content: start;
}
.docs-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.docs-qr__img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--ghost);
  padding: 12px;
}
.docs-qr__name {
  margin: 0;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  font-weight: var(--font-medium);
  color: var(--blue);
}
.docs-files {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ghost);
}
.docs-files__item {
  border-bottom: 1px solid var(--ghost);
}
.docs-files__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  color: inherit;
  text-decoration: none;
  transition: background-color .15s ease;
}
.docs-files__link:hover {
  background: rgba(165, 172, 182, .08);
}
.docs-files__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}
.docs-files__name {
  display: block;
  margin: 0 0 4px;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  font-weight: var(--font-medium);
  color: var(--blue);
}
.docs-files__meta {
  display: block;
  margin: 0;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--gray);
}
.prices__grid { margin: 0; }
.prices__sub {
  margin: 18px 0 0;
  max-width: 360px;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  color: var(--gray);
}

.life-gallery__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--ghost);
}
.life-gallery__tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0 0 14px;
  margin-bottom: -1px;
  cursor: pointer;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  color: var(--gray);
  border-bottom: 2px solid transparent;
}
.life-gallery__tab.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.life-gallery__grid { margin: 0; }
.life-tile {
  display: block;
}
.life-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 570 / 425;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}
.life-tile[hidden] { display: none; }
.life-gallery__empty {
  margin: 48px 0 0;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  color: var(--gray);
  text-align: center;
}
.life-gallery__empty[hidden] { display: none; }
.legal__content {
  max-width: 780px;
  color: var(--gray);
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
}
.legal__content h2 {
  margin: 28px 0 12px;
  font-size: var(--h8-size, 22px);
  line-height: 1.3;
  color: var(--blue, #1e3a5f);
}
.legal__content p,
.legal__content ul { margin: 0 0 12px; }
.legal__content ul { padding-left: 1.2em; }
.legal__content a { color: var(--blue, #1e3a5f); text-decoration: underline; }
.legal__note {
  margin-top: 28px !important;
  opacity: .7;
  font-size: 13px;
}
.coaches__title {
  margin-bottom: 40px;
  font-size: var(--h4-size);
  line-height: var(--h4-line);
  letter-spacing: var(--h4-track);
}
.coaches__group-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: var(--h7-size);
  line-height: var(--h7-line);
  letter-spacing: var(--h7-track);
  font-weight: var(--h7-weight);
  color: var(--blue);
}
.coaches__group-title + .coaches__grid {
  margin-bottom: 48px;
}
.coaches__grid { margin: 0; }
.coach-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
}
.coach-card__photo {
  aspect-ratio: 1 / 1.05;
  background-color: rgba(165, 172, 182, .18);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
/* Кадрирование фото Анастасии — крутить здесь:
   background-size: contain | cover | 90% | 80% (меньше % = дальше / мельче);
   background-position: center top | center 15% | center center */
.coach-card__photo--dmitrieva {
  background-color: #fdfdfd;
  background-size: 85%;
  background-position: center top;
}
.coach-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
}
.coach-card__name {
  margin: 0;
  font-size: var(--h8-size);
  line-height: 1.15;
  letter-spacing: var(--h8-track);
  font-weight: var(--font-medium);
  color: var(--blue);
}
.coach-card__rank {
  margin: 0;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--gray);
}
.coach-card__text {
  margin: 0 0 8px;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--blue);
}
.coach-card .btn { margin-top: auto; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}
.price-card {
  min-height: 460px;
  border-radius: 28px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  color: var(--white);
  background-color: var(--sky);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.price-card--gym-ml { background-image: url("../img/bg/gym-price-ml.png"); }
.price-card--gym-med { background-image: url("../img/bg/gym-price-med.png"); }
.price-card--gym-hi { background-image: url("../img/bg/gym-price-hi.png"); }
.price-card--sambo-ml { background-image: url("../img/bg/sambo-price-ml.png"); }
.price-card--sambo-med { background-image: url("../img/bg/sambo-price-med.png"); }
.price-card--sambo-hi { background-image: url("../img/bg/sambo-price-hi.png"); }
.price-card__top {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--smoke);
}
.price-card__title {
  margin: 0 0 8px;
  font-size: var(--h7-size);
  line-height: var(--h7-line);
  letter-spacing: var(--h7-track);
  font-weight: var(--font-light);
  color: var(--white);
}
.price-card__age {
  margin: 0;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--smoke);
}
.price-card__meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.price-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--white);
}
.price-card__row img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.price-card__price {
  margin: auto 0 22px;
  font-size: var(--h7-size);
  line-height: var(--h7-line);
  font-weight: var(--font-medium);
  color: var(--white);
}
.price-card__price span {
  font-size: var(--body-2-size);
  font-weight: var(--font-regular);
}

.schedule__grid { margin: 0; }
.schedule__grid > [class*="col-"] { min-width: 0; }
.schedule__panel { min-width: 0; max-width: 100%; }
.schedule__sub {
  margin: 18px 0 0;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  color: var(--gray);
}
.schedule__tabs {
  margin-bottom: 20px;
  max-width: 100%;
  min-width: 0;
}
.schedule__kinds {
  margin-bottom: 12px;
}
.schedule--page {
  padding-top: var(--section-gap);
  overflow-x: clip;
}
.schedule-table {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(165, 172, 182, .12);
}
.schedule-table__head,
.schedule-table__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  padding: 18px 28px;
  min-width: 0;
}
.schedule-table__group { flex: 0 1 220px; min-width: 0; }
.schedule-table__slots { flex: 1 1 280px; min-width: 0; }
.schedule-table__head {
  background: rgba(165, 172, 182, .18);
  font-size: var(--body-3-size);
  line-height: var(--body-3-line);
  color: var(--gray);
}
.schedule-table__row {
  border-top: 1px solid var(--ghost);
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  color: var(--blue);
}
.schedule-table__group { font-weight: var(--font-medium); }
.schedule-table__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.schedule-table__empty {
  padding: 28px;
  font-size: var(--body-2-size);
  line-height: var(--body-2-line);
  color: var(--gray);
}

@media (max-width: 1100px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .price-card { min-height: 400px; }
}

@media (max-width: 720px) {
  .section,
  .promo { padding-top: var(--section-gap); }
  .section.achievements {
    padding-top: 0;
    margin-top: var(--section-gap);
  }
  .docs__pay-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .life-gallery__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px 18px;
  }
  .life-gallery__tab {
    white-space: nowrap;
    font-size: var(--body-3-size);
  }
  .schedule__tabs.branches__tabs:not(.branches__tabs--chips) {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .schedule-table__head,
  .schedule-table__row {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 8px;
  }
  .schedule-table__group,
  .schedule-table__slots {
    flex: 0 1 auto;
    width: 100%;
    max-width: 100%;
  }
  .schedule-table__slots { gap: 6px 16px; }
  .why__title { margin-bottom: 24px; }
  .why__item,
  .why__item:not(:first-child),
  .why__item:nth-child(3),
  .why__item:nth-child(4) {
    border-right: 0;
    border-top: 1px solid var(--ghost);
    padding: 24px 0;
  }
  .why__item:first-child { border-top: 0; }
  .sport-card__content {
    width: 100%;
    padding: 28px 22px;
  }
  .sport-card {
    border-radius: 0;
    background-position: center top;
    background-size: cover;
  }
  .branch-card__actions-row { flex-direction: column; }
  .achievements__grid {
    padding-top: 40px;
  }
  .achievements__title {
    font-size: var(--h5-size);
    margin-bottom: 14px;
  }
  .achievements__sub {
    max-width: none;
  }
  .achievements__stats {
    min-height: 0;
    width: 100%;
  }
  .ach-stat {
    border-left: 0;
    border-top: 1px solid rgba(250, 250, 250, .35);
    padding: 20px 0;
  }
  .ach-stat:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .ach-stat:last-child { padding-bottom: 4px; }
  .ach-stat__unit {
    margin-top: 4px;
    font-size: var(--body-3-size);
    line-height: var(--body-3-line);
  }
  .ach-stat__text {
    margin: 8px 0 0;
    padding-top: 0;
  }
  .achievements__media {
    width: 100%;
    margin: 0;
  }
  .achievements__media img {
    display: block;
    width: 100%;
    object-fit: contain;
    object-position: bottom center;
  }
  .branches .section-head {
    margin-bottom: 24px;
    gap: 12px;
  }
  .branches .section-side {
    font-size: var(--body-3-size);
    line-height: var(--body-3-line);
  }
  .branches__tabs:not(.branches__tabs--chips) {
    gap: 8px 20px;
    margin-bottom: 24px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .branches__tabs:not(.branches__tabs--chips) .branches__tab {
    white-space: nowrap;
    padding-bottom: 12px;
    font-size: var(--body-2-size);
    line-height: var(--body-2-line);
  }
  .branches__tabs--chips {
    gap: 8px;
    margin-bottom: 20px;
  }
  .branches__tabs--chips .branches__tab {
    padding: 8px 14px;
    font-size: var(--body-3-size);
    line-height: var(--body-3-line);
  }
  .branches__panel {
    padding: 0;
    border-radius: 0;
    background: transparent;
    --bs-gutter-x: 0;
    --bs-gutter-y: 16px;
  }
  .branch-card {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .branch-card__title {
    margin-bottom: 16px;
    padding-bottom: 16px;
    font-size: var(--h9-size);
    line-height: var(--h9-line);
  }
  .branch-card__list {
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 18px;
  }
  .branch-card__actions,
  .branch-card__actions-row {
    flex-direction: column;
  }
  .branch-card__actions-row .btn {
    flex: 1 1 auto;
    width: 100%;
  }
  .branch-map,
  .branch-map iframe {
    min-height: 280px;
    border-radius: 20px;
  }
  .branch-map__open { display: none; }
}
