/* ===== ЦВЕТА В СТИЛЕ ЛОГОТИПА ===== */
:root {
  --yellow: #FFC93C;
  --orange: #FF8A3D;
  --red:    #F2545B;
  --teal:   #2EC4B6;
  --purple: #7B5EA7;
  --dark:   #2D2A4A;
  --text:   #4A4763;
  --light:  #E6F6F4;
  --light-2:#F2FBFA;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(45,42,74,.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: 'Nunito', sans-serif; color: var(--text); background: var(--light); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { color: var(--dark); line-height: 1.2; font-weight: 900; }
.gradient-text { background: linear-gradient(90deg, var(--orange), var(--red), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== ЕДИНЫЙ СТИЛЬ ИКОНОК ===== */
.icon { width: 68px; height: 68px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--c, var(--teal)); box-shadow: 0 8px 18px rgba(45,42,74,.15); }
.icon svg { width: 50%; height: 50%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 36px; height: 36px; box-shadow: none; }
.icon--sm svg { width: 58%; height: 58%; stroke-width: 2.3; }
.icon--xs { width: 26px; height: 26px; box-shadow: none; }
.icon--xs svg { width: 62%; height: 62%; stroke-width: 2.5; }

/* ===== КНОПКИ ===== */
.btn { display: inline-block; padding: 16px 32px; border-radius: 50px; font-weight: 800; font-size: 16px; transition: .3s; cursor: pointer; border: none; text-align: center; font-family: inherit; background: none; }
.btn--primary { background: linear-gradient(90deg, var(--orange), var(--red)); color: #fff; box-shadow: 0 8px 20px rgba(242,84,91,.35); }
.btn--primary:hover { transform: translateY(-3px); }
.btn--outline { border: 2px solid var(--purple); color: var(--purple); }
.btn--outline:hover { background: var(--purple); color: #fff; }
.btn--sm { padding: 10px 22px; font-size: 14px; }

/* ===== ШАПКА ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(230,246,244,.92); backdrop-filter: blur(10px); transition: .3s; }
.header.scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 52px; width: auto; }
.logo__text { font-weight: 900; font-size: 22px; color: var(--dark); line-height: 1; }
.logo__text small { display: block; font-size: 11px; font-weight: 600; color: var(--text); margin-top: 4px; }
.nav { display: flex; gap: 30px; font-weight: 700; }
.nav a:hover { color: var(--orange); }
.nav__phone-mobile { display: none; }
.header__right { display: flex; align-items: center; gap: 18px; }
.header__phone { font-weight: 800; color: var(--dark); }
.burger { display: none; background: none; border: none; cursor: pointer; width: 30px; }
.burger span { display: block; height: 3px; background: var(--dark); margin: 6px 0; border-radius: 3px; transition: .3s; }
.burger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===== ПЕРВЫЙ ЭКРАН ===== */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; padding: 6px 18px 6px 6px; border-radius: 50px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); margin-bottom: 22px; }
.hero h1 { font-size: 54px; margin-bottom: 22px; }
.hero__subtitle { font-size: 19px; margin-bottom: 34px; max-width: 560px; }
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__stats { display: flex; gap: 30px; flex-wrap: wrap; }
.stat b { display: block; font-size: 32px; font-weight: 900; color: var(--orange); }
.stat span { font-size: 14px; max-width: 160px; display: block; }
.hero__image { position: relative; display: flex; justify-content: center; }
.hero__circle { width: 420px; height: 420px; border-radius: 50%; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; padding: 50px; border: 10px solid transparent; background-image: linear-gradient(var(--light), var(--light)), linear-gradient(135deg, var(--yellow), var(--orange), var(--red), var(--purple), var(--teal)); background-origin: border-box; background-clip: padding-box, border-box; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; padding: 8px 18px 8px 8px; border-radius: 50px; font-weight: 800; box-shadow: var(--shadow); color: var(--dark); animation: float 4s ease-in-out infinite; white-space: nowrap; }
.float-card--1 { top: 20px; left: -10px; }
.float-card--2 { bottom: 60px; left: -30px; animation-delay: 1s; }
.float-card--3 { top: 50%; right: -10px; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; z-index: 1; }
.blob--1 { width: 400px; height: 400px; background: var(--yellow); top: -100px; right: -100px; }
.blob--2 { width: 300px; height: 300px; background: var(--teal); bottom: -80px; left: -100px; }
.blob--3 { width: 250px; height: 250px; background: var(--purple); top: 40%; right: 30%; opacity: .2; }
.logo img, .hero__circle img { mix-blend-mode: multiply; }

/* ===== СЕКЦИИ ===== */
.section { padding: 90px 0; }
.section__title { font-size: 40px; text-align: center; margin-bottom: 14px; }
.section__subtitle { text-align: center; font-size: 18px; max-width: 640px; margin: 0 auto 50px; }

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages { background: var(--light-2); }
.advantages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.adv-card { padding: 34px 28px; border-radius: var(--radius); background: #fff; transition: .3s; border-top: 6px solid var(--c); }
.adv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.adv-card .icon { margin-bottom: 18px; }
.adv-card h3 { font-size: 21px; margin-bottom: 10px; }

/* ===== УСЛУГИ ===== */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: #fff; border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; box-shadow: 0 4px 14px rgba(45,42,74,.05); transition: .3s; }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--c); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card__tag { font-size: 13px; font-weight: 700; color: var(--purple); }
.service-card h3 { font-size: 20px; }
.service-card p { font-size: 15px; flex-grow: 1; }
.service-card__price { border-top: 1px dashed #d6e9e6; padding-top: 14px; }
.service-card__price b { font-size: 26px; color: var(--dark); font-weight: 900; display: block; }
.service-card__price span { font-size: 13px; }
.service-card .btn { align-self: flex-start; }

/* ===== ВСПЛЫВАЮЩЕЕ ОКНО ===== */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(45,42,74,.55); backdrop-filter: blur(4px); }
.modal__window { position: relative; background: #fff; border-radius: var(--radius); max-width: 760px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 44px 40px 34px; transform: translateY(30px); transition: .3s; }
.modal.open .modal__window { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--light); font-size: 18px; cursor: pointer; }
.modal__close:hover { background: var(--red); color: #fff; }
.modal__body h3 { font-size: 26px; margin-bottom: 8px; padding-right: 30px; }
.modal__body h4 { color: var(--dark); font-size: 18px; margin: 22px 0 8px; }
.modal__body p { margin-bottom: 10px; }
.modal__body ul, .modal__body ol { padding-left: 22px; }
.modal__body li { margin-bottom: 6px; }
.modal__price { display: inline-block; background: var(--light); color: var(--dark); font-weight: 800; padding: 8px 16px; border-radius: 50px; margin-bottom: 16px !important; }
.modal__note { background: #FFF6E0; border-left: 4px solid var(--yellow); padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-top: 18px; }
.modal__btn { margin-top: 24px; }
.program { display: flex; flex-wrap: wrap; gap: 8px; }
.program span { background: var(--light); padding: 6px 14px; border-radius: 50px; font-size: 14px; font-weight: 600; }
body.no-scroll { overflow: hidden; }

/* ===== АНИМАЦИЯ ПОЯВЛЕНИЯ ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== АДАПТИВ: ПЛАНШЕТ ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .hero__circle { width: 340px; height: 340px; }
  .advantages__grid, .services__grid { grid-template-columns: repeat(2, 1fr); }
  .header__phone { display: none; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: fixed; top: 80px; left: 0; right: 0; background: var(--light); flex-direction: column; align-items: center; gap: 22px; padding: 30px 0; box-shadow: var(--shadow); transform: translateY(-150%); transition: .4s; z-index: -1; }
  .nav.open { transform: translateY(0); }
  .nav__phone-mobile { display: block; color: var(--orange); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__buttons, .hero__stats { justify-content: center; }
  .hero__image { order: -1; }
}

/* ===== АДАПТИВ: ТЕЛЕФОН ===== */
@media (max-width: 560px) {
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 32px; }
  .section { padding: 60px 0; }
  .section__title { font-size: 30px; }
  .advantages__grid, .services__grid { grid-template-columns: 1fr; }
  .hero__circle { width: 260px; height: 260px; padding: 35px; }
  .float-card { font-size: 13px; padding: 5px 12px 5px 5px; }
  .float-card .icon--sm { width: 28px; height: 28px; }
  .float-card--2 { left: 0; }
  .logo__text small { display: none; }
  .header__right .btn { display: none; }
  .btn { width: 100%; }
  .service-card .btn { align-self: stretch; }
  .modal__window { padding: 40px 20px 24px; }
  .modal__body h3 { font-size: 21px; }
}
/* КОНЕЦ ФАЙЛА *//* ===== БЛОК О ЦЕНТРЕ ===== */
.about__container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.about__content {
  flex: 1 1 480px;
}
.about__content p {
  margin-bottom: 18px;
  font-size: 17px;
  color: var(--text);
  line-height: 1.5;
}
.book {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  background: var(--light-2);
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.book__img {
  width: 140px;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
}
.book__info h3 {
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 20px;
  color: var(--purple);
}
.book__info p {
  margin-bottom: 4px;
  font-style: italic;
  color: var(--dark);
}

.about__images {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.about__photo {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.studio-photos {
  display: flex;
  gap: 12px;
}
.studio-photo {
  width: 48%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Адаптив */
@media (max-width: 860px) {
  .about__container {
    flex-direction: column;
    align-items: center;
  }
  .about__content, .about__images {
    flex: 1 1 100%;
  }
  .studio-photos { gap: 8px; }
  .studio-photo { width: 49%; }
}
/* ===== ФОТОГАЛЕРЕЯ СТУДИИ ===== */
.studio-gallery {
  background: var(--light-2);
}

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

.studio-gallery__item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #d9eeea;
  cursor: zoom-in;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.studio-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.studio-gallery__item:hover img {
  transform: scale(1.04);
}

.studio-gallery__item:focus-visible,
.photo-viewer button:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

/* Последнее фото — по центру ряда */
.studio-gallery__item:last-child {
  grid-column: 2;
}

/* Просмотр фотографии целиком */
.photo-viewer {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(1100px, 94vw);
  max-width: 94vw;
  max-height: 94vh;
  padding: 16px;
  border: 0;
  border-radius: 24px;
  background: var(--light);
  color: var(--dark);
  box-shadow: 0 20px 80px rgba(0, 0, 0, .3);
}

.photo-viewer::backdrop {
  background: rgba(20, 37, 43, .85);
}

.photo-viewer__top,
.photo-viewer__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.photo-viewer__top {
  margin-bottom: 12px;
  font-weight: 800;
}

.photo-viewer__image {
  display: block;
  width: 100%;
  height: min(65vh, 720px);
  object-fit: contain;
  border-radius: 12px;
}

.photo-viewer__controls {
  margin-top: 12px;
}

.photo-viewer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: #15877d;
  color: #fff;
  cursor: pointer;
}

.photo-viewer button:hover {
  background: var(--purple);
}

.photo-viewer button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.photo-viewer__counter {
  font-weight: 800;
}

@media (max-width: 860px) {
  .studio-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-gallery__item:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .studio-gallery__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .photo-viewer {
    padding: 12px;
    border-radius: 18px;
  }

  .photo-viewer__image {
    height: 60vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-gallery__item img {
    transition: none;
  }
}
/* КОНЕЦ СТИЛЕЙ ГАЛЕРЕИ */
/* ===== ОТЗЫВЫ: ЛЕНТА СКРИНШОТОВ ===== */
.reviews {
  background: var(--light);
}

.reviews__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.reviews__hint {
  font-size: 15px;
  max-width: 620px;
}

.reviews__arrows {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.reviews__arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #15877d;
  color: #fff;
  cursor: pointer;
}

.reviews__arrow:hover {
  background: var(--purple);
}

.reviews__arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  padding: 6px 4px 22px;
  scrollbar-width: thin;
  scrollbar-color: #15877d #d9eeea;
}

.review-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d9eeea;
  border-radius: 24px;
  background: #fff;
  color: var(--dark);
  font-family: inherit;
  text-align: left;
  cursor: zoom-in;
  scroll-snap-align: start;
}

.review-card:hover {
  border-color: #15877d;
}

.review-card__image {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #f6faf9;
  border-radius: 14px;
}

.review-card__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 4px 2px;
  font-size: 15px;
  font-weight: 800;
}

.review-card__caption .icon {
  --c: #15877d;
}

.review-card:focus-visible,
.reviews__arrow:focus-visible,
.reviews__track:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

/* В окне можно прокручивать длинный скриншот */
.review-viewer__paper {
  max-height: 65vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
}

.review-viewer__paper img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 860px) {
  .reviews__track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
}

@media (max-width: 560px) {
  .reviews__track {
    grid-auto-columns: 88%;
    gap: 14px;
  }

  .reviews__toolbar {
    align-items: flex-start;
  }

  .reviews__hint {
    font-size: 14px;
  }

  .review-card__image {
    height: 330px;
  }
}
/* КОНЕЦ СТИЛЕЙ ОТЗЫВОВ */
/* ===== ЗАПИСЬ И КОНТАКТЫ ===== */
.booking {
  background: var(--light-2);
}

.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.booking__intro h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.booking__intro p {
  margin-bottom: 16px;
}

.booking__steps {
  padding-left: 24px;
  margin: 24px 0;
}

.booking__steps li {
  margin-bottom: 14px;
  padding-left: 6px;
}

.booking__notice {
  padding: 16px;
  border-radius: 16px;
  background: #fff3d6;
  font-size: 14px;
}

.booking-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.booking-form__field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.booking-form__field label {
  font-weight: 800;
  color: var(--dark);
}

.booking-form input:not([type="checkbox"]),
.booking-form select {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid #b5d8d2;
  border-radius: 12px;
  background: #f8fcfb;
  color: var(--dark);
  font: inherit;
}

.booking-form input:focus-visible,
.booking-form select:focus-visible {
  outline: 3px solid #15877d;
  outline-offset: 2px;
}

.booking-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}

.booking-form__consent input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #15877d;
}

.booking-form__consent a {
  text-decoration: underline;
  color: #116b64;
}

.booking-form__status {
  color: #116b64;
  font-weight: 700;
}

.booking-form__status:empty {
  display: none;
}

.contacts {
  background: var(--light);
}

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

.contact-card {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}

.contact-card .icon {
  margin-bottom: 18px;
}

.contact-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.contact-card p {
  margin-bottom: 10px;
}

.contact-card a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.legal-preview {
  padding: 20px;
  margin-top: 24px;
  background: #fff;
  border-radius: 16px;
  font-size: 14px;
}

.legal-preview summary {
  cursor: pointer;
  font-weight: 800;
}

.legal-preview p {
  margin-top: 12px;
}

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

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

@media (max-width: 560px) {
  .booking-form {
    padding: 22px 18px;
  }

  .booking__intro h3 {
    font-size: 24px;
  }
}
/* КОНЕЦ СТИЛЕЙ ЗАПИСИ И КОНТАКТОВ */
/* ===== ЮРИДИЧЕСКИЙ ПОДВАЛ ===== */
#legal-footer {
  padding: 48px 0 24px;
  background: #d8eeeb;
  color: var(--dark);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.legal-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

#legal-footer h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

#legal-footer h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

#legal-footer p {
  margin-bottom: 12px;
}

#legal-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #aacfc8;
  font-size: 13px;
}

.legal-footer__bottom a {
  max-width: 440px;
}

@media (max-width: 700px) {
  .legal-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
/* КОНЕЦ СТИЛЕЙ ПОДВАЛА */
/* Полное описание центра возле логотипа */
.logo__text small {
  display: block;
  max-width: 210px;
  white-space: normal;
  line-height: 1.35;
  font-size: 11px;
  margin-top: 5px;
}

@media (max-width: 560px) {
  .logo__text small {
    display: block;
    max-width: 180px;
    font-size: 10px;
  }

  .header__inner {
    gap: 10px;
  }

  .logo {
    gap: 8px;
    min-width: 0;
  }

  .burger {
    flex-shrink: 0;
  }
}
/* КОНЕЦ ПРАВКИ ПОДПИСИ */
/* ===== ПРАЙС ===== */
.prices {
  background: var(--light-2);
}

.prices__list {
  overflow: hidden;
  border: 1px solid #c5e2dd;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 140px;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
}

.price-row + .price-row {
  border-top: 1px solid #e0eeeb;
}

.price-row:hover {
  background: #f5fbfa;
}

.price-row__title {
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.price-row__details {
  font-size: 14px;
  color: var(--text);
}

.price-row__amount {
  color: var(--dark);
  font-size: 24px;
  font-weight: 900;
  white-space: nowrap;
}

.price-row__unit {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.prices__note {
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: 16px;
  background: #e1f2ef;
  font-size: 14px;
}

.prices__note p + p {
  margin-top: 8px;
}

.price-row .btn {
  padding: 10px 16px;
}

@media (max-width: 760px) {
  .price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 22px;
  }

  .price-row__info {
    grid-column: 1 / -1;
  }

  .price-row .btn {
    width: auto;
  }
}

@media (max-width: 380px) {
  .price-row {
    grid-template-columns: 1fr;
  }

  .price-row .btn {
    width: 100%;
  }
}
/* КОНЕЦ СТИЛЕЙ ПРАЙСА */
/* ===== КНИГА: МАГАЗИНЫ И ПАРТНЁРЫ ===== */
.book-partners {
  background: var(--light);
}

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

.book-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 14px;
  border: 1px solid #c9e3de;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 5px 20px rgba(45, 42, 74, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.book-partner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.book-partner:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

.book-partner__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--partner-color);
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.book-partner__title {
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
}

.book-partner__caption {
  color: var(--text);
  font-size: 13px;
}

.book-partners__note {
  margin-top: 22px;
  text-align: center;
  font-size: 14px;
}

.site-conditions {
  background: var(--light-2);
}

.site-conditions__content {
  max-width: 850px;
  margin: 0 auto;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
}

.site-conditions__content h3 {
  margin: 24px 0 12px;
  font-size: 21px;
}

.site-conditions__content h3:first-child {
  margin-top: 0;
}

.site-conditions__content p + p {
  margin-top: 12px;
}

.site-conditions__content a {
  color: #116b64;
  text-decoration: underline;
}

@media (max-width: 1000px) {
  .book-partners__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .book-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-partner:last-child {
    grid-column: 1 / -1;
  }

  .site-conditions__content {
    padding: 22px;
  }
}

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

  .float-card {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .book-partner {
    transition: none;
  }
}
/* КОНЕЦ СТИЛЕЙ ПАРТНЁРОВ И УСЛОВИЙ */
/* Ссылки на документы в подвале */
.legal-footer__documents {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.legal-footer__documents a {
  display: inline-block;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-footer__documents a:hover {
  color: #116b64;
}

.legal-footer__documents a:focus-visible {
  outline: 3px solid #116b64;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .legal-footer__documents {
    width: 100%;
    max-width: none;
  }
}/* Локальный системный шрифт без загрузки Google Fonts */
body,
button,
input,
select,
textarea {
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

button:disabled {
  opacity: .65;
  cursor: wait;
}

[hidden] {
  display: none !important;
}

.booking-form a {
  color: #116b64;
  text-decoration: underline;
  text-underline-offset: 3px;
}