@font-face {
	font-family: Manrope;
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: Manrope;
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--canvas: #fbfbfb;
	--paper: #fffef9;
	--ink: #192920;
	--muted: #516055;
	--green: #2b603d;
	--green-dark: #214e30;
	--line: #dce2d7;
	--soft-green: #e8efe3;
}

* {
	box-sizing: border-box;
}

html {
	min-width: 320px;
}

body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: Manrope, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

h1,
h2,
p,
figure,
fieldset {
	margin: 0;
}

a {
	color: inherit;
}

button,
input {
	font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 3px;
}

.container {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}

.header-content,
.brand,
.header-phone,
.maintenance,
.form-row,
.consent,
.action-button,
.photo-caption,
.photo-preview,
.footer-content,
.contacts {
	display: flex;
}

.site-header {
	border-bottom: 1px solid var(--line);
}

.header-content {
	min-height: 104px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.brand {
	align-items: center;
	gap: 18px;
}

.brand-logo {
	flex: 0 0 auto;
}

.brand-logo img {
	display: block;
	width: 72px;
	height: auto;
}

.brand-caption {
	padding-left: 18px;
	border-left: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.32;
}

.header-phone {
	flex-shrink: 0;
	align-items: center;
	gap: 10px;
	padding: 7px 13px 7px 8px;
	border: 1px solid var(--line);
	border-radius: 40px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .18s ease, border-color .18s ease;
}

.header-phone:hover {
	border-color: #bdcbbb;
	background: var(--soft-green);
}

.phone-icon {
	display: flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--soft-green);
	color: var(--green-dark);
}

.hero {
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding-top: 28px;
	padding-bottom: 32px;
}

.hero-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.maintenance {
	width: fit-content;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	padding: 7px 12px;
	border: 1px solid #dce5d8;
	border-radius: 24px;
	background: var(--soft-green);
	color: #344f3a;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.3;
}
.maintenance.red {
	background: #ff6363;
    border: none;
    border-radius: 0;
    color: #fff;
    font-size: 18px;
    transform: rotate(-3deg);
}

.status-dot {
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	border-radius: 50%;
	background: #447952;
	box-shadow: 0 0 0 3px #d5e5d5;
}

h1 {
	font-size: 44px;
	font-weight: 800;
	letter-spacing: -2.2px;
	line-height: 1.03;
}

h1 span {
	display: block;
	color: var(--green);
}

.hero-description {
	max-width: 490px;
	margin-top: 16px;
	color: var(--muted);
	font-size: 16px;
	font-weight: 550;
	line-height: 1.55;
}

.form-card {
	width: 100%;
	max-width: 570px;
	margin-top: 24px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--paper);
	box-shadow: 0 8px 32px #27392b0b;
	scroll-margin-top: 16px;
}

.form-title {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -.4px;
	line-height: 1.25;
}

.form-intro {
	margin-top: 5px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 550;
}

.form-fields {
	min-width: 0;
	padding: 0;
	border: 0;
}

.form-row {
	gap: 12px;
	margin-top: 16px;
}

.form-field {
	display: flex;
	min-width: 0;
	flex: 1 1 0;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	font-weight: 800;
}

.form-field input {
	width: 100%;
	height: 48px;
	padding: 0 12px;
	border: 1px solid #cfd8cc;
	border-radius: 10px;
	background: #f9faf5;
	color: var(--ink);
	font-size: 16px;
	font-weight: 550;
}

.form-field input::placeholder {
	color: #5f6f64;
	opacity: 1;
}

.form-field input:focus {
	border-color: var(--green);
}

.form-field input:disabled {
	background: #eeeee7;
}

.consent {
	align-items: flex-start;
	gap: 9px;
	margin-top: 14px;
	color: #4d5c50;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
}

.consent input {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	margin: 1px 0 0;
	accent-color: var(--green);
}

.consent label {
	cursor: pointer;
}

.consent a {
	white-space: nowrap;
}

.consent a,
.form-message a,
.consent-panel a {
	color: var(--green-dark);
	font-weight: 800;
	text-underline-offset: 2px;
}

.action-button {
	width: 100%;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 14px;
	padding: 10px 14px;
	border: 1px solid var(--green);
	border-radius: 11px;
	background: var(--green);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease;
}

.action-button:hover {
	border-color: var(--green-dark);
	background: var(--green-dark);
}

.action-button:disabled {
	border-color: #64776a;
	background: #64776a;
	cursor: default;
}

.action-button svg {
	flex-shrink: 0;
}

.form-message {
	margin-top: 12px;
	padding: 9px 11px;
	border-radius: 8px;
	background: #f2f3e9;
	color: #354c3a;
	font-size: 13px;
	font-weight: 650;
}

.form-message.is-error {
	background: #f9ede7;
	color: #772e20;
}

.form-success .action-button {
	margin-top: 18px;
}

.hero-media {
	position: relative;
	width: 100%;
	min-width: 0;
	aspect-ratio: 6 / 5;
	overflow: hidden;
	isolation: isolate;
	border-radius: 23px;
	background: #345044;
}

.hero-photo,
.hero-photo img,
.hero-media::after {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero-photo img {
	display: block;
	object-fit: cover;
}

.hero-media::after {
	z-index: 1;
	background: linear-gradient(180deg, #18281b00 52%, #101d15dd 100%);
	content: "";
	pointer-events: none;
}

.photo-caption {
	position: absolute;
	z-index: 2;
	right: 24px;
	bottom: 22px;
	left: 24px;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	color: #fff;
}

.photo-label {
	margin-bottom: 5px;
	color: #e6f0e6;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.8px;
}

.photo-title {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.4px;
	line-height: 1.15;
}

.photo-preview {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid #ffffffb3;
	border-radius: 50%;
	background: #18281b80;
	color: #fff;
	text-decoration: none;
	transition: background-color .18s ease;
}

.photo-preview:hover {
	background: #18281b;
}

.photo-preview:focus-visible {
	outline-color: #fff;
}

.consent-panel {
	display: none;
	width: 100%;
	max-width: 560px;
	padding: 24px;
	border-radius: 16px;
	background: var(--paper);
	color: var(--ink);
}

.consent-panel:target {
	display: block;
	margin-bottom: 28px;
}

.consent-panel h2 {
	font-size: 22px;
	line-height: 1.25;
}

.consent-panel p {
	margin-top: 12px;
}

.fancybox-content.consent-panel {
	max-width: 100%;
	width: 560px;
	padding: 40px 24px 26px;
}

.site-footer {
	border-top: 1px solid var(--line);
}

.footer-content {
	min-height: 75px;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	padding-top: 16px;
	padding-bottom: 17px;
}

.footer-content p {
	color: var(--muted);
	font-size: 13px;
	font-weight: 750;
}

.contacts {
	flex-wrap: wrap;
	gap: 8px 25px;
	font-size: 14px;
	font-style: normal;
	font-weight: 750;
}

.contacts a {
	text-decoration: none;
}

.contacts a:hover {
	color: var(--green-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (min-width: 576px) {
	.container {
		max-width: 540px;
	}

	.hero-media {
		aspect-ratio: 33 / 20;
	}
}

@media (min-width: 768px) {
	.container {
		max-width: 720px;
	}

	.hero {
		padding-top: 34px;
		padding-bottom: 36px;
	}

	h1 {
		font-size: 53px;
		letter-spacing: -2.8px;
	}

	.hero-media {
		aspect-ratio: 17 / 10;
	}
}

@media (min-width: 992px) {
	.container {
		max-width: 960px;
	}

	.hero {
		flex-direction: row;
		gap: 30px;
	}

	.hero-copy {
		flex: 0 0 46%;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	h1 {
		font-size: 43px;
		letter-spacing: -2.3px;
	}

	.hero-media {
		width: auto;
		min-height: 495px;
		flex: 1 1 0;
		aspect-ratio: auto;
	}
}

@media (min-width: 1200px) {
	.container {
		max-width: 1170px;
	}

	.hero {
		gap: 34px;
	}

	.hero-copy {
		flex-basis: 44%;
	}

	h1 {
		font-size: 53px;
		letter-spacing: -2.9px;
	}

	.hero-description {
		font-size: 17px;
	}

	.hero-media {
		min-height: 545px;
	}
}

@media (min-width: 1400px) {
	.container {
		max-width: 1370px;
	}

	.hero {
		gap: 40px;
	}

	.hero-copy {
		padding-top: 18px;
		padding-bottom: 18px;
	}

	h1 {
		font-size: 62px;
		letter-spacing: -3.5px;
	}

	.hero-description {
		font-size: 18px;
	}

	.form-card {
		margin-top: 28px;
		padding: 26px;
	}

	.hero-media {
		min-height: 565px;
	}

	.photo-caption {
		right: 28px;
		bottom: 26px;
		left: 28px;
	}

	.photo-title {
		font-size: 25px;
	}
}

@media (min-width: 1600px) {
	.container {
		max-width: 1570px;
	}

	.hero {
		gap: 48px;
	}

	h1 {
		font-size: 70px;
		letter-spacing: -4px;
	}

	.hero-media {
		min-height: 600px;
	}
}

@media (min-width: 1800px) {
	.container {
		max-width: 1770px;
	}

	.hero {
		gap: 56px;
	}

	h1 {
		font-size: 78px;
		letter-spacing: -4.5px;
	}

	.hero-media {
		min-height: 637px;
	}
}

@media (max-width: 767px) {
	.header-content {
		min-height: 84px;
	}

	.footer-content {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 575px) {
	.header-content {
		min-height: 75px;
	}

	.brand-logo img {
		width: 58px;
	}

	.brand-caption {
		display: none;
	}

	.header-phone {
		font-size: 13px;
	}

	.phone-icon {
		width: 29px;
		height: 29px;
	}

	.phone-icon svg {
		width: 16px;
		height: 16px;
	}

	.hero {
		gap: 22px;
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.maintenance {
		margin-bottom: 15px;
	}

	h1 {
		font-size: 39px;
		letter-spacing: -2.1px;
	}

	.hero-description {
		margin-top: 12px;
		font-size: 15px;
	}

	.form-card {
		margin-top: 19px;
		padding: 17px;
		border-radius: 16px;
	}

	.form-row {
		flex-direction: column;
		gap: 11px;
		margin-top: 13px;
	}

	.hero-media {
		border-radius: 16px;
	}

	.photo-caption {
		right: 15px;
		bottom: 15px;
		left: 15px;
	}

	.photo-title {
		font-size: 18px;
	}

	.photo-preview {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
	}
}

@media (max-width: 379px) {
	h1 {
		font-size: 34px;
		letter-spacing: -1.8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}
