/* seo.css — стили для SEO-доработок: заголовки, перенесённые на другой уровень
   (H4/H6 → H3, H2 → H1) без изменения внешнего вида, хлебные крошки и др. */

.rooms .content .card-block .cards .card-item .text-block .name-rating h3 { transition: all 0.5s ease-in-out;
  color: #1B1C1E; }
@media (max-width: 490px) {
  .rooms .content .card-block .cards .card-item .text-block .name-rating h3 { font-size: 5.102vw; }
}
.rooms .content .card-block .cards .card-item:hover .text-block .name-rating h3 { color: #978667;
  transition: all 0.5s ease-in-out; }
@media (max-width: 490px) {
  .testimonial .content .testimonial-slider .slider-slide .room .info .text h3 { font-size: 4.5vw; }
}
@media (max-width: 490px) {
  .title-banner .content .title-block .title h1 { font-size: 5.516vw; }
}

/* Хлебные крошки */
.breadcrumbs { margin: 0 0 24px; }
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  font-family: "Lato", sans-serif;
  font-size: clamp(13px, 0.833vw, 18px);
  line-height: 1.4;
  color: #6b6b6b;
}
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before {
  content: "→";
  margin: 0 8px;
  color: #978667;
}
.breadcrumbs a { color: #282525; text-decoration: none; border-bottom: 1px solid rgba(40, 37, 37, .25); }
.breadcrumbs a:hover { color: #978667; border-bottom-color: #978667; }
.breadcrumbs [aria-current="page"] { color: #6b6b6b; }
.breadcrumbs--top { margin: 4px 0 12px; }
/* На мобильных шапка лежит поверх баннера — крошки опускаем под неё */
@media (max-width: 575px) { .breadcrumbs--top { margin: 0; padding: 58px 0 8px; } }

/* Похожие номера на странице номера */
.similar-rooms { padding: 24px 0 8px; }
.similar-rooms .content { padding: 0 !important; background: none !important; }

/* Страница акций */
.promo-toc { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 12px; }
.promo-toc a {
  display: inline-block; padding: 6px 14px; border-radius: 20px;
  background: #F1F5F8; color: #282525; font-size: clamp(14px, 0.9vw, 18px);
}
.promo-toc a:hover { background: #978667; color: #fcfdfd; }
.promo-section { scroll-margin-top: 90px; }
.promo-section__head { display: flex; align-items: center; gap: 16px; }
.promo-section__icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; background: rgba(40, 37, 37, .08);
}
.promo-section__icon svg { width: 26px; height: 26px; fill: none; stroke: #282525; }
.policy-block p a, .policy-list a { color: #978667; }
@media (max-width: 490px) {
  .promo-section__head { gap: 10px; }
  .promo-section__icon { width: 40px; height: 40px; }
}

/* ── Новые страницы: контакты, бронирование, «Об отеле», посадочные ── */

.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.text-center .cta-buttons { justify-content: center; }


.directions__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.directions__list li {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px;
  background: #F1F5F8; border-radius: 10px; font-size: clamp(15px, 0.95vw, 20px);
}
.directions__place { font-weight: 600; color: #282525; }
.directions__time { color: #5f5a5a; text-align: right; }



.booking-widget-card { height: 100%; }
.booking-widget { min-height: 320px; }
.widget-fallback { padding: 24px; background: #F1F5F8; border-radius: 12px; }

.rooms-embedded { margin-top: 24px; }
.rooms-embedded .content { padding: 0 !important; background: none !important; }


@media (max-width: 490px) {
  .directions__list li { flex-direction: column; gap: 2px; }
  .directions__time { text-align: left; }
}

/* Подвал: «Где мы» — одна строка ссылок на посадочные под основным блоком */
.footer-where {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: 6px 20px; margin: 8px auto 16px; padding: 0 16px;
  font-size: clamp(13px, 0.83vw, 16px); line-height: 1.4;
}
.footer-where__title { text-transform: uppercase; letter-spacing: .08em; color: #8a8585; }
.footer-where a { color: #6b6767; border-bottom: 1px solid rgba(40, 37, 37, .15); }
.footer-where a:hover { color: #978667; border-bottom-color: #978667; }
.directions__list li, .directions__list li * { line-height: 1.4; }
.footer-legal { margin-bottom: 6px; font-size: clamp(12px, 0.73vw, 15px); }

/* ── Модуль Контура в вырезе баннера на главной ──
   Вырез (booking-bg-shape.png) тянется по высоте формы, а сама форма стоит
   в его ровной части: боковые скругления остаются свободными. */
.hero-banner .booking .booking-detail.kontur-slot {
  flex-direction: column;
  background: url(../images/booking-bg-shape.png) center bottom / 100% 100% no-repeat;
  padding: clamp(14px, 1.35vw, 30px) 7.6vw clamp(10px, 0.9vw, 20px);
  min-height: 6.7vw;
}
.kontur-slot #WidgetHorizontalBlockId,
.kontur-slot #WidgetRoomsListId { width: 100%; max-width: 1180px; margin: 0 auto; }
.kontur-slot #WidgetRoomsListId:empty { display: none; }
@media (max-width: 1024px) {
  .hero-banner .booking .booking-detail.kontur-slot { padding: 14px 7vw 10px; }
}
/* На телефоне форма вертикальная — ставим её в белую «плашку» с круглыми верхними углами */
@media (max-width: 575px) {
  .hero-banner .booking .booking-detail.kontur-slot {
    background: #fcfdfd;
    width: calc(100% - 24px);
    height: auto;
    border-radius: 24px 24px 0 0;
    padding: 16px 12px 8px;
  }
}

/* ── Отзывы Яндекс Карт в вырезе под галереей ── */
/* Ровная часть выреза не уже 620 px — под виджет шириной 600 px */
.gallery--reviews .bottom-shape.center img {
  width: clamp(800px, 42.083vw, 1100px);
  height: auto;
}
.reviews-tab { position: relative; z-index: 60; margin-top: calc(-1 * clamp(158px, 7.969vw, 210px) + 22px); padding-bottom: 40px; }
.reviews-tab__inner { width: 600px; max-width: calc(100% - 32px); margin: 0 auto; position: relative; }
.reviews-tab iframe {
  display: block; width: 100%; height: 520px;
  border: 1px solid #e6e6e6; border-radius: 16px; background: #fff; box-sizing: border-box;
}
.reviews-tab__link {
  display: block; margin-top: 8px; text-align: center; color: #9a9a9a;
  font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 860px) {
  .gallery--reviews .bottom-shape.center img { width: 42.083vw; }
  .reviews-tab { margin-top: 16px; }
}

/* Блог: серый контейнер со статьями, как на /roomgrid */
.blog-list__wrapper .row { margin: 0; }
.blog-article-section .policy-block { padding-top: clamp(24px, 3vw, 56px); padding-bottom: clamp(24px, 3vw, 56px); }

/* /contacts: правая колонка — «Как добраться» в белой карточке рядом с блоком контактов */
.contacts-directions {
  background: #fcfdfd; border-radius: 12px; padding: clamp(16px, 1.667vw, 40px);
  height: 100%; display: flex; flex-direction: column; justify-content: center;
}
.contacts-directions .directions__list li { background: #F1F5F8; }
