/*
 * УМКА Клининг - дизайн-система сайта.
 * Значения сняты с утверждённого первого экрана (приложение 13 ТЗ): кнопка #144CEB, фон #F8F8FA,
 * заголовки Unbounded, текст TT Norms Pro. Размеры пересчитаны с эталона к ширине 390 px.
 *
 * Шрифт TT Norms® Pro © TypeType, https://typetype.org - веб-лицензия заказчика (домен cleaning-umka.ru).
 * Шрифт Unbounded © The Unbounded Project Authors - SIL Open Font License 1.1.
 */

@font-face { font-family: "TT Norms Pro"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/TT_Norms_Pro_Medium.woff2") format("woff2"), url("../fonts/TT_Norms_Pro_Medium.woff") format("woff"); }@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url("../fonts/unbounded-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url("../fonts/unbounded-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20BD; }
@font-face { font-family: "Unbounded"; font-weight: 600; font-display: swap; src: url("../fonts/unbounded-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 600; font-display: swap; src: url("../fonts/unbounded-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20BD; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url("../fonts/unbounded-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url("../fonts/unbounded-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20BD; }
/* Пока Unbounded грузится, заголовки набраны Arial, растянутым до размеров Unbounded: при подмене шрифта строки
   не переносятся заново и страница не сдвигается (ТЗ п. 19; без этого сдвиг 0,18 на странице кейса на телефоне).
   Коэффициенты - замер ширины русского текста Unbounded и Arial в браузере. */
@font-face { font-family: "Unbounded Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 129%; ascent-override: 77%; descent-override: 19%; line-gap-override: 0%; }
@font-face { font-family: "Unbounded Fallback"; font-weight: 600; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 127.5%; ascent-override: 78%; descent-override: 19%; line-gap-override: 0%; }
@font-face { font-family: "Unbounded Fallback"; font-weight: 400 500; src: local("Arial"), local("ArialMT"); size-adjust: 135%; ascent-override: 73%; descent-override: 18%; line-gap-override: 0%; }

:root {
  --u-blue: #144CEB;
  --u-blue-hover: #0E3CC4;
  --u-blue-soft: #E8EEFE;
  --u-brand: #2B58D9;
  --u-brand-light: #D3D9EA;
  --u-bg: #F8F8FA;
  --u-surface: #FFFFFF;
  --u-ink: #15161A;
  --u-muted: #55565C;
  --u-line: #E3E5EC;
  --u-star: #F28F1A;
  --u-radius-card: 10px;
  --u-radius-btn: 9px;
  --u-shadow: 0 2px 10px rgba(20, 30, 60, .08);
  --u-shadow-lift: 0 10px 30px rgba(20, 30, 60, .12);
  --u-font: "TT Norms Pro", "Helvetica Neue", Arial, sans-serif;
  --u-display: "Unbounded", "Unbounded Fallback", "TT Norms Pro", Arial, sans-serif;
  --u-gutter: 14px;
  --u-max: 1200px;
  --u-header-h: 58px;
  --u-bar-h: 64px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--u-header-h) + 12px); }
body.umka { background: var(--u-bg); color: var(--u-ink); font-family: var(--u-font); font-weight: 500;
  font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; margin: 0; }
body.umka.has-umka-bar { padding-bottom: calc(var(--u-bar-h) + env(safe-area-inset-bottom)); }
.umka img { max-width: 100%; height: auto; }
.umka a { color: var(--u-blue); }
.umka h1, .umka h2, .umka h3, .umka .elementor-heading-title { font-family: var(--u-display); color: var(--u-ink); letter-spacing: -0.01em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.umka :focus-visible { outline: 3px solid rgba(20, 76, 235, .45); outline-offset: 2px; }

/* ---------- Шапка ---------- */
.u-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--u-line); }
.u-header__in { max-width: var(--u-max); margin: 0 auto; height: var(--u-header-h); padding: 0 var(--u-gutter);
  display: flex; align-items: center; gap: 18px; }
.u-logo img { display: block; height: 38px; width: auto; }
.u-nav { display: none; }
.u-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.u-nav a { color: var(--u-ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
.u-nav a:hover, .u-nav .current-menu-item > a { color: var(--u-blue); }
.u-header__contacts { display: none; margin-left: auto; align-items: center; gap: 14px; }
.u-header__phones { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.u-header__phones a { color: var(--u-ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
.u-header__phones a + a { color: var(--u-muted); font-size: 13px; }
.u-msgr { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center;
  border: 1.5px solid var(--u-line); color: var(--u-blue); }
.u-msgr svg { width: 18px; height: 18px; }
.u-burger { margin-left: auto; width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center;
  align-items: flex-end; gap: 7px; background: none; border: 0; padding: 0 2px; cursor: pointer; }
.u-burger span { display: block; width: 32px; height: 2.5px; background: #1D2A4A; border-radius: 2px; transition: transform .2s, opacity .2s; }
.u-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.u-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.u-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
.u-drawer { position: fixed; inset: var(--u-header-h) 0 0 0; background: #fff; z-index: 49; padding: 18px var(--u-gutter) 120px;
  overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.u-drawer.is-open { transform: none; opacity: 1; visibility: visible; }
.u-drawer ul { list-style: none; margin: 0 0 22px; padding: 0; }
.u-drawer li a { display: block; padding: 13px 0; border-bottom: 1px solid var(--u-line); color: var(--u-ink); font-size: 18px; text-decoration: none; }
.u-drawer__dirs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.u-drawer__contacts a { display: block; color: var(--u-ink); text-decoration: none; font-size: 18px; margin-bottom: 8px; }
.u-drawer__msgrs { display: flex; gap: 10px; margin-top: 12px; }

/* ---------- Кнопки и ссылки ---------- */
.u-btn, .umka .u-btn .elementor-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 12px 20px; border-radius: var(--u-radius-btn); background: var(--u-blue); color: #fff !important; font-family: var(--u-display);
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .15s; text-align: center; }
.u-btn:hover, .umka .u-btn .elementor-button:hover { background: var(--u-blue-hover); }
.umka .u-btn .elementor-button { width: 100%; }
/* класс u-btn на виджете-кнопке Elementor вешается на обёртку: оформляем только саму кнопку */
.umka .elementor-widget-button.u-btn { background: none !important; box-shadow: none !important; border: 0 !important; padding: 0; min-height: 0; display: block; }
.u-btn--ghost, .umka .u-btn--ghost .elementor-button { background: #fff; color: var(--u-blue) !important; border: 1.5px solid var(--u-blue) !important; }
.u-btn--ghost:hover, .umka .u-btn--ghost .elementor-button:hover { background: var(--u-blue-soft); }
.u-btn--sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.u-link-arrow { color: var(--u-blue); text-decoration: none; font-size: 17px; line-height: 1.35; }
.u-link-arrow::after { content: " \2192"; }
/* ссылки внутри текста отличимы не только цветом (WCAG 1.4.1): ответы на вопросы, абзацы страниц */
.u-main p a:not([class]), .u-faq a, .e-n-accordion-item a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Сетка Elementor: свои отступы ---------- */
.umka .e-con.u-sec { --padding-top: 44px; --padding-bottom: 44px; --padding-left: var(--u-gutter); --padding-right: var(--u-gutter); }
.umka .e-con.u-sec > .e-con-inner { max-width: var(--u-max); }
/* содержимое блоков - по краю шапки: шапка - это --u-max минус поля --u-gutter, блоки были на --u-max целиком
   (на 1280 px край шапки 68 px, блоков 40 px; замечание проверки 24.11). Действует на новых, старых страницах и кейсах */
.umka .u-main .elementor > .e-con.e-parent > .e-con-inner { max-width: calc(var(--u-max) - 2 * var(--u-gutter)) !important; }
.umka .e-con.u-sec--white { background: #fff; }
.umka .e-con.u-sec--blue { background: var(--u-blue); color: #fff; }
.umka .e-con.u-sec--blue .elementor-heading-title, .umka .u-sec--blue p { color: #fff; }
.umka .u-sec--blue .u-card p { color: var(--u-muted); }
.umka .u-sec--blue .u-card h3, .umka .u-sec--blue .u-card .u-card__h { color: var(--u-ink); }
.umka .e-con.u-sec--soft { background: #EEF2FC; }
.umka .e-con.u-flat { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; --gap: 0px; }
.umka .elementor-widget:not(:last-child) { margin-bottom: 0; }
.u-h2 .elementor-heading-title { font-size: 24px; line-height: 1.2; font-weight: 700; }
.u-h3 .elementor-heading-title { font-size: 18px; line-height: 1.25; font-weight: 600; }
.u-lead, .u-lead p { font-size: 17px; color: var(--u-muted); margin: 0; }
.u-kicker .elementor-heading-title { font-family: var(--u-font); font-size: 13px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .08em; color: var(--u-blue); }
.u-sec--blue .u-kicker .elementor-heading-title { color: #C9D6FF; }

/* ---------- Первый экран главной (приложение 13) ---------- */
.umka .e-con.u-hero { --padding-top: 14px; --padding-bottom: 18px; --padding-left: 0; --padding-right: 0; --gap: 0px; background: var(--u-bg); }
.u-hero__title .elementor-heading-title { font-size: 26px; line-height: 1.15; font-weight: 700; padding: 0 var(--u-gutter); }
.u-hero__sub { padding: 0 var(--u-gutter); }
.u-hero__sub, .u-hero__sub p { font-size: 18px; line-height: 1.3; color: var(--u-muted); margin: 4px 0 0; }
.umka .e-con.u-flat, .umka .e-con.u-hero { gap: 0 !important; }
.u-hero__media { width: 100%; margin-top: 12px; }
.u-hero__frame { position: relative; aspect-ratio: 390 / 355; overflow: hidden; background: #dfe3ea; }
.umka .u-hero__frame > img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: 62% 30%; }
/* горизонтальный кадр: прижат к левому краю - окно слева, клинер справа, как на эталоне (подбор - сравнение с эталоном попиксельно) */
.umka .u-hero__frame > img.u-hero__img--wide { object-position: 0% 50%; }
.u-trust { position: absolute; left: 20px; top: 54px; display: flex; flex-direction: column; gap: 16px; width: 166px; }
.u-trust__card { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .96); border-radius: 8px;
  padding: 7px 10px; min-height: 50px; box-shadow: 0 1px 6px rgba(15, 25, 50, .10); }
.u-trust__card svg { flex: 0 0 26px; width: 26px; height: 26px; }
a.u-trust__card { text-decoration: none; color: inherit; } /* плитка рейтинга - ссылка на Яндекс Карты */
.u-trust__card b { display: block; color: var(--u-blue); font-family: var(--u-display); font-weight: 600; font-size: 12px; line-height: 1.15; white-space: nowrap; letter-spacing: -0.01em; }
.u-trust__card span { display: block; color: #2C2E35; font-size: 12px; line-height: 1.15; }
.u-hero__actions { padding: 16px var(--u-gutter) 0; display: flex; flex-direction: column; gap: 10px; align-items: stretch; text-align: center; }
.u-hero__prices { display: block; text-align: center; margin-top: 22px; font-size: 21px; line-height: 1.25; color: var(--u-blue); text-decoration: none; }
.u-hero__prices b { font-family: var(--u-display); font-weight: 600; }

/* ---------- Карточки ---------- */
.u-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.u-card { background: var(--u-surface); border-radius: var(--u-radius-card); box-shadow: var(--u-shadow); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.u-card--link { color: inherit !important; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.u-card--link:hover { box-shadow: var(--u-shadow-lift); transform: translateY(-2px); }
.u-card h3, .u-card .u-card__h { margin: 0; font-size: 18px; line-height: 1.25; font-weight: 600; }
.u-card p { margin: 0; color: var(--u-muted); font-size: 15px; }
.u-card__price { color: var(--u-blue); font-family: var(--u-display); font-weight: 600; font-size: 17px; }
.u-card__meta { color: var(--u-muted); font-size: 14px; }
.u-card__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.u-card__actions .u-btn { flex: 1 1 140px; }
.u-dir { position: relative; overflow: hidden; border-radius: 14px; min-height: 230px; color: #fff !important; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
/* z-index 0: правило .u-dir > * ниже поднимало и фото на 2 - над затемнением ::before (1), и затемнения не было видно */
.umka .u-dir img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; z-index: 0; }
/* на 768-1100 карточка высокая и подпись начинается с середины, где затемнение было слабым - на светлых фото текст
   терялся (ТЗ п. 17: текст контрастный). Затемнение плотнее с первой трети, плюс лёгкая тень у текста */
.u-dir::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 60, .1) 0%, rgba(8, 20, 60, .62) 35%, rgba(8, 20, 60, .92) 100%); z-index: 1; }
.u-dir :is(h3, p) { text-shadow: 0 1px 2px rgba(8, 20, 60, .45); }
.u-dir > * { position: relative; z-index: 2; }
.u-dir h3 { color: #fff; margin: 0 0 6px; font-size: 21px; font-weight: 700; }
.u-dir p { margin: 0 0 14px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.u-dir .u-btn { align-self: flex-start; }
.u-icon-tile { width: 44px; height: 44px; border-radius: 10px; background: var(--u-blue-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--u-blue); }
.u-icon-tile svg { width: 24px; height: 24px; }

/* Примеры работ */
.u-case { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--u-shadow); display: flex; flex-direction: column; color: inherit !important; text-decoration: none; }
.u-case img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; }
.u-case__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.u-case__tag { align-self: flex-start; font-size: 12px; padding: 3px 9px; border-radius: 20px; background: var(--u-blue-soft); color: var(--u-blue); }
.u-case .u-case__title, .u-case h3 { margin: 0; font-size: 17px; line-height: 1.25; font-weight: 600; }
.u-case__nums { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--u-muted); font-size: 14px; }
.u-case__nums b { color: var(--u-blue); font-family: var(--u-display); font-weight: 600; }
.u-case__more { margin-top: auto; padding-top: 4px; font-size: 15px; } /* «Посмотреть кейс» - внизу карточки */
.u-case__sum { margin: 0; color: var(--u-muted); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.u-case[hidden] { display: none !important; }
/* вся лента примеров работ: столбик на телефоне, 2 и 3 колонки шире */
.u-grid--cases { grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .u-grid--cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .u-grid--cases { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
/* страница кейса: параметры и призыв */
.u-casehead { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 8px; }
.u-casehead__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.u-casehead__facts div { background: #fff; border-radius: 10px; box-shadow: var(--u-shadow); padding: 8px 12px; min-width: 110px; }
.u-casehead__facts dt { font-size: 12px; color: var(--u-muted); margin: 0; }
.u-casehead__facts dd { margin: 2px 0 0; font-family: var(--u-display); font-weight: 600; font-size: 15px; color: var(--u-ink); }
.u-casecta { background: var(--u-blue-soft); border-radius: 16px; padding: 22px 20px; margin: 18px 0 6px; display: flex; flex-direction: column; gap: 10px; }
.u-casecta h2 { margin: 0; font-family: var(--u-display); font-size: 22px; line-height: 1.2; color: var(--u-ink); }
.u-casecta p { margin: 0; color: #33353C; }
.u-casecta .u-cta-row { margin: 4px 0 0; }
.u-casecta__more { font-size: 15px; }
.u-casecta__more a { color: var(--u-blue); }
.u-filter { display: flex; gap: 8px; margin: 0 0 14px; overflow-x: auto; }
.u-filter button { border: 1.5px solid var(--u-line); background: #fff; border-radius: 20px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; color: var(--u-ink); white-space: nowrap; }
.u-filter button[aria-pressed="true"] { background: var(--u-blue); border-color: var(--u-blue); color: #fff; }

/* на телефоне длинные подборки (примеры работ, отзывы) - горизонтальная лента, а не столбик на несколько экранов */
@media (max-width: 767px) {
  .u-grid--3:has(> .u-case), .u-grid--3:has(> .u-review) { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: calc(-1 * var(--u-gutter)); padding-right: var(--u-gutter); }
  .u-grid--3 > .u-case, .u-grid--3 > .u-review { scroll-snap-align: start; }
  .u-grid--3 > .u-case[hidden] { display: none; }
}

/* Команда */
.u-team { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.u-person { scroll-snap-align: start; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--u-shadow); }
.u-person img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; display: block; object-position: 50% 20%; }
.u-person div { padding: 10px 12px 12px; }
.u-person b { display: block; font-size: 16px; }
.u-person span { color: var(--u-muted); font-size: 13px; }

/* Отзывы */
.u-review { background: #fff; border-radius: 12px; padding: 18px; box-shadow: var(--u-shadow); display: flex; flex-direction: column; gap: 10px; }
.u-stars { color: var(--u-star); letter-spacing: 2px; font-size: 16px; }
.u-review p { margin: 0; font-size: 15px; color: #33353C; }
.u-review footer { color: var(--u-muted); font-size: 14px; }
.u-review footer a, .u-lead a { text-decoration: underline; text-underline-offset: 2px; } /* ссылка на источник отзыва и рейтинга отличима не только цветом (WCAG 1.4.1) */

/* Шаги */
.u-steps { counter-reset: step; display: grid; gap: 10px; }
.u-step { background: #fff; border-radius: 12px; padding: 14px 16px 14px 64px; position: relative; box-shadow: var(--u-shadow); min-height: 56px; }
.u-step::before { counter-increment: step; content: counter(step); position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; border-radius: 9px;
  background: var(--u-blue-soft); color: var(--u-blue); font-family: var(--u-display); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.u-step b { display: block; font-size: 16px; }
.u-step span { color: var(--u-muted); font-size: 14px; }

/* Доверие: логотипы, письма, страховка */
.u-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.u-logos div { background: #fff; border-radius: 10px; height: 76px; display: flex; align-items: center; justify-content: center; padding: 12px; box-shadow: var(--u-shadow); }
.u-logos div.is-dark { background: #1C2541; }
/* ЮГК и United Music Group: в логотипах белый текст - на белой карточке его не видно, только эмблема */
.u-logos div:has(> img[src*="/image11.png"]), .u-logos div:has(> img[src*="/image13.png"]) { background: #1C2541; }
.u-logos img { max-height: 46px; width: auto; object-fit: contain; }
.u-doc { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 12px; padding: 14px; box-shadow: var(--u-shadow); color: inherit !important; text-decoration: none; }
.u-doc__thumb { flex: 0 0 74px; height: 98px; border-radius: 6px; overflow: hidden; border: 1px solid var(--u-line); background: #fafafa; }
.u-doc__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.u-doc b { display: block; font-size: 16px; line-height: 1.25; }
.u-doc span { display: block; color: var(--u-muted); font-size: 14px; margin: 4px 0 6px; }
.u-insure { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 14px; padding: 18px; box-shadow: var(--u-shadow); flex-wrap: wrap; }
.u-insure__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--u-blue-soft); color: var(--u-blue); display: flex; align-items: center; justify-content: center; }
.u-insure__text { flex: 1 1 220px; }
.u-insure__text b { display: block; font-family: var(--u-display); font-weight: 600; font-size: 17px; }
.u-insure__text span { color: var(--u-muted); font-size: 14px; }

/* Списки и FAQ */
.u-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
/* «Единая точка контакта»: ролик и карточка с тезисами под ним - одной колонкой, без пустоты под роликом */
.u-contact-side { display: grid; gap: 16px; align-content: start; }
.u-check li { position: relative; padding-left: 30px; font-size: 15px; }
.u-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--u-blue-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23144CEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.u-faq details { background: #fff; border-radius: 12px; box-shadow: var(--u-shadow); margin-bottom: 8px; }
.u-faq summary { cursor: pointer; list-style: none; padding: 15px 44px 15px 16px; position: relative; font-size: 16px; }
.u-faq summary::-webkit-details-marker { display: none; }
.u-faq summary::after { content: "+"; position: absolute; right: 16px; top: 11px; font-size: 24px; color: var(--u-blue); transition: transform .2s; }
.u-faq details[open] summary::after { transform: rotate(45deg); }
.u-faq details > div { padding: 0 16px 16px; color: var(--u-muted); font-size: 15px; }

/* Видео */
.u-video { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: #0f1830; }
.u-video video, .u-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.u-video__play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .95);
  border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }

/* Финальный призыв */
.u-cta { background: var(--u-blue); color: #fff; border-radius: 16px; padding: 26px 20px; display: flex; flex-direction: column; gap: 12px; }
.u-cta h2 { color: #fff; margin: 0; font-size: 22px; line-height: 1.2; }
.u-cta p { margin: 0; color: rgba(255, 255, 255, .88); }
.u-cta .u-btn { background: #fff; color: var(--u-blue) !important; }
.u-cta .u-btn--ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }

/* ---------- Подвал ---------- */
.u-footer { background: #0F1A3D; color: #C9D0E4; padding: 40px var(--u-gutter) 28px; font-size: 15px; }
.u-footer__in { max-width: var(--u-max); margin: 0 auto; display: grid; gap: 26px; }
.u-footer a { color: #fff; text-decoration: none; }
.u-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.u-footer h4, .u-footer .u-footer__h { color: #fff; font-family: var(--u-display); font-weight: 600; font-size: 15px; line-height: 1.3; margin: 0 0 12px; } /* h2 вида подзаголовка: порядок заголовков без пропуска после h2 страницы */
.u-footer__logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.u-footer__legal { max-width: var(--u-max); margin: 26px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #8E97B5; display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Нижняя панель действий (телефон) ---------- */
.u-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--u-line); padding: 8px var(--u-gutter) calc(8px + env(safe-area-inset-bottom)); transition: transform .2s ease; }
body.u-typing .u-bar { transform: translateY(110%); }
@media (prefers-reduced-motion: reduce) { .u-bar { transition: none; } }
.u-bar__in { display: flex; justify-content: space-between; align-items: center; max-width: 520px; margin: 0 auto; }
.u-bar__btn { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; color: #656973; text-decoration: none; font-size: 12px; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--u-font); }
.u-bar__ico { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #C9CBD2; display: flex; align-items: center; justify-content: center; color: #8A8D96; background: #fff; }
.u-bar__ico svg { width: 20px; height: 20px; }
.u-bar__btn--accent .u-bar__ico { border-color: var(--u-blue); color: var(--u-blue); }
.u-bar__btn--accent { color: var(--u-blue); }
.u-bar--icons .u-bar__btn span.u-bar__label { display: none; }
.u-bar--labels .u-bar__in { justify-content: space-around; }

/* theme.css темы Bixol задаёт всем <button> высоту строки 48px, жирный шрифт и поля 0 20px - наши кнопки от этого закрыты */
.u-bar__btn, .u-burger, .u-sheet__close, .u-video__play { line-height: 1.2; font-weight: 500; min-width: 0; transition: none; }
.u-video__play { padding: 0; }
.u-sheet__close { padding: 0 4px; line-height: 1; }
/* Ещё Bixol красит любой <button> при наведении, фокусе и нажатии в свой бирюзовый и пускает «блик» (::after).
   На телефоне наведение «залипает» после касания - иконка панели остаётся бирюзовой. Правило Bixol для :active
   весит 0,3,1, поэтому здесь не меньше 0,3,2: body + .umka + button + класс + :is. Проверка - tools/check_button_states.py */
body.umka button:is(.u-burger, .u-bar__btn, .u-sheet__close):is(:hover, :focus, :active) { background-color: transparent; }
body.umka button.u-bar__btn:is(:hover, :focus, :active) { color: #656973; }
body.umka button.u-bar__btn--accent:is(:hover, :focus, :active) { color: var(--u-blue); }
body.umka button.u-sheet__close:is(:hover, :focus, :active) { color: var(--u-muted); }
body.umka button.u-video__play:is(:hover, :focus, :active) { background-color: rgba(255, 255, 255, .95); color: #fff; }
body.umka .u-filter button:is(:hover, :focus, :active) { background: #fff; color: var(--u-ink); }
body.umka .u-filter button[aria-pressed="true"]:is(:hover, :focus, :active) { background: var(--u-blue); color: #fff; }
body.umka button:is(.u-burger, .u-bar__btn, .u-sheet__close, .u-video__play)::after, body.umka .u-filter button::after { content: none; }

/* Выбор cookie (inc/cookies.php). На телефоне - сразу под шапкой: внизу плашка закрывала бы кнопку «Заказать уборку»
   первого экрана (на экране высотой 718 px, как на эталоне ТЗ). Шире 1024px - карточкой слева внизу, чтобы не закрывать
   плавающую трубку справа. Кнопки одинаковые по виду и размеру: выбор равнозначный. */
.u-cookie { position: fixed; left: 8px; right: 8px; top: calc(var(--u-header-h) + 8px); z-index: 70; background: #fff; color: var(--u-ink);
  border-radius: 14px; box-shadow: 0 10px 36px rgba(10, 18, 40, .22); padding: 12px 14px; font-size: 13px; line-height: 1.4; }
.u-cookie[hidden] { display: none; }
.u-cookie__text { margin: 0 0 10px; }
.u-cookie__text a { color: var(--u-blue); text-decoration: underline; }
.u-cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.umka button.u-cookie__btn { min-height: 44px; padding: 8px 10px; border: 1.5px solid var(--u-blue); border-radius: 10px; background: #fff; color: var(--u-blue);
  font: 500 14px/1.2 var(--u-font); min-width: 0; transition: none; }
body.umka button.u-cookie__btn:is(:hover, :focus, :active) { background: #EEF2FE; color: var(--u-blue); }
body.umka button.u-cookie__btn:focus-visible, body.umka button.u-footer__cookie:focus-visible { outline: 2px solid var(--u-blue); outline-offset: 2px; }
body.umka button:is(.u-cookie__btn, .u-footer__cookie)::after { content: none; }
body.umka button.u-footer__cookie { background: none; border: 0; padding: 0; min-width: 0; font: inherit; line-height: inherit; color: inherit; text-decoration: none; cursor: pointer; transition: none; }
body.umka button.u-footer__cookie:is(:hover, :focus, :active) { background: none; color: #fff; }
@media (min-width: 1024px) { .u-cookie { left: 24px; right: auto; top: auto; bottom: 24px; max-width: 460px; padding: 14px 16px; font-size: 14px; line-height: 1.45; } }

/* Плавающая трубка из прежнего сайта (всплывающее окно Elementor #7042, открывает форму обратного звонка).
   До 1024px её заменяет «Позвонить» в нижней панели - скрыта, чтобы не закрывала содержимое; шире - круглая кнопка в цветах сайта. */
#elementor-popup-modal-7042 .dialog-widget-content { background: transparent !important; box-shadow: none !important; width: auto !important; overflow: visible; }
#elementor-popup-modal-7042 .elementor-button { width: 52px; min-width: 52px; flex: 0 0 52px; height: 52px; min-height: 0; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
  background: var(--u-blue) !important; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--u-shadow) !important; }
@media (max-width: 1023px) { #elementor-popup-modal-7042 { display: none !important; } }
/* в правом нижнем углу с отступом, как принято: настройки окна ставили её посередине справа вплотную к краю, и кольцо
   кнопки обрезалось (замечание заказчика 24.11) */
#elementor-popup-modal-7042 .dialog-widget-content { top: auto !important; bottom: 24px !important; right: 24px !important; }
/* обводка кнопки (3 px со смещением 2 px) выходит за кнопку, а .dialog-message окна обрезал всё лишнее (overflow: auto) -
   кольцо срезалось справа. Запас и видимое переполнение */
#elementor-popup-modal-7042 .dialog-message { overflow: visible !important; }

/* Всплывающие окна прежнего сайта с нашей формой заявки (368, 7039, 4660 - tools/wp/replace_forms.php): окном служит карточка формы */
.elementor-popup-modal .dialog-widget-content:has(.umkc--form) { background: transparent !important; box-shadow: none !important; }
.elementor-popup-modal .dialog-widget-content:has(.umkc--form), .elementor-popup-modal .dialog-widget-content:has(.umkc--form) .dialog-message {
  width: min(500px, calc(100vw - 24px)) !important; max-width: none !important; }
.elementor-popup-modal .e-con:has(.umkc--form) { padding: 0 !important; }
.elementor-popup-modal .umkc--form .umkc__app { border: 0; border-radius: 16px; padding: 24px 22px 22px; box-shadow: 0 20px 60px rgba(15, 26, 61, .28); }

/* Попап выбора калькулятора / форма */
.u-sheet { position: fixed; inset: 0; z-index: 80; background: rgba(10, 18, 40, .45); display: none; align-items: flex-end; justify-content: center; }
.u-sheet.is-open { display: flex; }
.u-sheet__box { background: #fff; width: 100%; max-width: 520px; border-radius: 18px 18px 0 0; padding: 20px var(--u-gutter) calc(20px + env(safe-area-inset-bottom)); max-height: 88vh; overflow-y: auto; }
.u-sheet__box h3 { margin: 0 0 12px; font-size: 18px; }
.u-sheet__list { display: grid; gap: 8px; }
.u-sheet__close { float: right; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--u-muted); }

/* ---------- Планшет и компьютер ---------- */
/* Первый экран на телефоне - по эталону приложения 13 (ТЗ п. 5; заголовок по решению заказчика 14.11 длиннее эталонного).
   Размеры сняты с эталона в CSS px (снимок 589 px = 393 CSS px при плотности 1,5), проверка - tools/compare_first_screen.py.
   Кадр: в эталоне клинер справа, карточки доверия - на фоне; исходник портретный, поэтому лицо выводится вправо
   приближением от левого края, а не сдвигом. */
@media (max-width: 767px) {
  :root { --u-header-h: 46px; --u-bar-h: 56px; }
  .u-logo img { height: 36px; }
  .umka .e-con.u-hero { --padding-top: 12px; }
  .u-hero__title .elementor-heading-title { font-size: 23px; line-height: 1.1; }
  .u-hero__media { margin-top: 8px; }
  .umka .u-hero__frame > img { transform: scale(1.22); transform-origin: 0 65%; }
  /* обработанный горизонтальный кадр главной (от дизайнера, 24.11) кадрирован как эталон приложения 13 - без увеличения */
  .umka .u-hero__frame > img.u-hero__img--wide { transform: none; }
  /* промежуток и отступ слева меньше, чтобы «РЕСО-Гарантия» не упиралась в правый край карточки шириной 166 px (как на эталоне) */
  .u-trust__card { padding: 6px 8px 6px 10px; gap: 8px; min-height: 53px; }
  .u-trust__card b { font-size: 12px; letter-spacing: -0.025em; }
  .u-trust__card span { font-size: 12.5px; line-height: 1.12; }
  .u-hero__actions { padding-top: 12px; gap: 8px; }
  /* как в эталоне: «или отправить фото помещения / для оценки →» в две строки по центру */
  .u-hero .u-link-arrow { display: inline-block; max-width: 250px; margin: 0 auto; font-size: 16px; line-height: 1.25; }
  /* «Цены на основные / виды уборки» - тоже в две строки, как в эталоне */
  .u-hero__prices { display: block; max-width: 250px; margin: 6px auto 0; font-size: 19px; line-height: 1.2; }
  /* нижняя панель: кружки 36px, как в эталоне; зона нажатия - не меньше 44x44 */
  .u-bar { padding-top: 3px; padding-bottom: calc(3px + env(safe-area-inset-bottom)); }
  .u-bar__ico { width: 36px; height: 36px; border-color: #ABADB3; color: #85888F; } /* значок - контраст не меньше 3:1 (WCAG 1.4.11) */
  .u-bar__btn--accent .u-bar__ico { border-color: #1B2BC8; color: #1B2BC8; }
  .u-bar__btn { min-width: 44px; min-height: 44px; justify-content: center; }
}
@media (min-width: 768px) {
  :root { --u-gutter: 28px; --u-header-h: 72px; }
  .u-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .u-grid--3, .u-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .u-logos { grid-template-columns: repeat(4, 1fr); }
  .u-team { grid-auto-columns: 30%; }
  .u-h2 .elementor-heading-title { font-size: 32px; }
  .umka .e-con.u-sec { --padding-top: 64px; --padding-bottom: 64px; }
  .u-footer__in { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .u-cta { padding: 40px; }
  .u-cta h2 { font-size: 28px; }
  .u-steps { grid-template-columns: repeat(2, 1fr); }
  .u-sheet { align-items: center; }
  .u-sheet__box { border-radius: 18px; }
}
@media (min-width: 1024px) {
  .u-logo img { height: 44px; }
  .u-nav { display: block; }
  .u-header__contacts { display: flex; }
  .u-burger, .u-bar, .u-drawer { display: none !important; }
  body.umka.has-umka-bar { padding-bottom: 0; }
  .u-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .u-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .u-steps { grid-template-columns: repeat(4, 1fr); }
  .u-team { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .u-logos { grid-template-columns: repeat(5, 1fr); }

  /* 1024-1199: семь пунктов меню, два телефона и мессенджеры не влезали в строку - «Для дома», «Для бизнеса»,
     «Примеры работ» переносились на две строки. Чуть мельче и плотнее; оба телефона остаются */
  @media (max-width: 1199px) {
    .u-header__in { gap: 14px; }
    .u-nav ul { gap: 14px; }
    .u-nav a { font-size: 14px; }
    .u-header__contacts { gap: 10px; }
  }

  /* первый экран на компьютере: та же композиция, перестроенная по широкой сетке */
  .umka .e-con.u-hero { --padding-top: 40px; --padding-bottom: 56px; }
  .u-hero-desk { max-width: var(--u-max); margin: 0 auto; width: 100%; padding: 0 var(--u-gutter); display: grid;
    grid-template-columns: 1fr 1.15fr; grid-template-areas: "text media" "actions media"; column-gap: 48px; align-items: start; }
  .u-hero-desk > .u-hero__text { grid-area: text; align-self: end; }
  .u-hero-desk > .u-hero__media { grid-area: media; margin: 0; }
  .u-hero__frame { border-radius: 18px; aspect-ratio: 5 / 4; }
  .u-hero-desk > .u-hero__actions { grid-area: actions; padding: 26px 0 0; align-items: flex-start; text-align: left; }
  .u-hero__title .elementor-heading-title, .u-hero-desk .u-hero__title { font-size: 46px; padding: 0; }
  .u-hero__sub, .u-hero__sub p { font-size: 21px; padding: 0; margin-top: 14px; }
  .u-hero__actions .u-btn { min-width: 320px; font-size: 18px; min-height: 56px; }
  .u-hero__prices { text-align: left; margin-top: 18px; }
  .u-trust { left: 28px; top: 28px; width: 210px; gap: 14px; }
  .u-trust__card { min-height: 60px; padding: 10px 12px; }
  .u-trust__card b { font-size: 14px; } .u-trust__card span { font-size: 13px; }
}
@media (min-width: 1440px) {
  :root { --u-max: 1280px; }
}
