/* Главная страница (редизайн 2026). Размеры — по макету Figma «Desktop - 1» (1440px). */

/* Первый экран */
.dz-hero {
	position: relative;
}
.dz-hero__slider {
	border-radius: var(--dz-radius);
	overflow: hidden;
}
.dz-hero__slide {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 512px;
}
.dz-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}
.dz-hero__slide::before {
	content: '';
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(90deg, rgba(211, 245, 246, .82) 0%, rgba(211, 245, 246, .8) 48%, rgba(211, 245, 246, 0) 62%);
}
.dz-hero__panel {
	position: relative;
	z-index: 2;
	padding: 54px 40px 60px 75px;
}
.dz-hero__logo {
	display: block;
	width: 196px;
	height: auto;
	margin-bottom: 34px;
	mix-blend-mode: multiply;
}
.dz-hero__contacts {
	display: flex;
	flex-direction: column;
	gap: 22px;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.3;
}
.dz-hero__contacts li {
	display: flex;
	align-items: center;
	gap: 12px;
}
.dz-hero__address {
	font-size: 24px;
}
.dz-hero__phones {
	display: flex;
	flex-direction: column;
}
.dz-hero__contacts a:hover {
	color: var(--dz-primary-dark);
}
.dz-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 11px;
	margin-top: 32px;
}
.dz-hero__buttons .dz-btn {
	min-width: 267px;
}
.dz-hero__buttons .dz-btn--outline {
	background: rgba(255, 255, 255, .35);
}
.dz-hero__dots.swiper-pagination {
	bottom: 8px;
}
.dz-hero__dots .swiper-pagination-bullet,
.dz-docs__dots .swiper-pagination-bullet {
	width: 19px;
	height: 19px;
	margin: 0 1px !important;
	background: #b5b5b5;
	opacity: 1;
}
.dz-hero__dots .swiper-pagination-bullet-active,
.dz-docs__dots .swiper-pagination-bullet-active {
	background: var(--dz-primary);
}
.dz-hero__dots.swiper-pagination-lock {
	display: none;
}

/* Полоса преимуществ */
.dz-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 17px !important;
	padding: 12px 28px !important;
	border-radius: var(--dz-radius);
	background: var(--dz-gray-bg);
}
.dz-features__item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 500;
	font-size: 22px;
	line-height: 1;
}
.dz-features__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 58px;
	border-radius: 50%;
	background: rgba(3, 182, 190, .1);
}
.dz-features__icon img {
	max-width: 39px;
	max-height: 39px;
	mix-blend-mode: multiply;
}

/* Популярные категории */
.dz-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 19px 36px;
	padding: 0 17px !important;
}
.dz-cats__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	height: 123px;
	padding: 6px 14px 6px 10px;
	color: var(--dz-teal-text) !important;
	transition: box-shadow .2s, transform .2s;
}
.dz-cats__item:hover {
	box-shadow: 0 8px 24px rgba(3, 182, 190, .2);
	transform: translateY(-2px);
}
.dz-cats__img {
	flex: 0 0 auto;
	width: auto;
	max-width: 46%;
	max-height: 100px;
}
.dz-cats__title {
	flex: 1 1 auto;
	font-weight: 500;
	font-size: 22px;
	line-height: 1.05;
}
.dz-cats__title--sm {
	font-size: 18px;
}
.dz-cats__item .dz-arrow {
	position: absolute;
	right: 14px;
	bottom: 10px;
}

/* Подбор по проблеме */
.dz-lead {
	max-width: 1021px;
	margin: 0 0 18px;
	font-size: clamp(20px, 2.1vw, 30px);
	line-height: 1.17;
}
.dz-calc {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 83px;
	margin-left: 7px;
	padding: 16px 32px 16px 25px;
	border: 0;
	border-radius: var(--dz-radius);
	background: var(--dz-primary);
	color: #fff;
	font-weight: 600;
	font-size: 26px;
	cursor: pointer;
	transition: background-color .2s;
}
.dz-calc:hover {
	background: var(--dz-primary-dark);
}
.dz-calc:focus-visible {
	outline: 3px solid var(--dz-navy);
	outline-offset: 2px;
}
.dz-calc__count {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 50px;
	padding: 0 10px;
	border-radius: 10px;
	background: var(--dz-navy);
	font-size: 20px;
}
.dz-calc__count b {
	min-width: 26px;
	padding: 0 6px;
	border-radius: 5px;
	background: var(--dz-navy-dark);
	font-weight: 600;
	text-align: center;
}
.dz-problem__hint {
	margin: 10px 0 0 7px;
	font-weight: 500;
	color: #c0392b;
}
.dz-problem__grid {
	display: grid;
	grid-template-columns: repeat(5, 210px);
	justify-content: center;
	gap: 29px 25px;
	margin: 25px 0 0;
	padding: 0;
	border: 0;
}
.dz-check {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	height: 145px;
	padding: 26px 8px 12px;
	cursor: pointer;
	transition: background-color .2s, box-shadow .2s;
}
.dz-check:hover {
	box-shadow: 0 8px 24px rgba(3, 182, 190, .2);
}
.dz-check input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.dz-check:has(input:checked) {
	background: rgba(3, 182, 190, .1);
}
.dz-check:has(input:focus-visible) {
	outline: 3px solid var(--dz-navy);
	outline-offset: 2px;
}
.dz-check__mark {
	position: absolute;
	top: 8px;
	right: 14px;
	width: 26px;
	height: 26px;
	border: 1px solid var(--dz-primary);
	border-radius: 50%;
	background: #fff center / 18px 21px no-repeat;
}
.dz-check input:checked ~ .dz-check__mark {
	background-color: var(--dz-primary);
	background-image: url('../icons/check.svg');
}
.dz-check__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border: 1px solid var(--dz-primary);
	border-radius: 50%;
	background: #fff;
}
.dz-check__icon img {
	max-width: 53px;
	max-height: 53px;
}
.dz-check__label {
	font-weight: 500;
	font-size: 20px;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
	color: var(--dz-teal-text);
}
.dz-check:last-child .dz-check__label {
	font-size: 15px;
}

/* Почему выбирают нас: на широких экранах — баннер из макета, на узких — живой текст */
.dz-whyus {
	margin-top: 64px;
	overflow: hidden;
}
.dz-whyus__banner {
	display: block;
	width: 100%;
	max-width: 1506px;
	height: auto;
	margin: 0 auto;
}
.dz-whyus__text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

/* С кем мы работаем */
.dz-clients {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 34px 19px;
	max-width: 1150px;
	margin: 0 auto !important;
}
.dz-clients__item {
	display: flex;
	flex: 0 0 210px;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	height: 145px;
	padding: 14px 8px 10px;
	text-align: center;
	font-size: 20px;
	line-height: 1;
}
.dz-clients__item img {
	max-width: 90px;
	max-height: 88px;
}
.dz-clients__item:last-child img {
	max-height: 72px;
}
.dz-clients__item:last-child span {
	font-size: 15px;
	line-height: 1;
}


/* Документы и сертификаты */
.dz-docs {
	display: grid;
	grid-template-columns: 162px minmax(0, 1fr) 400px;
	align-items: center;
	gap: 0 80px;
	min-height: 237px;
	margin: 44px 0 0 14px;
	padding: 20px 120px 0 41px;
	border-radius: var(--dz-radius);
	background: var(--dz-gray-bg);
}
.dz-docs__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 162px;
	height: 155px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: rgba(3, 182, 190, .1);
}
.dz-docs__icon img {
	mix-blend-mode: multiply;
}
.dz-docs__body {
	margin-bottom: 20px;
}
.dz-docs__body .dz-title {
	margin-bottom: 12px;
}
.dz-docs__body .dz-btn {
	min-width: 344px;
}
.dz-docs__slider {
	position: relative;
	align-self: end;
	padding: 0 53px;
}
.dz-docs__slider .swiper {
	border-radius: 12px 12px 0 0;
}
.dz-docs__slider img {
	display: block;
	width: 100%;
	height: 213px;
	object-fit: cover;
	object-position: top;
}
.dz-docs__slider > .dz-arrow {
	position: absolute;
	top: 50%;
	left: 0;
	margin-top: -14px;
}
.dz-docs__slider > .dz-arrow:not(.dz-arrow--prev) {
	left: auto;
	right: 0;
}
.dz-docs__slider > .dz-arrow.swiper-button-disabled {
	opacity: .4;
	cursor: default;
}
.dz-docs__dots.swiper-pagination {
	bottom: 6px;
}
.dz-docs__dots .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	margin: 0 2px !important;
	background: #fff;
}

/* Отзывы */
.dz-reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	padding: 0 0 0 20px !important;
}
.dz-review {
	display: flex;
	flex-direction: column;
	min-height: 439px;
	padding: 60px 50px;
	border-radius: 24px;
	background: var(--dz-light-bg);
	color: #213d34;
}
.dz-review--accent {
	background: var(--dz-navy);
	color: #f8f5ef;
}
.dz-review__text {
	margin: 0;
	font-weight: 600;
	font-size: 22px;
	line-height: 1.23;
}
.dz-review__quote {
	align-self: flex-end;
	width: 29px;
	height: 21px;
	margin: 10px 0 18px;
	background: var(--dz-navy-dark);
	-webkit-mask: url('../icons/quote.svg') center / contain no-repeat;
	mask: url('../icons/quote.svg') center / contain no-repeat;
}
.dz-review--accent .dz-review__quote {
	background: #00e0ff;
}
.dz-review__person {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0;
	font-weight: 600;
	font-size: 22px;
}
.dz-review__person img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
}


/* ---------- Адаптив ---------- */
@media (max-width: 1399px) {
	.dz-features__item, .dz-cats__title { font-size: 19px; }
	.dz-cats { gap: 19px 24px; padding: 0 !important; }
	.dz-problem__grid { grid-template-columns: repeat(5, 1fr); }
	.dz-docs { gap: 0 40px; padding-right: 40px; grid-template-columns: 162px 1fr 380px; }
	.dz-review { padding: 48px 36px; }
}
@media (max-width: 1199px) {
	.dz-features { grid-template-columns: repeat(2, 1fr); padding: 14px 20px !important; }
	.dz-cats { grid-template-columns: repeat(3, 1fr); }
	.dz-problem__grid { gap: 18px; }
	.dz-check__label { font-size: 16px; }
	.dz-docs { grid-template-columns: minmax(0, 1fr) 360px; margin-left: 0; padding: 32px 32px 0; }
	.dz-docs__icon { display: none; }
	.dz-reviews { padding: 0 !important; }
	.dz-review__text, .dz-review__person { font-size: 19px; }
}
@media (max-width: 991px) {
	.dz-hero__slide { min-height: 0; }
	.dz-hero__slide::before { background: rgba(211, 245, 246, .82); }
	.dz-hero__panel { padding: 40px 32px 56px; }
	.dz-cats { grid-template-columns: repeat(2, 1fr); }
	.dz-problem__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
	.dz-docs { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
	.dz-docs__body { margin-bottom: 24px; }
	.dz-docs__slider { max-width: 420px; width: 100%; justify-self: center; }
	.dz-reviews { grid-template-columns: 1fr; }
	.dz-review { min-height: 0; }
	/* баннер с вшитым текстом нечитаем на узком экране — показываем HTML-версию */
	.dz-whyus__banner { display: none; }
	.dz-whyus {
		margin-left: var(--dz-gutter);
		margin-right: var(--dz-gutter);
		padding: 32px 0;
		border-radius: var(--dz-radius);
		background: linear-gradient(135deg, #f1fbfc 0%, #d3f5f6 100%);
	}
	.dz-whyus__text {
		position: static !important;
		width: auto; height: auto;
		overflow: visible;
		clip: auto;
	}
	.dz-whyus__text .dz-title { margin-bottom: 4px; color: #1b2b4f; }
	.dz-whyus__text .dz-title span { color: var(--dz-primary); }
	.dz-whyus__sub { margin: 0 0 20px; font-size: 20px; }
	.dz-whyus__list { display: flex; flex-direction: column; gap: 12px; }
	.dz-whyus__list li {
		display: flex;
		align-items: center;
		gap: 12px;
		font-weight: 600;
		font-size: 18px;
		color: #1b2b4f;
	}
	.dz-whyus__list li::before {
		content: '';
		flex: 0 0 auto;
		width: 34px;
		height: 34px;
		border-radius: 50%;
		background: var(--dz-primary) url('../icons/check.svg') center / 16px 19px no-repeat;
	}
}
@media (max-width: 767px) {
	.dz-hero__panel { padding: 28px 20px 48px; }
	.dz-hero__logo { margin-bottom: 22px; }
	.dz-hero__contacts { gap: 16px; font-size: 17px; }
	.dz-hero__address { font-size: 18px; }
	.dz-hero__buttons .dz-btn { flex: 1 1 100%; min-width: 0; }
	.dz-features { grid-template-columns: 1fr; gap: 10px; }
	.dz-features__item { font-size: 17px; }
	.dz-features__icon { width: 48px; height: 46px; }
	.dz-cats { grid-template-columns: 1fr; gap: 12px; }
	.dz-cats__item { height: 104px; }
	.dz-cats__img { max-height: 86px; }
	.dz-cats__title { font-size: 18px; }
	.dz-calc { width: 100%; justify-content: space-between; min-height: 64px; margin-left: 0; padding: 12px 14px 12px 20px; font-size: 20px; }
	.dz-calc__count { height: 40px; font-size: 16px; }
	.dz-problem__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.dz-check { height: 130px; padding-top: 20px; }
	.dz-check__icon { width: 64px; height: 64px; }
	.dz-check__label { font-size: 14px; }
	.dz-check:last-child .dz-check__label { font-size: 12px; }
	.dz-clients { gap: 12px; }
	.dz-clients__item { flex: 0 0 calc(50% - 6px); height: 130px; font-size: 16px; }
	.dz-clients__item img { max-height: 70px; }
	.dz-clients__item:last-child span { font-size: 12px; }
	.dz-docs { padding: 24px 16px 0; }
	.dz-docs__body .dz-btn { min-width: 0; width: 100%; }
	.dz-docs__slider { padding: 0 40px; }
	.dz-review { padding: 32px 24px; }
	.dz-review__text, .dz-review__person { font-size: 17px; }
}
