/* ==========================================================================
   Union Wood — основные стили лендинга
   Шрифт: Manrope · Акцент: #237F91 · Текст: #1A2026
   ========================================================================== */

/* -------- Токены -------- */
:root {
	--c-ink: #1A2026;
	--c-ink-soft: #2A3138;
	--c-muted: #6C7480;
	--c-muted-2: #8A929C;
	--c-line: #E6E8EB;
	--c-line-soft: #EEF0F2;

	--c-teal: #237F91;
	--c-teal-dark: #1C6A79;
	--c-teal-bright: #31B4B5;
	--c-wood: #AB7240;

	--c-bg: #F0F0F1;
	--c-bg-2: #F5F6F7;
	--c-white: #FFFFFF;
	--c-dark: #1A2026;

	--radius-sm: 10px;
	--radius: 15px;        /* макет: карточки rx=15 */
	--radius-lg: 20px;     /* макет: CTA-карточка rx=20 */
	--radius-xl: 30px;     /* макет: крупные фото rx=30 */

	--shadow-card: 0 10px 40px rgba(26, 32, 38, .06);
	--shadow-float: 0 24px 60px rgba(26, 32, 38, .18);

	--container: 1524px;   /* 1444 контента (4×346 + 3×20) + поля по 40 */
	--gap: 20px;           /* макет: зазор между колонками 20px */

	--font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* -------- Reset / база -------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--c-ink);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* -------- Раскладка -------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 40px;
}

.section { padding: 100px 0; }
.section--gray { background: var(--c-bg); }
.section--soft { background: var(--c-bg-2); }
.section--tight { padding: 80px 0; }

.section-head { text-align: center; max-width: 900px; margin: 0 auto 56px; }
.section-head--left { text-align: left; margin-left: 0; }

.eyebrow {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--c-teal-bright);
	margin-bottom: 18px;
}

.h1 { font-size: 60px; font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }
.h2 { font-size: 40px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.h3 { font-size: 25px; font-weight: 600; line-height: 1.2; }
.section-title { font-size: 40px; font-weight: 600; line-height: 1.16; letter-spacing: -.01em; color: var(--c-ink); }
.section-sub { margin-top: 18px; font-size: 20px; line-height: 1.5; color: var(--c-muted); }
.text-muted { color: var(--c-muted); }

/* -------- Кнопки -------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	/* Прозрачная рамка — чтобы .btn--outline с настоящей рамкой
	   не оказывался на 2px выше соседней кнопки. */
	border: 1px solid transparent;
	padding: 15px 32px;
	border-radius: var(--radius-sm);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	transition: background .2s, color .2s, border-color .2s, transform .05s;
	white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-teal); color: #fff; }
.btn--primary:hover { background: var(--c-teal-dark); }
.btn--outline { background: #fff; color: var(--c-ink); border-color: var(--c-line); }
.btn--outline:hover { border-color: var(--c-teal); color: var(--c-teal); }
.btn--ghost { background: #8A929C; color: #fff; }
.btn--ghost:hover { background: #757d88; }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 40px; }

/* ==========================================================================
   Шапка
   ========================================================================== */
.header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--c-white);
	border-bottom: 1px solid var(--c-line-soft);
}
.header__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	height: 94px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand__logo { width: 80px; height: auto; }
.brand__tag { font-size: 13px; line-height: 1.35; color: var(--c-muted); max-width: 190px; }

.nav { display: flex; align-items: center; gap: 22px; margin: 0 auto; }
.nav__link { font-size: 16px; font-weight: 500; color: var(--c-ink); transition: color .2s; white-space: nowrap; }
.nav__link:hover { color: var(--c-teal); }

.header__contacts { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
/* Макет: иконки 40×40 с зазором 15px. Подложка-кружок входит в саму
   иконку (взята из макета), поэтому фон средствами CSS не рисуем. */
.socials { display: flex; align-items: center; gap: 15px; }
.social {
	width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	transition: transform .15s, opacity .2s;
}
.social:hover { transform: translateY(-2px); }
.social svg { width: 40px; height: 40px; display: block; }

.header__phone { text-align: left; line-height: 1.3; white-space: nowrap; }
.header__phone a { font-size: 18px; font-weight: 700; color: var(--c-ink); }
.header__phone .email { font-size: 15px; color: var(--c-muted); text-decoration: underline; }

.header__cta { border: 1.5px solid var(--c-ink); }
.header__cta:hover { border-color: var(--c-teal); }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--c-ink); border-radius: 2px; transition: .25s; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	min-height: clamp(620px, 88vh, 980px);   /* макет: 980px */
	display: flex;
	align-items: stretch;
	color: #fff;
	background: #1a1a1a center/cover no-repeat;
	overflow: hidden;
}
.hero::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10,12,14,.55) 0%, rgba(10,12,14,.24) 45%, rgba(10,12,14,.06) 70%);
	z-index: 1;
}
.hero__inner { position: relative; z-index: 2; width: 100%; display: flex; padding-bottom: 80px; padding-top: 78px; }
.hero__grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: stretch; width: 100%; }
.hero__col { display: flex; flex-direction: column; min-height: 100%; }
/* Макет: 18px, межстрочный 25px, верх текста в 85px от начала экрана */
.hero__lead { max-width: 500px; font-size: 18px; line-height: 25px; color: rgba(255,255,255,.9); }
/* Макет: кегль 60px, межстрочный 60px */
.hero__title { margin-top: auto; padding-top: 120px; font-size: clamp(36px, 5vw, 60px); font-weight: 600; line-height: 1; max-width: 720px; }
.hero__cta { margin-top: 40px; }
.lead-card { align-self: end; }

/* Форма-карточка */
.lead-card {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 31px;   /* макет: текст в 31px от края карточки */
	width: 346px;
	max-width: 100%;
	color: var(--c-ink);
	box-shadow: var(--shadow-float);
}
.lead-card__title { font-size: 24px; font-weight: 600; line-height: 1.2; }
.lead-card__title b { color: var(--c-teal); font-weight: 700; }
.lead-card__sub { margin-top: 12px; font-size: 16px; color: var(--c-muted); }
.lead-card .form { margin-top: 22px; }

.field {
	width: 100%;
	height: 56px;
	padding: 0 20px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
	background: var(--c-bg-2);
	font-size: 16px;
	color: var(--c-ink);
	transition: border-color .2s;
}
.field:focus { outline: none; border-color: var(--c-teal); background: #fff; }
.field::placeholder { color: var(--c-muted-2); }

.form__submit { margin-top: 14px; }

.consent { display: flex; gap: 10px; margin-top: 16px; font-size: 13px; line-height: 1.4; color: var(--c-muted-2); }
.consent input { width: 20px; height: 20px; accent-color: var(--c-teal); flex-shrink: 0; margin-top: 1px; }
.consent a { color: var(--c-teal); text-decoration: underline; }

/* ==========================================================================
   Карточки-преимущества (icon cards)
   ========================================================================== */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.icard {
	background: #fff;
	border-radius: var(--radius);
	padding: 32px;
	box-shadow: var(--shadow-card);
}
.icard__icon {
	width: 56px; height: 56px; border-radius: 14px;
	background: var(--c-teal);
	display: flex; align-items: center; justify-content: center;
	color: #fff; margin-bottom: 26px;
}
.icard__icon svg { width: 26px; height: 26px; }
.icard__title { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.icard__text { font-size: 16px; color: var(--c-muted); line-height: 1.5; }

/* ==========================================================================
   Каталог Union Pulse
   ========================================================================== */
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.pcard {
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	display: flex;
	flex-direction: column;
}
.pcard__img { aspect-ratio: 346 / 208; background: #ddd center/cover no-repeat; }
.pcard__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__title { font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.pcard__spec { font-size: 15px; color: var(--c-muted); line-height: 1.7; }
.pcard__price { margin-top: 16px; font-size: 17px; font-weight: 600; color: var(--c-ink); line-height: 1.5; }
.pcard__actions { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }
/* Скрытые расцветки — раскрываются кнопкой «Показать другие расцветки». */
.pcard.is-hidden { display: none; }
.pcard.is-revealed { animation: uw-card-in .35s ease both; }
@keyframes uw-card-in {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: none; }
}
.catalog__more { text-align: center; margin-top: 48px; }
.catalog__more:empty { display: none; }

/* ==========================================================================
   Секции с фоном-фото и формой (CTA)
   ========================================================================== */
.cta {
	position: relative;
	display: flex;
	align-items: center;
	/* Экран во всю высоту, как в макете: терраса и дом должны быть видны целиком. */
	min-height: clamp(620px, 86vh, 950px);   /* макет: 950px */
	padding: 110px 0;
	background: #1a1a1a center/cover no-repeat;
	color: #fff;
	overflow: hidden;
}
.cta--center { display: flex; align-items: center; }
/* Макет: на экране образцов карточка стоит выше центра */
.cta--top { align-items: flex-start; padding-top: 162px; }
/* Макет: карточка 783×325, скругление 20px, по центру экрана.
   Внутри справа — панель формы 400×245. */
.cta__card {
	position: relative; z-index: 2;
	background: #fff;
	color: var(--c-ink);
	border-radius: 20px;
	padding: 40px;
	width: 783px;
	max-width: 100%;
	margin: 0 auto;
	box-shadow: var(--shadow-float);
}
.cta__card--wide { width: 783px; }
/* Макет: карточка блока мессенджеров 622×284, кнопки 238px, текст 280px.
   Общая сетка .cta__split рассчитана на широкую карточку (панель формы 400px),
   поэтому здесь колонки задаются отдельно — иначе текст сжимается до 118px. */
.cta__card--msg { width: 622px; }
.cta__card--msg .cta__split { grid-template-columns: 1fr 238px; gap: 24px; align-items: center; }
.cta__card--msg .cta__title { font-size: 26px; }
.cta__split { display: grid; grid-template-columns: 1fr 400px; gap: 24px; align-items: center; }
.cta__title { font-size: 30px; font-weight: 600; line-height: 1.22; }
.cta__sub { margin-top: 16px; font-size: 16px; color: var(--c-muted); line-height: 1.55; }
.cta__form-inner { background: var(--c-bg-2); border-radius: 15px; padding: 24px; }
.cta__form-inner .field { background: #fff; }
.cta__buttons { display: flex; flex-direction: column; gap: 12px; }

/* Тёмный CTA-текст поверх фото (без карточки) */
.cta-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(620px, 86vh, 950px);   /* макет: 950px */
	padding: 130px 0;
	background: #1a1a1a center/cover no-repeat;
	color: #fff;
	overflow: hidden;
}
.cta-hero::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(10,12,14,.75), rgba(10,12,14,.25)); }
.cta-hero__inner { position: relative; z-index: 2; }
.cta-hero__title { font-size: 40px; font-weight: 600; line-height: 1.2; max-width: 640px; }
.cta-hero__sub { margin-top: 20px; font-size: 18px; color: rgba(255,255,255,.85); max-width: 560px; line-height: 1.55; }
.cta-hero__btn { margin-top: 32px; }

/* Плавающая карточка-слайд (замер / дилеры) */
.float-card {
	position: absolute; z-index: 3; top: 50%; right: 8%; transform: translateY(-50%);
	width: 346px; background: #fff; color: var(--c-ink);
	border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-float);
}
.float-card__img { aspect-ratio: 346/230; background: #ddd center/cover no-repeat; }
.float-card__body { padding: 24px; }
.float-card__title { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.float-card__text { font-size: 15px; color: var(--c-muted); line-height: 1.55; }
.float-card__meta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--c-line-soft); font-size: 14px; color: var(--c-muted-2); }

/* ==========================================================================
   Эксплуатационные свойства (слайдер + карточки)
   ========================================================================== */
.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.slider__track { display: flex; transition: transform .45s ease; }
.slider__slide { min-width: 100%; }
.slider__slide img { width: 100%; aspect-ratio: 1444/650; object-fit: cover; }
.slider__dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; background: rgba(20,24,28,.35); padding: 8px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.slider__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); transition: .2s; }
.slider__dot.is-active { background: #fff; width: 22px; border-radius: 999px; }

.features-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); margin-top: 40px; }
.fcard { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); }
.fcard__icon { width: 52px; height: 52px; border-radius: 13px; background: var(--c-teal); display:flex; align-items:center; justify-content:center; color:#fff; margin-bottom: 22px; }
.fcard__icon svg { width: 24px; height: 24px; }
.fcard__title { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.fcard__text { font-size: 15px; color: var(--c-muted); line-height: 1.5; }

/* ==========================================================================
   Производство (видео + карточки)
   ========================================================================== */
.video {
	position: relative; border-radius: var(--radius-lg); overflow: hidden;
	aspect-ratio: 1444 / 650; background: #333 center/cover no-repeat;
	display: flex; align-items: center; justify-content: center;
}
.video__play {
	width: 88px; height: 88px; border-radius: 50%; background: var(--c-teal);
	display: flex; align-items: center; justify-content: center; color: #fff;
	transition: transform .2s; box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.video__play:hover { transform: scale(1.06); }
.video__play svg { width: 30px; height: 30px; margin-left: 4px; }
/* Плеер вставляется скриптом поверх постера. inset + contain — чтобы кадр
   любого соотношения сторон не вылезал за скруглённый контейнер. */
.video__player {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: contain; background: #000; border-radius: inherit; display: block;
}
.video.is-playing { background-image: none !important; background-color: #000; }

/* Блок производства: подпись, видео, фото */
.prod { margin-bottom: 56px; }
.prod__title { font-size: 26px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.prod__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--gap); }
.prod__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: #ddd; }

/* ==========================================================================
   Сопутствующая продукция
   ========================================================================== */
/* Макет: 3 колонки по 467px, зазор 20 */
.rp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.rpcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.rpcard__img { aspect-ratio: 467/309; background: #ddd center/cover no-repeat; }
.rpcard__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.rpcard__title { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.rpcard__text { font-size: 15px; color: var(--c-muted); line-height: 1.5; }
.rpcard__btn { margin-top: auto; padding-top: 20px; }

/* ==========================================================================
   Контроль качества (3 карточки)
   ========================================================================== */
.qc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.qcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.qcard__img { aspect-ratio: 468/310; background: #ddd center/cover no-repeat; }
.qcard__body { padding: 28px; }
.qcard__title { font-size: 22px; font-weight: 600; margin-bottom: 14px; }
.qcard__text { font-size: 15px; color: var(--c-muted); line-height: 1.6; }
.qcard__meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--c-line-soft); font-size: 14px; color: var(--c-muted-2); }

/* ==========================================================================
   Монтаж (фото + сетка 2x2)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 670/525; background:#ddd center/cover no-repeat; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.mcard { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-card); }
.mcard__title { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.mcard__text { font-size: 15px; color: var(--c-muted); line-height: 1.5; }

/* ==========================================================================
   Наши работы (слайдер объектов)
   ========================================================================== */
.works__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.works__nav { display: flex; gap: 12px; flex-shrink: 0; }
.arrow-btn { width: 52px; height: 52px; border: 1px solid var(--c-line); border-radius: 12px; display:flex; align-items:center; justify-content:center; background:#fff; color: var(--c-ink); transition: .2s; }
.arrow-btn:hover { border-color: var(--c-teal); color: var(--c-teal); }
.arrow-btn svg { width: 20px; height: 20px; }
.works__viewport { overflow: hidden; }
.works__track { display: flex; gap: 20px; transition: transform .45s ease; }
/* Макет: карточка 419px, ряд выходит за правый край — это карусель */
.wcard { flex: 0 0 420px; }
.wcard__img { aspect-ratio: 420/500; border-radius: var(--radius); overflow: hidden; background:#ddd center/cover no-repeat; margin-bottom: 20px; }
.wcard__title { font-size: 20px; font-weight: 600; line-height: 1.25; margin-bottom: 8px; }
.wcard__meta { font-size: 15px; color: var(--c-muted); line-height: 1.5; }

/* ==========================================================================
   Отзывы
   ========================================================================== */
/* Ровные ряды отзывов с одинаковой высотой карточек внутри ряда. */
.reviews-masonry { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.rvcard {
	background: #fff; border-radius: var(--radius); padding: 28px;
	box-shadow: var(--shadow-card); display: flex; flex-direction: column; min-width: 0;
	margin: 0;
}
/* Длинный отзыв обрезается до 6 строк; разворачивает кнопка (initReviews). */
.rvcard__text {
	position: relative; font-size: 15px; color: var(--c-muted); line-height: 1.6; flex-shrink: 0; overflow-wrap: anywhere;
	overflow: hidden; max-height: calc(1.6em * 6);
}
.rvcard__text p + p { margin-top: 10px; }
.rvcard.is-open .rvcard__text { max-height: none; }
.rvcard.is-clamped:not(.is-open) .rvcard__text::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2.2em;
	background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none;
}
.rvcard__more {
	align-self: flex-start; margin-bottom: 22px;
	margin-top: 12px; padding: 0; font: inherit; font-size: 14px; font-weight: 600;
	color: var(--c-teal); background: none; border: 0; cursor: pointer;
}
.rvcard__more:hover { color: var(--c-teal-dark); text-decoration: underline; }
.rvcard__author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--c-line-soft); }
/* Фотографий авторов нет — кружок с первой буквой имени, цвет из палитры. */
.rvcard__ava {
	width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 18px; font-weight: 700; line-height: 1; text-transform: uppercase;
}
.rvcard__text { margin-bottom: 22px; }
.rvcard__text + .rvcard__more:not([hidden]) { margin-top: -10px; }
.rvcard__name { font-size: 15px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }

/* ==========================================================================
   Правовая страница (политика конфиденциальности)
   ========================================================================== */
.container--narrow { max-width: 940px; }
.legal { padding-top: 56px; }
.legal__title { font-size: 38px; font-weight: 800; line-height: 1.15; margin-bottom: 28px; }
.legal__h2 { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 36px 0 14px; }
.legal__p { font-size: 16px; line-height: 1.7; color: var(--c-ink-soft); margin-bottom: 14px; }
.legal__p a { color: var(--c-teal); text-decoration: underline; }
.legal__back { margin-top: 40px; }

@media (max-width: 720px) {
	.legal__title { font-size: 28px; }
	.legal__h2 { font-size: 19px; }
	.legal__p { font-size: 15px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: 470px 1fr; gap: 56px; align-items: start; }
.faq__aside {
	position: relative; border-radius: var(--radius-lg); overflow: hidden;
	min-height: 560px; background: #333 center/cover no-repeat; color: #fff;
	padding: 44px; display: flex; flex-direction: column;
}
.faq__aside::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(10,12,14,.35), rgba(10,12,14,.75)); }
.faq__aside > * { position: relative; z-index: 2; }
.faq__aside .eyebrow { color: rgba(255,255,255,.7); }
.faq__aside-title { font-size: 34px; font-weight: 600; line-height: 1.2; }
.faq__phone-card { margin-top: auto; background:#fff; color: var(--c-ink); border-radius: var(--radius); padding: 24px; }
.faq__phone-label { font-size: 14px; color: var(--c-muted); }
.faq__phone-num { font-size: 30px; font-weight: 700; margin: 4px 0; white-space: nowrap; }
.faq__phone-note { font-size: 14px; color: var(--c-muted); }

.acc__item { border-bottom: 1px solid var(--c-line); }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 26px 0; font-size: 22px; font-weight: 600; color: var(--c-ink); }
.acc__toggle { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; border: 1px solid var(--c-line); display:flex; align-items:center; justify-content:center; transition:.2s; }
.acc__toggle svg { width: 18px; height: 18px; transition: transform .25s; }
.acc__item.is-open .acc__toggle { background: var(--c-teal); border-color: var(--c-teal); color:#fff; }
.acc__item.is-open .acc__toggle svg { transform: rotate(180deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc__a-inner { padding: 0 0 26px; font-size: 17px; color: var(--c-muted); line-height: 1.6; max-width: 640px; }

/* ==========================================================================
   Контакты
   ========================================================================== */
.contacts-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); margin-bottom: var(--gap); }
.ccard { background:#fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); }
.ccard__icon { width: 52px; height: 52px; border-radius: 13px; background: var(--c-teal); display:flex; align-items:center; justify-content:center; color:#fff; margin-bottom: 24px; }
.ccard__icon svg { width: 24px; height: 24px; }
.ccard__label { font-size: 14px; color: var(--c-muted); margin-bottom: 8px; }
.ccard__value { font-size: 18px; font-weight: 600; line-height: 1.4; }

/* Макет: карта 1078px, правая колонка 346px, зазор 20px */
.contacts-bottom { display: grid; grid-template-columns: 1fr 346px; gap: 20px; }
.contacts-map {
	position: relative;
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	min-height: 499px;   /* макет: карта 1076×499 */
	background: #2a2f36 center/cover no-repeat;
}
.contacts-map__btn {
	position: absolute; left: 24px; bottom: 24px;
	display: inline-flex; align-items: center;
	padding: 14px 24px;
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--c-ink);
	font-size: 16px; font-weight: 600;
	box-shadow: var(--shadow-card);
	transition: background .2s, color .2s;
}
.contacts-map:hover .contacts-map__btn { background: var(--c-teal); color: #fff; }
.contacts-office { background:#fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-card); display:flex; flex-direction:column; }
.contacts-office__label { font-size: 15px; color: var(--c-muted); line-height: 1.5; margin-bottom: 20px; }
.contacts-office__addr { font-size: 20px; font-weight: 600; line-height: 1.4; margin-bottom: 20px; }
.contacts-office__phone { font-size: 22px; font-weight: 700; }
.contacts-office__btn { margin-top: auto; padding-top: 28px; }

/* ==========================================================================
   Футер
   ========================================================================== */
.footer { background: var(--c-dark); color: rgba(255,255,255,.85); padding: 56px 0 40px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__tag { font-size: 13px; color: rgba(255,255,255,.6); max-width: 190px; line-height: 1.35; }
.footer__actions { display: flex; gap: 16px; margin: 0 auto 0 20px; }
.footer .header__phone a { color: #fff; }
.footer .header__phone .email { color: rgba(255,255,255,.65); }
.footer__mid { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding: 32px 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 16px 32px; max-width: 720px; }
.footer__nav a { font-size: 16px; color: rgba(255,255,255,.8); }
.footer__nav a:hover { color: #fff; }
.footer__addr { text-align: right; font-size: 16px; color: rgba(255,255,255,.8); line-height: 1.5; }
.footer__addr a { color: var(--c-teal-bright); text-decoration: underline; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: #fff; }

/* ==========================================================================
   Модальное окно
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15,18,22,.6); backdrop-filter: blur(3px); }
.modal__box { position: relative; z-index: 2; background:#fff; border-radius: var(--radius-lg); padding: 40px; width: 440px; max-width: 100%; box-shadow: var(--shadow-float); }
.modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display:flex; align-items:center; justify-content:center; color: var(--c-muted); background: var(--c-bg-2); }
.modal__close:hover { color: var(--c-ink); }
.modal__title { font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.modal__sub { font-size: 16px; color: var(--c-muted); margin-bottom: 24px; }

.modal__sub--accent { color: var(--c-ink); font-weight: 600; }

/* ==========================================================================
   Статус отправки формы
   ========================================================================== */
/* По умолчанию блок скрыт — появляется только после отправки. */
.form-status { display: none; }
.form-status.is-visible {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 16px;
	padding: 18px 20px;
	border-radius: var(--radius-sm);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	animation: uw-status-in .28s ease;
}
.form-status__icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 1px; }
.form-status--ok {
	background: #E8F6EF;
	border: 1px solid #9AD9BE;
	color: #1B7A52;
}
.form-status--err {
	background: #FDECEA;
	border: 1px solid #F2B3AC;
	color: #B3261E;
	font-weight: 500;
	font-size: 15px;
}
@keyframes uw-status-in {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: none; }
}

/* Заявка ушла — поля убираем, чтобы на их месте осталось только подтверждение. */
.form.is-sent .form__fields { display: none; }
.form.is-sent .form-status.is-visible { margin-top: 0; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
/* Тег-подзаголовок у логотипа — только на широких экранах */
@media (max-width: 1600px) {
	.brand__tag { display: none; }
}

/* Навигация сворачивается в бургер раньше, чем меняются сетки контента */
@media (max-width: 1300px) {
	.nav { display: none; }
	.header__inner { padding-right: 56px; }
	.burger { display: flex; position: absolute; top: 12px; right: 0; }
}

@media (max-width: 1280px) {
	.h1, .hero__title { font-size: 48px; }
	.section-title, .h2, .cta-hero__title { font-size: 34px; }
	.reviews-masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
	.section { padding: 72px 0; }
	.cards-4, .catalog-grid, .rp-grid, .features-cards, .contacts-cards { grid-template-columns: repeat(2, 1fr); }
	.reviews-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.prod__photos { grid-template-columns: repeat(3, 1fr); }
	.qc-grid { grid-template-columns: 1fr; }
	.wcard { flex-basis: calc((100% - var(--gap)) / 2); }
	.header__phone .email { display: none; }
	.hero__grid { grid-template-columns: 1fr; }
	.hero__col { min-height: 0; }
	.hero__title { margin-top: 120px; padding-top: 0; }
	.lead-card { width: 100%; max-width: 460px; }
	.split, .cta__split, .faq, .contacts-bottom { grid-template-columns: 1fr; gap: 32px; }
	.float-card { position: static; transform: none; width: 100%; max-width: 380px; margin: 32px auto 0; }
	.cta__card, .cta__card--wide { width: 100%; max-width: 100%; margin: 0; }
	.cta--top { padding-top: 48px; }
	.contacts-office { max-width: none; }
	.faq { }
	.faq__aside { min-height: 360px; }
	.footer__top, .footer__mid, .footer__bottom { flex-direction: column; align-items: flex-start; }
	.footer__actions { margin: 16px 0; }
	.footer__addr { text-align: left; }
}

@media (max-width: 720px) {
	.container { padding: 0 18px; }
	.section { padding: 56px 0; }
	.h1, .hero__title { font-size: 34px; }
	.section-title, .h2, .cta-hero__title, .cta__title { font-size: 26px; }
	.section-sub { font-size: 17px; }
	.hero { min-height: 0; }
	.hero__inner { padding-top: 40px; padding-bottom: 48px; }
	.hero__title { margin-top: 40px; padding-top: 0; }
	.cards-4, .catalog-grid, .rp-grid, .features-cards, .contacts-cards, .mini-grid, .footer__nav { grid-template-columns: 1fr; }
	.reviews-masonry { grid-template-columns: repeat(1, minmax(0, 1fr)); }
	.prod__photos { grid-template-columns: 1fr; }
	.prod__title { font-size: 22px; }
	.wcard { flex-basis: 100%; }
	.header__inner { height: 72px; gap: 12px; }
	/* Порядок в шапке: логотип → номер → соцсети */
	.header__inner .header__phone { margin-left: auto; order: 1; }
	.header__contacts .socials { order: 2; }
	.faq__phone-num { font-size: 26px; }
	.header__phone a { font-size: 16px; }
	.header__cta { display: none; }
	/* Мессенджеры остаются в шапке на мобильной, но компактнее */
	.header__contacts { gap: 10px; }
	/* Телефон и мессенджеры — одной строкой, иначе шапка занимает три строки */
	.header__contacts { flex-wrap: nowrap; gap: 10px; }
	.socials { display: flex; gap: 6px; flex-shrink: 0; }
	/* Подложка-кружок внутри SVG, поэтому svg равен размеру иконки */
	.social { width: 34px; height: 34px; }
	.social svg { width: 34px; height: 34px; }
	.header__phone a { font-size: clamp(15px, 4.4vw, 18px); }
	.lead-card, .cta__card, .faq__aside, .modal__box { padding: 24px; }
	.footer__top, .footer__mid, .footer__bottom { flex-direction: column; align-items: flex-start; }
	.footer__actions { margin: 16px 0; flex-wrap: wrap; }
	.footer__addr { text-align: left; }
	.contacts-bottom { grid-template-columns: 1fr; }
	.works__head { flex-direction: column; }
}

/* Только на очень узких экранах логотип в верхнем ряду, номер и соцсети — во втором */
@media (max-width: 460px) {
	.header__inner { flex-wrap: wrap; height: auto; padding: 12px 56px 12px 0; row-gap: 10px; }
	.header__contacts { flex-basis: 100%; justify-content: flex-start; gap: 14px; }
	.header__inner .header__phone { margin-left: 0; }
	.header__phone a { font-size: 18px; }
}

/* Каталог на мобильной — горизонтальная карусель со свайпом вместо длинной колонки */
@media (max-width: 720px) {
	.catalog-grid {
		display: flex;
		grid-template-columns: none;
		gap: 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scroll-padding-left: 18px;
		margin: 0 -18px;
		padding: 4px 18px 12px;
		scrollbar-width: none;
	}
	.catalog-grid::-webkit-scrollbar { display: none; }
	.catalog-grid .pcard {
		flex: 0 0 82%;
		scroll-snap-align: start;
	}
	.catalog__more { margin-top: 28px; }
}

/* ==========================================================================
   Появление карточек по скроллу (замер, дилеры)
   ========================================================================== */
/* Класс js-reveal ставит скрипт — без JS карточки видны сразу. */
html.js-reveal [data-reveal] {
	opacity: 0;
	transform: translateY(56px);
	transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
	transition-delay: calc(var(--reveal-i, 0) * .12s);
	will-change: opacity, transform;
}
html.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html.js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Карточки на экранах «Замер» и «Дилеры».
   Макет: две карточки по 346px в 3-й и 4-й колонках сетки контейнера,
   вторая смещена вниз по диагонали. Появляются по скроллу (initReveal).
   Величину смещения можно переопределить переменной --stagger. */
.reveal-stack {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: 50%;
	transform: translateX(calc(var(--container) / -2 + 40px + 732px)) translateY(-50%);
	display: grid;
	grid-template-columns: 346px 346px;
	column-gap: 20px;
	align-items: start;
}
.reveal-stack .float-card {
	position: static; transform: none; width: 346px; margin: 0;
	grid-row: 1;
}
.reveal-stack .float-card:nth-child(1) { grid-column: 1; }
/* Диагональ: вторая карточка ниже первой, но обе умещаются в один экран.
   В макете смещение равно высоте карточки, но тогда она уходит за секцию —
   заказчик отметил это как «идёт на несколько экранов». */
.reveal-stack .float-card:nth-child(2) { grid-column: 2; margin-top: var(--stagger, 110px); }

.float-card__img--tall { aspect-ratio: 346/270; }   /* дилеры */
.float-card--compact .float-card__body { padding: 22px 24px 24px; }
.float-card--compact .float-card__title { font-size: 20px; margin-bottom: 8px; }
.float-card--compact .float-card__text { font-size: 15px; line-height: 1.5; }
.float-card--compact .float-card__meta { margin-top: 16px; padding-top: 14px; font-size: 13px; }

/* ==========================================================================
   Попап «Подробнее» — карточка товара
   Макет: окно 1140×500, скругление 30, поля 50; фото 490×311 (скругление 15)
   со слайдером-точками; правая колонка 490: характеристики, цена, кнопка 50px.
   ========================================================================== */
.modal__box--product { width: 1140px; border-radius: 30px; padding: 50px; }
.modal__close--dark {
	width: 44px; height: 44px; top: 30px; right: 24px;
	background: var(--c-ink); color: #fff; border-radius: 50%;
}
.modal__close--dark:hover { color: #fff; opacity: .85; }
.pinfo { display: grid; grid-template-columns: 1fr 490px; gap: 60px; }
.pinfo__left { min-width: 0; }
.pinfo__right { min-width: 0; display: flex; flex-direction: column; }
.pinfo__order { margin-top: auto; }
.pinfo__title { font-size: 24px; font-weight: 600; line-height: 1.25; padding-right: 60px; }
.pinfo__desc { margin-top: 16px; font-size: 14px; line-height: 1.55; color: var(--c-muted); }
.pinfo__photo {
	position: relative;
	margin-top: 20px;
	aspect-ratio: 490/311;
	border-radius: 15px;
	background: #ddd center/cover no-repeat;
}
.pinfo__dots {
	position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
	display: flex; gap: 8px;
	padding: 6px 10px; border-radius: 10px;
	background: rgba(255,255,255,.9);
}
.pinfo__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--c-line); transition: background .2s, transform .2s;
}
.pinfo__dot.is-active { background: var(--c-teal); transform: scale(1.25); }
.pinfo__specs { margin: 6px 0 0; display: grid; gap: 5px; }
.pinfo__row { display: grid; grid-template-columns: 132px 1fr; gap: 10px; font-size: 14px; line-height: 1.5; }
.pinfo__row dt { margin: 0; color: var(--c-muted); }
.pinfo__row dd { margin: 0; }
.pinfo__color { font: inherit; color: inherit; padding: 0; }
.pinfo__color:hover { color: var(--c-teal); }
.pinfo__color.is-active { font-weight: 700; color: var(--c-teal); }
.pinfo__price { margin-top: 22px; font-size: 20px; font-weight: 700; line-height: 1.45; }
.pinfo__price span { display: block; font-size: 15px; font-weight: 500; color: var(--c-muted); }
.pinfo__order { height: 50px; border-radius: 8px; }

@media (max-width: 1180px) {
	.modal__box--product { width: 100%; }
	.pinfo { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 780px) {
	.modal__box--product { padding: 24px; border-radius: 20px; }
	.modal__close--dark { top: 16px; right: 16px; }
	.pinfo { grid-template-columns: 1fr; gap: 20px; }
	.pinfo__title { padding-right: 52px; }
}

/* ==========================================================================
   Адаптив для новых блоков
   ========================================================================== */
@media (max-width: 1080px) {
	.cta, .cta-hero { min-height: 0; }
	/* Колонка карточек выходит из абсолютного позиционирования:
	   одна колонка, без диагонального смещения. */
	.reveal-stack {
		position: static; transform: none;
		grid-template-columns: 1fr;
		row-gap: 20px;
		max-width: 520px; margin: 32px auto 0;
		padding: 0 20px; box-sizing: border-box;
	}
	.reveal-stack .float-card { width: 100%; }
	.reveal-stack .float-card:nth-child(2) { grid-column: 1; margin-top: 0; }
}

@media (max-width: 720px) {
	.contacts-map { min-height: 320px; }
}

/* Колонка карточек внутри сетки (дилеры) — не поверх фото, а во второй колонке */
.reveal-stack--inline { position: static; transform: none; width: 100%; max-width: 400px; margin-left: auto; }

/* Кликабельные телефон и e-mail в карточках контактов */
.ccard__value a { color: inherit; transition: color .2s; }
.ccard__value a:hover { color: var(--c-teal); }

/* ==========================================================================
   Исправления мобильной вёрстки
   ========================================================================== */

/* 1. CTA-экраны стали flex-контейнерами ради вертикального центрирования.
      На узких экранах колонка карточек выходит из абсолютного позиционирования
      и иначе встала бы В СТРОКУ рядом с текстом. Возвращаем блочный поток. */
@media (max-width: 1080px) {
	.cta, .cta--center, .cta-hero { display: block; }
	.reveal-stack .float-card { max-width: none; }
	.reveal-stack--inline { max-width: 520px; margin: 32px auto 0; }
}

/* 2. Длинный попап (карточка товара) не помещался в экран телефона:
      .modal центрировал содержимое и не прокручивался — кнопки были недоступны.
      margin:auto центрирует, пока есть место, и не обрезает, когда места нет. */
.modal { overflow-y: auto; align-items: flex-start; }
.modal__box { margin: auto; }
.modal__box--wide { overflow: visible; }
.pinfo__img { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }

@media (max-width: 780px) {
	.pinfo__img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

/* 3. На самых узких экранах номер и мессенджеры не помещались в одну строку. */
@media (max-width: 460px) {
}

/* ==========================================================================
   Попап «Спасибо»
   ========================================================================== */
.modal__box--thanks { width: 440px; text-align: center; }
.thanks__icon {
	width: 64px; height: 64px; margin: 0 auto 20px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: #E8F6EF;
	color: #1B7A52;
}
.thanks__icon svg { width: 30px; height: 30px; }
.thanks__title { font-size: 24px; font-weight: 600; line-height: 1.25; margin-bottom: 10px; }
.thanks__text { font-size: 16px; color: var(--c-muted); line-height: 1.5; margin-bottom: 26px; }

/* Карточки «Объекты под ключ» на узких экранах — обычная сетка вместо 419px */
@media (max-width: 1080px) {
	.wcard { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 720px) {
	.wcard { flex: 0 0 100%; }
	.modal__box--thanks { width: 100%; }
}

/* Колонка текста на фото-экранах */
.cta-hero__col { max-width: 700px; }
.eyebrow--light { color: rgba(255,255,255,.75); }

/* Акцент на описании Union Pulse 2D над оптовой ценой. */
.pinfo__desc--highlight { padding: 12px 14px; border-left: 3px solid var(--c-teal); border-radius: 6px; background: #f0f7f8; color: var(--c-ink); font-weight: 600; }

/* Российское и китайское производство в одном блоке. */
.production-slider { margin-bottom: 56px; }
.production-slider__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 24px; }
.production-slider__controls[hidden], .production-slider__slide[hidden] { display: none; }
.production-slider__tabs { display: flex; gap: 10px; }
.production-slider__tab { padding: 12px 18px; border: 1px solid var(--c-line); border-radius: 10px; background: #fff; color: var(--c-ink); font: inherit; font-weight: 600; cursor: pointer; }
.production-slider__tab.is-active { background: var(--c-teal); border-color: var(--c-teal); color: #fff; }
.production-slider__arrow { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; color: var(--c-teal); font-size: 24px; cursor: pointer; }
.production-slider__slide { margin-bottom: 0; }
.production-slider__slide .prod__title { text-align: center; }
@media (max-width: 720px) {
 .production-slider__controls { gap: 8px; }
 .production-slider__tabs { flex: 1; gap: 6px; }
 .production-slider__tab { flex: 1; padding: 10px 6px; font-size: 12px; }
 .production-slider__arrow { width: 32px; height: 32px; font-size: 20px; }
}

/* Мобильная шапка: логотип, телефон и меню в первом ряду, мессенджеры во втором. */
@media (max-width: 720px) {
 .header .header__inner { display: grid; grid-template-columns: 64px minmax(0, 1fr) 44px; align-items: center; gap: 8px 10px; height: auto; min-height: 72px; padding: 10px 0; }
 .header .brand { grid-column: 1; grid-row: 1; min-width: 0; }
 .header .brand__logo { width: 64px; }
 .header .brand__tag { display: none; }
 .header .header__contacts { display: contents; }
 .header .header__phone { grid-column: 2; grid-row: 1; order: initial; margin: 0; min-width: 0; text-align: right; }
 .header .header__phone a { font-size: clamp(13px, 3.8vw, 17px); }
 .header .header__phone br, .header .header__phone .email, .header .header__cta { display: none; }
 .header .header__contacts .socials { grid-column: 1 / -1; grid-row: 2; order: initial; justify-content: center; gap: 12px; }
 .header .burger { grid-column: 3; grid-row: 1; position: static; display: flex; align-items: center; width: 44px; height: 44px; margin: 0; padding: 8px; flex-shrink: 0; z-index: 101; background: transparent; border: 0; cursor: pointer; }
 .header .burger span { width: 26px; min-height: 2px; flex-shrink: 0; background: var(--c-ink); }
 .header .burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
 .header .burger.is-active span:nth-child(2) { opacity: 0; }
 .header .burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Фотографии выбранного цвета в карточке товара. */
.pinfo__photo-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--c-ink); font-size: 28px; line-height: 1; cursor: pointer; }
.pinfo__photo-arrow.is-prev { left: 10px; }
.pinfo__photo-arrow.is-next { right: 10px; }
.pinfo__photo-arrow[hidden], .pinfo__dots[hidden] { display: none; }

/* На мобильном все расцветки доступны свайпом, кнопка раскрытия не нужна. */
@media (max-width: 720px) {
 #catalog > .container > .catalog__more { display: none; }
 #catalog .catalog-grid .pcard.is-hidden { display: flex; }
}

/* Отступ над карточкой с образцами на телефоне. */
@media (max-width: 720px) {
 .cta.cta--top { padding-top: 32px; }
}

/* Карточка мессенджеров: одна колонка на узких экранах. */
@media (max-width: 1080px) {
 .cta__card--msg .cta__split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
 .cta__card--msg .cta__split > div { min-width: 0; }
 .cta__card--msg .cta__buttons { width: 100%; min-width: 0; }
 .cta__card--msg .cta__buttons .btn { max-width: 100%; min-width: 0; white-space: normal; overflow-wrap: anywhere; text-align: center; }
}
