/*
Theme Name: Astra Child Hostel
Theme URI: https://example.com/astra-child-hostel
Description: Дочерняя тема Astra для проекта сети хостелов mresv66
Author: Никита Мерзляков
Author URI: https://www.fl.ru/users/nikitaaleks66/
Template: astra
Version: 0.2.61
Text Domain: astra-child-hostel
*/

/* === HEADER + FOOTER === */
.hh-header {
  background: #fff;
  border-bottom: 1px solid #e6eaef;
  position: sticky;
  top: 0;
  z-index: 50;
}
section[id] {
  scroll-margin-top: 96px;
}
.hh-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.hh-header__brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: #1e7fc4;
  font-weight: 700;
}
.hh-header__brand-mark {
  background: #1e7fc4;
  color: #fff;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  letter-spacing: 1px;
}
.hh-header__brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
.hh-header__brand-text {
  font-size: 18px;
}
.hh-header__nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.hh-header__nav a {
  color: #1e7fc4;
  text-decoration: none;
  font-weight: 500;
}
.hh-header__nav a:hover {
  color: #1e7fc4;
}
.hh-header__phone {
  background: #1e7fc4;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  min-height: 46px;
  line-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hh-header__phone:hover {
  background: #17699f;
}
.hh-header__phone-icon {
  flex: 0 0 auto;
}
@media (max-width: 720px) {
  .hh-header__inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }
  .hh-header__nav {
    width: 100%;
    order: 3;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
  }
  .hh-header__phone {
    font-size: 17px;
    padding: 8px 12px;
    gap: 6px;
    margin-left: auto;
  }
  .hh-header__phone-icon {
    width: 17px;
    height: 17px;
  }
}
@media (max-width: 400px) {
  .hh-header__brand-text {
    font-size: 15px;
  }
  .hh-header__brand-logo {
    height: 36px;
  }
  .hh-header__phone {
    font-size: 16px;
    padding: 8px 10px;
  }
}

.hh-footer {
  background: #eaf4fb;
  color: #1e7fc4;
  padding: 56px 24px 0;
}
.hh-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}
.hh-footer__col {
  text-align: center;
}
.hh-footer__col h3 {
  color: #1e7fc4;
  margin: 0 0 14px;
  font-size: 18px;
}
.hh-footer__col p {
  margin: 0 0 8px;
}
.hh-footer__col a {
  color: #1e7fc4;
  text-decoration: none;
}
.hh-footer__col a:hover {
  text-decoration: underline;
}
.hh-footer__bottom {
  border-top: 1px solid #c9d8e6;
  padding: 14px 24px;
  margin: 0 -24px;
  text-align: center;
  font-size: 13px;
  color: #1e7fc4;
  line-height: 1.45;
}
.hh-footer__bottom p {
  margin: 0 0 2px;
}
.hh-footer__bottom p:last-child {
  margin-bottom: 0;
}
@media (max-width: 720px) {
  .hh-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hh-footer {
    padding: 40px 16px 0;
  }
  .hh-footer__bottom {
    margin: 0 -16px;
    padding: 18px 16px;
  }
}

/* === БАЗА: layout-токены === */
:root {
  --hh-color-primary: #1e7fc4;
  --hh-color-accent: #4fb3e5;
  --hh-color-bg: #ffffff;
  --hh-color-bg-soft: #eaf4fb;
  --hh-color-text: #1f2933;
  --hh-color-muted: #6b7785;
  --hh-radius: 12px;
  --hh-shadow: 0 6px 18px rgba(31, 41, 51, 0.08);
}

/* === Hero === */
.hh-hero {
  background-color: #eaf4fb;
  background-image:
    linear-gradient(
      135deg,
      rgba(234, 244, 251, 0.88) 0%,
      rgba(234, 244, 251, 0.72) 100%
    ),
    url("assets/hero-people.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 80px 24px 96px;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hh-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.hh-hero h1 {
  color: #1e7fc4;
  font-size: clamp(22px, 5vw, 48px);
  margin: 0 0 16px;
  line-height: 1.15;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.hh-hero--filial h1 {
  margin-bottom: 16px;
}

.hh-hero--filial h2 {
  color: #1e7fc4;
  margin: 0 0 32px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
}
.hh-hero .hh-lead {
  font-size: clamp(16px, 2.4vw, 20px);
  margin: 0 0 32px;
  color: #1e7fc4;
  font-weight: 400;
}
.hh-hero .hh-lead .hh-lead__l1 {
  font-size: 24px;
}
.hh-hero .hh-lead .hh-lead__l2 {
  font-size: 20px;
  font-weight: 700;
}
.hh-hero .hh-lead .hh-lead__l3 {
  font-size: 24px;
  font-weight: 700;
}
.hh-search {
  display: grid;
  grid-template-columns: auto auto;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--hh-radius);
  padding: 15px;
  box-shadow: var(--hh-shadow);
}
.hh-search input,
.hh-search select {
  padding: 15px 12px;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  font-size: 16px;
  color: var(--hh-color-text);
  background: #fff;
  min-height: 48px;
  min-width: 0;
  width: 380px;
  max-width: 100%;
  box-sizing: border-box;
}
.hh-search select {
  padding: 10px 12px;
  line-height: 1.3;
  height: auto;
  color: #1e7fc4;
  text-overflow: ellipsis;
  font-weight: 700;
}
.hh-search select option {
  font-weight: 700;
}
.hh-hero__call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--hh-color-primary);
  border: 0;
  border-radius: 8px;
  padding: 13px 22px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
  box-shadow: var(--hh-shadow);
}
.hh-hero__call:hover {
  background: #f0f7fc;
}
.hh-hero--filial .hh-hero__call {
  background: #1e7fc4;
  color: #fff;
}
.hh-hero--filial .hh-hero__call:hover {
  background: #1a6ca8;
}
.hh-search button {
  background: #1e7fc4;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 720px) {
  .hh-hero {
    padding: 48px 16px 48px;
  }
  .hh-search {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/* === Section common === */
.hh-section {
  padding: 64px 24px;
}
.hh-section--soft {
  background: var(--hh-color-bg-soft);
}
.hh-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hh-section h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  margin: 0 0 24px;
  color: var(--hh-color-primary);
}

/* === Filial cards === */
.hh-filiali {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hh-filial {
  background: #fff;
  border-radius: var(--hh-radius);
  box-shadow: var(--hh-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hh-filial__img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #d8dde3;
}
.hh-filial__body {
  padding: 18px 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hh-filial__title {
  font-size: 16px;
  color: var(--hh-color-primary);
  margin: 0 0 6px;
}
.hh-filial__addr {
  color: #1e7fc4;
  margin: 0 0 14px;
  font-size: 16px;
}
.hh-filial__cta {
  margin-top: auto;
  display: inline-block;
  padding: 10px 16px;
  background: var(--hh-color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  min-height: 44px;
  line-height: 24px;
}
@media (max-width: 920px) {
  .hh-filiali {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .hh-filiali {
    grid-template-columns: 1fr;
  }
}

/* === Filial carousel (физика как у отзывов) === */
.hh-filiali--carousel {
  display: block;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 0;
}
.hh-filiali__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.hh-filiali--carousel .hh-filial {
  flex: 0 0 auto;
  width: 310px;
  max-width: 100%;
  opacity: 0.55;
  transform: scale(0.94);
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.hh-filiali--carousel .hh-filial.is-hidden {
  display: none;
}
.hh-filiali--carousel .hh-filial.is-active {
  width: 426px;
  opacity: 1;
  transform: none;
  z-index: 2;
  cursor: default;
}
.hh-filiali--carousel .hh-filial.is-active .hh-filial__img {
  height: 220px;
}
@media (max-width: 700px) {
  .hh-filiali--carousel .hh-filial:not(.is-active) {
    display: none;
  }
  .hh-filiali--carousel .hh-filial.is-active {
    width: 100%;
    max-width: 320px;
  }
}

/* === 10.10: Карусель фото на странице филиала (механика как у карусели филиалов) === */
.hh-photos {
  padding: 64px 24px;
  background: #fff;
}.hh-photos__title {
  max-width: 1100px;
  margin: 0 auto 24px;
  font-size: clamp(24px, 3.5vw, 34px);
  color: var(--hh-color-primary);
}
.hh-map__btns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 24px;
}
.hh-map__btns .hh-map__route:nth-child(1) {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.hh-map__btns .hh-map__route:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}
@media (max-width: 700px) {
  .hh-map__btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .hh-map__btns .hh-map__route {
    grid-column: auto;
    justify-self: auto;
    width: auto;
    padding: 12px 14px;
    font-size: 14px;
  }
}
.hh-map__route {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1e7fc4;
  color: #fff;
  border-radius: 8px;
  padding: 13px 22px;
  height: 48px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.hh-map__route:hover {
  background: #1a6ca8;
}

.hh-photos--carousel {
  display: block;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 0;
}
.hh-photos__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.hh-photos--carousel .hh-photo {
  flex: 0 0 auto;
  width: 310px;
  max-width: 100%;
  height: 200px;
  display: block;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  transform: scale(0.94);
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.hh-photos--carousel .hh-photo.is-hidden {
  display: none;
}
.hh-photos--carousel .hh-photo.is-active {
  width: 426px;
  height: 280px;
  opacity: 1;
  transform: none;
  z-index: 2;
}
@media (max-width: 700px) {
  .hh-photos--carousel .hh-photo:not(.is-active) {
    display: none;
  }
  .hh-photos--carousel .hh-photo.is-active {
    width: 100%;
    max-width: 320px;
    height: 220px;
  }
}

/* === Reviews (карусель) === */
.hh-reviews {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 0;
}
.hh-reviews__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.hh-review {
  flex: 0 0 auto;
  width: 310px;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  box-sizing: border-box;
  background: #fff;
  border-radius: var(--hh-radius);
  padding: 14px 16px;
  box-shadow: var(--hh-shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  opacity: 0.55;
  transform: scale(0.94);
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.hh-review.is-hidden {
  display: none;
}
.hh-review.is-active {
  width: 387px;
  opacity: 1;
  transform: none;
  z-index: 2;
  cursor: default;
}
.hh-review__stars {
  color: #1e7fc4;
  margin-bottom: 6px;
  font-size: 16px;
}
.hh-review__text {
  color: #1e7fc4;
  margin: 0 0 10px;
  line-height: 1.5;
  font-size: 16px;
}
.hh-review__author {
  font-weight: 600;
  color: #1e7fc4;
  font-size: 16px;
}
.hh-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: var(--hh-shadow);
  color: #1e7fc4;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
  z-index: 3;
}
.hh-slider__btn:hover {
  background: #eaf4fb;
}
.hh-slider__prev { left: 0; }
.hh-slider__next { right: 0; }
@media (max-width: 700px) {
  .hh-review:not(.is-active) {
    display: none;
  }
  .hh-review.is-active {
    width: 100%;
    max-width: 320px;
  }
  .hh-slider__prev { left: 4px; }
  .hh-slider__next { right: 4px; }
}

/* === FAQ === */
.hh-faq__item {
  background: #fff;
  border-radius: var(--hh-radius);
  margin-bottom: 12px;
  box-shadow: var(--hh-shadow);
  overflow: hidden;
}
.hh-faq__q {
  position: relative;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 52px 18px 20px;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  color: #1e7fc4;
  font-weight: 600;
  min-height: 44px;
}
.hh-faq__q::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background:
    linear-gradient(#1e7fc4, #1e7fc4) center / 14px 2px no-repeat,
    linear-gradient(#1e7fc4, #1e7fc4) center / 2px 14px no-repeat;
  transition: transform 0.3s ease;
}
.hh-faq__item.is-open .hh-faq__q::after {
  transform: translateY(-50%) rotate(45deg);
}
.hh-faq__a {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #1e7fc4;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}
.hh-faq__item.is-open {
  background: #eaf4fb;
}
.hh-faq__item.is-open .hh-faq__a {
  max-height: 600px;
  padding: 16px 20px 18px;
}

/* === Местоположение: все филиалы над картой === */
.hh-locations {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hh-locations__item {
  display: flex;
  flex-direction: column;
}
.hh-locations__item .hh-locations__link {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: var(--hh-radius);
  box-shadow: var(--hh-shadow);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--hh-color-text);
}
.hh-locations__item .hh-locations__link:hover strong {
  color: var(--hh-color-primary);
}
.hh-locations__pin {
  color: #e2453c;
  flex: 0 0 auto;
  line-height: 0;
  margin-top: 1px;
}
.hh-locations__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hh-locations__text strong {
  font-size: 16px;
  color: #1e7fc4;
}
.hh-locations__text span {
  font-size: 16px;
  color: #1e7fc4;
}
.hh-locations__route {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #1e7fc4;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  margin-top: 8px;
  align-self: center;
  text-decoration: none;
}
.hh-locations__route svg {
  flex: 0 0 auto;
}
.hh-locations__route:hover {
  background: #17699f;
}
@media (max-width: 720px) {
  .hh-locations {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* === Map === */
.hh-map {
  width: 100%;
  height: 420px;
  border-radius: var(--hh-radius);
  overflow: hidden;
  box-shadow: var(--hh-shadow);
}
.hh-map--single {
  height: 320px;
}
@media (max-width: 620px) {
  .hh-map,
  .hh-map--single {
    height: 280px;
  }
}

/* === Contacts === */
.hh-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.hh-contacts__info p {
  margin: 0 0 10px;
  color: #1e7fc4;
}
.hh-contacts__info a {
  color: #1e7fc4;
}
.hh-contacts__info a.hh-filial__cta {
  color: #fff;
}
@media (max-width: 720px) {
  .hh-contacts {
    grid-template-columns: 1fr;
  }
}

/* === Filial single page === */

/* === 11.10: Наши цены — табы физ/юр лица === */
.hh-prices-tabs {
  background: #fff;
  color: #1e7fc4;
}
#tseny {
  scroll-margin-top: 100px;
}
.hh-ptabs {
  display: grid;
}
.hh-ptabs__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}
.hh-ptabs__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}
.hh-ptabs__h {
  font-size: 20px;
  font-weight: 600;
  color: #1e7fc4;
  margin: 0 0 16px;
}
.hh-ptabs__table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
}
.hh-ptabs__table th,
.hh-ptabs__table td {
  padding: 12px 16px;
  border: 1px solid #dcebf7;
  text-align: left;
  font-size: 16px;
}
.hh-ptabs__table th {
  background: #eaf4fb;
  color: #1e7fc4;
  font-weight: 600;
}
.hh-ptabs__table {
  table-layout: fixed;
}
.hh-ptabs__table th:first-child,
.hh-ptabs__table td:first-child {
  width: 50%;
}
.hh-ptabs__table th:nth-child(2),
.hh-ptabs__table td:nth-child(2) {
  width: 25%;
}
.hh-ptabs__table th:nth-child(3),
.hh-ptabs__table td:nth-child(3) {
  width: 25%;
}
.hh-ptabs__gift {
  font-weight: 600;
  margin: 24px 0 12px;
}
.hh-ptabs__list li {
  margin: 8px 0;
}
.hh-ptabs__list ul {
  margin: 8px 0 8px 20px;
}
.hh-ptabs__soon {
  color: #6b7a89;
}
.hh-ptabs__btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.hh-ptabs__btn {
  background: #fff;
  color: #1e7fc4;
  border: 1px solid transparent;
  border-radius: var(--hh-radius);
  box-shadow: var(--hh-shadow);
  padding: 13px 22px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
}
.hh-ptabs__btn:hover {
  background: #fff;
  color: #1e7fc4;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.14);
}
.hh-ptabs__btn.is-active,
.hh-ptabs__btn.is-active:hover {
  background: #eaf4fb;
  color: #1e7fc4;
  border-color: transparent;
  box-shadow: 0 0 0 2px #1e7fc4, 0 10px 24px rgba(31, 41, 51, 0.14);
}
@media (max-width: 700px) {
  .hh-ptabs__btns {
    flex-direction: column;
    align-items: stretch;
  }
  .hh-ptabs__table th,
  .hh-ptabs__table td {
    padding: 10px 8px;
    font-size: 14px;
  }
}

.hh-single-filial {
  padding: 64px 24px;
}
.hh-single-filial__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hh-single-filial h1 {
  color: var(--hh-color-primary);
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 42px);
}
.hh-single-filial .hh-addr {
  color: var(--hh-color-muted);
  margin: 0 0 24px;
}

.hh-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.hh-gallery a {
  display: block;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-color: #d8dde3;
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .hh-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hh-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
}
.hh-price {
  background: #fff;
  border-radius: var(--hh-radius);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--hh-shadow);
  border-top: 3px solid var(--hh-color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 118px;
  box-sizing: border-box;
}
.hh-price__label {
  color: var(--hh-color-muted);
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.hh-price__value {
  color: var(--hh-color-primary);
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.15;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}
.hh-price__discount {
  margin: 0;
  color: #1b7a3d;
  background: #e5f5ea;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 620px) {
  .hh-prices {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  /* на телефоне карточка в одну строку: слева срок и скидка, справа цена */
  .hh-price {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "label value" "disc value";
    align-items: center;
    text-align: left;
    min-height: 0;
    padding: 14px 16px;
    gap: 4px 12px;
    border-top: 0;
    border-left: 3px solid var(--hh-color-primary);
  }
  .hh-price__label {
    grid-area: label;
    font-size: 14px;
  }
  .hh-price__value {
    grid-area: value;
    font-size: 24px;
  }
  .hh-price__discount {
    grid-area: disc;
    justify-self: start;
    font-size: 12px;
  }
}

.hh-description {
  color: var(--hh-color-text);
  line-height: 1.7;
}
.hh-booking-sec {
  background: #fff;
}

/* === Booking form === */
.hh-booking__title {
  color: var(--hh-color-primary);
  margin: 0 0 8px;
  font-size: clamp(20px, 3vw, 26px);
}
.hh-booking__sub {
  color: var(--hh-color-muted);
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
}
.hh-booking__form {
  display: grid;
  gap: 14px;
}
.hh-booking__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hh-booking__form label,
.hh-booking__full {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--hh-color-muted);
}
.hh-booking__form input,
.hh-booking__form textarea {
  padding: 12px;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  font-size: 16px;
  color: var(--hh-color-text);
  background: #fff;
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}
.hh-booking__form textarea {
  min-height: 80px;
  resize: vertical;
}
.hh-booking__btn {
  background: var(--hh-color-primary);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
  margin-top: 6px;
}
.hh-booking__btn:hover {
  background: var(--hh-color-accent);
}
.hh-booking__note {
  font-size: 13px;
  color: var(--hh-color-muted);
  margin: 6px 0 0;
}
.hh-booking__ok {
  background: #fff;
  border-left: 4px solid var(--hh-color-accent);
  padding: 16px 20px;
  border-radius: 8px;
  color: var(--hh-color-text);
}
.hh-booking__ok p {
  margin: 0 0 6px;
}
.hh-booking__err {
  background: #ffe9e0;
  color: #8a3a1a;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}
@media (max-width: 620px) {
  .hh-booking__row {
    grid-template-columns: 1fr;
  }
}

/* --- Этап 2: select филиала, живая сумма, бейдж «обязательно» --- */
.hh-booking__form select {
  padding: 12px;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  font-size: 16px;
  color: var(--hh-color-text);
  background: #fff;
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}
.hh-req {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--hh-color-primary);
  background: #fff;
  border: 1px solid var(--hh-color-accent);
  border-radius: 6px;
  padding: 1px 6px;
  vertical-align: middle;
}
.hh-booking__sum {
  background: #fff;
  border: 1px dashed var(--hh-color-accent);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  color: var(--hh-color-text);
}
.hh-booking__sum-value {
  color: var(--hh-color-primary);
  font-size: 20px;
}
.hh-booking__sum-note {
  color: var(--hh-color-muted);
  font-size: 13px;
  margin-left: 6px;
}

/* --- Страницы оплаты --- */
.hh-pay {
  max-width: 640px;
  margin: 40px auto;
  padding: 32px 24px;
  background: var(--hh-color-bg-soft);
  border-radius: var(--hh-radius);
  box-shadow: var(--hh-shadow);
  box-sizing: border-box;
}
.hh-pay__title {
  color: var(--hh-color-primary);
  margin: 0 0 12px;
  font-size: clamp(22px, 4vw, 30px);
}
.hh-pay--fail .hh-pay__title {
  color: #a40e26;
}
.hh-pay__lead {
  color: var(--hh-color-text);
  line-height: 1.6;
  margin: 0 0 20px;
}
.hh-pay__summary {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  border-left: 4px solid var(--hh-color-accent);
}
.hh-pay__summary p {
  margin: 0 0 6px;
  color: var(--hh-color-text);
}
.hh-pay__order {
  color: var(--hh-color-muted);
  font-size: 13px;
}
@media (max-width: 620px) {
  .hh-pay {
    margin: 24px 12px;
    padding: 24px 16px;
  }
}

/* --- Телефон филиала на странице --- */
.hh-filial-phone {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--hh-color-text);
}
.hh-filial-phone a {
  color: var(--hh-color-primary);
  text-decoration: none;
  font-weight: 600;
}
.hh-filial-phone a:hover {
  text-decoration: underline;
}

/* === Где мы находимся: карта + карточки === */
.hh-where {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 20px;
  align-items: stretch;
}
.hh-where__map {
  min-width: 0;
}
.hh-where__map .hh-map {
  height: 100%;
  min-height: 460px;
}
.hh-where__cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  min-width: 0;
}
.hh-where__card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--hh-radius);
  box-shadow: var(--hh-shadow);
  padding: 14px 16px;
  transition: box-shadow .2s ease, transform .2s ease;
  cursor: pointer;
}
.hh-where__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.14);
}
.hh-where__card--active,
.hh-where__card--active:hover {
  background: #eaf4fb;
  box-shadow: 0 0 0 2px #1e7fc4, 0 10px 24px rgba(31, 41, 51, 0.14);
}
.hh-where__link {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: var(--hh-color-text);
}
.hh-where__link:hover strong {
  color: var(--hh-color-primary);
}
.hh-where__pin {
  color: #e2453c;
  flex: 0 0 auto;
  line-height: 0;
  margin-top: 1px;
}
.hh-where__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hh-where__text strong {
  font-size: 16px;
  color: #1e7fc4;
}
.hh-where__text span {
  font-size: 16px;
  color: #1e7fc4;
}
.hh-where__route {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1e7fc4;
  border-radius: 10px;
  line-height: 0;
  transition: background .2s ease;
}
.hh-where__route:hover {
  background: #17639c;
}
@media (max-width: 1023px) {
  .hh-where {
    grid-template-columns: 1fr;
  }
  .hh-where__map .hh-map {
    min-height: 320px;
  }
  .hh-where__cards {
    gap: 12px;
  }
}

/* === 10.10: мобильные размеры шрифтов (по запросу) === */
@media (max-width: 720px) {
  body {
    font-size: 14px;
  }
  .hh-hero h1 {
    font-size: 28px;
  }
  .hh-hero--filial h2 {
    font-size: 18px;
  }
  .hh-hero .hh-lead .hh-lead__l1 {
    font-size: 20px;
  }
  .hh-hero .hh-lead .hh-lead__l2 {
    font-size: 18px;
  }
  .hh-hero .hh-lead .hh-lead__l3 {
    font-size: 20px;
  }
  .hh-section h2 {
    font-size: 24px;
  }
}

/* === 10.10: десктоп 16px -> 17px (по запросу) === */
@media (min-width: 721px) {
  body {
    font-size: 17px;
  }
  .hh-header__phone,
  .hh-search input, .hh-search select,
  .hh-hero__call,
  .hh-search button,
  .hh-filial__title,
  .hh-filial__addr,
  .hh-review__stars,
  .hh-review__text,
  .hh-review__author,
  .hh-faq__q,
  .hh-locations__text strong,
  .hh-locations__text span,
  .hh-booking__form input, .hh-booking__form textarea,
  .hh-booking__btn,
  .hh-booking__form select,
  .hh-booking__sum,
  .hh-filial-phone,
  .hh-where__text strong,
  .hh-where__text span {
    font-size: 17px;
  }
}

/* === 11.10: hero филиала мобильный ~518px (по запросу) === */
@media (max-width: 720px) {
  .hh-hero--filial {
    padding: 48px 16px 48px;
  }
  .hh-hero--filial h1 {
    margin-bottom: 32px;
  }
  .hh-hero--filial h2 {
    margin-bottom: 48px;
    line-height: 1.15;
    font-weight: 700;
  }
}

/* === 11.10: hero филиала десктоп — отступы h1 16px, h2 48px (по запросу) === */
@media (min-width: 721px) {
  .hh-hero--filial h1 { margin-bottom: 16px; }
  .hh-hero--filial h2 { margin-bottom: 48px; }
}

/* === 11.10: главная десктоп — без белой карточки вокруг select+кнопки (по запросу) === */
@media (min-width: 721px) {
  .hh-search {
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
}

/* === 12.10: главная мобильная — без белой карточки вокруг select+кнопки (по запросу) === */
@media (max-width: 720px) {
  .hh-search {
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
}

/* === 12.10: главная мобильная — select и кнопка равной ширины 100% (по запросу) === */
@media (max-width: 720px) {
  .hh-search select {
    width: 100%;
  }
  .hh-search button {
    width: 100%;
  }
}

/* === 11.10: главная десктоп — отступ после лида 32->48px (по запросу) === */
@media (min-width: 721px) {
  .hh-hero .hh-lead {
    margin-bottom: 48px;
  }
}

/* === 11.10: главная десктоп — отступ l1->l2 ровно 32px (по запросу) === */
@media (min-width: 721px) {
  .hh-lead .hh-lead__l1 {
    display: block;
    margin-bottom: 32px;
  }
  .hh-lead br:nth-of-type(1),
  .hh-lead br:nth-of-type(2) {
    display: none;
  }
}

/* === 12.10: главная мобильная — отступ после h1 16->8px (по запросу) === */
@media (max-width: 720px) {
  .hh-hero:not(.hh-hero--filial) h1 {
    margin-bottom: 8px;
  }
}

/* === 12.10: главная мобильная — h2 lead line-height 1.15 (по запросу) === */
@media (max-width: 720px) {
  .hh-hero .hh-lead {
    line-height: 1.15;
  }
}

/* === 12.10: главная мобильная — <br><br> в лиде -> отступ 36px (по запросу) === */
@media (max-width: 720px) {
  .hh-lead strong {
    display: block;
    margin-bottom: 32px;
  }
  .hh-lead br {
    display: none;
  }
}

/* ===== Статические страницы (оферта / правила / политика) ===== */
.hh-static { padding: 48px 0; background: #fff; }
.hh-static__inner { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.hh-static__inner p, .hh-static__inner li { color: #1e7fc4; font-size: 16px; line-height: 1.6; }
.hh-static__inner h2 { color: #1e7fc4; font-size: 22px; margin: 28px 0 8px; }
.hh-static__inner h3 { color: #1e7fc4; font-size: 18px; margin: 24px 0 8px; }
.hh-static__inner h2:first-child, .hh-static__inner h3:first-child { margin-top: 0; }
.hh-static__inner ul { color: #1e7fc4; font-size: 16px; line-height: 1.6; margin: 8px 0 16px; padding-left: 20px; }
.hh-static__inner li { margin-bottom: 6px; }
