:root {
	--background: #f3f4f7;
	--text: #1a1a1a;
	--gold: #b99055;
	--gold-dark: #97703e;
	--white: #ffffff;
	--danger: #df0000;
	--max-width: 980px;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	color: var(--text);
	background: url("../images/back.webp") center / cover no-repeat fixed #7b3f26;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

button,
input {
	font: inherit;
}

.page {
	width: 100%;
	flex: 1 0 auto;
}

.screen {
	width: 100%;
}

.screen-hero {
	display: flex;
	min-height: calc(100vh - 72px);
	align-items: center;
	justify-content: center;
	padding: 36px 20px 20px;
	color: var(--white);
}

.screen-hero.is-hidden {
	display: none;
}

.hero {
	position: relative;
	width: 100%;
	max-width: var(--max-width);
	text-align: center;
}

.hero-title {
	margin: 0 auto 24px;
	line-height: 0;
}

.hero-title img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

.hero-video {
	position: relative;
	display: flex;
	width: min(100%, 860px, calc(82svh * 9 / 16));
	margin: 0 auto;
	align-items: center;
	justify-content: center;
}

.video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 82svh;
	aspect-ratio: 9 / 16;
	border-radius: 10px;
	background: #171717;
	object-fit: cover;
}

.video-dim {
	position: absolute;
	inset: 0;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.video-cta {
	position: absolute;
	display: flex;
	width: 150px;
	height: 150px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
	color: #000000;
	cursor: pointer;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
}

.video-cta::before {
	position: absolute;
	inset: -8px;
	border: 3px solid rgba(215, 215, 215, 0.9);
	border-top-color: transparent;
	border-radius: 50%;
	animation: spin 2.2s linear infinite;
	content: "";
}

.cta-ring {
	position: absolute;
	inset: -3px;
	border: 4px solid #df0000;
	border-radius: 50%;
}

.cta-inner {
	position: relative;
	z-index: 1;
	display: flex;
	width: 140px;
	height: 140px;
	align-items: center;
	justify-content: center;
	padding: 18px 10px 40px;
	border-radius: 50%;
	background: #ffd200;
	animation: pulse 1.6s ease-in-out infinite;
}

.cta-text {
	margin-top: 20px;
}

.cta-icons {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
}

.cta-play {
	display: block;
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.cta-finger {
	position: absolute;
	right: 6px;
	bottom: 6px;
	width: 45px;
	height: 45px;
	object-fit: contain;
}

.video-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 10000;
	display: none;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.video-close img {
	display: block;
	width: 100%;
	height: 100%;
}

.hero-video.playing {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	align-items: center;
	justify-content: center;
	background: #000000;
}

.hero-video.playing .video {
	width: auto;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	margin: auto;
	border-radius: 0;
}

.hero-video.playing .video-cta,
.hero-video.playing .video-dim {
	display: none;
}

.hero-video.playing .video-close {
	display: block;
}

.screen-body {
	background: var(--background);
}

.body-wrap {
	width: 100%;
}

.offer-timer {
	position: relative;
	display: none;
	padding: 38px 16px 34px;
	background: url("../images/back.webp") center / cover no-repeat;
	color: var(--white);
	text-align: center;
}

.offer-timer.is-visible {
	display: block;
}

.offer-timer__inner {
	max-width: var(--max-width);
	margin: 0 auto;
}

.discount-title {
	display: block;
	width: min(100%, 640px);
	height: auto;
	margin: 0 auto;
}

.offer-timer__count {
	margin-top: 16px;
	font-size: 52px;
	font-weight: 800;
	letter-spacing: 1px;
}

.offer-timer__notch {
	position: absolute;
	bottom: -25px;
	left: 50%;
	z-index: 2;
	width: 180px;
	height: 26px;
	transform: translateX(-50%);
	background: url("../images/back.webp") center / cover no-repeat;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.product-block {
	display: none;
	padding: 42px 20px 48px;
	background: var(--background);
}

.product-block.is-visible {
	display: block;
}

.product-block__inner {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

.product-heading {
	display: block;
	width: min(100%, 760px);
	height: auto;
	margin: 0 0 22px;
}

.product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
	gap: 30px;
	align-items: center;
}

.product-left {
	min-width: 0;
}

.product-photo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-photo img {
	display: block;
	width: min(100%, 280px);
	height: auto;
}

.product-photo--mobile {
	display: none;
}

.form_order {
	width: 100%;
	max-width: 580px;
	padding: 28px;
	border: 4px solid var(--gold);
	border-radius: 12px;
	background: var(--white);
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
}

.form-title,
.form-subtitle {
	text-align: center;
	font-size: 22px;
	font-weight: 800;
}

.form-title {
	color: var(--gold);
}

.form-subtitle {
	margin-bottom: 6px;
}

.highlight {
	color: var(--gold);
	font-weight: 800;
}

.price-row {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 10px;
	margin: 6px 0;
}

.price-old {
	color: #929aa5;
	font-size: 25px;
	font-weight: 700;
	text-decoration: line-through;
}

.price-new {
	color: var(--gold);
	font-size: 30px;
	font-weight: 800;
}

.form-note {
	color: #000000;
	font-size: 20px;
	text-align: center;
}

.form-timer {
	margin: 6px 0 10px;
	color: var(--danger);
	font-size: 28px;
	font-weight: 800;
	text-align: center;
}

.form-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 10px;
}

.field {
	min-width: 0;
}

.field label {
	display: block;
	margin-bottom: 4px;
	color: #5a6472;
	font-size: 16px;
}

.field-input {
	width: 100%;
	min-height: 48px;
	padding: 11px 15px;
	border: 1px solid #111111;
	border-radius: 8px;
	background: var(--white);
	color: #252a32;
	font-size: 17px;
	line-height: 1.2;
}

.phone-shell {
	display: grid;
	width: 100%;
	min-height: 48px;
	grid-template-columns: 18px auto minmax(0, 1fr);
	align-items: center;
	column-gap: 8px;
	padding: 0 14px 0 10px;
	border: 1px solid #111111;
	border-radius: 8px;
	background: var(--white);
}

.phone-flag {
	display: block;
	width: 18px;
	height: 14px;
}

.phone-code {
	color: #30344d;
	font-size: 20px;
	font-weight: 500;
	white-space: nowrap;
}

.phone-shell .phone-input {
	min-width: 0;
	min-height: 46px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	outline: 0;
}

.form-submit {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	margin-top: 4px;
	padding: 15px 17px;
	border: 0;
	border-radius: 8px;
	background: var(--gold);
	color: var(--white);
	cursor: pointer;
	font-weight: 800;
}

.form-submit:hover,
.form-submit:focus-visible {
	background: var(--gold-dark);
}

.form-footnote {
	margin-top: 8px;
	color: #7f8999;
	font-size: 14px;
	line-height: 1.35;
	text-align: center;
}

.site-footer {
	margin-top: auto;
	padding: 10px 16px 14px;
	background: rgba(68, 28, 18, 0.32);
	color: var(--white);
	text-align: center;
}

.footer-inner {
	max-width: var(--max-width);
	margin: 0 auto;
}

.footer-title {
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 700;
}

.footer-text {
	font-size: 13px;
	line-height: 1.35;
}

@keyframes pulse {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.06);
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 760px) {
	.screen-hero {
		min-height: auto;
		padding: 28px 14px 20px;
	}

	.hero-title {
		margin-bottom: 18px;
	}

	.hero-video {
		width: min(100%, calc(76svh * 9 / 16));
	}

	.video {
		max-height: 76svh;
	}

	.offer-timer {
		padding: 30px 12px 28px;
	}

	.offer-timer__count {
		font-size: 38px;
	}

	.offer-timer__notch {
		bottom: -17px;
		width: 120px;
		height: 18px;
	}

	.product-block {
		padding: 32px 14px 36px;
	}

	.product-heading {
		margin: 0 auto 18px;
	}

	.product-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.product-photo--mobile {
		display: flex;
		margin-bottom: 16px;
	}

	.product-photo--desktop {
		display: none;
	}

	.product-photo img {
		width: min(100%, 240px);
	}

	.form_order {
		max-width: 580px;
		margin: 0 auto;
		padding: 20px 18px;
	}

	.form-fields {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.hero-video {
		width: 100%;
	}

	.video {
		max-height: none;
	}

	.offer-timer__count {
		font-size: 34px;
	}

	.form-title,
	.form-subtitle {
		font-size: 20px;
	}

	.price-old {
		font-size: 19px;
	}

	.price-new {
		font-size: 24px;
	}

	.form-note {
		font-size: 18px;
	}

	.form-timer {
		font-size: 25px;
	}

	.field label {
		font-size: 14px;
	}

	.field-input {
		font-size: 16px;
	}
}
