/* ===== СБРОС И БАЗА ===== */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	height: 100%;
	overflow: hidden; /* ❌ Нет вертикальной прокрутки */
	font-family: 'Montserrat', sans-serif;
	background: #fdf8f4;
	color: #3a2a20;
}

/* ===== ОБЁРТКА НА ВЕСЬ ЭКРАН ===== */
.page-wrapper {
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh; /* mobile-safe viewport */
	max-width: 480px;
	margin: 0 auto;
	background: linear-gradient(180deg, #fff9f5 0%, #fdf0e8 100%);
}

/* ===== ВЕРХНЯЯ ЧАСТЬ: СКРОЛЛ РАБОТ (~55%) ===== */
.works-section {
	flex: 0 0 53%;
	position: relative;
	overflow: hidden;
}

.swiper {
	width: 100%;
	height: 100%;
}
.btn-max-icon img {
	width: 20px; /* Размер подгоняй под дизайн */
	height: 20px;
	object-fit: contain;
	display: block; /* Убирает лишние отступы у inline-изображений */
}

/* Если используешь inline-SVG вместо img: */
.btn-max-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor; /* Автоматически станет белым */
	display: block;
}

.swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 18px;
	transition: transform 0.4s ease;
}

.swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 18px;
}

/* Подпись поверх слайда */
.slide-caption {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(58, 42, 32, 0.75);
	backdrop-filter: blur(6px);
	color: #fff;
	padding: 6px 18px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.3px;
	white-space: nowrap;
	pointer-events: none;
}

/* Пагинация (точки) */
.swiper-pagination-bullet {
	background: #c9a87c !important;
	opacity: 0.5 !important;
	width: 8px !important;
	height: 8px !important;
}
.swiper-pagination-bullet-active {
	opacity: 1 !important;
	width: 22px !important;
	border-radius: 4px !important;
}

/* ===== НИЖНЯЯ ЧАСТЬ: КНОПКИ (~45%) ===== */
.buttons-section {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	padding: 12px 16px 20px;
}

.btn-order {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 15px 20px;
	border: none;
	border-radius: 14px;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease;
	-webkit-tap-highlight-color: transparent;
	letter-spacing: 0.2px;
}

.btn-order:active {
	transform: scale(0.97);
}

/* Цвета кнопок */
.btn-whatsapp {
	background: linear-gradient(135deg, #25d366, #1da851);
	color: #fff;
	box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-telegram {
	background: linear-gradient(135deg, #2aabee, #1a8fd1);
	color: #fff;
	box-shadow: 0 4px 16px rgba(42, 171, 238, 0.3);
}

.btn-max {
	background: linear-gradient(135deg, #6c5ce7, #5a4bd6);
	color: #fff;
	box-shadow: 0 4px 16px rgba(108, 92, 231, 0.3);
}

.btn-sms {
	background: linear-gradient(135deg, #c9a87c, #b8956a);
	color: #fff;
	box-shadow: 0 4px 16px rgba(201, 168, 124, 0.3);
}

/* Иконки кнопок (эмодзи или SVG) */
.btn-icon {
	font-size: 20px;
	flex-shrink: 0;
}

/* ===== ДЕКОРАТИВНЫЙ ЭЛЕМЕНТ ===== */
.brand-name {
	text-align: center;
	font-family: 'Cormorant Garamond', serif;
	font-size: 14px;
	font-weight: 600;
	color: #b8956a;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-top: auto;
	padding: 0px 16px 15px;
}

/* ===== АДАПТИВ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ ===== */
@media (max-height: 640px) {
	.works-section {
		flex: 0 0 50%;
	}
	.buttons-section {
		gap: 7px;
		padding: 8px 14px 14px;
	}
	.btn-order {
		padding: 12px 16px;
		font-size: 14px;
	}
}

@media (min-height: 820px) {
	.works-section {
		flex: 0 0 58%;
	}
	.btn-order {
		padding: 17px 20px;
		font-size: 16px;
	}
}
