html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}
@font-face {
	font-family: 'Vasek';
	src: url('./../fonts/Vasek-Italic.woff2') format('woff2'),
		url('./../fonts/Vasek-Italic.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Jeko';
	src: url('./../fonts/Jeko-Regular.woff2') format('woff2'),
		url('./../fonts/Jeko-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Jeko';
	src: url('./../fonts/Jeko-Bold.woff2') format('woff2'),
		url('./../fonts/Jeko-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

/* Match fallback metrics so downloaded brand fonts do not move the first screen. */
@font-face {
  font-family: 'Jeko Fallback';
  src: local('Arial');
  size-adjust: 108.8%;
  ascent-override: 69.95%;
  descent-override: 21.97%;
  line-gap-override: 21.60%;
}
@font-face {
  font-family: 'Jeko Fallback';
  src: local('Arial Bold');
  font-weight: bold;
  size-adjust: 102.12%;
  ascent-override: 74.81%;
  descent-override: 23.11%;
  line-gap-override: 23.01%;
}
@font-face {
  font-family: 'Vasek Fallback';
  src: local('Arial');
  size-adjust: 52.01%;
  ascent-override: 161.76%;
  descent-override: 40.18%;
  line-gap-override: 0%;
}

:root {
  --black: #191a1e;
  --primary: #398a96;
  --blue: #1c8adb;
  --secondary: #145e68;
  --dark-blue: #006ebe;
  --white: #ffffff;
  --light-gray: #f7f6f4;
  --border-color: #b0e0e6;
  --whatsapp: #25d366;
  --whatsapp-hover: #1abe57;
  --telegram: #1c8adb;
  --telegram-hover: #006ebe;
  --error: #ff4a4a;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --overlay-bg: rgba(0, 0, 0, 0.6);
  --overlay-light: rgba(0, 0, 0, 0.5);
  --gray-text: #383838;

  --font1: "Jeko", "Jeko Fallback", sans-serif;
  --font2: "Vasek", "Vasek Fallback", sans-serif;

  --transition: all 0.2s;
}

/*****************************************************/
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font1);
  color: var(--black);
  font-size: clamp(0.875rem, 0.8171rem + 0.2439vw, 1rem);
  line-height: 1.2;
  background-color: var(--light-gray);
}

body.lock {
  overflow: hidden;
  height: 100%;
}

[class*="__container"] {
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

.hide {
  display: none;
}
@media (max-width: 430px) {
  .cc-window.cc-floating {
    font-size: 13px !important;
    padding: 10px !important;
  }
}
input,
textarea {
  outline: none;
  font-family: var(--font1);
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

img {
  max-width: 100%;
}

.overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--overlay-light);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

p {
  margin: 0;
}

/*****************************************************/

/* Header styles */
.header {
  padding: 32px 0;
}

.achievements-item {
  max-width: 330px;
  display: flex;
  align-items: flex-start;
  gap: 3px;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.header__logo {
  display: flex;
  align-items: center;
}

.logo__image {
  max-height: 45px;
  width: auto;
  height: auto;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header__phone {
  color: var(--black);
  font-weight: 600;
  font-size: 18px;
}

.header__phone:hover {
  color: var(--primary);
}

.social {
  display: flex;
  gap: 15px;
}

.header__social {
  margin-left: 10px;
}

.header__social-link {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  transition: var(--transition);
}

.contacts-phones {
  display: flex;
}

.contacts-phones__list {
  display: flex;
  flex-direction: column;
}

.header__social-link:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.achievements-item__icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.contacts-phones__phone {
  color: var(--black);
  font-weight: 700;
}

.contacts-phones__phone:hover {
  color: var(--primary);
}

.social__icon {
  transition: var(--transition);
  width: 44px;
  height: 44px;
}

.social__link:hover .social__icon {
  transform: translateY(-2px);
}

/* Mobile menu */
.burger {
  position: relative;
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  z-index: 8;
}

@media (min-width: 768px) {
  .burger {
    display: none;
  }
}

.burger input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.burger:has(input:focus-visible) {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.contacts-phones__toggle {
  border: 0;
  padding: 0;
  background: transparent;
}

.burger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 24px;
  background: var(--white);
  border-radius: 9px;
  opacity: 1;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  transition: 0.25s ease-in-out;
}

.burger span:nth-of-type(1) {
  top: 30%;
  transform-origin: center;
  transform: translateX(-50%);
}

.burger span:nth-of-type(2) {
  top: 50%;
  transform-origin: center;
}

.cc-message a {
  color: lightblue;
  text-decoration: underline;
}

.burger span:nth-of-type(3) {
  top: 70%;
  transform-origin: center;
  transform: translateX(-50%);
}

.burger input:checked ~ span:nth-of-type(1) {
  transform: translateX(-50%) rotate(45deg);
  top: 50%;
}

.burger input:checked ~ span:nth-of-type(2) {
  width: 0%;
  opacity: 0;
}

.burger input:checked ~ span:nth-of-type(3) {
  transform: translateX(-50%) rotate(-45deg);
  top: 50%;
}

/* Мобильное меню */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-gray);
  z-index: 5;
  padding-top: 60px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: 100%;
}

.mobile-menu__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mobile-menu__icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.mobile-menu__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--black);
}

.mobile-menu__social {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

@media (max-width: 1100px) {
  .achievements-item {
    max-width: 240px;
  }

  .social__icon {
    width: 36px;
    height: 36px;
  }

  .header__social {
    gap: 10px;
  }
}

@media (max-width: 1000px) {
  .header {
    font-size: 14px;
  }

  .logo__image {
    max-width: 150px;
    width: 100%;
  }

  .header__achievements {
    display: none;
  }
}

@media (max-width: 768px) {
  .header__burger {
    display: flex;
    background-color: var(--secondary);
    padding: 8px;
  }

  .header {
    padding: 20px 0;
  }

  .contacts-address {
    display: none;
  }

  .contacts-phones {
    margin-left: auto;
    z-index: 11;
  }

  .header__menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    padding: 30px 15px;
    transition: var(--transition);
  }

  .header__menu.active {
    left: 0;
  }

  .header__nav {
    flex-direction: column;
    align-items: center;
  }

  /* Дополнительные стили для мобильного меню */
  .header__social {
    display: none;
  }

  .mobile-menu {
    background-color: var(--light-gray);
  }

  .mobile-menu__container {
    padding-top: 30px;
  }

  .mobile-menu__social {
    justify-content: flex-start;
  }

  .social__icon {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 400px) {
  .contacts-phones__list {
    opacity: 0;
    transition: var(--transition);
    position: absolute;
    pointer-events: none;
    min-width: 165px;
    background: var(--white);
    z-index: 5;
    top: calc(100% + 20px);
    right: -50px;
    border-radius: 10px;
    padding: 14px 12px;
  }

  .contacts-phones.active .contacts-phones__list {
    opacity: 1;
    pointer-events: auto;
  }

  .contacts-phones__list::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 10px 6px;
    border-color: transparent transparent var(--white) transparent;
    content: "";
    position: absolute;
    top: -10px;
    right: 56px;
  }

  .contacts-phones__phone {
    font-size: 16px;
  }

  .contacts-phones {
    position: relative;
  }

  .contacts-phones__icon {
    width: 28px;
    height: 28px;
  }
}

/*****************************************************/
.section {
  margin: clamp(3.75rem, 2.7083rem + 3.3333vw, 5.625rem) 0;
  overflow: hidden;
}

/*****************************************************/

.buttons {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px 15px 20px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--white);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  background-color: var(--primary);
  border: none;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn--whatsapp {
  background-color: var(--whatsapp);
  width: 260px;
  height: 55px;
}

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

.btn--telegram {
  background-color: var(--telegram);
  width: 220px;
  height: 55px;
}

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

.btn__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.btn--customized {
  background-color: var(--btn-custom-bg, var(--primary));
}

.btn--customized:hover {
  background-color: var(--btn-custom-bg, var(--secondary));
  filter: brightness(0.92);
}

.buttons__detail {
  display: flex;
  align-items: flex-start;

  flex-direction: row-reverse;
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
}

.buttons__detail-text {
  font-family: var(--font2);
  font-size: 34px;
  line-height: 0.8;
  text-align: center;
  max-width: 192px;
}

.buttons__arrow {
  width: 78px;
}

/*****************************************************/
.title {
  font-size: clamp(1.25rem, 0.5549rem + 2.9268vw, 2.75rem);
  font-weight: 700;
  margin-bottom: clamp(1.25rem, 0.8155rem + 1.8293vw, 2.1875rem);
}

.title span {
  color: var(--primary);
}

.title--center {
  text-align: center;
}

/*****************************************************/
.tour-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tour-list--3 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 1fr;
}

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

.tour-list--2 .information {
  grid-column: 1;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
}

.tour-item {
  border: 1px solid var(--border-color);
  border-radius: 20px 20px 10px 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--white);
}

.tour-item__figure {
  aspect-ratio: 16/9;
}

.tour-item__figure picture {
  display: block;
  width: 100%;
  height: 100%;
}

.tour-item__figure img,
.tour-item__figure picture img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.tour-item__content {
  display: flex;
  padding: 20px;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.tour-item__title {
  font-size: clamp(1.125rem, 0.9512rem + 0.7317vw, 1.5rem);
  font-weight: 700;
}

.tour-item__price-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 15px;
  margin-bottom: 50px;
}

.tour-item__price span {
  font-weight: 700;
}

.tour-item__button {
  margin-top: auto;
  width: 100%;
}

.tour-item__price-list--text {
  margin-bottom: 25px;
}

.tour-item__text {
  font-size: 14px;
  margin-bottom: 15px;
  display: flex;
  line-height: 1.5;
  flex-direction: column;
}

.tour-item__text strong,
.tour-item__text b {
  font-weight: 700;
}

@media (max-width: 980px) {
  .tour-list,
  .tour-list--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .tour-item__content {
    padding: 20px 15px 10px;
  }
}

@media (max-width: 480px) {
  .tour-list,
  .tour-list--3 {
    grid-template-columns: 1fr;
  }
}

/* Кнопка открытия квиза */
.quiz-trigger,
[data-quiz-open] {
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Стили для кнопки primary в подвале, если они ещё не определены */
.btn--primary {
  background-color: var(--whatsapp);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px var(--shadow-color);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px var(--shadow-color);
}

.hero {
  position: relative;
  overflow: hidden;
  margin-inline: 15px;
  margin-top: 0px;
}

.hero__background {
  background-color: var(--secondary);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.buttons__detail--hero {
  transform: initial;
  left: 20px;
}
.buttons__detail--hero img {
  width: 44px;
}
.hero__background-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  pointer-events: none;
}
.buttons__detail--hero .buttons__detail-text {
  font-family: var(--font2);
  font-size: 34px;
  line-height: 0.8;
  text-align: left;
  max-width: 215px;
  margin-left: 14px;
  margin-top: 12px;
}
.hero__container {
  position: relative;
  padding-top: clamp(1.5625rem, 0.7639rem + 2.5556vw, 3rem);
  overflow: hidden;
  padding-bottom: 124px;
  padding-left: clamp(1.1875rem, 0.4583rem + 2.3333vw, 2.5rem);
  border-radius: 10px;
}

.hero__container {
  max-width: 1160px;
}

.hero__content {
  color: var(--white);
  max-width: 630px;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(1.5rem, 0.8049rem + 2.9268vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 30px;
  font-weight: 700;
}

.hero__text {
  line-height: 1.3;
  margin-bottom: 40px;
  font-weight: 700;
}

.hero__text b {
  color: var(--whatsapp);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

/* Блок мессенджеров рядом с кнопкой */
.hero-messengers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  /* Цвет общий для label и стрелки (через currentColor). Переопределяется модификатором */
  color: var(--white);
}

.hero-messengers__icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-messengers__link {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.hero-messengers__link:hover {
  transform: translateY(-2px);
}

.hero-messengers__icon {
  width: 54px;
  height: 54px;
  display: block;
}

.hero-messengers__detail {
  bottom: -100%;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  position: absolute;
  right: -128px;
}
/* Стрелка нарисована через CSS-маску, чтобы её можно было перекрашивать через color */
.hero-messengers__arrow {
  width: 70px;
  height: 62px;
  flex-shrink: 0;
  position: absolute;
  right: 27%;
  bottom: 100%;
  display: block;
  background-color: currentColor;
  -webkit-mask: url('https://assets.primetours.ru/images/tm-78d5926725ec81e102b1.svg') no-repeat center / contain;
  mask: url('https://assets.primetours.ru/images/tm-78d5926725ec81e102b1.svg') no-repeat center / contain;
}

.hero-messengers__label {
  font-family: var(--font2);
  font-size: 34px;
  line-height: 0.85;
  color: inherit;
  max-width: 173px;
}

@media (max-width: 576px) {
  .hero {
    margin-inline: 0px;
  }

  .hero__container {
    padding-bottom: 20px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero__button {
    width: 100%;
    max-width: 300px;
  }

  .hero-messengers {
    flex-direction: row;
    gap: 10px;
  }

  .hero-messengers__detail {
    display: none;
  }

  .hero-messengers__arrow {
    width: 40px;
    height: 36px;
  }

  .hero-messengers__label {
    font-size: 22px;
  }

  .buttons__detail--hero {
    order: -1;
    position: static;
    flex-direction: column;
    transform: inherit;
    align-items: center;
    margin-left: auto;
    margin-bottom: 20px;
  }

  .buttons__detail--hero .buttons__arrow {
    transform: rotate(226deg);
    margin-top: 30px;
  }

  .buttons__detail--hero .buttons__detail-text {
    max-width: 222px;
  }
}

.information {
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 28px;
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 30px;
	background-color: var(--white);
	grid-column: 1 / -1;
}

.information__intro {
	max-width: 275px;
}

.information__title {
	font-weight: 700;
	display: block;
	margin-bottom: 10px;
}

.information__item {
	display: flex;
	align-items: center;
	gap: 5px;
	flex: 1;
}

.information__item-icon {
	width: 47px;
	height: 47px;
	display: flex;
	align-items: center;
	justify-content: center;

}

.information__item-icon img {
	width: 100%;
	height: 100%;
}

@media (max-width: 980px) {

	.information {
		flex-wrap: wrap;
	}

	.information__intro {
		flex: 1 0 100%;
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.information {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-bottom: 20px;
	}

	.information__item-icon {
		width: 32px;
		height: 32px;
	}

	.information__intro {
		flex: initial;
	}
}
/* Стили для секции team */
.team__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

/* Стили для карточки команды */
.team-item {
	display: flex;
	flex-direction: column;
	border-radius: 20px;
	border: 1px solid var(--border-color);
	overflow: hidden;
	background-color: var(--white);
	height: 100%;
}

.team-item__image {
	width: 100%;
	height: 250px;
	overflow: hidden;
}

.team-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px 20px 0 0;
}

.team-item__content {
	padding: 25px 20px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.team-item__name {
	font-weight: 700;
	font-size: 24px;
	line-height: 1.2;
	margin: 0;
}

.team-item__text {
	line-height: 1.2;
	margin: 0;
}

.team-item__contacts {
	align-items: center;
}

@media (max-width: 768px) {
	.team-item__contacts {
		margin-left: 0;
	}
}
.steps {
	padding-bottom: 90px;
}

@media (max-width: 478px) {
	.steps {
		padding-bottom: 20px;
	}
}

.steps__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	position: relative;
}

.steps__list::before {
	content: '';
	position: absolute;
	top: -20px;
	left: -25px;
	background-image: url('https://assets.primetours.ru/images/tm-c6ae7360deb9bae41edb.svg');
	background-position: center center;
	background-repeat: no-repeat;
	width: 100%;
	height: 380px;
	background-size: contain;
	z-index: 3;
	pointer-events: none;
}

.step-item {
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 36px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 30px;
}

.step-item:first-child {
	z-index: 4;
}

.step-item__number {
	font-size: clamp(2.75rem, 2.1707rem + 2.439vw, 4rem);
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 36px;
	line-height: 1;
}

.step-item__title {
	font-size: clamp(1.125rem, 0.9512rem + 0.7317vw, 1.5rem);
	font-weight: 700;
	margin-bottom: 15px;
}

.step-item__description {
	line-height: 1.3;
	max-width: 275px;
	white-space: pre-line;
}

@media (max-width: 1200px) {
	.step-item {
		padding: 20px;
	}

	.step-item__description {
		max-width: 300px;
	}
}

@media (max-width: 960px) {
	.step-item__number {
		margin-bottom: 20px;
	}
}

@media (max-width: 768px) {
	.steps__list::before {
		background-image: url('https://assets.primetours.ru/images/tm-ebbba73c6b87b18c4626.svg');
		z-index: 6;
		height: calc(100% + 40px);
		width: 100%;
		left: 0;
		background-position: center right;
	}

	/* .step-item:nth-child(2) {
		z-index: 6;
		position: relative;
	} */

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

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

	.step-item__header {
		display: flex;
		align-items: center;
		gap: 20px;
	}

	.step-item__title {
		max-width: 150px;
	}
}
.request__container {
  position: relative;
}

.request {
  overflow: visible;
}

.request__slider-wrap--mobile {
  display: none;
}

@media (max-width: 575px) {
  .request__slider-wrap--desktop {
    display: none;
  }

  .request__slider-wrap--mobile {
    display: block;
  }
}

.request__wrapper {
  position: relative;
  margin-top: 40px;
  margin: 0 auto;
  max-width: 632px;
}

.request-content__items {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0 auto;
}

.request__slider {
  width: 100%;
}

.request__slider-wrapper {
  display: flex;
}

.request__slide {
  height: initial;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.request__slide img {
  width: 100%;
  height: 100%;
  display: block;
}

.slider-controls {
  display: flex;
  margin-top: 20px;
  justify-content: center;
  width: 100%;
  gap: 10px;
  pointer-events: none;
}

.slider-button-prev,
.slider-button-next {
  width: 40px;
  height: 40px;
  border-radius: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition);
  background-color: var(--border-color);
}

.slider-button-next:hover,
.slider-button-prev:hover {
  background-color: var(--primary);
}

.slider-button-next path,
.slider-button-prev path {
  transition: var(--transition);
}

.slider-button-next:hover path,
.slider-button-prev:hover path {
  stroke: var(--white);
}

.slider-button-prev svg,
.slider-button-next svg {
  width: 100%;
  height: 100%;
}

.slider-pagination {
  position: relative;
  margin-top: 20px;
  text-align: center;
}

.request__content-item {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  z-index: 6;
  font-family: var(--font2);
  font-size: clamp(1.5rem, 1.2104rem + 1.2195vw, 2.125rem);
  color: var(--secondary);
  line-height: 0.8;
}

.request__content-item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.request__content-item--1 {
  left: 0;
  width: 192px;
  transform: rotateZ(-10deg);
}

.request__content-item--1::before {
  background-image: url("https://assets.primetours.ru/images/tm-0e69bdae1737441f2c91.svg");
  top: 100%;
  width: 154px;
  right: -50px;
  transform: rotate(10deg);
}

.request__content-item--2 {
  left: 30px;
  width: 192px;
  transform: rotateZ(-10deg);
  bottom: 120px;
}

.request__content-item--2::before {
  background-image: url("https://assets.primetours.ru/images/tm-52b9517ac6b73239be77.svg");
  top: calc(100% - 40px);
  width: 130px;
  transform: rotateZ(10deg);
  left: 140px;
}

.request__content-item--3 {
  right: 30px;
  width: 192px;
  transform: rotateZ(10deg);
  top: 210px;
}

.request__content-item--3::before {
  background-image: url("https://assets.primetours.ru/images/tm-50355493bb62fc314bd4.svg");
  top: calc(100%);
  width: 80px;
  transform: rotateZ(-15deg);
  left: -20px;
}

@media (max-width: 1200px) {
  .request__content-item--1 {
    left: 10px;
  }
}

@media (max-width: 970px) {
  .request__content-item--3 {
    right: 10px;
    top: 180px;
  }

  .request__content-item--3::before {
    transform: rotateZ(-35deg);
    left: 65px;
    top: calc(100% - 16px);
  }
}

@media (max-width: 870px) {
  .request__content-item--1 {
    top: 120px;
  }

  .request__content-item--2 {
    bottom: 190px;
  }

  .request__content-item--2::before {
    left: 50px;
    transform: rotateZ(50deg);
    top: 95%;
  }
}

@media (max-width: 768px) {
  .request__content-item--3 {
    right: -5px;
  }

  .request__wrapper {
    max-width: 80%;
    display: flex;
    flex-direction: column-reverse;
    padding-bottom: 100px;
  }

  .request__content-item--1 {
    transform: none;
    top: 70px;
    left: 170px;
    width: 220px;
  }

  .request__content-item--1::before {
    transform: rotate(120deg) scaleY(-1);
    width: 111px;
    right: 0;
    top: calc(100% + 10px);
  }

  .slider-controls {
    margin-bottom: 40px;
    margin-top: 0;
    justify-content: flex-end;
  }

  .request__content-item--2 {
    transform: none;
    bottom: 10px;
    width: 205px;
  }

  .request__content-item--2::before {
    background-image: url("https://assets.primetours.ru/images/tm-50b3935a2bacfc14add2.svg");
    top: -75%;
    transform: rotate(0);
    right: 20px;
    width: 40px;
    left: initial;
  }

  .request__content-item--3 {
    top: initial;
    right: 30px;
    bottom: 0;
    transform: none;
    width: 250px;
  }

  .request__content-item--3::before {
    background-image: url("https://assets.primetours.ru/images/tm-8d2428566cedd46c4b7e.svg");
    bottom: calc(100% + 20px);
    top: initial;
    right: 120px;
    transform: rotate(0);
    height: 150px;
    left: initial;
  }
}

@media (max-width: 576px) {
  .request__wrapper {
    max-width: 100%;
  }

  .request__content-item--1 {
    left: 25px;
  }

  .request__content-item--1::before {
    transform: rotate(77deg) scaleY(-1);
    width: 90px;
    top: calc(100%);
  }

  .request__content-item--2 {
    bottom: 20px;
  }

  .request__content-item--3 {
    right: 10px;
    width: 213px;
    bottom: 15px;
  }

  .request__content-item--3::before {
    right: 30px;
    bottom: 100%;
  }
}

@media (max-width: 460px) {
  .request__content-item--3 {
    bottom: -25px;
  }

  .request__content-item--1 {
    top: 50px;
    width: 190px;
  }

  .request__content-item--3::before {
    height: 175px;
  }

  .request__content-item--1::before {
    transform: rotate(108deg) scaleY(-1);
    top: calc(115%);
  }
}

@media (max-width: 400px) {
  .request__content-item--1 {
    top: 80px;
  }

  .slider-button-prev,
  .slider-button-next {
    height: 40px;
    width: 40px;
  }

  .slider-button-prev svg,
  .slider-button-next svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 360px) {
  .request__content-item--3::before {
    height: 150px;
  }

  .request__content-item--1::before {
    top: calc(136%);
    height: 20px;
  }
}

.office {
	overflow: hidden;
}

.office__container {
	position: relative;
}

.office__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.office__nav {
	margin-bottom: 0;
	justify-content: flex-start;
}

.office__content {
	clip-path: inset(-100vw -100vw -100vw 0);
}

.office__slider {
/* 	overflow: visible; */

}

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

.office__slide {
/* 	width: 420px;
	height: 350px; */
	flex-shrink: 0;
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 16 / 12;
}

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


@media (max-width: 990px) {
/* 	.office__slide {
		width: 350px;
		height: 290px;
	} */
}

@media (max-width: 768px) {

	.office__meta {
		display: flex;
		flex-direction: column;
		gap: 40px;
		width: 100%;
		align-items: flex-start;
	}



/* 	.office__slide {
		width: 300px;
		height: 250px;
	} */

}

@media (max-width: 480px) {
/* 	.office__slide {
		width: 280px;
		height: 230px;
	} */

	.office__header {
		align-items: flex-start;
		flex-direction: column;
	}

	.office__nav {
		justify-content: center;
	}
}
.reviews__content {
	display: flex;
	justify-content: center;
}

.reviews__link {
	display: inline-block;
	padding: 16px 24px;
	border: 2px solid currentColor;
	border-radius: 14px;
	font-size: 20px;
	text-decoration: none;
}

.reviews__link:hover,
.reviews__link:focus-visible {
	text-decoration: underline;
}

.reviews__widget {
	width: 100%;
	max-width: 560px;
	height: 800px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
}

.cta {
  margin-inline: 20px;
}

.cta__container {
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  z-index: 3;
  gap: 20px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background-image: url("https://assets.primetours.ru/images/tm-f70a0dce81e81be4eb5a.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.cta__content {
  width: 655px;
  position: relative;
  padding: 35px;
  margin-top: 15px;
}

.cta__title span {
  color: var(--whatsapp);
}

.buttons__detail--cta {
  color: var(--primary);
  top: calc(100% + 30px);
}

.buttons__detail--cta .buttons__arrow {
  margin-top: -20px;
}

/* Мессенджеры в CTA: задаём лазуритовый цвет для подписи и стрелки (через currentColor) */
.hero-messengers--cta {
  color: var(--primary);
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.hero-messengers--cta .hero-messengers__detail {
  position: static;
  right: auto;
  bottom: auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: -36px;
  margin-left: 8px;
}
.hero-messengers--cta .hero-messengers__arrow {
  /* Зеркалим по X, чтобы тип стрелки смотрел на иконки (влево) */
  position: static;
  right: auto;
  bottom: auto;
  width: 60px;
  height: 54px;
  transform: rotate(-5deg);
  margin-left: -6px;
}

.hero-messengers--cta .hero-messengers__label {
  font-size: 22px;
  line-height: 0.95;
  max-width: 160px;
  margin: 0;
}

.hero-messengers--cta .hero-messengers__link,
.hero-messengers--cta .hero-messengers__icon {
  width: 48px;
  height: 48px;
}

.cta__image {
  width: 371px;
  height: auto;
  padding: 35px 35px 35px 56px;
  flex-shrink: 0;
  position: relative;
}

.cta__image img {
  height: 100%;
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.cta__image::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 20px;
  background-image: url("https://assets.primetours.ru/images/tm-412b7fd759d23d3405e5.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  height: 90%;
}

.cta__circles {
  position: absolute;
  height: 100%;
  width: 20px;
  top: 0;
  left: 0;
}

.cta__circles::after,
.cta__circles::before {
  width: 67px;
  height: 67px;
  background-color: var(--light-gray);
  border-radius: 50%;
  content: "";
  position: absolute;
  border: 1px solid var(--border-color);
  left: 50%;
  transform: translateX(-50%);
}

.cta__circles::before {
  top: -35px;
  clip-path: inset(49% 0 0 0);
}

.cta__circles::after {
  bottom: -35px;
  clip-path: inset(0% 0 49% 0);
}

@media (max-width: 990px) {
  .cta__content {
    width: auto;
    padding: 15px;
  }

  .cta__image {
    padding: 18px 20px 18px 50px;
    width: 290px;
  }
}

@media (max-width: 880px) {
  .cta__content {
    margin-top: 0;
  }

  .cta__container {
    flex-direction: column;
    background-image: none;
  }

  .cta__circles {
    height: 70px;
    width: 100%;
    top: -55px;
  }

  .cta__circles::before {
    left: -35px;
    clip-path: inset(0% 0 0 49%);
  }

  .cta__circles::after {
    right: -35px;
    left: initial;
    clip-path: inset(0% 49% 0 0);
  }

  .cta__circles::after,
  .cta__circles::before {
    top: 50%;
    transform: translateY(-50%);
  }

  .cta__image {
    width: 100%;
    height: 300px;
    padding: 20px;
    margin-top: 45px;
  }

  .cta__image::before {
    background-image: url("https://assets.primetours.ru/images/tm-2366b4667f775f62d529.svg");
    width: 100%;
    height: 10px;
    top: -20px;
  }

  .cta__buttons {
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
  }

  .cta__button {
    padding-inline: 10px;
  }

  .cta__button.btn--whatsapp {
    order: 1;
  }

  .cta__button.btn--telegram {
    order: 3;
  }

  .buttons__detail--cta {
    position: static;
    order: 2;
    margin-top: 20px;
    gap: 20px;
    margin-left: auto;
    max-width: 190px;
    margin-right: -70px;
  }

  .buttons__detail--cta .buttons__arrow {
    position: absolute;
    left: -90px;
  }

  .buttons__detail-text--cta {
    max-width: 350px;
    width: 100%;
  }

  .buttons__arrow {
    margin-top: 0;
  }

  .cta__button {
    width: 100%;
  }

  /* Мессенджеры после telegram-кнопки в column-раскладке */
  .hero-messengers--cta {
    order: 4;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  /* В hero.css .hero-messengers__detail { display: none } — в CTA контексте возвращаем */
  .hero-messengers--cta .hero-messengers__detail {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    margin-left: 62px;
  }

  .hero-messengers--cta {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  /* Иконки сверху, detail снизу → стрелка смотрит ВВЕРХ на иконки.
	   Из исходной ориентации (тип наверх-вправо) поворачиваем на -90deg, чтобы тип смотрел вверх-влево */
  .hero-messengers--cta .hero-messengers__arrow {
    width: 42px;
    height: 38px;
    transform: rotate(-90deg) scaleX(-1);
    margin: 0;
  }

  .hero-messengers--cta .hero-messengers__label {
    max-width: 200px;
    text-align: left;
    margin-bottom: -23px;
    font-size: 27px;
  }
}

@media (max-width: 390px) {
  .buttons__detail-text--cta {
    font-size: 27px;
  }

  .buttons__detail--cta .buttons__arrow {
    left: -35px;
    width: 70px;
    transform: rotate(20deg);
    top: 10px;
  }

  .cta__image {
    height: 250px;
  }
}

.text-style {
	max-width: 800px;
	margin: 0 auto;
}

/* Стили для контента */
.text-style h1 {
	font-size: 36px;
	margin-bottom: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.text-style h2 {
	font-size: 32px;
	margin-bottom: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.text-style h3 {
	font-size: 28px;
	margin-bottom: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.text-style h4 {
	font-size: 24px;
	margin-bottom: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.text-style h5 {
	font-size: 20px;
	margin-bottom: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.text-style h6 {
	font-size: 18px;
	margin-bottom: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.text-style p {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 16px;
}

.text-style a {
	color: var(--blue);
	text-decoration: none;
	transition: color 0.3s ease;
}

.text-style a:hover {
	color: var(--dark-blue);
	text-decoration: underline;
}

.text-style ul,
.text-style ol {
	margin-bottom: 20px;
	padding-left: 24px;
}

.text-style li {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 10px;
}

.text-style ul li {
	list-style-type: disc;
}

.text-style ol li {
	list-style-type: decimal;
}

.text-style blockquote {
	border-left: 4px solid var(--border-color);
	padding: 12px 20px;
	margin: 20px 0;
	font-style: italic;
	background-color: var(--light-gray);
}

.text-style img {
	max-width: 100%;
	height: auto;
	margin: 20px 0;
	display: block;
}

.text-style table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
}

.text-style table th,
.text-style table td {
	border: 1px solid var(--border-color);
	padding: 10px;
	text-align: left;
}

.text-style table th {
	background-color: var(--light-gray);
	font-weight: 600;
}

.text-style pre,
.text-style code {
	font-family: monospace;
	background-color: var(--light-gray);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 14px;
}

.text-style pre {
	padding: 16px;
	overflow-x: auto;
	margin: 20px 0;
}

.text-style hr {
	border: none;
	border-top: 1px solid var(--border-color);
	margin: 30px 0;
}

/* Адаптивные стили */
@media (max-width: 992px) {
	.textblock {
		padding: 50px 0;
	}

	.text-style h1 {
		font-size: 32px;
	}

	.text-style h2 {
		font-size: 28px;
	}

	.text-style h3 {
		font-size: 24px;
	}
}

@media (max-width: 768px) {
	.textblock {
		padding: 40px 0;
	}

	.text-style h1 {
		font-size: 28px;
		margin-bottom: 20px;
	}

	.text-style h2 {
		font-size: 24px;
		margin-bottom: 18px;
	}

	.text-style h3 {
		font-size: 22px;
		margin-bottom: 16px;
	}

	.text-style h4 {
		font-size: 20px;
	}

	.text-style h5 {
		font-size: 18px;
	}

	.text-style h6 {
		font-size: 16px;
	}
}

@media (max-width: 576px) {
	.textblock {
		padding: 30px 0;
	}

	.textblock__container {
		padding: 0 15px;
	}

	.text-style h1 {
		font-size: 24px;
		margin-bottom: 18px;
	}

	.text-style h2 {
		font-size: 22px;
		margin-bottom: 16px;
	}

	.text-style h3 {
		font-size: 20px;
		margin-bottom: 14px;
	}

	.text-style h4 {
		font-size: 18px;
	}

	.text-style h5,
	.text-style h6 {
		font-size: 16px;
	}

	.text-style p,
	.text-style li {
		font-size: 15px;
	}
}
.wish__form {
	width: 100%;
	max-width: 510px;
}

.wish__container {
	background-image: none;
}

.wish__form-detail {
	font-family: var(--font2);
	font-size: 34px;
	line-height: 0.9;
	color: var(--primary);
	position: absolute;
	right: -100px;
	z-index: 9;
	top: 55px;
	width: 250px;
	text-align: center;
	transform: rotate(9deg);

}

.wish__form-detail::before {
	content: '';
	position: absolute;
	right: 50%;
	top: 100%;
	height: 104px;
	width: 55px;
	background-image: url('https://assets.primetours.ru/images/tm-bc2ee6b6005fd8a6b165.svg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	transform: rotate(-9deg);
}

.wish__form-body {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.wish__form-row {
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.wish__form-field {
	position: relative;
	width: 100%;
}

.wish__input,
.wish__textarea {
	width: 100%;
	padding: 15px 30px;
	border-radius: 7px;
	border: 1px solid var(--border-color);
	line-height: 1.235;
	color: var(--black);
	font-size: 17px;
	background-color: var(--white);
	transition: border-color 0.3s ease;
}

.wish__input::placeholder,
.wish__textarea::placeholder {
	color: var(--border-color);
}

.wish__input:focus,
.wish__textarea:focus {
	border-color: var(--primary);
	outline: none;
}

.wish__input.error,
.wish__textarea.error {
	border-color: var(--error);
}


.wish__checkbox-label {
	display: flex;
	align-items: flex-start;
	cursor: pointer;

}

.wish__checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.wish__custom-checkbox {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 10px;
	margin-top: 2px;
	border: 1px solid var(--border-color);
	border-radius: 3px;
	position: relative;
	flex-shrink: 0;
}

.wish__checkbox.error+.wish__custom-checkbox {
	border-color: #c62828;
}

.wish__checkbox:checked+.wish__custom-checkbox:after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 10px;
	height: 10px;
	background-color: var(--primary);
	border-radius: 1px;
}

.wish__checkbox-text {
	font-weight: 400;
	font-size: 12px;
	line-height: 1.366;
	color: var(--black);
}

.wish__checkbox-text a {
	color: var(--black);
	text-decoration: underline;
	transition: var(--transition);
	color: var(--primary);
}

.wish__checkbox-text a:hover {
	opacity: .7;
}

.wish__phone-wrapper {
	position: relative;
}

/* .wish__country-flag {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 14px;
	background-image: url('https://assets.primetours.ru/images/tm-071a04ce83c4c06048b9.svg');
	background-size: contain;
	background-repeat: no-repeat;
} */

.wish__input--phone {
	/* padding-left: 45px; */
	line-height: 1.366;
}

.wish__textarea {
	min-height: 126px;
	resize: vertical;
}

.wish__submit-btn.loading {
	color: transparent;
	pointer-events: none;
}

.wish__submit-btn.loading::after {
	content: '';
	position: absolute;
	width: 24px;
	height: 24px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: var(--white);
	animation: loader-spin 1s ease-in-out infinite;
	left: calc(50% - 12px);
	top: calc(50% - 12px);
}

@keyframes loader-spin {
	to {
		transform: rotate(360deg);
	}
}

.wish__error-text {
	display: none;
	color: var(--error);
	font-size: 12px;
	margin-top: 5px;
	padding-left: 15px;
}

.wish__form-response {
	text-align: center;
	font-size: 14px;
	padding: 10px;
	border-radius: 7px;
	display: none;
	line-height: 1.5;
}

.wish__form-response.success {
	background-color: rgba(57, 138, 150, 0.1);
	color: var(--primary);
	display: block;
}

.wish__form-response.error {
	background-color: rgba(255, 74, 74, 0.1);
	color: var(--error);
	display: block;
}

.wish__submit-btn {
	position: relative;
	padding-inline: 5px;
}

@media (max-width: 992px) {
	.wish__form-detail {
		right: -150px;
	}
}

@media (max-width: 880px) {
	.wish__form-detail {
		right: 25px;
	}


}

@media (max-width: 700px) {
	.wish__form-detail {
		right: 8px;
		top: 13px;
		font-size: 29px;
		width: 196px;
	}

	.wish__form-detail::before {
		transform: scaleX(-1) rotate(-65deg);

	}
}

@media (max-width: 480px) {
	.wish__form-body {
		gap: 10px;
	}

	.wish__form-row {
		flex-direction: column;
	}

	.wish__input:not(.wish__input--phone),
	.wish__textarea {
		padding: 12px 20px;
	}

	.wish__input--phone {
		padding-block: 12px;
	}

	.wish__form-detail {
		font-size: 25px;
	}

	.wish__form-detail::before {
		height: 80px;
		width: 40px;
	}
}

@media (max-width: 460px) {
	.wish__form-body {
		margin-top: 110px;
	}

	.wish__form-detail::before {
		top: 20px;
		left: -14px;
		width: 40px;
	}

	.wish__form-detail {
		top: 90px;
	}
}
.footer {
	position: relative;
	overflow: hidden;
}

.footer__container {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--border-color);
	background-color: var(--white);
	border-bottom: none;
	border-right: none;
	padding: 0;
	max-width: 100%;
	gap: 50px;
}

.footer__container:before {
	content: "";
	position: absolute;
	top: -1px;
	padding: 0;
	border-top: 1px solid var(--border-color);
	width: 100%;
	height: 100%;
	background-color: var(--white);
	z-index: 1;
	left: 100%;
}

.footer__map {
	position: relative;
}

.footer__map iframe {
	position: absolute !important;
	width: 100%;
	height: 100%;
}

.footer__map div {
	position: static !important;
}

.footer__content {
	padding-top: 50px;
	padding-right: 15px;
	padding-bottom: 15px;
}

.footer__top {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
	gap: 30px;
}

.footer__info {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}

.footer__phones {
	flex: 1 0 100%;
}

.footer-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.footer-item__icon {
	width: 20px;
	height: 20px;
	margin-top: 3px;
	color: var(--primary);
}

.footer-item__text {
	font-size: 16px;
	line-height: 1.24;
	color: var(--black);
}

.footer-phones__list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.footer-phones__phone {
	font-size: 44px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--gray-text);
}

.footer-phones__phone:hover {
	color: var(--primary);
}

.footer__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
}

/* Мессенджеры в футере — только иконки, без стрелки/подписи */
.hero-messengers--footer {
	flex-direction: row;
	gap: 10px;
}

.footer__divider {
	background-image: url('https://assets.primetours.ru/images/tm-e6a4af6303c951236e2d.svg');
	background-position: center left;
	background-repeat: no-repeat;
	background-size: 100%;
	width: 100%;
	height: 3px;
	margin: 30px 0;
}

.footer__middle {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-direction: column;
}

.footer__directions-title {
	font-size: 16px;
	font-weight: 400;
	margin-bottom: 20px;
	color: var(--black);
}

.footer__directions-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 60px;
	max-width: 560px;
}

.footer__direction-link {
	font-size: 24px;
	color: var(--black);
	text-decoration: underline;
	line-height: 1.24;
}

.footer__direction-link:hover {
	color: var(--primary);
}


.footer__social {
	gap: 20px;
	margin: 40px 0 20px;
}

.footer__bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 30px;
}

.footer__company-text {
	font-size: 12px;
	line-height: 1.24;
	color: var(--primary);
}

.footer__policy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.footer__policy-sep {
	color: var(--primary);
	opacity: 0.6;
	user-select: none;
}

.footer__policy-link {
	font-size: 12px;
	line-height: 1.24;
	color: var(--primary);
	text-decoration: none;
}

.footer__policy-link:hover {
	text-decoration: underline;
}

/* Адаптивные стили */
@media (max-width: 1100px) {
	.footer-phones__phone {
		font-size: 36px;
	}

	.footer__directions-list {
		gap: 15px;
	}

	.footer__direction-link {
		font-size: 20px;
	}


}

@media (max-width: 980px) {
	.footer__content {
		padding-top: 25px;
	}

	.footer__container {
		gap: 25px;
	}

	.footer__top {
		flex-direction: column;
	}

	.footer__info {
		width: 100%;
		justify-content: space-between;
	}

	.footer-phones__phone {
		font-size: 32px;
	}



}

@media (max-width: 768px) {
	.footer {
		padding: 40px 0 20px;
	}

	.footer__map {
		height: 320px;
	}

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

	.footer__content {
		padding: 15px;
	}

	.footer__info {
		flex-wrap: wrap;
		gap: 20px;
		justify-content: flex-start;
	}

	.footer__phones {
		flex: 1 0 100%;
	}

	.footer-phones__phone {
		font-size: 20px;
	}

	.footer__direction-link {
		font-size: 18px;
	}

	.footer__btn {
		width: 300px;
	}

	.footer__divider {

		width: calc(100vw + 50px);
		height: 10px;

		margin-left: -70px;
	}
}

@media (max-width: 480px) {
	.footer__buttons {
		flex-direction: column;
		width: 100%;
	}

	.buttons__btn {
		width: 100%;
	}

	.footer__social {
		gap: 10px;
	}

	.footer__directions-list {
		gap: 20px;
	}

	.footer__direction-link {
		font-size: 16px;
	}

	.btn {
		width: 100%;
	}
}
.popup {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.popup.active {
  opacity: 1;
  visibility: visible;
}

.popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-bg);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup.active .popup__overlay {
  opacity: 1;
}

.popup__content {
  position: relative;
  margin: auto;
  background-color: var(--white);
  border-radius: 8px;
  max-width: 90%;
  width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition:
    transform 0.4s ease,
    opacity 0.3s ease;
  z-index: 1001;
}

.popup.active .popup__content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.popup__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  padding: 0;
}

.popup__close:hover {
  opacity: 0.8;
}

.popup__close span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
}

.popup__close span:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.popup__close span:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

.popup__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-right: 25px;
}

.popup__body {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 100%;
}

/* Предотвращение прокрутки страницы при открытом попапе */
body.popup-active {
  overflow: hidden;
}

@media (max-width: 767px) {
  .popup__content {
    padding: 20px;
    width: 95%;
  }

  .popup__title {
    font-size: 1.25rem;
  }
}
