/* ==========================================================================
   RAPIRA / ROTEX — EXACT STYLES & RESPONSIVE SYSTEM (10 FIGMA SVG FRAMES)
   Frames: 1920, 1640, 1639, 1240, 1080, 1079, 800, 600, 599, 370
   ========================================================================== */

/* ===== 1. Variables & Base Reset ===== */
:root {
	--color-primary: #F05A00;
	--color-primary-hover: #d95000;
	--color-text: #343434;
	--color-text-secondary: #4A4A49;
	--color-muted: #666666;
	--color-subtitle-tablet: #5C5C64;
	--color-red-accent: #D71B08;
	--color-border: #EAEAEF;
	--color-border-strong: #B9BEC6;
	--color-bg-light: #F6F6F9;
	--color-bg-white: #FCFCFD;
	--color-footer-bg: #292A30;
	--color-footer-text: #C0C0C8;
	--color-btn-text: #F7F7F8;
	--color-online: #00c853;
	--color-viber: #7C509A;
	--color-telegram: #27A6E5;
	--container-width: 1920px;
}

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

html {
	scroll-behavior: smooth;
}

html,
body {
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: var(--color-bg-white);
	overflow-x: clip;
}

body {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-text);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

/* Контейнер:
   - 1920px–1640px: боковые поля 240px (рабочая область 1440px на 1920px, 1160px на 1640px)
   - 1639px–1080px: боковые поля 80px
   - 1079px–600px:  боковые поля 56px (в шапке 24px)
   - 599px–370px:   боковые поля 16px */
.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 240px;
}

.text-accent {
	color: var(--color-primary);
}

/* ===== 2. Common Typography & Buttons ===== */
.section-title {
	margin: 0 0 14px;
	font-family: 'Montserrat', sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.22;
	text-transform: uppercase;
	color: var(--color-text);
}

.section-subtitle {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-text);
}

.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 54px;
	padding: 0 32px;
	border: none;
	border-radius: 8px;
	background-color: var(--color-primary);
	color: var(--color-btn-text);
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

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

.btn-primary:active {
	transform: translateY(1px);
}

/* ===== 3. Sticky Header (1920–1080: 139/135px, bottom border #EAEAEF) ===== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: var(--color-bg-white);
	border-bottom: 1px solid var(--color-border);
	transition: box-shadow 0.25s ease;
}

body.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	body.admin-bar .site-header {
		top: 0;
	}
}

.site-header.is-scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 0;
	transition: padding 0.25s ease;
}

.site-header.is-scrolled .header-top {
	padding: 12px 0;
}

.header-brand {
	display: flex;
	align-items: center;
	gap: 14px;
}

.header-logo img {
	display: block;
	height: 36px;
	width: auto;
}

.header-logo__text {
	font-family: 'Montserrat', sans-serif;
	font-size: 28px;
	font-weight: 800;
	font-style: italic;
	text-decoration: none;
	color: var(--color-text-secondary);
	letter-spacing: 0.03em;
}

.header-descriptor {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--color-muted);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 28px;
}

.header-messengers {
	display: flex;
	align-items: center;
	gap: 12px;
}

.header-messengers__label {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--color-text);
}

.header-messengers__links {
	display: flex;
	align-items: center;
	gap: 8px;
}

.messenger-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	color: var(--color-btn-text);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.messenger-btn:hover {
	transform: translateY(-2px);
	opacity: 0.92;
}

.messenger-btn--viber {
	background-color: var(--color-viber);
}

.messenger-btn--telegram {
	background-color: var(--color-telegram);
}

.header-contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.header-phone {
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--color-text);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.header-phone:hover {
	color: var(--color-primary);
}

.header-schedule {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-size: 14px;
	color: var(--color-text);
}

.header-schedule__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: var(--color-online);
}

.header-cta {
	min-width: 213px;
}

.header-lang {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.header-lang__item {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: var(--color-muted);
	font-weight: 500;
	transition: color 0.2s ease;
}

.header-lang__item.is-active,
.header-lang__item:hover {
	color: var(--color-text);
	font-weight: 700;
}

.header-lang__sep {
	width: 2px;
	height: 35px;
	background-color: var(--color-border-strong);
}

/* Затемнение страницы при открытом бургер-меню (#292A30, opacity 0.8) */
.header-backdrop {
	position: fixed;
	inset: 0;
	z-index: 990;
	background-color: rgba(41, 42, 48, 0.8);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.header-backdrop.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Бургер-кнопка и мобильный блок (скрыты на > 1079px) */
.header-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6.5px;
	width: 48px;
	height: 48px;
	padding: 0;
	border: none;
	border-radius: 8px;
	background-color: transparent;
	cursor: pointer;
	flex-shrink: 0;
}

.header-burger span {
	display: block;
	width: 24px;
	height: 1.5px;
	border-radius: 2px;
	background-color: var(--color-text);
	transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease;
}

.header-burger.is-active span:nth-child(1) {
	width: 22px;
	transform: translateY(8px) rotate(45deg);
}

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

.header-burger.is-active span:nth-child(3) {
	width: 22px;
	transform: translateY(-8px) rotate(-45deg);
}

.header-mobile-lang,
.header-mobile-controls {
	display: none;
}

.header-bottom {
	display: grid;
	grid-template-rows: 1fr;
	opacity: 1;
	transition: grid-template-rows 0.28s ease, opacity 0.2s ease;
}

.header-bottom__inner {
	overflow: hidden;
}

.site-header.is-scrolled .header-bottom {
	grid-template-rows: 0fr;
	opacity: 0;
	pointer-events: none;
}

.header-nav {
	padding: 12px 0 18px;
}

.header-nav__list {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header-nav__list a {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.header-nav__list a:hover {
	color: var(--color-primary);
}

/* ===== 4. Hero Section (1920–1080: height 75vh, min 600px, max 720px) ===== */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	height: 75vh;
	min-height: 600px;
	max-height: 720px;
	background-color: var(--color-bg-white);
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	top: 0;
	right: 0;
	left: auto;
	width: 984px;
	max-width: none;
	height: 100%;
	z-index: 1;
}

.hero__bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 15% center;
}

.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		#FCFCFD 0%,
		rgba(252, 252, 253, 0.88) 16%,
		rgba(252, 252, 253, 0) 48%
	);
}

.hero .container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.hero__content {
	max-width: 660px;
	padding: 56px 0;
}

.hero__title {
	margin: 0 0 16px;
	font-family: 'Montserrat', sans-serif;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.18;
	text-transform: uppercase;
	color: var(--color-text);
}

.hero__subtitle {
	margin: 0 0 32px;
	font-family: 'Roboto', sans-serif;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--color-text);
}

.hero__brand {
	margin-bottom: 40px;
}

.hero__brand-text {
	margin: 0 0 14px;
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--color-muted);
}

.hero__brand-text strong {
	font-weight: 500;
	color: var(--color-text);
}

.hero__brand-logo {
	display: block;
	width: 220px;
	height: auto;
}

.hero__btn {
	min-width: 225px;
	height: 64px;
	padding: 0 36px;
	font-size: 18px;
	font-weight: 500;
}

/* ===== 5. Benefits / Stats Strip (1920–1080: height 323px, 2px #B9BEC6 dividers) ===== */
.benefits {
	padding: 60px 0;
	background-color: var(--color-bg-white);
}

.benefits__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.benefits__item {
	padding: 12px 28px;
	text-align: center;
	border-right: 2px solid var(--color-border-strong);
}

.benefits__item:last-child {
	border-right: none;
}

.benefits__value {
	margin-bottom: 8px;
	font-family: 'Montserrat', sans-serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--color-text-secondary);
}

.benefits__label {
	margin-bottom: 12px;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-red-accent);
}

.benefits__desc {
	max-width: 265px;
	margin: 0 auto;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	color: rgba(52, 52, 52, 1);
}

/* ===== 6. Catalog Section (Block_1_catalog.php) ===== */
.catalog {
	padding: 90px 0 95px;
	background-color: var(--color-bg-white);
}

.catalog__header {
	max-width: 560px;
	margin-bottom: 44px;
}

.catalog__header .section-subtitle {
	font-size: 16px;
}

.catalog-tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-bottom: 2px solid var(--color-border-strong);
	margin-bottom: 52px;
}

.catalog-tabs__btn {
	position: relative;
	height: 56px;
	padding: 0 12px;
	border: none;
	background: none;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	text-transform: uppercase;
	color: var(--color-text);
	cursor: pointer;
	transition: color 0.2s ease;
}

.catalog-tabs__btn:hover,
.catalog-tabs__btn.is-active {
	color: var(--color-primary);
	font-weight: 700;
}

.catalog-tabs__btn.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 4px;
	background-color: var(--color-primary);
}

.catalog-panel {
	animation: catalogFadeIn 0.28s ease;
}

.catalog-panel[hidden] {
	display: none;
}

@keyframes catalogFadeIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.catalog-panel__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center;
	gap: 48px;
}

.catalog-panel__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	padding: 16px;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background-color: #FFFFFF;
	overflow: hidden;
}

.catalog-panel__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.catalog-panel__title {
	margin: 0 0 16px;
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-text);
}

.catalog-panel__desc {
	margin: 0 0 26px;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(52, 52, 52, 1);
}

.catalog-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.catalog-specs__item {
	min-height: 70px;
	padding: 14px 18px;
	border-radius: 8px;
	background-color: var(--color-bg-light);
}

.catalog-specs__label {
	display: block;
	margin-bottom: 5px;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.catalog-specs__value {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
}

.catalog-palette {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 84px;
	padding: 16px 20px;
	margin-bottom: 28px;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background-color: var(--color-bg-white);
}

.catalog-palette__title {
	margin-bottom: 5px;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--color-text);
}

.catalog-palette__desc {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--color-muted);
}

.catalog-palette__swatches {
	display: grid;
	grid-template-columns: repeat(3, 24px);
	gap: 6px;
	flex-shrink: 0;
}

.palette-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
}

.palette-dot--more {
	border: 1px dashed var(--color-border-strong);
	background-color: var(--color-bg-light);
	font-size: 11px;
	font-weight: 700;
	color: var(--color-muted);
}

.catalog-panel__btn {
	min-width: 227px;
	height: 54px;
	padding: 0 32px;
}

/* ===== Floating Scroll-to-Top Button (60x60px, #F05A00) ===== */
.scroll-top {
	position: fixed;
	right: 32px;
	bottom: 32px;
	z-index: 950;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border: none;
	border-radius: 50%;
	background-color: var(--color-primary);
	color: var(--color-btn-text);
	box-shadow: 0 6px 20px rgba(240, 90, 0, 0.38);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

.scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.scroll-top:hover {
	background-color: var(--color-primary-hover);
}

/* ===== 7. Works / Gallery Section ===== */
.works {
	padding: 90px 0 95px;
	background-color: var(--color-bg-white);
}

.works__header {
	max-width: 680px;
	margin-bottom: 44px;
}

.works__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.works__item {
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	overflow: hidden;
	background-color: var(--color-bg-light);
	animation: catalogFadeIn 0.28s ease;
}

.works__item.is-hidden {
	display: none;
}

.works__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.works__item:hover img {
	transform: scale(1.04);
}

.works__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	padding: 4px 0;
	border: none;
	background: none;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: var(--color-muted);
	cursor: pointer;
	transition: color 0.2s ease;
}

.works__more[hidden] {
	display: none;
}

.works__more:hover {
	color: var(--color-primary);
}

/* ===== 8. Advantages Section (bg #F6F6F9, cards #FCFCFD, quarter-circle 229x229) ===== */
.advantages {
	padding: 90px 0 95px;
	background-color: var(--color-bg-light);
}

.advantages__title {
	margin: 0 0 44px;
	font-family: 'Montserrat', sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.22;
	text-transform: uppercase;
	color: var(--color-text);
}

.advantages__title-accent {
	color: var(--color-primary);
}

.advantages__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	max-width: 1168px;
	margin: 0 auto;
}

.advantages-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 260px;
	padding: 34px 32px;
	border-radius: 8px;
	background-color: var(--color-bg-white);
	overflow: hidden;
}

.advantages-card__content {
	position: relative;
	z-index: 2;
	max-width: 315px;
}

.advantages-card__title {
	margin: 0 0 12px;
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--color-text);
}

.advantages-card__desc {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-text);
}

.advantages-card__media {
	position: absolute;
	z-index: 1;
	width: 229px;
	height: 229px;
	border: 1px solid var(--color-border-strong);
	overflow: hidden;
	pointer-events: none;
}

.advantages-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.advantages-card--1 {
	justify-content: flex-start;
	align-items: flex-start;
	text-align: left;
}

.advantages-card--1 .advantages-card__media {
	right: 0;
	bottom: 0;
	border-top-left-radius: 229px;
}

.advantages-card--2 {
	justify-content: flex-start;
	align-items: flex-end;
	text-align: right;
}

.advantages-card--2 .advantages-card__media {
	left: 0;
	bottom: 0;
	border-top-right-radius: 229px;
}

.advantages-card--2 .advantages-card__media img {
	object-position: left center;
}

.advantages-card--3 {
	justify-content: flex-end;
	align-items: flex-start;
	text-align: left;
}

.advantages-card--3 .advantages-card__media {
	top: 0;
	right: 0;
	border-bottom-left-radius: 229px;
}

.advantages-card--4 {
	justify-content: flex-end;
	align-items: flex-end;
	text-align: right;
}

.advantages-card--4 .advantages-card__media {
	top: 0;
	left: 0;
	border-bottom-right-radius: 229px;
}

.advantages-card--4 .advantages-card__media img {
	object-position: left center;
}

/* ===== 9. Order & Delivery Section ===== */
.order-delivery {
	padding: 90px 0 95px;
	background-color: var(--color-bg-white);
}

.order-delivery__header {
	max-width: 720px;
	margin-bottom: 48px;
}

.order-block {
	margin-bottom: 84px;
}

.order-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 44px;
}

.order-step {
	position: relative;
	text-align: center;
}

.order-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 32px;
	left: calc(50% + 42px);
	width: calc(100% + 24px - 84px);
	border-top: 1px dashed var(--color-muted);
	z-index: 1;
	pointer-events: none;
}

.order-step__num {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 20px;
	border-radius: 50%;
	background-color: var(--color-text-secondary);
	font-size: 24px;
	font-weight: 500;
	color: var(--color-btn-text);
}

.order-step__title {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 700;
	color: var(--color-text);
}

.order-step__desc {
	max-width: 280px;
	margin: 0 auto;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	color: rgba(52, 52, 52, 1);
}

.order-block__btn {
	min-width: 211px;
	height: 54px;
	padding: 0 32px;
}

.delivery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.delivery-card {
	min-height: 252px;
	padding: 36px 40px;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background-color: var(--color-bg-light);
}

.delivery-card__title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-text);
}

.delivery-card__sub {
	margin: 0;
	font-size: 14px;
	color: var(--color-muted);
}

.delivery-card__divider {
	margin: 24px 0;
	border-bottom: 1px dashed var(--color-border-strong);
}

.delivery-card__line {
	margin: 0 0 12px;
	font-size: 18px;
	line-height: 1.45;
	color: var(--color-text);
}

.delivery-card__line:last-child {
	margin-bottom: 0;
}

.delivery-card__line strong {
	font-weight: 500;
}

/* ===== 11. Reviews Section ===== */
.reviews {
	padding: 90px 0 95px;
	background-color: var(--color-bg-light);
}

.reviews__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 44px;
}

.reviews__header {
	max-width: 720px;
	margin-bottom: 0;
}

.reviews__controls {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.reviews__add-btn {
	height: 54px;
	padding: 0 28px;
}

.reviews__nav {
	display: flex;
	align-items: center;
	gap: 10px;
}

.reviews__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	padding: 0;
	border: 1px solid var(--color-border-strong);
	border-radius: 8px;
	background-color: var(--color-bg-white);
	color: var(--color-text);
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.reviews__arrow:hover:not(:disabled) {
	border-color: var(--color-primary);
	background-color: var(--color-primary);
	color: var(--color-btn-text);
}

.reviews__arrow:disabled {
	opacity: 0.42;
	cursor: not-allowed;
}

.reviews__carousel {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 4px;
}

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

.review-card {
	flex: 0 0 calc((100% - 80px) / 5);
	min-width: 268px;
	display: flex;
	flex-direction: column;
	min-height: 242px;
	padding: 24px;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background-color: var(--color-bg-white);
	scroll-snap-align: start;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.review-card--new {
	border-color: rgba(240, 90, 0, 0.45);
	animation: catalogFadeIn 0.35s ease;
}

.review-card__stars {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 16px;
}

.review-card__star.is-filled {
	color: var(--color-primary);
}

.review-card__star.is-empty {
	color: var(--color-border-strong);
}

.review-card__name {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-text);
}

.review-card__car {
	font-size: 12px;
	line-height: 1.3;
	color: var(--color-muted);
}

.review-card__divider {
	margin: 16px 0;
	border-bottom: 1px solid var(--color-border);
}

.review-card__text {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(52, 52, 52, 1);
	word-break: break-word;
}

/* ===== 12. FAQ Section ===== */
.faq {
	padding: 90px 0 95px;
	background-color: var(--color-bg-white);
}

.faq__header {
	margin-bottom: 44px;
}

.faq-list {
	max-width: 1168px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.faq-item {
	border: 1px solid var(--color-border-strong);
	border-radius: 8px;
	background-color: var(--color-bg-white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.is-open {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.faq-item__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	min-height: 75px;
	padding: 24px;
	border: none;
	background: none;
	font-family: 'Roboto', sans-serif;
	text-align: left;
	cursor: pointer;
}

.faq-item__question {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--color-text);
	transition: color 0.2s ease;
}

.faq-item__trigger:hover .faq-item__question {
	color: var(--color-primary);
}

.faq-item__icon {
	position: relative;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
}

.faq-item__icon::before,
.faq-item__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: var(--color-text);
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-item__icon::before {
	width: 12px;
	height: 1.5px;
}

.faq-item__icon::after {
	width: 1.5px;
	height: 12px;
}

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

.faq-item__panel {
	padding: 0 24px 26px;
	animation: catalogFadeIn 0.24s ease;
}

.faq-item__panel[hidden] {
	display: none;
}

.faq-item__answer {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	color: rgba(52, 52, 52, 1);
}

.faq-item__answer p {
	margin: 0 0 10px;
}

.faq-item__answer p:last-child {
	margin-bottom: 0;
}

.faq-item__answer ul {
	margin: 6px 0 0;
	padding-left: 20px;
}

.faq-item__answer li {
	margin-bottom: 6px;
}

.faq-item__answer li:last-child {
	margin-bottom: 0;
}

/* ===== 13. Seat Capes Section ===== */
.capes {
	padding: 90px 0 95px;
	background-color: var(--color-bg-light);
}

.capes__header {
	margin-bottom: 44px;
}

.capes__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 44px;
}

.cape-card {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	padding: 12px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background-color: var(--color-bg-white);
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.cape-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.cape-card img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.cape-card:hover img {
	transform: scale(1.03);
}

.capes__btn {
	min-width: 226px;
	height: 54px;
	padding: 0 32px;
}

/* ===== 14. Other Assortment Section ===== */
.assortment {
	padding: 90px 0 95px;
	background-color: var(--color-bg-white);
}

.assortment__header {
	max-width: 680px;
	margin-bottom: 44px;
}

.assortment__groups {
	display: flex;
	flex-direction: column;
	gap: 44px;
	margin-bottom: 48px;
}

.assortment-group__title {
	margin: 0 0 22px;
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--color-text);
}

.assortment-group__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.assortment-card {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	border: 1px solid var(--color-border-strong);
	border-radius: 8px;
	background-color: var(--color-bg-white);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.assortment-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.assortment-card--photo {
	border-color: var(--color-border-strong);
}

.assortment-card--photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.assortment-card--product {
	padding: 12px;
}

.assortment-card--product img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.assortment-card:hover img {
	transform: scale(1.03);
}

.assortment__footer {
	max-width: 480px;
}

.assortment__btn {
	min-width: 260px;
	height: 64px;
	padding: 0 36px;
	font-size: 18px;
}

.assortment__note {
	margin: 14px 0 0;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	color: rgba(52, 52, 52, 1);
}

/* ===== 15. Site Footer (#292A30) ===== */
.site-footer {
	padding: 40px 0 36px;
	background-color: var(--color-footer-bg);
	color: var(--color-footer-text);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.footer-logo {
	display: inline-block;
	margin-bottom: 18px;
	text-decoration: none;
}

.footer-logo img,
.footer-logo__svg {
	display: block;
	height: 36px;
	width: auto;
}

.site-footer__legal {
	max-width: 460px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--color-footer-text);
}

.site-footer__copy {
	margin-top: 32px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--color-muted);
}

.site-footer__title {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--color-btn-text);
}

.site-footer__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.45;
}

.site-footer__list a {
	color: var(--color-footer-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__list a:hover {
	color: var(--color-btn-text);
}

.site-footer__address {
	max-width: 340px;
	color: var(--color-footer-text);
}

/* ==========================================================================
   BREAKPOINT 1: 1639px – 1080px (Frames: 1639.svg, 1240.svg, 1080.svg)
   ========================================================================== */
@media (max-width: 1639px) {
	.container {
		padding: 0 80px;
	}

	/* В 1639/1240/1080 карточки преимуществ занимают полную ширину контейнера (2 колонки, gap 16px) */
	.advantages__grid {
		max-width: 100%;
		gap: 16px;
	}

	/* В 1639/1240/1080 аккордеон FAQ имеет ширину 847px по центру */
	.faq-list {
		max-width: 847px;
	}

	.works__grid,
	.capes__grid,
	.assortment-group__grid {
		gap: 16px;
	}
}

@media (max-width: 1440px) and (min-width: 1080px) {
	.catalog-panel__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		gap: 36px;
	}

	.catalog-tabs__btn {
		font-size: 14px;
		padding: 0 8px;
	}
}

/* 1240px – 1080px: скрываем дескриптор и подпись мессенджеров в шапке, отзывы в карусели */
@media (max-width: 1240px) and (min-width: 1080px) {
	.header-descriptor,
	.header-messengers__label {
		display: none;
	}

	.header-actions {
		gap: 18px;
	}

	.header-cta {
		padding: 0 20px;
		font-size: 14px;
	}
}

@media (max-width: 1639px) {
	.review-card {
		flex: 0 0 calc((100% - 48px) / 4);
		min-width: 272px;
	}
}

@media (max-width: 1240px) {
	.review-card {
		flex: 0 0 302px;
		min-width: 302px;
	}
}

/* ==========================================================================
   BREAKPOINT 2: 1079px – 600px (Frames: 1079.svg, 800.svg, 600.svg)
   - height: auto, высота формируется контентом и паддингами
   - Шапка: Лого, "Собственное производство чехлов", бургер-меню, BY | RU
   ========================================================================== */
@media (max-width: 1079px) {
	.container {
		padding: 0 56px;
	}

	.site-header .container {
		padding: 0 24px;
	}

	/* Высота секций и карточек формируется контентом и паддингами */
	.hero,
		.advantages-card,
	.delivery-card,
	.review-card {
		min-height: auto;
		max-height: none;
		height: auto;
	}

	/* Шапка 1079–600px */
	.header-top {
		gap: 12px;
		padding: 16px 0;
	}

	.site-header.is-scrolled .header-top {
		padding: 12px 0;
	}

	.header-descriptor {
		display: block;
		font-size: 12px;
	}

	.header-messengers,
	.header-contacts,
	.header-cta {
		display: none;
	}

	.header-actions {
		gap: 16px;
	}

	/* Бургер слева от переключателя языков BY | RU (по макетам 1079, 800, 600) */
	.header-burger {
		display: flex;
		order: 1;
	}

	.header-lang {
		display: flex;
		order: 2;
		font-size: 12px;
		gap: 8px;
	}

	.header-lang__sep {
		height: 24px;
	}

	/* Выпадающее меню (1079–600px: правая панель 370px по макету Open menu-header.svg) */
	.header-bottom {
		position: absolute;
		top: 100%;
		right: 0;
		left: auto;
		width: 370px;
		max-width: 100vw;
		display: block;
		background-color: var(--color-bg-white);
		border-left: 1px solid var(--color-border);
		border-bottom: 1px solid var(--color-border);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-8px);
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
		z-index: 999;
	}

	.header-bottom.is-open,
	.site-header.is-scrolled .header-bottom.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}

	.header-bottom__inner {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		width: 100%;
		padding: 36px 24px 38px;
	}

	.header-mobile-lang {
		display: none;
		align-items: center;
		justify-content: center;
		gap: 14px;
		margin-bottom: 48px;
	}

	.header-mobile-lang .header-lang__item {
		font-size: 12px;
		font-weight: 500;
		color: var(--color-muted);
	}

	.header-mobile-lang .header-lang__item.is-active,
	.header-mobile-lang .header-lang__item:hover {
		color: var(--color-text);
		font-weight: 500;
	}

	.header-mobile-lang .header-lang__sep {
		width: 2px;
		height: 35px;
		background-color: var(--color-border-strong);
	}

	.header-nav {
		width: 100%;
		padding: 0;
	}

	.header-nav__list {
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	.header-nav__list a {
		font-family: 'Roboto', sans-serif;
		font-size: 16px;
		font-weight: 500;
		line-height: 24px;
		color: var(--color-text);
	}

	.header-mobile-controls {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		margin-top: 52px;
	}

	.header-mobile-controls .header-messengers__links {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		margin-bottom: 24px;
	}

	.header-mobile-controls .messenger-btn {
		width: 48px;
		height: 48px;
		border-radius: 8px;
	}

	.header-mobile-controls .messenger-btn svg {
		width: 25px;
		height: 25px;
	}

	.header-mobile-phone {
		display: inline-block;
		margin-bottom: 14px;
		font-family: 'Roboto', sans-serif;
		font-size: 16px;
		font-weight: 500;
		line-height: 24px;
		color: var(--color-text);
		text-decoration: none;
		transition: color 0.2s ease;
	}

	.header-mobile-phone:hover {
		color: var(--color-primary);
	}

	.header-mobile-cta {
		width: 213px;
		min-width: 213px;
		height: 54px;
		padding: 0 24px;
		font-size: 16px;
		font-weight: 500;
	}

	/* Типографика заголовков секций на 1079–600px: Montserrat 28px Bold */
	.section-title,
	.advantages__title {
		font-size: 28px;
	}

	.section-subtitle {
		font-size: 16px;
	}

	/* Вертикальные отступы секций */
	.catalog,
	.works,
	.advantages,
	.order-delivery,
	.reviews,
	.faq,
	.capes,
	.assortment {
		padding: 72px 0 76px;
	}

	.catalog__header,
	.works__header,
	.advantages__title,
	.order-delivery__header,
	.reviews__header,
	.faq__header,
	.capes__header,
	.assortment__header {
		margin-bottom: 36px;
	}

	/* Hero (1079–600px) */
	.hero {
		flex-direction: row;
		align-items: center;
		padding: 96px 0 88px;
	}

	.hero__bg {
		position: absolute;
		top: 0;
		right: 0;
		left: auto;
		bottom: 0;
		width: 917px;
		max-width: none;
		height: 100%;
	}

	.hero__bg img {
		object-position: 20% center;
	}

	.hero__bg::after {
		background: linear-gradient(
			90deg,
			#FCFCFD 14%,
			rgba(252, 252, 253, 0.86) 46%,
			rgba(252, 252, 253, 0.14) 100%
		);
	}

	.hero__content {
		max-width: 520px;
		padding: 0;
	}

	.hero__title {
		font-size: 40px;
	}

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

	.hero__brand {
		margin-bottom: 32px;
	}

	.hero__brand-text {
		font-size: 16px;
	}

	.hero__btn {
		min-width: 193px;
		height: 64px;
		font-size: 16px;
	}

	/* Benefits (1079–600px): сетка 2x2 без разделителей */
	.benefits {
		padding: 48px 0;
	}

	.benefits__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
		max-width: 640px;
		margin: 0 auto;
	}

	.benefits__item {
		padding: 12px;
		border-right: none;
	}

	.benefits__value {
		font-size: 32px;
	}

	.benefits__label {
		font-size: 16px;
	}

	/* Catalog (1079–600px) */
	.catalog__header .section-subtitle {
		color: var(--color-subtitle-tablet);
	}

	.catalog-tabs {
		display: flex;
		overflow-x: auto;
		scrollbar-width: none;
		margin-bottom: 40px;
	}

	.catalog-tabs::-webkit-scrollbar {
		display: none;
	}

	.catalog-tabs__btn {
		flex-shrink: 0;
		padding: 0 20px;
	}

	.catalog-panel__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.catalog-panel__title {
		font-size: 18px;
	}

	.catalog-specs__item {
		min-height: 66px;
	}

	.catalog-specs__value {
		font-size: 12px;
	}

	.catalog-palette__title {
		font-size: 12px;
	}

	/* Works (1079–600px): 2 колонки x 4 ряда, gap 11px */
	.works__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 11px;
	}

	/* Advantages (1079–600px): 1 колонка карточек 532px по центру, четвертинки круга 229x229 */
	.advantages__grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: 532px;
		margin: 0 auto;
		gap: 11px;
	}

	.advantages-card {
		min-height: 260px;
		padding: 28px 24px;
	}

	.advantages-card__content {
		max-width: 265px;
	}

	.advantages-card__title {
		font-size: 16px;
	}

	/* Order & Delivery (1079–600px) */
	.order-block {
		margin-bottom: 64px;
	}

	.order-steps {
		grid-template-columns: minmax(0, 1fr);
		max-width: 360px;
		margin: 0 auto 36px;
		gap: 24px;
	}

	.order-step {
		display: grid;
		grid-template-columns: 48px minmax(0, 1fr);
		column-gap: 18px;
		align-items: start;
		text-align: left;
	}

	.order-step::after {
		display: none;
	}

	.order-step__num {
		grid-row: 1 / 3;
		width: 48px;
		height: 48px;
		margin-bottom: 0;
		font-size: 16px;
	}

	.order-step__title {
		font-size: 16px;
		margin-bottom: 4px;
	}

	.order-step__desc {
		max-width: 100%;
		margin: 0;
	}

	.delivery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}

	.delivery-card {
		padding: 28px 24px;
	}

	.delivery-card__title {
		font-size: 24px;
	}

	.delivery-card__sub {
		font-size: 12px;
	}

	.delivery-card__line {
		font-size: 16px;
	}

	/* Reviews (1079–600px) */
	.reviews__top {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-bottom: 36px;
	}

	.reviews__controls {
		width: 100%;
		justify-content: space-between;
	}

	.reviews__carousel {
		gap: 11px;
	}

	.review-card {
		flex: 0 0 296px;
		min-width: 296px;
	}

	.review-card__text {
		font-size: 16px;
	}

	/* FAQ (1079–600px) */
	.faq-list {
		max-width: 100%;
	}

	.faq-item__question {
		font-size: 16px;
	}

	/* Capes & Assortment (1079–600px): 2 колонки, gap 11px */
	.capes__grid,
	.assortment-group__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 11px;
	}

	.assortment__groups {
		gap: 36px;
		margin-bottom: 36px;
	}

	.assortment-group__title {
		font-size: 18px;
		margin-bottom: 16px;
	}

	.assortment__btn {
		min-width: 224px;
		height: 64px;
		font-size: 16px;
	}

	.assortment__note {
		font-size: 16px;
	}

	/* Footer (1079–600px) */
	.site-footer {
		padding: 36px 0 32px;
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

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

	.site-footer__legal {
		max-width: 100%;
		font-size: 12px;
	}

	.site-footer__title,
	.site-footer__list {
		font-size: 12px;
	}

	.site-footer__copy {
		margin-top: 16px;
		font-size: 14px;
	}

	/* Floating button (1079–600px): right: 24px; bottom: 24px; */
	.scroll-top {
		right: 24px;
		bottom: 24px;
	}
}

@media (max-width: 768px) {
	.hero__bg::after {
		background: linear-gradient(
			90deg,
			rgba(252, 252, 253, 0.92) 0%,
			rgba(252, 252, 253, 0.78) 52%,
			rgba(252, 252, 253, 0.18) 100%
		);
	}
}

/* ==========================================================================
   BREAKPOINT 3: 599px – 370px (Frames: 599.svg, 370.svg)
   - На шапке остаются ТОЛЬКО лого и кнопка бургер-меню
   - Боковые отступы 16px
   - Центрированные кнопки 320px на мобильных
   ========================================================================== */
@media (max-width: 599px) {
	.container,
	.site-header .container {
		padding: 0 16px;
	}

	.header-top {
		padding: 14px 0;
	}

	.header-logo img {
		height: 26px;
	}

	/* В шапке < 600px остаются только лого и кнопка бургер-меню */
	.header-descriptor,
	.header-messengers,
	.header-contacts,
	.header-cta,
	.header-lang {
		display: none;
	}

	.header-burger {
		display: flex;
	}

	html.is-menu-open,
	body.is-menu-open {
		overflow: hidden;
	}

	/* При ширине экрана <= 599px меню примыкает вплотную к шапке (top: 100%) и занимает 100% ширины и оставшейся высоты viewport */
	.header-bottom {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		height: calc(100dvh - 77px);
		overflow-y: auto;
		border-left: none;
		border-bottom: none;
		background-color: var(--color-bg-white);
	}

	.site-header.is-scrolled .header-bottom {
		height: calc(100dvh - 69px);
	}

	.header-bottom__inner {
		min-height: 100%;
		padding: 40px 16px 48px;
		justify-content: flex-start;
	}

	.header-mobile-lang {
		display: flex;
	}

	/* Hero (599–370px: сиденья по центру кадра, как в 599.svg и 370.svg) */
	.hero {
		padding: 48px 0 52px;
	}

	.hero__bg {
		left: 0;
		right: 0;
		width: 100%;
	}

	.hero__bg img {
		object-position: 32% center;
	}

	.hero__title {
		font-size: 32px;
	}

	.hero__btn {
		display: flex;
		width: 100%;
		max-width: min(320px, 100%);
		margin: 0 auto;
	}

	/* Benefits (599–370px): 1 колонка x 4 строки, ширина 320px по центру */
	.benefits {
		padding: 36px 0;
	}

	.benefits__grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: min(320px, 100%);
		gap: 8px;
	}

	.benefits__item {
		padding: 20px 12px;
	}

	.benefits__value {
		font-size: 28px;
	}

	/* Отступы секций (599–370px) */
	.catalog,
	.works,
	.advantages,
	.order-delivery,
	.reviews,
	.faq,
	.capes,
	.assortment {
		padding: 52px 0 56px;
	}

	.catalog__header,
	.works__header,
	.advantages__title,
	.order-delivery__header,
	.reviews__header,
	.faq__header,
	.capes__header,
	.assortment__header {
		margin-bottom: 28px;
	}

	/* Catalog (599–370px) */
	.catalog-panel__media {
		padding: 10px;
	}

	.catalog-specs {
		gap: 12px;
	}

	.catalog-panel__btn {
		display: flex;
		width: 100%;
		max-width: min(320px, 100%);
		margin: 0 auto;
	}

	/* Works (599–370px): 2 колонки, gap 8px */
	.works__grid {
		gap: 8px;
	}

	.works__more {
		display: flex;
		justify-content: center;
		width: 100%;
	}

	/* Advantages (599–370px): карточки 100% ширины, четвертинки круга 139x139px */
	.advantages__grid {
		max-width: 100%;
		gap: 8px;
	}

	.advantages-card {
		min-height: 260px;
		padding: 24px 16px;
	}

	.advantages-card__content {
		max-width: 62%;
	}

	.advantages-card__media {
		width: 139px;
		height: 139px;
	}

	.advantages-card--1 .advantages-card__media {
		border-top-left-radius: 139px;
	}

	.advantages-card--2 .advantages-card__media {
		border-top-right-radius: 139px;
	}

	.advantages-card--3 .advantages-card__media {
		border-bottom-left-radius: 139px;
	}

	.advantages-card--4 .advantages-card__media {
		border-bottom-right-radius: 139px;
	}

	/* Order & Delivery (599–370px) */
	.order-steps {
		max-width: 100%;
		gap: 20px;
	}

	.order-block__btn {
		display: flex;
		width: 100%;
		max-width: min(320px, 100%);
		margin: 0 auto;
	}

	.delivery-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.delivery-card {
		padding: 28px 32px;
	}

	/* Reviews (599–370px) */
	.reviews__top {
		margin-bottom: 28px;
	}

	.reviews__controls {
		flex-wrap: wrap;
		gap: 10px;
	}

	.reviews__add-btn {
		flex: 1 1 auto;
		min-width: 0;
		height: 48px;
		padding: 0 18px;
		font-size: 14px;
	}

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

	.reviews__carousel {
		gap: 8px;
	}

	.review-card {
		flex: 0 0 282px;
		min-width: 282px;
		padding: 20px;
	}

	/* Capes & Assortment (599–370px): 2 колонки, gap 8px */
	.capes__grid,
	.assortment-group__grid {
		gap: 8px;
	}

	.capes__btn,
	.assortment__btn {
		display: flex;
		width: 100%;
		max-width: min(320px, 100%);
		margin: 0 auto;
	}

	.assortment__footer {
		max-width: 100%;
		text-align: center;
	}

	/* Footer (599–370px): 1 колонка в порядке: Лого -> Покупателям -> Контакты -> Реквизиты -> Копирайт */
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.site-footer__brand {
		display: contents;
	}

	.footer-logo {
		order: 1;
		margin-bottom: 0;
	}

	.site-footer__col--buyers {
		order: 2;
	}

	.site-footer__col--contacts {
		order: 3;
	}

	.site-footer__legal {
		order: 4;
	}

	.site-footer__copy {
		order: 5;
		margin-top: 8px;
	}

	.scroll-top {
		right: 16px;
		bottom: 20px;
		width: 48px;
		height: 48px;
	}
}


/* ==========================================================================
   MODALS SYSTEM (Modals_RU.svg / Modals_BY.svg: 1920-1640, 1639-1080, 1079-600, 599-370)
   ========================================================================== */
html.is-modal-open,
body.is-modal-open {
	overflow: hidden;
}

.rapira-modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	overscroll-behavior: contain;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

.rapira-modal[hidden] {
	display: none;
}

.rapira-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.rapira-modal__backdrop {
	position: fixed;
	inset: 0;
	background-color: rgba(41, 42, 48, 0.8);
	cursor: pointer;
}

/* 1920px – 1640px: карточка 587px, внутренние боковые отступы 60px, border-radius 12px */
.rapira-modal__dialog {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 587px;
	padding: 64px 60px 38px;
	border: 1px solid #343434;
	border-radius: 12px;
	background-color: #292A30;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	transform: translateY(10px) scale(0.985);
	transition: transform 0.22s ease;
}

.rapira-modal.is-open .rapira-modal__dialog {
	transform: translateY(0) scale(1);
}

.rapira-modal__dialog--status {
	padding: 44px 48px;
	text-align: center;
}

.rapira-modal__close {
	position: absolute;
	top: 18px;
	right: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: 6px;
	background: transparent;
	color: #C0C0C8;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.rapira-modal__close:hover {
	color: #F7F7F8;
	background-color: rgba(255, 255, 255, 0.08);
}

.rapira-modal__title {
	margin: 0 0 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: uppercase;
	color: #F7F7F8;
}

.rapira-modal__subtitle {
	margin: 0 0 24px;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	color: #C0C0C8;
}

.rapira-modal__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.rapira-modal__fields {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.rapira-modal__input {
	display: block;
	width: 100%;
	height: 53px;
	padding: 0 16px;
	border: 1px solid #EAEAEF;
	border-radius: 8px;
	background-color: #FCFCFD;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #343434;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rapira-modal__input::placeholder {
	color: #C0C0C8;
	opacity: 1;
}

.rapira-modal__input:focus {
	border-color: #F05A00;
	box-shadow: 0 0 0 3px rgba(240, 90, 0, 0.22);
}

.rapira-modal__input.is-invalid {
	border-color: #ff5252;
	box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.2);
}

.rapira-modal__validation {
	margin: 10px 0 0;
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	line-height: 1.35;
	color: #ff7b7b;
}

.rapira-modal__validation[hidden] {
	display: none;
}

.rapira-modal__submit {
	width: 100%;
	height: 54px;
	margin-top: 32px;
	padding: 0 24px;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #F7F7F8;
}

.rapira-modal__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.rapira-modal__privacy {
	margin: 14px 0 0;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	color: #C0C0C8;
}

/* Окна успешной отправки и ошибки (Success / Error) */
.rapira-modal__status-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	margin-bottom: 18px;
}

.rapira-modal__status-text {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	color: #F7F7F8;
}

/* 1639px – 1080px: ширина окна 415px, боковые внутренние отступы 40px */
@media (max-width: 1639px) {
	.rapira-modal__dialog {
		max-width: 415px;
		padding: 56px 40px 42px;
	}

	.rapira-modal__dialog--status {
		padding: 44px 32px;
	}
}

/* 1079px – 600px: ширина окна 415px, border-radius 8px, заголовок 18px, текст согласия 12px */
@media (max-width: 1079px) {
	.rapira-modal__dialog {
		max-width: 415px;
		padding: 52px 32px 36px;
		border-radius: 8px;
	}

	.rapira-modal__dialog--status {
		padding: 36px 28px;
	}

	.rapira-modal__title {
		font-size: 18px;
	}

	.rapira-modal__privacy {
		font-size: 12px;
	}
}

/* 599px – 370px: ширина окна 337px (с отступами 16px по краям на 370px), border-radius 8px */
@media (max-width: 599px) {
	.rapira-modal__dialog {
		max-width: 337px;
		padding: 52px 32px 32px;
		border-radius: 8px;
	}

	.rapira-modal__dialog--status {
		padding: 36px 24px;
	}

	.rapira-modal__title {
		font-size: 18px;
	}

	.rapira-modal__privacy {
		font-size: 12px;
	}
}


/* ==========================================================================
   REVIEW MODAL: CUSTOM CAR SELECT, 0–5 STAR PICKER, TEXTAREA & RESPONSIVE
   ========================================================================== */
.rapira-modal__dialog--review {
	max-width: 587px;
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	padding: 52px 56px 36px;
}

.rapira-modal__field {
	position: relative;
	width: 100%;
	min-width: 0;
}

.rapira-modal__textarea {
	height: auto;
	min-height: 112px;
	padding: 14px 16px;
	resize: vertical;
	line-height: 1.45;
}

/* Кастомный адаптивный дропдаун марок авто (строго в рамках модального окна) */
.rapira-select {
	position: relative;
	width: 100%;
	max-width: 100%;
}

.rapira-select__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	max-width: 100%;
	height: 53px;
	padding: 0 16px;
	border: 1px solid #EAEAEF;
	border-radius: 8px;
	background-color: #FCFCFD;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #343434;
	text-align: left;
	cursor: pointer;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rapira-select__trigger:focus,
.rapira-select.is-open .rapira-select__trigger {
	border-color: #F05A00;
	box-shadow: 0 0 0 3px rgba(240, 90, 0, 0.22);
}

.rapira-select__trigger.is-invalid {
	border-color: #ff5252;
	box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.2);
}

.rapira-select__value {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rapira-select__value.is-placeholder {
	color: #8E8E98;
}

.rapira-select__arrow {
	flex-shrink: 0;
	color: #666666;
	transition: transform 0.2s ease;
}

.rapira-select.is-open .rapira-select__arrow {
	transform: rotate(180deg);
}

.rapira-select__dropdown {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 30;
	width: 100%;
	max-width: 100%;
	max-height: 220px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	overflow-y: auto;
	overflow-x: hidden;
	border: 1px solid #B9BEC6;
	border-radius: 8px;
	background-color: #FCFCFD;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.rapira-select__dropdown[hidden] {
	display: none;
}

.rapira-select__option {
	padding: 10px 16px;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	line-height: 1.35;
	color: #343434;
	cursor: pointer;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.rapira-select__option:hover,
.rapira-select__option.is-selected {
	background-color: rgba(240, 90, 0, 0.12);
	color: #F05A00;
	font-weight: 500;
}

.rapira-select__option--other {
	border-top: 1px solid #EAEAEF;
	margin-top: 4px;
	padding-top: 11px;
	font-weight: 500;
	color: #F05A00;
}

/* Блок оценки от 0 до 5 звёзд */
.rapira-rating-picker {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	padding: 12px 16px;
	border: 1px solid rgba(234, 234, 239, 0.16);
	border-radius: 8px;
	background-color: rgba(252, 252, 253, 0.05);
}

.rapira-rating-picker__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.rapira-rating-picker__label {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	color: #C0C0C8;
}

.rapira-rating-picker__score {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #F05A00;
}

.rapira-rating-picker__controls {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
}

.rapira-rating-picker__zero {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	border: 1px solid rgba(234, 234, 239, 0.25);
	border-radius: 6px;
	background: transparent;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #C0C0C8;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rapira-rating-picker__zero:hover,
.rapira-rating-picker__zero.is-active {
	border-color: #F05A00;
	background-color: rgba(240, 90, 0, 0.18);
	color: #F7F7F8;
}

.rapira-rating-picker__stars {
	display: flex;
	align-items: center;
	gap: 6px;
}

.rapira-rating-picker__star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: none;
	background: transparent;
	color: #5C5C64;
	cursor: pointer;
	transition: color 0.15s ease, transform 0.15s ease;
}

.rapira-rating-picker__star svg {
	fill: none;
}

.rapira-rating-picker__star.is-active {
	color: #F05A00;
}

.rapira-rating-picker__star.is-active svg {
	fill: currentColor;
}

.rapira-rating-picker__star:hover {
	transform: scale(1.12);
}

.rapira-modal--review .rapira-modal__submit {
	margin-top: 22px;
}

@media (max-width: 1639px) {
	.rapira-modal__dialog--review {
		max-width: 480px;
		padding: 48px 36px 34px;
	}
}

@media (max-width: 1079px) {
	.rapira-modal__dialog--review {
		max-width: 460px;
		padding: 46px 28px 32px;
	}
}

@media (max-width: 599px) {
	.rapira-modal {
		padding: 12px;
	}

	.rapira-modal__dialog--review {
		width: 100%;
		max-width: 346px;
		padding: 46px 18px 26px;
	}

	.rapira-select__trigger {
		height: 48px;
		padding: 0 12px;
		font-size: 14px;
	}

	.rapira-select__option {
		padding: 9px 12px;
		font-size: 14px;
	}

	.rapira-rating-picker {
		padding: 10px 12px;
	}

	.rapira-rating-picker__controls {
		gap: 6px;
	}

	.rapira-rating-picker__zero {
		min-width: 30px;
		height: 30px;
		font-size: 12px;
	}

	.rapira-rating-picker__stars {
		gap: 2px;
	}

	.rapira-rating-picker__star {
		width: 30px;
		height: 30px;
	}

	.rapira-rating-picker__star svg {
		width: 21px;
		height: 21px;
	}
}

@media (max-width: 359px) {
	.reviews__controls {
		flex-direction: column;
		align-items: stretch;
	}

	.reviews__nav {
		justify-content: flex-end;
	}

	.review-card {
		flex: 0 0 264px;
		min-width: 264px;
	}

	.rapira-modal__dialog--review {
		padding: 44px 14px 24px;
	}

	.rapira-rating-picker__star {
		width: 27px;
		height: 27px;
	}
}

.rapira-modal__status-icon[hidden] {
	display: none;
}
