/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */

:root {
  /* Colors */
  --dark: #212121;
  --light: #FAFAFA;
  --accent: #F0701B;
  --bg-light: #EFEFEF;
  --functional: #125ED3;
  
  /* Bootstrap compatibility */
  --bs-link-color: inherit;
  --bs-link-hover-color: inherit;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

figure {
  margin: 0;
}

body {
  font-family: "Manrope", system-ui, Segoe UI, Arial, sans-serif;
  color: var(--dark);
  background-color: var(--light);
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--dark);
  text-decoration: none;
}

body a,
body a:hover {
  color: var(--dark);
}

/* ==========================================================================
   Typography
   ========================================================================== */

/* Normalize margins for headings and paragraphs */
h1, h2, h3, h4, h5, h6, p {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-top: 0;
  margin-bottom: 0;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.floating-contact__button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent, #212121);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(33, 33, 33, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10001;
}

.floating-contact__button:hover {
  background: var(--dark, #000);
  box-shadow: 0 6px 24px rgba(33, 33, 33, 0.3);
  transform: translateY(-2px);
}

.floating-contact__button:active {
  transform: translateY(0);
}

.floating-contact__button.is-active {
  background: var(--dark, #000);
}

.floating-contact__button svg {
  width: 24px;
  height: 24px;
}

.floating-contact__menu {
  position: absolute;
  bottom: 80px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-contact__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.floating-contact__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(33, 33, 33, 0.15);
  text-decoration: none;
  color: var(--dark, #212121);
  font-family: Manrope;
  font-size: 16px;
  font-weight: 600;
  line-height: 140%;
  transition: all 0.2s ease;
  min-width: 160px;
  white-space: nowrap;
}

.floating-contact__option:hover {
  background: #f5f5f5;
  box-shadow: 0 6px 24px rgba(33, 33, 33, 0.2);
  transform: translateX(-4px);
}

.floating-contact__option svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.floating-contact__option span {
  flex: 1;
}


/* tour banner */
.tour-banner {
  margin: 24px 0 40px 0;
}

.calendar-page .calendar-wrapper {
  display: flex;
padding: 70px 0px 120px 0px;
flex-direction: column;
align-items: flex-start;
gap: 56px;
align-self: stretch;
}

.calendar-wrapper header {
  width: 100%;
  text-align: center;
  align-self: center;
}

.tour-banner-wrap {
  padding: 40px 24px 40px 24px;
  width: 879px;
  border-radius: 20px;
  background: var(--bg-light);
  position: relative;
  height: auto;
}

.tour-banner .tour-banner-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.tour-banner .tour-banner-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
}

.tour-banner .tour-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tour-banner .tour-banner-date {
  position: absolute;
  left: 16px;
  top: 16px;
  background: #fff;
  color: #222;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.tour-banner .tour-banner-content h3 {
  margin: 0 0 12px;
  font-size: 32px;
}

.tour-banner .tour-banner-content .body-2 {
  margin: 0 0 20px;
  color: var(--text, #222);
  opacity: .9;
}

.tour-banner .tour-banner-content .btn {
  background: var(--dark);
  color: var(--light);
  border-radius: 999px;
  padding: 18px 28px;
  display: inline-block;
  transition: background 0.2s ease;
}

.faq-article a {
  color: var(--accent);
  transition: color 0.3s ease;
}

.faq-article a:hover {
  color: var(--dark);
}

.tour-banner .tour-banner-content .btn:hover {
  background: var(--accent);
}




/* --- Article Content --- */

/* Тег и дата в верхней части */
.article-header-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 16px;
}

.article-tag {
  color: var(--accent);
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 136%;
  transition: color 0.2s ease;
}


.article-date {
  color: #666;
  font-weight: 500;
}

/* Заголовок статьи */
.article-header {
  margin-bottom: 40px;
}

.article-meta {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.article-category {
  background: #f0f8ff;
  color: #007bff;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.article-category:hover {
  background: #007bff;
  color: white;
}

.article-title {
  font-size: 46px;
  font-style: normal;
  font-weight: 600;
  line-height: 110%;
  /* 50.6px */
  letter-spacing: -0.46px;
}


/* Изображение статьи */
.article-image {
  display: flex;
  height: 500px;
  align-self: stretch;
  align-items: flex-start;
  gap: 10px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Информация об авторе */

.author-section {
  max-height: 120px;
}

.author-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-direction: column;
  max-width: 100%;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-details h3 {
  font-size: 16px;
  font-weight: 600;
}

.author-details p {
  opacity: 0.5;
  font-size: 13px;
}

/* Промо-блок */
.promo-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.promo-image {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
}

.promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-content h3 {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
}

.promo-content p {
  margin: 0 0 20px 0;
  color: #666;
  line-height: 1.6;
}

/* Содержание статьи */
.article-toc {
  display: flex;
  width: 478px;
  padding: 24px 24px 32px 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex-shrink: 0;
  border-radius: 20px;
  border: 0.889px solid #CDCDCD;
}

ul.toc-list {
  margin: 0 !important;
  display: flex;
  padding-left: 16px !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px !important;
  align-self: stretch;
  list-style: none;
}

.article-toc h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  position: relative;
  padding-left: 20px;
}

.toc-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.toc-list a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.toc-list a:hover {
  color: var(--accent);
}


/* Содержимое статьи */
.article-content {
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content h2 {
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 28.6px */
  letter-spacing: -0.22px;
  margin-top: 32px;
  margin-bottom: 16px;
}




.article-content h3 {
  font-size: 22px;
  font-weight: 600;
}

.article-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
}

.bt-ig {
  position: relative;
  padding-bottom: 40px;
  height: 105px;
}

.article-content a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-content a:hover {
  color: var(--dark);
}





.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 17.778px;
}

.article-content blockquote {
  margin: 20px 0 40px 0;
  gap: 10px;
  align-self: stretch;
  display: flex;
  padding: 24px;
  flex: 1 0 0;
  border-radius: 20px;
  background: #F9F3E4;
  flex-direction: column;
}

.article-content blockquote p {
  margin-bottom: 0 !important;
}

.article-content ul,
.article-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

/* Теги */
.article-tags {
  margin: 40px 0;
  padding: 30px 0;
  border-top: 1px solid #e9ecef;
}

.bt-gallery {
  position: relative;
  height: 520px;
}

.bt-gallery-aspect {
  position: absolute !important;
  width: 879px !important;
  overflow: hidden !important;
}

/* Gallery styles */


.bt-gallery-inner {
  position: absolute;
  inset: 0;
}

.bt-gallery .swiper-pagination {
  display: none !important;
}

/* Gallery navigation buttons positioning */
.bt-gallery .swiper-button-prev,
.bt-gallery .swiper-button-next {
  position: absolute;
  bottom: 10px;
  width: 40px;
  height: 40px;
  margin-top: 166px;
  background: var(--accent);
  border-radius: 50%;
  color: var(--white);
  z-index: 10;
}

.bt-gallery .swiper-button-prev {
  left: 24px;
}

.bt-gallery .swiper-button-next {
  left: 84px;
  /* рядом с левой кнопкой */
}

.bt-gallery .swiper-button-prev:after,
.bt-gallery .swiper-button-next:after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}

/* SVG icons for arrows */
.bt-gallery .swiper-button-prev:after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M2.45085 10.0002L9.55941 17.1087L10.4432 16.2249L4.84342 10.6252L16.668 10.6252V9.37516L4.84342 9.37516L10.4432 3.77539L9.55941 2.8916L2.45085 10.0002Z' fill='%23FAFAFA'/></svg>");
}

/* Instagram banner */
.bt-ig-banner {
  position: absolute;
  width: 879px;
  display: flex;
  height: 105px;
  padding: 24px;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 20px;
  background: #F9F3E4;
}

.bt-ig-icon {
  width: 85.3px;
  height: 42.7px;
  flex: 0 0 auto;
  border-radius: 6px;
  background: url('/dev/templates/bt_custom/assets/illustration.png') no-repeat 0 0/contain;
}

.bt-ig-link {
  color: var(--accent);
  font-family: Manrope;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 28.6px */
  letter-spacing: -0.22px;
}

.bt-ig-text {
  font-family: Manrope;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 28.6px */
  letter-spacing: -0.22px;
}

/* Article quoted note (aside > blockquote) */
.article-content aside blockquote {
  margin: 0;
  padding: 0 0 0 16px;
  border-left: 3.556px solid var(--accent);
  background: transparent;
  color: var(--dark);
  font-style: normal;
  line-height: 1.4;
  border-radius: 0;
}

.bt-image {
  position: relative;
  height: 460px;
  margin: 20px 0 40px 0;
}

.bt-image a {
  position: absolute;
  width: 879px;
  height: 100%;
}

.bt-image a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content aside {
  margin: 0;
  display: flex;
  padding: 8px 0 32px 16px;
  justify-content: center;
  align-items: center;
  gap: 8.889px;
  align-self: stretch;
  background: transparent;
}

.article-content aside blockquote p {
  margin: 0;
}

.bt-gallery .swiper-button-next:after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M17.5492 10.0002L10.4406 17.1087L9.5568 16.2249L15.1566 10.6252L3.33203 10.6252L3.33203 9.37516L15.1566 9.37516L9.5568 3.77539L10.4406 2.8916L17.5492 10.0002Z' fill='%23FAFAFA'/></svg>");
}

.bt-gallery .swiper-button-prev:hover,
.bt-gallery .swiper-button-next:hover {
  background: #E65A22;
}

.article-tags h4 {
  margin: 0 0 15px 0;
  font-size: 1.1rem;
  color: #333;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: #f8f9fa;
  color: #666;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.tag:hover {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

/* Связанные статьи */
.related-articles {

  padding: 80px 0px 100px 0px;
  margin-top: 160px;
  margin-bottom: 80px;
  background: var(--bg-light, #EFEFEF);
}

.related-articles-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.related-articles h3 {
  margin: 0 0 30px 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.related-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-image {
  width: 120px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-content h4 {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}

.related-content p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* Share block under article */
.article-share {
  display: flex;
  padding-top: 40px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  flex-direction: row;
}

.article-share .share-title {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 136%;
  color: var(--dark);
}

.article-share .share-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-share .share-btn {
  display: flex;
  width: 48px;
  height: 48px;
  padding: 8px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  background: var(--bg-light, #EFEFEF);
  position: relative;
  border: none;
  transition: background 0.2s ease;
}

.article-share .share-btn:hover {
  background: var(--accent);
}

.article-share .share-btn svg path {
  transition: fill 0.2s ease;
}

.article-share .share-btn:hover svg path {
  fill: var(--light);
}

.article-share .share-btn:after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}


.share-copy.copied {
  outline: 2px solid var(--accent);
}

.article-share .share-hint {
  opacity: 0;
  margin-left: 8px;
  font-size: 14px;
  color: var(--dark);
  transition: opacity .2s ease;
}

.article-share .share-hint.visible {
  opacity: 1;
}

/* Telegram секция */
.telegram-section {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 60px 0 40px 0;
  padding: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  color: white;
}

.telegram-content {
  flex: 1;
}

.telegram-content h3 {
  margin: 0 0 15px 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.telegram-content p {
  margin: 0 0 25px 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.telegram-content .btn {
  background: white;
  color: #667eea;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.telegram-content .btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

.telegram-gallery {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.gallery-item {
  /* width: 80px;
  height: 80px; */
  border-radius: 8px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Навигация по статьям */
.article-navigation {
  display: flex;
  justify-content: space-between;
  margin: 60px 0 40px 0;
  padding: 30px 0;
  border-top: 1px solid #e9ecef;
}

.nav-link {
  display: block;
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
  max-width: 45%;
}

.nav-link:hover {
  color: #007bff;
}

.nav-label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-title {
  display: block;
  font-weight: 500;
  line-height: 1.4;
}

.nav-next {
  text-align: right;
}


.attractions-grid .attraction-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tour-gallery .gallery-grid .gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.tour-gallery .gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

:root {
  /* Colors */
  --dark: #212121;
  --light: #FAFAFA;
  --accent: #F0701B;
  --bg-light: #EFEFEF;
  --functional: #125ED3;
  
  /* Bootstrap compatibility */
  --bs-link-color: inherit;
  --bs-link-hover-color: inherit;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Manrope", system-ui, Segoe UI, Arial, sans-serif;
  color: var(--dark);
  background-color: var(--light);
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--dark);
  text-decoration: none;
}

body a,
body a:hover {
  color: var(--dark);
}

/* ==========================================================================
   Typography
   ========================================================================== */

/* Normalize margins for headings and paragraphs */
h1, h2, h3, h4, h5, h6, p {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-top: 0;
  margin-bottom: 0;
}

h1 {
  font-family: Manrope;
  font-size: 80px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  /* 80px */
}

h2 {
  font-family: Manrope;
  font-size: 46px;
  font-style: normal;
  font-weight: 600;
  line-height: 110%;
  /* 50.6px */
  letter-spacing: -0.46px;
}

h3 {
  font-family: Manrope;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 28.6px */
  letter-spacing: -0.22px;
}

.body-1 {
  font-family: Manrope;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  /* 25.2px */
  letter-spacing: -0.18px;
}

.body-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 136%;
}

.body-3 {
  color: var(--dark, #212121);

  /* desktop/body 3 */
  font-family: Manrope;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  /* 19.6px */
}

.nav {
  text-align: center;
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  /* 19.2px */
  transition: color 0.15s ease;
}

.footer-nav {
  text-align: center;
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  transition: color 0.15s ease;
}

.footer-nav:hover {
  color: var(--accent);
}

.link-bg {
  text-align: right;
  font-family: Manrope;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 31.2px */
  letter-spacing: -0.24px;
  transition: color 0.15s ease;
}

.link-bg:hover {
  color: var(--accent);
}

.nav:hover {
  color: var(--accent);
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-50 {
  opacity: 0.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0px 50px 0 50px;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  padding-top: 12px;
  position: relative;
}

/* allow absolute/fixed children to anchor from header area */

.hero-wrapper p {
  width: 353px;
}



.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Burger button (hidden on desktop) */
.burger {
  display: none;
  width: 36px;
  height: 28px;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  position: relative;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease, top 200ms ease;
}

.burger span:nth-child(1) {
  top: 4px;
}

.burger span:nth-child(2) {
  top: 13px;
}

.burger span:nth-child(3) {
  top: 22px;
}

.burger.is-open span:nth-child(1) {
  top: 13px;
  transform: rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  top: 13px;
  transform: rotate(-45deg);
}

.navlink {
  color: var(--dark);
  text-align: center;
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  transition: color 0.15s ease;
}


.hero-wrapper {
  display: flex;
  height: 600px;
  padding: 40px 150px 40px 40px;
  margin-top: 16px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55.58%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(0deg, rgba(20, 20, 20, 0.3) 0%, rgba(20, 20, 20, 0.3) 100%),
    url(../assets/hero-cover.webp) center / cover no-repeat,
    #535353;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  align-self: stretch;
}

.color-light {
  color: var(--light);
}

.navlink:hover {
  color: var(--accent);
}

.navlink.active {
  color: var(--accent);
  font-weight: 600;
}

.logo {
  display: flex;
  width: 71px;
  height: 45px;
  padding: 6.441px 9.413px 5.471px 8.832px;
  justify-content: center;
  align-items: center;
}

/* Chip-like button */
.btn-chip {
  width: 341px;
  height: 64px;
  padding: 4px 4px 4px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1 0 0;
  align-self: stretch;
  gap: 10px;
  border-radius: 50px;
  background: var(--light);
  transition: background 0.15s ease;
  color: var(--dark, #212121);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  /* 19.2px */
}

.btn-chip:hover {
  background: #DEDEDE;
}

.author {
  padding-top: 100px;
}

.author-text {
  max-width: 493px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.author-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.author-text-content h2 {
  margin-bottom: 16px;
}

.author-text-content p {
  margin-bottom: 12px;
}

.author-image {
  display: flex;
  padding-top: 18px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
  width: 663px;
  min-width: 350px;
  overflow: hidden;
}

.author-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.btn {
  display: flex;

  height: 60px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 40px;
  background: var(--dark, #212121);
  color: var(--light, #FAFAFA);
  text-align: center;
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  transition: background 150ms ease, color 150ms ease;
  width: 100%;
}

.btn.light {
  background: var(--light);
  color: var(--dark);
  border: 1px solid var(--dark);
}

.btn.light:hover {
  background: var(--accent);
  color: var(--light);
  border: 1px solid var(--accent);
}



.btn:hover {
  background: var(--accent);
  color: var(--light);
}

.btn:active {
  background: #1f1f1f;
}



.btn-chip__icon {
  width: 56px;
  height: 56px;
  background: #1f1f1f;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.calendar-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  column-gap: 24px;
  row-gap: 64px;
  align-self: stretch;
}

.calendar-item-image {
  width: 100%;
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: #e9e9e9;
}

.calendar-item-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 0;
}

.calendar-item-content-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  align-self: stretch;
}

.calendar-item-content-text h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.calendar-item-content-text h3 .prebooking-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.calendar-item-content-text .body-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  overflow: hidden;
}


.calendar-wrapper {
  display: flex;
  padding: 160px 0px 80px 0px;
  flex-direction: column;
  align-items: flex-start;
  gap: 56px;
  align-self: stretch;
}

.calendar-wrapper h2 {
  text-align: center;
  align-self: center;
}

.calendar-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  min-width: 0;
}

.calendar-item-content {
  height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-width: 0;
}

.calendar-item-buttons {
  display: flex;
  align-items: center;
  gap: 4px;
  align-self: stretch;
}

.calendar-item-buttons {
  margin-top: auto;
}

/* ensure tour buttons stay on one row where space allows */
.calendar-item-buttons .btn {
  width: auto;
  flex: 1 1 0;
}


/* reverted calendar buttons sizing */

/* Steps */
.steps {
  padding: 86px 0 180px 0;
}

.author-text .btn {
  width: 272px;
}

.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.steps-timeline {
  position: relative;
}

.steps-track {
  position: relative;
  height: 2px;
  background: transparent;
  margin: 28px 0 0 0;
}

.steps-track__bg,
.steps-track__progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  border-radius: 2px;
}

.steps-track__bg {
  background: #e6e6e6;
}

.steps-track__progress {
  background: var(--accent);
  width: 0;
  transition: width 600ms ease;
}

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}

.step-text {
  margin-top: 30px;
}

.step-item {
  text-align: left;
  position: relative;
}

.step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E4E4E4;
  color: #7a7a7a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  margin-bottom: 12px;
  transform-origin: center;
  position: absolute;
  margin-top: -20px;
  font-size: 20px;
}

.step-dot span {
  display: inline-block;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  60% {
    transform: scale(1.2);
    opacity: 1;
  }

  80% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}

/* Pixel Perfect overlay (enable by adding class `pp-overlay` to body) */
body.pp-overlay {
  position: relative;
}

body.pp-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1280px;
  bottom: 0;
  background: url(../assets/1024-1280.webp) top center no-repeat;
  background-size: 1280px 7011px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 2147483647;
}

/* Pixel Perfect overlay for tour page only */
body.pp-overlay.tour-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1280px;
  bottom: 0;
  background: url(../assets/1024-1280tour.webp) top center no-repeat;
  background-size: 1280px auto;
  opacity: 0.5;
  /* mix-blend-mode: difference; */
  pointer-events: none;
  z-index: 2147483647;
}

.step-item.is-active .step-dot {
  background: var(--accent);
  color: #fff;
  animation: bounceIn 500ms cubic-bezier(.34, 1.56, .64, 1);
}

.step-title {
  max-width: 220px;
}




/* Reviews */
.reviews {
  padding: 80px 0 100px 0;
  background: #EFEFEF;
}

.reviews-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reviews-header .btn {
  width: auto;
  white-space: nowrap;
}

.reviews-swiper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.reviews-swiper .swiper-wrapper {
  padding-right: 10px;
}

.reviews-swiper .swiper-slide {
  width: 519px !important;
}

.swiper-wrapper {
  align-items: stretch;
}

.swiper-slide {
  height: auto;
  box-sizing: border-box;
  align-self: center;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 24px;
  background: var(--light);
  border-radius: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

/* ensure compatibility with saved jpg avatars */
.review-avatar[src$=".jpg"],
.review-avatar[src$=".jpeg"],
.review-avatar[src$=".png"],
.review-avatar[src$=".webp"] {
  display: block;
}

.review-name {
  font-weight: 600;
}

.review-link {
  font-size: 12px;
  opacity: .7;
}

.reviews-controls {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
}

.faq-article .container {
  display: flex;
  padding: 70px 50px 120px 50px;
  flex-direction: column;
  align-items: flex-start;
  gap: 56px;
  align-self: stretch;
}

.faq-article h1 {
  font-family: Manrope;
  font-size: 64px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
}

.reviews-prev,
.reviews-next {
  width: 28px;
  height: 28px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

.reviews-prev.swiper-button-disabled,
.reviews-next.swiper-button-disabled {
  opacity: .3;
  cursor: default;
}

/* FAQ */
.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 140px 0;
}

.faq-wrapper h2 {
  text-align: center;
  align-self: center;
}

.faq-items {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.faq-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #f5f5f5;
  border-radius: 12px;
  break-inside: avoid;
  display: block;
}

.faq-item .faq-answer {
  display: block !important; /* Переопределяем hidden для анимации */
  overflow: hidden; /* Скрываем во время анимации */
  height: 0;
  transition: height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  opacity: 0;
  margin: 0;
}

.faq-item.is-open .faq-answer {
  padding: 0 24px 16px 24px;
  opacity: 1;
  overflow: visible; /* Показываем весь контент при открытии */
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 28px 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Manrope;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  /* 25.2px */
  letter-spacing: -0.18px;
  cursor: pointer;
  /* iOS Safari/Chrome default button styles may tint text blue */
  -webkit-appearance: none;
  appearance: none;
  color: var(--dark);
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-head {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  margin-bottom: 12px;
}

.faq-card {
  display: inline-block;
  width: 100%;
  padding: 28px 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 24px 0;
  align-self: stretch;
  border-radius: 20px;
  background: var(--light, #FAFAFA);
  break-inside: avoid;
}

.faq-grid {
  column-count: 2;
  column-gap: 24px;
  margin: 0 auto;
}

/* FAQ page - static cards, always visible, no animations */
.faq-card .faq-answer {
  display: block;
  padding: 0 24px 16px 24px;
  opacity: 1;
  margin: 0;
}

/* Remove interactive styles from FAQ page */
.faq-card .faq-head {
  cursor: default;
  pointer-events: none;
}

.faq-head {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-head:focus {
  outline: 2px solid var(--primary, #212121);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}



/* Telegram */
.telegram-channel {
  padding: 40px 0 180px 0;
  overflow: hidden;
}

.telegram-channel .container {
  padding: 0;
}

.telegram-wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.telegram-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 0 50px;
}


.swiper,
swiper-container {
  overflow: visible;
}

.telegram-head h2 {
  max-width: 560px;
}

.telegram-button {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.telegram-button .btn {
  width: 220px;
}

.telegram-carousel {
  width: 100%;
}

.telegram-carousel .embla__viewport {
  overflow: hidden;
}

.telegram-carousel .embla__container {
  display: flex;
  align-items: stretch;
}

.telegram-carousel .embla__slide {
  flex: 0 0 auto;
  min-width: 0;
  width: 411px;
  margin-right: 16px;
  border-radius: 16px;
  overflow: hidden;
}

.telegram-carousel .embla__slide:last-child {
  margin-right: 24px;
}

@media (min-width: 640px) {
  .telegram-carousel .embla__slide {
    margin-right: 18px;
  }
}

@media (min-width: 900px) {
  .telegram-carousel .embla__slide {
    margin-right: 20px;
  }
}

@media (min-width: 1200px) {
  .telegram-carousel .embla__slide {
    margin-right: 24px;
  }
}

.telegram-carousel img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Footer base styles moved before media queries for correct cascade */
.site-footer {
  padding: 0px 0 20px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  align-items: flex-start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col.footer-left {
  width: 578px;
}

.footer-col.footer-middle {
  gap: 32px;
}

.footer-col.footer-right {
  gap: 8px;
}

.footer-logo {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.footer-sub-title {
  margin: 0px 0 14px 0;
}

.footer-sub-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 395px;
}

.footer-sub-form .footer-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-sub-form > .footer-input {
  flex: 1;
}

.footer-checkbox-wrapper {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.3;
}

.footer-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  cursor: pointer;
}

.footer-checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  cursor: pointer;
  accent-color: var(--accent, #F0701B);
}

.footer-checkbox-label span {
  flex: 1;
}

.footer-checkbox-label a {
  color: var(--accent);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.footer-checkbox-label a:hover {
  opacity: 0.8;
}

.footer-input {
  height: 56px;
  padding: 18px 20px;
  border: none;
  background: var(--bg-light);
  outline: none;
  border-radius: 50px;
  font-family: Manrope;
  font-size: 16px;
  flex: 1;
  max-width: 335px;
}

.footer-input-row .footer-send {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.footer-send {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  border: none;
  background: #808080;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-send:not(:disabled) {
  background: #212121;
}

.footer-send:not(:disabled):hover {
  background: var(--accent);
}

.footer-send:not(:disabled):active {
  transform: scale(0.95);
}

.footer-send:disabled {
  background: #808080;
  cursor: not-allowed;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.footer-menu a {
  font-size: 16px;
}

.footer-email {
  font-size: 20px;
  font-weight: 600;
}

.footer-phone {
  font-size: 22px;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  gap: 24px;
  align-items: center;
  border-top: 1px solid #e8e8e8;
  padding-top: 24px;
  margin-top: 56px;
  justify-content: space-between;
}

.footer-link {
  color: var(--dark, #212121);
  font-family: Manrope;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.footer-link:hover {
  opacity: 1;
}

.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.footer-dev-icon svg {
  display: block;
}

/* Ensure consistent baseline for all bottom items */
.site-footer .footer-bottom>* {
  line-height: 1.4;
}

.footer-dev:hover {
  opacity: 1;
}

/* --- Tour Page --- */
.tour-hero {
  justify-content: flex-end;
}

.tour-what .container.h2 {
  text-align: center;
  align-self: center;
}

.opacity-70 {
  opacity: 0.7;
}

.tour-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
  /* как .hero-content */
  color: var(--light);
  min-height: 100%;
  justify-content: flex-end;
}

.tour-hero__title {
  color: var(--light);
}

.tour-hero__subtitle {
  opacity: .95;
}

.tour-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(250, 250, 250, .9);
  color: #111;
  font-size: 14px;
  font-weight: 600;
}

.badge--price {
  background: var(--light);
}

/* --- Contact Page --- */
.contact-page {
  padding: 40px 0 160px 0;
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.fw700 {
  font-weight: 700;
}

.contact-author {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.contact-author-image {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}

.contact-author-image img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.contact-author-info {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.contact-author-name {
  font-size: 28px;
  font-weight: 700;
  color: #212121;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.contact-author-title {
  font-size: 16px;
  color: #666;
  margin: 0 0 16px 0;
  font-weight: 400;
}

.contact-author-description {
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
  max-width: 600px;
}

.authot-head p {
  white-space: nowrap;
}

.contact-divider {
  height: 1px;
  background: #e0e0e0;
  margin-bottom: 32px;
}



.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  align-items: start;
}

.contact-content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: space-between;
  width: 100%;
}

.contacts-form {
  display: flex;
  min-width: 462px;
  max-width: 578px;
  padding-top: 18px;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
}

.booking-field {
  width: 100%;
}

.contact-title {
  font-size: 32px;
  font-weight: 700;
  color: #212121;
  margin: 0 0 32px 0;
  line-height: 1.2;
}

.link-lg {
  font-family: Manrope;
  font-size: 46px;
  font-style: normal;
  font-weight: 600;
  line-height: 110%;
  /* 50.6px */
  letter-spacing: -0.46px;
  transition: color 0.2s ease;
}

.link-lg:hover {
  color: var(--accent);
}

.contact-details {
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-email,
.contact-phone {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #212121;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.contact-email:hover,
.contact-phone:hover {
  color: #007bff;
}

.contact-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #212121;
  margin: 0 0 16px 0;
}

.contact-messengers,
.contact-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  margin-bottom: 28px;
}

.messenger-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.messenger-link:hover {
  color: var(--accent);
}

.messenger-link svg path {
  transition: fill 0.2s ease;
}

.messenger-link:hover svg path {
  fill: var(--accent);
}

.messenger-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #212121;
  font-weight: 500;
  transition: color 0.2s ease;
}


.contact-social {
  margin-bottom: 40px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  align-items: center;
}

.social-link {
  display: flex;
  width: 48px;
  height: 48px;
  padding: 8px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  background: var(--bg-light, #EFEFEF);
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--accent);
  color: var(--light);

  svg path {
    fill: var(--light);
  }
}

.social-disclaimer {
  width: 228px;
  color: #222;
  font-family: Manrope;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  opacity: 0.4;
}

.contact-form-section {
  background: #fafafa;
  /* padding: 40px; */
  border-radius: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #007bff;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  background: #212121;
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  align-self: flex-start;
}

.contact-submit:hover {
  background: #333;
}


.tour-hero__cta {
  width: 320px;
  max-width: 100%;
}

.tour-hero__cta .btn {
  width: 100%;
}

.tour-what {
  padding: 100px 50px 120px 50px;
}

.chip-list {
  list-style: none;
  margin: 16px 0 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: #efefef;
  font-size: 14px;
}

.tour-program {
  padding: 60px 0 122px 0;
}

.tour-pricing .container h2 {
  text-align: center;
}

/* Hide line break on desktop, show on mobile */
.tour-pricing h2 br {
  display: none;
}

.grid.grid--2 .pricing-item {
  display: flex;
  padding: 24px 40px 40px 24px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 20px;
  background: #FAFAFA;
}

.pricing-item__prose {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 136%;
}


.pricing-item__prose p:not(:has(strong)) {
  margin-top: 4px;
  margin-bottom: 18px;
}

.tour-pricing .container .grid.grid--2 {
  margin-top: 48px;
}




.tour-program .container h2 {
  text-align: center;
  margin-bottom: 107px;
}

.prose {
  margin-top: 14px;
}

.prose p {
  margin: 0 0 10px 0;
}

.prose ul {
  margin: 0 0 10px 20px;
}

.prose li {
  margin: 4px 0;
}

.tour-pricing {
  display: flex;
  padding: 80px 50px 100px 50px;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  align-self: stretch;
  background: var(--bg-light, #EFEFEF);
}

.tour-pricing .muted {
  opacity: .7;
  margin-top: 6px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tour-booking {
  padding: 24px 0 24px 0;
}

.tour-guide {
  padding: 40px 0 80px 0;
}

.guide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.tour-guide img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

.tour-gallery {
  padding: 60px 0 140px 0;
}

.tour-gallery .container h2 {
  text-align: center;
}

.booking-form input,
.booking-form select {
  display: flex !important;
  height: 64px !important;
  padding: 18px 20px !important;
  justify-content: space-between !important;
  align-items: center !important;
  align-self: stretch !important;
  border-radius: 50px !important;
  background: var(--bg-light, #EFEFEF) !important;
}

.booking-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000
}

.booking-modal.is-open {
  display: flex
}

.booking-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5)
}

.booking-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 560px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25)
}

.booking-modal__close {
  position: absolute;
  right: 16px;
  top: 16px;
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer
}

.booking-modal__title {
  margin: 0 0 24px 0;
  font-weight: 700;
  font-size: 18px
}


.booking-form input,
.booking-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bg-light);
  border-radius: 50px;
  background: #F4F4F4
}

.booking-form .btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: 50px;
  border: 0;
  background: #212121;
  color: #fff;
  cursor: pointer
}

.booking-field {
  margin-bottom: 14px;
}

.gallery-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= Tour hero new design ================= */
.tour-hero__dates {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}



.date-chip {
  display: flex;
  padding: 5px 14px 8px 14px;
  align-items: center;
  gap: 52px;
  border-radius: 50px;
  background: rgba(250, 250, 250, 0.30);
  backdrop-filter: blur(4px);
  color: var(--light);
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
}

.date-chip.home {
  background: var(--light);
  color: var(--dark);
}

.tour-hero__details {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 56px;
  margin-top: 24px;
}

.tour-detail {
  display: flex;
  flex-direction: column;
}

.tour-detail__label {
  font-size: 14px;
  opacity: 0.8;
}

.tour-detail__value {
  color: var(--light);
  font-family: Manrope;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 28.6px */
  letter-spacing: -0.22px;
}

.btn--white {
  background: var(--light);
  color: var(--dark);
  border: 1px solid var(--light);
}

.btn--white:hover {
  background: transparent;
  color: var(--light);
  border: 1px solid var(--light);
}

/* ================= Attractions grid ================= */
.tour-what-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  flex: 1 0 0;
}

.attractions-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  gap: 20px;
  align-self: stretch;
  flex-wrap: wrap;
}

.attraction-card {
  display: flex;
  padding: 6px 28px 6px 6px;
  align-items: center;
  gap: 16px;
  border-radius: 12px;
  background: var(--bg-light, #EFEFEF);
  min-width: 100px;
  max-width: 288px;
}


.attraction-card__image {
  width: 78px;
  height: 78px;
  min-width: 78px;
}

.attraction-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
  border-radius: 6px;
  background: lightgray -1.63px -69.136px / 284.659% 189.773% no-repeat;
}

.highlight-title {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  /* 25px */
  letter-spacing: -0.2px;
}

/* Program days layout */
.program-days {
  display: flex;
  flex-direction: column;
  gap: 40px;
}


.tour-hero__details {
  margin-bottom: 54px;
}

.tour-hero__cta {
  width: 100%;
}

.tour-what {
  padding: 80px 20px;
}

.tour-detail__value {
  font-size: 20px;
}

.tour-what-wrapper {
  gap: 32px;
}

.attraction-card {
  padding: 4px 12px 4px 4px;
}

.highlight-title {
  font-size: 17px;
}



.attraction-card__image {
  width: 62px;
  min-width: 62px;
  height: 62px;
  aspect-ratio: 1/1;
  margin-right: 0;
}


.program-day__grid {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 18px;
  align-items: start;
}

.program-day__image img {
  width: 574px;
  height: 317px;
  object-fit: cover;
  border-radius: 20px;
  overflow: hidden;
  flex: 1 0 0;
  align-self: stretch;
  margin-top: 11px;
}

.tour-program div button {
  width: 418px;
  justify-self: center;
  height: 63px;
}

.program-day__content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-day__description.prose {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 136%;
}

.program-day__title {
  font-family: Manrope;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.22px;
}

.program-day__title-date {
  opacity: .5;
}

.program-day__hotel {
  margin-top: auto;
  display: grid;
  gap: 4px;
}

.program-day__hotel-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #444;
  font-size: 14px;
}

.program-day__icon {
  width: 18px;
  text-align: center;
}

/* Hotel meta compact layout */
.hotel__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hotel__icon {
  display: flex;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  aspect-ratio: 1/1;
  border-radius: 8px;
  background: var(--bg-light, #EFEFEF);
  flex-shrink: 0;
}

.hotel__content {
  flex: 1;
}

.hotel__line1 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.hotel__city-nights {
  color: #f0701b;
  font-weight: 700;
  font-size: 12px;
}

.hotel__rating {
  color: var(--dark);
  opacity: 0.5;
  font-weight: 700;
  font-size: 12px;
}

.hotel__name {
  color: var(--dark, #212121);
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 136%;
  opacity: 0.8;
}

/* ===== Booking form (tour page) ===== */

.tour-booking {
  display: flex;
  height: 603px;
  padding: 100px 0px;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

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

.booking-left h2 {
  margin-bottom: 16px;
}

.booking-right {
  display: flex;
  justify-content: flex-end;
}

/* Privacy checkbox styles */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  color: inherit;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px !important;
  cursor: pointer;
  accent-color: var(--accent, #F0701B);
}

.checkbox-label span {
  flex: 1;
}

.checkbox-label a {
  color: var(--accent, #F0701B);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.checkbox-label a:hover {
  opacity: 0.8;
}

.booking-form {
  width: 100%;
  max-width: 578px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-input {
  width: 100%;
  height: 64px;
  padding: 18px 20px;
  border: none;
  border-radius: 100px;
  background: #F0F0F0;
  font-size: 16px;
}

textarea.booking-input {
  height: 195px;
  border-radius: 20px;
}

.booking-input::placeholder {
  color: #9ca3af;
}

.booking-submit {
  height: 64px;
  max-width: 100%;
}

.blog-page {
  display: flex;
  padding: 72px 0px 160px 0px;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  align-self: stretch;
}

.blog-header {
  margin-bottom: 64px;
}

.blog-title {
  margin-bottom: 40px;
  text-align: center;
}

/* Основные фильтры */
.main-filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 4px;
}

.main-filter {
  color: var(--dark, #212121);
  font-family: Manrope;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  /* 28.6px */
  letter-spacing: -0.22px;
  opacity: 0.5;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.main-filter:hover {
  opacity: 1;
}

.main-filter.active {
  color: var(--functional);
  opacity: 1;
}

.main-filter.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--functional, #125ED3);
}

/* Фильтр по странам */
.countries-filter {
  margin-bottom: 40px;
}

.countries-header {
  margin-bottom: 20px;
  text-align: center;
}

.countries-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.countries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 6px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.country-item {
  display: flex;
  padding: 3px 8px;
  align-items: center;
  gap: 7px;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.country-item:hover {
  color: var(--functional);
}

.country-item.active {
  background: rgba(31, 103, 212, 0.08);
  color: var(--functional);
}

.country-flag {
  font-size: 16px;
  display: inline-block;
  width: 20px;
  height: 14px;
  vertical-align: middle;
  line-height: 60%;
}

.country-flag svg {
  width: 20px;
  height: 14px;
  display: block;
}

.country-name {
  white-space: nowrap;
}

.country-count {
  font-family: Manrope;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  opacity: 0.5;
  display: flex;
  padding-top: 3px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.country-item.active .country-count {
  color: var(--functional);
}

/* Сетка статей */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(578px, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.article-card {
  display: flex;
  height: 435px;
  padding: 8px 8px 20px 8px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: 1 0 0;
  border-radius: 20px;
  background: var(--light);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}



.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-card:hover .article-image-card img {
  transform: scale(1.02);
}

.article-content {
  max-width: 679px;
}

.article-content-card {
  padding-left: 8px;
}

.article-content-card h3 {
  max-width: 514px;
}

.article-title-card {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 2;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #666;
}

.article-category {
  background: #f0f8ff;
  color: #007bff;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.article-image-card {
  display: flex;
  min-height: 303px;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 20px;
  overflow: hidden;
}





.no-articles {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.no-articles h3 {
  margin-bottom: 12px;
  color: #333;
}

/* Blog Article Styles - основные стили (должны быть перед медиа-запросами) */
.blog-article {
  margin: 40px 0;
}

.blog-article .container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 0px;
}

.article-main-content {
  display: flex;
  flex-direction: row;
  gap: 100px;
}

/* About page */
.about-wrapper {
  display: flex;
  padding: 70px 0px 120px 0px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.about-page .about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
}

.about-page .about-content {
  color: var(--dark);
}

.about-page .about-sidebar {
  align-self: start;
}

.about-page .about-author-card {
  background: var(--light);
  border-radius: 12px;
  padding: 16px;
}

.about-page .about-author-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.about-page .about-author-meta {
  margin-top: 12px;
}


/* About: Intro */
.intro-grid {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: start;
}

.intro-right {
  display: flex;
  min-width: 401px;
  padding-top: 9px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.intro-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  flex: 1 0 0;
}

.intro-right .portrait {
  margin: 0;
}

.intro-right .portrait img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.intro-right .portrait .name {
  margin-top: 12px;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 28.6px */
  letter-spacing: -0.22px;
}

.intro-right .portrait .role {
  opacity: .6;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 28.6px */
  letter-spacing: -0.22px;
}

.prose-xl p {
  margin: 0 0 14px 0;
  line-height: 1.6;
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: flex-start;
  /* Позволяет элементам расти в высоту по контенту */
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 343px;
  /* Больше не фиксируем высоту, высота зависит от контента */
}


.timeline-item .year {
  color: var(--accent, #F0701B);
  font-family: Manrope;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  /* 19.6px */
}

.timeline-item .text {
  color: var(--dark);
}

/* About: Trips */
.about-trips {
  display: flex;
  padding: 20px 0px 160px 0px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
  align-self: stretch;
}

.about-trips h2 {
  text-align: center;
}

.trip-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.trip-card {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  align-self: stretch;
  border-radius: 20px;
  border: 1px solid rgba(33, 33, 33, 0.20);
}

.trip-image {
  width: 475px;
  align-self: stretch;
  border-radius: 12px;
  overflow: hidden;
}

.trip-content {
  display: flex;
  padding: 20px 32px 24px 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1 0 0;
}

.trip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trip-content h3 {
  margin: 0 0 8px 0;
}

.trip-content p {
  margin: 0 0 10px 0;
}

.trip-content a {
  color: var(--accent);
  transition: color 0.2s ease;
}

.trip-content a:hover {
  color: var(--dark);
}

.trip-content .muted {
  margin-top: 24px;
}

/* About: Telegram promo */
.about-tg {
  padding: 56px 0 80px 0;
}

.tg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.tg-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tg-photos img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

/* Reviews page */
.reviews-page {
  padding: 70px 0px 120px 0px;
  }
  
  .reviews-page .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    align-self: stretch;
  }
  
  .reviews-header h1 {
    font-size: 64px;
    font-style: normal;
  font-weight: 600;
  line-height: 100%; /* 64px */
    text-align: center;
  }
  
  .reviews-grid {
    column-count: 2;
    column-gap: 24px;
    margin: 0 auto;
  }
  
  .review-card {
    display: inline-block;
    width: 100%;
    display: flex;
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    margin: 0 0 24px 0;
    border-radius: 20px;
    background: var(--light);
    break-inside: avoid;
  }
  
  .review-text {
    color: #222;
    font-size: 16px;
    line-height: 1.7;
  }
  
  .review-author {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .author-avatar {
    width: 48px;
  height: 48px;
  aspect-ratio: 1/1;
    border-radius: 8px;
    background: #e6e6e6;
  }
  
  .author-meta {
    display: flex;
    flex-direction: column;
  }
  
  .author-name {
    font-family: Manrope;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.18px;
  }
  
  .author-instagram {
    color: #9A9A9A;
    /* desktop/link sm */
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 22.4px */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    transition: color 0.2s ease;
  }
  
  .author-instagram:hover {
    color: var(--dark);
  }
  

/* ==========================================================================
   Media Queries
   ========================================================================== */

/* --- 1024px and below --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
    max-width: 1024px;
  }

  /* Header / Nav */
  .header-wrapper {
    gap: 16px;
  }

  .burger {
    display: inline-block;
    z-index: 1101;
  }

  .nav {
    position: fixed;
    display: none;
    flex-direction: column;
    gap: 28px;
    background: var(--dark);
    color: var(--light);
    padding: 93px 32px 32px 140px;
    border-radius: 20px 0px 20px 20px;
    z-index: 1100;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
  }

  .nav.is-open {
    display: flex;
    align-items: flex-end;
  }

  /* Prevent page scroll when menu is open */
  html.menu-open,
  body.menu-open {
    overflow: hidden;
  }

  .footer-top {
    display: flex;
    gap: 56px;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .navlink {
    color: var(--light);
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.4px;
    line-height: 110%;
    text-align: right;
  }

  .navlink:hover {
    color: var(--accent);
  }

  .burger.is-open span {
    background: var(--light);
  }

  .hero-wrapper {
    height: 520px;
    padding: 24px 80px 32px 24px;
  }

  .hero-wrapper p {
    width: 320px;
  }

  h1 {
    font-size: 64px;
  }

  .author {
    padding-top: 80px;
  }

  .author-wrapper {
    gap: 32px;
    flex-direction: column;
  }

  .author-text {
    max-width: 100%;
    order: 2;
    gap: 48px;
  }

  .author-text .btn {
    width: 400px;
  }

  .author-image {
    order: 1;
    height: 460px;
  }

  .author-image {
    width: 100%;
    min-width: 0;
  }

  .author-text-content p {
    max-width: 600px;
  }

  /* Tours grid strictly 2 columns on tablet */
  .calendar-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 48px;
  }

  .calendar-wrapper {
    padding: 120px 0 64px 0;
  }

  .step-text {
    margin-top: -11px;
    margin-left: 56px;
  }

  .step-item {
    display: flex;
    flex-direction: row;
    gap: 12px;
    height: 64px;
  }

  .steps-list {
    grid-template-columns: repeat(1, 1fr);
  }

  .step-title {
    max-width: 100%;
  }

  .step-dot {
    position: static;
    margin: 0;
  }

  /* Vertical steps track on tablet */
  .steps-timeline {
    position: relative;
  }

  .steps-track {
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 0;
    width: 2px;
    height: 345px;
    margin: 0;
    background: transparent;
  }

  .steps-track__bg,
  .steps-track__progress {
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
  }

  .steps-track__progress {
    width: 2px;
    height: 0;
    transition: height 600ms ease;
  }

  .telegram-carousel {
    padding: 0px 24px;
  }

  .step-item {
    align-items: center;
  }

  .step-text {
    margin: 0;
  }

  .reviews-swiper .swiper-slide {
    width: 440px !important;
  }

  /* keep FAQ two columns on tablet */
  .faq-items {
    flex-direction: row;
  }

  .faq-col {
    width: 100%;
  }

  .telegram-head {
    padding: 0 24px;
    flex-direction: column;
  }

  .telegram-carousel .embla__slide {
    width: 360px;
    margin-right: 20px;
  }

  /* Tour page styles for 1024px */
  .tour-hero {
    height: 520px;
    padding: 24px 80px 32px 24px;
  }

  .tour-hero__content {
    min-height: 100%;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Attractions grid for 1024px */
  .attractions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  /* Booking grid for 1024px */
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-right {
    justify-content: stretch;
  }
}

/* --- 991px and below --- */
@media (max-width: 991px) {
  /* FAQ and Tour Banner */
  .faq-items {
    flex-direction: column;
  }

  .tour-banner .tour-banner-wrap {
    grid-template-columns: 1fr;
  }

  .blog-article .container {
    padding: 0 32px;
  }

  .article-main-content {
    flex-direction: column;
  }

  /* Attractions grid adjustments for 768px and below */
  .attractions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .attraction-card {
    padding: 12px;
    gap: 0px;
    min-height: 70px;
  }

  .contact-author {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
    flex-direction: column-reverse;
  }

  .link-lg {
    font-size: 30px;
  }

  .faq-grid {
    column-count: 1;
  }

  .author-section {
    order: 1;
  }

  .article-content {
    order: 2;
  }

  .author-info {
    flex-direction: row !important;
    text-align: center;
    gap: 10px;
    align-items: center;
  }

  .author-avatar {
    width: 80px;
    height: 80px;
  }

  .bt-image {
    height: 320px;
  }

  .bt-image a {
    width: auto;
  }

  .bt-gallery {
    height: 420px;
  }

  .bt-gallery-aspect {
    width: 100% !important;
    height: 420px !important;
    position: static;
  }

  .gallery-item {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }

  .attraction-card__image {
    width: 50px;
    min-height: 50px;
    margin-right: 12px;
  }

  .attraction-card__title {
    font-size: 13px;
  }

  .reviews-grid {
    column-count: 1;
  }

  .article-toc {
    width: auto;
  }

  .tour-banner-wrap {
    width: auto;
    padding: 24px 24px 32px 24px;
  }

  .bt-ig-banner {
    width: 100%;
    flex-wrap: wrap;
    height: 100%;
  }

  .nav {
    padding: 93px 32px 32px 32px;
    width: 100%;
  }

  .step-dot {
    min-width: 40px;
  }

  .bt-ig {
    height: 160px;
  }

  .tour-pricing {
    display: flex;
    padding: 80px 0px 100px 0px;
  }

  /* Force price to wrap to new line starting from 900px */
  .tour-pricing h2 br {
    display: block;
  }

  /* About page styles (from 960px) */
  .about-page .about-title {
    font-size: 54px;
  }

  .about-page .about-grid {
    grid-template-columns: 1fr;
  }

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

  .trip-card {
    grid-template-columns: 1fr;
  }

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

  /* Floating Contact Button (from 768px) */
  .floating-contact {
    bottom: 16px;
    right: 16px;
  }
  
  .floating-contact__button {
    width: 56px;
    height: 56px;
  }
  
  .floating-contact__button svg {
    width: 20px;
    height: 20px;
  }
  
  .floating-contact__menu {
    bottom: 72px;
  }
  
  .floating-contact__option {
    padding: 10px 16px;
    font-size: 14px;
    min-width: 140px;
  }
  
  .floating-contact__option svg {
    width: 20px;
    height: 20px;
  }

  /* Article styles (from 768px) */
  .article-title {
    font-size: 36px;
  }

  .article-header-meta {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
  }

  .article-header {
    margin-bottom: 28px;
  }

  .article-image {
    height: 320px;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .promo-block {
    flex-direction: column;
    text-align: center;
  }

  .promo-image {
    width: 100%;
    height: 200px;
  }

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

  .related-card {
    flex-direction: column;
    text-align: center;
  }

  .related-image {
    width: 100%;
    height: 150px;
  }

  .telegram-section {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .telegram-gallery {
    justify-content: center;
  }

  .article-navigation {
    flex-direction: column;
    gap: 20px;
  }

  .nav-link {
    max-width: 100%;
  }

  .nav-next {
    text-align: left;
  }

  /* Contact page styles (from 768px) */
  .contact-page {
    padding: 32px 0 120px 0;
  }

  .contact-author-image img {
    width: 64px;
    height: 64px;
    aspect-ratio: 1/1;
  }

  .contact-author-info {
    padding-top: 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-email,
  .contact-phone {
    font-size: 18px;
  }

  .messenger-links {
    flex-direction: column;
    gap: 16px;
  }

  .contact-content-wrapper {
    gap: 56px;
  }

  .contacts-form {
    min-width: 100%;
    padding-top: 0;
  }

  .footer-menu {
    justify-items: start;
  }

  .reviews-header h2 {
    text-align: center;
  }

  .contact-social {
    margin-bottom: 0px;
  }

  /* Reviews page styles (from 992px) */
  .reviews-grid {
    column-count: 1;
    column-gap: 16px;
  }

  .review-card {
    margin-bottom: 16px;
  }
}

/* --- 640px and below --- */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
    max-width: 640px;
  }

  .trip-card {
    flex-direction: column;
  }

  .trip-image {
    width: 100%;
    height: 320px;
  }

  .trip-content {
    display: flex;
    padding: 0 16px 24px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
  }

  .trip-content .muted {
    margin-top: 0px;
  }

  .faq-article .container {
    padding: 40px 20px 120px 20px;
  }

  .timeline-item {
    width: 100%;
    max-width: 100%;
  }

  .timeline {
    gap: 20px;
  }

  .intro-right {
    width: 100%;
    min-width: 0;
  }

  .intro-right .portrait {
    width: 100%;
  }

  .intro-right .portrait figcaption {
    width: 100%;
  }

  .intro-right .portrait .name {
    font-size: 20px;
  }

  .intro-right .portrait .role {
    font-size: 20px;
  }

  .about-wrapper {
    padding: 50px 0 100px 0;
  }

  .faq-card {
    display: flex;
    padding: 24px 28px 28px 20px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    align-self: stretch;
  }
  
  /* FAQ page - static cards */
  .faq-card .faq-answer {
    padding: 0 20px 16px 20px;
    opacity: 1;
  }
  
  /* Homepage FAQ - with animations */
  .faq-item .faq-answer {
    padding: 0 20px;
    height: 0;
    transition: height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
  }
  
  .faq-item.is-open .faq-answer {
    padding: 0 20px 16px 20px;
    opacity: 1;
  }

  .intro-grid {
    flex-direction: column;
    gap: 40px;
  }

  .faq-head {
    display: flex;
    align-items: center;
    gap: 6px;
    align-self: stretch;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 20px;
  }

  .tour-booking {
    height: auto;
  }

  /* Header / Nav */
  .header-wrapper {
    flex-wrap: wrap;
    gap: 12px;
  }



  .logo {
    width: 79px;
    height: 50px;
  }

  .navlink {
    font-size: 28px;
  }

  .hero-wrapper {
    height: 620px;
    padding: 20px 20px 24px 20px;
  }

  .main-filters {
    flex-direction: row;
    align-items: center;
  }

  .main-filter {
    font-size: 20px;
  }

  .countries-list {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .country-item {
    flex-shrink: 0;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-title {
    font-size: 54px;
  }

  .blog-article .container {
    padding: 0 20px;
  }

  /* FAQ page */
  .faq-article .article-title {
    text-align: center;
    font-size: 48px;
    margin: 32px 0 24px;
  }





  .faq-icon svg {
    width: 20px;
    height: 20px;
  }

  .faq-content h3 {
    margin: 8px 0 10px;
    font-size: 18px;
  }

  /* FAQ page - static cards */
  .faq-card .faq-answer {
    color: var(--dark);
    opacity: 0.85;
    padding: 0 16px 16px 16px;
  }
  
  /* Homepage FAQ - with animations */
  .faq-item .faq-answer {
    color: var(--dark);
    opacity: 0;
    padding: 0 16px;
    height: 0;
    transition: height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
  }
  
  .faq-item.is-open .faq-answer {
    padding: 0 16px 16px 16px;
    opacity: 1;
  }
  
  .faq-card {
    padding: 20px 16px;
    margin-bottom: 16px;
  }
  
  .faq-head {
    margin-bottom: 8px;
  }
  
  .faq-head h3 {
    font-size: 18px;
    line-height: 1.4;
  }

  .faq-grid {
    column-count: 1;
    column-gap: 16px;
  }

  .hero-wrapper p {
    max-width: 300px;
  }

  .btn-chip {
    width: 100%;
  }

  .hero-content {
    gap: 32px;
  }

  .author {
    padding-top: 40px;
  }

  .author-wrapper {
    flex-direction: column;
  }

  .author-text {
    max-width: none;
  }

  .author-image {
    width: 100%;
    min-width: 0;
    height: 320px;
  }

  .author-text .btn {
    width: 100%;
  }

  .calendar-items {
    grid-template-columns: 1fr;
    row-gap: 56px;
  }

  .calendar-item-image {
    min-height: 220px;
  }

  .calendar-item-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    min-width: 0;
  }

  .btn {
    height: 52px;
    min-width: 0;
  }

  .telegram-carousel {
    padding: 0px 16px;
  }

  .calendar-wrapper {
    padding: 64px 0 48px 0;
    gap: 32px;
  }

  .steps {
    padding: 48px 0 72px 0;
  }

  .steps-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reviews {
    padding: 60px 0 80px 0;
  }

  .reviews-header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .reviews-header .btn {
    width: 100%;
  }

  .reviews-swiper .swiper-slide {
    width: calc(100vw - 48px) !important;
  }

  .faq-wrapper {
    padding: 80px 0;
  }

  .telegram-head {
    padding: 0 16px;
  }

  .telegram-button .btn {
    width: 100%;
  }

  .telegram-channel {
    padding: 24px 0 120px 0;
  }

  .telegram-carousel .embla__slide {
    width: 260px;
    margin-right: 16px;
  }

  .footer-col.footer-left {
    width: 100%;
  }

  .footer-col.footer-right .link-bg {
    text-align: start;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 56px;
  }

  .footer-sub-form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-sub-form .footer-input {
    width: 100%;
  }

  .footer-input {
    width: 100%;
  }

  .tour-program div button {
    width: 100%;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  /* Tour page styles for 640px */
  .tour-hero {
    height: 620px;
    padding: 24px 20px 28px 20px;
  }

  .tour-hero__content {
    min-height: 100%;
  }

  .contact-content-wrapper {
    flex-direction: column !important;
  }

  .tour-program .container h2 {
    text-align: center;
    margin-bottom: 32px;
  }

  .tour-pricing {
    padding: 80px 0px 100px 0px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Program day grid for 640px */
  .program-day__grid {
    grid-template-columns: 1fr;
  }

  .program-day__image img {
    max-height: none;
  }

  /* Styles from 520px breakpoint */
  .calendar-item-image {
    aspect-ratio: 16/9;
  }

  /* Styles from 480px breakpoint */
  .attractions-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Contact page styles (from 480px) */
  .contact-page {
    padding: 20px 0;
  }

  .contact-author {
    margin-bottom: 24px;
  }

  .contact-divider {
    margin: 24px 0;
  }

  .contact-content {
    gap: 24px;
  }

  .contact-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .contact-details {
    margin-bottom: 24px;
  }

  .contact-messengers,
  .contact-social {
    margin-bottom: 24px;
  }

  .contact-form {
    gap: 16px;
  }

  .form-field input,
  .form-field textarea {
    padding: 12px;
    font-size: 14px;
  }

  .contact-submit {
    padding: 12px 24px;
    font-size: 14px;
  }
}