@font-face {
  font-family: "Ahellya";
  src: url("../fonts/ahellya-italic.woff2") format("woff2"),
    url("../fonts/DoulosSIL-Regular.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Doulos";
  src: url("../fonts/DoulosSIL-Regular.woff2") format("woff2"),
    url("../fonts/DoulosSIL-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "aantiquetitulgr";
  src: url("../fonts/aantiquetitulgr.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Global */
:root {
  --font-text: "Manrope", sans-serif;
  --font-title: "Doulos", serif;
  --t-headline-font: "aantiquetitulgr", serif;
  --container-sm: 960px;
  --container-md: 1280px;
  --container-lg: 1480px;
  --color-primary: #719ac8;
  --color-dark: #1e3054;
  --pad-x: 20px;
  --header-height: 78px;
  --text-light: #ffffff;
}
@media (max-width: 768px) {
  :root {
    --pad-x: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --pad-x: 14px;
  }
}
html {
  scroll-behavior: smooth;
}

/* Standard content pages */
.content-page {
  background: #f5f7fb;
}

.content-page__section {
  padding: calc(var(--header-height) + 72px) 0 96px;
}

.content-page__container {
  max-width: 1080px;
}

.content-page__article {
  padding: 48px 56px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(30, 48, 84, 0.08);
}

.content-page__header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dfe7f1;
}

.content-page__title {
  margin: 0;
  font-family: var(--t-headline-font);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  color: var(--color-dark);
}

.content-page__content {
  color: #33456b;
  font-size: 16px;
  line-height: 1.75;
}

.content-page__content > *:first-child {
  margin-top: 0;
}

.content-page__content > *:last-child {
  margin-bottom: 0;
}

.content-page__content p,
.content-page__content ul,
.content-page__content ol,
.content-page__content blockquote,
.content-page__content table,
.content-page__content .wp-block-group {
  margin: 0 0 20px;
}

.content-page__content h2,
.content-page__content h3,
.content-page__content h4 {
  margin: 36px 0 16px;
  color: var(--color-dark);
  line-height: 1.25;
}

.content-page__content h2 {
  font-size: 28px;
}

.content-page__content h3 {
  font-size: 22px;
}

.content-page__content h4 {
  font-size: 18px;
}

.content-page__content ul,
.content-page__content ol {
  padding-left: 24px;
}

.content-page__content ul li {
  list-style: disc;
}

.content-page__content ol li {
  list-style: decimal;
}

.content-page__content li + li {
  margin-top: 8px;
}

.content-page__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-page__content a:hover {
  color: var(--color-dark);
}

.content-page__content blockquote {
  padding: 18px 22px;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 12px 12px 0;
  background: #f5f7fb;
}

.content-page__content table {
  width: 100%;
  border-collapse: collapse;
}

.content-page__content th,
.content-page__content td {
  padding: 12px 14px;
  border: 1px solid #dfe7f1;
  text-align: left;
  vertical-align: top;
}

.content-page__content th {
  background: #edf2f9;
  color: var(--color-dark);
}

.content-page__content img {
  max-width: 100%;
  height: auto;
}

.content-page__content hr {
  margin: 32px 0;
  border-top: 1px solid #dfe7f1;
}

.content-page__pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .content-page__section {
    padding: calc(var(--header-height) + 40px) 0 64px;
  }

  .content-page__article {
    padding: 32px 24px;
    border-radius: 18px;
  }

  .content-page__header {
    margin-bottom: 28px;
    padding-bottom: 20px;
  }

  .content-page__content {
    font-size: 15px;
    line-height: 1.7;
  }

  .content-page__content h2 {
    font-size: 24px;
  }

  .content-page__content h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .content-page__article {
    padding: 26px 18px;
  }

  .content-page__content table {
    display: block;
    overflow-x: auto;
  }
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  flex-direction: column;
  background-color: #e8eaee;
  margin: 0;
  font-family: var(--font-text);
  color: var(--color-dark);
}
.site-header,
.site-footer {
  flex-shrink: 0; /* header и footer не сжимаются */
}

main {
  flex: 1;
}
body.admin-bar .site-header {
  top: 32px;
}
body.modal-open {
  overflow: hidden;
}
/* Мобильная админ-панель */
@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
.container {
  width: 100%;
  max-width: var(--container-md);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.container-sm {
  width: 100%;
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.container-lg {
  width: 100%;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  margin: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  transition: all 0.25s ease;
}
.button:hover {
  background: var(--color-dark);
  color: #fff;
}
/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: transparent;
  transition: background 0.35s ease, backdrop-filter 0.35s ease,
    box-shadow 0.35s ease, transform 0.35s ease;
}

.site-header__inner {
  max-width: 1600px;
  margin: 0 auto;

  height: 96px;

  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  transition: height 0.35s ease, padding 0.35s ease;
}
.site-header.scrolled {
  background: rgba(232, 234, 238, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.site-header.scrolled .site-header__inner {
  height: 78px;
}
.site-header.scrolled .site-header__burger {
  border: 1px solid var(--color-dark);
  opacity: 0.7;
}

.site-header.scrolled .site-header__burger span {
  background: var(--color-dark);
}

.site-header.scrolled .sub-menu {
  opacity: 1;
}

.site-header__left,
.site-header__nav,
.site-header__right {
  display: flex;
  align-items: center;
}
.site-header__logo img,
.custom-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;

  transition: max-width 0.35s ease, opacity 0.25s ease, transform 0.35s ease;
}
.site-header.scrolled .site-header__logo img {
  max-width: 170px;
}
.site-header__nav {
  flex: 1;
  justify-content: center;
}

.header-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 0;
  margin: 0;
}

.header-menu a {
  font-family: var(--font-text);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #fff;
  transition: all 0.4s ease;
}
.site-header.scrolled .header-menu a {
  color: var(--color-dark);
}
.header-menu > li > a:hover {
  color: var(--color-primary);
}
.site-header.scrolled .header-menu > li > a:hover {
  color: var(--color-primary);
}

/* Активная страница */
.header-menu .current-menu-item > a,
.header-menu .current_page_item > a,
.header-menu .current-menu-ancestor > a {
  color: var(--color-primary);
}
.site-header.scrolled .header-menu .current-menu-item > a,
.site-header.scrolled .header-menu .current_page_item > a {
  color: var(--color-primary);
}
/* Подчеркивание активного */
.header-menu .current-menu-item > a::after,
.header-menu .current_page_item > a::after,
.header-menu .current-menu-ancestor > a::after {
  width: 100%;
  background: var(--color-primary);
}

.header-menu > li > .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);

  min-width: 240px;
  padding: 10px 0;
  margin: 0;

  list-style: none;

  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);

  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.6);

  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 200;
}
.header-menu > li {
  position: relative;
  display: flex;
  align-items: center;
}
.header-menu > li > .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 200;
}
.header-menu > li.menu-item-has-children:not(.menu-mega):hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

.header-menu .sub-menu li a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  border-radius: 10px;
  margin: 0 8px;
  transition: all 0.2s ease;
}

.header-menu .sub-menu li a:hover {
  background: #f4f6f8;
  color: #000;
  padding-left: 24px;
}

.header-menu .menu-item-has-children > a {
  padding-right: 16px;
}

.header-menu > li.menu-item-has-children > a::before {
  content: "▼";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  opacity: 0.8;
  transition: transform 0.25s ease;
}

.header-menu > li.menu-item-has-children:hover > a::before {
  transform: translateY(-50%) rotate(180deg);
}
/* MEGA MENU */
/* Родитель */
.header-menu > li.menu-mega {
  position: relative;
}

/* Большой dropdown */
.header-menu > li.menu-mega > .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);

  width: 620px;
  padding: 26px;
  margin: 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;

  list-style: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 300;
}
/* открыть только при ховере на "Туры" */
.header-menu > li.menu-mega > a:hover + .sub-menu,
.header-menu > li.menu-mega > .sub-menu:hover,
.header-menu > li.menu-mega:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.header-menu > li.menu-mega > a {
  position: relative;
}

.header-menu > li.menu-mega > a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 20px;
  background: transparent;
}
.header-menu > li.menu-mega > .sub-menu > li > a {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #1e3053;
}

.header-menu > li.menu-mega .sub-menu .sub-menu {
  position: static;
  top: 0;
  left: 100%;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  background: transparent;
}

.header-menu > li.menu-mega .sub-menu .sub-menu li {
  list-style: none;
}

.header-menu > li.menu-mega .sub-menu .sub-menu li a {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  color: #33456b;
  transition: 0.2s ease;
}

.header-menu > li.menu-mega .sub-menu .sub-menu li a:hover {
  color: var(--color-primary);
  padding-left: 6px;
}

@media (max-width: 991px) {
  .header-menu > li.menu-mega > .sub-menu {
    position: static;
    width: 100%;
    transform: none;
    grid-template-columns: 1fr;
    padding: 14px;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .header-menu > li.menu-mega.is-open > .sub-menu {
    display: grid;
  }
}
/* END */
.site-header__right {
  gap: 14px;
}

.site-socials {
  display: flex;
  gap: 10px;
}

.site-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.social-icon {
  width: 40px;
  height: 40px;
  color: currentColor;
  transition: all 0.25s ease;
}

.site-socials a:hover .social-icon {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.site-header__btn {
  min-height: 46px;
  padding: 0 18px;
  font-size: 14px;
}

.site-header__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

.site-header__burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.site-header__burger span + span {
  margin-top: 5px;
}

@media (max-width: 1378px) {
  .site-header__logo img,
  .custom-logo {
    max-width: 170px;
  }
  .social-icon {
    width: 35px;
    height: 35px;
  }
  .site-header__btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }
}
@media (max-width: 1310px) {
  .header-menu a {
    font-size: 14px;
  }
}
@media (max-width: 1240px) {
  .site-header__nav {
    display: none;
  }
  .site-header__burger {
    display: inline-block;
  }
}
@media (max-width: 1024px) {
  .site-header__right > .site-socials {
    display: none;
  }

  .site-header__btn {
    padding: 0 14px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .site-header__inner {
    padding: 14px 16px;
    min-height: 76px;
  }

  .site-header__btn {
    display: none;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;

  background: linear-gradient(rgba(12, 18, 28, 0.78), rgba(12, 18, 28, 0.2)),
    url("../img/mobile-menu-bg.jpg") center/cover no-repeat;

  backdrop-filter: blur(8px);

  color: #fff;

  display: flex;
  flex-direction: column;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: 0.35s ease;
}

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
}

.mobile-menu__title {
  font-size: 18px;
  font-weight: 700;
}

.mobile-menu__close {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu__body {
  flex: 1;
  overflow: auto;
  padding: 10px 20px 30px;
}

.mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.mobile-nav .sub-menu {
  list-style: none;
  margin: 0 0 10px;
  padding: 0 0 0 14px;
}

.mobile-nav .sub-menu a {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.85;
  padding: 10px 0;
}
.mobile-nav .sub-menu a:hover {
  color: var(--color-primary);
}
.mobile-menu__bottom {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__btn {
  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 50px;
  border-radius: 10px;

  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

.mobile-menu__btn:hover {
  background: #fff;
  color: var(--color-dark);
}
.mobile-menu__socials {
  margin-top: 22px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

/* Родители с submenu */
.mobile-nav .menu-item-has-children > a {
  position: relative;
  padding-right: 30px;
}

/* стрелка */
.mobile-nav .menu-item-has-children > a::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  transition: 0.25s ease;
}

/* submenu скрыт */
.mobile-nav .sub-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-left: 14px;
  transition: all 0.3s ease;
}

/* открыт */
.mobile-nav .menu-item-open > .sub-menu {
  max-height: none;
  overflow: visible;
  opacity: 1;
  margin-bottom: 10px;
}

/* стрелка меняется */
.mobile-nav .menu-item-open > a::after {
  content: "−";
  color: var(--color-primary);
}

.mobile-nav .menu-item-has-children {
  position: relative;
}

.mobile-nav .menu-item-has-children > a {
  padding-right: 46px;
}

.mobile-nav .menu-item-has-children > a::after {
  content: none;
}

.mobile-submenu-toggle {
  position: absolute;
  right: 0;
  top: 7px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}

.mobile-submenu-toggle:hover,
.mobile-nav .menu-item-open > .mobile-submenu-toggle {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
}

.hero__slider,
.hero__slide {
  min-height: 100vh;
}

.hero__slide {
  position: relative;
  display: flex;
  align-items: center;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 15, 22, 0.62) 0%,
    rgba(10, 15, 22, 0.35) 45%,
    rgba(10, 15, 22, 0.2) 100%
  );
}

.hero .container-lg {
  position: relative;
  z-index: 2;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding-top: 280px;
}

.hero__content h1 {
  font-family: var(--t-headline-font);
  font-size: 62px;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__content p {
  max-width: 491px;
  text-align: center;
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero__btn {
  min-height: 58px;
  padding: 0 70px;
  font-size: 16px;
}

.hero__quote {
  position: absolute;
  right: -10%;
  bottom: -60%;

  max-width: 450px;

  color: #fff;
  font-size: 14px;
  line-height: 1.6;

  padding: 20px 24px;
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
@media (max-width: 1800px) {
  .hero__quote {
    right: 1%;
    bottom: -57%;
  }
}

@media (max-width: 992px) {
  .hero__content h1 {
    font-size: 52px;
  }

  .hero__content p {
    font-size: 18px;
  }

  .hero__quote {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 576px) {
  .hero__content {
    padding-top: 200px;
  }

  .hero__content h1 {
    font-size: 36px;
  }

  .hero__content p {
    font-size: 16px;
  }

  .hero__btn {
    width: 100%;
  }

  .hero__quote {
    margin-top: 24px;
    font-size: 14px;
  }
}
.hero__slider {
  position: relative;
}

.hero__prev,
.hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 52px;
  height: 52px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);

  color: #fff;
  font-size: 30px;
  line-height: 52px;
  text-align: center;
  cursor: pointer;

  transition: 0.25s ease;
}

.hero__prev {
  left: 24px;
}

.hero__next {
  right: 24px;
}

.hero__prev:hover,
.hero__next:hover {
  background: var(--color-primary);
}

@media (max-width: 768px) {
  .hero__prev,
  .hero__next {
    display: none;
  }
}

/* section popular tours */
.container-wide {
  width: 100%;
  max-width: 100%;
  padding: 0 24px;
  margin: 0 auto;
}

.popular-tours {
  padding: 80px 0;
  background: #f5f7fb;
}

.section-head {
  margin-bottom: 28px;
}

.section-title {
  margin: 0 auto;
  font-family: var(--font-title);
  font-size: 41px;
  line-height: 1.05;
  color: #1e3053;
  text-align: center;
}

.popular-tours__slider,
.related-tours__slider {
  position: relative;
  overflow-x: clip !important;
  overflow-y: visible !important;
}

.popular-tours__slider .swiper-slide,
.related-tours__slider .swiper-slide {
  height: auto;
}

.popular-tours__slider .swiper-slide:hover,
.related-tours__slider .swiper-slide:hover {
  z-index: 2;
}

.tour-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: #fff;
  overflow: visible;
  height: 100%;
}

.tour-card__image {
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.tour-card__image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.tour-card__tags {
  position: absolute;
  max-width: 400px !important;
  top: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 2;
  max-width: calc(100% - 32px);
}

.tour-card__tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 12px;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.tour-card__difficulty {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  color: #fff;
}
.tour-row-card .tour-card__difficulty {
  position: relative;
  color: var(--color-primary);
}
/* ШКАЛА */
.tour-card__difficulty-bar {
  position: relative;
  width: 140px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  overflow: visible;
}
.tour-row-card .tour-card__difficulty-bar {
  background: #e8eaee;
}

.tour-row-card .tour-card__difficulty-bar::before,
.tour-row-card .tour-card__difficulty-bar::after {
  color: var(--color-primary);
}
/* заполняемая часть */
.tour-card__difficulty-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--color-primary);
}
.tour-card__difficulty-bar span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: min(calc(var(--level) * 10%), 100%);
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0d99ff;
}

/* цифра сложности над шкалой */
.tour-card__difficulty-bar::before {
  content: attr(data-level);
  position: absolute;
  top: -18px;
  left: calc(var(--level, 0) * 10% - 6px);
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
}

/* максимум справа */
.tour-card__difficulty-bar::after {
  content: "10";
  position: absolute;
  right: -8px;
  top: -18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

/* КРУЖОК С ВОПРОСОМ */
.tour-card__difficulty-value {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #1e3053;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  cursor: help;
  flex-shrink: 0;
}

.tour-card__difficulty-value::before {
  content: "?";
}
.tour-row-card .tour-card__difficulty-value {
  background: var(--color-primary);
  color: #ffffff;
}
/* TOOLTIP */
.tour-card__tooltip {
  position: absolute;
  left: 0;
  bottom: 36px;
  width: 230px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  color: #1e3053;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s ease;
  z-index: 5;
}

.tour-card__difficulty:hover .tour-card__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tour-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.tour-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.tour-card__title {
  margin: 0;
  font-family: "Ahellya", sans-serif;
  font-size: 26px;
  line-height: 1.06;
  color: #1e3053;
  max-width: 70%;
}

.tour-card__dates {
  position: relative;
  flex-shrink: 0;
}

.tour-card__dates-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #719ac8;
  color: #719ac8;
  font-size: 14px;
  font-weight: 600;
  cursor: default;
  white-space: nowrap;
}

.tour-card__dates-popup {
  position: absolute;
  right: 0;
  top: 48px;
  width: min(340px, calc(100vw - 32px));
  max-height: min(420px, calc(100vh - 120px));
  overflow: hidden;
  padding: 0;
  border-radius: 14px;
  background: #fff;
  color: #1e3053;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease;
  z-index: 10;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.tour-dates-popup__scroller {
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #bfd0e3 #edf2f7;
  -webkit-overflow-scrolling: touch;
}

.tour-card__dates-popup .tour-dates-popup__scroller {
  padding: 14px 16px;
}

.tour-dates-popup__scroller::-webkit-scrollbar {
  width: 6px;
}

.tour-dates-popup__scroller::-webkit-scrollbar-track {
  margin: 10px 0;
  background: #edf2f7;
  border-radius: 999px;
}

.tour-dates-popup__scroller::-webkit-scrollbar-thumb {
  background: #bfd0e3;
  border-radius: 999px;
}

.tour-dates-popup__scroller::-webkit-scrollbar-thumb:hover {
  background: #9fb6cf;
}

.tour-dates-popup__scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .tour-dates-popup__scroller {
    scrollbar-width: none;
  }

  .tour-dates-popup__scroller::-webkit-scrollbar {
    display: none;
  }

  .js-dates-popup.is-scrollable > .tour-dates-popup__scrollbar {
    position: absolute;
    top: 10px;
    right: 5px;
    bottom: 10px;
    z-index: 2;
    display: block;
    width: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf2f7;
    pointer-events: none;
  }

  .tour-dates-popup__scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 28px;
    border-radius: inherit;
    background: #8eafd2;
    box-shadow: 0 2px 8px rgba(30, 48, 83, 0.18);
    transform: translateY(0);
    will-change: transform;
  }
}

.tour-card__date-item--text p,
.tour-row-card__date-item--text p {
  margin: 0;
}

.tour-card__date-item--text p + p,
.tour-row-card__date-item--text p + p {
  margin-top: 8px;
}

.tour-card__dates:hover .tour-card__dates-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tour-card__text {
  flex: 1;
  margin: 0 0 20px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #33456b;
}

.tour-card__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  margin-top: auto;
}

.tour-card__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  align-self: normal;
}

.tour-card__days {
  font-size: 16px;
  color: #1e3053;
  font-family: "Manrope", sans-serif;
}
.tour-card__price-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tour-card__price-old {
  font-size: 18px;
  line-height: 1;
  color: #9aa3b2;
  text-decoration: line-through;
}

.tour-card__price {
  font-family: var(--t-headline-font);
  font-size: 26px;
  font-weight: 500;
  color: #099b00;
  font-family: "Manrope", sans-serif;
}

.tour-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

.tour-card__more,
.tour-card__book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
  text-decoration: none;
}

.tour-card__more {
  background: #edf2f9;
  color: #719ac8;
}

.tour-card__more:hover {
  background: #719ac8;
  color: #fff;
}

.tour-card__book {
  background: #719ac8;
  color: #fff;
}

.tour-card__book:hover {
  background: #1e3053;
  color: #fff;
}

.popular-tours__prev,
.popular-tours__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1e3053;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: 0.25s ease;
}

.popular-tours__prev:hover,
.popular-tours__next:hover {
  background: #719ac8;
  color: #fff;
}

.popular-tours__prev {
  left: 6px;
}

.popular-tours__next {
  right: 6px;
}

@media (max-width: 1200px) {
  .section-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .popular-tours {
    padding: 35px 0;
  }

  .container-wide {
    padding: 0 16px;
  }

  .section-title {
    font-size: 34px;
  }

  .tour-card__image img {
    height: 300px;
  }

  .tour-card__body {
    padding: 18px;
  }

  .tour-card__head {
    flex-direction: column;
  }

  .tour-card__title {
    max-width: 100%;
    font-size: 22px;
  }
  .tour-card__dates-popup {
    right: auto;
    left: 0;
    width: min(340px, calc(100vw - 68px));
  }
  .tour-card__bottom {
    grid-template-columns: 1fr;
  }

  .tour-card__actions {
    min-width: 100%;
  }

  .popular-tours__prev,
  .popular-tours__next {
    display: none;
  }
}

/* section Activity Formats */

.activity-formats {
  padding: 80px 0 0 0;
}

.activity-format {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.activity-format.reverse {
  justify-content: start;
  flex-direction: row-reverse;
}

.activity-format__slider {
  width: 570px;
  height: 310px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.activity-format__slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.activity-format__img {
  transition: opacity 0.35s ease;
}
.activity-format__dots {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.activity-format__dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e3054;
  opacity: 0.2;
  transition: 0.3s ease;
  cursor: pointer;
}

.activity-format__dots .dot.active {
  opacity: 1;
}
.activity-format__content {
  flex: 1;
  align-self: flex-start;
  padding-top: 10px;
  max-width: 520px;
}

.activity-format__content h3 {
  font-family: "Ahellya", sans-serif;
  letter-spacing: -0.6px;
  font-weight: 300;
  font-size: 26px;
  margin-bottom: 16px;
}

.activity-format__content p {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  color: #33456b;
}

/* MEDIA */
/* section Activity Formats */
/* Tablet */
@media (max-width: 992px) {
  .activity-format {
    gap: 32px;
  }

  .activity-format__slider {
    width: 480px;
    height: 270px;
  }

  .activity-format__content h3 {
    font-size: 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .activity-formats {
    padding: 35px 0 0 0;
  }

  .activity-format,
  .activity-format.reverse {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 56px;
  }

  .activity-format__slider {
    width: 100%;
    height: 230px;
    border-radius: 18px;
    touch-action: pan-y;
  }

  .activity-format__content {
    max-width: 100%;
    width: 100%;
    padding-top: 0;
    text-align: center;
  }
  .activity-format__dots {
    margin-bottom: 14px;
    gap: 8px;
    justify-content: center;
  }

  .activity-format__dots .dot {
    width: 8px;
    height: 8px;
  }

  .activity-format__content h3 {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .activity-format__content p {
    font-size: 15px;
    line-height: 1.55;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .activity-format__slider {
    height: 210px;
    border-radius: 16px;
  }

  .activity-format__content h3 {
    font-size: 20px;
  }

  .activity-format__content p {
    font-size: 14px;
  }
}

/* section advantages */

.advantages {
  padding: 0 0 80px 0;
}

.advantages__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 410px;
  gap: 24px;
  align-items: start;
}
.advantages__title span {
  font-size: 41px;
  font-family: "Ahellya", serif;
  font-weight: 300;
}
.advantages__col--text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.adv-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 390px;
  min-height: 136px;
  padding: 22px 20px;
  border-radius: 20px;
  background: #f2f2f5;
  box-sizing: border-box;
}

.adv-card__title {
  margin: 0 0 8px;
  font-family: "Ahellya", sans-serif;
  font-size: 26px;
  line-height: 1.2;
  color: #1e3053;
  font-weight: 300;
  letter-spacing: -0.3px;
}

.adv-card__text {
  margin: 0;
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.5;
  color: #33456b;
}

.adv-promo {
  position: relative;

  width: 100%;
  max-width: 340px;
  min-height: 292px;

  border-radius: 20px;
  overflow: hidden;

  background-position: 58.637% 79.987%;
  background-size: 422.5%;
  background-repeat: no-repeat;

  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.adv-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.38),
    rgba(0, 0, 0, 0.08),
    transparent
  );
  z-index: 1;
}

.adv-promo__btn {
  position: relative;
  z-index: 2;

  width: 100%;
  min-height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: var(--color-primary);
  color: #ffffff;

  transition: 0.25s ease;
}

.adv-promo__btn:hover {
  background: var(--color-dark);
  color: #ffffff;
}

@media (max-width: 1200px) {
  .advantages__grid {
    grid-template-columns: 1fr 1fr;
  }

  .advantages__col--promo {
    grid-column: 1 / -1;
  }

  .adv-promo {
    background-size: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .advantages {
    padding: 0 0 35px 0;
  }
  .advantages__title span {
    font-size: 34px;
  }
  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .advantages__col--text {
    gap: 16px;
  }

  .adv-card {
    max-width: 100%;
    min-height: auto;
    padding: 18px 18px;
  }

  .adv-card__title {
    font-size: 20px;
  }

  .adv-promo {
    background-size: 170%;
    max-width: 100%;
    min-height: 260px;
  }

  .adv-promo img {
    height: 220px;
  }

  .adv-promo__btn {
    min-height: 52px;
    margin: 0 14px 14px;
  }
}
@media (max-width: 468px) {
  .advantages__title span {
    font-size: 28px;
  }
}

/* section steps */
.care-stage {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.care-stage__bg {
  display: none;
}

.care-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 35, 0.35);
  z-index: 1;
}

.care-stage .container-lg {
  position: relative;
  z-index: 2;
}

.care-stage__title {
  margin: 0 auto;
  max-width: 600px;
  color: #fff;
}

.care-stage__title span {
  font-family: "Ahellya", serif;
  font-weight: 300;
}

.care-stage__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 32px;
  margin-bottom: 50px;
}

.care-card {
  min-height: 256px;
  max-width: 229px;
  padding: 20px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  color: #1e3053;
  box-sizing: border-box;
}

.care-card__label {
  margin-bottom: 22px;
  font-size: 14px;
  font-family: "Ahellya", serif;
  opacity: 0.5;
}

.care-card__title {
  margin: 0 0 10px;
  font-family: "Ahellya", serif;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 300;
  color: #1e3053;
}

.care-card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #33456b;
}
.care__btn {
  display: flex;
  margin: 0 auto;
  max-width: 309px;
  min-height: 55px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  color: var(--color-primary);
  transition: 0.2s ease;
}
.care__btn:hover {
  background: var(--color-dark);
  color: #ffffff;
}
@media (max-width: 1200px) {
  .care-stage__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .care-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .care-stage {
    padding: 35px 0;
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
  }

  .care-stage__grid {
    grid-template-columns: 1fr;
  }

  .care-card {
    min-height: auto;
    max-width: 100%;
  }
}

/* --------------------------------------INFO BLOCK--------------------------------------------------*/
.info-block {
  padding: 40px 0;
}

.info-tabs__nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.info-tabs__btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #719ac8;
  background: #fff;
  color: #719ac8;
  cursor: pointer;
  transition: 0.25s ease;
}

.info-tabs__btn.active,
.info-tabs__btn:hover {
  background: #719ac8;
  color: #fff;
}

.info-tabs__panel {
  display: none;
  gap: 24px;
}

.info-tabs__panel.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.info-card {
  border-radius: 20px;
  overflow: hidden;
  background: #f2f2f5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.info-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.info-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-card__body {
  padding: 18px;
}

.info-card__title {
  margin: 0 0 10px;
  font-family: "Doulos", serif;
  font-size: 24px;
  line-height: 1.15;
  color: #1e3053;
}

.info-card__title a {
  color: inherit;
}

.info-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: #33456b;
}

.info-block__footer {
  margin-top: 28px;
}

.info-block__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  background: #719ac8;
  color: #fff;
}

.info-block__btn:hover {
  background: #1e3053;
}
@media (max-width: 1100px) {
  .info-tabs__panel.active {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-card__title {
    font-size: 22px;
  }
}

/* планшет */
@media (max-width: 768px) {
  .info-block {
    padding: 35px 0;
  }

  .info-tabs__nav {
    gap: 10px;
    margin-bottom: 22px;
  }

  .info-tabs__btn {
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }

  .info-tabs__panel.active {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .info-card__body {
    padding: 16px;
  }

  .info-card__title {
    font-size: 21px;
    margin-bottom: 8px;
  }

  .info-card__text {
    font-size: 14px;
    line-height: 1.5;
  }

  .info-block__footer {
    margin-top: 22px;
  }

  .info-block__btn {
    width: 100%;
    min-height: 50px;
  }
}

/* телефон */
@media (max-width: 480px) {
  .info-tabs__nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .info-tabs__btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  .info-tabs__panel {
    gap: 16px;
  }

  .info-card {
    border-radius: 16px;
  }

  .info-card__image {
    aspect-ratio: 16 / 11;
  }

  .info-card__body {
    padding: 14px;
  }

  .info-card__title {
    font-size: 18px;
    line-height: 1.2;
  }

  .info-card__text {
    font-size: 14px;
  }

  .info-block__btn {
    font-size: 14px;
    padding: 0 18px;
  }
}
/* section reviews */
.reviews-section {
  padding: 40px 0;
}

.reviews-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.reviews-section__nav {
  display: flex;
  gap: 12px;
}

.reviews-section__prev,
.reviews-section__next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: #f2f2f5;
  color: var(--color-dark);
  cursor: pointer;
  transition: 0.25s ease;
}

.reviews-section__prev:hover,
.reviews-section__next:hover {
  background: var(--color-primary);
  color: #fff;
}

.reviews-slider {
  overflow: hidden;
}
.reviews-slider .swiper-slide {
  width: auto !important;
}
.review-card {
  position: relative;
  width: 440px;
  min-height: 460px;
  padding: 18px;
  border-radius: 20px;
  background: #f2f2f5;
  cursor: pointer;
  overflow: hidden;
}

.review-card__top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.review-card__image {
  flex: 0 0 110px;
  width: 110px;
  height: 143px;
  border-radius: 10px;
  overflow: hidden;
}

.review-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-card__content {
  flex: 1;
  min-width: 0;
}

.review-card__tour {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 15px;
  border-radius: 100px;
  background-color: #729ac8;
  color: #fff;
  font-size: 14px;
  font-family: "Ahellya", sans-serif;
  margin-bottom: 12px;
}

.review-card__short {
  font-family: "Ahellya", sans-serif;
  font-size: 18px;
  line-height: 1.35;
  color: #1e3053;
  margin-bottom: 14px;
}
.review-card__text-wrap {
  position: relative;
  max-height: 260px;
  overflow: hidden;
}
.review-card.has-overflow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  z-index: 3;

  background: linear-gradient(
    to bottom,
    rgba(242, 242, 245, 0),
    rgba(242, 242, 245, 0.72),
    rgba(242, 242, 245, 1)
  );
}
.review-card__text {
  font-size: 15px;
  line-height: 1.6;
}

.review-card__bottom {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.review-card__author,
.review-card__date {
  font-family: "Ahellya", sans-serif;
  background-color: #729ac8;
  color: #fff !important;
  border-radius: 100px;
  padding: 5px 15px;
  font-size: 14px;
}

.review-card__more {
  display: none;

  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  z-index: 5;

  font-size: 14px;
  letter-spacing: 4px;
  opacity: 0.45;
}
.review-card.has-overflow .review-card__more {
  display: block;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
}

.review-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.review-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 35, 0.65);
}

.review-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  border-radius: 24px;
  background: #fff;
  overflow-y: auto;
}

.review-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--color-primary);
  cursor: pointer;
  z-index: 3;
  font-size: 26px;
  transition: background 0.3s ease;
  line-height: 1;
}
.review-modal__close:hover {
  background: var(--color-dark);
}
.review-modal__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 24px;
  align-items: start;
}

/* LEFT IMAGE */

.review-modal__image {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: 18px;
  overflow: hidden;
  background: #f5f5f5;
}

.review-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* RIGHT CONTENT */

.review-modal__tour {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 15px;
  border-radius: 100px;
  background: #729ac8;
  color: #fff;
  font-family: "Ahellya", sans-serif;
  margin-bottom: 14px;
}

.review-modal__title {
  display: none;
}

.review-modal__text {
  font-size: 15px;
  line-height: 1.65;
  color: #33456b;
}

.review-modal__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.review-modal__author,
.review-modal__date {
  font-family: "Ahellya", sans-serif;
  background-color: #729ac8;
  color: #fff;
  border-radius: 100px;
  padding: 5px 15px;
  font-size: 14px;
}
/* Tablet */
@media (max-width: 992px) {
  .reviews-section {
    padding: 60px 0;
  }

  .review-card {
    width: 360px;
    min-height: 430px;
  }
  .review-card__text-wrap {
    max-height: 213px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .reviews-section {
    padding: 35px 0;
  }
  .reviews-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
  }
  .reviews-section__title {
    word-wrap: break-word;
    font-size: 28px;
  }
  .reviews-section__nav {
    display: none;
  }
  .reviews-slider .swiper-slide {
    width: auto !important;
  }
  .review-card {
    width: calc(100vw - 48px);
    margin: 0 auto;
    min-height: 420px;
    padding: 16px;
    border-radius: 18px;
  }

  .review-card__top {
    gap: 12px;
    margin-bottom: 14px;
  }

  .review-card__image {
    width: 90px;
    height: 118px;
    flex: 0 0 90px;
  }

  .review-card__tour {
    font-size: 13px;
    padding: 4px 12px;
    margin-bottom: 10px;
  }

  .review-card__short {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .review-card__text {
    font-size: 14px;
    line-height: 1.55;
  }

  .review-card__bottom {
    right: 14px;
    bottom: 14px;
    gap: 6px;
  }

  .review-card__author,
  .review-card__date {
    font-size: 12px;
    padding: 4px 12px;
  }

  .review-card__more {
    bottom: 10px;
    font-size: 12px;
  }
  .review-modal__dialog {
    width: min(560px, calc(100% - 20px));
  }
  .review-modal__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .review-modal__image {
    min-height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }

  .review-modal__tour {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .review-modal__text {
    font-size: 14px;
    line-height: 1.55;
  }

  .review-modal__meta {
    margin-top: 16px;
  }

  .review-modal__author,
  .review-modal__date {
    font-size: 12px;
    padding: 4px 12px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .review-card {
    width: calc(100vw - 24px);
    min-height: 400px;
    padding: 14px;
  }

  .review-card__image {
    width: 82px;
    height: 108px;
    flex-basis: 82px;
  }

  .review-card__short {
    font-size: 15px;
  }
  .review-modal__dialog {
    width: calc(100% - 14px);
    border-radius: 18px;
  }

  .review-modal__inner {
    padding: 14px;
    gap: 14px;
  }

  .review-modal__image {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .review-modal__tour,
  .review-modal__author,
  .review-modal__date {
    font-size: 13px;
    padding: 4px 12px;
  }

  .review-modal__close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
}

/* --------------------------------------FAQ--------------------------------------------------*/

.faq-section {
  position: relative;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.faq-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 35, 0.45);
  z-index: 1;
}

.faq-section__inner {
  position: relative;
  z-index: 2;
}

.faq-section__title {
  color: #fff;
}

.faq-section__title span {
  font-family: "Ahellya", serif;
  font-weight: 400;
}
.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.faq-column {
  display: flex;
  flex-direction: column;
}

.faq-item {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  overflow: hidden;
  break-inside: avoid;
  margin-bottom: 16px;
}

.faq-item__question {
  width: 100%;
  min-height: 60px;
  padding: 0 18px 0 22px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-text);
  font-size: 16px;
  color: var(--color-dark);
}

.faq-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  background: #719ac8;
  position: relative;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.faq-item__question:hover .faq-item__icon,
.faq-item:hover .faq-item__icon {
  background: var(--color-dark);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: 0.25s ease;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: 15px;
  line-height: 1.6;
  color: #33456b;
}

.faq-item.is-open .faq-item__answer {
  max-height: 300px;
  padding: 0 22px 18px;
}

@media (max-width: 992px) {
  .faq-columns {
    grid-template-columns: 1fr;
  }
  .faq-columns {
    gap: 0;
  }
}

@media (max-width: 768px) {
  .faq-section {
    background-attachment: scroll;
    padding: 35px 0;
  }

  .faq-item__question {
    min-height: 58px;
    font-size: 15px;
  }

  .faq-item__icon {
    width: 36px;
    height: 36px;
  }

  .faq-item__icon::before {
    width: 20px;
  }
}

/* --------------------------------------VIDEO--------------------------------------------------*/

.travel-video-section {
  padding: 40px 0;
}

.travel-video-section .section-head {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 32px;
}

.section-subtitle {
  max-width: 720px;
  margin: 14px auto 0;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  color: #33456b;
}

.travel-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 413px));
  justify-content: center;
  gap: 24px;
}

.travel-videos__item {
  position: relative;
  width: 100%;
  max-width: 413px;
  height: 662px;

  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.travel-videos__item video,
.travel-videos__item iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}
/* ноутбук */
@media (max-width: 1200px) {
  .travel-videos {
    gap: 20px;
  }

  .travel-videos__item {
    max-width: 380px;
    height: 610px;
  }
}

/* планшет */
@media (max-width: 992px) {
  .travel-video-section .section-head {
    margin-bottom: 26px;
  }

  .section-subtitle {
    font-size: 16px;
    line-height: 1.55;
  }

  .travel-videos {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 18px;
  }

  .travel-videos__item {
    max-width: 100%;
    height: 560px;
  }
}

@media (max-width: 768px) {
  .travel-video-section {
    padding: 35px 0;
  }

  .travel-video-section .section-head {
    margin-bottom: 22px;
  }

  .section-subtitle {
    font-size: 15px;
    margin-top: 12px;
  }

  .travel-videos {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .travel-videos__item {
    max-width: 420px;
    margin: 0 auto;
    height: 620px;
  }
}

@media (max-width: 480px) {
  .travel-video-section .section-head {
    margin-bottom: 18px;
  }

  .section-subtitle {
    font-size: 14px;
    line-height: 1.5;
  }

  .travel-videos {
    gap: 14px;
  }

  .travel-videos__item {
    max-width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
  }
}
/* --------------------------------------GALLERY--------------------------------------------------*/
.travel-gallery-section {
  padding: 40px 0;
}
.section-title span {
  font-family: "Ahellya", sans-serif;
}
.travel-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 440px;
  gap: 16px;
}

.travel-gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.travel-gallery-item:nth-child(1) {
  grid-column: span 2;
}

.travel-gallery-item:nth-child(6) {
  grid-column: span 2;
}
.travel-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;

  transform: scale(1.06);
  transition: transform 0.45s ease;
}
.travel-gallery-item:hover img {
  transform: scale(1);
}

.travel-gallery-item__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(255, 255, 255, 0.5);
  color: #fff;
  font-size: 16px;
  font-family: "Ahellya", sans-serif;
}

@media (max-width: 992px) {
  .travel-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }

  .travel-gallery-item:nth-child(1),
  .travel-gallery-item:nth-child(4) {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .travel-gallery-section {
    padding: 35px 0;
  }

  .travel-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .travel-gallery-item {
    grid-column: auto !important;
  }
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
}

.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 35, 0.78);
}

.gallery-modal__dialog {
  position: relative;
  z-index: 2;
  width: 860px;
  height: min(680px, calc(100vh - 72px));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-modal__content {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.gallery-modal__content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.gallery-modal__content img.is-changing {
  opacity: 0;
}
.gallery-modal__label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(255, 255, 255, 0.5);
  color: #fff;
  font-size: 14px;
  font-family: "Ahellya", sans-serif;
}

.gallery-modal__thumbs {
  display: flex;
  gap: 10px;
  width: 100%;
  min-height: 88px;
  padding: 4px 2px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.55) transparent;
}

.gallery-modal__thumbs[hidden] {
  display: none;
}

.gallery-modal__thumb {
  flex: 0 0 112px;
  width: 112px;
  height: 76px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  opacity: 0.72;
  transition: border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.gallery-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-modal__thumb:hover,
.gallery-modal__thumb.is-active {
  opacity: 1;
  border-color: var(--color-primary);
}

.gallery-modal__thumb.is-active {
  transform: translateY(-2px);
}

.gallery-modal__close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 28px;
  cursor: pointer;
}

.gallery-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}
.gallery-modal__nav,
.gallery-modal__close {
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.gallery-modal__nav:hover,
.gallery-modal__close:hover {
  background: var(--color-primary);
  color: #fff;
}
.gallery-modal__prev {
  left: -60px;
}
.gallery-modal__next {
  right: -60px;
}
@media (max-width: 900px) {
  .gallery-modal__dialog {
    width: calc(100vw - 20px);
    height: min(680px, calc(100vh - 28px));
  }
}
@media (max-width: 768px) {
  .gallery-modal__dialog {
    width: calc(100% - 16px);
    height: calc(100vh - 20px);
    gap: 8px;
  }

  .gallery-modal__content {
    border-radius: 16px;
  }

  .gallery-modal__content img {
    object-fit: contain;
  }

  .gallery-modal__label {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .gallery-modal__prev {
    left: 8px;
  }

  .gallery-modal__next {
    right: 8px;
  }

  .gallery-modal__nav {
    width: 42px;
    height: 42px;
  }

  .gallery-modal__close {
    top: 8px;
    right: 8px;
    z-index: 4;
  }

  .gallery-modal__thumbs {
    min-height: 72px;
    gap: 8px;
    padding-bottom: 4px;
  }

  .gallery-modal__thumb {
    flex-basis: 88px;
    width: 88px;
    height: 60px;
    border-radius: 8px;
  }
}

/* --------------------------------------CTA BLOCK--------------------------------------------------*/

.cta-section {
  padding: 60px 0;
}

.cta-card {
  position: relative;
  padding: 42px 48px;
  border-radius: 28px;
  background: var(--color-dark);
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/cta-dashed.svg");
  top: -11%;
  left: -5%;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

.cta-card__head,
.cta-card__body {
  position: relative;
  z-index: 1;
}

.cta-card__head {
  text-align: center;
  margin-bottom: 28px;
}

.cta-card__title {
  margin: 0;
  color: #fff;
  font-size: 41px;
  line-height: 1.1;
  font-family: "Doulos", serif;
  font-weight: 400;
}

.cta-card__title span {
  display: block;
  font-family: "Ahellya", serif;
  font-style: italic;
  font-weight: 400;
}

.cta-card__body {
  display: grid;
  grid-template-columns: 460px 411px;
  justify-content: center;
  gap: 60px;
  align-items: start;
}

.cta-card__subtitle {
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
}

.cta-form {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

/* ===== Телефонное поле ===== */

.iti {
  width: 100%;
  display: block;
}

/* input */
.cta-form .iti__tel-input,
.footer-form .iti__tel-input {
  width: 100%;
  height: 56px;
  border: 1px solid #dcdcdc;
  border-radius: 14px;
  padding-right: 18px;
  font-size: 16px;
  transition: 0.2s ease;
}

.cta-form .iti__tel-input:focus,
.footer-form .iti__tel-input:focus {
  border-color: #111;
  outline: none;
}

/* кнопка страны */
.cta-form .iti__selected-country,
.footer-form .iti__selected-country {
  height: 56px;
  padding-right: 10px;
  border: none;
  background: transparent;
}
.iti__selected-dial-code {
  color: #000;
}
/* dropdown */
.cta-form .iti__dropdown-content,
.footer-form .iti__dropdown-content {
  max-height: 260px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e5e5e5;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  z-index: 9999;
}

/* список */
.cta-form .iti__country-list,
.footer-form .iti__country-list {
  max-height: 200px;
  overflow-y: auto;
  color: var(--color-dark);
}

/* поиск */
.cta-form .iti__search-input-wrapper,
.footer-form .iti__search-input-wrapper {
  position: relative;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.cta-form .iti__search-input,
.footer-form .iti__search-input {
  width: 100%;
  height: 42px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding-left: 42px !important;
  padding-right: 34px;
  font-size: 14px;
  outline: none;
}

.cta-form .iti__search-input:focus,
.footer-form .iti__search-input:focus {
  border-color: #111;
}

.cta-form .iti__search-icon,
.footer-form .iti__search-icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  color: #888;
}

.cta-form .iti__search-clear,
.footer-form .iti__search-clear {
  right: 18px;
}

.cta-form .iti__country,
.footer-form .iti__country {
  padding: 10px 14px;
  transition: 0.15s;
}

.cta-form .iti__country:hover,
.footer-form .iti__country:hover {
  background: #f8f8f8;
}

.cta-form .iti__country.iti__highlight,
.footer-form .iti__country.iti__highlight {
  background: #f3f3f3;
}

/* ошибка */
.cta-form .is-error,
.footer-form .is-error {
  border-color: #e53935;
}
.cta-form__field input {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 14px;
}
.cta-form__field textarea {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
  outline: none;
}
.cta-form__error {
  min-height: 16px;
  margin-top: 6px;
  font-size: 12px;
  color: #ffd6d6;
}
.cta-form input.is-error,
.cta-form textarea.is-error {
  border: 1px solid #ff7b7b;
}
.cta-form__field textarea::placeholder {
  color: rgba(30, 48, 83, 0.45);
}
.cta-card__image {
  position: relative;
  width: 100%;
  height: 346px;
  border-radius: 24px;
  overflow: hidden;
}

.cta-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-card__image-text {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #fff;
  font-family: "Ahellya", serif;
  font-size: 18px;
}
.cta-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.4;
}

.cta-form__checkbox input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: #719ac8;
}

.cta-form__checkbox a {
  color: #fff;
  text-decoration: underline;
}

.cta-form__submit {
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  background: #729ac8;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s ease;
}

.cta-form__submit:hover {
  background-color: #0f1623;
}
@media (max-width: 1100px) {
  .cta-card__body {
    grid-template-columns: 1fr;
  }

  .cta-form {
    max-width: 100%;
  }

  .cta-card__image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .cta-section {
    padding: 35px 0;
  }
  .cta-card {
    padding: 24px 18px;
  }

  .cta-card__title {
    font-size: 32px;
  }

  .cta-card__body {
    gap: 24px;
  }

  .cta-card__image {
    height: 240px;
  }
}
@media (max-width: 468px) {
}
/* --------------------------------------FOOTER--------------------------------------------------*/

.site-footer {
  position: relative;
  padding: 80px 0 30px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  overflow: hidden;
}

.site-footer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 35, 0.55);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.site-footer__logo img {
  max-width: 180px;
  height: auto;
  display: block;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu a,
.footer-contact,
.site-footer__bottom a {
  color: #fff;
  text-decoration: none;
}

.footer-menu a {
  position: relative;
  transition: 0.25s ease;
}

.footer-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: #729ac8;
  transition: 0.25s ease;
}

.footer-menu a:hover {
  color: #729ac8;
}

.footer-menu a:hover::after {
  width: 100%;
}
.footer-contact {
  display: inline-block;
  position: relative;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}

.footer-contact::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: 0.25s ease;
}

.footer-contact:hover {
  color: var(--color-primary);
}

.footer-contact:hover::after {
  width: 100%;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.25s ease;
}

.footer-socials a:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-socials .social-icon {
  width: 40px;
  height: 40px;
  display: block;
}
.site-footer__col--contacts {
}
.site-footer__form-title {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.1;
}

.site-footer__form-text {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-form {
  display: flex;
  flex-direction: column;
}

.footer-form .cta-form__field input,
.footer-form .cta-form__field textarea {
  width: 100%;
}

.footer-form .cta-form__error {
  min-height: 16px;
}

.footer-form__checkbox {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.footer-form__checkbox input {
  margin-top: 3px;
  accent-color: #719ac8;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.45fr 1.2fr 1fr;
  gap: 24px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  align-items: center;
}

.site-footer__bottom-col--docs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.footer-docs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-docs a {
  color: #fff;
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-docs a:hover {
  color: var(--color-primary);
}

.site-footer__bottom-col--docs img {
  max-height: 36px;
  width: auto;
}

.site-footer__bottom-col--operator {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.35;
}

.footer-operator__title {
  font-weight: 600;
}

.footer-operator__company {
  color: rgba(255, 255, 255, 0.86);
}

.footer-operator__number {
  color: #fff;
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-operator__number:hover {
  color: var(--color-primary);
}

@media (max-width: 1200px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
  }
  .footer-contact:first-child {
    margin-right: 20px;
  }
}
@media (max-width: 1024px) {
  .footer-socials .site-socials {
    display: flex;
  }
  .mobile-menu__socials .site-socials {
    display: flex;
  }
}
@media (max-width: 992px) {
  .site-footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__logo {
    text-align: center;
  }

  .site-footer__menu,
  .site-footer__contacts,
  .site-footer__cta {
    text-align: center;
  }

  .site-footer__menu ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .site-footer__socials {
    justify-content: center;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .site-footer__bottom-col--docs {
    flex-direction: column;
    align-items: center;
  }

  .site-footer__bottom-col--operator {
    align-items: center;
  }

  .footer-docs {
    align-items: center;
  }

  .site-footer__cta-form {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .site-footer {
    background-attachment: scroll;
    padding: 60px 0 24px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom-col--docs {
    flex-direction: column;
  }
}

/* MODAL HEADER */
.manager-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
}

.manager-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.manager-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 35, 0.65);
}

.manager-modal__dialog {
  position: relative;
  z-index: 2;
  width: 770px;
  height: 700px;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}

.manager-modal__inner {
  height: 100%;
  padding: 28px 30px 30px;
  overflow-y: auto;
}

.manager-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background 0.25s ease, transform 0.25s ease;
}

.manager-modal__close:hover {
  background: var(--color-dark);
  transform: scale(1.05);
}

.manager-modal__title {
  font-family: "Manrope", sans-serif;
  margin: 0 0 28px;
  font-size: 36px;
  line-height: 1.1;
  text-align: center;
  max-width: 675px;
}

.manager-form {
  display: flex;
  flex-direction: column;
}

.manager-form__field input[type="text"],
.manager-form__field input[type="tel"] {
  width: 100%;
  height: 70px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  padding: 0 20px;
  font-size: 16px;
  outline: none;
}

.manager-form__label {
  margin: 20px 0 12px;
  font-size: 18px;
  color: #1e3053;
}

.manager-form__tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.manager-form__tab {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #719ac8;
  border-radius: 999px;
  background: #fff;
  color: #719ac8;
  cursor: pointer;
  transition: 0.25s ease;
}

.manager-form__tab.active,
.manager-form__tab:hover {
  background: #719ac8;
  color: #fff;
}

.manager-form__checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.4;
  color: #33456b;
}

.manager-form__checkbox input {
  margin-top: 3px;
  accent-color: #719ac8;
}

.manager-form__checkbox a {
  color: #1e3053;
  text-decoration: underline;
}

.manager-form__submit {
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: #729ac8;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.manager-form__submit:hover {
  background: #1e3053;
}

.manager-form__error {
  min-height: 16px;
  margin-top: 6px;
  font-size: 13px;
  color: #e53935;
}

.manager-form .is-error {
  border-color: #e53935 !important;
}

@media (max-width: 820px) {
  .manager-modal__dialog {
    width: calc(100% - 20px);
    height: auto;
    max-height: calc(100vh - 20px);
  }

  .manager-modal__title {
    font-size: 28px;
  }

  .manager-form__field input[type="text"],
  .manager-form__field input[type="tel"] {
    height: 62px;
  }
}
@media (max-width: 576px) {
  .manager-modal {
    padding: 10px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .manager-modal__dialog {
    width: 100%;
    height: auto;
    max-height: none;
    border-radius: 18px;
    margin: auto 0;
  }

  .manager-modal__inner {
    padding: 18px 16px 20px;
    overflow: visible;
  }

  .manager-modal__title {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 18px;
    max-width: 100%;
    padding-right: 34px; /* чтобы крестик не наезжал */
    text-align: left;
  }

  .manager-modal__close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .manager-form__field input[type="text"],
  .manager-form__field input[type="tel"] {
    height: 54px;
    padding: 0 14px;
    font-size: 15px;
  }

  .manager-form__label {
    margin: 14px 0 10px;
    font-size: 16px;
  }

  .manager-form__tabs {
    gap: 8px;
    flex-wrap: wrap;
  }

  .manager-form__tab {
    flex: 1 1 calc(50% - 4px);
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .manager-form__checkbox {
    font-size: 13px;
    gap: 8px;
  }

  .manager-form__submit {
    min-height: 52px;
    font-size: 15px;
  }

  .manager-form__error {
    font-size: 12px;
    min-height: 14px;
  }
}
/* BOOKING MODAL */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
}

.booking-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.booking-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 35, 0.65);
}

.booking-modal__dialog {
  position: relative;
  z-index: 2;
  max-width: 770px;
  width: calc(100% - 20px);
  max-height: calc(100vh - 20px);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}

.booking-modal__inner {
  height: 100%;
  padding: 28px 30px 30px;
  overflow-y: auto;
}

.booking-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background 0.25s ease, transform 0.25s ease;
}

.booking-modal__close:hover {
  background: var(--color-dark);
  transform: scale(1.05);
}

.booking-modal__title {
  font-family: "Manrope", sans-serif;
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.1;
  text-align: center;
  color: #1e3053;
}

.booking-modal__tour-name {
  color: #729ac8;
}

.booking-modal__text {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  color: #33456b;
}

.booking-form {
  display: flex;
  flex-direction: column;
}
.booking-form__row {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 14px;
}
.booking-form__field {
  margin-bottom: 18px;
}

.booking-form__field input[type="text"],
.booking-form__field input[type="tel"],
.booking-form__field input[type="email"],
.booking-form__field input[type="date"],
.booking-form__field input[type="number"],
.booking-form__field select {
  width: 100%;
  height: 62px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  padding: 0 20px;
  font-size: 16px;
  outline: none;
  background: #fff;
}
.booking-form__field input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
}

.booking-form__date-control {
  position: relative;
  display: block;
}

.booking-form__date-placeholder {
  position: absolute;
  z-index: 1;
  top: 7px;
  left: 20px;
  color: #73809a;
  font-size: 11px;
  line-height: 1;
  pointer-events: none;
}

.booking-form__date-control input[type="date"] {
  padding-top: 15px;
}

.booking-form__field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%231e3053' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 48px;
}

.booking-form__label {
  margin: 0 0 12px;
  font-size: 18px;
  color: #1e3053;
}

.booking-form__tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.booking-form__tab {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #719ac8;
  border-radius: 999px;
  background: #fff;
  color: #719ac8;
  cursor: pointer;
  transition: 0.25s ease;
}

.booking-form__tab.active,
.booking-form__tab:hover {
  background: #719ac8;
  color: #fff;
}

.booking-form__checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.4;
  color: #33456b;
}

.booking-form__checkbox input {
  margin-top: 3px;
  accent-color: #719ac8;
}

.booking-form__checkbox a {
  color: #1e3053;
  text-decoration: underline;
}

.booking-form__submit {
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: #729ac8;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.booking-form__submit:hover {
  background: #1e3053;
}

.booking-form__error {
  min-height: 16px;
  margin-top: 6px;
  font-size: 13px;
  color: #e53935;
}

.booking-form .is-error {
  border-color: #e53935 !important;
}

.booking-form__message {
  min-height: 18px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.booking-form__message--success {
  color: #157f47;
}

.booking-form__message--error {
  color: #e53935;
}

.manager-form__message {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.manager-form__message--success {
  color: #157f47;
}

.manager-form__message--error {
  color: #e53935;
}

.payment-modal__notice {
  margin: 0 0 24px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(113, 154, 200, 0.12);
  font-size: 15px;
  line-height: 1.55;
  color: #33456b;
}

/* MOBILE */
@media (max-width: 820px) {
  .booking-modal__dialog {
    width: calc(100% - 20px);
    height: auto;
    max-height: calc(100vh - 20px);
  }

  .booking-modal__title {
    font-size: 28px;
  }

  .booking-form__field input[type="text"],
  .booking-form__field input[type="tel"],
  .booking-form__field input[type="email"],
  .booking-form__field input[type="date"],
  .booking-form__field input[type="number"],
  .booking-form__field select {
    height: 62px;
  }
}

@media (max-width: 576px) {
  .booking-modal {
    padding: 8px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .booking-modal__dialog {
    width: 100%;
    height: auto;
    max-height: none;
    border-radius: 18px;
    margin: auto 0;
  }

  .booking-modal__inner {
    padding: 14px 12px 16px;
    overflow: visible;
  }

  .booking-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .booking-form__field {
    margin-bottom: 10px;
  }

  .booking-modal__title {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 10px;
    max-width: 100%;
    padding-right: 34px;
    text-align: left;
  }

  .booking-modal__text {
    font-size: 14px;
    text-align: left;
    margin-bottom: 14px;
  }

  .payment-modal__notice {
    margin-bottom: 12px;
    padding: 12px;
    font-size: 14px;
  }

  .booking-modal__close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .booking-form__field input[type="text"],
  .booking-form__field input[type="tel"],
  .booking-form__field input[type="email"],
  .booking-form__field input[type="date"],
  .booking-form__field input[type="number"],
  .booking-form__field select {
    height: 50px;
    padding: 0 14px;
    font-size: 15px;
  }

  .booking-form__date-placeholder {
    top: 6px;
    left: 14px;
  }

  .booking-form__date-control input[type="date"] {
    padding-top: 14px;
  }

  .booking-form__label {
    margin: 6px 0 8px;
    font-size: 16px;
  }

  .booking-form__tabs {
    gap: 8px;
    flex-wrap: wrap;
  }

  .booking-form__tab {
    flex: 1 1 calc(50% - 4px);
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .booking-form__checkbox {
    font-size: 13px;
    gap: 8px;
  }

  .booking-form__submit {
    min-height: 50px;
    font-size: 15px;
  }

  .booking-form__error {
    font-size: 12px;
    min-height: 14px;
  }
}
/* TOURS CATALOG (TURY) */
.tours-archive {
  padding: 140px 0;
}

.tours-archive__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tour-row-card {
  display: grid;
  grid-template-columns: 610px 1fr;
  gap: 24px;
  background: #fff;
  border-radius: 24px;
  overflow: visible;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
  min-height: 378px;
  height: auto;
}
.tour-row-card:hover {
  transform: translateY(-4px);
}

.tour-row-card__image {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 378px;
  overflow: hidden;
  border-radius: 24px 0 0 24px;
}

.tour-row-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.tour-row-card__image:hover img {
  transform: scale(1.05);
}
.tour-row-card__content {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tour-row-card__title {
  margin: 0 0 50px;
  font-family: "Ahellya", sans-serif;
  font-size: 26px;
  line-height: 1.2;
}

.tour-row-card__title a {
  color: var(--color-dark);
}

.tour-row-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
}

.tour-row-card__details {
  display: grid;
  gap: 14px;
}

.tour-row-card__detail {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.tour-row-card__labels,
.tour-row-card__values {
  font-size: 15px;
}

.tour-row-card__labels {
  color: #7a8496;
}

.tour-row-card__values {
  color: var(--color-dark);
  font-weight: 600;
}

.tour-row-card__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tour-row-card__date strong {
  display: inline-block;
  margin-top: 10px;
}
.tour-row-card__price {
  font-size: 26px;
  margin-top: 30px;
}
.tour-row-card__old-price {
  font-size: 18px;
  line-height: 1;

  color: #9aa3b2;

  text-decoration: line-through;
  margin-top: 20px;
}
.tour-row-card__price strong {
  display: inline-block;
  margin-top: 5px;
}
.tour-row-card__bottom {
  margin-top: auto;
  padding-top: 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tour-row-card__actions {
  display: flex;
  gap: 12px;
}

.tour-row-card__more,
.tour-row-card__book {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.25s;
}

.tour-row-card__more {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: #fff;
}
.tour-row-card__more:hover {
  background: var(--color-primary);
  color: #fff;
}
.tour-row-card__book {
  background: var(--color-primary);
  color: #fff;
}
.tour-row-card__book:hover {
  background: #1e3053;
  color: #fff;
}
.tour-row-card__dates {
  position: relative;
  display: inline-block;
}
.tour-row-card__dates-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 8px 14px;
  border-radius: 12px;

  background: rgba(13, 153, 255, 0.08);
  color: var(--color-primary);

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.2s ease;
}
.tour-row-card__dates-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
.tour-row-card__dates-popup {
  position: absolute;
  left: 0;
  bottom: 100%;
  width: min(360px, calc(100vw - 32px));
  max-height: min(320px, calc(100vh - 160px));
  overflow: hidden;
  line-height: 1.5;
  padding: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  margin-bottom: 10px;
  z-index: 50;
}

.tour-row-card__dates-popup .tour-dates-popup__scroller {
  padding: 12px;
}

.tour-row-card__dates:hover .tour-row-card__dates-popup {
  opacity: 1;
  visibility: visible;
}
.tours-filter {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.tours-filter__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tours-filter__title {
  font-weight: 700;
  font-size: 14px;
  color: #33456b;
  margin-bottom: 8px;
}
.tours-filter__group label {
  transition: all 0.3s;
}
.tours-filter__group label:hover {
  color: var(--color-primary);
}
.tours-filter input[type="checkbox"],
.tours-filter input[type="number"] {
  margin-right: 8px;
  cursor: pointer;
}

.tours-filter input[type="number"] {
  width: 80px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
}

.tours-filter button {
  background: var(--color-primary);
  color: #fff;
  border: 0;
  padding: 12px 22px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.25s;
}

.tours-filter button:hover {
  background: #1e3053;
}

/* Фильтер сложности */
.tours-filter__group--difficulty {
  min-width: 260px;
}

.difficulty-range {
  --from: 0%;
  --to: 100%;
  display: grid;
  gap: 12px;
}

.difficulty-range__labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  line-height: 1.2;
  color: #7a8496;
}

.difficulty-range__slider {
  position: relative;
  height: 34px;
  display: flex;
  align-items: center;
}

.difficulty-range__rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #e7edf4;
  overflow: hidden;
}

.difficulty-range__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--from);
  width: calc(var(--to) - var(--from));
  border-radius: 999px;
  background: linear-gradient(90deg, #8fb7df 0%, #719ac8 100%);
}

.difficulty-range input[type="range"] {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  appearance: none;
  background: transparent;
  pointer-events: none;
  outline: none;
}

.difficulty-range input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  background: transparent;
}

.difficulty-range input[type="range"]::-moz-range-track {
  height: 8px;
  background: transparent;
  border: 0;
}

.difficulty-range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  margin-top: -5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.difficulty-range input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.difficulty-range__current {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #33456b;
}

.difficulty-range__badge {
  min-width: 34px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f2f6fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1e3053;
}

@media (max-width: 1326px) {
  .tour-row-card {
    grid-template-columns: 510px 1fr;
  }
  .tour-row-card__values .tour-card__difficulty {
    transform: scale(0.8);
    left: -40px;
  }
  .tour-row-card__actions {
    margin-right: 50px !important;
  }
}
@media (max-width: 1148px) {
  .tour-row-card {
    grid-template-columns: 1fr; /* вертикальный вид */
    height: auto; /* пусть подстраивается под контент */
  }

  .tour-row-card__image {
    min-height: 240px;
    border-radius: 24px 24px 0 0;
  }

  .tour-row-card__content {
    padding: 16px 16px 24px;
  }

  .tour-row-card__title {
    margin-bottom: 20px;
  }

  .tour-row-card__grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 12px;
  }

  .tour-row-card__details {
    gap: 10px;
  }

  .tour-row-card__detail {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
  }

  .tour-row-card__labels,
  .tour-row-card__values {
    grid-template-columns: 1fr;
    font-size: 14px;
  }

  .tour-row-card__side {
    justify-content: space-between;
    margin-top: 12px;
  }

  .tour-row-card__bottom {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .tour-row-card__actions {
    flex-direction: column;
    gap: 8px;
    margin-right: 0 !important;
  }

  .tour-row-card__more,
  .tour-row-card__book {
    width: 100%;
  }
  .tour-row-card__values .tour-card__difficulty {
    transform: scale(1);
    left: -40px;
  }
}
@media (max-width: 678px) {
  .tour-row-card__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tour-row-card__side {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
  }
}
@media (max-width: 576px) {
  .tours-archive {
    padding: 100px 0;
  }
  .tour-row-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .tour-row-card__image {
    min-height: 180px;
    border-radius: 18px 18px 0 0;
  }

  .tour-row-card__title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .tour-row-card__labels {
    font-size: 13px;
  }
  .tour-row-card__values {
    font-size: 13px;
  }
  .tour-row-card__detail {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 8px;
  }
  .tour-row-card__grid {
    gap: 8px !important;
  }

  .tour-row-card__side {
    flex-direction: column;
  }

  .tour-row-card__bottom {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .tour-row-card__actions {
    flex-direction: column;
    gap: 8px;
  }

  .tour-row-card__more,
  .tour-row-card__book {
    width: 100%;
  }

  .tour-row-card__dates-popup {
    width: 100%;
    left: 0;
    bottom: 100%;
    max-height: min(280px, calc(100vh - 120px));
  }
  .tour-row-card__values .tour-card__difficulty {
    transform: scale(0.8);
    bottom: 5px;
  }
}
/* Страница тура  */
/* Hero section */
.tour-single-hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tour-single-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 35, 0.35);
}

.tour-single-hero__inner {
  flex: 1;

  display: flex;
  padding-top: 100px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.tour-single-hero__content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.tour-single-hero__subtitle {
  margin-bottom: 16px;
  font-family: "Ahellya", sans-serif;
  font-size: 26px;
  line-height: 1.2;
}

.tour-single-hero__title {
  margin: 0 0 18px;
  font-family: var(--t-headline-font);
  font-size: 49px;
  line-height: 1.1;
}

.tour-single-hero__text {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.6;
}

.tour-single-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 290px;
  height: 55px;
  font-size: 15px;
}

/* Инфографика - растянутая, с затемнением и линиями */
.tour-single-info-wrapper {
  position: absolute;
  top: auto;
  left: 0;
  z-index: 3;
  width: 100%;
  background: rgba(10, 15, 25, 0.05);
  backdrop-filter: blur(5px);
  bottom: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 992px) {
  .tour-single-hero__inner {
    padding-bottom: 125px;
  }
}

.tour-info-list {
  max-width: 1440px;

  margin: 0 auto;
  padding: 22px 40px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));

  list-style: none;
}

.tour-info-item {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  padding: 0 18px;

  color: #fff;

  border-right: 1px solid rgba(255, 255, 255, 0.14);

  transition: 0.25s ease;
}
.tour-info-item__difficulty {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.tour-info-item:last-child {
  border-right: none; /* убираем для последнего элемента */
}

/* Инлайновые SVG */
.tour-info-item__svg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  color: #ffffff;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.tour-info-item__svg svg {
  display: block;
  width: auto;
  height: 40px;
}

/* Белые линии становятся синими */
.tour-info-item:hover .tour-info-item__svg {
  color: var(--color-dark);
}

/* PNG, например conditions.png */
.tour-info-item > img {
  width: auto;
  height: 40px;
  opacity: 0.95;
}
.tour-info-item span {
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}
/* Tooltip */
.tour-info-item .tour-card__tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;

  transform: translateX(-50%) translateY(10px);

  min-width: 180px;

  padding: 12px 14px;

  background: rgba(255, 255, 255, 0.97);
  color: #1e3053;

  border-radius: 14px;

  font-size: 13px;
  line-height: 1.5;
  text-align: center;

  opacity: 0;
  visibility: hidden;

  transition: 0.25s ease;

  pointer-events: none;
}

.tour-info-item:hover .tour-card__tooltip {
  opacity: 1;
  visibility: visible;

  transform: translateX(-50%) translateY(0);
}
.tour-info-item:nth-child(2) .tour-card__tooltip {
  bottom: calc(100% + 55px);
}
.tour-info-item .tour-card__difficulty {
  bottom: -7px;
  left: 10px;
}

.tour-intro {
  padding: 72px 0 36px;
}

.tour-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.tour-intro__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px;
  border-radius: 24px;
  background: var(--color-dark);
  color: #fff;
}

.tour-intro__title {
  max-width: 980px;
  margin: 0;
  font-family: var(--t-headline-font);
  font-size: 28px;
  line-height: 1.3;
  color: #fff;
}

.tour-intro__line {
  width: min(170px, 100%);
  height: 1px;
  margin: 28px 0;
  background: rgba(255, 255, 255, 0.6);
}

.tour-intro__text {
  max-width: 900px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.tour-intro__text p {
  margin: 0;
}

.tour-intro__text p + p {
  margin-top: 16px;
}

.tour-intro__media {
  position: relative;
  min-height: 0;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #e8eaee;
}

.tour-intro__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Адаптив */
@media (max-width: 1400px) {
  .tour-info-item .tour-card__difficulty {
    transform: scale(0.65);
    transform-origin: center top;
    left: auto;
    right: auto;
  }
}
@media (max-width: 991px) {
  .tour-single-hero {
    display: block;
    height: auto;
    min-height: 100svh;
    padding-bottom: 20px;
    overflow: hidden;
  }

  .tour-single-hero__inner {
    width: 100%;
    padding-bottom: 32px;
  }

  .tour-intro {
    padding: 54px 0 28px;
  }

  .tour-intro__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tour-intro__content {
    min-height: 0;
    padding: 36px;
  }

  .tour-intro__media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .tour-single-info-wrapper {
    position: relative;
    z-index: 4;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 16px);
    margin: 0 auto;
    transform: none;
    box-sizing: border-box;

    border-radius: 22px;

    overflow: visible;

    background: rgba(10, 15, 25, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .tour-info-list {
    padding: 0;

    grid-template-columns: repeat(2, 1fr);
  }

  .tour-info-item {
    min-height: 96px;

    padding: 18px 12px;

    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    margin-bottom: 0;
  }

  .tour-info-item:nth-child(2n) {
    border-right: none;
  }

  .tour-info-item img {
    width: auto;
    height: 30px;
  }

  .tour-info-item span {
    font-size: 13px;
  }
  .tour-info-item__svg svg {
    height: 30px;
  }
  .tour-single-hero__content {
    margin-top: 0;
  }

  .tour-single-hero__title {
    font-size: 36px;
  }

  .tour-single-hero__subtitle {
    font-size: 20px;
  }
  .tour-info-item .tour-card__difficulty {
    bottom: 6%;
  }
  .tour-info-item .tour-card__difficulty {
    transform: scale(0.85);
  }
}
@media (max-width: 650px) {
  .tour-single-hero {
    min-height: 100svh;
    padding-top: 100px;
    padding-bottom: 12px;
  }

  .tour-intro {
    padding: 36px 0 20px;
  }

  .tour-intro__content {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .tour-intro__title {
    font-size: 22px;
    line-height: 1.25;
  }

  .tour-intro__line {
    margin: 20px 0;
  }

  .tour-intro__text {
    font-size: 15px;
    line-height: 1.65;
  }

  .tour-intro__media {
    border-radius: 18px;
    aspect-ratio: 4 / 3;
  }

  .tour-single-hero__inner {
    padding-top: 0;
    padding-bottom: 24px;
    align-items: flex-start;
  }

  .tour-single-hero__content {
    margin-top: 0;
    transform: none;
  }

  .tour-single-hero__subtitle {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .tour-single-hero__title {
    font-size: 30px;
    line-height: 1.08;
    margin-bottom: 14px;
  }

  .tour-single-hero__text {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .tour-single-hero__btn {
    width: 100%;
    min-width: 100%;
    height: 52px;
  }

  /* ИНФОГРАФИКА */
  .tour-single-info-wrapper {
    width: calc(100% - 12px);

    border-radius: 18px;
  }

  .tour-info-list {
    grid-template-columns: repeat(2, 1fr);

    padding: 0;
  }

  .tour-info-item {
    min-height: 74px;

    gap: 6px;

    padding: 12px 8px;

    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .tour-info-item:nth-child(2n) {
    border-right: none;
  }

  .tour-info-item span {
    font-size: 12px;
    line-height: 1.3;
  }
}
/* Программа тура */
.tour-program {
  padding: 40px 0 80px;
}

.tour-program__head {
  margin-bottom: 28px;
}

.tour-program__title {
  margin: 0;
  text-align: center;
  font-family: var(--t-headline-font);
  font-size: 38px;
  line-height: 1.15;
  color: #1e3053;
}

.tour-program__list {
  display: grid;
  gap: 28px;
}

.tour-day-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(30, 48, 83, 0.08);
}

.tour-day-card__header {
  padding: 24px 28px 18px;
  border-bottom: 1px solid rgba(30, 48, 83, 0.08);
}

.tour-day-card__day {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(113, 154, 200, 0.12);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tour-day-card__title {
  margin: 0;
  font-family: var(--t-headline-font);
  font-size: 28px;
  line-height: 1.2;
  color: #1e3053;
}

.tour-day-card__grid {
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: stretch;
}

.tour-day-card__media {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tour-day-card__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 20px;
  overflow-x: auto;
  padding: 5px 0;
  scrollbar-width: none;
}
.tour-day-card__thumbs::-webkit-scrollbar {
  display: none;
}
.tour-day-card__thumb {
  width: 70px;
  height: 70px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #f4f6f8;
  flex: 0 0 auto;
  opacity: 0.85;
  transition: 0.25s ease;
}

.tour-day-card__thumb:hover,
.tour-day-card__thumb.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.tour-day-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tour-day-card__media-image {
  position: relative;
  height: 375px;
  background: #f4f6f8;
  overflow: hidden;
  border-radius: 0;
}
.tour-day-card__slider,
.tour-day-card__slider .swiper-wrapper,
.tour-day-card__slider .swiper-slide {
  height: 100%;
}

.tour-day-card__photo {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
}

.tour-day-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.tour-day-card__photo:hover img {
  transform: scale(1.03);
}

.tour-day-card__content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
}

.tour-day-card__text {
  max-height: 375px;

  overflow-y: auto;

  padding-right: 10px;

  font-size: 16px;
  line-height: 1.7;

  color: var(--color-dark);
}

.tour-day-card__text p {
  margin: 0 0 14px;
}

.tour-day-card__text p:last-child {
  margin-bottom: 0;
}

.tour-day-card__text ul,
.tour-day-card__text ol {
  margin: 12px 0 16px;
  padding-left: 24px;
}

.tour-day-card__text ul li {
  list-style: disc;
}

.tour-day-card__text ol li {
  list-style: decimal;
}

.tour-day-card__text li {
  padding-left: 4px;
}

.tour-day-card__text li + li {
  margin-top: 8px;
}

.tour-day-card__text::-webkit-scrollbar {
  width: 6px;
}

.tour-day-card__text::-webkit-scrollbar-track {
  background: #edf2f7;
  border-radius: 999px;
}

.tour-day-card__text::-webkit-scrollbar-thumb {
  background: #bfd0e3;
  border-radius: 999px;
}

.tour-day-card__text::-webkit-scrollbar-thumb:hover {
  background: #9fb6cf;
}
.tour-day-card__more {
  align-self: flex-start;
  margin-top: auto;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--color-primary);
  border-radius: 12px;
  background: #fff;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}
.tour-day-card__more:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.tour-day-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.tour-day-feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #f4f7fb;
  font-size: 13px;
  font-weight: 600;
  position: relative;
}
.tour-day-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: color 0.3s ease;
}

.tour-day-feature__icon svg {
  display: block;
  width: auto;
  height: 28px;
}

.tour-day-feature:hover .tour-day-feature__icon {
  color: #1e3054;
}

.tour-day-feature img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.tour-day-feature::after {
  content: attr(title);

  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);

  transform: translateX(-50%) translateY(6px);

  white-space: nowrap;
  padding: 8px 10px;
  border-radius: 10px;

  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.97);

  font-size: 12px;
  font-weight: 500;

  z-index: 5;

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.tour-day-feature:hover::after {
  opacity: 1;
  visibility: visible;

  transform: translateX(-50%) translateY(0);
}

/* arrows swiper */
.tour-day-card__prev,
.tour-day-card__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--color-dark) !important;
  cursor: pointer;
}
.tour-day-card__prev::after,
.tour-day-card__next::after {
  font-size: 30px !important;
  font-weight: 700;
}
.tour-day-card__prev {
  left: 12px;
}
.tour-day-card__next {
  right: 12px;
}

/* @media (max-width: 991px) {
  .tour-day-card__grid {
    grid-template-columns: 1fr;
  }

  .tour-day-card__media {
    height: 260px;
  }

  .tour-day-card__content {
    min-height: auto;
  }

  .tour-day-card__title {
    font-size: 22px;
  }

  .tour-program__title {
    font-size: 28px;
  }
} */
@media (max-width: 991px) {
  .tour-program {
    padding: 32px 0 64px;
  }

  .tour-program__list {
    gap: 20px;
  }

  .tour-day-card {
    border-radius: 22px;
  }

  .tour-day-card__header {
    padding: 20px 20px 16px;
  }

  .tour-day-card__day {
    min-height: 28px;
    font-size: 12px;
    margin-bottom: 8px;
  }

  .tour-day-card__title {
    font-size: 22px;
    line-height: 1.2;
  }

  .tour-day-card__grid {
    grid-template-columns: 1fr;
  }

  .tour-day-card__grid,
  .tour-day-card__media,
  .tour-day-card__media-image,
  .tour-day-card__slider,
  .tour-day-card__content {
    min-width: 0;
  }

  .tour-day-card__slider {
    width: 100%;
    overflow: hidden;
  }

  .tour-day-card__media-image {
    height: 260px;
  }

  .tour-day-card__media {
    gap: 8px;
  }

  .tour-day-card__content {
    min-height: auto;
    padding: 22px 20px 20px;
    gap: 12px;
  }

  .tour-day-card__text {
    max-height: 280px;
  }

  .tour-day-card__features {
    gap: 8px;
  }

  .tour-day-feature {
    min-height: 34px;
    font-size: 12px;
  }

  .tour-day-card__thumbs {
    display: none;
  }

  .tour-day-card__prev,
  .tour-day-card__next {
    display: none;
  }
}

@media (max-width: 576px) {
  .tour-program {
    padding: 28px 0 52px;
  }

  .tour-program__title {
    font-size: 28px;
  }

  .tour-day-card {
    border-radius: 18px;
  }

  .tour-day-card__header {
    padding: 18px 16px 14px;
  }

  .tour-day-card__title {
    font-size: 20px;
  }

  .tour-day-card__media-image {
    height: 220px;
  }

  .tour-day-card__content {
    padding: 18px 16px 18px;
  }

  .tour-day-card__more {
    width: 100%;
    align-self: stretch;
  }

  .tour-day-card__features {
    gap: 8px;
  }

  .tour-day-feature {
    width: 100%;
    justify-content: flex-start;
    white-space: normal;
    min-height: 38px;
    padding: 8px 12px;
  }

  .tour-day-feature::after {
    background-color: var(--color-dark);
  }

  .tour-day-card.is-open .tour-day-card__thumbs {
    display: none;
  }
}

/* Section  Что входит в стоимость тура*/

.tour-cost {
  padding: 40px 0 80px;
}

.tour-cost__title {
  margin: 0 0 24px;
  font-family: var(--t-headline-font);
  text-align: center;
  font-size: 38px;
  line-height: 1.1;
  color: #1e3053;
}

.tour-cost__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr);
  gap: 20px;
  align-items: stretch;
}

.tour-cost__card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.tour-cost__card--details {
  background: #1e3054;
  color: #fff;
  min-height: 474px;
}

.tour-cost__card--booking {
  background: #1e3054;
  color: #fff;
  min-height: 474px;
}

.tour-cost__card-inner {
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.tour-cost__card--booking .tour-cost__card-inner {
  justify-content: space-between;
}

.tour-cost__booking-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  margin: auto 0;
}
.tour-cost__card-head {
  margin-bottom: 22px;
}

.tour-cost__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-family: var(--t-headline-font);
  font-size: 14px;
  line-height: 1;
  color: #fff;
  margin-bottom: 12px;
}

.tour-cost__card-title {
  margin: 0;
  font-family: var(--t-headline-font);
  font-size: 24px;
  line-height: 1.25;
  color: #fff;
}

.tour-cost__columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  flex: 1;
}

.tour-cost__column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tour-cost__column--accent {
  background: rgba(255, 255, 255, 0.06);
}

.tour-cost__column-title {
  margin: 0;
  font-family: var(--t-headline-font);
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
}

.tour-cost__text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.tour-cost__text ul {
  margin: 0;
  padding-left: 18px;
}

.tour-cost__text li + li {
  margin-top: 8px;
}

.tour-cost__booking-top {
  margin-bottom: 20px;
}
.tour-cost__price-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tour-cost__old-price {
  font-size: 18px;
  line-height: 1;

  color: rgba(255, 255, 255, 0.58);

  text-decoration: line-through;
}
.tour-cost__price-label {
  font-family: var(--t-headline-font);
  font-size: 16px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.tour-cost__price {
  font-family: var(--t-headline-font);
  font-size: 44px;
  line-height: 1;
  color: #fff;
}

.tour-cost__actions {
  display: grid;
  gap: 10px;
  width: 100%;
}

.tour-cost__btn {
  min-height: 55px;
  width: 100%;
  font-size: 16px;
  justify-content: center;
  background: #fff;
  color: #1e3054;
  margin-bottom: 15px;
}

.tour-cost__btn:hover {
  background: #e8eaee;
  color: #1e3054;
}

.tour-cost__btn--payment {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.tour-cost__btn--payment:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.tour-cost__notes {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.tour-cost__note {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.tour-cost__note--tooltip {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tour-cost__guarantee-title {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.tour-cost__tooltip-trigger {
  position: relative;
  cursor: help;
  font-weight: 700;
}
.tour-cost__compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 0 16px;

  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);

  background: rgba(255, 255, 255, 0.08);
  color: #fff;

  font-size: 14px;
  font-weight: 600;

  transition: 0.25s ease;
}
.tour-cost__compare-btn:hover {
  background: #fff;
  color: #1e3054;
}
.tour-cost__tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  width: 260px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  color: #1e3054;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  z-index: 5;
  pointer-events: none;
}

.tour-cost__tooltip-trigger:hover .tour-cost__tooltip {
  opacity: 1;
  visibility: visible;
}

/* =========================
   TOUR COST ADAPTIVE
========================= */

@media (max-width: 991px) {
  .tour-cost {
    padding: 30px 0 60px;
  }

  .tour-cost__grid {
    grid-template-columns: 1fr;
  }

  .tour-cost__card--details,
  .tour-cost__card--booking {
    min-height: auto;
  }

  .tour-cost__columns {
    grid-template-columns: 1fr;
  }

  .tour-cost__card-inner {
    padding: 24px;
  }

  .tour-cost__booking-main {
    margin: 10px 0 24px;
  }

  .tour-cost__btn {
    max-width: 340px;
    margin-inline: auto;
  }

  .tour-cost__notes {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .tour-cost__title {
    font-size: 32px;
  }

  .tour-cost__card-title {
    font-size: 22px;
  }

  .tour-cost__columns {
    gap: 14px;
  }

  .tour-cost__column {
    padding: 22px;
  }

  .tour-cost__price {
    font-size: 38px;
  }

  .tour-cost__price-label {
    font-size: 15px;
  }

  .tour-cost__text {
    font-size: 14px;
    line-height: 1.65;
  }

  .tour-cost__note {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .tour-cost {
    padding: 24px 0 50px;
  }

  .tour-cost__title {
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 1.15;
  }

  .tour-cost__card {
    border-radius: 18px;
  }

  .tour-cost__card-inner {
    padding: 18px;
  }

  .tour-cost__card-head {
    margin-bottom: 18px;
  }

  .tour-cost__eyebrow {
    min-height: 28px;
    font-size: 13px;
    margin-bottom: 10px;
  }

  .tour-cost__card-title {
    font-size: 20px;
  }

  .tour-cost__column {
    padding: 26px;
    border-radius: 14px;
  }

  .tour-cost__column-title {
    font-size: 17px;
  }

  .tour-cost__price {
    font-size: 32px;
  }

  .tour-cost__btn {
    width: 100%;
    min-height: 52px;
  }

  .tour-cost__notes {
    gap: 8px;
  }

  .tour-cost__note {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
  }

  .tour-cost__compare-btn {
    width: 100%;
  }

  .tour-cost__tooltip {
    width: 220px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ДАТЫ ТУРА */
.tour-dates {
  padding: 40px 0 80px;
}

.tour-dates__title {
  margin: 0 0 22px;
  text-align: center;
  font-family: var(--t-headline-font);
  font-size: 38px;
  line-height: 1.1;
  color: #1e3053;
}

.tour-dates__months-nav {
  position: sticky;
  top: 110px;
  z-index: 10;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-bottom: 20px;
  padding: 12px;

  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 48, 83, 0.08);
}

.tour-dates__month-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f4f7fb;
  color: #1e3053;
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s ease;
}

.tour-dates__month-link:hover,
.tour-dates__month-link.is-active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(13, 153, 255, 0.16);
}

.tour-dates__months {
  display: grid;
  gap: 28px;
}

.tour-dates__month {
  scroll-margin-top: 200px;
}

.tour-dates__month-title {
  margin: 0 0 16px;
  font-family: var(--t-headline-font);
  font-size: 24px;
  line-height: 1.2;
  color: #1e3053;
}

.tour-dates__list {
  display: grid;
  gap: 12px;
}

.tour-dates-custom {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid rgba(30, 48, 83, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.tour-dates-custom__lead {
  margin: 0 0 18px;
  font-family: var(--t-headline-font);
  font-size: 26px;
  line-height: 1.25;
  color: #1e3053;
}

.tour-dates-custom__text {
  max-width: 860px;
  font-size: 17px;
  line-height: 1.7;
  color: #33456b;
}

.tour-dates-custom__text p {
  margin: 0;
}

.tour-dates-custom__text p + p {
  margin-top: 14px;
}

.tour-dates-custom__btn {
  min-width: 240px;
  min-height: 52px;
  margin-top: 24px;
}

.tour-date-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding: 18px 20px;

  border-radius: 18px;
  background: #fff;

  border: 1px solid rgba(30, 48, 83, 0.08);

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);

  transition: transform 0.28s ease, box-shadow 0.28s ease,
    border-color 0.28s ease;
}

@media (min-width: 1201px) {
  .tour-date-card {
    display: grid;
    grid-template-columns:
      minmax(260px, 1.15fr)
      minmax(110px, 0.55fr)
      minmax(120px, 0.45fr)
      minmax(0, 0.65fr)
      230px;
  }

  .tour-date-card__date {
    grid-column: 1;
  }

  .tour-date-card > .tour-date-card__status {
    grid-column: 2;
    justify-self: stretch;
    justify-content: center;
    width: 100%;
    transform: translateX(-12px);
  }

  .tour-date-card__meta {
    grid-column: 3;
  }

  .tour-date-card__instructor {
    grid-column: 4;
  }

  .tour-date-card__btn {
    grid-column: 5;
  }
}

.tour-date-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  border-color: rgba(30, 48, 83, 0.14);
}

.tour-date-card__date {
  min-width: 260px;

  font-family: var(--t-headline-font);
  font-size: 18px;
  line-height: 1.3;

  color: var(--color-dark);
}

.tour-date-card__date > span {
  opacity: 0.55;
  padding: 0 4px;
}

.tour-date-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  flex-shrink: 0;
  padding: 0 14px;
  width: fit-content;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.tour-date-card__meta {
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.tour-date-card__price-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tour-date-card__old-price {
  font-size: 13px;
  line-height: 1;
  color: #98a2b3;
  text-decoration: line-through;
}
.tour-date-card__price {
  font-family: var(--t-headline-font);
  font-size: 24px;
  line-height: 1;
  color: #1e3053;
}

.tour-date-card__instructor {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  font-size: 16px;
  line-height: 1.4;
  color: #667085;
}
.tour-date-card__instructor span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;

  color: #98a2b3;
}
.tour-date-card__btn {
  min-width: 230px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: 0.25s ease;
  white-space: nowrap;
}

.tour-date-card--available .tour-date-card__status {
  background: rgba(18, 183, 106, 0.12);
  color: #157f47;
}

.tour-date-card--few .tour-date-card__status {
  background: rgba(255, 153, 0, 0.12);
  color: #b25b00;
}

.tour-date-card--full .tour-date-card__status {
  background: rgba(15, 22, 35, 0.08);
  color: #667085;
}

.tour-date-card--available .tour-date-card__btn {
  background: var(--color-primary);
  color: #fff;
}

.tour-date-card--available .tour-date-card__btn:hover {
  background: #1e3053;
}

.tour-date-card--few .tour-date-card__btn {
  background: var(--color-primary);
  color: #fff;
}

.tour-date-card--few .tour-date-card__btn:hover {
  background: var(--color-dark);
}

.tour-date-card--full {
  opacity: 0.7;
}

.tour-date-card--full .tour-date-card__btn {
  background: #e9edf2;
  color: #8a94a6;
  cursor: not-allowed;
  pointer-events: none;
}

.tour-date-card__btn.is-disabled {
  pointer-events: none;
}

@media (max-width: 1200px) {
  .tour-dates__title {
    font-size: 32px;
  }

  .tour-dates-custom {
    padding: 28px;
  }

  .tour-dates-custom__lead {
    font-size: 24px;
  }

  .tour-date-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .tour-date-card__date,
  .tour-date-card__status,
  .tour-date-card__meta,
  .tour-date-card__instructor,
  .tour-date-card__btn {
    width: 100%;
    min-width: 0;
  }
  .tour-date-card__status {
    justify-content: center;
  }
  .tour-date-card__btn {
    width: 100%;
    min-width: 0;
  }

  .tour-dates__months-nav {
    top: 84px;
  }
}

@media (max-width: 576px) {
  .tour-dates {
    padding: 28px 0 60px;
  }

  .tour-dates-custom {
    padding: 20px;
    border-radius: 18px;
  }

  .tour-dates-custom__lead {
    margin-bottom: 14px;
    font-size: 21px;
  }

  .tour-dates-custom__text {
    font-size: 15px;
    line-height: 1.6;
  }

  .tour-dates-custom__btn {
    width: 100%;
    min-width: 0;
    margin-top: 20px;
  }

  .tour-dates__title {
    margin-bottom: 16px;
    font-size: 28px;
  }

  .tour-dates__month-title {
    font-size: 20px;
  }

  .tour-dates__months-nav {
    padding: 10px;
    gap: 8px;
  }

  .tour-dates__month-link {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  .tour-date-card {
    padding: 16px;
    border-radius: 16px;
  }

  .tour-date-card__date {
    font-size: 16px;
  }

  .tour-date-card__price {
    font-size: 20px;
  }

  .tour-date-card__status {
    font-size: 12px;
  }
}

/* TOUR PRICE */
.tour-price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tour-price-block__top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tour-price-block__old {
  font-size: 14px;
  color: #98a2b3;
  text-decoration: line-through;
}

.tour-price-block__badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ff5b5b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.tour-price-block__current {
  font-family: var(--t-headline-font);
  font-size: 28px;
  line-height: 1;
  color: #1e3053;
}

/* Детали тура  */

.tour-details {
  padding: 40px 0 80px;
}

.tour-details__title {
  margin: 0 0 24px;
  font-family: var(--t-headline-font);
  text-align: center;
  font-size: 38px;
  line-height: 1.1;
  color: #1e3053;
}

.tour-details__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tour-details-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  text-align: left;

  width: 100%;
  min-height: 88px;
  padding: 18px 20px;

  border: 1px solid rgba(30, 48, 83, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);

  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.tour-details-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  border-color: rgba(30, 48, 83, 0.14);
}

.tour-details-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(13, 153, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tour-details-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.tour-details-card__text {
  font-family: var(--t-headline-font);
  font-size: 18px;
  line-height: 1.2;
  color: #1e3053;
}

/* MODAL */
.details-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
  padding: 60px 12px;
}

.details-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.details-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 35, 0.78);
}

.details-modal__dialog {
  position: relative;
  margin: auto 0;
  z-index: 2;
  width: min(980px, calc(100vw - 24px));
  max-height: calc(100vh - 80px);
}

.details-modal__content {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.details-modal__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(30, 48, 83, 0.08);
}

.details-modal__tab {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(30, 48, 83, 0.08);
  background: #f4f7fb;
  color: #1e3053;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.details-modal__tab:hover,
.details-modal__tab.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.details-modal__body {
  overflow-y: auto;
  max-height: calc(100vh - 220px);

  padding-right: 6px;
}
.details-modal__body::-webkit-scrollbar {
  width: 6px;
}

.details-modal__body::-webkit-scrollbar-thumb {
  background: rgba(30, 48, 83, 0.25);
  border-radius: 999px;
}
.details-modal__title {
  margin: 0 0 14px;
  font-family: var(--t-headline-font);
  font-size: 28px;
  line-height: 1.15;
  color: #1e3053;
}

.details-modal__text {
  font-size: 16px;
  line-height: 1.75;
  color: #33456b;
}

.details-modal__text * {
  max-width: 100%;
}

.details-modal__text h3,
.details-modal__text h4 {
  margin: 32px 0 14px;

  font-family: var(--t-headline-font);
  line-height: 1.2;
  color: #1e3053;
}

.details-modal__text h3 {
  font-size: 30px;
}

.details-modal__text h4 {
  font-size: 22px;
}

.details-modal__text p {
  margin: 0 0 18px;
}

.details-modal__text strong {
  font-weight: 700;
  color: #1e3053;
}

.details-modal__text ul,
.details-modal__text ol {
  margin: 18px 0 24px;
  padding-left: 24px;
}

.details-modal__text ul li {
  list-style: disc;
}

.details-modal__text ol li {
  list-style: decimal;
}

.details-modal__text li {
  padding-left: 4px;
}

.details-modal__text li + li {
  margin-top: 10px;
}

.details-modal__text li::marker {
  color: var(--color-primary);
}

.details-modal__text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.details-modal__text img {
  border-radius: 18px;
  margin: 18px 0;
}

.details-modal__text blockquote {
  margin: 24px 0;
  padding: 18px 22px;

  border-left: 4px solid var(--color-primary);
  border-radius: 0 16px 16px 0;

  background: rgba(113, 154, 200, 0.08);

  color: #1e3053;
}

@media (max-width: 576px) {
  .details-modal__text {
    font-size: 15px;
    line-height: 1.7;
  }

  .details-modal__text h3 {
    font-size: 24px;
  }

  .details-modal__text h4 {
    font-size: 20px;
  }
}
.details-modal__close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 28px;
  cursor: pointer;
}

.details-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.details-modal__nav,
.details-modal__close {
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.details-modal__nav:hover,
.details-modal__close:hover {
  background: var(--color-primary);
  color: #fff;
}

.details-modal__prev {
  left: -60px;
}

.details-modal__next {
  right: -60px;
}

@media (max-width: 991px) {
  .tour-details__grid {
    grid-template-columns: 1fr;
  }

  .details-modal__prev {
    left: 8px;
  }

  .details-modal__next {
    right: 8px;
  }
}
@media (max-width: 768px) {
  .details-modal {
    padding: 16px 8px;
  }

  .details-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 32px);
  }

  .details-modal__content {
    padding: 16px;
    border-radius: 18px;
    gap: 14px;
  }

  .details-modal__body {
    max-height: calc(100vh - 180px);
    padding-right: 2px;
  }

  .details-modal__title {
    font-size: 22px;
    line-height: 1.2;
  }

  .details-modal__text {
    font-size: 14px;
    line-height: 1.6;
  }

  .details-modal__tabs {
    gap: 8px;
    padding-bottom: 4px;
  }

  .details-modal__tab {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  .details-modal__close {
    top: 10px;
    right: 10px;

    width: 38px;
    height: 38px;

    font-size: 24px;
  }
  .details-modal__nav {
    display: none;
  }
}
@media (max-width: 576px) {
  .tour-details {
    padding: 28px 0 60px;
  }

  .tour-details__title {
    font-size: 28px;
  }

  .tour-details-card {
    padding: 16px;
    min-height: 78px;
    grid-template-columns: 48px 1fr;
  }

  .tour-details-card__icon {
    width: 48px;
    height: 48px;
  }

  .tour-details-card__icon img {
    width: 24px;
    height: 24px;
  }

  .tour-details-card__text {
    font-size: 16px;
  }

  .details-modal__content {
    padding: 18px;
  }

  .details-modal__title {
    font-size: 22px;
  }

  .details-modal__text {
    font-size: 14px;
    line-height: 1.65;
  }

  .details-modal__tab {
    font-size: 13px;
  }
}

/* Новый опыт и эмоции из путешествия */
.tour-experience {
  padding: 40px 0 80px;
}

.tour-experience__head {
  margin-bottom: 22px;
}

.tour-experience__title {
  margin: 0;
  font-family: var(--t-headline-font);
  text-align: center;
  font-size: 38px;
  line-height: 1.1;
  color: #1e3053;
}

.tour-experience__slider {
  overflow: visible;
}
.tour-experience__slider .swiper-wrapper {
  transition-timing-function: linear !important;
}
.tour-experience__slide {
  width: 334px !important;
  flex-shrink: 0;
}

.tour-experience__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
}

.tour-experience__image {
  position: relative;

  width: 100%;
  overflow: hidden;

  border-radius: 22px;

  transition: transform 0.35s ease;
}
.tour-experience__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.4s ease;
}
.tour-experience__card:hover .tour-experience__image {
  transform: translateY(-4px);
}
.tour-experience__card:hover img {
  transform: scale(1.04);
}
.tour-experience__slide.is-short .tour-experience__image {
  height: 232px;
}

.tour-experience__slide.is-tall .tour-experience__image {
  height: 293px;
}

.tour-experience__caption {
  margin-top: 14px;

  padding: 0 8px;

  font-family: var(--t-headline-font);

  font-size: 18px;
  line-height: 1.35;

  text-align: center;

  color: #1e3053;

  min-height: 52px;

  display: flex;
  align-items: flex-start;
  justify-content: center;
}

@media (max-width: 991px) {
  .tour-experience__title {
    font-size: 32px;
  }

  .tour-experience__slide {
    width: 280px;
  }

  .tour-experience__slide.is-short .tour-experience__card,
  .tour-experience__slide.is-tall .tour-experience__card {
    height: 220px;
  }

  .tour-experience__caption {
    font-size: 14px;
    min-height: 42px;
  }
}

@media (max-width: 576px) {
  .tour-experience {
    padding: 28px 0 60px;
  }

  .tour-experience__title {
    font-size: 28px;
  }

  .tour-experience__slider .swiper-slide,
  .tour-experience__card {
    width: 240px !important;
  }

  .tour-experience__slide.is-short .tour-experience__card,
  .tour-experience__slide.is-tall .tour-experience__card {
    height: 190px;
  }
}

/* Отзывы */

.reviews-section--tour h2 {
  font-family: var(--t-headline-font);
}
.section-title.reviews-page__section-title {
  font-family: var(--t-headline-font) !important;
}
@media (max-width: 768px) {
  .section-title.reviews-page__section-title {
    font-size: 27px;
  }
}
/* О команде */
.team-section {
  padding: 40px 0 80px;
}

.team-section__title {
  margin: 0 0 22px;

  text-align: center;

  font-family: var(--t-headline-font);
  font-size: 38px;
  line-height: 1.1;

  color: #1e3053;
}

.team-section__description {
  max-width: 900px;

  margin: 0 auto 40px;

  text-align: center;

  font-size: 16px;
  line-height: 1.7;

  color: #33456b;
}

.team-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: start;
}

.team-section__items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.team-section__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.team-section__icon {
  flex: 0 0 30px;

  width: 30px;
  height: 30px;
  filter: invert(28%) sepia(95%) saturate(3411%) hue-rotate(192deg)
    brightness(93%) contrast(97%);
}

.team-section__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-section__item-title {
  margin: 0 0 10px;

  font-family: var(--t-headline-font);
  font-size: 22px;
  line-height: 1.2;

  color: #1e3053;
}

.team-section__item-text {
  font-size: 16px;
  line-height: 1.75;

  color: #33456b;
}

.team-section__item-text p:first-child {
  margin-top: 0;
}

.team-section__item-text p:last-child {
  margin-bottom: 0;
}

.team-section__item-text ul {
  margin: 14px 0 0;
  padding-left: 18px;
}
.team-section__item-text ul li {
  list-style-type: disc;
}
.team-section__item-text li + li {
  margin-top: 8px;
}

.team-section__image-wrap {
  position: sticky;
  top: 120px;
}

.team-section__image-wrap img {
  width: 100%;

  border-radius: 24px;

  display: block;

  object-fit: cover;
}

.team-section__caption {
  margin-top: 14px;

  text-align: center;

  font-family: var(--t-headline-font);
  font-size: 18px;
  line-height: 1.35;

  color: #1e3053;
}

@media (max-width: 991px) {
  .team-section__grid {
    grid-template-columns: 1fr;
  }

  .team-section__image-wrap {
    position: relative;
    top: auto;
    order: -1;
  }
}

@media (max-width: 576px) {
  .team-section {
    padding: 28px 0 60px;
  }

  .team-section__title {
    font-size: 28px;
  }

  .team-section__description {
    font-size: 15px;
  }

  .team-section__item {
    gap: 14px;
  }

  .team-section__item-title {
    font-size: 19px;
  }

  .team-section__item-text {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* Ваам может подойти */

.related-tours {
  padding: 40px 0 80px;
}
.related-tours h2 {
  font-family: var(--t-headline-font);
}
@media (max-width: 768px) {
  .related-tours h2 {
    font-size: 28px;
  }
}

/* ============================= */
/* Страница "Все направления"    */
/* ============================= */

.page-napravleniya {
  padding: 140px 0;
  background-color: #e8eaee;
}

.page-napravleniya .page-title {
  font-family: var(--t-headline-font);
  font-size: 38px;
  line-height: 1.2;
  text-align: center;
  color: #1e3053;
  margin-bottom: 48px;
}

.all-directions {
  padding-bottom: 80px;
}

.all-directions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Карточки направления */
.direction-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.direction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.direction-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.direction-card__title {
  font-family: var(--t-headline-font);
  font-size: 22px;
  line-height: 1.2;
  color: #1e3053;
}
.direction-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.direction-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.direction-card__description {
  font-size: 14px;
  color: #33456b;
  margin-bottom: 8px;
  line-height: 1.4;
}
.direction-card__count {
  font-size: 14px;
  line-height: 1.4;
  color: #33456b;
}

/* Адаптив */
@media (max-width: 1200px) {
  .all-directions__grid {
    gap: 20px;
  }
}

@media (max-width: 991px) {
  .page-napravleniya .page-title {
    font-size: 32px;
    margin-bottom: 36px;
  }
  .page-napravleniya {
    padding: 100px 0 150px;
  }
  .all-directions__grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
  }
  .direction-card__image {
    height: 160px;
  }
}

@media (max-width: 576px) {
  .page-napravleniya .page-title {
    font-size: 28px;
    margin-bottom: 28px;
  }
  .all-directions__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .direction-card__image {
    height: 140px;
  }
}

/* Raspisanie */
.schedule-page {
  padding: 140px 0 80px;
}

.schedule-page__title {
  margin: 0 0 10px;
  font-family: var(--t-headline-font);
  font-size: 40px;
  line-height: 1.1;
  color: #1e3053;
  text-align: center;
}

.schedule-page__subtitle {
  max-width: 900px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 16px;
  line-height: 1.65;
  color: #33456b;
}

.schedule-filters {
  position: sticky;
  top: 110px;
  z-index: 20;
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(30, 48, 83, 0.08);
}

.schedule-filters__group {
  display: grid;
  gap: 10px;
}

.schedule-filters__label {
  font-size: 14px;
  font-weight: 700;
  color: #33456b;
}

.schedule-months-nav,
.schedule-directions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.schedule-months-nav__btn,
.schedule-directions__btn {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #f4f7fb;
  color: #1e3053;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.schedule-months-nav__btn:hover,
.schedule-directions__btn:hover,
.schedule-months-nav__btn.is-active,
.schedule-directions__btn.is-active {
  background: var(--color-primary);
  color: #fff;
}

.schedule-months {
  display: block;
}

.schedule-month {
  overflow: hidden;
  margin-bottom: 34px;
  opacity: 1;
  transform: translateY(0);
  height: auto;
  transition: height 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    margin-bottom 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.schedule-month:last-child {
  margin-bottom: 0;
}

.schedule-month__title {
  margin: 0 0 16px;
  font-family: var(--t-headline-font);
  font-size: 26px;
  line-height: 1.2;
  color: #1e3053;
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 0;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(30, 48, 83, 0.08);
  overflow: hidden;
  max-height: 500px;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.28s ease, transform 0.28s ease, margin 0.28s ease,
    padding 0.28s ease, border-width 0.28s ease;
}

.schedule-card:hover {
  transform: translateY(-3px);
}
.schedule-card__top {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(140px, 0.55fr)
    minmax(112px, 0.36fr)
    minmax(73px, 0.18fr)
    minmax(105px, 0.32fr)
    150px;
  align-items: center;
  gap: 16px;
}
.schedule-card__tour {
  min-width: 0;
  padding-right: 18px;
  border-right: 1px solid rgba(30, 48, 83, 0.08);
}
.schedule-card__dates,
.schedule-card__status,
.schedule-card__price,
.schedule-card__guide,
.schedule-card__action {
  flex-shrink: 0;
}
.schedule-card__tour-title {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 8px;
  font-family: var(--t-headline-font);
  font-size: 22px;
  line-height: 1.2;
  color: #1e3053;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.schedule-card__guide {
  align-self: center;
  font-size: 14px;
  line-height: 1.45;
  color: #667085;
}
.schedule-card__guide-label {
  font-weight: 700;
  color: #1e3053;
}
.schedule-card__tour-meta {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  color: #667085;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-card__dates {
  font-family: var(--t-headline-font);
  font-size: 16px;
  line-height: 1.35;
  color: #1e3053;
}

.schedule-card__status {
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 0;
  padding: 0 8px;
  width: 100%;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.schedule-card__status--available {
  background: rgba(18, 183, 106, 0.12);
  color: #157f47;
}

.schedule-card__status--few {
  background: rgba(255, 153, 0, 0.12);
  color: #b25b00;
}

.schedule-card__status--full {
  background: rgba(15, 22, 35, 0.08);
  color: #667085;
}

.schedule-card__price {
  display: grid;
  gap: 4px;
  justify-items: start;
  min-width: 0;
}

.schedule-card__old-price {
  font-size: 13px;
  color: #98a2b3;
  text-decoration: line-through;
}

.schedule-card__current-price {
  font-family: var(--t-headline-font);
  font-size: 18px;
  color: #1e3053;
}

.schedule-card__btn {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.25s ease;
}

.schedule-card__btn:hover {
  background: #1e3053;
}

.schedule-card__btn.is-disabled {
  background: #e9edf2;
  color: #8a94a6;
  cursor: not-allowed;
}
.schedule-card__action {
  justify-self: end;
  width: 150px;
  margin-left: 0;
}

.instructor-schedule .schedule-card__top {
  grid-template-columns:
    minmax(0, 1.7fr)
    minmax(150px, 0.55fr)
    minmax(116px, 0.35fr)
    minmax(86px, 0.2fr)
    150px;
}

.instructor-schedule .schedule-card__action {
  grid-column: auto;
  justify-self: end;
}

.schedule-month.is-hidden {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  margin-bottom: 0;
  height: 0 !important;
}

.schedule-card__guide-name {
  margin-top: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #667085;
}
.schedule-card.is-hidden {
  display: none;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  pointer-events: none;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  height: 0;
}

@media (max-width: 1200px) {
  .schedule-page__title {
    font-size: 32px;
  }
  .schedule-card {
    padding: 16px;
    border-radius: 18px;
  }

  .schedule-card__top {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    align-items: stretch;
    gap: 10px;
  }
  .schedule-card__tour {
    flex: 0 1 auto;
    width: 100%;
    max-width: 100%;

    border-right: 0;
    padding-right: 0;
    padding-bottom: 10px;

    border-bottom: 1px solid rgba(30, 48, 83, 0.08);
  }
  .schedule-card__dates,
  .schedule-card__status,
  .schedule-card__price,
  .schedule-card__guide,
  .schedule-card__action {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .schedule-card__tour-title {
    font-size: 18px;
  }
  .schedule-card__status {
    justify-content: center;
  }
  .schedule-card__guide,
  .schedule-card__guide-name {
    justify-self: start;
    text-align: left;
  }
  .schedule-card__dates {
    font-size: 15px;
  }

  .schedule-card__current-price {
    font-size: 20px;
  }

  .schedule-card__action {
    justify-self: stretch;
    margin-left: 0;
  }

  .schedule-card__btn {
    width: 100%;
  }
}
@media (max-width: 568px) {
  .schedule-filters {
    position: relative;
    top: 0;
  }
}
/* Маршрут тура */
.tour-map {
  padding: 40px 0 80px;
}

.tour-map__head {
  margin-bottom: 24px;
}

.tour-map__title {
  margin: 0;

  text-align: center;

  font-family: var(--t-headline-font);
  font-size: 38px;
  line-height: 1.15;

  color: #1e3053;
}

.tour-map__frame {
  overflow: hidden;

  border-radius: 28px;

  background: #fff;

  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);

  border: 1px solid rgba(30, 48, 83, 0.08);
}

.tour-map__frame iframe {
  display: block;

  width: 100%;

  height: 600px;

  border: 0;
}
@media (max-width: 991px) {
  .tour-map {
    padding: 32px 0 64px;
  }

  .tour-map__title {
    font-size: 30px;
  }

  .tour-map__frame iframe {
    height: 420px;
  }
}

@media (max-width: 576px) {
  .tour-map {
    padding: 28px 0 52px;
  }

  .tour-map__title {
    font-size: 26px;
  }

  .tour-map__frame {
    border-radius: 18px;
  }

  .tour-map__frame iframe {
    height: 320px;
  }
}

/* Путводитель */
.guide-page {
  padding: 140px 0;
}

.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.guide-tabs__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #719ac8;
  border-radius: 999px;
  background: #fff;
  color: #719ac8;
  font-size: 15px;
  line-height: 1;
  transition: 0.25s ease;
}

.guide-tabs__link:hover,
.guide-tabs__link.active {
  background: #719ac8;
  color: #fff;
}

.guide-content {
  padding-top: 28px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1100px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .guide-tabs {
    gap: 10px;
    margin-top: 22px;
  }

  .guide-tabs__link {
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }

  .guide-content {
    padding-top: 22px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .guide-page {
    padding: 100px 0 44px;
  }

  .guide-tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .guide-tabs__link {
    width: 100%;
    min-height: 44px;
  }
}

.article-page {
  padding-bottom: 80px;
}

.article-hero {
  padding: 100px 0 32px;
  text-align: center;
}
.article-hero .container-lg {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.article-hero__back {
  display: inline-flex;
  margin-bottom: 14px;
  color: #719ac8;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.article-hero__back:hover {
  color: var(--color-dark);
}
.article-hero__category {
  display: inline-flex;
  margin-bottom: 18px;
  color: #719ac8;
  font-size: 15px;
  font-weight: 600;
}

.article-hero__title {
  max-width: 1040px;
  margin: 0;
  font-family: var(--t-headline-font);
  font-size: 48px;
  line-height: 1.05;
  color: #1e3053;
}

.article-hero__meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: #719ac8;
  font-size: 14px;
}

.article-cover {
  padding: 12px 0 40px;
}

.article-cover__image {
  max-width: 620px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

.article-cover__image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-content-section {
  padding: 20px 0 60px;
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
  color: #1e3053;
  font-size: 18px;
  line-height: 1.75;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 42px 0 16px;
  font-family: "Doulos", serif;
  line-height: 1.15;
  color: #1e3053;
}

.article-content h2 {
  font-size: 36px;
}

.article-content h3 {
  font-size: 28px;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin: 0 0 20px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
}

.article-content ul li {
  list-style: disc;
}

.article-content ol li {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content a {
  color: #719ac8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.article-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid #719ac8;
  background: #f2f2f5;
  border-radius: 0 16px 16px 0;
  color: #33456b;
}

.article-related {
  padding-top: 20px;
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1100px) {
  .article-hero__title {
    font-size: 46px;
  }

  .article-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .article-page {
    padding-bottom: 56px;
  }

  .article-hero__title {
    font-size: 34px;
  }

  .article-cover__image {
    border-radius: 16px;
  }

  .article-content {
    font-size: 16px;
    line-height: 1.7;
  }

  .article-content h2 {
    font-size: 28px;
  }

  .article-content h3 {
    font-size: 24px;
  }

  .article-related__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* FAQ Page */
.faq-page .faq-section {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
}

.faq-section--page {
  padding-top: 120px;
  padding-bottom: 100px;
}

.faq-page__empty {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 18px;
  text-align: center;
}
.faq_page_title {
  font-family: var(--t-headline-font);
}

.faq-section__subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  color: #fff;
}
@media (max-width: 768px) {
  .faq-page .faq-section {
    min-height: auto;
    align-items: flex-start;
  }

  .faq-section--page {
    padding-bottom: 64px;
  }
}

/* Инструкторы */
.instructors-page {
  padding-bottom: 90px;
}

.instructors-hero {
  padding: 140px 0 36px;
}

.instructors-list-section {
  padding: 28px 0 70px;
}

.instructors-list {
  display: grid;
  gap: 28px;
}

.instructor-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 50%);
  min-height: 406px;
  max-height: 470px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--color-primary);
  color: #fff;
}

.instructor-card--accent {
  background: var(--color-dark);
}

.instructor-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}

.instructor-card__name {
  margin: 0;
  font-family: var(--t-headline-font);
  font-size: 30px;
  line-height: 1.1;
}

.instructor-card__position {
  max-width: 360px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.45;
}

.instructor-card--accent .instructor-card__position {
  color: rgba(255, 255, 255, 0.86);
}

.instructor-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 34px;
  margin-top: 24px;
}
.instructor-card__stat {
  min-width: 0;
}
.instructor-card__stat-value {
  font-family: var(--t-headline-font);
  font-size: 26px;
  line-height: 1;
}

.instructor-card__stat-label {
  width: 100%;
  max-width: none;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.35;
}

.instructor-card--accent .instructor-card__stat-label {
  color: rgba(255, 255, 255, 0.82);
}

.instructor-card__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.45;
}

.instructor-card__label {
  font-weight: 700;
}

.instructor-card--accent .instructor-card__text {
  color: rgba(255, 255, 255, 0.86);
}

.instructor-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}

.instructor-card__link {
  padding: 0;
  border: 0;
  display: inline-block;
  background: transparent;
  color: inherit;
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.3s;
}
.instructor-card__link:hover {
  color: var(--color-dark);
}

.instructor-card--accent .instructor-card__link:hover {
  color: var(--color-primary);
}

.instructor-card__link--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 12px;
  color: var(--color-dark);
  text-decoration: none;
  transition: all 0.3s;
  background: #fff;
}
.instructor-card__link--primary:hover {
  color: var(--color-primary);
}
.instructor-card--accent .instructor-card__link--primary:hover {
  background-color: var(--color-primary);
  color: #fff;
}
.instructor-card--accent .instructor-card__link--primary {
  background: #fff;
  color: var(--color-dark);
}

.instructor-card__image {
  display: block;
  min-height: 100%;
  overflow: hidden;
}

.instructor-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-card__decor {
  position: absolute;
  right: 0;
  bottom: -27%;
  z-index: -1;
  max-width: 260px;
  pointer-events: none;
}

.instructor-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
}

.instructor-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.instructor-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 35, 0.78);
}

.instructor-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100vw - 48px));
  max-height: min(680px, calc(100vh - 96px));
  padding: 34px;
  border-radius: 24px;
  overflow: auto;
  background: #fff;
  color: #1e3053;
}

.instructor-modal__dialog--video {
  width: min(920px, calc(100vw - 48px));
  padding: 0;
  overflow: visible;
  background: transparent;
}
.instructor-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1e3053;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.instructor-modal__close:hover {
  background: var(--color-primary);
  color: #fff;
}
.instructor-modal__dialog--video {
  overflow: visible;
}

.instructor-modal__dialog--video .instructor-modal__close {
  top: -52px;
  right: 0;
}
.instructor-modal__title {
  font-family: var(--t-headline-font);
  font-size: 30px;
  text-align: center;
}
.instructor-modal__content {
  padding: 15px;
}
.instructor-modal__content {
  font-size: 17px;
  line-height: 1.65;
  color: #33456b;
  white-space: pre-line;
}
.instructor-modal__content ul li {
  list-style: disc;
}
.instructor-modal__content ul ol {
  list-style: decimal;
}

.instructor-modal__video {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}
.instructor-modal__video video {
  width: 100%;
  max-height: calc(100vh - 120px);
  display: block;
  background: #000;
}

@media (max-width: 900px) {
  .instructor-card {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: none;
  }

  .instructor-card__image {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .instructor-card__content {
    padding: 26px;
  }
}
@media (max-width: 768px) {
  .instructor-modal {
    padding: 8px;
  }

  .instructor-modal__dialog {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    padding: 28px 20px 22px;
    border-radius: 18px;
  }

  .instructor-modal__dialog--video {
    width: calc(100% - 16px);
    padding: 0;
  }

  .instructor-modal__close {
    top: 8px;
    right: 8px;
  }

  .instructor-modal__video {
    border-radius: 18px;
  }
}
@media (max-width: 640px) {
  .instructors-page {
    padding-bottom: 56px;
  }

  .instructors-hero {
    padding: 100px 0 0;
  }

  .instructors-list-section {
    padding: 22px 0 48px;
  }

  .instructors-list {
    gap: 18px;
  }

  .instructor-card {
    border-radius: 16px;
    min-height: 0;
  }

  .instructor-card__image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .instructor-card__name {
    font-size: 24px;
    line-height: 1.15;
  }

  .instructor-card__stats {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
  }

  .instructor-card__row {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 14px;
  }

  .instructor-card__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .instructor-card__link--primary {
    width: 100%;
  }

  .instructor-card__decor {
    display: none;
  }
}

.instructor-single {
  padding-bottom: 90px;
}

.instructor-single__hero {
  padding: 92px 0 34px;
}

.instructor-single__back {
  display: inline-flex;
  margin-bottom: 26px;
  color: #719ac8;
  font-size: 14px;
  font-weight: 700;
}

.instructor-single__back:hover {
  color: #1e3053;
}

.instructor-single__position {
  max-width: 680px;
  margin-bottom: 12px;
  color: #719ac8;
  line-height: 1.45;
  font-weight: 600;
}

.instructor-single__title {
  max-width: 980px;
  margin: 0;
  font-family: var(--t-headline-font);
  font-size: 32px;
  line-height: 1.45;
  color: #1e3053;
}

.instructor-single__content-section {
  padding: 16px 0 70px;
}

.instructor-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.instructor-single__media {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.instructor-single__slider {
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #f4f6f8;
  border-radius: 20px;
}

.instructor-single__slider .swiper-wrapper,
.instructor-single__slider .swiper-slide {
  height: 100%;
}

.instructor-single__photo {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  display: block;
  cursor: zoom-in;
}

.instructor-single__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.instructor-single__photo:hover img {
  transform: scale(1.03);
}

.instructor-single__prev,
.instructor-single__next {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1e3053 !important;
  cursor: pointer;
  transform: translateY(-50%);
}

.instructor-single__prev::after,
.instructor-single__next::after {
  font-size: 30px !important;
  font-weight: 700;
}

.instructor-single__prev {
  left: 14px;
}

.instructor-single__next {
  right: 14px;
}

.instructor-single__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: auto;
  padding: 5px 0;
  scrollbar-width: none;
}

.instructor-single__thumbs::-webkit-scrollbar {
  display: none;
}

.instructor-single__thumb {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f6f8;
  cursor: pointer;
  opacity: 0.85;
  transition: 0.25s ease;
}

.instructor-single__thumb:hover,
.instructor-single__thumb.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.instructor-single__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instructor-single__info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.instructor-single__info-block {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(113, 154, 200, 0.28);
}

.instructor-single__info-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.instructor-single__info-title {
  margin: 0 0 10px;
  font-family: var(--t-headline-font);
  font-size: 28px;
  line-height: 1.15;
  color: #1e3053;
}

.instructor-single__info-text {
  color: #33456b;
  font-size: 17px;
  line-height: 1.72;
}

.instructor-single__info-text p,
.instructor-single__info-text ul,
.instructor-single__info-text ol {
  margin: 0 0 16px;
}

.instructor-single__info-text ul {
  padding-left: 22px;
  list-style: disc;
}

.instructor-single__info-text ol {
  padding-left: 22px;
  list-style: decimal;
}

.instructor-single__info-text li {
  margin-bottom: 8px;
}

.instructor-single__info-text strong {
  color: #1e3053;
}

@media (max-width: 1100px) {
  .instructor-single__title {
    font-size: 28px;
  }

  .instructor-single__grid {
    gap: 28px;
  }

  .instructor-single__slider {
    height: 420px;
  }
}

@media (max-width: 900px) {
  .instructor-single__grid {
    grid-template-columns: 1fr;
  }

  .instructor-single__media {
    position: static;
  }

  .instructor-single__slider {
    height: 440px;
  }
}

@media (max-width: 640px) {
  .instructor-single {
    padding-bottom: 60px;
  }

  .instructor-single__back {
    margin-bottom: 18px;
  }

  .instructor-single__position {
    font-size: 15px;
  }

  .instructor-single__title {
    font-size: 24px;
  }

  .instructor-single__content-section {
    padding: 8px 0 52px;
  }

  .instructor-single__slider {
    height: 300px;
  }

  .instructor-single__thumbs {
    display: none;
  }

  .instructor-single__prev,
  .instructor-single__next {
    display: none;
  }

  .instructor-single__info {
    gap: 18px;
  }

  .instructor-single__info-title {
    font-size: 24px;
  }

  .instructor-single__info-text {
    font-size: 16px;
    line-height: 1.65;
  }
}
.instructor-banner-section {
  padding: 10px 0 70px;
}

.instructor-banner {
  border-radius: 20px;
  background: #1e3054;
  padding: 52px 58px;
  color: #fff;
}

.instructor-banner__title {
  margin: 0;
  font-family: var(--t-headline-font);
  font-size: 32px;
  line-height: 1.4;
  text-align: center;
}

.instructor-banner__text {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.instructor-banner__text p {
  margin: 0 0 16px;
}

.instructor-banner__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .instructor-banner-section {
    padding: 0 0 52px;
  }

  .instructor-banner {
    padding: 34px 24px;
    border-radius: 16px;
  }

  .instructor-banner__title {
    font-size: 24px;
  }

  .instructor-banner__text {
    font-size: 16px;
    line-height: 1.65;
  }
}

.instructor-video-section {
  padding: 0 0 80px;
}

.instructor-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
  margin: 0 auto;
}

.instructor-video-grid__image,
.instructor-video-grid__video {
  aspect-ratio: 16 / 10;
  max-height: 620px;
  overflow: hidden;
  border-radius: 20px;
  background: #f2f2f5;
}

.instructor-video-grid__image img,
.instructor-video-grid__video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.instructor-video-grid__video {
  background: #000;
}

@media (max-width: 900px) {
  .instructor-video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .instructor-video-grid__image,
  .instructor-video-grid__video {
    max-height: none;
  }
}

@media (max-width: 640px) {
  .instructor-video-section {
    padding-bottom: 40px;
  }

  .instructor-video-grid {
    gap: 18px;
  }

  .instructor-video-grid__image,
  .instructor-video-grid__video {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }
}

/* Review card page and reviews page */

/* Reviews page */
.reviews-page {
  padding: 140px 0 80px;
}

.reviews-hero {
  margin-bottom: 28px;
}

.reviews-hero__top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(30, 48, 83, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.reviews-page__title {
  margin: 0 0 12px;
  font-family: var(--t-headline-font);
  font-size: 40px;
  line-height: 1.1;
  color: #1e3053;
}

.reviews-page__text {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: #33456b;
}

.reviews-page__rating {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(113, 154, 200, 0.1);
}

.reviews-page__rating-value {
  font-family: var(--t-headline-font);
  font-size: 38px;
  line-height: 1;
  color: #1e3053;
}

.reviews-page__rating-info {
  display: grid;
  gap: 4px;
}

.reviews-page__stars {
  font-size: 18px;
  letter-spacing: 2px;
  color: #ffb100;
}

.reviews-page__rating-count {
  font-size: 14px;
  color: #667085;
}

.reviews-page__btn {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
  white-space: nowrap;
}

.reviews-page__btn:hover {
  background: #1e3053;
}

.reviews-content {
  position: relative;
}

.reviews-filters {
  position: sticky;
  top: 110px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 48, 83, 0.08);
}

.reviews-filter {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #f4f7fb;
  color: #1e3053;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.reviews-filter:hover,
.reviews-filter.is-active {
  background: var(--color-primary);
  color: #fff;
}

.reviews-list {
  display: grid;
  gap: 24px;
}

/* Card */
.reviews-page-card {
  border: 1px solid #a9b7c9;
  border-radius: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reviews-page-card__inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: flex-start;
}

.reviews-page-card__image {
  position: relative;
  width: 360px;
  min-width: 360px;
  height: 320px;
  overflow: hidden;
  border-radius: 20px;
  background: #f4f6f8;
  flex-shrink: 0;
}

.reviews-page-card__image img,
.reviews-page-card__placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.reviews-page-card__placeholder {
  background: #eef2f6;
}

.reviews-page-card__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.reviews-page-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.reviews-page-card__author-wrap {
  min-width: 0;
}

.reviews-page-card__author {
  margin: 0 0 6px;
  font-family: var(--t-headline-font);
  font-size: 26px;
  line-height: 1.2;
  color: #1e3053;
}

.reviews-page-card__tour,
.reviews-page-card__tour a {
  font-size: 16px;
  line-height: 1.4;
}
.reviews-page-card__tour a {
  transition: 0.25s ease;
}
.reviews-page-card__tour a:hover {
  color: var(--color-primary);
}

.reviews-page-card__date {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #667085;
  white-space: nowrap;
}

.reviews-page-card__rating {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1;
  color: #c7d0db;
}

.reviews-page-card__rating .is-active {
  color: #ffb100;
}

.reviews-page-card__instructor {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.reviews-page-card__instructor-label {
  font-weight: 700;
  color: #1e3053;
}

.reviews-page-card__instructor-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 4px;
}

.reviews-page-card__instructor-separator {
  color: #667085;
}

.reviews-page-card__instructor-name {
  color: #667085;
  transition: 0.25s ease;
}
.reviews-page-card__instructor-name:hover {
  color: var(--color-primary);
}
.reviews-page-card__short {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #1e3053;
}

.reviews-page-card__text {
  position: relative;
  margin-top: 18px;
  padding-top: 18px;
  padding-right: 8px;
  max-height: 150px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.65;
  color: #33456b;
  border-top: 1px solid rgba(30, 48, 83, 0.08);
  transition: max-height 0.45s ease;
}

.reviews-page-card.is-open .reviews-page-card__text {
  max-height: 1000px;
}

.reviews-page-card__text::after {
  content: "";
  position: sticky;
  bottom: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.reviews-page-card.has-overflow .reviews-page-card__text::after {
  display: block;
}

.reviews-page-card.is-open .reviews-page-card__text::after {
  display: none;
}

.reviews-page-card__text p {
  margin: 0 0 12px;
}

.reviews-page-card__text ul {
  margin: 12px 0;
  padding-left: 20px;
}

.reviews-page-card__text li + li {
  margin-top: 6px;
}

.reviews-page-card__more {
  margin-top: 14px;
  align-self: flex-start;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.reviews-page-card__more:hover {
  color: var(--color-dark);
}

.reviews-page-card__text::-webkit-scrollbar {
  width: 6px;
}

.reviews-page-card__text::-webkit-scrollbar-thumb {
  background: #c2cfdd;
  border-radius: 999px;
}

@media (max-width: 992px) {
  .reviews-page {
    padding: 120px 0 64px;
  }

  .reviews-hero__top {
    flex-direction: column;
    padding: 22px;
  }

  .reviews-page__title {
    font-size: 32px;
  }

  .reviews-filters {
    top: 80px;
  }

  .reviews-page-card__inner {
    grid-template-columns: 1fr;
  }

  .reviews-page-card__image {
    width: 100%;
    min-width: 0;
    height: 260px;
  }

  .reviews-page-card__author {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .reviews-page {
    padding: 108px 0 52px;
  }

  .reviews-hero__top {
    padding: 18px;
    border-radius: 20px;
  }

  .reviews-page__title {
    font-size: 26px;
  }

  .reviews-page__text {
    font-size: 14px;
  }

  .reviews-page__rating {
    width: 100%;
    justify-content: space-between;
    margin-top: 18px;
  }

  .reviews-page-card {
    padding: 16px;
    border-radius: 18px;
  }

  .reviews-page-card__top {
    flex-direction: column;
  }

  .reviews-page-card__date {
    white-space: normal;
  }

  .reviews-page-card__image {
    height: 220px;
  }

  .reviews-page-card__author {
    font-size: 22px;
  }

  .reviews-page-card__short,
  .reviews-page-card__text {
    font-size: 14px;
  }

  .reviews-page-card__text {
    max-height: 130px;
  }
}
/* REVIEW FORM MODAL */
.review-form-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: 0.25s ease;
}

.review-form-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.review-form-modal__overlay {
  position: absolute;
  inset: 0;

  background: rgba(15, 22, 35, 0.65);
}

.review-form-modal__dialog {
  position: relative;
  z-index: 2;

  width: 760px;
  max-height: calc(100vh - 40px);

  border-radius: 24px;
  background: #fff;

  overflow: hidden;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);

  transform: translateY(14px) scale(0.98);
  transition: transform 0.3s ease;
}

.review-form-modal.is-open .review-form-modal__dialog {
  transform: translateY(0) scale(1);
}

.review-form-modal__inner {
  padding: 30px;
  overflow-y: auto;
  max-height: calc(100vh - 40px);
}

.review-form-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 42px;
  height: 42px;

  border: 0;
  border-radius: 50%;

  background: var(--color-primary);
  color: #fff;

  font-size: 26px;
  line-height: 1;

  cursor: pointer;

  transition: 0.25s ease;
}

.review-form-modal__close:hover {
  background: var(--color-dark);
}

.review-form-modal__title {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--t-headline-font);
  font-size: 28px;
  line-height: 1.08;

  color: #1e3053;
}

/* FORM */
.review-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.review-form__field {
  display: flex;
  flex-direction: column;
}

.review-form__label {
  margin-bottom: 10px;

  font-size: 15px;
  font-weight: 700;

  color: #1e3053;
}

.review-form__field input[type="text"],
.review-form__field select,
.review-form__field textarea,
.review-form__field input[type="file"] {
  width: 100%;

  border: 1px solid rgba(30, 48, 83, 0.12);
  border-radius: 14px;

  background: #fff;

  font-size: 15px;
  color: #1e3053;

  transition: 0.25s ease;
}

.review-form__field input[type="text"],
.review-form__field select {
  height: 60px;
  padding: 0 18px;
}

.review-form__field textarea {
  min-height: 170px;
  padding: 16px 18px;

  resize: vertical;
}

.review-form__field input[type="file"] {
  padding: 14px 16px;
}

.review-form__field input:focus,
.review-form__field select:focus,
.review-form__field textarea:focus {
  outline: none;

  border-color: var(--color-primary);

  box-shadow: 0 0 0 4px rgba(113, 154, 200, 0.12);
}

.review-form__field select {
  appearance: none;

  background-image: linear-gradient(45deg, transparent 50%, #719ac8 50%),
    linear-gradient(135deg, #719ac8 50%, transparent 50%);

  background-position: calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);

  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.review-form__error {
  min-height: 16px;
  margin-top: 6px;
  font-size: 13px;
  color: #e53935;
}

.review-form .is-error {
  border-color: #e53935 !important;
}

/* CHECKBOX */
.review-form__checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;

  margin-top: 4px;

  font-size: 14px;
  line-height: 1.45;

  color: #667085;
}

.review-form__checkbox input {
  margin-top: 4px;
  accent-color: var(--color-primary);
}

.review-form__checkbox a {
  color: #1e3053;
  text-decoration: underline;
}

/* BUTTON */
.review-form__submit {
  min-height: 58px;

  margin-top: 6px;

  border: 0;
  border-radius: 16px;

  background: var(--color-primary);
  color: #fff;

  font-size: 16px;
  font-weight: 700;

  cursor: pointer;

  transition: 0.25s ease;
}

.review-form__submit:hover {
  background: var(--color-dark);
  transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 820px) {
  .review-form-modal {
    padding: 10px;
  }

  .review-form-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 20px;
  }

  .review-form-modal__inner {
    padding: 22px 18px 20px;
  }

  .review-form-modal__title {
    font-size: 30px;
    padding-right: 40px;
  }

  .review-form__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .review-form-modal {
    align-items: flex-start;
    overflow-y: auto;
  }

  .review-form-modal__dialog {
    margin: auto 0;
    border-radius: 18px;
  }

  .review-form-modal__title {
    margin-bottom: 20px;

    font-size: 24px;
    line-height: 1.2;
  }

  .review-form-modal__close {
    width: 36px;
    height: 36px;

    font-size: 22px;
  }

  .review-form__field input[type="text"],
  .review-form__field select {
    height: 54px;
    padding: 0 14px;
    font-size: 14px;
  }

  .review-form__field textarea {
    min-height: 140px;
    padding: 14px;
    font-size: 14px;
  }

  .review-form__submit {
    min-height: 54px;
    font-size: 15px;
  }

  .review-form__checkbox {
    font-size: 13px;
  }
}
/* REVIEW SUCCESS */
.reviews-success {
  padding: 20px 0;
}

.reviews-success__inner {
  display: flex;
  align-items: center;
  gap: 18px;

  padding: 22px 24px;

  border-radius: 22px;

  background: linear-gradient(
    135deg,
    rgba(18, 183, 106, 0.08),
    rgba(113, 154, 200, 0.08)
  );

  border: 1px solid rgba(18, 183, 106, 0.16);
}

.reviews-success__icon {
  width: 56px;
  height: 56px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: #12b76a;
  color: #fff;

  font-size: 28px;
  font-weight: 700;
}

.reviews-success__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reviews-success__title {
  font-family: var(--t-headline-font);
  font-size: 24px;
  line-height: 1.1;

  color: #1e3053;
}

.reviews-success__text {
  font-size: 15px;
  line-height: 1.5;

  color: #667085;
}

@media (max-width: 576px) {
  .reviews-success__inner {
    padding: 18px;
    align-items: flex-start;
  }

  .reviews-success__icon {
    width: 48px;
    height: 48px;

    font-size: 22px;
  }

  .reviews-success__title {
    font-size: 20px;
  }

  .reviews-success__text {
    font-size: 14px;
  }
}

/* About */
/* ABOUT HERO */
.about-hero {
  position: relative;
  min-height: 100vh;

  display: flex;
  align-items: center;

  padding: 120px 0 80px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  overflow: hidden;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 35, 0.55);
}

.about-hero .container-lg {
  position: relative;
  z-index: 2;
}

.about-hero__content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.about-hero__title {
  margin-bottom: 28px;

  font-family: var(--t-headline-font);
  font-size: 52px;
  line-height: 1.05;

  color: #fff;
}

.about-hero__text {
  font-size: 18px;
  line-height: 1.7;

  color: rgba(255, 255, 255, 0.92);
}

/* VALUES */
.about-values {
  position: relative;
  padding: 120px 0 40px 0;
  overflow: hidden;
}

.about-values__head {
  display: flex;
  justify-content: space-between;
  gap: 40px;

  margin-bottom: 80px;
}

.about-values__quote {
  max-width: 360px;

  font-size: 18px;
  line-height: 1.7;

  color: #667085;
}

.about-values__line {
  position: absolute;
  top: 470px;
  left: -15%;
  right: 0;

  display: flex;
  justify-content: center;

  pointer-events: none;
  opacity: 0.45;
}

.about-values__line svg {
  width: 520px;
  height: auto;
}

.about-values__list {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-value-card {
  display: flex;
  align-items: center;
  gap: 40px;

  max-width: 720px;

  padding: 34px;

  border-radius: 34px;
  background: #fff;

  border: 1px solid rgba(30, 48, 83, 0.08);

  box-shadow: 0 20px 50px rgba(15, 22, 35, 0.06);
}

.about-value-card:nth-child(odd) {
  margin-left: auto;
}

.about-value-card__image {
  width: 260px;
  height: 260px;

  flex-shrink: 0;

  border-radius: 50%;
  overflow: hidden;
}

.about-value-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-value-card__content {
  flex: 1;
}

.about-value-card__title {
  margin-bottom: 18px;

  font-family: var(--t-headline-font);
  font-size: 26px;
  line-height: 1.15;

  color: #1e3053;
}

.about-value-card__text {
  font-size: 14px;
  line-height: 1.8;

  color: #475467;
}

@media (max-width: 992px) {
  .about-hero {
    min-height: auto;
    padding: 140px 0 80px;
    background-attachment: scroll;
  }

  .about-hero__title {
    font-size: 52px;
  }

  .about-values {
    padding: 80px 0;
  }

  .about-values__head {
    flex-direction: column;
    margin-bottom: 50px;
  }

  .about-value-card {
    flex-direction: column;
    text-align: center;
  }

  .about-value-card__image {
    width: 220px;
    height: 220px;
  }

  .about-values__line {
    display: none;
  }
}

@media (max-width: 576px) {
  .about-hero__title {
    font-size: 36px;
  }

  .about-hero__text {
    font-size: 16px;
    line-height: 1.7;
  }

  .about-values {
    padding: 60px 0;
  }

  .about-value-card {
    gap: 24px;
    padding: 22px;
    border-radius: 24px;
  }

  .about-value-card__title {
    font-size: 28px;
  }

  .about-value-card__text {
    font-size: 15px;
    line-height: 1.7;
  }

  .about-value-card__image {
    width: 180px;
    height: 180px;
  }
}

/* Goals */
.about-goals {
  padding: 40px 0;
}

.about-goals__head {
  margin-bottom: 50px;
}

.about-goals__title {
  max-width: 980px;

  margin: 0;

  font-size: 41px;
  line-height: 1.08;
}

.about-goals__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-goal-card {
  padding: 42px;

  border-radius: 28px;

  background: #fff;

  min-height: 250px;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-goal-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 50px rgba(17, 35, 62, 0.08);
}

.about-goal-card__title {
  margin: 0 0 24px;
  font-family: var(--t-headline-font);
  font-size: 26px;
  line-height: 1.2;
}

.about-goal-card__text {
  font-size: 17px;
  line-height: 1.7;

  color: #46597d;
}

@media (max-width: 992px) {
  .about-goals {
    padding: 90px 0;
  }

  .about-goals__title {
    font-size: 34px;
  }

  .about-goal-card {
    padding: 34px;
  }

  .about-goal-card__title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .about-goals__grid {
    grid-template-columns: 1fr;
  }

  .about-goals__title {
    font-size: 28px;
  }

  .about-goal-card {
    min-height: auto;
  }
}

@media (max-width: 576px) {
  .about-goals {
    padding: 70px 0;
  }

  .about-goals__title {
    font-size: 24px;
    line-height: 1.15;
  }

  .about-goal-card {
    padding: 24px;
    border-radius: 22px;
  }

  .about-goal-card__title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .about-goal-card__text {
    font-size: 15px;
    line-height: 1.65;
  }
}
.about-marquee {
  padding: 80px 0 100px;

  overflow: hidden;
}
.about-marquee__head {
  margin-bottom: 42px;
  text-align: center;
}

.about-marquee__title {
  margin: 0;

  font-size: 41px;
  line-height: 1.08;
}

@media (max-width: 768px) {
  .about-marquee__title {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .about-marquee__title {
    font-size: 22px;
    line-height: 1.15;
  }
}
.about-marquee__row {
  display: flex;

  width: max-content;

  animation: marqueeLeft 45s linear infinite;

  margin-bottom: 18px;
}

.about-marquee__row--reverse {
  animation: marqueeRight 55s linear infinite;
}

.about-marquee__track {
  display: flex;
  gap: 14px;
}

.about-marquee__track span {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 42px;

  padding: 0 22px;

  border: 1px solid #b8c6d8;
  border-radius: 999px;

  white-space: nowrap;

  font-size: 14px;
  font-weight: 600;

  color: #1e3053;

  background: #fff;
}

@keyframes marqueeLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes marqueeRight {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (max-width: 576px) {
  .about-marquee {
    padding: 60px 0 80px;
  }

  .about-marquee__track span {
    height: 38px;
    padding: 0 18px;
    font-size: 13px;
  }
}

.contacts-page {
  padding: 140px 0 80px;
  background: #e8eaee;
}

.contacts-hero {
  margin-bottom: 28px;
}

.contacts-page__title {
  margin: 0 0 12px;
  font-family: var(--t-headline-font);
  font-size: 40px;
  text-align: center;
  line-height: 1.1;
  color: #1e3053;
}

.contacts-page__text {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: #33456b;
}

.contacts-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;

  padding: 28px;
  border-radius: 28px;
  background: var(--color-dark);
  border: 1px solid rgba(30, 48, 83, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}
.contacts-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/cta-dashed.svg");
  top: 18%;
  left: -5%;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
}
.contacts-card__left {
  padding: 28px;
  border-radius: 24px;
  color: #fff;
}

.contacts-card__section-title {
  margin-bottom: 12px;
  font-family: var(--t-headline-font);
  font-size: 32px;
  line-height: 1.15;
}

.contacts-card__subtitle {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.contacts-card__list {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}
.contacts-card__socials {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.contacts-card__socials a {
  width: 56px;
  height: 56px;
  color: #729ac8;
  transition: 0.25s ease;
}

.contacts-card__socials a:hover {
  transform: translateY(-2px);
  color: #fff;
}

.contacts-card__socials .social-icon {
  width: 100%;
  height: 100%;
}

.contacts-card__left > .site-socials {
  gap: 14px;
  margin-top: 34px;
}

.contacts-card__left > .site-socials a {
  width: 40px;
  height: 40px;
}

.contacts-card__left > .site-socials a:hover {
  color: #fff;
}

.contacts-card__left > .site-socials a:hover .social-icon {
  color: #fff;
}

.contacts-card__left > .site-socials .social-icon {
  width: 100%;
  height: 100%;
}

.contacts-card__link {
  position: relative;
  display: inline-flex;
  width: fit-content;
  font-family: "Ahellya", sans-serif;
  color: #fff;
  font-size: 20px;
  transition: color 0.25s ease;
}

.contacts-card__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: #729ac8;
  transition: 0.25s ease;
}

.contacts-card__link:hover {
  color: #729ac8;
}

.contacts-card__link:hover::after {
  width: 100%;
}

.contacts-card__address {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.contacts-card__right {
  padding: 8px 0;
}

@media (max-width: 1100px) {
  .contacts-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contacts-page {
    padding: 120px 0 64px;
  }

  .contacts-page__title {
    font-size: 32px;
  }

  .contacts-card {
    padding: 18px;
    border-radius: 22px;
  }

  .contacts-card__left {
    padding: 22px;
  }

  .contacts-card__section-title {
    font-size: 26px;
  }

  .contacts-card__link {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .contacts-page {
    padding: 108px 0 52px;
  }

  .contacts-page__title {
    font-size: 26px;
  }

  .contacts-page__text {
    font-size: 14px;
  }

  .contacts-card__left {
    padding: 18px;
    border-radius: 18px;
  }

  .contacts-card__section-title {
    font-size: 22px;
  }

  .contacts-card__subtitle {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .contacts-card__address {
    font-size: 14px;
  }
}

/* VACANCIES PAGE */
.vacancies-page {
  padding: 140px 0 80px;
  background: #e8eaee;
}

.vacancies-hero {
  margin-bottom: 24px;
}

.vacancies-page__title {
  margin: 0;
  font-family: var(--t-headline-font);
  text-align: center;
  font-size: 40px;
  line-height: 1.1;
  color: #1e3053;
}

.vacancies-block {
  padding-top: 8px;
}

.vacancies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vacancy-card {
  min-height: 671px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.vacancy-card--dark {
  background: #1e3054;
}

/* LEFT CARD AS FULL HEIGHT IMAGE */
.vacancy-card--image {
  position: relative;
  min-height: 671px;
}

.vacancy-card__bg {
  position: absolute;
  inset: 0;
}

.vacancy-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.vacancy-card__content {
  padding: 28px;
}

.vacancy-card__content--image {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 28px;
  color: #fff;
}

.vacancy-card__content--dark {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  justify-content: flex-start;
}

.vacancy-card__title {
  margin: 0 0 16px;
  font-family: var(--t-headline-font);
  font-size: 26px;
  line-height: 1.25;
  color: #1e3053;
}

.vacancy-card__title--white {
  color: #fff;
}

.vacancy-card__title--light {
  color: #fff;
  margin-bottom: 0;
}

.vacancy-card__text {
  font-size: 15px;
  line-height: 1.65;
  color: #33456b;
}

.vacancy-card__text--white {
  font-family: "Ahellya", sans-serif;
  color: rgba(255, 255, 255, 0.92);
}

.vacancy-card__text--light {
  color: rgba(255, 255, 255, 0.92);
}

.vacancy-card__btn {
  margin-top: auto;
  min-height: 49px;
  width: fit-content;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: #719ac8;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.vacancy-card__btn:hover {
  background: #0c1830;
}

/* MODAL */
.vacancy-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
}

.vacancy-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.vacancy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 35, 0.65);
}

.vacancy-modal__dialog {
  position: relative;
  z-index: 2;
  width: 760px;
  max-height: calc(100vh - 40px);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}

.vacancy-modal__inner {
  padding: 28px 30px 30px;
  overflow-y: auto;
  max-height: calc(100vh - 40px);
}

.vacancy-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: 0.25s ease;
}

.vacancy-modal__close:hover {
  background: var(--color-dark);
  transform: scale(1.05);
}

.vacancy-modal__title {
  margin: 0 0 12px;
  text-align: center;
  font-family: var(--t-headline-font);
  font-size: 28px;
  line-height: 1.1;
  color: #1e3053;
}

.vacancy-modal__text {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: #33456b;
}

.vacancy-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vacancy-form__field input[type="text"],
.vacancy-form__field input[type="tel"] {
  width: 100%;
  height: 58px;
  border: 1px solid #dcdcdc;
  border-radius: 14px;
  padding: 0 18px;
  font-size: 15px;
  outline: none;
}

.vacancy-form__error {
  min-height: 16px;
  margin-top: 6px;
  font-size: 13px;
  color: #e53935;
}

.vacancy-form .is-error {
  border-color: #e53935 !important;
}

.vacancy-form__checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: #33456b;
}

.vacancy-form__checkbox input {
  margin-top: 3px;
  accent-color: #719ac8;
}

.vacancy-form__checkbox a {
  color: #1e3053;
  text-decoration: underline;
}

.vacancy-form__submit {
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: #729ac8;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.vacancy-form__submit:hover {
  background: #1e3053;
}

.vacancy-success {
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: 14px;
  background: #dff4e4;
  color: #1c5b2b;
  font-size: 15px;
  line-height: 1.5;
}

.vacancy-success--error {
  background: #fde8e7;
  color: #9f2f2b;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .vacancies-grid {
    grid-template-columns: 1fr;
  }

  .vacancy-card {
    min-height: auto;
  }

  .vacancy-card--image {
    min-height: 671px;
  }
}

@media (max-width: 768px) {
  .vacancies-page {
    padding: 120px 0 64px;
  }

  .vacancies-page__title {
    font-size: 30px;
  }

  .vacancy-card__content {
    padding: 22px;
  }

  .vacancy-card__content--image {
    padding: 22px;
  }

  .vacancy-card__title {
    font-size: 22px;
  }

  .vacancy-modal__dialog {
    width: calc(100% - 20px);
  }
}

@media (max-width: 576px) {
  .vacancies-page {
    padding: 108px 0 52px;
  }

  .vacancies-page__title {
    font-size: 26px;
  }

  .vacancy-card--image {
    min-height: 520px;
  }

  .vacancy-card__content {
    padding: 18px;
  }

  .vacancy-card__content--image {
    padding: 18px;
  }

  .vacancy-card__title {
    font-size: 20px;
  }

  .vacancy-card__text {
    font-size: 14px;
    line-height: 1.6;
  }

  .vacancy-modal {
    padding: 10px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .vacancy-modal__dialog {
    width: 100%;
    border-radius: 18px;
    margin: auto 0;
  }

  .vacancy-modal__inner {
    padding: 18px 16px 20px;
  }

  .vacancy-modal__title {
    font-size: 22px;
    margin-bottom: 10px;
  }
}

/* Cookie notice */
.payment-result-page {
  min-height: 100svh;
  background:
    linear-gradient(135deg, rgba(30, 48, 84, 0.94), rgba(30, 48, 84, 0.68)),
    radial-gradient(circle at 15% 20%, rgba(113, 154, 200, 0.55), transparent 34%),
    #1e3054;
}

.payment-result-page__section {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-height) + 70px) 0 90px;
}

.payment-result-page__container {
  max-width: 820px;
}

.payment-result-card {
  position: relative;
  overflow: hidden;
  padding: 64px 68px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 90px rgba(7, 20, 47, 0.35);
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.payment-result-card::before {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(113, 154, 200, 0.14);
  content: "";
}

.payment-result-card__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 14px 32px rgba(113, 154, 200, 0.34);
  color: #fff;
}

.payment-result-page--failed .payment-result-card__icon {
  background: #d67373;
  box-shadow: 0 14px 32px rgba(214, 115, 115, 0.28);
}

.payment-result-card__icon svg {
  width: 54px;
  height: 54px;
}

.payment-result-card__eyebrow {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.payment-result-page--failed .payment-result-card__eyebrow {
  color: #b75a5a;
}

.payment-result-card__title {
  position: relative;
  margin: 0;
  color: var(--color-dark);
  font-family: var(--t-headline-font);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
}

.payment-result-card__text {
  max-width: 600px;
  margin: 20px auto 0;
  color: #52617e;
  font-size: 17px;
  line-height: 1.65;
}

.payment-result-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 34px;
}

.payment-result-card__button {
  min-height: 50px;
  padding: 12px 28px;
}

.payment-result-card__link {
  color: var(--color-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(30, 48, 84, 0.35);
  text-underline-offset: 4px;
}

.payment-result-card__link:hover {
  text-decoration-color: var(--color-dark);
}

.payment-result-card__note {
  margin: 34px 0 0;
  padding-top: 24px;
  border-top: 1px solid #dfe7f1;
  color: #7a879f;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .payment-result-page__section {
    padding: calc(var(--header-height) + 44px) 0 44px;
  }

  .payment-result-card {
    padding: 42px 22px 30px;
    border-radius: 24px;
  }

  .payment-result-card__icon {
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
  }

  .payment-result-card__icon svg {
    width: 44px;
    height: 44px;
  }

  .payment-result-card__text {
    font-size: 15px;
  }

  .payment-result-card__actions {
    flex-direction: column;
    margin-top: 28px;
  }

  .payment-result-card__button {
    width: 100%;
  }
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(760px, calc(100% - 48px));
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(30, 48, 84, 0.96);
  box-shadow: 0 20px 60px rgba(12, 27, 55, 0.3);
  color: #fff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: cookie-banner-in 0.45s ease both;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__icon {
  position: relative;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: var(--color-primary);
}

.cookie-banner__icon::before,
.cookie-banner__icon::after,
.cookie-banner__icon span::before,
.cookie-banner__icon span::after {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-dark);
  content: "";
}

.cookie-banner__icon::before {
  top: 13px;
  left: 16px;
}

.cookie-banner__icon::after {
  right: 14px;
  bottom: 14px;
}

.cookie-banner__icon span::before {
  top: 28px;
  left: 12px;
}

.cookie-banner__icon span::after {
  top: 22px;
  right: 14px;
}

.cookie-banner__title {
  margin-bottom: 4px;
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.cookie-banner__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.cookie-banner__text a:hover {
  text-decoration-color: #fff;
}

.cookie-banner__button {
  min-width: 118px;
  min-height: 46px;
  padding: 10px 22px;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner.is-closing {
  animation: cookie-banner-out 0.28s ease both;
}

@keyframes cookie-banner-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cookie-banner-out {
  to {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (max-width: 680px) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px 12px;
    width: calc(100% - 24px);
    padding: 14px;
    border-radius: 16px;
  }

  .cookie-banner__icon {
    width: 42px;
    height: 42px;
  }

  .cookie-banner__icon::before {
    top: 9px;
    left: 12px;
  }

  .cookie-banner__icon::after {
    right: 9px;
    bottom: 9px;
  }

  .cookie-banner__icon span::before {
    top: 21px;
    left: 8px;
  }

  .cookie-banner__icon span::after {
    top: 16px;
    right: 10px;
  }

  .cookie-banner__title {
    font-size: 15px;
  }

  .cookie-banner__text {
    font-size: 12px;
  }

  .cookie-banner__button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner,
  .cookie-banner.is-closing {
    animation: none;
  }
}

/* STANDALONE PAYMENT PAGE */
.standalone-payment-page {
  flex: none;
  height: auto;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 20%, rgba(113, 154, 200, 0.18), transparent 34%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.standalone-payment-page__section {
  padding: 150px 0 90px;
}

.standalone-payment-page__container {
  max-width: 1120px;
}

.standalone-payment-page__intro {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.standalone-payment-page__eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(113, 154, 200, 0.14);
  color: #527ca9;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.standalone-payment-page__title {
  margin: 0 0 14px;
  font-family: var(--t-headline-font);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  color: #1e3053;
}

.standalone-payment-page__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #586a86;
}

.standalone-payment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  overflow: hidden;
  border: 1px solid rgba(30, 48, 83, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(30, 48, 83, 0.1);
}

.payment-page-form {
  padding: 42px;
}

.payment-page-form .booking-form__row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.standalone-payment-card__heading {
  margin-bottom: 26px;
}

.standalone-payment-card__heading h2 {
  margin: 0 0 6px;
  font-family: var(--t-headline-font);
  font-size: 30px;
  line-height: 1.2;
  color: #1e3053;
}

.standalone-payment-card__heading p {
  margin: 0;
  color: #7a879b;
  font-size: 14px;
}

.payment-page-form__label {
  display: block;
  margin: 0 0 8px;
  color: #33456b;
  font-size: 14px;
  font-weight: 700;
}

.payment-page-form .booking-form__field input,
.payment-page-form .booking-form__field select {
  border-color: #dfe6ef;
  background-color: #fbfcfe;
}

.payment-page-form .booking-form__field input:focus,
.payment-page-form .booking-form__field select:focus {
  border-color: #719ac8;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(113, 154, 200, 0.12);
}

.payment-page-form .booking-form__field select:disabled {
  cursor: not-allowed;
  color: #98a2b3;
  background-color: #f2f4f7;
}

.payment-page-form__amount {
  position: relative;
}

.payment-page-form__amount input {
  padding-right: 54px !important;
}

.payment-page-form__amount span {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: #719ac8;
  font-size: 20px;
  font-weight: 700;
  pointer-events: none;
}

.payment-page-form__privacy {
  margin-bottom: 8px;
}

.payment-page-form__submit {
  margin-top: 8px;
}

.payment-page-form__submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.standalone-payment-card__aside {
  padding: 42px 34px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.1), transparent 38%),
    #1e3053;
  color: #fff;
}

.standalone-payment-card__shield {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  color: #f0b429;
}

.standalone-payment-card__shield svg {
  width: 43px;
  height: 43px;
}

.standalone-payment-card__aside h2 {
  margin: 0 0 14px;
  font-family: var(--t-headline-font);
  font-size: 28px;
}

.standalone-payment-card__aside p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.65;
}

.standalone-payment-card__aside ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.standalone-payment-card__aside li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
}

.standalone-payment-card__aside li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f0b429;
  font-weight: 800;
}

@media (max-width: 900px) {
  .standalone-payment-card {
    grid-template-columns: 1fr;
  }

  .standalone-payment-card__aside {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0 22px;
  }

  .standalone-payment-card__shield {
    grid-row: 1 / 4;
    margin: 0;
  }

  .standalone-payment-card__aside p {
    margin-bottom: 18px;
  }

  .standalone-payment-card__aside ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .standalone-payment-page__section {
    padding: 118px 0 54px;
  }

  .standalone-payment-page__intro {
    margin-bottom: 22px;
    text-align: left;
  }

  .standalone-payment-page__eyebrow {
    font-size: 11px;
  }

  .standalone-payment-page__title {
    font-size: 36px;
  }

  .standalone-payment-page__text {
    font-size: 15px;
    line-height: 1.55;
  }

  .standalone-payment-card {
    border-radius: 20px;
  }

  .payment-page-form {
    padding: 24px 18px;
  }

  .payment-page-form .booking-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .standalone-payment-card__heading {
    margin-bottom: 20px;
  }

  .standalone-payment-card__heading h2 {
    font-size: 25px;
  }

  .standalone-payment-card__aside {
    display: block;
    padding: 26px 20px;
  }

  .standalone-payment-card__shield {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 18px;
  }

  .standalone-payment-card__shield svg {
    width: 34px;
    height: 34px;
  }

  .standalone-payment-card__aside h2 {
    font-size: 24px;
  }

  .standalone-payment-card__aside ul {
    grid-template-columns: 1fr;
  }
}
