/*
DogHouse Slot — clean layout for /download/.
*/

.dh-download-page {
	background: #171633;
	color: #fff;
	overflow-x: hidden;
}

.dh-download-main {
	background: #171633;
}

.dh-download-wrap {
	width: min(1150px, calc(100% - 30px));
	margin: 0 auto;
	box-sizing: border-box;
}

/* Первый экран */
.dh-download-hero {
	position: relative;
	padding: 82px 0 110px;
	background:
		radial-gradient(circle at 33% 45%, rgba(78, 108, 149, 0.42), rgba(23, 22, 51, 0) 34%),
		linear-gradient(180deg, #181735 0%, #171633 100%);
	overflow: visible;
	z-index: 2;
}

.dh-download-hero::after {
	display: none !important;
	content: none !important;
}

/* Сетка первого экрана */
.dh-download-hero-grid {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 44px;
}

.dh-download-visual {
	position: relative;
	min-height: 530px;
}

.dh-download-phone {
	position: absolute;
	left: -90px;
	top: -20px;
	width: min(760px, 115%);
	height: auto;
	display: block;
}

.dh-download-dog {
	position: absolute;
	right: -10px;
	bottom: 45px;
	width: 230px;
	height: auto;
	display: block;
}

.dh-download-label {
	color: #FFD600;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 12px;
}

.dh-download-hero h1,
.dh-download-info h2,
.dh-download-browser h2,
.dh-download-faq h2 {
	font-size: 42px;
	line-height: 1.15;
	font-weight: 900;
	margin: 0 0 18px;
	color: #fff;
}

.dh-download-hero p,
.dh-download-info p,
.dh-download-browser p,
.dh-download-faq p {
	font-size: 18px;
	line-height: 1.55;
	margin: 12px 0 0;
	color: #fff;
}

.dh-download-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 28px;
}

/* Первый тёмный блок: трава сверху */
.dh-download-info {
	position: relative;
	background: #1B0D0F;
	padding: 130px 0 86px;
	overflow: visible;
	z-index: 1;
}

.dh-download-info::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -115px;
	height: 140px;
	background: url("../img/img_grassdivider.webp") no-repeat top center / cover;
	pointer-events: none;
	z-index: 1;
}

.dh-download-info .dh-download-wrap {
	position: relative;
	z-index: 2;
}

.dh-download-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 28px;
}

.dh-download-card {
	background: #11102A;
	border: 4px solid #2E2D58;
	border-radius: 32px;
	padding: 26px 24px;
	box-sizing: border-box;
}

.dh-download-card h3 {
	font-size: 24px;
	line-height: 1.2;
	margin: 0 0 10px;
	color: #FFD600;
}

/* Синий средний блок */
.dh-download-browser {
	position: relative;
	padding: 82px 0 92px;
	background: #171633;
	overflow: hidden;
}

.dh-download-two-col {
	display: grid;
	grid-template-columns: 1fr 0.9fr;
	align-items: center;
	gap: 42px;
}

.dh-download-image-card {
	background: #11102A;
	border: 4px solid #2E2D58;
	border-radius: 32px;
	padding: 18px;
	text-align: center;
	box-sizing: border-box;
}

.dh-download-image-card img {
	max-width: 100%;
	height: auto;
	border-radius: 18px;
	display: block;
}

/* FAQ: как на остальных страницах — трава сверху */
.dh-download-faq {
	position: relative;
	padding: 130px 0 115px;
	background: #1B0D0F;
	overflow: visible;
}

.dh-download-faq::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -100px;
	height: 140px;
	background: url("../img/img_grassdivider.webp") no-repeat top center / cover;
	pointer-events: none;
	z-index: 1;
}

.dh-download-faq::after {
	display: none !important;
	content: none !important;
}

.dh-download-faq .dh-download-wrap {
	position: relative;
	z-index: 2;
	padding-top: 0;
}

.dh-download-faq .drop-select {
	background: #261416;
	border-radius: 14px;
	margin-top: 14px;
	position: relative;
	z-index: 2;
}

.dh-download-faq .drop-select .drop-select-container {
	background: #2D191C;
}

/* Футер оставляем как на остальных страницах */
.dh-download-page .section.footer.grass-effect {
	position: relative;
	overflow: visible;
}

.dh-download-page .section.footer.grass-effect::before {
	display: block !important;
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	top: -100px !important;
	height: 140px !important;
	background: url("../img/img_grassdivider.webp") no-repeat top center / cover !important;
	pointer-events: none !important;
	z-index: 1 !important;
}

.dh-download-page .section.footer.grass-effect .wrapper {
	position: relative;
	z-index: 2;
	padding-top: 120px;
}

/* Адаптив */
@media (max-width: 1100px) {
	.dh-download-hero-grid {
		grid-template-columns: 1fr;
	}

	.dh-download-visual {
		min-height: 430px;
	}

	.dh-download-phone {
		left: 50%;
		top: -10px;
		width: min(680px, 100%);
		transform: translateX(-50%);
	}

	.dh-download-dog {
		right: 10%;
		width: 190px;
	}
}

@media (max-width: 860px) {
	.dh-download-hero {
		padding-top: 50px;
	}

	.dh-download-cards,
	.dh-download-two-col {
		grid-template-columns: 1fr;
	}

	.dh-download-hero h1,
	.dh-download-info h2,
	.dh-download-browser h2,
	.dh-download-faq h2 {
		font-size: 32px;
	}

	.dh-download-hero p,
	.dh-download-info p,
	.dh-download-browser p,
	.dh-download-faq p {
		font-size: 16px;
		line-height: 1.5;
	}

	.dh-download-visual {
		min-height: 330px;
	}

	.dh-download-dog {
		width: 140px;
		right: 0;
		bottom: 30px;
	}

	.dh-download-actions {
		flex-direction: column;
	}

	.dh-download-actions .button {
		width: 100%;
	}
}

@media (max-width: 520px) {
	.dh-download-visual {
		min-height: 250px;
	}

	.dh-download-phone {
		width: 115%;
	}

	.dh-download-dog {
		display: none;
	}
}/* DOWNLOAD: move grass without changing blue block height */

.dh-download-page .dh-download-hero {
	position: relative !important;
	padding-top: 82px !important;
	padding-bottom: 110px !important;
	overflow: visible !important;
}

.dh-download-page .dh-download-hero::after {
	display: block !important;
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: -35px !important;
	height: 140px !important;
	background: url("../img/img_grassdivider.webp") no-repeat top center / cover !important;
	pointer-events: none !important;
	z-index: 20 !important;
	transform: translateY(-40px) !important;
}

/* Убираем траву с dh-download-info, чтобы не было второй */
.dh-download-page .dh-download-info::before,
.dh-download-page .dh-download-info::after {
	display: none !important;
	content: none !important;
	background: none !important;
}

.dh-download-page .dh-download-info {
	margin-top: 0 !important;
	padding-top: 150px !important;
	background-color: #1B0D0F !important;
	background-image: none !important;
	overflow: visible !important;
}