/* =========================================================================
   Discount Upholstery — designers-only.css
   Hero-секция страницы «Designers Only». Подключается автоматически по слагу
   (assets/css/{slug}.css, см. functions.php).
   ========================================================================= */

/* -------------------------------------------------------------------------
   Прозрачная шапка поверх hero (как на главной) + убираем отступ под шапкой.
   Класс body.dz-hero-page добавляется в functions.php (du_body_classes).
   ------------------------------------------------------------------------- */
body.dz-hero-page .site-main {
	padding-top: 0;
}

body.dz-hero-page .site-header:not(.is-scrolled) {
	background-color: transparent;
	box-shadow: none;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.dz-hero {
	position: relative;
	/* высота как у hero на главной (~1024px на 1440) */
	height: 1024px;
	/* карточка выходит за нижнюю границу секции — поэтому не обрезаем */
	overflow: visible;
}

@media (max-width: 1280px) {
	.dz-hero {
		height: 880px;
	}

	.dz-hero__card {
		right: 48px;
		width: 560px;
	}
}

/* Фоновое изображение на всю секцию */
.dz-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* держим верх кадра — девушку не срезает по высоте на широких экранах */
	object-position: center top;
	z-index: 0;
}

/* -------------------------------------------------------------------------
   Карточка
   ------------------------------------------------------------------------- */
.dz-hero__card {
	position: absolute;
	z-index: 2;
	right: 110px;        /* 110px справа на 1440 */
	bottom: -47px;       /* карточка выходит ниже секции */
	width: 646px;        /* 646px на 1440 */
	display: flex;
	flex-direction: column;
	padding: 27px 24px 43px 24px;
	color: #fff;
	background: linear-gradient(125deg, #e2bd9e 0%, #c09570 50%);
	border: 1px solid #ffffff;
	border-radius: 30px;
	overflow: hidden;
	max-height: 420px;
}

/* Декоративный логотип-водяной знак */
.dz-hero__watermark {
	position: absolute;
	z-index: 0;
	right: 0;
	top: 27%;
	transform: translateY(-28%);
	width: 306px;
	height: auto;
	opacity: 0.65;
	pointer-events: none;
	user-select: none;
}

/* Заголовок + рукописный акцент */
.dz-hero__head {
	position: relative;
	z-index: 1;
}

.dz-hero__title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 84px;   /* 84px на 1440 */
	line-height: 1;
	letter-spacing: 0;
	color: #fff;
}

.dz-hero__script {
	display: block;
	margin-top: -0.32em;                     /* лёгкое наложение на заголовок */
	font-family: var(--font-script);
	font-weight: 400;
	font-size: 100px;   /* 100px на 1440 */
	line-height: 1;
	letter-spacing: 0;
	color: #fff;
}

/* Нижний блок карточки прижимаем к низу */
.dz-hero__body {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 30px;
	align-items: start;
	margin-top: 35px;
}

/* Левая колонка: подпись + цена */
.dz-hero__cost {
	min-width: 0;
}

.dz-hero__cost-label {
	margin: 0 0 10px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 16px;
	line-height: 21px;
	color: #fff;
}

.dz-hero__cost-price {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 100px;   /* 100px на 1440 */
	line-height: 1;                        /* 128px при 100px */
	letter-spacing: 0;
	color: #fff;
	white-space: nowrap;
}

/* Знак валюты ($) чуть меньше — 90px при 100px */
.dz-hero__cost-price::first-letter {
	font-size: 0.9em;
}

/* Правая колонка: описание (WYSIWYG) */
.dz-hero__desc {
	min-width: 0;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 16px;
	line-height: 21px;
	color: #fff;
}

.dz-hero__desc p {
	margin: 0 0 18px;
	font-weight: 300;
	font-size: 14px;
}

.dz-hero__desc p strong{
	font-weight: 600;
	font-size: 16px;
}

.dz-hero__desc p:last-child {
	margin-bottom: 0;
}

.dz-hero__desc em,
.dz-hero__desc i {
	display: inline-block;
	margin-top: 2px;
	font-weight: 300;
	font-style: italic;
	font-size: 14px;
	line-height: 21px;
}

/* Контент страницы после hero (если есть) */
.dz-page__content {
	padding-block: 72px;
}

/* -------------------------------------------------------------------------
   Адаптив
   ------------------------------------------------------------------------- */

/* Планшет: карточка в потоке по центру, секция по высоте контента */
@media (max-width: 1024px) {
	.dz-hero {
		height: auto;
		display: flex;
		align-items: flex-start;
		justify-content: center;
		padding: 150px 40px 90px;
	}

	.dz-hero__card {
		position: static;
		right: auto;
		width: 100%;
		max-width: 646px;
		min-height: 300px;
	}

	.dz-hero__body {
		margin-top: 30px;
	}
}

/* Мобайл: одна колонка внутри карточки */
@media (max-width: 600px) {
	.dz-hero {
		height: auto;
		padding: 130px 16px 48px;
	}

	.dz-hero__title {
		font-size: 56px;
	}

	.dz-hero__script {
		font-size: 68px;
	}

	.dz-hero__cost-price {
		font-size: 76px;
	}

	.dz-hero__card {
		width: 100%;
		min-height: 0;
		padding: 28px 22px 32px;
		border-radius: 22px;
	}

	.dz-hero__body {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-top: 32px;
	}

	.dz-hero__cost-price {
		line-height: 1.1;
	}

	.dz-hero__watermark {
		width: 200px;
		right: -10%;
	}
}

/* -------------------------------------------------------------------------
   Блок «Membership Benefits»
   ------------------------------------------------------------------------- */
.dz-benefits {
	/* верхний отступ убирает контент из-под свисающей карточки hero */
	padding-top: 102px;
	padding-bottom: 0;
	background-color: #fff;
}

.dz-benefits__title {
	margin: 0 0 50px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 50px;   /* 50px на 1440 */
	line-height: 1;
	letter-spacing: 0;
	color: #464460;
}

/* Список преимуществ в 2 колонки */
.dz-benefits__list {
	columns: 2;
	column-gap: 140px;
}

.dz-benefits__item {
	break-inside: avoid;
	position: relative;
	padding-left: 22px;
	margin: 0 0 20px;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0;
	color: #4a485c;
}

.dz-benefits__item::before {
	content: '•';
	position: absolute;
	left: 4px;
	top: 0;
	line-height: 24px;
	color: #4a485c;
}

/* Кнопка «Request Membership» */
.dz-benefits__actions {
	margin-top: 72px;
	display: flex;
	justify-content: center;
}

.dz-benefits__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	padding: 16px 44px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background-color: #C09570;
	border-radius: 999px;
	transition: background-color 0.25s ease, transform 0.2s ease;
}

.dz-benefits__btn:hover {
	background-color: #a97e59;
	transform: translateY(-1px);
}

/* Планшет: карточка уже в потоке, поэтому верхний отступ меньше */
@media (max-width: 1024px) {
	.dz-benefits {
		padding-top: 96px;
	}
}

/* Мобайл: одна колонка, кнопка во всю ширину */
@media (max-width: 600px) {
	.dz-benefits__list {
		columns: 1;
	}

	.dz-benefits__btn {
		width: 100%;
		max-width: 360px;
		padding: 18px 32px;
	}
}
