﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #312783;
  --color-accent: #e30314;
  --color-bg: #f5f7ff;
  --color-on-dark: #ffffff;
  --color-text: #1d1b2f;
  --color-muted: #5d5b6c;
  --color-border: rgba(49, 39, 131, 0.18);
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 20px 40px rgba(24, 23, 46, 0.12);
  --max-width: 1240px;
  --transition: 0.2s ease-in-out;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--color-text);
  background-color: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus {
  color: var(--color-accent);
}

button {
  font: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  background-color: var(--color-primary);
  color: var(--color-on-dark);
  border-radius: 8px;
  z-index: 9999;
}

.page {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header--hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 32px;
  background: var(--color-primary);
  color: var(--color-on-dark);
  font-size: 14px;
}

.topbar a {
  color: var(--color-on-dark);
}

.topbar__contacts,
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand img {
  border-radius: 8px;
  width: 346px;
  height: 120px;
}

.nav {
  flex: 1 1 auto;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}

/* Скрываем кнопку закрытия и контакты на десктопе */
.nav__close,
.nav__contacts {
  display: none;
}

.nav__toggle-line {
  width: 28px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 999px;
}

.nav__toggle-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav__list a {
  font-weight: 500;
  font-size: 14px;
  padding: 10px 0;
  position: relative;
  white-space: nowrap;
}

.nav__list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color var(--transition);
}

.nav__list a:hover::after,
.nav__list a:focus::after,
.nav__list a.is-active::after {
  background-color: var(--color-accent);
}

.nav__item--dropdown {
  position: relative;
  padding-bottom: 12px; /* предотвращает разрыв ховера между кнопкой и дропдауном */
  margin-bottom: -12px; /* сохраняет выравнивание по одной линии с остальными пунктами */
}

.nav__dropdown-btn {
  border: none;
  background: none;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 10px 0; /* как у ссылок */
  position: relative;
}

.nav__dropdown-btn::after {
  content: '▾';
  font-size: 12px;
}

/* Подчёркивание как у ссылок меню */
.nav__dropdown-btn::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color var(--transition);
}

.nav__dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  list-style: none;
  padding: 12px 16px;
  margin: 0;
  display: none;
  min-width: 180px;
  z-index: 1002;
}

.nav__dropdown-list.is-open {
  display: block;
}

.nav__dropdown-list li + li {
  margin-top: 8px;
}

/* Десктоп: открывать дропдаун по hover/focus */
@media (min-width: 768px) {
  .nav__item--dropdown:hover .nav__dropdown-list,
  .nav__item--dropdown:focus-within .nav__dropdown-list {
    display: block;
  }
}

/* Мобильная кнопка телефона - скрыта по умолчанию на десктопе */
.mobile-call-btn {
  display: none;
  position: static;
  margin: 0;
  padding: 0;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(135deg, var(--color-accent), #ff4b5d);
  color: var(--color-on-dark);
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(227, 3, 20, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(227, 3, 20, 0.3);
}

.btn--ghost {
  background: #25D366;
  color: white;
  border: 1px solid #1DA851;
  box-shadow: none;
}

.btn--ghost:hover,
.btn--ghost:focus {
  background: #1DA851;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  min-height: 620px;
  background: radial-gradient(circle at top right, rgba(49, 39, 131, 0.3), rgba(10, 7, 42, 0.8));
  overflow: hidden;
}

.hero__media {
  height: 100%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(49, 39, 131, 0.85), rgba(10, 7, 42, 0.6));
}

.hero__content {
  position: relative;
  padding: 72px clamp(24px, 5vw, 72px);
  color: var(--color-on-dark);
  z-index: 2;
}

.hero__lead {
  max-width: 520px;
  font-size: 18px;
  margin-bottom: 24px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__form {
  background: rgba(255, 255, 255, 0.12);
  padding: 24px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
}

.hero__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.hero__benefits li::before {
  content: '•';
  margin-right: 8px;
  color: var(--color-accent);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading__link {
  display: inline-block;
  margin-top: 4px;
  font-weight: 500;
}

.promo {
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 80px auto;
  padding: 0 32px;
  align-items: center;
}

.promo__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.promo__content {
  background: linear-gradient(135deg, rgba(49, 39, 131, 0.08), rgba(227, 3, 20, 0.08));
  border-radius: var(--radius-lg);
  padding: 40px;
}

.promo__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.promo__stat {
  display: inline-block;
  font-weight: 700;
  color: var(--color-accent);
  margin-right: 12px;
}

.subscription {
  max-width: var(--max-width);
  margin: 80px auto;
  padding: 40px 32px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(49, 39, 131, 0.08);
}

.subscription__header {
  text-align: center;
  margin-bottom: 24px;
}

.subscription__widget {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.hot-tours {
  max-width: var(--max-width);
  margin: 80px auto;
  padding: 0 32px;
}

.hot-tours__widget {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.destinations {
  max-width: var(--max-width);
  margin: 80px auto;
  padding: 0 32px;
}

.destinations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.destination-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.destination-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.destination-card__link {
  margin-top: auto;
  font-weight: 600;
}

.prices {
  max-width: var(--max-width);
  margin: 80px auto;
  padding: 0 32px;
}

.prices__widget {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.offices {
  max-width: var(--max-width);
  margin: 80px auto;
  padding: 0 32px;
}

.offices__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.offices__grid .office-card:nth-child(1),
.offices__grid .office-card:nth-child(2),
.offices__grid .office-card:nth-child(3) {
  grid-column: span 2;
}

.offices__grid .office-card:nth-child(4) {
  grid-column: 2 / 4;
  grid-row: 2;
}

.offices__grid .office-card:nth-child(5) {
  grid-column: 4 / 6;
  grid-row: 2;
}

.office-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.office-card__hours {
  color: var(--color-muted);
}

.metro-icon {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: baseline;
  margin: 0 4px;
}

.offices__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 420px;
}

.offices__map iframe,
.offices__map script {
  width: 100%;
}

.reviews-widget__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.reviews-widget__grid:last-child {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0;
}

.reviews-widget__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 800px;
}

.reviews-widget__main p {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 20px 0;
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
}

.reviews-widget__main iframe {
  width: 100%;
  height: 800px;
  border: none;
}

@media (max-width: 1023px) {
  .reviews-widget__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-widget__grid:last-child {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .reviews-widget__main {
    min-height: 700px;
  }

  .reviews-widget__main iframe {
    height: 700px;
  }
}

@media (max-width: 767px) {
  .reviews-widget__grid,
  .reviews-widget__grid:last-child {
    grid-template-columns: 1fr;
  }

  .reviews-widget__main {
    min-height: 600px;
  }

  .reviews-widget__main iframe {
    height: 600px;
  }
}

.news {
  max-width: var(--max-width);
  margin: 80px auto;
  padding: 0 32px;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
}

.news-card__date {
  color: var(--color-muted);
  font-size: 14px;
  margin: 0;
}

.reviews {
  max-width: var(--max-width);
  margin: 80px auto 120px;
  padding: 0 32px;
}

.reviews__wrap {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.reviews__widget {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 400px;
  position: relative;
}

.reviews__widget iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.reviews__cta {
  background: linear-gradient(135deg, rgba(49, 39, 131, 0.15), rgba(227, 3, 20, 0.15));
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  gap: 16px;
}

.site-footer {
  background: #0d0a28;
  color: var(--color-on-dark);
}

.footer__top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 32px;
}

.footer__brand p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.footer__link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.footer__column h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer__contacts-grid {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px 24px;
}

.footer__contacts-grid li {
  margin: 0;
}

.footer__contacts-grid span {
  display: block;
  margin-top: 4px;
}

.footer__contacts-grid strong {
  display: block;
  margin-bottom: 4px;
}

.footer__contacts-grid a {
  white-space: nowrap;
}

.footer__list a {
  color: white;
  text-decoration: none;
}

.footer__list a:hover,
.footer__list a:focus {
  color: rgba(255, 255, 255, 0.8);
}

.footer__socials {
  display: grid;
  gap: 8px;
}

.footer__social {
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: inline-flex;
  width: fit-content;
}

.footer__social:hover,
.footer__social:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 32px;
  text-align: center;
  font-size: 14px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1200px) {
  .header-shell {
    padding: 16px 24px;
  }
  .nav__list {
    gap: 12px;
  }
  .nav__list a,
  .nav__dropdown-btn {
    font-size: 13px;
  }
  .promo {
    margin: 64px auto;
  }
}

/* Добавляем CSS для предотвращения горизонтального скролла */
html, body {
  overflow-x: hidden;
}

/* Мобильная навигация для экранов меньше 768px */
@media (max-width: 767px) {
  .topbar {
    padding: 12px 16px;
    justify-content: center;
    text-align: center;
  }

  .topbar__contacts {
    gap: 8px;
  }

  /* Скрываем лишние телефоны на мобильных */
  .topbar__phone:not(:first-of-type) {
    display: none;
  }

  /* Скрываем topbar__actions на мобильных */
  .topbar__actions {
    display: none;
  }

  /* Перенаправляем первый телефон на WhatsApp */
  .topbar__phone:first-of-type {
    color: var(--color-on-dark);
    text-decoration: none;
  }

  .header-shell {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    padding: 16px;
    position: relative;
  }

  /* Показываем кнопку телефона на мобильных */
  .header-shell .mobile-call-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 110px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    z-index: 1001;
    transition: all 0.3s ease;
    box-sizing: border-box;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
  }

  .mobile-call-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
    pointer-events: none;
    fill: none;
    stroke: currentColor;
  }

  .mobile-call-btn:hover,
  .mobile-call-btn:focus,
  .mobile-call-btn:visited,
  .mobile-call-btn:active {
    background: var(--color-primary);
    color: white;
    transform: translateY(-50%) scale(1.05);
    text-decoration: none;
  }

  .nav__toggle {
    display: inline-flex;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    z-index: 1001;
  }

  /* Мобильное меню */
  .nav__list {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    max-width: 90vw;
    max-height: calc(100vh - 120px);
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    display: none;
    gap: 16px;
    white-space: normal;
    z-index: 1000;
    border-radius: 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e0e0e0;
  }
  
  /* Кнопка закрытия меню */
  .nav__close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 20px;
    padding: 4px;
    cursor: pointer;
    color: var(--color-text);
    line-height: 1;
  }

  /* Показываем меню при открытии */
  .nav__list.is-open {
    display: flex !important;
  }

  .nav__dropdown-list {
    position: static;
    box-shadow: none;
    padding: 4px 0 0 12px;
  }

  .nav__item--dropdown {
    width: 100%;
  }
  
  /* Контакты в мобильном меню */
  .nav__contacts {
    width: 100%;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
  }
  
  .nav__contacts h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
  }
  
  .nav__contacts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .nav__contacts-list a {
    color: var(--color-text);
    font-size: 14px;
    padding: 4px 0;
  }
  
  .nav__contacts-whatsapp {
    margin-top: 16px;
  }
  
  .nav__contacts-whatsapp .btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 12px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero__media {
    display: none;
  }

  .promo {
    grid-template-columns: 1fr;
  }

  .reviews__wrap {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding: 56px 16px;
  }

  .subscription,
  .hot-tours,
  .destinations,
  .prices,
  .offices,
  .news,
  .reviews {
    margin: 56px auto;
    padding: 0 16px;
  }

  .promo__content {
    padding: 24px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__form {
    padding: 16px;
  }
  
  /* Оптимизация логотипа для мобильных */
  .brand img {
    width: 200px;
    height: 70px;
  }
}

body.nav-open {
  overflow: hidden;
}

/* Затемнение фона при открытом меню */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  display: none;
}

/* Показываем overlay только на мобильных */
@media (max-width: 767px) {
  .nav-overlay {
    display: block;
  }
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 480px) {
  .topbar {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .header-shell {
    padding: 12px;
  }
  
  .brand img {
    width: 160px;
    height: 56px;
  }
  
  .nav__list {
    width: 95vw;
    max-width: 300px;
    padding: 16px;
    right: 8px;
    top: 100%;
  }

  .nav__toggle {
    right: 12px;
  }

  /* Корректируем позицию кнопки телефона на маленьких экранах */
  .header-shell .mobile-call-btn {
    right: 85px !important;
    width: 36px !important;
    height: 36px !important;
  }

  .mobile-call-btn svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
    fill: none;
    stroke: currentColor;
  }

  .hero__content {
    padding: 40px 12px;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
}

.tv-search-form,
.tv-hot-tours,
.tv-min-price,
.tv-free-button,
.tv-bot-subscription {
  width: 100%;
}

.tv-hot-tours table,
.tv-min-price table {
  width: 100% !important;
}
.hero--compact {
  min-height: 520px;
}

.steps,
.support,
.faq,
.hot-list,
.tips,
.catalog,
.recommendations,
.reviews-page,
.reviews-widget,
.share,
.contact-block,
.contact-cta,
.payment,
.documents,
.requisites,
.news-page {
  max-width: var(--max-width);
  margin: 80px auto;
  padding: 0 32px;
}

.steps__grid,
.tips__grid,
.recommendations__grid,
.contact-block__grid,
.documents__grid,
.reviews-page__grid,
.news-page__list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.documents__media {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.steps__item,
.tips__item,
.review-card,
.news-article {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
}

.steps__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 8px;
}

.support {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: stretch;
}

.support__content,
.support__cta,
.share__content,
.contact-cta__content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
}

.support__list {
  margin: 0;
  padding-left: 20px;
}

.support__buttons,
.share__buttons,
.contact-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq__list {
  display: grid;
  gap: 16px;
}

.faq__item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.hot-list__widget,
.catalog__widget {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.reviews-page__grid .review-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.review-card__date,
.news-card__date {
  color: var(--color-muted);
  font-size: 14px;
  margin: 0;
}

.review-card__link,
.news-article a,
.destination-card__link {
  font-weight: 600;
}

.reviews-widget .reviews__widget {
  margin: 0 auto;
}

/* Сетка для нескольких виджетов отзывов */
.reviews-widgets__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.reviews-widget__item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.reviews-widget__item h3 {
  margin: 0;
  padding: 16px 20px 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
}

.reviews-widget__embed {
  flex: 1;
  position: relative;
  width: 100%;
  height: 650px; /* фиксированная высота для просмотра 4-5 отзывов */
}

.reviews-widget__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 1200px) {
  .reviews-widgets__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reviews-widget__embed {
    height: 600px;
  }
}

@media (max-width: 767px) {
  .reviews-widgets__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reviews-widget__embed {
    height: 550px;
  }
}

.contact-block__item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.contact-block__map {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.documents__item ul,
.requisites__content ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.news-article h3 {
  margin-top: 0;
}

.news-page__list {
  gap: 32px;
}

.news-article {
  line-height: 1.7;
}

.share,
.contact-cta {
  max-width: var(--max-width);
  margin: 80px auto;
  padding: 0 32px;
}

.share__content,
.contact-cta__content {
  text-align: left;
}

@media (max-width: 1023px) {
  .support,
  .contact-block__grid,
  .documents__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .steps,
  .support,
  .faq,
  .hot-list,
  .tips,
  .catalog,
  .recommendations,
  .reviews-page,
  .reviews-widget,
  .share,
  .payment,
  .documents,
  .requisites,
  .news-page,
  .contact-block,
  .contact-cta {
    margin: 56px auto;
    padding: 0 16px;
  }

  .support__buttons,
  .share__buttons,
  .contact-cta__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  /* Офисы на мобильных - по одному в ряд */
  .offices__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .offices__grid .office-card:nth-child(1),
  .offices__grid .office-card:nth-child(2),
  .offices__grid .office-card:nth-child(3),
  .offices__grid .office-card:nth-child(4),
  .offices__grid .office-card:nth-child(5) {
    grid-column: span 1;
    grid-row: auto;
  }
}
\n.link-inline {\n  color: var(--color-on-dark);\n  text-decoration: underline;\n  text-decoration-color: rgba(255, 255, 255, 0.5);\n}\n\n.link-inline:hover,\n.link-inline:focus {\n  text-decoration-color: rgba(255, 255, 255, 0.9);\n}\n
.btn:visited {
  color: var(--color-on-dark);
}

.btn--ghost:visited {
  color: var(--color-on-dark);
}

.btn:active {
  transform: scale(0.99);
  filter: brightness(0.95);
}
.btn:hover,
.btn:focus {
  color: var(--color-on-dark) !important;
}

.btn--ghost:hover,
.btn--ghost:focus {
  color: var(--color-on-dark) !important;
  border-color: rgba(255, 255, 255, 0.8);
}
.site-header {
  border-bottom-width: 0;
}

.topbar {
  padding: 4px 20px;
  font-size: 13px;
}

.topbar__contacts,
.topbar__actions {
  gap: 8px;
}

.header-shell {
  padding: 12px 24px;
}

.brand img {
  max-height: 90px;
  height: auto;
  width: auto;
}

@media (max-width: 1023px) {
  .topbar {
    padding: 6px 16px;
  }

  .header-shell {
    padding: 12px 16px;
  }

  .brand img {
    max-height: 72px;
  }
}
.reviews__widget {
  min-height: 800px;
}

.reviews__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.reviews__benefit {
  display: grid;
  gap: 12px;
  text-align: left;
}

.reviews__benefit h3 {
  margin: 0;
  font-size: 20px;
  color: var(--color-primary);
}

.reviews__benefit p {
  margin: 0;
  color: var(--color-muted);
}

@media (max-width: 1023px) {
  .reviews__widget {
    min-height: 600px;
  }
  .reviews__benefits {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .reviews__wrap {
    gap: 24px;
  }

  .reviews__widget {
    width: 100%;
    min-height: 360px;
  }

  .reviews__widget iframe {
    min-height: 360px;
  }

  .reviews__benefits {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .footer__top {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 24px;
  }

  .footer__contacts-grid {
    grid-template-columns: 1fr;
  }
}

.policy__content p {
  line-height: 1.6;
}

.policy__content h2 {
  margin-top: 24px;
}
