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

@font-face {
	font-family: 'Nicoletta script';
	src: url('../fonts/nicoletta-script.woff2') format('woff2'),
	     url('../fonts/nicolettascript.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
:root {
	--color-btn: #711B15;
	--font-main: 'RF Dewi', sans-serif;
	--font-heading: 'Nicoletta script', cursive;
	--container-width: 1440px;
	--color-text-muted: rgba(56, 66, 75, 0.5);
	--color-text-dark: #38424B;
	--color-border-light: rgba(255, 255, 255, 0.24);
}

body {
	font-family: var(--font-main);
	color: #333;
	background-color: #fff;
}

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
}

h2 {
	font-family: var(--font-heading);
	font-weight: 400;
}

.btn {
	background-color: var(--color-btn);
	color: #fff;
	font-size: 16px;
	font-family: var(--font-main);
	border: none;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	transition: background-color 0.3s ease;
}

.btn:hover {
	opacity: 0.9; 
}

.header-top {
	background-color: #fff;
	padding: 25px 0;
	position: relative;
	z-index: 100;
}

.header-top__left {
	gap: 20px; 
}

.header-top__right {
	gap: 30px; 
}

.header-descriptor {
	font-size: 14px;
	color: var(--color-text-muted);
	line-height: 1.3;
}

.header-contacts__label {
	font-size: 14px;
	color: var(--color-text-muted);
	display: flex;
	align-items: center;
	cursor: pointer;
	margin-bottom: 2px;
	gap: 5px;
	font-weight: 600;
}

.header-contacts-wrapper {
	position: relative;
	padding-bottom: 15px;
	margin-bottom: -15px;
}

.icon-arrow {
	transition: transform 0.3s ease;
}

.header-contacts-wrapper:hover .icon-arrow {
	transform: rotate(180deg);
}

.contacts-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	width: 230px;
	background: #fff;
	border: 1px solid rgba(56, 66, 75, 0.1);
	box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
	border-radius: 4px;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(15px);
	transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.3s;
	z-index: 1000;
}

.header-contacts-wrapper:hover .contacts-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.contacts-dropdown__item {
	margin-bottom: 16px;
}

.contacts-dropdown__item:last-child {
	margin-bottom: 0;
}

.contacts-dropdown__title {
	font-size: 14px;
	color: var(--color-text-muted);
	margin-bottom: 4px;
	line-height: 1.4;
}

.contacts-dropdown__phone {
	font-size: 18px;
	color: var(--color-text-dark);
	text-decoration: none;
	font-weight: 500;
	display: inline-block;
	transition: color 0.2s ease, transform 0.2s ease;
}

.contacts-dropdown__phone:hover,
.header-contacts__phone:hover {
	color: var(--color-btn);
	transform: translateX(4px);
}

.header-contacts__phone {
	font-size: 20px;
	color: var(--color-text-dark);
	text-decoration: none;
	font-weight: 600;
}

.header-contacts__phone:hover {
	color: var(--color-btn);
}

.btn-delivery {
	padding: 0 40px;
	height: 55px;
	gap: 10px;
	transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-delivery:hover {
	background-color: #5A1511;
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(113, 27, 21, 0.3);
}

.btn-delivery:active {
	transform: translateY(0);
}

.header-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	width: 100%;
	border-bottom: 1px solid rgba(56, 66, 75, 0.1); 
}

.header-nav__item {
	flex: 1;
	position: relative;
}

.header-nav__item:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 32px;
	background-color: rgba(56, 66, 75, 0.15);
	z-index: 1;
}

.header-nav__link {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 64px;
	color: var(--color-text-dark);
	text-decoration: none;
	font-size: 16px;
	transition: background-color 0.3s ease, color 0.3s ease;
	position: relative;
	z-index: 2;
}

.header-nav__link:hover,
.header-nav__link:active,
.header-nav__link.active {
	background-color: var(--color-btn);
	color: #fff;
}

.header-nav__link::after {
	display: none;
}

.hero {
	position: relative;
	width: 100%;
	height: 577px;
	background-color: #fff;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.hero__container {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero__text-layer {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	opacity: 0;
	transform: translateY(150px);
	animation: slideUpTitle 2.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
	margin-top: -250px;
}

.hero__title-wrapper {
	position: relative;
	display: inline-block;
}

.hero__subtitle {
	position: absolute;
	top: -55px;
	right: 0px;
	font-family: var(--font-heading);
	font-size: 48px;
	color: var(--color-text-dark);
	white-space: nowrap;
}

.hero__title {
	font-size: 136px;
	color: var(--color-btn);
	text-transform: uppercase;
	line-height: 1;
	margin: 0;
	white-space: nowrap;
}

.hero__food-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2; 
	pointer-events: none;
}

.hero__food-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

.hero__delivery-card {
	position: absolute;
	bottom: 30px; 
	left: 15px;
	z-index: 3;
	background: #fff;
	display: flex;
	box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
	opacity: 0;
	transform: translateX(-200px);
	animation: slideInFromLeft 3s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

.hero__delivery-content {
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

.hero__delivery-text {
	font-size: 18px;
	color: var(--color-text-dark);
	margin-bottom: 20px;
	line-height: 1.4;
	font-weight: 500;
}

.hero__delivery-image {
	width: 225px;
	overflow: hidden;
}

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

@keyframes slideUpTitle {
	0% {
		opacity: 0;
		transform: translateY(150px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes popUpCard {
	0% {
		opacity: 0;
		transform: translateY(50px) scale(0.95);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes slideInFromLeft {
	0% {
		opacity: 0;
		transform: translateX(-200px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

.hero__delivery-card:hover {
	box-shadow: 0px 25px 50px rgba(0, 0, 0, 0.15);
	transition: box-shadow 0.3s ease;
}

.about {
	position: relative;
	padding: 80px 0;
	background-color: #fff;
	overflow: hidden;
}

.about__bg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	max-width: 1200px;
	z-index: 0;
	pointer-events: none;
}

.about__bg img {
	width: 100%;
	height: auto;
	opacity: 0.85;
}

.about__container {
	position: relative;
	z-index: 1;
}

.h2 {
	font-size: 72px; 
	color: var(--color-text-dark);
	margin-bottom: 20px;
	text-align: center;
}

.about__subtitle {
	font-weight: 600;
	font-size: 32px;
	color: #711B15;
	margin-bottom: 30px;
	line-height: 1.3;
	text-align: center;
}

.about__text p {
	font-size: 18px;
	color: var(--color-text-dark);
	margin-bottom: 20px;
	line-height: 1.5;
	text-align: center;
}

.about__stats {
	margin-top: 50px;
	text-align: center;
}

.about__stat-num {
	font-size: 64px;
	font-weight: 600;
	color: #711B15;
	line-height: 1;
	margin-bottom: 10px;
}

.about__stat-label {
	font-size: 16px;
	color: #711B15;
}

.section-animate {
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-animate.is-visible {
	opacity: 1;
	transform: translateY(0);
}

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

.assortment {
	padding: 40px 0;
	background-color: #fff;
}

.line {
	border-bottom: 1px solid transparent;
	border-image-source: linear-gradient(90deg, rgba(255, 255, 255, 0) 30%, rgba(56, 66, 75, 0.5) 49.12%, rgba(255, 255, 255, 0) 70%);
	border-image-slice: 1;
	text-align: center;
}

.assortment__text {
	font-size: 18px;
	color: var(--color-text-dark);
	line-height: 1.5;
	margin-bottom: 40px;
	text-align: center;
}

.assortment__btn {
	margin-bottom: 96px;
}

.assortment__carousel-wrapper {
	width: 100%;
}

.assortment__carousel {
	display: flex;
	gap: 30px;
	overflow-x: auto;
	padding: 0 15px 40px 15px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	cursor: grab;
}

.assortment__carousel.is-dragging {
	cursor: grabbing; 
	scroll-snap-type: none;
}

.assortment__carousel::-webkit-scrollbar {
	display: none;
}

.assortment__carousel.is-dragging .assortment-card {
	pointer-events: none; 
}

.assortment-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}


.assortment-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
	z-index: 1;
	/* transition: background 0.3s ease; - удалено */
}

/* Создаем скрытый слой для темного градиента */
.assortment-card__overlay::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

/* Проявляем скрытый слой при наведении на карточку */
.assortment-card:hover .assortment-card__overlay::after {
	opacity: 1;
}


.assortment-card:hover .assortment-card__img {
	transform: scale(1.05);
}

.assortment-card__content {
	position: absolute;
	inset: 0;
	padding: 30px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	z-index: 2;
}

.assortment-card__title {
	font-family: var(--font-heading);
	font-size: 42px;
	color: #FFFFFF;
	margin: 0;
	font-weight: 300;
}

.assortment-card__btn {
	background-color: #FFFFFF;
	color: #38424B;
	font-family: var(--font-main);
	font-size: 14px;
	padding: 14px 24px;
	border: none;
	cursor: pointer;
	opacity: 0;
	transform: translateY(15px);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s;
	
	/* Новые свойства для выравнивания иконки и текста */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px; /* Отступ между надписью и иконкой */
}

.assortment-card__btn-icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
	display: block; /* Устраняет возможные лишние отступы снизу у строчных элементов */
}

.assortment-card:hover .assortment-card__btn {
	opacity: 1;
	transform: translateY(0);
}

.assortment-card__btn:hover {
	background-color: #f0f0f0;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.is-active {
	opacity: 1;
	visibility: visible;
}

.modal-content {
	background: #fff;
	padding: 40px;
	border-radius: 8px;
	width: 90%;
	max-width: 600px;
	position: relative;
	transform: scale(0.95);
	transition: transform 0.3s;
}

.modal-overlay.is-active .modal-content {
	transform: scale(1);
}

.modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: var(--color-text-muted);
	transition: color 0.2s;
}

.modal-close:hover {
	color: var(--color-btn);
}

.assortment-swiper {
	width: 100%;
	padding: 0 15px 40px 15px !important;
	overflow: hidden;
}

.assortment-swiper .swiper-wrapper {
	transition-timing-function: linear !important;
}

.swiper-slide.assortment-card {
	width: 521px;
	height: 347px;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.services {
	position: relative;
	margin: 0;
}

.services__row {
	transform: translateY(-60px); 
	--bs-gutter-x: 24px; 
}

.services__box {
	padding: 0 60px; 
	margin-top: 60px;
	background-color: var(--color-btn);
	background-image: url('polyana.kz/img/pattern-leaves.webp');
	background-size: cover;
	background-position: center;
}

.services .row.z-1 {
	z-index: 1;
}

.services .container {
	z-index: 1;
}

.service-card {
	display: block;
	position: relative;
	height: 480px;
	overflow: hidden;
	text-decoration: none;
	cursor: pointer;
	background-color: #000;
}

.service-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.3); 
	transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.is-visible .service-card__img {
	transform: scale(1);
}

.is-visible .service-card:hover .service-card__img {
	transform: scale(1.05);
	
}

.service-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
	z-index: 1;
	/* Удалили transition, так как базовый слой статичен */
}

.service-card__overlay::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
	opacity: 0;
	transition: opacity 0.4s ease; /* Плавность работает только для opacity */
}

/* Плавно проявляем темный градиент поверх старого при наведении на карточку */
.service-card:hover .service-card__overlay::after {
	opacity: 1;
}

.service-card__content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 40px;
	z-index: 2;
	color: #fff;
	transform: translateY(15px);
	transition: transform 0.4s ease, opacity 0.4s ease;
}

.service-card__title {
	font-family: var(--font-heading);
	font-size: 56px;
	font-weight: 400;
	color: #fff;
	margin-bottom: 15px;
	line-height: 1;
	text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.service-card__text {
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
	opacity: 0.85;
	transition: opacity 0.4s ease;
}

.service-card:hover .service-card__img {
	transform: scale(1.08);
}


.service-card:hover .service-card__content {
	transform: translateY(0);
}

.service-card:hover .service-card__text {
	opacity: 1;
}

.app-promo {
	padding: 0 0 40px 0;
	margin-top: 0;
}

.app-promo__box {
	position: relative;
	width: 100%;
	min-height: 500px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.app-promo__bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center right;
	z-index: 0;
	transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.app-promo__box:hover .app-promo__bg-img {
	transform: scale(1.01);
}

.app-promo__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
	z-index: 1;
	background-color: var(--color-btn);
	background-image: url('../img/app-promo-bg.webp'); 
	background-size: cover;
	background-position: center;
}

.app-promo__content {
	padding: 60px 80px; 
	position: relative;
	z-index: 2;
}

.app-promo__subtitle {
	font-family: var(--font-heading);
	font-size: 48px;
	color: #FFFFFF;
	margin-bottom: 10px;
	line-height: 1;
}

.app-promo__title {
	font-family: var(--font-main);
	font-size: 48px;
	font-weight: 600;
	color: #FFFFFF;
	margin-bottom: 20px;
	line-height: 1.2;
}

.app-promo__text {
	font-size: 18px;
	color: #FFFFFF;
	margin-bottom: 40px;
	opacity: 0.9;
}

.locations {
	position: relative;
	padding: 40px 0;
	background-color: #fff;
	overflow: hidden;
}

.locations__bg {
	position: absolute;
	top: 30%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	max-width: 1200px;
	z-index: -7;
	pointer-events: none;
	opacity: 0.75;
}

.locations__bg img {
	width: 100%;
	height: auto;
}

.locations__text {
	font-size: 18px;
	color: var(--color-text-dark);
	line-height: 1.5;
	margin-bottom: 40px;
}

.locations__tabs-wrapper {
	display: flex;
	justify-content: center;
	margin-bottom: 50px;
}

.locations__tabs {
	display: flex;
	gap: 10px;
}

.locations__tab {
	background-color: #ffffff;
	border: 1px solid rgba(56, 66, 75, 0.2);
	color: var(--color-text-dark);
	font-family: var(--font-main);
	font-size: 16px;
	padding: 12px 30px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.locations__tab.active,
.locations__tab:hover {
	background-color: var(--color-btn);
	color: #fff;
	border-color: var(--color-btn);
}

.locations__content-wrapper {
	position: relative;
	display: block;
}

.locations__pane {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.locations__pane.active {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	z-index: 2;
}

.locations__info-col {
	margin-bottom: 20px;
}

.locations__info-item {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 15px 0;
	border-bottom: 1px solid rgba(56, 66, 75, 0.1);
	gap: 20px;
}

.locations__label {
	font-weight: 600;
	color: var(--color-btn);
	text-align: left;
	flex-shrink: 0;
}

.locations__value {
	color: var(--color-text-dark);
	text-decoration: none;
	line-height: 1.4;
	text-align: right;
	max-width: 60%;
}

a.locations__value:hover {
	color: var(--color-btn);
}

.locations__map-wrapper {
	margin-top: 40px;
	width: 100%;
	height: 400px;
	background-color: #eee;
}

.locations__map {
	width: 100%;
	height: 100%;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.footer {
	background-color: var(--color-btn);
	color: #fff;
	margin-top: 0;
}

.footer__main {
	padding: 40px 0;
}

.footer__header {
	padding-bottom: 40px;
	margin-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__logo {
	max-width: 200px;
	height: auto;
}

.footer__nav a {
	color: #c3a9a9;
	text-decoration: none;
	font-size: 16px;
	transition: opacity 0.2s ease;
}

.footer__nav a:hover {
	opacity: 0.7;
}

.footer__desc-title {
	font-weight: 600;
	font-size: 18px;
	margin-bottom: 10px;
	line-height: 1.3;
}

.footer__desc-text {
	font-size: 14px;
	opacity: 0.7;
	line-height: 1.4;
	padding-bottom: 35px;
}

.btn-white {
	background-color: #fff;
	color: var(--color-btn);
	font-size: 14px;
	padding: 0 24px;
	height: 48px;
	transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; 
}

.btn-white:hover {
	background-color: #f8f9fa;
	color: var(--color-btn);
	transform: translateY(-2px); 
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); 
	opacity: 1; 
}

.btn-white:active {
	transform: translateY(0); 
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.footer__block-title {
	font-size: 14px;
	opacity: 0.7;
	margin-bottom: 15px;
}

.footer__address {
	font-weight: 300;
	font-size: 18px;
	margin-bottom: 10px;
}

.footer__contact-group {
	margin-bottom: 10px;
}

.footer__contact-label {
	font-size: 14px;
	opacity: 0.7;
	margin-bottom: 8px;
}

.footer__contact-link {
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: opacity 0.2s ease;
}

.footer__contact-link:hover {
	opacity: 0.7;
}

.footer__social-link img {
	width: 32px;
	height: 32px;
	transition: transform 0.2s ease;
}

.footer__social-link:hover img {
	transform: scale(1.1);
}

.footer__apps img {
	max-width: 230px;
}

.footer__apps  {
	gap: 20px;
}

.footer__apps a {
	display: block; 
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer__apps a:hover {
	transform: translateY(-4px);
	opacity: 0.9;
}

.footer__banner {
	position: relative;
	overflow: hidden;
}

.footer__banner-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.footer__banner-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.footer__giant-wrapper {
	overflow: hidden;
	width: 100%;
	padding: 102px 0;
}

.footer__giant-text {
	font-family: var(--font-main);
	font-size: clamp(32px, 9vw, 130px); 
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	line-height: 1.1;
	transform: translateY(120%);
	transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer__giant-icon {
	height: clamp(24px, 5vw, 80px);
	width: auto;
}

.section-animate.is-visible .footer__giant-text {
	transform: translateY(0);
}

.footer__bottom {
	background-color: var(--color-btn);
	padding: 20px 0;
	font-size: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gap-2 { gap: 10px; }
.gap-3 { gap: 30px; }

.modal-content--large {
	max-width: 1100px;
	padding: 0; 
	overflow: hidden;
	display: flex;
	flex-direction: column;
	max-height: 90vh;
}

.modal-close--white {
	color: #fff;
	z-index: 10;
	top: 20px;
	right: 25px;
	font-size: 36px;
}

.modal-close--white:hover {
	color: #ddd;
}

.modal-header-hero {
	position: relative;
	min-height: 380px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	flex-shrink: 0;
}

.modal-header-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.modal-header-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
	z-index: 1;
}

.modal-header-inner {
	position: relative;
	z-index: 2;
	padding: 40px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.modal-category {
	font-family: var(--font-heading);
	font-size: 64px;
	color: #fff;
	line-height: 0.8;
	margin-bottom: 15px;
}

.modal-title {
	font-size: 28px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 10px;
}

.modal-desc {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.5;
	margin: 0;
	max-width: 600px;
}

.modal-order-btn {
	display: inline-flex;
	align-items: center;
	border: none;
	font-weight: 500;
	padding: 0 30px;
}

.modal-body-content {
	position: relative;
	background-color: #fff;
	flex-grow: 1;
	overflow-y: auto;
	padding: 40px;
}

.modal-body-content::-webkit-scrollbar {
	width: 8px;
}

.modal-body-content::-webkit-scrollbar-track {
	background: #f1f1f1; 
}

.modal-body-content::-webkit-scrollbar-thumb {
	background: #ccc; 
	border-radius: 4px;
}

.modal-body-content::-webkit-scrollbar-thumb:hover {
	background: #aaa; 
}

.modal-body-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	pointer-events: none;
	z-index: 0;
}

.modal-section-title {
	font-size: 24px;
	font-weight: 600;
	color: var(--color-text-dark);
	margin-bottom: 30px;
}

.modal-menu-list {
	display: flex;
	flex-direction: column;
}

.modal-menu-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid rgba(56, 66, 75, 0.1);
}

.modal-item-info {
	flex-grow: 1;
	padding-right: 30px;
}

.modal-item-name {
	font-size: 18px;
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: 6px;
}

.modal-item-desc {
	font-size: 14px;
	color: var(--color-text-muted);
	line-height: 1.4;
}

.modal-item-action {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-shrink: 0;
}

.modal-item-price {
	font-size: 18px;
	font-weight: 600;
	color: var(--color-text-dark);
	white-space: nowrap;
}

.modal-cart-btn {
	width: 48px;
	height: 48px;
	border: 1px solid rgba(56, 66, 75, 0.2);
	background-color: #fff;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.modal-cart-btn:hover {
	border-color: var(--color-btn);
	background-color: var(--color-btn);
}

.modal-cart-btn:hover svg {
	stroke: #fff;
}

.mobile-btn {
	width: 44px;
	height: 44px;
	background-color: var(--color-btn);
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.mobile-btn:hover,
.mobile-btn:active {
	background-color: #5A1511;
}

.mobile-btn:active {
	transform: scale(0.95);
}

/* =========================================
   Адаптивность 
========================================= */

@media (max-width: 1399px) {
	.hero__title { font-size: 10vw; }
	.hero__subtitle { font-size: 4vw; top: -4vw; }
}

@media (max-width: 1199px) {
	.header-nav { display: none; }
	.header-contacts-wrapper { display: none !important; }
	.header {
		position: sticky;
		top: 0;
		z-index: 110;
		background-color: #fff;
		width: 100%; /* Обязательно для фиксации ширины */
	}

	/* Принудительно фиксируем шапку относительно экрана, когда скролл заблокирован */
	.header.menu-open {
		position: fixed;
		left: 0;
	}
	.mobile-menu {
		position: fixed;
		top: 0;
		right: 0;
		width: 100vw;
		height: 100vh;
		z-index: 99;
		background-color: #ffffff;
		padding-top: 100px;
		padding-bottom: 40px;
		overflow-y: auto;
		/* Логика выезда сбоку */
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s;
		overflow: hidden;
	}

	.mobile-menu.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	.header.menu-open .header-top { position: relative; z-index: 100; }
	.header.menu-open .burger-icon { display: none !important; }
	.header.menu-open .close-icon { display: block !important; }

	.mobile-menu__descriptor {
		font-size: 14px;
		color: var(--color-text-muted);
		line-height: 1.4;
		padding: 20px 0;
		border-bottom: 1px solid rgba(56, 66, 75, 0.1);
	}

	.mobile-menu__nav { display: flex; flex-direction: column; }

	.mobile-menu__link {
		font-size: 16px;
		color: var(--color-text-dark);
		text-decoration: none;
		padding: 16px 15px; 
		margin: 0 -15px;
		border-bottom: 1px solid rgba(56, 66, 75, 0.1);
		transition: background-color 0.2s, color 0.2s;
	}

	.mobile-menu__link.active {
		background-color: var(--color-btn);
		color: #fff;
		border-bottom-color: transparent;
	}

	.mobile-menu__addresses { padding: 20px 0 40px 0; }
	.mobile-menu__addresses-label { font-size: 14px; color: var(--color-text-muted); margin-bottom: 10px; }
	.mobile-menu__address-item { font-size: 18px; color: var(--color-text-dark); margin-bottom: 6px; }
}

@media (max-width: 991px) {
	.services__row { transform: translateY(-40px); margin-bottom: -40px; }
	.service-card__title { font-size: 46px; }
	.service-card__content { padding: 30px; }
	.app-promo__content { padding: 40px 40px; }
	.footer__giant-text { gap: 10px; }
	.modal-header-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
	.services__box { padding: 0 30px; }
	.footer__giant-wrapper {padding: 74px 0;}
}

@media (max-width: 767px) {
	.container { padding-left: 24px; padding-right: 24px; }
	.header-top__right { gap: 15px; }
.header {
		position: sticky;
		top: 0;
		z-index: 110;
		background-color: #fff;
		width: 100%; /* Обязательно для фиксации ширины */
	}
	.app-promo__content { padding: 40px 20px; }
	/* Принудительно фиксируем шапку относительно экрана, когда скролл заблокирован */
	.header.menu-open {
		position: fixed;
		left: 0;
	}
/* Активное состояние (открытое меню) */
.mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
}
	.header-top { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); }
	.header-logo { max-width: 150px; flex-shrink: 1; display: block; }
	.header-logo img { width: 100%; height: auto; }
	
	.mobile-btn { width: 40px; height: 40px; }
	.btn-delivery { padding: 0 30px; font-size: 14px; }
	
	.mobile-menu__link {
		padding-left: 24px;
		padding-right: 24px;
		margin-left: -24px;
		margin-right: -24px;
	}

	.menu-backdrop {
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background-color: rgba(0, 0, 0, 0.5);
		backdrop-filter: blur(5px);
		-webkit-backdrop-filter: blur(5px);
		z-index: 98;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}

	.header.menu-open .menu-backdrop { opacity: 1; visibility: visible; }

	.hero { height: auto; min-height: unset; padding-top: 30px; padding-bottom: 40px; display: block; position: relative; }
	.hero__container { display: block; height: auto; }
	
	.hero__text-layer {
		position: relative;
		z-index: 1;
		margin-top: 0;
		text-align: center;
		opacity: 0;
		transform: translateY(20px);
		animation: fadeInUpMobile 0.8s ease forwards;
	}

	.hero__title-wrapper { display: inline-block; position: relative; top: 72px; }
	.hero__subtitle { font-size: 35px; top: -45px; right: 0; color: var(--color-text-muted); }
	.hero__title { font-size: 8.5vw; white-space: normal; line-height: 1.1; display: block; width: 100%; margin: 0 auto; }
	
	.hero__food-layer { position: absolute; top: 65px; left: -6px; width: 117%; height: 238px; z-index: 2; }
	.hero__food-img { object-position: center 18%; object-fit: contain; }

	.hero__delivery-card {
		position: relative;
		left: 0;
		bottom: auto;
		width: 100%;
		margin-top: 200px;
		flex-direction: row; 
		padding: 0; 
		overflow: hidden;
		z-index: 3;
		opacity: 0;
		transform: translateY(20px);
		animation: fadeInUpMobile 0.8s ease forwards 0.3s;
		max-width: 450px;
	}

	.hero__delivery-content { padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
	.hero__delivery-text { font-size: 15px; margin-bottom: 15px; line-height: 1.3; }
	.hero__delivery-card .btn-delivery { width: 100%; height: 40px; font-size: 14px; padding: 0; }
	.hero__delivery-image { width: 40%; height: auto; flex-shrink: 0; }
	.hero__courier-img { width: 100%; height: 100%; object-fit: cover; }

	@keyframes fadeInUpMobile {
		0% { opacity: 0; transform: translateY(20px); }
		100% { opacity: 1; transform: translateY(0); }
	}

	.h2 { font-size: 48px; margin-bottom: 15px; padding-bottom: 15px; }
	.about { padding: 40px 0; }
	.about__bg { width: 280%; }
	.about__subtitle { font-size: 18px; }
	.about__text p { font-size: 16px; }
	.about__stats { flex-wrap: nowrap; margin-top: 10px; }
	.about__stat-num { font-size: 24px; }
	.about__stat-label { font-size: 12px; }

	.assortment { padding: 10px 0; }
	.assortment__text { font-size: 16px; margin-bottom: 16px; }
	.assortment__btn { margin-bottom: 30px; }
	.assortment-card { flex: 0 0 85vw; height: 60vw; }
	.swiper-slide.assortment-card { width: 85vw; height: 60vw; }
	.assortment-card__btn { padding: 10px 0; width: 165px; }
	.assortment-card__content { gap: 7px; }
	.assortment-card__title { font-size: 36px; line-height: normal; }

	.services__box { background-image: none; background-color: transparent; padding: 0; }
	.services__row { transform: translateY(-40px); margin-bottom: 0; }
	.services__row > div { margin-bottom: 20px; }
	.services__row > div:last-child { margin-bottom: 0; }
	.service-card { height: 300px; }
	.services {	background-color: var(--color-btn); background-image: url('../img/pattern-leaves.webp'); background-size: cover; background-position: center;}

	.app-promo { padding: 0; margin-top: 0; background-color: var(--color-btn); background-image: url('../img/app-promo.png'); background-size: cover; background-position: center; }
	.app-promo__box { min-height: 400px; }
	.app-promo__overlay { position: absolute; inset: 0; background: transparent; z-index: 1;}
	.app-promo__subtitle { font-size: 40px; margin-bottom: 24px; }
	.app-promo__title { font-size: 24px; font-weight: 500; }
	.app-promo__text { font-size: 16px; margin-bottom: 24px; }

	.locations__tabs {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start;
		padding-bottom: 12px;
		scrollbar-width: thin;
		scrollbar-color: var(--color-btn) transparent; 
	}
	.locations__tabs::-webkit-scrollbar { height: 4px; }
	.locations__tabs::-webkit-scrollbar-track { background: rgba(56, 66, 75, 0.1); border-radius: 4px; }
	.locations__tabs::-webkit-scrollbar-thumb { background-color: var(--color-btn); border-radius: 4px; }
	.locations__tab { flex-shrink: 0; white-space: nowrap; }
	.locations__map-wrapper { height: 328px; margin-top: 20px; }

	.footer__main { padding: 40px 0 20px 0; }
	.footer__header { padding-bottom: 25px; margin-bottom: 30px; }
	.footer__content > div { margin-bottom: 24px; }
	.footer__content > div:last-child { margin-bottom: 0; }
	.footer .btn-white { margin-top: 25px !important; }
	.footer__desc-text { padding-bottom: 0; }
	.footer__address { font-size: 16px; }
	.footer__banner { position: relative; height: auto; overflow: hidden; }
	.footer__giant-wrapper { padding: 60px 0; }
	.footer__giant-text { font-size: clamp(31px, 7.9vw, 130px); }
	.footer__bottom { padding: 10px 0; font-size: 12px; line-height: 2.9; }

	.modal-content--large { width: 100%; height: 100%; max-height: 100vh; border-radius: 0; }
	.modal-header-hero { min-height: 300px; }
	.modal-header-inner, .modal-body-content { padding: 20px; }
	.modal-menu-item { flex-direction: column; align-items: flex-start; gap: 15px; }
	.modal-item-info { padding-right: 0; }
	.modal-item-action { width: 100%; justify-content: space-between; }
	
}

/* --- Прелоудер --- */
body.no-scroll {
	overflow: hidden;
}

.preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-btn);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 99999;
	transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.is-hidden {
	opacity: 0;
	visibility: hidden;
}

.preloader__logo {
	width: 120px;
	animation: pulseLogo 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseLogo {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(0.95); }
}

.marquee {
	background-color: var(--color-btn); 
	color: #fff;
	padding: 15px 0;
	overflow: hidden;
	white-space: nowrap;
	border-top: 1px solid rgba(255,255,255,0.1);
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee__inner {
	display: inline-block;
	animation: marqueeSlide 20s linear infinite;
}

.marquee span {
	font-family: var(--font-main);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 2px;
	padding-right: 20px;
}

@keyframes marqueeSlide {
	0% { transform: translateX(0); }
	100% { transform: translateX(-33.33%); } 
}


html {
	scroll-behavior: initial !important; 
}


html.lenis {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

button:focus {
    outline: none;
}


.page-hero {
	padding: 80px 0 40px;
	background-color: #fff;
}

.text-start {
	text-align: left !important;
}

.ps-md-5 {
	padding-left: 48px;
}

.pe-md-5 {
	padding-right: 48px;
}

/* Промежуточные отступы для планшетов (768px - 991px) */
@media (max-width: 991px) {
	.ps-md-5 { padding-left: 32px; }
	.pe-md-5 { padding-right: 32px; }
}

@media (max-width: 991px) {
	.about, 
	.assortment, 
	.services-accordion, 
	.equipment, 
	.locations, 
	.locations-content,
	.page-hero { 
		padding-top: 10px; 
		padding-bottom: 10px; 
	}
	
	.footer__main {
		padding: 60px 0 40px;
	}

	.loc-card {
		margin-bottom: 40px;
	}
	
	/* Внутренние отступы крупных блоков */
	.vacancy-card { 
		padding: 32px; 
	}
}

/* Полный сброс только для телефонов (< 768px) */
@media (max-width: 767px) {
	.ps-md-5 { padding-left: 15px !important; }
	.pe-md-5 { padding-right: 15px !important; }
}

.inner-hero {
	position: relative;
	padding-top: 48px;
	padding-bottom: 120px;
	background-color: #fff;
	background-position: center top;
	background-repeat: no-repeat;
	background-size: contain; 
}


.inner-hero--catering {
	background-image: url('../img/catering.png');
}

.inner-hero--contacts {
	background-image: url('../img/contacts.png');
}

.breadcrumbs-bar {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 40px; 
}

.btn-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 48px;
	background-color: var(--color-btn);
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-back:hover {
	background-color: #5A1511;
	transform: translateX(-4px);
}

.breadcrumbs {
	display: flex;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
}

.breadcrumbs__item {
	display: flex;
	align-items: center;
	font-family: var(--font-main);
	font-size: 16px;
}

.breadcrumbs__link {
	color: var(--color-text-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

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

.breadcrumbs__item--active {
	color: var(--color-text-dark);
	font-weight: 500;
}

.breadcrumbs__item:not(:last-child)::after {
	content: '';
	display: block;
	width: 1px;
	height: 20px;
	background-color: rgba(56, 66, 75, 0.2);
	margin: 0 24px;
}

.inner-hero__title {
	font-family: var(--font-heading);
	font-size: 80px;
	color: var(--color-text-dark);
	margin-bottom: 16px;
	line-height: 1;
	font-weight: 300;
}

.inner-hero__subtitle {
	font-family: var(--font-main);
	font-size: 18px;
	color: var(--color-text-dark);
	line-height: 1.4;
	max-width: 800px;
	margin: 0 auto;
}

@media (max-width: 991px) {
	.inner-hero {
		padding-top: 32px;
		padding-bottom: 80px;
	}
	.inner-hero__title {
		font-size: 64px;
	}
}

@media (max-width: 767px) {
	.inner-hero {
		padding-top: 24px;
		padding-bottom: 50px;
		background-position: center center;
	}
	.breadcrumbs-bar {
		gap: 16px;
		margin-bottom: 32px;
	}
	.breadcrumbs {
		flex-wrap: wrap;
	}
	.breadcrumbs__item:not(:last-child)::after {
		margin: 0 12px;
	}
	.btn-back {
		width: 48px;
		height: 48px;
		flex-shrink: 0;
	}
	.inner-hero__title {
		font-size: 60px;
		margin-bottom: 12px;
	}
	.inner-hero__subtitle {
		font-size: 16px;
	}
	.inner-hero__subtitle br {
		display: none; 
	}
	.locations-content {
    padding-bottom: 60px !important;
    background-color: #fff;
}
}


.events {
	padding: 40px 0;
	background-color: #fff;
}

.events .row [class*="col-"] {
	opacity: 0; 
	transform: translateY(30px); 
	transition: opacity 0.6s ease, transform 0.6s ease;
	will-change: opacity, transform;
}

.events.is-visible .row [class*="col-"] {
	opacity: 1;
	transform: translateY(0);
}

/* Первая карточка - без задержки */
.events.is-visible .row [class*="col-"]:nth-child(1) {
	transition-delay: 0s;
}

/* Вторая карточка - задержка 0.2с */
.events.is-visible .row [class*="col-"]:nth-child(2) {
	transition-delay: 0.2s;
}

/* Третья карточка - задержка 0.4с */
.events.is-visible .row [class*="col-"]:nth-child(3) {
	transition-delay: 0.4s;
}

/* Четвертая карточка - задержка 0.6с */
.events.is-visible .row [class*="col-"]:nth-child(4) {
	transition-delay: 0.6s;
}

.events__header {
	margin-bottom: 60px;
}

.events__title {
	font-family: var(--font-heading);
	font-size: 64px;
	color: var(--color-text-dark);
	margin-bottom: 40px;
	line-height: 1;
	font-weight: 400;
}

.events__subtitle {
	font-family: var(--font-main);
	font-size: 18px;
	color: var(--color-text-dark);
	line-height: 1.5;
	margin: 0 auto;
}

.event-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
}

.event-card__img-wrapper {
	width: 100%;
	background-color: #EFEFEF; 
	margin-bottom: 24px;
	overflow: hidden; 
	display: flex; 
	align-items: center;
	justify-content: center;
}

.event-card__img {
	width: 100%;
	height: 100%;
	object-fit: none;
	transition: transform 0.4s ease-out; 
	will-change: transform; 
}

.event-card:hover .event-card__img {
	transform: scale(1.03); 
}

.event-card__title {
	font-family: var(--font-main);
	font-size: 18px;
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: 16px;
	line-height: 1.3;
}

.event-card__divider {
	width: 90%;
	height: 1px;
	background-color: rgba(56, 66, 75, 0.2);
	border: none;
	margin: 0 auto 16px;
}

.event-card__text {
	font-family: var(--font-main);
	font-size: 16px;
	color: #38424B;
	line-height: 1.4;
	margin: 0;
}

@media (max-width: 991px) {
	.events {
		padding: 40px 0;
	}
	.events__header {
		margin-bottom: 40px;
	}
	.events__title {
		font-size: 48px;
	}
	.event-card__img-wrapper {
		margin-bottom: 20px;
	}
	
	.event-card {
    margin-bottom: 15px;
	}
}

@media (max-width: 767px) {
	.events {
		padding: 20px 0;
	}
	.event-card__img-wrapper {
        margin-bottom: 15px;
    }
	.event-card {
    margin-bottom: 20px;
	}
	.events__title {
		font-size: 42px;
		margin-bottom: 16px;
	}
	.events__subtitle {
		font-size: 14px;
	}
	.event-card__title {
		font-size: 14px; 
		margin-bottom: 12px;
	}
	.event-card__divider {
		margin-bottom: 12px;
	}
	.event-card__text {
		font-size: 12px; 
		line-height: 1.3;
	}
}

.reasons {
	padding: 40px 0;
	background-color: #fff;
}

.reason-card {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4; 
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 36px 16px;
	background-color: #EFEFEF;
}

.reason-card__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	transition: transform 0.6s ease-out;
	will-change: transform;
}

.reason-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(0 0 0 / 50%) 0%, rgba(0, 0, 0, 0) 60%);
	z-index: 2;
	pointer-events: none;
}

.reason-card__number {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 32px;
	height: 32px;
	background-color: #fff;
	color: var(--color-text-dark);
	font-family: var(--font-main);
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
}

.reason-card__text {
	position: relative;
	z-index: 3;
	color: #fff;
	font-family: var(--font-main);
	font-size: 18px;
	line-height: 1.3;
	text-align: center;
	margin: 0;
}

.reason-card:hover .reason-card__bg {
	transform: scale(1.06);
}

.reasons .row [class*="col-"] {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	will-change: opacity, transform;
}

.reasons.is-visible .row [class*="col-"] {
	opacity: 1;
	transform: translateY(0);
}

.reasons.is-visible .row [class*="col-"]:nth-child(1) { transition-delay: 0s; }
.reasons.is-visible .row [class*="col-"]:nth-child(2) { transition-delay: 0.15s; }
.reasons.is-visible .row [class*="col-"]:nth-child(3) { transition-delay: 0.3s; }
.reasons.is-visible .row [class*="col-"]:nth-child(4) { transition-delay: 0.45s; }

@media (max-width: 991px) {
	.reasons {
		padding: 40px 0;
	}
	.reason-card__text {
		font-size: 16px;
	}
	    .reason-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
	.reasons {
		padding: 30px 0;
	}
	.reason-card {
		aspect-ratio: 4 / 5;
		padding: 16px 8px;
		margin-bottom: 15px;
	}
	.reason-card__number {
		top: 8px;
		left: 8px;
		width: 24px;
		height: 24px;
		font-size: 12px;
	}
	.reason-card__text {
		font-size: 13px;
	}
}

.contacts-info {
	padding: 20px 0 80px; 
	background-color: #fff;
}

.contact-item {
	display: flex;
	flex-direction: column;
}

.contact-item__label {
	font-family: var(--font-main);
	font-size: 14px;
	color: var(--color-text-muted); 
	margin-bottom: 8px;
	line-height: 1.2;
}

.contact-item__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-main);
	font-size: 24px;
	color: var(--color-text-dark);
	text-decoration: none;
	font-weight: 400;
	transition: color 0.2s ease;
}

.contact-item__phone:hover {
	color: var(--color-btn); 
}

.contacts-map {
	height: 500px;
	background-color: #EFEFEF; 
	border-radius: 8px; 
	overflow: hidden;
	margin-top: 80px
}

@media (max-width: 991px) {
	.contact-item__phone {
		font-size: 20px;
	}
	.contacts-map {
		margin-top: 60px;
		height: 400px;
	}
}

@media (max-width: 767px) {
	.contacts-info {
		padding: 0 0 40px;
	}
	.contact-item {
		margin-bottom: 8px; 
	}
	.contact-item__phone {
		font-size: 18px;
	}
	.contacts-map {
		margin-top: 40px;
		height: 350px;
	}
}



.inner-hero--vacancies {
	background-image: url('../img/vacancies-hero-bg.png');
}


.vacancies-intro {
	padding: 0 0 60px; 
	background-color: #fff;
}

.vacancies-intro__text {
	font-family: var(--font-main);
	font-size: 16px;
	line-height: 1.5;
	color: var(--color-text-dark);
	max-width: 800px;
	margin: 0 auto;
}

.vacancies {
	padding-bottom: 80px;
	background-color: #fff;
}

.vacancy-card {
	position: relative;
	border: 1px solid rgba(56, 66, 75, 0.2); 
	padding: 35px 40px;
	min-height: 340px;
	display: flex;
	align-items: center;
}

.vacancy-card__bg {
    position: absolute;
    inset: 0;
    background-size: auto;
    background-position: right;
    z-index: 0;
    pointer-events: none;
}

.vacancy-card__content {
	position: relative;
	z-index: 2;
	max-width: 60%;
}

.vacancy-card__subtitle {
	font-family: var(--font-heading);
	font-size: 48px;
	color: rgba(56, 66, 75, 0.6); 
	line-height: 1;
	margin-bottom: 12px;
	font-weight: 400;
}

.vacancy-card__title {
	font-family: var(--font-main);
	font-size: 24px;
	font-weight: 500;
	color: var(--color-text-dark);
	line-height: 1.2;
	margin-bottom: 16px;
}

.vacancy-card__text {
	font-family: var(--font-main);
	font-size: 16px;
	line-height: 1.4;
	color: var(--color-text-dark);
	margin-bottom: 32px;
}

/* Кнопки */
.vacancy-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 24px;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	border: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
	width: max-content;
}

.vacancy-card__btn:hover {
	color: #fff;
	transform: translateY(-2px);
}

.vacancy-card__btn--enbek {
	background-color: var(--color-btn); 
}

.vacancy-card__btn--enbek:hover {
	background-color: #5A1511;
}

.vacancy-card__btn--olx {
	background-color: #002F34; 
}

.vacancy-card__btn--olx:hover {
	background-color: #001f22;
}

.vacancy-card__logo {
	width: auto;
	object-fit: contain;
}

.vacancy-card__img {
    position: absolute;
    bottom: 0;
    right: -15px;
    height: 112%;
    width: auto;
    max-width: 53%;
    object-fit: contain;
    object-position: bottom;
    z-index: 1;
    pointer-events: none;
}

/* =========================================
   Адаптив
========================================= */
@media (max-width: 1199px) {
	.vacancy-card {
		padding: 40px 24px;
	}
	.vacancy-card__subtitle {
		font-size: 40px;
	}
	.vacancy-card__title {
		font-size: 20px;
	}
	.vacancy-card__content {
		max-width: 55%;
	}
}

@media (max-width: 991px) {
	.vacancies-intro__text {
		font-size: 15px;
	}
	.vacancy-card__img {
		right: 40px;
		height: 100%;
	}
		.vacancy-card {
		margin-bottom: 10px;
	}
}


@media (max-width: 767px) {
	.vacancies-intro {
		padding: 0 0 40px;
	}
	.vacancy-card {
		padding: 32px 20px;
		min-height: auto;
		flex-direction: column;
		align-items: flex-start;
		overflow: hidden; 
		margin-bottom: 10px;
	}
	.vacancy-card__content {
		max-width: 100%;
		position: relative;
		z-index: 2;
	}
	.vacancy-card__subtitle {
		font-size: 32px;
	}
	.vacancy-card__img {
		position: relative;
		height: 200px;
		max-width: 100%;
		right: auto;
		bottom: auto;
		margin-top: 24px;
		align-self: flex-end;
		object-position: right bottom;
		display: none;
	}
	.vacancy-card__btn {
		width: 100%;
		justify-content: center;
	}
}


.inner-hero--corporate {
	background-image: url('../img/corporate-hero-bg.png');
}


.event-card__img-wrapper--landscape {

}


.services-accordion {
	padding: 80px 0;
	background-color: #fff;
}


.accordion__item {
	border-bottom: 1px solid rgba(56, 66, 75, 0.15); 
}

.accordion__item:first-child {
	border-top: 1px solid rgba(56, 66, 75, 0.15);
}

.accordion__header {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 0;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	color: var(--color-text-dark);
	transition: color 0.3s ease;
}

.accordion__title {
	font-family: var(--font-main);
	font-size: 18px;
	font-weight: 500;
	padding-right: 16px;
}

.accordion__icon {
	flex-shrink: 0;
	color: var(--color-btn); 
	transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion__content {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion__body {
	overflow: hidden;
	font-family: var(--font-main);
	font-size: 14px;
	line-height: 1.5;
	color: rgba(56, 66, 75, 0.8); 
}

.accordion__body p {
	padding-bottom: 24px;
	margin: 0;
}


.accordion__item.is-active .accordion__header {
	color: var(--color-btn); 
}

.accordion__item.is-active .accordion__icon {
	transform: rotate(-180deg);
}

.accordion__item.is-active .accordion__content {
	grid-template-rows: 1fr;
}

.gallery-wrapper {
	width: 100%;
}

.gallery-main {
	width: 100%;
	aspect-ratio: 16 / 9; 
	    padding-bottom: 10px;
}

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

.gallery-thumbs {
	width: 100%;
	height: auto;
	box-sizing: border-box;
}

.gallery-thumbs .swiper-slide {
	width: 25%;
	aspect-ratio: 16 / 9;
	opacity: 0.4;
	cursor: pointer;
	transition: opacity 0.3s ease;
	background-color: #EFEFEF;
}

.gallery-thumbs .swiper-slide-thumb-active {
	opacity: 1;
}

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

/* =========================================
   Адаптив
========================================= */
@media (max-width: 991px) {
	.services-accordion {
		padding: 60px 0;
	}
	.accordion__title {
		font-size: 16px;
	}
}

@media (max-width: 767px) {
	.services-accordion {
		padding: 40px 0;
	}
	.accordion__header {
		padding: 16px 0;
	}
	.accordion__body p {
		padding-bottom: 16px;
	}
	.gallery-thumbs .swiper-slide {
		width: 33.33%; 
	}
}


.reasons.is-visible .row [class*="col"]:nth-child(5) { 
	transition-delay: 0.6s; 
}

@media (min-width: 992px) and (max-width: 1199px) {
	.col-lg .reason-card__text {
		font-size: 15px; 
	}
}


@media (max-width: 767px) {
.reasons--corporate .row {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start !important; 
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		padding-bottom: 24px;
		margin-left: 0;
		margin-right: 0;
		padding-left: 15px;
		padding-right: 15px;
	}

	.reasons--corporate .row::-webkit-scrollbar {
		display: none;
	}

	.reasons--corporate .row [class*="col"] {
		flex: 0 0 60%; 
		width: 60%;
		max-width: none;
		margin-right: 16px; 
		padding-left: 0;
		padding-right: 0;
		scroll-snap-align: center;
		
	}

	.reasons--corporate .row [class*="col"]:last-child {
		margin-right: 0;
	}
}

.inner-hero--conference {
	background-image: url('../img/conference-hero-bg.png');
}

.conference-preview {
	background-color: #fff;
}

.conference-preview__wrapper {
	overflow: hidden;
}

.conference-preview__img {
	width: 100%;
	transition: transform 0.8s ease;
	will-change: transform;
}

.conference-preview__wrapper:hover .conference-preview__img {
	transform: scale(1.01);
}

@media (max-width: 991px) {
	.conference-preview {

	}
	.conference-preview__wrapper {
		
	}
}

@media (max-width: 767px) {
	.conference-preview {
		
	}
	.conference-preview__wrapper {
	
	}
}

.equipment {
	padding: 0 0 40px;
	background-color: #fff;
}

.equipment-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	border: 1px solid rgba(56, 66, 75, 0.2);
	padding: 40px;
	background-color: #fff;
}

.equipment-card__content {
	flex: 0 0 55%;
	padding-right: 24px;
}

.equipment-card__title {
	font-family: var(--font-main);
	font-size: 24px;
	font-weight: 600;
	color: var(--color-btn); 
	margin-bottom: 16px;
	line-height: 1.2;
}

.equipment-card__text {
	font-family: var(--font-main);
	font-size: 16px;
	color: var(--color-text-dark);
	line-height: 1.5;
	margin: 0;
}

.equipment-card__img {
	flex: 0 0 45%;
	max-width: 45%;
	height: auto;
	object-fit: contain;
}

@media (max-width: 1199px) {
	.equipment-card {
		padding: 32px 24px;
	}
	.equipment-card__title {
		font-size: 20px;
	}
	.equipment-card__text {
		font-size: 15px;
	}
}

@media (max-width: 991px) {
	.equipment {
		padding: 0 0 60px;
	}
	.equipment-card__content {
		flex: 0 0 60%;
	}
	.equipment-card__img {
		flex: 0 0 40%;
		max-width: 25%;
	}
	.mb-5 {
		margin-bottom: 5px;
	}
	
	.mb-10 {
		margin-bottom: 10px;
	}
}

@media (max-width: 767px) {
	.equipment {
		padding: 0 0 40px;
	}
	.equipment-card {
		flex-direction: column-reverse;
		padding: 24px 20px;
		text-align: center;
	}
	.equipment-card__content {
		padding-right: 0;
		flex: 1 1 auto;
	}
	.equipment-card__title {
		font-size: 18px;
	}
	.equipment-card__text {
		font-size: 14px;
	}
	.equipment-card__img {
		flex: 1 1 auto;
		max-width: 80%;
		margin-bottom: 24px;
	}
	
	.mb-5 {
		margin-bottom: 5px;
	}
	
	.mb-10 {
		margin-bottom: 10px;
	}
}


.inner-hero--locations {
	background-image: url('../img/locations-hero-bg.png');
}

.page-tabs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.page-tabs__btn {
	padding: 12px 24px;
	background-color: transparent;
	border: 1px solid rgba(56, 66, 75, 0.2);
	color: var(--color-text-dark);
	font-family: var(--font-main);
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.page-tabs__btn.is-active,
.page-tabs__btn:hover {
	background-color: var(--color-btn);
	border-color: var(--color-btn);
	color: #fff;
}

.locations-content {
	padding-bottom: 80px;
	background-color: #fff;
}

.locations-pane {
	display: none;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.locations-pane.is-active {
	display: block;
	animation: fadeIn 0.4s forwards;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.loc-card {
	margin-bottom: 60px;
}

.loc-card:last-child {
	margin-bottom: 0;
}

.loc-card__title {
	font-family: var(--font-main);
	font-size: 24px;
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: 16px;
}

.loc-card__desc {
	font-family: var(--font-main);
	font-size: 18px;
	color: #38424B;
	line-height: 1.5;
	margin-bottom: 32px;
}

.loc-info {
	
}

.loc-info__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid rgba(56, 66, 75, 0.15);
}

.loc-info__label {
	font-family: var(--font-main);
	font-size: 18px;
	font-weight: 600;
	color: #711B15;
	flex-shrink: 0;
}

.loc-info__value {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	font-family: var(--font-main);
	font-size: 14px;
	color: var(--color-text-dark);
	text-align: right;
	
}

.btn-sm-map {
	background-color: var(--color-btn);
	color: #fff;
	border: none;
	padding: 8px 16px;
	font-size: 12px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.btn-sm-map:hover {
	background-color: #5A1511;
}

.loc-card__img-wrapper {
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: #EFEFEF;
	overflow: hidden;
}

.loc-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.loc-card:hover .loc-card__img {
	transform: scale(1.05);
}

@media (max-width: 991px) {
	.loc-info__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.loc-info__value {
		width: 100%;
		justify-content: space-between;
		text-align: left;
	}
}

@media (max-width: 767px) {
	.page-tabs {
		gap: 8px;
	}
	.page-tabs__btn {
		padding: 10px 16px;
		font-size: 13px;
	}
	.loc-card__title {
		font-size: 20px;
	}
	.btn-sm-map {
		padding: 6px 12px;
	}
	
	.loc-card__desc {
    font-size: 16px;
}
}


.locations__panes-wrapper, 
.page-tabs__content {      
	display: grid;
}


.locations__pane,
.locations-pane {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	pointer-events: none; 
}

.locations__pane.active,
.locations-pane.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 2;
}

.mobile-btn {
	position: relative;
	overflow: hidden;
}

.burger-icon,
.close-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
	will-change: transform, opacity;
}

.burger-icon {
	transform: translate(-50%, -50%) rotate(0deg) scale(1);
	opacity: 1;
}

.close-icon {
	transform: translate(-50%, -50%) rotate(-90deg) scale(0.5);
	opacity: 0;
	pointer-events: none; 
}

.header.menu-open .burger-icon {
	transform: translate(-50%, -50%) rotate(90deg) scale(0.5);
	opacity: 0;
}

.header.menu-open .close-icon {
	transform: translate(-50%, -50%) rotate(0deg) scale(1);
	opacity: 1;
	pointer-events: auto;
}

.footer__dev-link {
	color: inherit; 
	transition: opacity 0.2s ease;
}

.footer__dev-link:hover {
	opacity: 0.7;
	text-decoration: none;
}

.text-end {
    text-align: end;
}


.footer__dev-col {
	text-align: right;
}


@media (max-width: 767px) {
	.footer__dev-col {
		text-align: left;
	}
	.locations {
    padding: 40px 0;
	}
}

.footer__apps-adaptive {
	flex-direction: column;
	gap: 10px;
}

@media (min-width: 375px) and (max-width: 767px) {
	.footer__apps-adaptive {
		flex-direction: row;
		gap: 15px;
	}
}

@media (max-width: 374px) {
	.footer__apps-adaptive {
		flex-direction: column;
		gap: 10px;
	}
	
	.footer__apps-adaptive a {
		width: 100%;
	}
}


.gallery-section {
	padding: 60px 0;
	overflow: hidden; 
}

.gallery-title {
	font-family: 'Great Vibes', cursive, sans-serif; 
	font-size: 56px;
	font-weight: 400;
	margin-bottom: 50px;
	color: var(--color-text-dark, #333);
}

.gallery-infinite-swiper {
	width: 100%;
	padding-bottom: 20px;
}


.gallery-infinite-swiper .swiper-slide {
	width: 65%; 
	max-width: 500px;
	transition: transform 0.4s ease, opacity 0.4s ease;
	transform: scale(0.95);
}


.gallery-infinite-swiper .swiper-slide-active {
	opacity: 1;
	transform: scale(1);
}

.gallery-infinite-swiper a {
	display: block;
	width: 100%;
	height: 100%;
}

.gallery-infinite-swiper img {
	width: 100%;
	object-fit: cover;
	display: block;
}


@media (max-width: 991px) {
	.gallery-infinite-swiper .swiper-slide { width: 80%; }
	.gallery-infinite-swiper img { height: 350px; }
}

@media (max-width: 767px) {
	.gallery-infinite-swiper .swiper-slide { width: 90%; }
	.gallery-infinite-swiper img { height: 250px; }
	.gallery-title { font-size: 42px; margin-bottom: 30px; }
}

.swiper-free-mode>.swiper-wrapper {
    padding-top: 10px;
}



