/*
	Landing styles — human-friendly, commented CSS
	Fonts: Montserrat Alternates (headings), Open Sans (body)
*/

:root {
	--font-heading: 'Montserrat Alternates', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
	--font-body: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;

	--color-bg: #F5F6FA;          /* neutral light gray — premium feel */
	--color-text: #eef3f8;
	--color-text-muted: #c9d3dd;
	--color-brand: #FFD166;        /* softer warm gold — only for buttons & prices */
	--color-primary: #0ea5e9;      /* sky-500 */
	--color-primary-dark: #0284c7; /* sky-600 */
	--color-accent: #FF6B35;       /* warm CTA accent */
	--color-heading: #1B2A3D;      /* deep navy for headings */
	--color-body-text: #3A4A5C;    /* softer body text */

	--container-w: 1200px;
	--radius: 16px;
	--shadow-soft: 0 8px 32px rgba(0,0,0,0.10);
	--shadow-card: 0 4px 20px rgba(0,0,0,0.06);
	--shadow-hover: 0 12px 40px rgba(0,0,0,0.12);
	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Basic reset */
* { box-sizing: border-box; }
html {
	background: var(--color-bg) !important;
	background-color: var(--color-bg) !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
html, body { 
	height: 100%; 
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
}
body {
	margin: 0;
	font-family: var(--font-body);
	line-height: 1.6;
	color: var(--color-body-text) !important;
	background: var(--color-bg) !important;
	background-color: var(--color-bg) !important;
}

.container {
	width: 100%;
	max-width: var(--container-w);
	padding-inline: 20px;
	margin-inline: auto;
}

#main.container {
	margin-top: 0;
}

/* Hero section */
.hero {
	position: relative;
	min-height: 70vh;
	display: grid;
	align-items: end;
	padding: 60px 0 clamp(48px, 8vw, 96px) 0;
	overflow: hidden;
	background:
		url('../public/land/HeroLand9.png') center bottom/cover no-repeat;
	color: var(--color-text);
}

@media (max-width: 767px) {
	.hero {
		background-position: calc(50% + 160px) center;
		min-height: 50vh; /* укороченная высота на мобильных */
	}
}

.hero__container { 
	display: grid;
	gap: 28px;
	grid-template-columns: 1.3fr 1.1fr; /* left: title/cards/cta, right: subtitles */
	align-items: start;
	position: relative; /* keep content above ::after fade */
	z-index: 1;
}

.hero__title {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: clamp(28px, 6vw, 56px);
	line-height: 1.1;
	margin: 0;
	letter-spacing: 0.2px;
	grid-column: 1; /* stick to left column */
	grid-row: 1;    /* top row */
}

.hero__brand { color: var(--color-brand); }

/* Hero offer tagline — strong first screen */
.hero__tagline {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 6px;
	padding: 10px 22px;
	background: rgba(255,255,255,0.14);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: clamp(13px, 2vw, 16px);
	font-weight: 600;
	color: rgba(255,255,255,0.95);
	letter-spacing: 0.3px;
	text-shadow: 0 1px 4px rgba(0,0,0,0.3);
	grid-column: 1;
	justify-self: start;
}
.hero__tagline-sep {
	opacity: 0.45;
	font-weight: 300;
}

.hero__aside {
	grid-column: 2; /* right column */
	grid-row: 1;    /* align with the title on the top row */
	align-self: start;
	text-align: right;
	max-width: 52ch;
	margin-left: auto; /* push to right edge of its column */
}

.hero__subtitle {
	margin: 0;
	max-width: 60ch;
	font-size: clamp(16px, 2.8vw, 22px);
	text-shadow: 0 2px 8px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.35);
	margin-left: auto; /* respect right-alignment within aside */
}
.hero__subtitle--muted { color: var(--color-text-muted); }

/* Site guide (3 tiles like in the screenshot) */
.site-guide {
	margin-top: clamp(-22px, -3.5vw, -10px);
	padding: 0 0 clamp(18px, 4vw, 36px);
}

.site-guide__panel {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	border: none;
	box-shadow: none;
	background: none;
	padding: clamp(16px, 2.6vw, 22px);
}

.site-guide__title {
	margin: 0 0 clamp(12px, 2vw, 18px) 0;
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: clamp(20px, 3.2vw, 30px);
	line-height: 1.1;
	text-align: center;
	color: #fff;
	text-shadow: none;
}

.site-guide__tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 2vw, 18px);
}

@media (min-width: 901px) {
	.site-guide__panel {
		grid-column: 1 / -1;
		grid-row: 1;
		max-width: none;
		width: 100%;
		margin: 0;
		padding: 12px;
	}

	.site-guide__title {
		font-size: clamp(16px, 2vw, 20px);
		margin-bottom: 10px;
	}

	.site-guide__tiles {
		grid-template-columns: repeat(3, 220px);
		gap: 10px;
		justify-content: center;
	}

	.site-guide__tile {
		width: 220px;
		height: 105px;
		min-height: 105px;
		border-radius: 12px;
	}

	.site-guide__tile-badge {
		top: 6px;
		left: 6px;
		gap: 4px;
		padding: 4px 6px;
	}

	.site-guide__tile-badgeIcon {
		width: 14px;
		height: 14px;
	}

	.site-guide__tile-badgeIcon svg,
	.site-guide__tile-badgeIcon img {
		width: 14px;
		height: 14px;
	}

	.site-guide__tile-badgeStars {
		font-size: 10px;
	}

	.site-guide__tile-label {
		left: 8px;
		right: 8px;
		bottom: 8px;
		padding: 5px 8px;
		font-size: clamp(12px, 1.5vw, 14px);
	}

	.hero__title {
		grid-row: 2;
	}

	.hero__tagline {
		grid-column: 1;
		grid-row: 3;
		margin-top: -12px;
	}

	.destinations {
		grid-column: 1 / -1;
		grid-row: 4;
	}
}

.site-guide__tile {
	position: relative;
	display: block;
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	min-height: clamp(110px, 16vw, 160px);
	background-position: center;
	background-size: cover;
	box-shadow: 0 10px 18px rgba(12, 23, 42, 0.18);
}

.site-guide__tile::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.00) 45%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.00) 50%, rgba(0, 90, 130, 0.55) 100%);
	pointer-events: none;
}

.site-guide__tile--reviews {
	background-image: url('../public/land/landput1.PNG');
}

.site-guide__tile--prices {
	background-image: url('../public/land/landput2.png');
}

.site-guide__tile--articles {
	background-image: url('../public/land/landput3.jpeg?v=1');
	transform: translateY(-6px);
	box-shadow:
		0 14px 26px rgba(12, 23, 42, 0.22),
		0 0 0 1px rgba(14, 165, 233, 0.26),
		0 0 28px rgba(14, 165, 233, 0.22),
		0 18px 36px rgba(14, 165, 233, 0.14);
}

.site-guide__tile-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(225, 245, 255, 0.78);
	border: 1px solid rgba(14, 165, 233, 0.25);
	backdrop-filter: blur(10px);
	color: #0b5f87;
	font-weight: 800;
	font-family: var(--font-body);
	box-shadow: 0 8px 16px rgba(12, 23, 42, 0.12);
	z-index: 2;
}

.site-guide__tile-badgeIcon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	line-height: 1;
}

.site-guide__tile-badgeIcon svg,
.site-guide__tile-badgeIcon img {
	display: block;
	width: 18px;
	height: 18px;
}

.site-guide__tile-badgeStars {
	font-size: 14px;
	line-height: 1;
	letter-spacing: 1px;
	color: #f7c948;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.site-guide__tile-label {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 16px;
	padding: 8px 14px;
	border-radius: 999px;
	text-align: center;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(16px, 2.2vw, 20px);
	color: rgba(255, 255, 255, 0.98);
	background: rgba(10, 25, 40, 0.55);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.24);
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
	box-shadow:
		0 10px 18px rgba(5, 18, 32, 0.22),
		0 6px 0 rgba(5, 18, 32, 0.24),
		0 12px 0 rgba(5, 18, 32, 0.14);
	z-index: 2;
}

.site-guide__tile:focus-visible {
	outline: 3px solid rgba(14, 165, 233, 0.45);
	outline-offset: 3px;
}

@media (max-width: 900px) {
	.site-guide__tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}
	.site-guide__tile {
		min-height: 132px;
		border-radius: 14px;
	}
	.site-guide__tile--articles {
		transform: translateY(-3px);
		box-shadow:
			0 12px 20px rgba(12, 23, 42, 0.20),
			0 0 0 1px rgba(14, 165, 233, 0.24),
			0 0 22px rgba(14, 165, 233, 0.18),
			0 14px 26px rgba(14, 165, 233, 0.12);
	}
	.site-guide__tile-label {
		left: 10px;
		right: 10px;
		bottom: 12px;
		padding: 7px 10px;
		border-radius: 999px;
		font-size: 14px;
	}
	.site-guide__tile-badge {
		top: 8px;
		left: 8px;
		gap: 6px;
		padding: 5px 8px;
	}
	.site-guide__tile-badgeStars {
		font-size: 12px;
	}
}

.lowest-prices {
	position: relative;
	margin-top: clamp(12px, 5vw, 60px);
	padding: clamp(36px, 6vw, 80px) 0 0;
	background-image: url('../public/land/Group 28.svg'), url('../public/land/Group 29.svg');
	background-repeat: no-repeat, no-repeat;
	background-position: right clamp(12px, 3vw, 32px), left clamp(12px, 4vw, 48px);
	background-size: clamp(480px, 84vw, 1040px), clamp(380px, 72vw, 680px);
	min-height: clamp(520px, 70vw, 820px);
}

.lowest-prices__inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: clamp(26px, 4.6vw, 48px);
}

.lowest-prices__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
}

.lowest-prices__card {
	position: relative;
	display: block;
	border-radius: 20px;
	overflow: hidden;
	min-height: 212px;
	padding: 28px 26px;
	color: #ffffff;
	text-decoration: none;
	background: #0f172a;
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow-soft);
	transition: transform var(--transition), box-shadow var(--transition);
	content-visibility: auto;
	contain-intrinsic-size: 212px;
}

.lowest-prices__card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(5, 9, 20, 0.85) 0%, rgba(8, 17, 33, 0.38) 46%, rgba(8, 17, 33, 0.74) 100%);
	opacity: 1;
	transition: opacity 0.3s ease;
	z-index: 0;
	pointer-events: none;
}

.lowest-prices__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 44px rgba(12, 23, 42, 0.35);
}

.lowest-prices__card:hover::after {
	opacity: 0.85;
}

.lowest-prices__card-text {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 1;
}

.lowest-prices__card-main {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: 0.1px;
	color: var(--color-brand);
}

.lowest-prices__card-location {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.9rem;
	opacity: 0.9;
}

.lowest-prices__card--sharm-safari { background-image: url('../public/land/safariland.webp'); }
.lowest-prices__card--sharm-yacht { background-image: url('../public/land/yachtsharm.webp'); }
.lowest-prices__card--hurghada-dolphin { background-image: url('../public/land/hurgadadolph.webp'); }
.lowest-prices__card--hurghada-safari { background-image: url('../public/land/safarihurgada.webp'); }
.lowest-prices__card--phuket-bond { background-image: url('../public/land/djamesbond.webp'); }
.lowest-prices__card--phuket-rafting { background-image: url('../public/land/raftingphuket.webp'); }

.lowest-prices__headline {
	width: 100%;
	text-align: right;
	margin: 0 0 clamp(14px, 3vw, 26px);
}

.lowest-prices__title {
	font-family: var(--font-heading);
	font-size: clamp(32px, 5.5vw, 52px);
	font-weight: 800;
	color: var(--color-primary);
	text-shadow: none;
	margin: 0;
	line-height: 1.1;
	text-align: right;
}

/* Destinations grid */
.destinations {
	list-style: none;
	padding: 0;
	margin: 6px 0 8px;
	display: grid;
	grid-template-columns: repeat(3, 190px);
	gap: 12px;
	grid-column: 1; /* place under the title */
	justify-content: start;
}

@media (min-width: 1024px) {
	.destinations {
		grid-template-columns: repeat(3, 285px);
		gap: 14px;
	}

	.destinations__item .card {
		width: 285px;
		height: 174px;
	}

	.destinations__item .card__label {
		min-height: 44px;
		padding: 8px 18px;
		font-size: 1.05rem;
	}
}



.card {
	position: relative;
	display: block;
	width: 190px;
	height: 116px;
	border-radius: var(--radius);
	overflow: hidden;
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow-soft);
	transition: transform .2s ease, box-shadow .2s ease;
}

/* Destination backgrounds */
.card--phuket {
	background-image: url('../public/land/phuketnew.PNG');
}
.card--fukuok { background-image: url('../public/land/oae.png'); }
.card--sharm { background-image: url('../public/land/sharmnew.PNG'); }
.card--hurghada { background-image: url('../public/land/hurgadanew.PNG'); }


/* Убираем жёсткий градиент снизу hero, чтобы PNG края были видны естественно */
/* .hero::after - удалён для сохранения естественных краёв PNG */
.card::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.14) 100%);
}
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.22); }


.card__label {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 10px;
	top: auto;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 6px 14px;
	background: rgba(10, 25, 40, 0.55);
	backdrop-filter: blur(6px);
	border-radius: 999px;
	color: #fff;
	font-weight: 600;
	font-family: var(--font-heading);
	font-size: 0.92rem;
	letter-spacing: 0.08px;
	text-align: center;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
	box-shadow: 0 8px 18px rgba(5, 18, 32, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.card:hover .card__label {
	background: rgba(90, 170, 255, 0.4);
	box-shadow: 0 14px 28px rgba(45, 110, 180, 0.25);
	transform: translateY(-2px);
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 20px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	transition: background-color .2s ease, transform .08s ease;
}
.btn--primary {
	background: linear-gradient(135deg, #FFD166 0%, #FF9F1C 100%);
	color: #1B2A3D;
	font-weight: 700;
	font-size: 1.05rem;
	padding: 14px 28px;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(255,159,28,0.25);
	transition: all var(--transition);
}
.btn--primary:hover { 
	background: linear-gradient(135deg, #FFC94D 0%, #FF8F00 100%); 
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(255,159,28,0.35);
}
.btn--primary:active { transform: translateY(1px); }
@media (max-width: 768px) {
	.btn--primary {
		padding: 10px 18px;
		font-size: 0.9rem;
		border-radius: 12px;
	}
}
.btn--show-all-tours {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
	color: white;
	text-decoration: none;
	border-radius: 14px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 1.08rem;
	padding: 16px 32px;
	transition: all var(--transition);
	box-shadow: 0 6px 24px rgba(14,165,233,0.28);
	border: none;
}

.btn--show-all-tours:hover {
	background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
	transform: translateY(-3px);
	box-shadow: 0 10px 32px rgba(14,165,233,0.38);
	color: white;
	text-decoration: none;
}

.btn--show-all-tours:active {
	transform: translateY(0px);
}

.btn--show-all-tours svg {
	transition: transform 0.3s ease;
}

.btn--show-all-tours:hover svg {
	transform: translateX(2px);
}

/* Responsive tweaks */
@media (max-width: 900px) {
	.hero__container { grid-template-columns: 1fr; margin-top: 20px; }
	.hero__title { grid-row: auto; }
	.hero__aside { grid-column: 1; grid-row: auto; }
	.destinations { grid-template-columns: repeat(2, 1fr); }
	.card { width: 80%; height: 110px; aspect-ratio: 170 / 100; margin: 0 auto; }
	.lowest-prices {background-position: center -40px, left bottom; background-size: clamp(720px, 180vw, 1080px), clamp(480px, 140vw, 720px); }
	.lowest-prices__inner { align-items: stretch; }
	.lowest-prices__headline { margin-bottom: 20px; text-align: right; }
	.lowest-prices__title { font-size: clamp(34px, 9vw, 56px); }
	.lowest-prices__cards { display: flex; flex-direction: column; align-items: center; max-width: none; gap: 20px; }
	.lowest-prices__card { width: min(100%, 340px); min-height: 188px; padding: 24px 22px; }
}

@media (max-width: 700px) {
	.destinations { grid-template-columns: repeat(2, 1fr); }
	.hero { 
		background-position: calc(50% + 160px) 20%; /* немного выше центра, море видно */
		background-size: 100% calc(100% + 100px); /* растягиваем фон чуть ниже */
		padding-bottom: clamp(72px, 16vw, 128px);
	}
	.lowest-prices {
		padding: clamp(48px, 14vw, 88px) 0 clamp(42px, 10vw, 76px);
		background-position: center top, left 62%;
		padding-top: 0;
		background-size: clamp(840px, 200vw, 1280px), clamp(560px, 190vw, 920px);
	}
	.lowest-prices__card { padding: 22px 18px; min-height: 172px; }
}

@media (max-width: 900px) {
	.destinations { 
		grid-template-columns: 1fr; 
		gap: 12px; /* добавляем отступы между карточками */
	}
	
	.card {
		width: 100%; /* карточки на всю ширину */
		height: 120px; /* увеличиваем высоту для лучшего вида */
	}
	
	.card__label {
		left: 10px;
		right: 10px;
		bottom: 10px;
		font-size: 0.78rem;
		min-height: 38px;
		padding: 8px 14px;
	}
	
	.btn--show-all-tours {
		padding: 12px 24px;
		font-size: 0.95rem;
	}
	
	.hero { 
		background-position: calc(50% + 160px) 25%;
		background-size: cover;
		padding-bottom: clamp(88px, 20vw, 160px);
	}
}

/* Landing search section */
.landing-search { 
	background: #ECEEF4; /* neutral light gray — premium look */
	padding: 0 0 clamp(40px, 6vw, 72px);
	/* Выходим из ограничений главного контейнера (full-bleed) */
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}
.landing-searchbar {
	display: flex; /* переводим на flex, чтобы разместить right рядом с pill-btn */
	align-items: center;
	gap: 12px;
	background: transparent; /* фон теперь у секции */
	border-radius: 20px;
	padding: 14px 16px;
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.landing-searchbar .pill-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: #E0E4EC;
	color: var(--color-heading);
	border: 2px solid #D0D5DE;
	border-radius: 12px;
	padding: 8px 14px;
	font-weight: 600;
	font-family: var(--font-body);
	font-size: 14px;
	transition: all 0.2s ease;
}
.landing-searchbar .pill-btn:hover {
	background: #D4D9E3;
	border-color: #C0C5CE;
}
.landing-searchbar .pill-btn__icon { width: 18px; height: 18px; }

/* Override for landing tours grid to match tours.php styling */
.landing-search .tours-grid { 
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
    justify-items: center;
}

/* На широких экранах ограничиваем до 3 колонок для лендинга */
@media (min-width: 1200px) {
    .landing-search .tours-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: 0 auto;
        margin-top: 22px;
    }
}

/* На средних экранах до 2 колонок */
@media (max-width: 900px) {
    .landing-search .tours-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* На мобильных устройствах - 1 колонка */
@media (max-width: 600px) {
    .landing-search .tours-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }
}
.landing-searchbar .search-input {
	display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px;
	background: #fff;
	border: 3px solid #D0D5DE;
	border-radius: 16px;
	padding: 0 0 0 14px;
	width: 100%;
	max-width: 528px;
	height: 54px;
	overflow: hidden;
	transition: border-color 0.2s ease;
}
.landing-searchbar .search-input:focus-within {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 4px rgba(14,165,233,0.1);
}
.landing-searchbar .search-icon { width: 18px; height: 18px; color: #5CAEFF; display: block; }
.landing-searchbar input { border: none; outline: none; width: 100%; font: inherit; }
.landing-searchbar .search-submit {
	background: var(--color-primary);
	color: #fff;
	border: none;
	border-radius: 0;
	padding: 0 28px;
	min-width: 120px;
	font-size: 15px;
	height: 100%;
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-body);
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}
.landing-searchbar .search-submit:hover { background: var(--color-primary-dark); }
.landing-searchbar input { font-family: var(--font-body); font-weight: 400; }
.landing-searchbar input::placeholder { font-family: var(--font-body); font-weight: 400; opacity: 0.7; }
.landing-searchbar .searchbar__left { display: flex; gap: 10px; align-items: center; order: 1; }
.landing-searchbar .searchbar__right { display: flex; gap: 8px; align-items: center; color: #27475f; order: 2; }
.landing-searchbar .searchbar__center { display: flex; gap: 12px; align-items: center; order: 3; flex: 1 1 528px; min-width: 260px; }
.landing-searchbar .region-icon { width: 20px; height: 20px; display: block; }
.landing-searchbar .region-text { font-weight: 600; color: #27475f; font-family: var(--font-body); font-size: 14px; }

@media (max-width: 820px) {
	.landing-searchbar { flex-wrap: wrap; }
	/* Центр переносим на новую строку и растягиваем на всю ширину */
	.landing-searchbar .searchbar__center { order: 3; flex: 1 1 100%; }
	.landing-searchbar .search-input { min-width: 0; width: 100%; }
}

/* Стили для интерактивных dropdown фильтров */
.filter-dropdown {
    position: relative;
    display: inline-block;
}

.filter-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: #27475f;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: rgba(92, 174, 255, 0.1);
}

.filter-btn .dropdown-arrow {
    transition: transform 0.2s ease;
    color: #666;
}

.filter-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.filter-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
}

.filter-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    color: #333;
    transition: background 0.2s ease;
}

.filter-option:hover {
    background: #f8f9fa;
}

.filter-option:first-child {
    border-radius: 8px 8px 0 0;
}

.filter-option:last-child {
    border-radius: 0 0 8px 8px;
}

.filter-option.active {
    background: rgba(92, 174, 255, 0.1);
    color: #5CAEFF;
    font-weight: 600;
}

/* Обновляем стили для кнопки с dropdown */
.landing-searchbar .pill-btn {
    position: relative;
}

/* Мобильные селекты были убраны — оставляем только оригинальные элементы с иконками */

/* Footer with flipped hero image */
.image-footer {
	position: relative;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	min-height: clamp(280px, 42vw, 520px);
	overflow: hidden; /* обрезаем лишнее, чтобы волна не была слишком высокой */
	padding: clamp(36px, 7vw, 88px) 0;
	background: transparent; /* прозрачный фон для PNG */
}
.image-footer::after {
	/* легкий градиент сверху, чтобы не было жёсткого стыка с контентом */
	content: "";
	position: absolute; left: 0; right: 0; top: 0;
	height: clamp(40px, 10vw, 120px);
	background: linear-gradient(180deg, var(--color-bg) 0%, rgba(10,15,20,0) 100%);
	backdrop-filter: blur(3px); /* уменьшен blur для плавности */
	-webkit-backdrop-filter: blur(3px); /* для Safari */
	mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); /* плавная маска для blur */
	-webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
	pointer-events: none;
	z-index: 1;
}
.image-footer__image-wrapper {
	position: absolute;
	inset: 0;
	background: var(--footer-bg-color, var(--color-bg, transparent));
	z-index: 0;
	overflow: hidden;
}
.image-footer__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover; /* вернули cover для правильного отображения */
	object-position: center bottom; /* позиционируем внизу */
	transform: rotate(180deg);
	transform-origin: center;
	background: transparent; /* явно указываем прозрачный фон */
	mix-blend-mode: normal; /* нормальный режим смешивания */
}
.image-footer__content {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	align-items: end; /* изменено с center на end, чтобы контент был внизу */
	gap: 24px;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0,0,0,0.4);
	padding: 0 20px 48px 20px; /* увеличен нижний padding */
	margin-top: 100px; /* добавлен margin-top */
}
.image-footer__content, .image-footer__content a, .image-footer__content .footer-brand {
	font-family: var(--font-body);
	font-weight: 700; /* Open Sans Bold */
}
.footer-col--brand .footer-brand {
	font-size: clamp(18px, 2.4vw, 28px);
}
.footer-links {
	list-style: none;
	padding: 0; margin: 0;
}
.footer-links li { margin: 6px 0; position: relative; padding-left: 16px; }
.footer-links li::before {
	content: "•";
	position: absolute; left: 0; top: 0; color: #fff;
}
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-col--social { display: flex; flex-direction: column; gap: 10px; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.footer-social:hover { text-decoration: underline; }

@media (max-width: 900px) {
	.image-footer {
		min-height: 440px;
		padding: clamp(48px, 12vw, 96px) 0;
	}

	.image-footer__content {
		grid-template-columns: 1fr;
		justify-items: start;
		gap: 18px;
		padding: 0 20px;
	}
	.footer-col--social { flex-direction: row; flex-wrap: wrap; gap: 14px; }
}

/* На десктопах делаем картинку ещё меньше, чтобы не было сильной обрезки */
@media (min-width: 1024px) {
	.image-footer { min-height: clamp(240px, 28vw, 420px); }
}

/* Latest articles (demo block before WhatsApp reviews) */
.latest-articles-section {
	padding: clamp(36px, 6vw, 80px) 0;
}

.latest-articles__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.latest-articles__title {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: clamp(22px, 3.2vw, 34px);
	line-height: 1.2;
	color: var(--color-heading);
}

.latest-articles__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.latest-articles__filter {
	border: 1px solid rgba(12, 23, 42, 0.12);
	background: #fff;
	color: var(--color-heading);
	border-radius: 999px;
	padding: 10px 18px;
	font-weight: 600;
	font-family: var(--font-body);
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: var(--shadow-card);
}

.latest-articles__filter:hover {
	border-color: rgba(14, 165, 233, 0.3);
	background: rgba(14, 165, 233, 0.06);
}

.latest-articles__filter.is-active {
	border-color: rgba(14, 165, 233, 0.45);
	background: rgba(14, 165, 233, 0.12);
}

.latest-articles__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.latest-articles__card {
	border-radius: var(--radius);
	background: #ffffff;
	box-shadow: var(--shadow-card);
	padding: 20px 20px 18px;
	border: 1px solid rgba(12, 23, 42, 0.06);
	min-height: 140px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: transform var(--transition), box-shadow var(--transition);
}

.latest-articles__card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-hover);
}

.latest-articles__card-title {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.25;
}

.latest-articles__card-link {
	text-decoration: none;
	color: var(--color-heading);
}

.latest-articles__card-link:hover {
	text-decoration: underline;
}

.latest-articles__card-excerpt {
	margin: 0;
	color: rgba(42, 58, 72, 0.82);
	font-size: 0.95rem;
	line-height: 1.45;
}

.latest-articles__card-more {
	margin-top: auto;
	font-weight: 700;
	color: var(--color-primary-dark);
	text-decoration: none;
}

.latest-articles__card-more:hover {
	text-decoration: underline;
}

.latest-articles__empty {
	margin: 0;
	color: rgba(42, 58, 72, 0.8);
}

@media (max-width: 900px) {
	.latest-articles__grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   "Why us" trust section
   ============================================ */
.why-us {
	padding: clamp(48px, 8vw, 96px) 0;
	background: var(--color-bg);
}

.why-us__title {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: clamp(24px, 3.5vw, 38px);
	color: var(--color-heading);
	text-align: center;
	margin: 0 0 clamp(28px, 4vw, 48px);
	line-height: 1.2;
}

.why-us__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(16px, 2.5vw, 28px);
}

.why-us__card {
	background: #fff;
	border-radius: var(--radius);
	padding: clamp(24px, 3vw, 36px) clamp(18px, 2vw, 28px);
	text-align: center;
	box-shadow: var(--shadow-card);
	border: 1px solid rgba(0,0,0,0.04);
	transition: transform var(--transition), box-shadow var(--transition);
}

.why-us__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-hover);
}

.why-us__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(14,165,233,0.10), rgba(14,165,233,0.05));
	font-size: 28px;
}

.why-us__card-title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--color-heading);
	margin: 0 0 8px;
}

.why-us__card-text {
	margin: 0;
	font-size: 0.9rem;
	color: var(--color-body-text);
	line-height: 1.5;
}

@media (max-width: 900px) {
	.why-us__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 500px) {
	.why-us__grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   Floating CTA button (sticky bottom on mobile)
   ============================================ */
.floating-cta {
	display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
	.floating-cta {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 9999;
		padding: 8px 12px;
		padding-bottom: max(8px, env(safe-area-inset-bottom));
		background: rgba(255,255,255,0.95);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border-top: 1px solid rgba(0,0,0,0.08);
		box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
	}
	
	.floating-cta__btn {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		width: 100%;
		padding: 11px 18px;
		background: linear-gradient(135deg, #FFD166 0%, #FF9F1C 100%);
		color: var(--color-heading);
		font-family: var(--font-body);
		font-weight: 700;
		font-size: 0.95rem;
		text-decoration: none;
		border-radius: 12px;
		border: none;
		box-shadow: 0 4px 16px rgba(255,159,28,0.3);
		transition: all var(--transition);
	}
	
	.floating-cta__btn:active {
		transform: scale(0.98);
	}

	/* Add bottom padding to body to prevent content being hidden behind floating CTA */
	body {
		padding-bottom: 64px;
	}
}

/* ============================================
   Section headings — consistent visual hierarchy
   ============================================ */
.section-subtitle {
	display: block;
	text-align: center;
	font-family: var(--font-body);
	font-size: clamp(14px, 2vw, 17px);
	color: var(--color-body-text);
	opacity: 0.8;
	margin-top: 8px;
	font-weight: 400;
}

/* ============================================
   Show-all-tours container centered
   ============================================ */
.show-all-tours-container {
	display: flex;
	justify-content: center;
	padding: clamp(20px, 4vw, 40px) 0 0;
}

/* ============================================
   Performance: reduce unnecessary paints
   ============================================ */
.lowest-prices,
.latest-articles-section,
.whatsapp-reviews-section,
.faq-section,
.why-us {
	content-visibility: auto;
	contain-intrinsic-size: auto 600px;
}

/* ============================================
   Smooth scroll
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

/* ============================================
   Better focus styles for accessibility
   ============================================ */
:focus-visible {
	outline: 3px solid var(--color-primary);
	outline-offset: 2px;
	border-radius: 4px;
}