:root {
	--accent: #004d5c;
	--accent-dark: #003844;
	--accent-soft: #e2edf0;
	--ink: #1a1a1a;
	--soft: #666666;
	--line: #dbe4e7;
	--bg: #ffffff;
	--bg-soft: #f3f6f7;
	--dark: #06242d;
	--alert: #d64545;
	--alert-soft: #fcecec;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background-color: var(--bg);
}

body.menu-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font-family: inherit;
	color: inherit;
}

ul {
	list-style: none;
}

::selection {
	background-color: var(--accent);
	color: #ffffff;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 8px;
	width: 100%;
}

.section {
	padding: 100px 0;
}

.section_gray {
	background-color: var(--bg-soft);
}

.section_dark {
	background-color: var(--accent);
}

.title {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.1;
	color: var(--ink);
	margin-bottom: 48px;
}

.icon__svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.icon__svg_16 {
	width: 16px;
	height: 16px;
}

.icon__svg_20 {
	width: 20px;
	height: 20px;
}

.icon__svg_32 {
	width: 32px;
	height: 32px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	background-color: var(--accent);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s ease;
	white-space: nowrap;
}

.btn:hover {
	background-color: var(--accent-dark);
}

.btn_lg {
	padding: 20px 40px;
	font-size: 18px;
}

.btn_sm {
	padding: 12px 24px;
	font-size: 14px;
}

.btn_light {
	background-color: #ffffff;
	color: var(--accent);
}

.btn_light:hover {
	background-color: var(--accent-soft);
}

.btn:disabled {
	background-color: #9db6bc;
	cursor: not-allowed;
}

.social {
	display: flex;
	gap: 12px;
}

.social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--accent);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social__link:hover {
	background-color: var(--accent);
	border-color: var(--accent);
	color: #ffffff;
}

.social__link_light {
	border-color: rgba(255, 255, 255, 0.32);
	color: #ffffff;
}

.social__link_light:hover {
	background-color: #ffffff;
	border-color: #ffffff;
	color: var(--accent);
}

.messenger {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	color: #ffffff;
	transition: background-color 0.2s ease;
}

.messenger_whatsapp {
	background-color: #25d366;
}

.messenger_whatsapp:hover {
	background-color: #1faa52;
}

.messenger_telegram {
	background-color: #229ed9;
}

.messenger_telegram:hover {
	background-color: #1c86b8;
}

.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	background-color: var(--bg);
}

.header_scrolled {
	box-shadow: 0 4px 12px rgba(0, 45, 54, 0.08);
}

.header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 80px;
	justify-content: space-between;
}

.header__logo img {
	height: 44px;
	width: auto;
}

.header__nav {
	display: flex;
	align-items: center;
	gap: 24px;
}

.nav__link {
	font-size: 16px;
	font-weight: 500;
	color: var(--ink);
	transition: color 0.2s ease;
}

.nav__link:hover {
	color: var(--accent);
}

.nav__actions {
	display: none;
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.header__phone {
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
	transition: color 0.2s ease;
}

.header__phone:hover {
	color: var(--accent);
}

.header__burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: none;
	border: none;
	color: var(--ink);
	cursor: pointer;
}

.header__burger-close {
	display: none;
}

body.menu-open .header__burger-open {
	display: none;
}

body.menu-open .header__burger-close {
	display: block;
}

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: 140px 0 96px;
	color: #ffffff;
	overflow: hidden;
}

.hero__media {
	position: absolute;
	inset: 0;
}

.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(6, 29, 36, 0.55);
}

.hero__content {
	position: relative;
	max-width: 800px;
}

.hero__caption {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 16px;
}

.hero__title {
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 24px;
}

.hero__subtitle {
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
	max-width: 640px;
	margin-bottom: 40px;
}

.hero__buttons {
	margin-bottom: 40px;
}

.hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero__badge {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background-color: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
}

.about {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: start;
}

.about__text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--soft);
	margin-bottom: 16px;
}

.about__facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 32px;
}

.about__fact {
	background-color: var(--bg-soft);
	border-radius: 16px;
	padding: 24px;
}

.about__fact-icon {
	color: var(--accent);
	margin-bottom: 12px;
}

.about__fact-value {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 8px;
}

.about__fact-label {
	font-size: 14px;
	line-height: 1.5;
	color: var(--soft);
}

.about__media {
	border-radius: 16px;
	overflow: hidden;
}

.about__img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.service {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 48px;
	align-items: start;
	margin-bottom: 64px;
}

.service_flip .service__media {
	order: 2;
}

.service__media {
	border-radius: 16px;
	overflow: hidden;
}

.service__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.service__text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--soft);
	margin-bottom: 24px;
}

.service__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 32px;
}

.service__item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
}

.service__item .icon__svg {
	color: var(--accent);
}

.service__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.service__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
	transition: color 0.2s ease;
}

.service__phone:hover {
	color: var(--accent);
}

.service__phone .icon__svg {
	color: var(--accent);
}

.service__messengers {
	display: flex;
	gap: 12px;
}

.prices {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.prices__subtitle {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 20px;
}

.table-scroll {
	overflow-x: auto;
	background-color: var(--bg);
	border: 1px solid var(--line);
	border-radius: 12px;
}

.price-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
}

.price-table th {
	padding: 16px 24px;
	background-color: var(--accent);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.price-table td {
	padding: 16px 24px;
	border-top: 1px solid var(--line);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
}

.price-table tbody tr:hover {
	background-color: #f7fafb;
}

.price-table__price {
	font-weight: 700;
	color: var(--accent);
	white-space: nowrap;
}

.price-table__row_hit {
	background-color: var(--accent-soft);
}

.price-table__row_hit:hover {
	background-color: var(--accent-soft);
}

.price-table__badge {
	display: inline-block;
	padding: 4px 8px;
	margin-left: 8px;
	background-color: var(--accent);
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 4px;
	vertical-align: middle;
}

.calc {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 32px;
	align-items: start;
}

.calc__zones {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.calc__zone {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	background-color: var(--bg);
	border: 1px solid var(--line);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.calc__zone:hover {
	border-color: var(--accent);
}

.calc__input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.calc__box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 1px solid #b8c6ca;
	border-radius: 8px;
	color: transparent;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.calc__input:checked ~ .calc__box {
	background-color: var(--accent);
	border-color: var(--accent);
	color: #ffffff;
}

.calc__input:checked ~ .calc__name,
.calc__input:checked ~ .calc__cost {
	color: var(--accent);
}

.calc__input:focus-visible ~ .calc__box {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.calc__zone_checked {
	background-color: var(--accent-soft);
	border-color: var(--accent);
}

.calc__name {
	flex: 1;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ink);
	transition: color 0.2s ease;
}

.calc__cost {
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
	white-space: nowrap;
	transition: color 0.2s ease;
}

.calc__result {
	position: sticky;
	top: 96px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 32px;
	background-color: var(--accent-soft);
	border-radius: 16px;
}

.calc__result-label {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--soft);
}

.calc__total {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.05;
	color: var(--accent);
}

.calc__count {
	font-size: 14px;
	line-height: 1.5;
	color: var(--soft);
	margin-bottom: 8px;
}

.calc__note {
	font-size: 12px;
	line-height: 1.5;
	color: var(--soft);
}

.consult {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.consult__title {
	color: #ffffff;
}

.consult__text {
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 40px;
}

.consult__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 24px;
}

.consult__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.15;
	color: #ffffff;
	transition: opacity 0.2s ease;
}

.consult__phone:hover {
	opacity: 0.8;
}

.consult__messengers {
	display: flex;
	gap: 12px;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.gallery__item {
	display: block;
	padding: 0;
	border: none;
	background: none;
	border-radius: 16px;
	overflow: hidden;
	cursor: pointer;
	aspect-ratio: 4 / 3;
}

.gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery__item:hover .gallery__img {
	transform: scale(1.05);
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: none;
	align-items: center;
	justify-content: center;
	background-color: rgba(6, 29, 36, 0.92);
	padding: 24px;
}

.lightbox__img {
	max-width: 88vw;
	max-height: 84vh;
	object-fit: contain;
	border-radius: 8px;
}

.lightbox__close {
	position: absolute;
	top: 24px;
	right: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background-color: rgba(255, 255, 255, 0.12);
	border: none;
	border-radius: 50%;
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.lightbox__close:hover {
	background-color: rgba(255, 255, 255, 0.24);
}

.lightbox__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background-color: rgba(255, 255, 255, 0.12);
	border: none;
	border-radius: 50%;
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.lightbox__arrow:hover {
	background-color: rgba(255, 255, 255, 0.24);
}

.lightbox__arrow_prev {
	left: 24px;
}

.lightbox__arrow_next {
	right: 24px;
}

.reviews {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.reviews__widget {
	background-color: var(--bg);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 12px rgba(0, 45, 54, 0.06);
}

.reviews__studio {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 16px;
}

.reviews__studio .icon__svg {
	color: var(--accent);
}

.reviews__frame {
	position: relative;
	background-color: var(--bg-soft);
	border-radius: 12px;
	overflow: hidden;
}

.reviews__iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.reviews__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--soft);
}

.reviews__frame_loaded .reviews__placeholder {
	display: none;
}

.care {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.care__card {
	background-color: var(--bg-soft);
	border-radius: 16px;
	padding: 32px;
}

.care__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background-color: var(--accent-soft);
	border-radius: 50%;
	color: var(--accent);
	margin-bottom: 20px;
}

.care__icon_alert {
	background-color: var(--alert-soft);
	color: var(--alert);
}

.care__name {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 12px;
}

.care__text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--soft);
}

.contra {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.contra__card {
	background-color: var(--bg);
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 4px 12px rgba(0, 45, 54, 0.06);
}

.contra__note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 32px;
	padding: 24px;
	background-color: var(--bg);
	border-left: 4px solid var(--accent);
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
}

.contra__note .icon__svg {
	color: var(--accent);
	margin-top: 4px;
}

.faq {
	margin: 0 auto;
}

.faq__item {
	background-color: var(--bg);
	border: 1px solid var(--line);
	border-radius: 12px;
	margin-bottom: 12px;
	overflow: hidden;
	transition: border-color 0.2s ease;
}

.faq__item_open {
	border-color: var(--accent);
}

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 20px 24px;
	background: none;
	border: none;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	text-align: left;
	color: var(--ink);
	cursor: pointer;
	transition: color 0.2s ease;
}

.faq__item_open .faq__question {
	color: var(--accent);
}

.faq__chevron {
	transition: transform 0.3s ease;
	color: var(--accent);
}

.faq__item_open .faq__chevron {
	transform: rotate(180deg);
}

.faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq__text {
	padding: 0 24px 20px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--soft);
}

.contacts {
	display: grid;
	/* grid-template-columns: 1fr 1fr; */
	gap: 24px;
}


.contact {
	display: grid;
	grid-template-columns: 1fr 2fr;
	background-color: var(--bg);
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 45, 54, 0.06);
	min-height: 450px;
}

.contact__info {
	padding: 32px;
	display: flex;
	flex-direction: column;
}

.contact__name {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 24px;
}

.contact__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 24px;
}

.contact__row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 16px;
	line-height: 1.5;
}

.contact__row .icon__svg {
	color: var(--accent);
	margin-top: 4px;
}

.contact__link {
	color: var(--accent);
	font-weight: 600;
	transition: opacity 0.2s ease;
}

.contact__link:hover {
	opacity: 0.72;
}

.contact__messengers {
	display: flex;
	gap: 12px;
	margin-bottom: 24px;
}

.contact__book {
	margin-top: auto;
}

.contact__map iframe {
	width: 100%;
	height: 100%;
	min-height: 360px;
	border: 0;
	display: block;
}

.footer {
	background-color: var(--dark);
	color: #b9c9cd;
	padding: 80px 0 40px;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 1.2fr 1fr;
	gap: 32px;
	margin-bottom: 48px;
}

.footer__logo {
	display: inline-block;
	margin-bottom: 20px;
}

.footer__logo img {
	height: 44px;
	width: auto;
	filter: brightness(0) invert(1);
}

.footer__desc {
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 20px;
}

.footer__caption {
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 16px;
}

.footer__nav {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer__link {
	font-size: 14px;
	line-height: 1.5;
	color: #b9c9cd;
	transition: color 0.2s ease;
}

.footer__link:hover {
	color: #ffffff;
}

.footer__contacts {
	display: flex;
	flex-direction: column;
}

.footer__contact {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 12px;
}

.footer__contact .icon__svg {
	margin-top: 2px;
	color: #ffffff;
}

.footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 14px;
	line-height: 1.5;
}

.footer__privacy {
	background: none;
	border: none;
	font-size: 14px;
	color: #b9c9cd;
	cursor: pointer;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.footer__privacy:hover {
	color: #ffffff;
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 400;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.modal__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(6, 29, 36, 0.64);
}

.modal__window {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background-color: var(--bg);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 8px 24px rgba(6, 29, 36, 0.24);
}

.modal__window_lg {
	max-width: 720px;
}

.modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: var(--bg-soft);
	border: none;
	border-radius: 50%;
	color: var(--ink);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.modal__close:hover {
	background-color: var(--accent-soft);
}

.modal__title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 12px;
}

.modal__subtitle {
	font-size: 14px;
	line-height: 1.5;
	color: var(--soft);
	margin-bottom: 24px;
}

.form {
	position: relative;
	display: flex;
	flex-direction: column;
}

.form__label {
	display: flex;
	flex-direction: column;
	margin-bottom: 16px;
}

.form__caption {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 8px;
}

.form__input {
	width: 100%;
	padding: 12px 16px;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background-color: var(--bg);
	border: 1px solid var(--line);
	border-radius: 8px;
	transition: border-color 0.2s ease;
}

.form__input:focus {
	outline: none;
	border-color: var(--accent);
}

.form__textarea {
	min-height: 96px;
	resize: vertical;
}

.form__error {
	display: none;
	font-size: 12px;
	line-height: 1.4;
	color: var(--alert);
	margin-top: 4px;
}

.form__label_error .form__error {
	display: block;
}

.form__label_error .form__input {
	border-color: var(--alert);
}

.form__hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	width: 0;
}

.form__agree {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 24px;
}

.form__agree-input {
	width: 16px;
	height: 16px;
	margin-top: 4px;
	accent-color: var(--accent);
	flex-shrink: 0;
}

.form__agree-text {
	font-size: 12px;
	line-height: 1.5;
	color: var(--soft);
}

.form__agree_error .form__agree-text {
	color: var(--alert);
}

.form__agree-link {
	background: none;
	border: none;
	padding: 0;
	font-size: inherit;
	color: var(--accent);
	text-decoration: underline;
	cursor: pointer;
}

.form__submit {
	width: 100%;
}

.form__success {
	text-align: center;
	padding: 24px 0;
}

.form__success-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	background-color: var(--accent-soft);
	border-radius: 50%;
	color: var(--accent);
	margin: 0 auto 20px;
}

.form__success-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 8px;
}

.form__success-text {
	font-size: 14px;
	line-height: 1.5;
	color: var(--soft);
}

.privacy p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--soft);
	margin-bottom: 16px;
}

.privacy h3 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 8px;
}

.anim {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.anim_visible {
	opacity: 1;
	transform: translateY(0);
}

@media (min-width: 576px) {
	.container {
		padding: 0 12px;
	}
}

@media (max-width: 1200px) {
	.about {
		grid-template-columns: 1fr;
	}

	.about__img {
		aspect-ratio: 16 / 9;
	}

	.service {
		grid-template-columns: 1fr;
		gap: 32px;
		margin-bottom: 48px;
	}

	.service_flip .service__media {
		order: 0;
	}

	.calc {
		grid-template-columns: 1fr;
	}

	.calc__result {
		position: static;
	}

	.reviews {
		grid-template-columns: 1fr;
	}

	.contacts {
		grid-template-columns: 1fr;
	}

	.footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 992px) {
	.header__inner {
		gap: 16px;
	}

	.header__burger {
		display: flex;
	}

	.header__nav {
		position: fixed;
		top: 80px;
		left: 0;
		right: 0;
		bottom: 0;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 24px;
		background-color: var(--bg);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
	}

	.header__nav.nav_open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.nav__link {
		font-size: 20px;
		padding: 12px 0;
	}

	.nav__actions {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		margin-top: 24px;
		padding-top: 24px;
		border-top: 1px solid var(--line);
		width: 100%;
	}

	.nav__phone {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		font-size: 18px;
		font-weight: 700;
		color: var(--ink);
	}

	.care {
		grid-template-columns: 1fr 1fr;
	}

	.contra {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.section {
		padding: 64px 0;
	}

	.title {
		margin-bottom: 32px;
	}

	.hero {
		padding: 120px 0 64px;
	}

	.hero__subtitle {
		font-size: 16px;
		margin-bottom: 32px;
	}

	.hero__buttons {
		margin-bottom: 32px;
	}

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

	.prices__subtitle {
		font-size: 20px;
	}

	.gallery {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.contact {
		grid-template-columns: 1fr;
	}

	.contact__map iframe {
		min-height: 280px;
	}

	.consult__phone {
		font-size: 20px;
	}

	.consult__actions {
		gap: 16px;
	}

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

	.modal__window {
		padding: 32px 24px;
	}

	.lightbox__arrow_prev {
		left: 8px;
	}

	.lightbox__arrow_next {
		right: 8px;
	}
}

@media (max-width: 576px) {
	.header__phone {
		display: none;
	}

	.header__book {
		display: none;
	}

	.about__facts {
		grid-template-columns: 1fr;
	}

	.calc__zones {
		grid-template-columns: 1fr;
	}

	.calc__result {
		padding: 24px;
	}

	.calc__total {
		font-size: 32px;
	}

	.care {
		grid-template-columns: 1fr;
	}

	.contra {
		grid-template-columns: 1fr;
	}

	.reviews__frame {
		height: 320px;
	}

	.footer__grid {
		grid-template-columns: 1fr;
	}

	.btn_lg {
		width: 100%;
	}

	.lightbox__arrow {
		width: 48px;
		height: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms;
		animation-duration: 0.01ms;
	}

	.anim {
		opacity: 1;
		transform: none;
	}
}
