/*
Theme Name: Клинкласс
Theme URI: http://etalon-clean.ru/
Author: Клинкласс
Description: Лендинг клининговой компании «Клинкласс» в Подольске. Лёгкая тема без конструкторов и сборщиков: чистая семантическая разметка, self-hosted шрифты, форма заявки со сохранением в админке.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: etalon-clean
Tags: landing, one-page, custom-colors, translation-ready
*/

/* ==========================================================================
   1. Токены
   ========================================================================== */

:root {
	--blue: #0059ff;
	--blue-hover: #0043b9;
	--blue-soft: #8abdf7;
	--blue-soft-hover: #68afff;
	--blue-300: #c4e1ff;
	--blue-400: #98c8ff;
	--blue-500: #68afff;
	--blue-600: #4189db;
	--blue-050: #f3f8fd;
	--blue-line: #9dbffe;

	--ink: #282828;
	--muted: #80858b;
	--gray: #9c9c9c;
	--card: #f5f5f5;
	--white: #fff;
	--yellow: #fad536;

	--grad-hero: linear-gradient(340.56deg, #d3e4f7 0%, #f4f8fd 41%);
	--grad-blue: linear-gradient(135.36deg, #68afff 20%, #4189db 100%);
	--grad-faq: linear-gradient(122.76deg, #68afff 27%, #4189db 100%);
	--grad-footer: linear-gradient(151.56deg, #467cb2 25%, #50606f 100%);
	--grad-popup: linear-gradient(340deg, #c4e1ff 0%, #f3f8fd 60%);

	--shadow-card: 0 4px 20px rgba(4, 67, 185, 0.08);
	--shadow-header: 0 6px 16px rgba(49, 58, 69, 0.08);
	--shadow-modal: 0 20px 60px rgba(0, 11, 48, 0.2);

	--radius-card: 25px;
	--radius-soft: 20px;
	--radius-row: 16px;
	--radius-pill: 30px;

	--font-text: 'Geologica', 'Segoe UI', Arial, sans-serif;
	--font-head: 'Onest', 'Segoe UI', Arial, sans-serif;

	--container: 1228px; /* 1188px контента + 2x20px отступа */
	--header-bar: 64px;
	/* Белая панель шапки в две строки. */
	--header-panel: 112px;
	/* Место под шапку у контента: панель плюс запас под свисающий квадрат логотипа. */
	--header-total: 130px;
	/* Квадрат логотипа в шапке и отступ, с которого начинаются обе строки шапки. */
	--logo-tile: 120px;
	--logo-offset: calc(20px + var(--logo-tile) + 28px);
}

/* ==========================================================================
   2. База
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-total) + 20px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding-top: var(--header-total);
	overflow-x: clip;
	background: var(--white);
	color: var(--ink);
	font: 400 17px/1.35 var(--font-text);
	-webkit-font-smoothing: antialiased;
}

/* На лендинге градиент первого экрана уходит под плавающую шапку. */
body.is-landing {
	padding-top: 0;
}

[hidden] {
	display: none !important;
}

body.is-locked {
	overflow: hidden;
}

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

img {
	height: auto;
}

a {
	color: var(--blue);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--blue-hover);
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.2;
}

p,
ul,
ol,
dl,
dd {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

sup {
	font-size: 0.62em;
	vertical-align: super;
	line-height: 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 20px;
	z-index: 200;
	padding: 10px 18px;
	background: var(--white);
	border-radius: 0 0 8px 8px;
}

.skip-link:focus {
	top: 0;
}

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

/* ==========================================================================
   3. Раскладка и типографика
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

.container--narrow {
	max-width: 860px;
}

.section {
	padding: 44px 0;
}

.section-title {
	font-size: 32px;
	line-height: 40px;
}

.section-title span {
	color: var(--blue);
}

.section-title--light,
.section-title--light span {
	color: var(--white);
}

/* ==========================================================================
   4. Кнопки
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 30px;
	border: 0;
	border-radius: var(--radius-pill);
	font-family: var(--font-text);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
	background: var(--blue);
	color: var(--white);
}

.btn--primary:hover {
	background: var(--blue-hover);
	color: var(--white);
}

.btn--soft {
	background: var(--blue-soft);
	color: var(--white);
}

.btn--soft:hover {
	background: var(--blue-soft-hover);
	color: var(--white);
}

.btn--outline {
	background: var(--white);
	color: var(--blue);
	box-shadow: inset 0 0 0 1px var(--blue);
}

.btn--lg {
	min-height: 57px;
	padding: 0 50px;
	font-size: 21px;
}

.btn--sm {
	min-height: 39px;
	padding: 0 22px;
	font-size: 14px;
}

.btn--block {
	width: 100%;
}

/* ==========================================================================
   5. Шапка
   ========================================================================== */

.header-stack {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	pointer-events: none;
}

.site-header,
.site-nav,
.header-stack a,
.header-stack button {
	pointer-events: auto;
}

/*
 * Шапка «Бирка» (21.09.2026): одна белая панель в две строки, квадрат логотипа
 * занимает обе строки и свисает под панель на 10px. Фон панели рисует ::before
 * у общей обёртки, а шапка и меню прозрачные: иначе меню своей подложкой
 * закрыло бы нижнюю часть квадрата.
 */
.header-stack::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: var(--header-panel);
	background: var(--white);
	box-shadow: var(--shadow-header);
}

.site-header {
	position: relative;
	z-index: 1;
	height: var(--header-bar);
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 28px;
	width: 100%;
	max-width: var(--container);
	height: 100%;
	margin: 0 auto;
	padding: 0 20px 0 var(--logo-offset);
}

/* Без flex: none логотип сжимается соседями по шапке и теряет пропорции. */
.logo {
	flex: none;
}

/* Квадрат губки в шапке. Класс .logo есть и в подвале, поэтому правила только для шапки. */
.site-header .logo {
	position: absolute;
	top: 0;
	left: 20px;
	width: var(--logo-tile);
	height: calc(var(--header-panel) + 10px);
	overflow: hidden;
	border-radius: 0 0 18px 18px;
	box-shadow: 0 10px 22px rgba(10, 99, 201, 0.28);
	transition: transform 0.25s ease;
}

.site-header .logo:hover {
	transform: translateY(3px);
}

.site-header .logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Логотип «Клинкласс» 373×130: размеры держат пропорцию 2,87, иначе иконка со шваброй плющится. */
.logo img {
	width: 166px;
	height: 58px;
	object-fit: contain;
}

.site-header__tagline {
	max-width: 210px;
	margin-right: auto;
	color: var(--ink);
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.site-header__contact {
	text-align: right;
	white-space: nowrap;
}

.site-header__phone {
	display: block;
	color: var(--ink);
	font-size: 19px;
	font-weight: 500;
	line-height: 24px;
}

.site-header__hours {
	display: block;
	color: var(--ink);
	font-size: 14px;
	font-weight: 200;
	line-height: 19px;
}

.site-header__cta {
	flex: none;
	min-height: 50px;
	padding: 0 22px;
}

.socials {
	display: flex;
	flex: none;
	gap: 5px;
}

.socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}

.socials svg {
	width: 36px;
	height: 36px;
	transition: opacity 0.2s ease;
}

.socials a:hover svg {
	opacity: 0.75;
}

.site-nav {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	max-width: var(--container);
	height: calc(var(--header-panel) - var(--header-bar));
	margin: 0 auto;
	padding: 0 20px 0 var(--logo-offset);
}

/* Тонкая линия между строками шапки, от города до правого края. */
.site-nav::before {
	content: '';
	position: absolute;
	top: 0;
	left: var(--logo-offset);
	right: 20px;
	border-top: 1px solid var(--blue-300);
}

/*
 * Меню с выпадающими панелями (05.09.2026). Пункты — пилюли, панель
 * абсолютно позиционирована от своего <li>; между пилюлей и панелью
 * невидимый мостик (::before), чтобы курсор не «ронял» меню по дороге.
 */
.site-nav__list {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	gap: 4px;
	/* Текст первого пункта встаёт по одной линии с кнопкой города. */
	margin-left: -16px;
}

.site-nav__list > li {
	position: relative;
}

/*
 * Раньше «О компании» и «Контакты» прижимались вправо (site-nav__push), и между
 * «Отзывы» и «О компании» зиял пустой промежуток. С 06.09.2026 пункты
 * распределены по всей ширине с равными зазорами, флаг push ничего не делает.
 */
.site-nav__push {
	margin-left: 0;
}

.site-nav__link,
.site-nav__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 33px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--radius-pill);
	background: none;
	color: var(--ink);
	font-family: var(--font-text);
	font-size: 16px;
	font-weight: 300;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav__link:hover,
.site-nav__btn:hover,
.site-nav__btn[aria-expanded='true'] {
	background: var(--blue-050);
	color: var(--blue);
}

.site-nav__link:focus-visible,
.site-nav__btn:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

.site-nav__chev {
	width: 12px;
	height: 12px;
	transition: transform 0.2s ease;
}

.site-nav__btn[aria-expanded='true'] .site-nav__chev {
	transform: rotate(180deg);
}

.navmenu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 5;
	display: grid;
	gap: 28px;
	padding: 26px 28px 28px;
	background: var(--white);
	border-radius: var(--radius-soft);
	box-shadow: 0 18px 50px rgba(0, 11, 48, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

/* На невысоких экранах панель не должна уходить под низ окна. */
.navmenu {
	max-height: calc(100vh - var(--header-total) - 24px);
	overflow-y: auto;
}

.navmenu::before {
	content: '';
	position: absolute;
	top: -14px;
	left: 0;
	right: 0;
	height: 14px;
}

.has-menu.is-open > .navmenu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.navmenu--flats {
	grid-template-columns: repeat(4, 236px);
	gap: 20px;
	width: 1056px;
	padding-top: 20px;
	padding-bottom: 20px;
}

/* В панели квартир до 12 пунктов в колонке: пункты плотнее, чтобы влезть в экран 900px без прокрутки. */
.navmenu--flats .navmenu__item {
	padding: 6px 12px 7px;
	gap: 1px;
}

.navmenu--flats .navmenu__item b {
	font-size: 15px;
}

.navmenu--flats .navmenu__title {
	margin-bottom: 4px;
}

.navmenu--biz {
	grid-template-columns: 270px 300px 250px;
	gap: 20px;
	width: 936px;
}

.navmenu--dry {
	grid-template-columns: 250px;
	width: 306px;
}

.navmenu__group {
	display: grid;
	gap: 4px;
	align-content: start;
}

.navmenu__title {
	margin-bottom: 8px;
	padding-left: 12px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.navmenu__item {
	display: grid;
	gap: 2px;
	padding: 9px 12px 10px;
	border-radius: var(--radius-row);
	line-height: 1.3;
	transition: background-color 0.15s ease;
}

.navmenu__item:hover {
	background: var(--blue-050);
}

.navmenu__item b {
	color: var(--ink);
	font-size: 16px;
	font-weight: 400;
}

.navmenu__item:hover b {
	color: var(--blue);
}

.navmenu__item small {
	color: var(--muted);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.navmenu__note {
	margin: 0;
	padding: 10px 12px 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.4;
}

.navmenu__aside {
	display: grid;
	gap: 14px;
	align-content: start;
	padding: 22px 22px 24px;
	background: var(--blue-050);
	border-radius: var(--radius-row);
}

.navmenu__aside h3 {
	margin: 0;
	font-family: var(--font-head);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	text-wrap: balance;
}

.navmenu__aside p {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
}

.navmenu__aside ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	font-size: 14px;
	list-style: none;
}

.navmenu__aside li {
	display: flex;
	gap: 8px;
	align-items: baseline;
}

.navmenu__aside li::before {
	content: '';
	flex: none;
	width: 6px;
	height: 6px;
	background: var(--blue);
	border-radius: 50%;
	transform: translateY(-2px);
}

.navmenu__aside .btn {
	justify-self: start;
	min-height: 44px;
	padding: 0 22px;
	font-size: 16px;
	white-space: nowrap;
}

.burger {
	display: none;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 13px 5px;
	background: none;
	border: 0;
}

.burger span {
	display: block;
	height: 2px;
	margin: 3px 0;
	background: var(--blue);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
	transform: translateY(5px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
	opacity: 0;
}

.burger.is-open span:nth-child(3) {
	transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
	position: fixed;
	top: var(--header-bar);
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 24px 20px 40px;
	overflow-y: auto;
	background: var(--white);
}

.mobile-menu__list {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-bottom: 10px;
}

.mobile-menu__link,
.mobile-menu__group summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	border-bottom: 1px solid var(--blue-050);
	color: var(--ink);
	font-size: 19px;
	list-style: none;
	cursor: pointer;
}

.mobile-menu__group summary::-webkit-details-marker {
	display: none;
}

.mobile-menu__group summary .site-nav__chev {
	width: 14px;
	height: 14px;
}

.mobile-menu__group[open] summary .site-nav__chev {
	transform: rotate(180deg);
}

.mobile-menu__panel {
	display: grid;
	gap: 2px;
	padding: 6px 0 14px;
	border-bottom: 1px solid var(--blue-050);
}

.mobile-menu__panel .navmenu__title {
	padding-top: 8px;
}

.mobile-menu__hours {
	color: var(--muted);
	font-size: 15px;
	font-weight: 200;
}

.mobile-menu .btn {
	width: 100%;
}

/* --------------------------------------------------------- выбор города */

/*
 * Список городов лежит в HTML целиком, на <details>: он краулится, работает
 * без JavaScript и растёт вместе со справочником cities — при десятке городов
 * список просто прокручивается внутри поповера.
 */
.citysel {
	position: relative;
	flex: none;
}

.citysel > summary {
	list-style: none;
}

.citysel > summary::-webkit-details-marker {
	display: none;
}

.citysel__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 14px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 300;
	line-height: 20px;
	white-space: nowrap;
	cursor: pointer;
	background: var(--blue-050);
	border-radius: var(--radius-pill);
	transition: background 0.2s ease;
}

.citysel__btn:hover {
	background: var(--blue-300);
}

.citysel__pin {
	flex: none;
	color: var(--blue);
}

.citysel__chev {
	width: 7px;
	height: 7px;
	margin-left: 2px;
	border-right: 2px solid var(--gray);
	border-bottom: 2px solid var(--gray);
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s ease;
}

.citysel[open] .citysel__chev {
	transform: translateY(2px) rotate(-135deg);
}

.citysel__pop {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 5;
	min-width: 268px;
	padding: 18px 20px 16px;
	background: var(--white);
	border-radius: var(--radius-soft);
	box-shadow: var(--shadow-modal);
}

.citysel__title {
	margin-bottom: 8px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 300;
	line-height: 18px;
}

.citysel__list {
	display: flex;
	flex-direction: column;
	max-height: min(58vh, 420px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.citysel__item {
	display: block;
	padding: 10px 0;
	color: var(--ink);
	font-size: 16px;
	font-weight: 300;
	line-height: 22px;
	white-space: nowrap;
}

.citysel__item:hover {
	color: var(--blue);
}

.citysel__item.is-current {
	color: var(--blue);
	font-weight: 500;
}

.citysel__note {
	margin-top: 10px;
	padding-top: 12px;
	border-top: 1px solid var(--blue-300);
	color: var(--muted);
	font-size: 14px;
	font-weight: 200;
	line-height: 18px;
	white-space: normal;
}

/* Шапка на планшете и телефоне: город остаётся видимым, логотип его не отжимает. */
@media (max-width: 960px) {
	.site-header__inner .logo {
		margin-right: 0;
	}

	.citysel {
		margin-right: auto;
	}

	.citysel__btn {
		min-height: 44px;
		padding: 0 12px;
		font-size: 14px;
	}
}

/*
 * На телефоне в 62-пиксельную шапку помещаются логотип, город и бургер.
 * Соцсети переезжают в мобильное меню — иначе они выдавливают логотип за край.
 */
@media (max-width: 600px) {
	.site-header .socials {
		display: none;
	}

	.site-header__inner {
		gap: 10px;
		padding: 0 14px 0 calc(14px + var(--logo-tile) + 10px);
	}

	.site-header .logo {
		left: 14px;
	}
}

/* Соцсети внутри мобильного меню. */
.mobile-menu .socials {
	gap: 10px;
	margin-top: 4px;
}

.mobile-menu .socials svg {
	width: 40px;
	height: 40px;
}

/* На телефоне поповер шире кнопки — раскрываем его во всю ширину экрана. */
@media (max-width: 640px) {
	.citysel__pop {
		position: fixed;
		top: calc(var(--header-bar) + 8px);
		right: 12px;
		left: 12px;
		min-width: 0;
	}

	.citysel__item {
		padding: 12px 0;
	}
}

/* ==========================================================================
   6. Первый экран
   ========================================================================== */

.hero {
	background: var(--grad-hero);
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 665px 1fr;
	gap: 80px;
	padding-top: 204px;
	padding-bottom: 53px;
}

.hero__title {
	font-size: 42px;
	line-height: 50px;
}

.hero__title span {
	display: block;
	color: var(--blue);
}

.hero__lead {
	max-width: 620px;
	margin-top: 18px;
	font-size: 19px;
	font-weight: 200;
	line-height: 25px;
}

.hero__features {
	display: grid;
	gap: 13px;
	margin-top: 29px;
}

.hero__features li {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	font-size: 19px;
	font-weight: 200;
	line-height: 25px;
}

.hero__bullet {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 4px;
}

.hero__inner > .btn,
.hero__text > .btn {
	margin-top: 32px;
}

.hero__visual {
	position: relative;
	width: 443px;
	height: 477px;
	margin-top: -7px;
}

.hero__visual::before {
	content: '';
	position: absolute;
	left: 0;
	top: 43px;
	width: 339px;
	height: 434px;
	background: var(--white);
	border-radius: 80px 80px 8px 80px;
}

.hero__photo {
	position: absolute;
	left: 45px;
	top: 0;
	width: 339px;
	height: 434px;
	object-fit: cover;
	border-radius: 8px 80px 80px 80px;
}

.hero__star {
	position: absolute;
	left: 279px;
	top: -19px;
	width: 144px;
	height: 144px;
}

.hero__sparkle {
	position: absolute;
	left: -41px;
	top: -13px;
	width: 52px;
	height: 52px;
}

.hero__outline {
	position: absolute;
	left: 553px;
	bottom: 48px;
	width: 184px;
	height: 184px;
	pointer-events: none;
}

/* ==========================================================================
   7. Услуги
   ========================================================================== */

.services {
	background: var(--white);
}

.tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 28px 0 24px;
}

.tabs__tab {
	min-height: 58px;
	padding: 0 34px;
	background: var(--blue-050);
	border: 0;
	border-radius: var(--radius-pill);
	color: var(--ink);
	font-family: var(--font-text);
	font-size: 22px;
	transition: background-color 0.2s ease;
}

.tabs__tab:hover {
	background: #e7f3ff;
}

.tabs__tab[aria-selected='true'] {
	background: var(--blue-300);
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.service-card {
	display: flex;
	flex-direction: column;
	background: var(--card);
	border-radius: var(--radius-card);
	overflow: hidden;
}

.service-card__image {
	width: 100%;
	height: 259px;
	object-fit: cover;
	border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.service-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 21px 24px 20px;
}

.service-card__title {
	font-size: 19px;
	line-height: 25px;
	font-weight: 400;
	font-family: var(--font-text);
}

.service-card__price {
	margin-top: 14px;
	color: var(--blue);
	font-size: 19px;
	font-weight: 700;
	line-height: 25px;
}

.service-card__actions {
	display: flex;
	gap: 6px;
	margin-top: auto;
	padding-top: 9px;
}

.extra-services {
	margin-top: 39px;
	padding: 40px 54px;
	background: var(--blue-050);
	border-radius: var(--radius-card);
}

.extra-services__title {
	font-size: 42px;
	line-height: 50px;
}

.extra-services__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(4, auto);
	grid-auto-flow: column;
	gap: 11px 30px;
	margin-top: 31px;
}

.extra-services__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 18px;
	line-height: 24px;
}

.extra-services__arrow {
	flex: none;
	width: 23px;
	height: 15px;
	margin-top: 5px;
}

/* ==========================================================================
   8. О нас и расчёт по фото
   ========================================================================== */

.about {
	position: relative;
	padding: 53px 0 58px;
	background: var(--white);
}

.about__bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 728px;
	background: var(--grad-blue);
}

.about__inner {
	position: relative;
}

.about__inner > .section-title {
	max-width: 810px;
}

.about__body {
	display: grid;
	grid-template-columns: 356px 1fr;
	margin-top: 39px;
}

.about__figure {
	position: relative;
	padding-top: 53px;
}

.about__figure img {
	width: 297px;
	height: 297px;
	object-fit: cover;
	border-radius: 125px 8px 125px 125px;
}

.about__star {
	position: absolute;
	left: -16px;
	top: 21px;
	width: 119px;
	height: 119px;
}

.about__sparkle {
	position: absolute;
	left: 245px;
	top: 340px;
	width: 52px;
	height: 52px;
}

.advantages {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 22px;
}

.advantage {
	padding: 25px 24px 24px;
	background: var(--white);
	border-radius: var(--radius-soft);
}

.advantage__title {
	font-family: var(--font-text);
	font-size: 19px;
	font-weight: 400;
	line-height: 25px;
}

.advantage__text {
	margin-top: 6px;
	font-size: 17px;
	font-weight: 200;
	line-height: 22px;
}

.calc {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 20px;
	margin-top: 57px;
	padding: 41px 71px 35px;
	background: var(--white);
	border-radius: var(--radius-card);
}

.calc__title {
	max-width: 570px;
}

.calc__title span {
	display: block;
}

.calc__lead {
	max-width: 470px;
	margin-top: 30px;
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.calc__text > .btn {
	margin-top: 30px;
}

.calc__figure {
	position: relative;
}

.calc__figure img {
	position: absolute;
	right: -49px;
	top: -16px;
	width: 331px;
	height: 348px;
	object-fit: contain;
}

.calc__star {
	position: absolute;
	right: 224px;
	top: -3px;
	width: 119px;
	height: 119px;
}

.calc__sparkle {
	position: absolute;
	right: 343px;
	top: 106px;
	width: 52px;
	height: 52px;
}

.consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 30px;
	font-size: 13px;
	font-weight: 200;
	line-height: 17px;
}

.consent__icon {
	flex: none;
	width: 24px;
	height: 24px;
	margin-top: -3px;
}

/* ==========================================================================
   9. Сотрудники
   ========================================================================== */

.staff-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 41px;
}

.staff-card {
	display: flex;
	flex-direction: column;
	background: var(--card);
	border-radius: var(--radius-card);
	overflow: hidden;
}

.staff-card__media {
	position: relative;
}

.staff-card__media img {
	width: 100%;
	height: 259px;
	object-fit: cover;
	border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.staff-card__rating {
	position: absolute;
	left: 18px;
	top: 16px;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: var(--radius-pill);
	font-size: 16px;
	line-height: 20px;
}

.staff-card__rating svg {
	width: 17px;
	height: 15px;
}

.staff-card__body {
	padding: 21px 24px 20px;
}

.staff-card__name {
	font-family: var(--font-text);
	font-size: 19px;
	font-weight: 400;
	line-height: 25px;
}

.staff-card__role {
	color: var(--muted);
	font-size: 13px;
	font-weight: 200;
	line-height: 17px;
}

.staff-card__experience {
	margin-top: 9px;
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

/* ==========================================================================
   10. Как заказать
   ========================================================================== */

.steps {
	background: var(--blue-050);
}

.steps-list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 47px;
}

.steps-list::before {
	content: '';
	position: absolute;
	left: -30px;
	right: -30px;
	top: 23px;
	border-top: 2px dashed var(--blue-line);
}

.step {
	position: relative;
	padding-top: 88px;
}

.step__number {
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--blue);
	border-radius: 50%;
	color: var(--white);
	font-family: var(--font-text);
	font-size: 30px;
	line-height: 1;
}

.step__title {
	font-family: var(--font-text);
	font-size: 19px;
	font-weight: 400;
	line-height: 25px;
}

.step__text {
	max-width: 267px;
	margin-top: 14px;
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.step__phone {
	display: block;
	margin-top: 6px;
	font-size: 19px;
	font-weight: 400;
}

.steps__action {
	margin-top: 45px;
	text-align: center;
}

/* ==========================================================================
   11. Отзывы
   ========================================================================== */

.reviews {
	padding-bottom: 55px;
	background: var(--white);
}

.reviews__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}

.reviews__more {
	flex: none;
	color: var(--blue);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.reviews__more:hover {
	text-decoration: underline;
}

.review__tag {
	display: inline-block;
	align-self: flex-start;
	margin-top: 12px;
	padding: 4px 10px;
	border-radius: 9px;
	background: var(--blue-050);
	color: var(--blue-600);
	font-size: 13px;
}

.review__stars svg.is-off {
	opacity: 0.25;
}

.review__scan {
	appearance: none;
	width: 100%;
	font: inherit;
	text-align: left;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding: 8px 10px;
	border: 1px solid #e3edf8;
	border-radius: 12px;
	background: #fafbfd;
	color: var(--ink);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.review__scan img {
	flex: none;
	width: 36px;
	height: 50px;
	border: 1px solid #e8ebf1;
	border-radius: 6px;
	object-fit: cover;
	object-position: top;
}

.review__scan small {
	display: block;
	color: var(--muted);
	font-weight: 200;
	font-size: 12px;
}

.review__scan:hover {
	border-color: var(--blue-line);
}

.review__text + .review__scan {
	margin-top: 14px;
}

.reviews__lead {
	max-width: 720px;
	margin-top: 22px;
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.slider {
	margin-top: 24px;
}

/* Лист на бланке, привязанный к этой услуге: карточка над каруселью */
.review-feat {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px;
	margin-top: 28px;
	padding: 24px;
	background: var(--white);
	border-radius: var(--radius-soft);
	box-shadow: var(--shadow-card);
}

.review-feat__pic {
	appearance: none;
	width: 100%;
	padding: 0;
	cursor: pointer;
	position: relative;
	display: block;
	align-self: start;
	border: 1px solid #e3edf8;
	border-radius: 14px;
	overflow: hidden;
	background: var(--blue-050);
	transform: rotate(-1.5deg);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-feat__pic img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 300 / 420;
	object-fit: cover;
	object-position: top;
}

.review-feat__pic:hover,
.review-feat__pic:focus-visible {
	transform: rotate(0deg);
	box-shadow: var(--shadow-card);
}

.review-feat__pic:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

.review-feat__zoom {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.92);
	color: var(--blue);
	font-size: 13px;
	font-weight: 500;
	box-shadow: 0 2px 8px rgba(4, 67, 185, 0.12);
}

.review-feat__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.review-feat__kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	padding: 5px 12px;
	border-radius: var(--radius-pill);
	background: var(--blue-050);
	color: var(--blue);
	font-size: 13px;
	font-weight: 500;
}

.review-feat__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-top: 14px;
}

.review-feat__head .review__stars {
	flex: none;
	margin-top: 4px;
}

.review-feat__text {
	margin-top: 12px;
	font-size: 17px;
	line-height: 24px;
}

.review-feat__ver {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 16px;
	padding: 10px 14px;
	border-radius: 12px;
	background: #f4f8ff;
	color: var(--muted);
	font-size: 13px;
	line-height: 18px;
}

.review-feat__ver svg {
	flex: none;
	margin-top: 1px;
	color: #1f9d55;
}

.review-feat__more {
	appearance: none;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 44px;
	margin-top: 6px;
	color: var(--blue);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}

.review-feat__more:hover {
	text-decoration: underline;
}

@media (max-width: 760px) {
	.review-feat {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		padding: 18px;
	}

	.review-feat__pic {
		width: min(60%, 200px);
		margin: 4px auto 0;
		transform: rotate(-1deg);
	}

	.review-feat__head {
		flex-direction: column;
		gap: 6px;
	}

	.review-feat__text {
		font-size: 16px;
		line-height: 22px;
	}
}

.slider__track {
	display: flex;
	gap: 17px;
	padding: 16px max(20px, calc((100% - var(--container)) / 2 + 20px)) 27px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-left: max(20px, calc((100% - var(--container)) / 2 + 20px));
	scrollbar-width: none;
}

.slider__track::-webkit-scrollbar {
	display: none;
}

.review {
	display: flex;
	flex: none;
	flex-direction: column;
	width: 384px;
	padding: 24px;
	background: var(--white);
	border-radius: var(--radius-soft);
	box-shadow: var(--shadow-card);
	scroll-snap-align: start;
}

.review__head {
	display: flex;
	align-items: center;
	gap: 17px;
}

.review__avatar {
	flex: none;
	width: 46px;
	height: 46px;
}

.review__avatar--i {
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--white);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 17px;
}

.review__name {
	font-size: 19px;
	font-weight: 500;
	line-height: 25px;
}

.review__city {
	color: var(--gray);
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.review__stars {
	display: flex;
	gap: 6px;
	margin-top: 26px;
}

.review__stars svg {
	width: 17px;
	height: 15px;
}

.review__text {
	margin-top: 8px;
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.slider__nav {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-top: 15px;
}

.slider__btn {
	padding: 0;
	background: none;
	border: 0;
	transition: opacity 0.2s ease;
}

.slider__btn svg {
	width: 52px;
	height: 52px;
}

.slider__btn:disabled {
	opacity: 0.4;
	cursor: default;
}

.slider__btn:not(:disabled):hover svg rect {
	fill: var(--blue);
}

/* ==========================================================================
   12. Результаты работ
   ========================================================================== */

.cases {
	background: var(--blue-050);
}

.cases-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 17px;
	margin-top: 41px;
}

.case-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border-radius: var(--radius-card);
	overflow: hidden;
}

.case-card__image {
	width: 100%;
	height: 259px;
	object-fit: cover;
	border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.case-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 21px 21px 20px;
}

.case-card__title {
	font-family: var(--font-text);
	font-size: 19px;
	font-weight: 400;
	line-height: 25px;
}

.case-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-top: auto;
	padding-top: 28px;
}

.case-card__meta li {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 19px;
	font-weight: 200;
	line-height: 25px;
	white-space: nowrap;
}

.case-card__meta svg {
	flex: none;
	width: 24px;
	height: 24px;
}

.cases__action {
	margin-top: 42px;
	text-align: center;
}

/* ==========================================================================
   13. Вопрос-ответ
   ========================================================================== */

.faq {
	background: var(--grad-faq);
}

.faq__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 346px;
	gap: 22px;
	align-items: start;
	margin-top: 32px;
}

/* Без карточки контактов аккордеон занимает всю ширину секции. */
.faq__body:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }

/* На широком экране один столбец вопросов даёт полупустые плашки в 1188 px. */
@media (min-width: 961px) {
	.faq__body:has(> :only-child) .accordion {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
		column-gap: 18px;
	}
}

.accordion {
	display: grid;
	gap: 11px;
}

.accordion__item {
	background: var(--white);
	border-radius: var(--radius-row);
}

.accordion__heading {
	margin: 0;
	font: inherit;
}

.accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	padding: 21px 24px;
	background: none;
	border: 0;
	text-align: left;
	font-family: var(--font-text);
	font-size: 19px;
	line-height: 25px;
	color: var(--ink);
}

.accordion__icon {
	position: relative;
	flex: none;
	width: 14px;
	height: 14px;
}

.accordion__icon::before,
.accordion__icon::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	background: var(--blue-soft);
	transform: translate(-50%, -50%);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.accordion__icon::before {
	width: 14px;
	height: 2px;
}

.accordion__icon::after {
	width: 2px;
	height: 14px;
}

.accordion__item.is-open .accordion__icon::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__panel {
	padding: 0 24px 22px;
	color: var(--muted);
	font-size: 16px;
	font-weight: 300;
	line-height: 22px;
}

.contact-card {
	padding: 29px 24px 24px;
	background: var(--white);
	border-radius: var(--radius-soft);
}

.contact-card__title {
	font-size: 25px;
	line-height: 30px;
}

.contact-card__lead {
	margin-top: 13px;
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.messenger {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 16px;
	padding: 12px 20px;
	background: var(--blue-050);
	border-radius: var(--radius-row);
	color: var(--ink);
	font-size: 18px;
	line-height: 24px;
	transition: background-color 0.2s ease;
}

.messenger:hover {
	background: #e7f3ff;
	color: var(--ink);
}

.messenger svg {
	flex: none;
	width: 31px;
	height: 31px;
}

.contact-card__or {
	margin-top: 24px;
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.contact-card > .btn {
	margin-top: 12px;
	min-height: 53px;
}

.contact-card .consent {
	margin-top: 26px;
}

/* ==========================================================================
   14. Контакты и подвал
   ========================================================================== */

.site-footer {
	padding: 53px 0 83px;
	background: var(--grad-footer);
	color: var(--white);
}

.contacts {
	display: grid;
	grid-template-columns: 1fr 684px;
	gap: 30px;
	align-items: start;
}

.contacts--nomap { grid-template-columns: minmax(0, 1fr); }

.contacts__title {
	color: var(--white);
}

.contacts__hours {
	margin-top: 10px;
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.contacts__list {
	margin-top: 30px;
}

.contacts__list dt {
	margin-top: 32px;
	color: var(--blue-400);
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.contacts__list dt:first-child {
	margin-top: 0;
}

.contacts__list dd {
	margin-top: 10px;
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.contacts__list a {
	color: var(--white);
}

.contacts__list a:hover {
	color: var(--blue-300);
}

.contacts__map {
	margin-top: 120px;
	border-radius: var(--radius-soft);
	overflow: hidden;
}

.contacts__map iframe {
	width: 100%;
	height: 423px;
	border: 0;
}

/* Города работы: сквозная строка в подвале — вход в городские разделы с любой страницы. */
.site-footer__cities {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 20px;
	margin-top: 41px;
	padding-top: 30px;
	border-top: 2px solid rgba(255, 255, 255, 0.25);
}

.site-footer__cities-label {
	color: rgba(255, 255, 255, 0.65);
	font-size: 14px;
	font-weight: 200;
	line-height: 20px;
}

.site-footer__cities ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.site-footer__cities a {
	color: var(--white);
	font-size: 15px;
	font-weight: 300;
	line-height: 20px;
}

.site-footer__cities a:hover {
	color: var(--blue-300);
}

/* Строка городов уже отбила подвал линией — второй раз её не рисуем. */
.site-footer__cities + .site-footer__bottom {
	margin-top: 30px;
	padding-top: 0;
	border-top: 0;
}

.site-footer__bottom {
	display: grid;
	grid-template-columns: 319px 202px 196px 253px 1fr;
	align-items: start;
	margin-top: 41px;
	padding-top: 50px;
	border-top: 2px solid rgba(255, 255, 255, 0.25);
}

.site-footer__brand .logo {
	display: block;
}

.site-footer__brand .logo img {
	width: 140px;
	height: 78px;
}

.site-footer__tagline {
	margin-top: 23px;
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

/* Абзац о компании под слоганом: мелко, чтобы не спорить с меню подвала. */
.site-footer__about {
	margin-top: 14px;
	max-width: 300px;
	font-size: 13px;
	font-weight: 200;
	line-height: 18px;
	opacity: 0.85;
}

.site-footer__nav {
	display: contents;
}

.site-footer__nav ul {
	display: grid;
	gap: 13px;
}

.site-footer__nav a {
	display: block;
	color: var(--white);
	font-size: 16px;
	font-weight: 200;
	line-height: 19px;
}

.site-footer__nav a:hover {
	color: var(--blue-300);
}

.site-footer__phone {
	display: block;
	color: var(--white);
	font-size: 18px;
	font-weight: 500;
	line-height: 22px;
}

.site-footer__email {
	display: block;
	margin-top: 6px;
	color: var(--white);
	font-size: 16px;
	font-weight: 200;
	line-height: 19px;
}

.site-footer__email:hover {
	color: var(--blue-300);
}

.site-footer__hours {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 200;
	line-height: 19px;
}

.site-footer__action {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.site-footer__action .btn {
	padding: 0 22px;
}

.site-footer__links {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	align-self: flex-end;
	margin-top: 40px;
}

.site-footer__policy {
	text-align: right;
	color: var(--white);
	font-size: 13px;
	font-weight: 200;
	line-height: 17px;
	opacity: 0.85;
}

.site-footer__policy:hover {
	color: var(--blue-300);
}

/* ==========================================================================
   15. Модальные окна и форма
   ========================================================================== */

.modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
}

.modal__overlay {
	position: fixed;
	inset: 0;
	background: rgba(40, 40, 40, 0.7);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.modal.is-open .modal__overlay {
	opacity: 1;
}

.modal__dialog {
	position: relative;
	width: 100%;
	max-width: 1188px;
	margin: auto;
	padding: 60px;
	background: var(--grad-popup);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-modal);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal.is-open .modal__dialog {
	opacity: 1;
	transform: none;
}

.modal__close {
	position: absolute;
	right: 26px;
	top: 26px;
	width: 28px;
	height: 28px;
	padding: 0;
	background: var(--white);
	border: 0;
	border-radius: 50%;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.modal__close::before,
.modal__close::after {
	content: '';
	position: absolute;
	left: 7px;
	top: 13px;
	width: 14px;
	height: 2px;
	background: var(--blue-soft);
	border-radius: 2px;
}

.modal__close::before {
	transform: rotate(45deg);
}

.modal__close::after {
	transform: rotate(-45deg);
}

.modal__close:hover {
	opacity: 1;
}

.modal__title {
	max-width: 900px;
	color: var(--blue);
	font-size: 25px;
	line-height: 30px;
}

.modal__text {
	margin-top: 22px;
}

.modal__text p {
	margin-top: 16px;
	font-size: 16px;
	font-weight: 200;
	line-height: 22px;
}

.modal__text p:first-child {
	margin-top: 0;
}

.modal__text .lead {
	color: var(--blue);
}

.modal__dialog--form {
	max-width: 1188px;
	padding: 60px;
}

.call {
	display: grid;
	grid-template-columns: 1fr 456px;
	gap: 40px;
	align-items: start;
}

.call__title {
	color: var(--blue);
	font-size: 25px;
	line-height: 30px;
}

/* Подстрочник под заголовком формы: что случится после отправки, свой у каждого намерения. */
.call__lead {
	margin-top: 10px;
	font-size: 15px;
	font-weight: 200;
	line-height: 21px;
}

.call__hours {
	margin-top: 14px;
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.call__phone {
	display: inline-block;
	margin-top: 6px;
	color: var(--ink);
	font-size: 19px;
	font-weight: 500;
	line-height: 24px;
}

.call__address {
	margin-top: 76px;
	font-size: 16px;
	font-weight: 200;
	line-height: 20px;
}

.call__address span {
	display: block;
	color: var(--blue);
}

/* Строка «К заявке приложим: смета 13 240 ₽ · 30 августа, 12:00». */
.lead-form__ctx {
	margin: 0 0 12px;
	padding: 10px 14px;
	border-radius: var(--radius-row);
	background: var(--blue-050);
	color: var(--ink);
	font-size: 14px;
	line-height: 1.4;
}

.lead-form__fields {
	display: grid;
	gap: 10px;
}

.lead-form__field {
	position: relative;
	display: block;
}

.lead-form__field input {
	width: 100%;
	height: 54px;
	padding: 0 20px;
	background: var(--white);
	border: 0;
	border-radius: 10px;
	color: var(--ink);
	font: 200 17px/1.3 var(--font-text);
}

.lead-form__field input::placeholder {
	color: var(--muted);
	opacity: 0.6;
}

.lead-form__field--phone input {
	padding-left: 56px;
}

.lead-form__code {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ink);
	font-size: 17px;
	font-weight: 200;
}

.lead-form__error {
	margin-top: 2px;
	color: #d8000c;
	font-size: 14px;
	font-weight: 200;
}

.lead-form .btn {
	margin-top: 14px;
	min-height: 57px;
	font-size: 19px;
}

.lead-form.is-sending .btn {
	opacity: 0.7;
}

.lead-form__note {
	margin-top: 12px;
	font-size: 13px;
	font-weight: 200;
	line-height: 17px;
}

.lead-form__success {
	padding: 30px 0;
	color: var(--blue);
	font-size: 22px;
	line-height: 30px;
	text-align: center;
}

/* ==========================================================================
   16. Текстовые страницы
   ========================================================================== */

.text-page {
	padding: 40px 0 70px;
}

.text-page__title {
	font-size: 34px;
	line-height: 42px;
}

.text-page__content {
	margin-top: 26px;
	font-size: 17px;
	font-weight: 200;
	line-height: 26px;
}

.text-page__content p {
	margin: 0 0 18px;
}

.text-page__content h2 {
	margin: 34px 0 14px;
	font-size: 22px;
	line-height: 30px;
}

.text-page__content ul,
.text-page__content ol {
	margin: 0 0 18px;
	padding-left: 22px;
	list-style: disc;
}

.text-page__content li {
	margin-bottom: 8px;
}

.text-page__teaser {
	margin-bottom: 34px;
}

/* ==========================================================================
   17. Адаптив
   ========================================================================== */

@media (max-width: 1100px) {
	.navmenu--flats {
		grid-template-columns: repeat(2, 240px);
		width: 576px;
	}

	.navmenu--biz {
		grid-template-columns: 270px 300px;
		width: 666px;
	}

	.navmenu--biz .navmenu__aside {
		display: none;
	}
}

/*
 * Меню начинается правее квадрата логотипа, и широкие панели на ноутбучных
 * экранах уходили за правый край. Сдвигаем их влево, под квадрат.
 */
@media (max-width: 1360px) {
	.navmenu--biz {
		left: -160px;
	}
}

@media (max-width: 1300px) {
	.navmenu--flats {
		left: -140px;
	}
}

/* Описание и соцсети не помещаются рядом с квадратом, телефоном и кнопкой. */
@media (max-width: 1240px) {
	.site-header__tagline {
		display: none;
	}

	.citysel {
		margin-right: auto;
	}
}

@media (max-width: 1100px) {
	.site-header .socials {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.navmenu,
	.site-nav__chev {
		transition: none;
	}
}

@media (max-width: 1240px) {
	.site-nav__link,
	.site-nav__btn {
		padding: 0 12px;
	}

	.hero__inner {
		grid-template-columns: 1fr 443px;
		gap: 40px;
	}

/* Восемь пунктов с «Блогом» на узком десктопе: пилюли компактнее, чтобы строка не переполнялась до бургера на 960px. */
@media (max-width: 1100px) {
	.site-nav__link,
	.site-nav__btn {
		padding: 0 8px;
		font-size: 15px;
	}
}

	.hero__outline {
		display: none;
	}

	.extra-services {
		padding: 40px;
	}

	.calc {
		padding: 41px 40px 35px;
	}

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

	.site-footer__bottom {
		grid-template-columns: 260px 1fr 1fr auto;
	}

	.site-footer__action {
		grid-column: 1 / -1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 20px;
		text-align: left;
	}

	.site-footer__links {
		margin-top: 0;
	}

	.modal__dialog {
		padding: 44px 40px;
	}
}

@media (max-width: 1080px) {
	.service-grid,
	.staff-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about__body {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.about__figure {
		padding-top: 0;
	}

	.about__sparkle {
		display: none;
	}

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

	.calc__figure {
		height: 360px;
	}

	.calc__figure img {
		right: auto;
		left: 0;
		top: 0;
	}

	.calc__star,
	.calc__sparkle {
		display: none;
	}

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

	.steps-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 20px;
	}

	.steps-list::before {
		display: none;
	}

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

	.call {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.call__address {
		margin-top: 20px;
	}
}

@media (max-width: 960px) {
	:root {
		--header-bar: 62px;
		--header-panel: var(--header-bar);
		--header-total: var(--header-bar);
	}

	.logo img {
		width: 126px;
		height: 44px;
	}

	:root {
		--logo-tile: 60px;
		--logo-offset: calc(20px + var(--logo-tile) + 12px);
	}

	.site-header .logo {
		height: calc(var(--header-bar) + 6px);
		border-radius: 0 0 12px 12px;
	}

	.site-header__tagline,
	.site-header__contact,
	.site-header__cta {
		display: none;
	}

	.site-header__inner {
		gap: 16px;
	}

	.site-nav {
		display: none;
	}

	.burger {
		display: block;
	}

	/* На узких экранах картинка встаёт между лидом и списком преимуществ. */
	.hero__inner {
		grid-template-columns: 1fr;
		gap: 0;
		padding-top: calc(var(--header-bar) + 34px);
	}

	.hero__text {
		display: contents;
	}

	.hero__title {
		order: 1;
	}

	.pricelead {
		order: 2;
	}

	/* Точка-разделитель на переносе повисала в конце строки одна. */
	.pricelead .sep { display: none; }

	.hero__lead {
		order: 3;
	}

	.hero__visual {
		order: 4;
		margin: 34px auto;
	}

	.hero__features {
		order: 5;
		margin-top: 0;
	}

	.hero__text > .btn {
		order: 6;
		justify-self: start;
	}

	.hero__title,
	.section-title,
	.extra-services__title {
		font-size: 34px;
		line-height: 42px;
	}

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

	.contacts__map {
		margin-top: 34px;
	}

	.contacts__map iframe {
		height: 320px;
	}

	.site-footer__bottom {
		grid-template-columns: 1fr 1fr;
		gap: 30px 20px;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	.section,
	.about {
		padding-top: 40px;
	}

	.section {
		padding-bottom: 40px;
	}

	.hero__title,
	.section-title,
	.extra-services__title {
		font-size: 28px;
		line-height: 36px;
	}

	.hero__lead,
	.hero__features li {
		font-size: 17px;
		line-height: 23px;
	}

	.hero__visual {
		width: 100%;
		max-width: 340px;
		height: 400px;
	}

	.hero__visual::before {
		left: 0;
		top: 30px;
		width: 84%;
		height: 370px;
	}

	.hero__photo {
		left: 12%;
		width: 84%;
		height: 370px;
	}

	.hero__star {
		left: auto;
		right: -10px;
		top: -14px;
		width: 104px;
		height: 104px;
	}

	.hero__sparkle {
		left: -6px;
		top: 30px;
		width: 40px;
		height: 40px;
	}

	.service-grid,
	.staff-grid,
	.steps-list {
		grid-template-columns: 1fr;
	}

	.extra-services__list {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		grid-auto-flow: row;
	}

	.tabs__tab {
		min-height: 46px;
		padding: 0 22px;
		font-size: 17px;
	}

	.extra-services {
		padding: 28px 22px;
	}

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

	.about__bg {
		height: 100%;
	}

	.about__figure img {
		width: 240px;
		height: 240px;
		border-radius: 100px 8px 100px 100px;
	}

	.about__star {
		width: 90px;
		height: 90px;
	}

	.calc {
		padding: 28px 22px;
	}

	.calc__figure {
		height: 300px;
	}

	.calc__figure img {
		width: 280px;
		height: 294px;
	}

	.review {
		width: min(84vw, 340px);
	}

	.reviews__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.contacts__list {
		margin-top: 30px;
	}

	.site-footer {
		padding-bottom: 50px;
	}

	.site-footer__bottom {
		grid-template-columns: 1fr;
	}

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

	.modal {
		padding: 12px;
	}

	.modal__dialog {
		padding: 46px 22px 28px;
	}

	.modal__title,
	.call__title,
	.contact-card__title {
		font-size: 22px;
		line-height: 28px;
	}

	.text-page__title {
		font-size: 26px;
		line-height: 34px;
	}
}

/* Ссылка на карту города — у офисов без встроенного виджета (Домодедово). */
.contacts__maplink {
	display: inline-block;
	margin-top: 6px;
	color: var(--blue);
	font-size: 15px;
}

/*
 * Плашка про cookies. Не оверлей и не полоса во всю ширину: небольшая
 * карточка слева внизу, чтобы не спорить с кнопкой чата amoCRM справа.
 * На телефоне стоит над панелью быстрых действий (74px) и оставляет
 * справа место под кнопку чата. Появляется с задержкой и плавно.
 */
.cookies {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 120;
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: min(400px, calc(100vw - 40px));
	padding: 18px 20px 20px;
	background: var(--white);
	border-radius: var(--radius-soft);
	box-shadow: 0 12px 40px rgba(0, 11, 48, 0.16);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookies.is-shown {
	opacity: 1;
	transform: none;
}

.cookies__text {
	margin: 0;
	color: var(--ink);
	font-size: 14px;
	line-height: 1.45;
}

.cookies__text b {
	font-weight: 600;
}

.cookies__text a {
	color: var(--blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookies__btn {
	align-self: flex-start;
	min-height: 44px;
	min-width: 140px;
	padding: 0 28px;
	font-size: 16px;
}

@media (max-width: 960px) {
	.cookies {
		left: 10px;
		right: 86px; /* справа кнопка чата amoCRM */
		bottom: calc(84px + env(safe-area-inset-bottom));
		width: auto;
		gap: 12px;
		padding: 14px 16px 16px;
	}

	.cookies__text {
		font-size: 13px;
	}

	.cookies__btn {
		align-self: stretch;
		min-width: 0;
	}
}

/* Пока открыто мобильное меню, плашка cookies не нужна: она ложилась поверх списка. */
body.is-locked .cookies {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.cookies {
		transition: none;
	}
}
