/*
Theme Name:   WeSupport
Theme URI:    https://wesupport.ae/
Description:  Блочная тема wesupport.ae. Токены сняты с боевого сайта на Tilda 12.08.2026, см. 04-дизайн-система.md. Секции собраны паттернами, платных зависимостей у проекта нет.
Author:       Pirus Agency
Version:      0.2.1
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.0
Text Domain:  wesupport
*/

/* ------------------------------------------------------------------
   Токены. Дублируют theme.json намеренно: theme.json питает редактор
   и генерирует классы, а эти переменные — вёрстку блоков.
   Меняем в двух местах или нигде.
   ------------------------------------------------------------------ */
:root{
  /* цвет */
  --c-text:#000000;
  --c-text-muted:#a3a29e;
  --c-text-dark:#222222;
  --c-bg:#ffffff;
  --c-bg-soft:#f9f8f3;
  --c-bg-warm:#f0eddb;
  --c-border:#dddbd3;
  --c-accent:#e77d38;
  --c-accent-light:#fdc374;

  /* шрифт */
  --f-base:'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* шкала. Размеры сняты с зеро-блоков живой Тильды 18.08.2026:
     H1 героя 60, заголовок секции 52/500, карточка 24, лид 22,
     текст 16. Мобильные значения переопределяются ниже */
  --fs-h1:60px;
  --fs-h2:52px;
  --fs-h3:24px;
  --fs-lead:22px;
  --fs-body:16px;
  --fs-small:14px;
  --fs-micro:12px;

  /* скругления */
  --r-pill:999px;
  --r-lg:30px;
  --r-md:24px;
  --r-sm:16px;
  --r-none:0;

  /* ритм */
  --s-1:8px;   --s-2:16px;  --s-3:24px;
  --s-4:40px;  --s-5:64px;  --s-6:96px;
  --wrap:1200px;
}

/* ------------------------------------------------------------------
   Шрифт. Самохостинг, а не Google Fonts: минус внешний запрос и
   минус зависимость от чужого домена. woff2 вместо woff, который
   стоял на Tilda, — тот же шрифт примерно на треть легче.
   ------------------------------------------------------------------ */
/* Jost переменный: один файл на алфавит вместо файла на начертание.
   Так было и на Тильде, и это принципиально: у нас в вёрстке живут
   300 (текст статей), 400 (формы), 500 (главная) и 600 (заголовки
   статей). Статическими файлами это четыре загрузки на алфавит и
   57 кБ на страницу; переменными — 36 кБ и любое промежуточное
   начертание бесплатно. Разбивка по алфавитам сохранена: на английской
   странице кириллица не грузится, на русской — расширенная латиница.
   Файлы скачаны с fonts.gstatic.com 18.08.2026, лицензия SIL OFL. */
@font-face{
  font-family:'Jost';
  src:url('assets/fonts/jost-var-latin.woff2') format('woff2');
  font-weight:100 900; font-style:normal; font-display:swap;
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Jost';
  src:url('assets/fonts/jost-var-latin-ext.woff2') format('woff2');
  font-weight:100 900; font-style:normal; font-display:swap;
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Jost';
  src:url('assets/fonts/jost-var-cyrillic.woff2') format('woff2');
  font-weight:100 900; font-style:normal; font-display:swap;
  unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ------------------------------------------------------------------
   База
   ------------------------------------------------------------------ */
body{
  font-family:var(--f-base);
  font-size:var(--fs-body);
  color:var(--c-text);
  background:var(--c-bg);
}

h1,h2,h3,h4{ font-weight:500; line-height:1.15; margin:0 0 var(--s-2); }
h1{ font-size:var(--fs-h1); }
h2{ font-size:var(--fs-h2); }
h3{ font-size:var(--fs-h3); }

a{ color:inherit; }
img{ max-width:100%; height:auto; }

/* Мелкий текст с Tilda не переносим один в один: 14px и 11px были там
   самыми частыми размерами, на телефоне это нечитаемо. Ниже 16px
   основной текст на мобильном не опускаем — заодно Safari на iOS
   перестаёт сам зумить поля ввода при фокусе. */
@media (max-width:768px){
  :root{
    --fs-h1:36px;
    --fs-h2:30px;
    --fs-h3:20px;
    --fs-lead:18px;
    --fs-body:16px;
  }
}

/* ------------------------------------------------------------------
   Общее для блоков
   ------------------------------------------------------------------ */
.ws-section{ padding:var(--s-6) 0; }
.ws-section--soft{ background:var(--c-bg-soft); }
.ws-section--warm{ background:var(--c-bg-warm); }

.ws-wrap{
  /* border-box обязателен: блоки редактора и так с ним, а простой <div>
     с той же полосой был бы на 48 шире — и колонка уезжала бы с 1160. */
  box-sizing:border-box;
  width:100%;
  max-width:var(--wrap);
  margin-inline:auto;
  padding-inline:var(--s-3);
}

.ws-card{
  background:var(--c-bg);
  border:1px solid var(--c-border);
  border-radius:var(--r-md);
  padding:var(--s-3);
}

.ws-btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:var(--s-1);
  padding:14px var(--s-4);
  border:0; border-radius:var(--r-pill);
  background:var(--c-accent); color:#fff;
  font:500 var(--fs-body)/1 var(--f-base);
  text-decoration:none; cursor:pointer;
  transition:background .18s ease;
}
.ws-btn:hover,.ws-btn:focus-visible{ background:var(--c-accent-light); color:var(--c-text); }
.ws-btn--ghost{ background:transparent; color:var(--c-text); border:1px solid var(--c-border); }

/* Видимый фокус обязателен: на Tilda его не было нигде, а это
   доступность и требование к приёмке. */
:where(a,button,input,select,textarea):focus-visible{
  outline:2px solid var(--c-accent);
  outline-offset:2px;
}

/* ------------------------------------------------------------------
   Секции. Разметку задаёт редактор блоками, здесь только то, чего
   стандартными настройками не выразить.
   ------------------------------------------------------------------ */

/* Колонки WordPress по умолчанию не переносятся на узком экране до 782px
   и в промежутке дают полосу нечитаемых столбцов. Переопределяем на сетку:
   она сама решает, сколько карточек влезло. */
.ws-grid{ display:grid; gap:var(--s-3); grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.ws-grid > .wp-block-column{ flex-basis:auto !important; }

.ws-hero{ padding-block:var(--s-6); }
.ws-hero h1{ max-width:16ch; }
.ws-hero p{ max-width:52ch; }

.ws-step__n{
  color:var(--c-accent);
  line-height:1;
  margin:0 0 var(--s-1);
}

/* Карточка тарифа. Класс ws-plan, а не ws-price: ws-price ниже по файлу —
   это строка «цена — срок» внутри карточки услуги, она выкладывается в ряд
   через flex. Когда карточка тарифа звалась так же, содержимое вставало в
   одну строку: слова рвались посреди, а цена налезала на список. */
.ws-plan{ display:flex; flex-direction:column; align-items:flex-start; gap:var(--s-1); }
.ws-plan > *{ margin-block:0; max-width:100%; }
.ws-plan h3{ margin:0; }
.ws-plan__v{ color:var(--c-accent); margin:0; white-space:nowrap; }
.ws-plan ul{ margin:var(--s-1) 0 0; padding-left:1.1em; }
.ws-plan li{ font-size:var(--fs-small); }

/* Страховка для страниц, собранных до переименования: карточка тарифа со
   старым классом ws-price всё равно выкладывается столбиком. Правило стоит
   ниже строки «цена — срок» по файлу и берёт верх по двум классам сразу. */
.ws-card.ws-price{ display:flex; flex-direction:column; align-items:flex-start;
  gap:var(--s-1); border-bottom:0; padding-bottom:30px; margin-bottom:0; }
.ws-card.ws-price > *{ margin-block:0; max-width:100%; }
.ws-card.ws-price .ws-price__v{ white-space:nowrap; }

/* Старые правила оставляем: ими пользуются страницы, свёрстанные раньше. */
.ws-price__v{ color:var(--c-accent); margin:0; }
.ws-price ul{ margin:var(--s-2) 0 0; padding-left:1.1em; }
.ws-price li{ font-size:var(--fs-small); }

.ws-faq details{
  border-bottom:1px solid var(--c-border);
  padding:var(--s-2) 0;
}
.ws-faq summary{
  cursor:pointer;
  font-size:var(--fs-lead);
  font-weight:500;
  list-style:none;
}
.ws-faq summary::-webkit-details-marker{ display:none; }
.ws-faq summary::after{
  content:'+';
  float:right;
  color:var(--c-accent);
  font-size:1.4em;
  line-height:1;
}
.ws-faq details[open] summary::after{ content:'−'; }

.ws-logos__grid img{
  max-height:56px;
  width:auto;
  object-fit:contain;
  /* Логотипы приходят разноцветными и рвут полосу. Приглушаем в покое
     и показываем как есть при наведении. */
  filter:grayscale(1);
  opacity:.7;
  transition:filter .2s ease, opacity .2s ease;
}
.ws-logos__grid img:hover{ filter:none; opacity:1; }

.ws-cta{ padding-block:var(--s-5); }
.ws-cta a{ text-decoration:none; }

.ws-header{
  border-bottom:1px solid var(--c-border);
  padding-block:var(--s-2);
}
.ws-header__inner{ align-items:center; }
.ws-header .wp-block-site-title a{ text-decoration:none; font-weight:500; }

.ws-footer a{ color:inherit; }
.ws-footer__legal{ max-width:46ch; opacity:.7; margin-top:var(--s-2); }

.ws-article > *{ margin-block:var(--s-2); }
.ws-article h2{ margin-top:var(--s-4); }

/* ------------------------------------------------------------------
   Правки после первого прогона 13.08. Каждая — по факту увиденного,
   а не «на всякий случай».
   ------------------------------------------------------------------ */

/* 1. Сетка не срабатывала: у core .wp-block-columns display:flex, и мой
   .ws-grid проигрывал по специфичности. Отсюда карточки разной ширины —
   они раскладывались по содержимому, а не поровну. */
.wp-block-columns.ws-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:var(--s-3);
}
.wp-block-columns.ws-grid > .wp-block-column{ flex-basis:auto; }

/* 2. Кнопки выходили тёмно-серыми: core-стиль кнопки перебивает цвет из
   theme.json. Возвращаем акцент явно. */
.wp-element-button,
.wp-block-button__link{
  background-color:var(--c-accent);
  color:#fff;
  border-radius:var(--r-pill);
  font-weight:500;
  text-decoration:none;
}
.wp-element-button:hover,
.wp-block-button__link:hover{
  background-color:var(--c-accent-light);
  color:var(--c-text);
}
/* На оранжевой полосе оранжевая кнопка невидима — там она контурная. */
.ws-cta .wp-block-button__link{
  background:transparent;
  border:1px solid currentColor;
  color:inherit;
}
.ws-cta .wp-block-button__link:hover{ background:var(--c-bg); color:var(--c-accent); }

/* 3. Ссылки оставались синими: a{color:inherit} проигрывает по
   специфичности стилям навигации и содержимого. */
.ws-header a,
.ws-footer a,
.ws-main a:not(.wp-element-button){ color:inherit; }
.ws-main .ws-wrap p a:not(.wp-element-button){
  color:var(--c-accent);
  text-underline-offset:.2em;
}

/* 4. Между секциями получалось 192px воздуха: 96 снизу плюс 96 сверху.
   Соседние секции слипаются в один отступ. */
.ws-section{ padding-block:var(--s-5); }
.ws-section + .ws-section{ padding-top:0; }
.ws-section[class*="has-background"] + .ws-section[class*="has-background"]{ padding-top:var(--s-5); }

/* 5. Первый экран был по центру только потому, что max-width сжимал текст
   внутри центрирующего контейнера. Выравниваем явно по левому краю. */
.ws-hero{ padding-block:var(--s-6); }
.ws-hero > *,
.ws-hero .ws-wrap{ text-align:left; }

/* --- второй прогон --- */

/* Первый экран оставался по центру: text-align тут ни при чём, заголовок
   центрировался как блок — max-width плюс margin-inline:auto от разметки.
   Краткая запись margin-inline проигрывала: WordPress пишет margin-left и
   margin-right по отдельности и печатает их позже нашего файла. Отсюда
   !important — редкий случай, когда он по делу. */
.ws-hero h1,
.ws-hero p{ margin-left:0 !important; margin-right:0 !important; }

/* Секции в содержимом страницы должны стыковаться вплотную. WordPress
   ставит между блоками верхнего уровня вертикальный зазор, и между двумя
   цветными полосами появлялась белая щель. */
.ws-main .wp-block-post-content > .ws-section{ margin-block:0; }

/* Отступ сверху убираем только у секций без фона: у цветной полосы он
   формирует саму полосу, и без него заголовок прилипает к её краю. */
.ws-section + .ws-section{ padding-top:0; }
.ws-section[class*="has-background"]{ padding-top:var(--s-5) !important; }

/* Номера шагов задумывались крупными. */
.ws-step__n{ font-size:var(--fs-h2); font-weight:500; }

/* Кнопка на оранжевой полосе: белый контур и белый текст, а не
   унаследованный чёрный. */
.ws-cta .wp-block-button__link{
  background:transparent;
  border:1px solid #fff;
  color:#fff;
}
.ws-cta .wp-block-button__link:hover{ background:#fff; color:var(--c-accent); }


/* ------------------------------------------------------------------
   Главная 1:1 с Тильдой. Все размеры сняты замерами с живой страницы
   18.08.2026 (getBoundingClientRect + getComputedStyle по зеро-блокам),
   а не подобраны на глаз. Опорные числа записаны в комментариях —
   если верстка «поедет», сверяться с ними.
   ------------------------------------------------------------------ */

:root{
  --fs-h2:42px;
  /* Колонка контента Тильды ровно 1160; у .ws-wrap ещё 24px поля с каждой
     стороны, поэтому внешняя ширина 1208. */
  --wrap:1208px;
}
h2{ line-height:1; }

/* --- шапка ----------------------------------------------------------- */
/* Меню 18px, полоса шапки 170px, логотип 164×50. */

.ws-header{ border-bottom:none; padding-block:20px; }
.ws-header__inner{ align-items:center; gap:20px; }
.ws-logo-link{ display:flex; align-items:center; text-decoration:none; flex:none; }
.ws-logo-link img{ width:164px; height:50px; }

/* Меню: 18px, шаг между пунктами ровно 20. Стоит оно сразу за логотипом
   (на Тильде в 30 от него: 20 промежутка строки плюс свои 10), а не
   посередине шапки. Всё свободное место уходит вправо, к контактам.
   Поле задаём самому <nav>: класс wp-block-navigation висит и на списке
   пунктов, и поле сложилось бы дважды. */
.ws-header .wp-block-navigation{ font-size:18px; }
.ws-header nav.wp-block-navigation{ margin-left:10px; margin-right:auto; }
.ws-header .wp-block-navigation .wp-block-navigation__container{ gap:20px; }

/* Телефон → переключатель языка 20, дальше до иконок 40, между иконками 5. */
.ws-header__contacts{ display:flex; align-items:center; gap:20px; flex:none; }
.ws-header__phone{ text-decoration:none; color:var(--c-text); white-space:nowrap; font-size:18px; }
.ws-lang{ text-decoration:none; font-size:18px; margin-right:20px; }
.ws-header__soc{ display:flex; align-items:center; gap:5px; }
.ws-soc{ display:flex; align-items:center; justify-content:center; }
.ws-soc img{ width:36px; height:36px; display:block; }
/* На телефоне телефон и соцсети прячутся, но переключатель языка
   остаётся — ставим его перед бургером (клиент, 25.08). */
/* Мобильная шапка как у Тильды: лого поменьше, справа соцсети
   (у Тильды порядок обратный десктопному), затем язык; телефона нет.
   Бургер — наша добавка: у Тильды на телефоне меню нет вовсе,
   а терять навигацию нельзя. margin:auto тут бессилен — раскладка
   Гутенберга обнуляет маргины детей, тянемся флексом. */
@media (max-width:1100px){
  .ws-header__phone{ display:none; }
  .ws-header__contacts{ order:1; flex:1; justify-content:flex-end; gap:10px; }
  .ws-header__soc{ display:flex; flex-direction:row-reverse; order:1; }
  .ws-lang{ margin-right:0; order:2; }
  .ws-header nav.wp-block-navigation{ order:2; margin-left:0; margin-right:0; }
  .ws-logo-link img{ width:auto; height:32px; }
}

/* Открытое бургер-меню: телефон и соцсети всплывают внизу оверлея
   (клиент, 25.08). Оверлей белый и лежит над шапкой (z 100000), поэтому
   контактам нужен слой выше и принудительно тёмный цвет - на тёмных
   страницах ссылки шапки белые. */
@media (max-width:1100px){
  body:has(.wp-block-navigation__responsive-container.is-menu-open) .ws-header__contacts{
    /* не к низу экрана: там куки-плашка; под пунктами меню */
    position:fixed; z-index:100001; left:24px; right:24px; top:330px;
    display:flex; flex-direction:column; align-items:flex-start; gap:18px;
    justify-content:flex-start;
  }
  body:has(.wp-block-navigation__responsive-container.is-menu-open) .ws-header__phone{
    display:block; font-size:22px; color:#000 !important;
  }
  body:has(.wp-block-navigation__responsive-container.is-menu-open) .ws-header__soc{
    display:flex;
  }
  body:has(.wp-block-navigation__responsive-container.is-menu-open) .ws-lang{
    color:#000 !important;
  }
}

body:has(:is(.ws-hero-home,.ws-cover)) .ws-header{
  position:absolute; top:0; left:0; right:0; z-index:20;
  background:transparent; box-shadow:none;
}

/* --- герой ----------------------------------------------------------- */
/* Артборд 780. H1 60/48 ширина 560, лид 22/26 ширина 440, цифры 38,
   подписи 18, кнопка 300×72 радиус 24 шрифт 22, подпись под кружком 12. */

/* Шапка лежит поверх первого экрана, поэтому отступ .ws-main здесь лишний:
   на Тильде артборд начинается от нуля. */
body:has(:is(.ws-hero-home,.ws-cover)) .ws-main{ margin-top:0; }
.ws-main .ws-section.ws-hero-home{ padding:160px 0 60px; }
.ws-hero-home{
  background-color:#1c1c1c;
  background-image:
    linear-gradient(180deg, rgba(255,250,226,.96), rgba(255,250,226,0)),
    url(assets/img/home/hero-img-5787.webp);
  background-size:100% 170px, cover;
  background-position:top, center;
  background-repeat:no-repeat, no-repeat;
  color:#fff;
  /* Вертикаль героя Тильды: H1 начинается на 160, цифры на 636,
     низ блока 780. Отсюда все отступы ниже — они не «на глаз». */
  padding-top:160px;
  padding-bottom:60px;
  margin-top:0 !important;
}
/* Переносы строк заданы разметкой (<br>), поэтому ширину не ограничиваем:
   на Тильде строка «bank accounts, visas,» занимает 557px и в 560 не
   помещается из-за субпикселей. */
/* Базовый слой режет заголовок до 16ch — в первом экране ширину задаёт
   колонка (700), иначе строки ломаются не там, где на Тильде. */
.ws-main h1,.ws-main h2,.ws-main .ws-step h3{ letter-spacing:-1.5px; }
.ws-hero-home h1,
.ws-hero-home p{ max-width:none; }
.ws-hero-home h1{
  font-size:60px; line-height:48px; font-weight:500; letter-spacing:-1.5px;
  width:700px; margin:0 0 30px;
}
/* Английский заголовок длиннее и на Тильде стоит в блоке 560 — оттого он
   в четыре строки, а русский в три. */
html:lang(en) .ws-hero-home h1{ width:560px; }
@media (max-width:900px){
  .ws-hero-home h1,
  html:lang(en) .ws-hero-home h1{ width:auto; }
}
.ws-hero-home h1,
.ws-hero-home p{ margin-left:0 !important; margin-right:0 !important; }
.ws-hero-home .ws-t-lead{ line-height:26.4px; max-width:440px; }

/* Кружок 280 у правого края: 1160 = 856 + зазор 24 + 280, то есть он
   начинается ровно на 1146, как на Тильде. Отступ снизу подобран так,
   чтобы цифры встали на 636. */
.wp-block-columns.ws-hero__top{ grid-template-columns:1fr 280px; align-items:start;
  margin-bottom:177px; }
/* Английский заголовок занимает четыре строки против трёх русского, поэтому
   до цифр остаётся на 2px меньше — иначе они уезжают с 636. */
html:lang(en) .wp-block-columns.ws-hero__top{ margin-bottom:175px; }
@media (max-width:900px){ .wp-block-columns.ws-hero__top{ grid-template-columns:1fr; margin-bottom:40px; } }
.ws-hero__text,.ws-hero__founder{ background:transparent; border:none; box-shadow:none; padding:0; }

/* Кружок начинается на 50px выше текста — как в оригинале. */
.ws-hero-home .ws-founder{ display:flex; flex-direction:column; align-items:center;
  gap:20px; width:max-content; margin:-30px 0 0 auto; }
.ws-founder__video{ width:280px; height:280px; border-radius:50%; object-fit:cover;
  background:rgba(0,0,0,.25); }
.ws-hero-home .ws-founder__caption{ font-size:12px; line-height:14.4px; letter-spacing:1px;
  text-transform:uppercase; text-align:center; max-width:190px; margin:0; opacity:.4; }
html:lang(en) .ws-hero-home .ws-founder__caption{ max-width:140px; }
@media (max-width:900px){ .ws-hero-home .ws-founder{ margin:24px auto 0; } .ws-founder__video{ width:200px; height:200px; } }

/* Цифры сгруппированы слева (266 / 457 / 677), кнопка прижата вправо. */
.wp-block-columns.ws-hero-home .ws-stats,
.ws-hero-home .ws-stats{ display:flex; flex-wrap:wrap; align-items:flex-end; gap:0;
  margin-bottom:0; }
.ws-hero-home .ws-stat,
.ws-hero-home .ws-hero__cta{ background:transparent; border:none; box-shadow:none;
  padding:0; flex:none; }
/* Ядро WP держит колонки на flex-basis:100% с !important, поэтому без него
   цифры не встают в сетку Тильды: 266 / 456 / 646, кнопка правым краем в 1426. */
.ws-hero-home .ws-stats > .ws-stat{ flex:0 0 190px !important; }
/* Колонка кнопки тянется на всю высоту цифр, поэтому саму кнопку
   прижимаем к низу — её верх приходится на 648, как на Тильде. */
.ws-hero-home .ws-stats > .ws-hero__cta{ display:flex; align-items:flex-end;
  justify-content:flex-end; }
html:lang(en) .ws-hero-home .ws-stats > .ws-stat:nth-child(1){ flex:0 0 191px !important; }
html:lang(en) .ws-hero-home .ws-stats > .ws-stat:nth-child(2){ flex:0 0 220px !important; }
.ws-hero-home .ws-stats > .ws-hero__cta{ flex:0 0 auto !important; margin-left:auto !important; }
.ws-hero-home h1,.ws-hero-home p{ font-weight:500; }
.ws-hero-home .ws-stat h3{ font-size:38px; line-height:38px; color:#fff; margin:0 0 10px; }
.ws-hero-home .ws-stat p{ font-size:18px; line-height:18px; color:#fff; max-width:130px;
  margin-top:0; }
.ws-hero-home .ws-stat:nth-child(1) p{ max-width:151px; }
html:lang(en) .ws-hero-home .ws-stat:nth-child(2) p{ max-width:180px; }
html:lang(en) .ws-hero-home .ws-stat:nth-child(3) p{ max-width:160px; }

/* Кнопки Тильды: радиус 24, не «таблетка». */
.wp-block-button__link,.ws-btn{ font-size:22px; padding:24px 36px; border-radius:24px;
  line-height:1; }
.ws-btn--light .wp-block-button__link{ background:#fff; color:var(--c-text);
  min-width:300px; text-align:center; padding:19px 30px; line-height:34px;
  box-sizing:border-box; }
.ws-hero-home .ws-hero__cta .wp-block-button__link{ width:300px; padding:0;
  line-height:72px; }
.ws-btn--light .wp-block-button__link:hover{ background:var(--c-accent); color:#fff; }

.ws-t-lead{ font-size:22px; line-height:26.4px; font-weight:500; }
.ws-t-body{ font-size:18px; line-height:21.6px; font-weight:500; }
.ws-t-micro{ font-size:12px; line-height:14.4px; font-weight:500; letter-spacing:1px;
  text-transform:uppercase; }

/* --- оранжевый баннер ------------------------------------------------ */
/* Не полоса во всю ширину, а карточка 1160×164 радиус 24 внутри белой
   записи 324. Текст 42 с отступом 40, иконка 164×164 у правого края. */

.ws-main .ws-section.ws-banner{ background:transparent !important;
  padding-block:80px !important; }
.ws-banner .ws-wrap > *{ margin-block:0; }
.ws-banner__in{
  display:flex; align-items:center; justify-content:space-between;
  background:var(--c-accent); border-radius:24px; min-height:164px;
  padding:0 0 0 40px; overflow:hidden;
}
.ws-banner__in p{ font-size:42px; line-height:42px; letter-spacing:-1.5px; color:#fff;
  width:740px; margin:0; }
.ws-banner__icon{ width:164px; height:164px; flex:none; opacity:.85; }
@media (max-width:768px){
  .ws-banner{ padding-block:40px !important; }
  .ws-banner__in{ padding:24px; flex-direction:column; align-items:flex-start; gap:20px; }
  .ws-banner__in p{ font-size:28px; line-height:1.1; width:auto; }
  .ws-banner__icon{ width:110px; height:110px; }
}

/* --- витрины с ценами ------------------------------------------------ */
/* Артборд 682. Левая колонка 480: H2 42, галочки 18, кнопка 480×72
   у нижнего края, под ней подпись 12. Карточки 560×291 радиус 24,
   первая белая с рамкой, вторая #f9f8f3. */

.wp-block-columns.ws-showcase{ grid-template-columns:480px 560px;
  justify-content:space-between; align-items:stretch; gap:60px; }
@media (max-width:1100px){ .wp-block-columns.ws-showcase{ grid-template-columns:1fr 1fr; } }
@media (max-width:900px){ .wp-block-columns.ws-showcase{ grid-template-columns:1fr; } }
.ws-showcase__left,
.ws-showcase__right{ background:transparent; border:none; box-shadow:none; padding:0; }
.ws-showcase__left{ display:flex; flex-direction:column; }
.ws-showcase__left h2{ margin:0 0 40px; }
.ws-showcase__left .wp-block-buttons{ margin-top:auto; }
.ws-showcase__left .wp-block-buttons{ display:block; }
.ws-showcase__left .wp-block-button{ display:block; width:100%; }
.ws-showcase__left .wp-block-button__link{ display:block; width:100%; text-align:center;
  padding:0; height:72px; line-height:72px; }
.ws-showcase__left .ws-note{ margin-top:20px; }

.ws-price-card{ box-sizing:border-box; height:291px; border-radius:24px; padding:30px; }
.ws-price-card + .ws-price-card{ margin-top:20px; }
@media (max-width:900px){ .ws-price-card{ height:auto; } }
.ws-price-card > *{ margin-block:0; }
.ws-price-card--plain{ background:var(--c-bg); border:1px solid var(--c-border); }
.ws-price-card--soft{ background:var(--c-bg-soft); }

.ws-chip{
  display:inline-block; border:1px solid var(--c-border); border-radius:30px;
  display:inline-flex; align-items:center; height:34px; padding:0 16px;
  font-size:12px; line-height:18.6px; font-weight:600;
  letter-spacing:1px; text-transform:uppercase;
  color:var(--c-text); margin:0 0 20px;
}
.ws-price{ display:flex; align-items:baseline; justify-content:space-between; gap:20px;
  border-bottom:1px solid var(--c-border); padding-bottom:30px; margin-bottom:30px; }
.ws-price__val{ font-size:28px; line-height:28px; font-weight:500; letter-spacing:-1.5px; }
.ws-price__term{ font-size:18px; line-height:22px; color:var(--c-text); }

.ws-check{ list-style:none; padding-left:0; margin:0; }
/* Размеры и начертание сняты с Тильды 20.08.2026: там 16/400, у нас было
   18/500 — из-за этого блок читался тяжелее оригинала. */
.ws-check li{ padding-left:32px; position:relative; margin-bottom:10px;
  font-size:18px; line-height:1.35; font-weight:400; }
/* В витринах («Откроем компанию», «Откроем счёт») пункты полужирные — 500,
   в карточках тарифов — обычные. Так на живой Тильде. */
.ws-showcase__left .ws-check li{ font-weight:500; }
.ws-check li:last-child{ margin-bottom:0; }
.ws-check li::before{
  content:""; position:absolute; left:0; top:0; width:22px; height:22px;
  background:url(assets/img/home/check.svg) center/contain no-repeat;
}
.ws-note{ color:var(--c-text); letter-spacing:1px; text-transform:uppercase;
  font-size:12px; line-height:14.4px; font-weight:500; }

/* --- «Другие услуги»: таб ------------------------------------------- */
/* Кремовая запись 690, белая карта 1160×530 радиус 24, внутренний отступ
   50. Заголовок 42 сверху, пилюли 38 радиус 30 шрифт 14 у нижнего края.
   Оранжевая панель 340×490 радиус 16: заголовок 22, текст 18,
   кнопки 46 радиус 16 шрифт 14. */

.ws-svc{ background:var(--c-bg-soft); padding-block:80px !important; }
/* Внутренний отступ карты 50, но оранжевая панель вставлена всего на 20
   от края — поэтому она позиционируется отдельно, а не колонкой сетки. */
.ws-svc-card{ position:relative; box-sizing:border-box; background:var(--c-bg);
  border-radius:24px; padding:50px 380px 50px 50px; min-height:530px; }
@media (max-width:900px){ .ws-svc-card{ padding:30px; } }
.ws-svc__left{ display:flex; flex-direction:column; min-height:430px; }
@media (max-width:900px){ .ws-svc__left{ min-height:0; } }
.ws-svc__h2{ font-size:42px; line-height:42px; font-weight:500; margin:0; }
.ws-pills{ display:flex; flex-wrap:wrap; gap:10px; margin-top:auto; padding-top:40px; }
.ws-pill{ border:1px solid var(--c-text); border-radius:30px; background:transparent;
  height:38px; padding:0 18px; font:500 14px/1 var(--f-base); color:var(--c-text);
  text-transform:uppercase; cursor:pointer; transition:background .15s, color .15s; }
.ws-pill:hover{ background:var(--c-accent); border-color:var(--c-accent); color:#fff; }
.ws-pill.is-on{ background:#000; border-color:#000; color:#fff; }

.ws-svc__panels{ position:absolute; top:20px; right:20px; bottom:20px; width:340px;
  display:flex; }
@media (max-width:900px){ .ws-svc__panels{ position:static; width:auto; margin-top:30px; } }
.ws-svc__panel{ flex:1; background:var(--c-accent); border-radius:16px; padding:30px;
  color:#fff; display:flex; flex-direction:column; }
.ws-svc__panel[hidden]{ display:none; }
.ws-svc__panel h3{ font-size:22px; line-height:26px; color:#fff; margin:0 0 20px; }
.ws-svc__panel p{ font-size:18px; line-height:22px; color:#fff; margin:0; }
.ws-svc__btns{ margin-top:auto; padding-top:30px; display:flex; flex-direction:column; gap:10px; }
.ws-svc__more,.ws-svc__req{ display:flex; align-items:center; justify-content:center;
  height:46px; border-radius:16px; font-size:14px; letter-spacing:.06em;
  text-transform:uppercase; text-decoration:none; text-align:center; line-height:1.1; }
.ws-svc__more{ border:1px solid #fff; }
.ws-svc__more:hover{ background:#fff; }
.ws-svc__req{ background:#fff; }
.ws-svc__req:hover{ background:#000; }

/* --- медиа ----------------------------------------------------------- */
/* Карточки 370×230 радиус 24 фон #f9f8f3, зазор 25, заголовок карточки 22,
   стрелка 48 внизу слева. Телеграмная карточка #0088cc. */

.ws-media h2{ margin-bottom:70px; }
.wp-block-columns.ws-media-grid{ grid-template-columns:repeat(3,1fr); gap:25px; }
@media (max-width:900px){ .wp-block-columns.ws-media-grid{ grid-template-columns:1fr; } }
/* Карточки Тильды ровно 230 в высоту, стрелка у нижнего края. */
.ws-media-card{ position:relative; box-sizing:border-box; background:var(--c-bg-soft);
  border:none; border-radius:24px; padding:30px 30px 90px; height:230px; overflow:hidden; }
@media (max-width:900px){ .ws-media-card{ height:auto; min-height:200px; } }
.ws-media-card a{ text-decoration:none; font-size:22px; line-height:26px; font-weight:500; }
.ws-media-card__arrow{ position:absolute; left:30px; bottom:24px;
  color:var(--c-text); font-size:34px; line-height:1; }
/* Синий замерен по пикселям Тильды: #0088cc. Промежуточный #266cb6 был
   ошибкой замера — снят с другого элемента. */
.ws-media-card--tg{ background:#0088cc; }
.ws-media-card--tg a{ color:#fff; text-decoration:underline; text-underline-offset:.2em; }
.ws-media-card__plane{ position:absolute; left:30px; bottom:26px; color:#fff; }

/* --- как мы работаем ------------------------------------------------- */

.ws-center{ text-align:center; margin-inline:auto !important; }
.ws-h-center{ text-align:center; }
.ws-center.ws-t-lead{ max-width:62ch; }
.ws-how .ws-wrap > *{ margin-block:0; }
.ws-how .ws-center.ws-t-lead{ max-width:760px; margin-top:30px !important; }
.ws-how .ws-wrap > .ws-grid{ margin-top:59px; }
.ws-how .ws-wrap > .ws-trust-row{ margin-top:50px; }
.ws-how .ws-wrap > .wp-block-buttons{ margin-top:49px; }
.ws-how .ws-wrap > .ws-note{ margin-top:20px; }

.ws-step{ position:relative; box-sizing:border-box; height:184px;
  background:var(--c-bg-soft); border:none; border-radius:24px;
  padding:30px 24px; text-align:center; margin-top:10px; }
.ws-step > *{ margin-block:0; }
.ws-step h3{ font-size:38px; line-height:38px; margin-bottom:20px; }
.ws-step p{ font-size:18px; line-height:21.6px; font-weight:500; }
@media (max-width:900px){ .ws-step{ height:auto; } }
.ws-step__dot{ position:absolute; top:-8px; left:50%; transform:translateX(-50%);
  width:20px; height:20px; border-radius:50%; background:var(--c-accent); }

.wp-block-columns.ws-trust-row{ grid-template-columns:repeat(4,260px);
  justify-content:space-between; }
@media (max-width:900px){ .wp-block-columns.ws-trust-row{ grid-template-columns:1fr 1fr; } }
.ws-card.ws-trust{ background:transparent; border:none; box-shadow:none; padding:0;
  text-align:center; }
.ws-trust > *{ margin-block:0; }
.ws-trust__icon{ display:block; width:48px; height:48px; margin:0 auto 10px; }
.ws-trust p{ font-size:22px; line-height:26.4px; font-weight:500; }

.ws-btns--wide{ display:block; }
.ws-btns--wide .wp-block-button{ display:block; width:100%; }
.ws-btns--wide .wp-block-button__link{ display:block; width:100%; text-align:center;
  padding:0; height:72px; line-height:72px; }
.ws-how .ws-note{ margin-top:20px; }

/* --- отзывы ---------------------------------------------------------- */

.ws-chip--dark{ display:inline-block; background:#222; border:none; border-radius:30px;
  color:#fff; text-decoration:none; padding:14px 28px; font-size:13px; letter-spacing:.08em;
  text-transform:uppercase; cursor:pointer; font-family:var(--f-base); }
.ws-chip--dark:hover{ background:var(--c-accent); color:#fff; }

.ws-myreviews{ display:flex; justify-content:center; margin-block:40px;
  border-radius:20px; overflow:hidden; }

.ws-reviews .ws-wrap > *{ margin-block:0; }
.ws-reviews .ws-wrap > .ws-center{ margin-top:44px; }
.ws-reviews .ws-wrap > .ws-myreviews{ margin-top:36px; }
.ws-reviews .ws-wrap > .ws-review-row{ margin-top:50px; }
.ws-review-row{ display:grid; grid-template-columns:repeat(5,170px); gap:50px 30px;
  justify-content:center; }
@media (max-width:900px){
  /* minmax(0,1fr), а не 1fr: у 1fr нижняя граница — ширина содержимого,
     а фотография 160, и колонка отказывалась сжиматься. */
  .ws-review-row{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px 20px; }
  .ws-review-card,
  .ws-review{ width:auto; height:auto; }
  .ws-review__photo{ width:100%; height:auto; }
}
.ws-review-card{ width:170px; text-align:center; }
.ws-review{ display:block; position:relative; width:170px; height:170px; margin-inline:auto;
  box-sizing:border-box; padding:5px; }
.ws-review__photo{ width:160px; height:160px; border-radius:50%; object-fit:cover; }
.ws-review__play{ position:absolute; inset:0; margin:auto; width:36px; height:36px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2.5v7l5.4-3.5z' fill='%23222'/%3E%3C/svg%3E") center/10px no-repeat;
  border-radius:50%; box-shadow:0 1px 6px rgba(0,0,0,.2); }
.ws-review__name{ display:inline-block; margin-top:15px; font-size:18px; line-height:22px;
  color:var(--c-text); text-decoration:underline; text-underline-offset:.2em; }
.ws-review__label,
.ws-article .ws-review__label{ margin-top:5px; font-size:16px; line-height:19px;
  font-weight:400; color:var(--c-text-muted); }

/* --- логотипы -------------------------------------------------------- */
.ws-logo{ display:flex; align-items:center; justify-content:center; }
/* --- вертикальный ритм секций --------------------------------------- */
/* У Тильды каждая запись несёт свои 80px сверху и снизу; базовый слой темы
   схлопывал отступ между соседними секциями, и страница шла плотнее. */

.ws-main .ws-section{ padding-block:80px; }
.ws-main .ws-section + .ws-section{ padding-top:80px; }
.ws-main .ws-section + .ws-section.ws-sc-1{ padding-top:0; }
.ws-main .ws-section.ws-clients{ padding-block:75px 95px; }
.ws-main .ws-section + .ws-section.ws-clients{ padding-top:75px; }
.ws-main .ws-section.ws-gov{ padding-block:0 45px; }
.ws-main .ws-section + .ws-section.ws-gov{ padding-top:0; }
.ws-main .ws-section.ws-reviews{ padding-bottom:23px; }
.ws-main .ws-section + .ws-section.ws-reviews{ padding-top:75px; }
.ws-main .ws-section.ws-faq{ padding-bottom:74px; }
.ws-main .ws-section + .ws-section.ws-faq{ padding-top:75px; }
.ws-main .ws-section.ws-cta-blue,
.ws-main .ws-section + .ws-section.ws-cta-blue{ padding-block:30px; }

/* Крупные заголовки Тильды — 52 против 42 у остальных. */
.ws-clients h2,.ws-gov h2,.ws-faq h2{ font-size:52px; line-height:64px; }
.ws-reviews h2{ font-size:52px; line-height:52px; }

/* --- логотипы: сетки сняты с Тильды --------------------------------- */
/* Клиенты: 12 плиток 120×120, шаг 300 по горизонтали и 160 по вертикали,
   блок вжат внутрь контейнера на 70px с каждой стороны. */
.ws-logos{ display:grid; align-items:center; justify-items:center; }
.ws-logos--clients{ grid-template-columns:repeat(4,120px); justify-content:space-between;
  row-gap:40px; margin:125px 70px 0; }
.ws-logos--clients .ws-logo,
.ws-logos--clients .ws-logo img{ width:120px; height:120px; }
/* Ведомства: 6 плиток 160×160 в ряд, зазор 40 — ровно ширина контейнера. */
.ws-logos--gov{ grid-template-columns:repeat(6,160px); justify-content:space-between;
  margin-top:125px; }
.ws-logos--gov .ws-logo,
.ws-logos--gov .ws-logo img{ width:160px; height:160px; }
.ws-logo img{ max-width:none; max-height:none; object-fit:contain; }
@media (max-width:900px){
  .ws-logos--clients{ grid-template-columns:repeat(2,120px); justify-content:space-around;
    margin-inline:0; }
  .ws-logos--gov{ grid-template-columns:repeat(3,minmax(0,1fr)); justify-content:space-around; }
  .ws-logos--gov .ws-logo,
  .ws-logos--gov .ws-logo img{ width:100%; height:auto; }
}
.ws-gov-more{ text-align:center; margin-top:20px; }

/* Тёмная плашка-кнопка: 45 в высоту, текст 14. */
.ws-chip--dark{ display:inline-flex; align-items:center; height:45px; padding:0 30px;
  font-size:14px; letter-spacing:normal; }


/* Попап «Показать ещё» — список ведомств. */
.ws-modal{ position:fixed; inset:0; z-index:100; background:rgba(0,0,0,.55);
  align-items:center; justify-content:center; padding:var(--s-3); }
.ws-modal:not([hidden]){ display:flex; }
.ws-modal__panel{ position:relative; background:#fff; border-radius:16px;
  max-width:560px; width:100%; max-height:85vh; overflow:auto; padding:60px 60px 40px; }
.ws-modal__panel ol{ margin:0; padding-left:1.4em; }
.ws-modal__panel li{ margin-bottom:6px; font-size:16px; }
.ws-modal__close{ position:absolute; top:14px; right:16px; border:0; background:none;
  font-size:28px; line-height:1; cursor:pointer; color:var(--c-text); }

/* --- галерея и рейтинг ----------------------------------------------- */

/* Три фотографии 360×360 в ряд с шагом 40. */
.ws-article > .ws-gallery{
  max-width:1160px; display:grid; grid-template-columns:repeat(3,360px);
  gap:40px; justify-content:space-between;
}
.ws-gallery__pic{ margin:0; }
.ws-gallery__pic img{ display:block; width:360px; height:360px; object-fit:cover; }

/* Тёмная плашка со ссылкой на отзывы в Яндекс.Картах — по центру колонки. */
.ws-article > .ws-rating{ max-width:1160px; justify-content:center; }
.ws-rating .wp-block-button__link{
  padding:12.7px 30px; border-radius:30px; background:#222; color:#fff;
  font-size:14px; line-height:19.6px; font-weight:500; text-transform:uppercase;
}
.ws-rating .wp-block-button__link:hover{ background:#5d5d5d; }

@media (max-width:900px){
  .ws-article > .ws-gallery{ grid-template-columns:1fr; gap:24px; }
  .ws-gallery__pic img{ width:100%; height:auto; }
}

/* --- вопрос-ответ ---------------------------------------------------- */

.ws-faq .ws-wrap > *,
.ws-article > .ws-faq > *{ margin-block:0; }
.ws-faq .ws-wrap > h2,
.ws-article > .ws-faq > h2{ margin-bottom:80px; }
.ws-faq .ws-wrap > details,
.ws-article > .ws-faq > details{ background:var(--c-bg-soft); border:none; border-radius:24px;
  padding:25px 30px; margin-bottom:10px; }
.ws-faq .ws-wrap > details:last-of-type,
.ws-article > .ws-faq > details:last-of-type{ margin-bottom:0; }
.ws-article > .ws-faq{ max-width:1160px; }
.ws-faq summary{ cursor:pointer; font-size:22px; line-height:29.7px; font-weight:500;
  letter-spacing:-.5px; list-style:none; padding-right:60px; position:relative; }
.ws-faq summary::-webkit-details-marker{ display:none; }
.ws-faq summary::after{
  content:'+'; position:absolute; right:4px; top:50%; transform:translateY(-50%);
  color:var(--c-text-muted); font-size:30px; font-weight:300; line-height:1;
}
.ws-faq details[open] summary::after{ content:'−'; }
.ws-faq details p{ margin-top:16px; font-size:16px; line-height:22px; }

/* --- синяя полоса ---------------------------------------------------- */

.ws-cta-blue{ padding-block:24px 80px; }
.ws-cta-tg{ position:relative; display:flex; align-items:center; gap:24px;
  box-sizing:border-box; height:124px; background:#4cb1ec; border-radius:24px;
  padding:0 30px; color:#fff; overflow:hidden; }
.ws-cta-tg__txt{ flex:1; }
.ws-cta-tg__txt p{ font-size:30px; line-height:33px; color:#fff; font-weight:500;
  margin:0; max-width:560px; }
.ws-cta-tg__btn{ display:inline-flex; align-items:center; justify-content:center;
  flex:none; width:160px; height:46px; margin-right:100px; background:#fff;
  border-radius:30px; font-size:14px; text-transform:uppercase; text-decoration:none; }
.ws-cta-tg__icon{ position:absolute; right:0; top:0; width:131px; height:124px;
  object-fit:cover; }
@media (max-width:768px){
  .ws-cta-tg{ flex-direction:column; align-items:flex-start; padding:24px;
    height:auto; gap:16px; }
  .ws-cta-tg__icon{ position:static; width:110px; align-self:flex-end; }
  .ws-cta-tg__txt p{ font-size:24px; line-height:1.1; }
}

/* --- подвал ---------------------------------------------------------- */

/* Подвал Тильды: тёмная панель #202020 с радиусом 24 сверху, поверх белой
   полосы в 20px. Колонка меню на 266, реквизиты на 666, разделитель на 290. */
/* Воздух над подвалом на Тильде — 20. Ядро ставит между блоками страницы
   свои 24, и при схлопывании выигрывает больший — поэтому его снимаем. */
.wp-site-blocks > footer.wp-block-template-part{ margin-block-start:0; }
.ws-footer{ background:#202020; color:#fff; border-radius:24px 24px 0 0;
  margin-top:20px; padding:50px 0 10px; }
.ws-footer a{ color:inherit; }
.ws-footer__cols{ display:flex; flex-wrap:wrap; gap:240px; }
.ws-footer__nav{ display:flex; flex-direction:column; gap:15px; width:160px; flex:none;
  font-size:22px; line-height:26px; }
.ws-footer__nav a{ text-decoration:none; }
.ws-footer__nav a:hover{ color:var(--c-accent-light); }
.ws-footer__req > *{ margin-top:0; }
.ws-footer__req{ margin-top:5px; }
.ws-footer__req p{ font-size:18px; line-height:22px; margin-bottom:8px; }
.ws-footer__req .ws-dim{ opacity:.75; }
.ws-footer__phone{ display:inline-block; margin-top:25px; font-size:18px; line-height:22px; }
.ws-footer__soc{ display:flex; gap:10px; margin-top:25px; }
.ws-footer__soc .ws-soc img{ width:50px; height:50px; }
.ws-footer__bottom{ display:flex; flex-wrap:wrap; align-items:center; gap:24px;
  justify-content:space-between;
  /* линия над копирайтом есть и у Тильды: #353535, замерена 20.08.2026;
     снятие 20.08 было ошибкой — у Тильды она отдельным слоем, не рамкой */
  border-top:1px solid #353535;
  margin-top:23px; padding-top:31px; font-size:16px; }
.ws-footer__bottom a{ opacity:.85; }
.ws-footer__logo img{ width:120px; height:auto; }

/* Плавающая кнопка мессенджеров «Мы всегда онлайн». */
.ws-wa-float{ position:fixed; left:20px; bottom:20px; z-index:90;
  display:flex; flex-direction:column-reverse; align-items:flex-start;
  pointer-events:none; }
.ws-wa-float > *{ pointer-events:auto; }
.ws-wa-float__btn{ display:flex; align-items:center; justify-content:center;
  width:52px; height:52px; border-radius:50%; background:#2cd46b; color:#fff;
  border:0; cursor:pointer; box-shadow:0 2px 10px rgba(0,0,0,.25); }
.ws-wa-float__menu{ display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
.ws-wa-float__menu[hidden]{ display:none; }
.ws-wa-float__item{ display:flex; align-items:center; gap:8px; background:#fff;
  color:var(--c-text); border-radius:30px; padding:10px 16px; font-size:14px;
  text-decoration:none; box-shadow:0 2px 10px rgba(0,0,0,.18); }
.ws-wa-float__item--tg svg{ color:#29a3e8; }
.ws-wa-float__item--wa svg{ color:#2cd46b; }
.ws-wa-float__tip{ position:absolute; left:62px; bottom:14px; background:#333; color:#fff;
  font-size:13px; padding:8px 12px; border-radius:8px; white-space:nowrap; }
.ws-wa-float__tip::before{ content:""; position:absolute; left:-5px; top:50%;
  transform:translateY(-50%); border:5px solid transparent; border-right-color:#333;
  border-left:0; }
@media (max-width:768px){ .ws-wa-float__tip{ display:none; } }

/* Языковые половинки статичных частей шаблона. */
html[lang^="en"] .ws-i18n-ru{ display:none !important; }
html:not([lang^="en"]) .ws-i18n-en{ display:none !important; }

/* Цвета ссылок-кнопок: побеждаем общее правило .ws-main a:not(...). */
.ws-main a.ws-svc__req{ color:var(--c-text); }
.ws-main a.ws-svc__req:hover{ color:#fff; }
.ws-main a.ws-svc__more{ color:#fff; }
.ws-main a.ws-svc__more:hover{ color:var(--c-accent); }
.ws-main a.ws-cta-tg__btn{ color:var(--c-text); }
.ws-main a.ws-cta-tg__btn:hover{ background:#000; color:#fff; }
.ws-main .ws-wrap p a.ws-chip--dark{ color:#fff; }
.ws-main .ws-wrap .ws-media-card p a{ color:var(--c-text); }
/* ==================================================================
   Внутренние страницы: статьи блога, «политика», «спасибо».
   Числа сняты с Тильды 18.08.2026 на post1.html при ширине 1692.
   Опорные: шапка 90 чёрная; колонка текста 760 по центру; H1 52/52/600
   в 75 под шапкой (внутри у него ещё 8 сверху и 3 снизу — так на Тильде);
   лид 30/40.5/300 прозрачность .7 в 60 под H1; текст 20/31/300 в 53 под
   лидом; строка текста 31, поэтому и все расстояния между абзацами
   кратны 31 — их считает _build-pages.py и вешает классом ws-g<пиксели>;
   список с отступом 20 и добавкой 10 снизу; над формой черта.
   ================================================================== */

/* Шапка на внутренних страницах чёрная: на Тильде это отдельный
   зеро-блок 1692×90, у нас та же шапка с другим фоном. */
body:not(:has(:is(.ws-hero-home,.ws-cover))) .ws-header{ background:#000; }
/* Логотип показываем на всех страницах — решение клиента 19.08.2026.
   На Тильде в шапке внутренних страниц его не было, поэтому здесь стояло
   visibility:hidden.

   Надпись в logo.png чёрная, и читается она только на главной: там верх
   героя залит кремовой полосой поверх картинки. Везде остальное — чёрная
   шапка внутренних страниц или тёмная фотография на обложке блога — берём
   logo-white.png, тот же знак с белой надписью. */
.ws-header__logo--light{ display:none; }
body:not(:has(.ws-hero-home)) .ws-header__logo--dark{ display:none; }
body:not(:has(.ws-hero-home)) .ws-header__logo--light{ display:block; }
/* Цвет задаём всей шапке, а не ссылкам: у пунктов меню свой цвет
   color:inherit от блока навигации, и правило для ссылок его не перебивает. */
body:not(:has(.ws-hero-home)) .ws-header{ color:#fff; }
body:not(:has(.ws-hero-home)) .ws-header a,
body:not(:has(.ws-hero-home)) .ws-header .ws-header__phone{ color:#fff; }
/* Между шапкой и содержимым редактор ставит свои 24 — на Тильде их нет. */
.ws-main{ margin-block:0; }

/* Отступы записей у каждой страницы свои, поэтому они приходят
   в разметке стилем блока — здесь их нет намеренно. */
.ws-article > *{ max-width:760px; margin:0 auto; }
.ws-article h1{
  font-size:52px; line-height:52px; font-weight:600; letter-spacing:normal;
  padding:8px 0 3px;
}
.ws-article h2{
  font-size:32px; line-height:38px; font-weight:600; letter-spacing:normal;
}
/* Межстрочный не в пикселях, а долей: на Тильде 1.55, поэтому строка
   с врезкой 24px выше обычной (37.2 против 31). В пикселях подзаголовки
   внутри абзаца съезжали. */
.ws-article p{ font-size:20px; line-height:1.55; font-weight:300; }
.ws-article__lead{
  font-size:30px !important; line-height:40.5px !important; font-weight:300 !important;
  opacity:.7;
}
/* Дата на Тильде: 14px, межстрочный 28, серый #a3a3a3. */
.ws-article__date{ font-size:14px !important; line-height:28px !important; font-weight:400 !important; color:#a3a3a3; }
.ws-article ul,
.ws-article ol{ padding-left:20px; font-size:20px; line-height:1.55; font-weight:300; }
.ws-article li{ margin:0; }
.ws-article strong{ font-weight:700; }
/* Таблицы: на Тильде их рисует редактор Quill — колонки поровну,
   рамка 1px #dcdcdc, поля 5, текст того же кегля, что и абзацы. */
.ws-article figure{ margin:0; }
.ws-article table{ width:100%; border-collapse:collapse; table-layout:fixed; }
.ws-article td{
  border:1px solid #ddd; padding:5px; vertical-align:top;
  font-size:20px; line-height:1.55; font-weight:300; word-break:normal;
}
/* Ссылки в тексте подчёркнуты, кнопки — нет. */
.ws-article a:not(.wp-element-button){ text-decoration:underline; }
/* Разделитель между блоками текста: на Тильде чёрная линия по 36 сверху и
   снизу — отступы приходят стилем блока. Ширина и плотность у записей
   разные: в статьях линия по колонке текста и в 20%, на страницах услуг —
   во всю сетку и в 10%. Селектор длинный нарочно: у ядра ширина черты
   задана как .wp-block-separator:not(.is-style-wide) и короткий бы проиграл. */
/* Черта — не рамка, а полоска высотой 1px: рамку браузер на экранах с
   плотностью 1.5 округляет до 0.667, и всё, что ниже, поднимается на
   пиксель. У Тильды это тоже отдельный элемент высотой 1px. */
.ws-article hr.wp-block-separator.ws-rule{
  border:0; height:1px; background:rgba(0,0,0,.2);
  margin-bottom:0; width:100%;
}
.ws-article hr.ws-rule.ws-rule--faint{ background:rgba(0,0,0,.1); }
.ws-article hr.ws-rule.ws-rule--wide{ max-width:1160px; }

/* Расстояния между блоками приходят из разметки: у каждой записи Тильды
   свои поля, а пустая строка внутри текста стоит 31 в статьях, 31.9
   в «политике» и 33 на «спасибо». Считает их _build-pages.py.

   Страницы «политика» (t050) и «спасибо» (t1241) свёрстаны на Тильде
   другим блоком — со своим набором размеров. */
/* Заголовки секций на Тильде — обычные div'ы одного размера. У нас первый
   стал H1, остальные H2, поэтому оформляем их одинаково. */
.ws-article--t050 h1,
.ws-article--t050 h2{ font-size:64px; line-height:1.17; font-weight:500; padding:0; }
.ws-article--t050 p,
.ws-article--t050 ul,
.ws-article--t050 ol,
.ws-article--t050 td{ font-size:22px; line-height:1.45; font-weight:300; }
/* В «политике» ячейки плотнее, чем в статьях: 2 вместо 5 по вертикали. */
.ws-article--t050 td{ padding:2px 5px; }
/* Размер заголовка секции Тильда держит у каждой записи свой. Значения по
   умолчанию — 64/1.17/500 выше, здесь только отличия. Ниже 900 работает
   наша мобильная шкала: Тильда там даёт 78px на планшете и 30 на телефоне,
   планшетный размер — её собственная неувязка, не переносим. */
@media (min-width:901px){
  .ws-article .ws-t30{ font-size:30px; }
  .ws-article .ws-t38{ font-size:38px; }
  .ws-article .ws-t42{ font-size:42px; }
  .ws-article .ws-t52{ font-size:52px; }
  .ws-article .ws-t60{ font-size:60px; }
  .ws-article .ws-t64{ font-size:64px; }
  .ws-article .ws-lh1{ line-height:1; }
  .ws-article .ws-w400{ font-weight:400; }
  .ws-article .ws-w600{ font-weight:600; }
  .ws-article .ws-ls{ letter-spacing:-1.5px; }
}

/* На страницах услуг текст идёт во всю сетку, а не по колонке 760. */
.ws-article--wide > *{ max-width:1160px; }

/* Размер текста внутри записи Тильда задаёт обёрткой всего поля — переносим
   его классом. Межстрочный остаётся относительным и пересчитывается сам:
   18×1.45 на услугах, 24×1.55 в статьях. Где Тильда задала межстрочный
   жёстко, он тоже приезжает классом. */
.ws-article .ws-b18:is(p,ul,ol,figure),
.ws-article .ws-b18 td{ font-size:18px; }
.ws-article .ws-b20:is(p,ul,ol,figure),
.ws-article .ws-b20 td{ font-size:20px; }
.ws-article .ws-b24:is(p,ul,ol,figure),
.ws-article .ws-b24 td{ font-size:24px; }
.ws-article .ws-b30:is(p,ul,ol,figure),
.ws-article .ws-b30 td{ font-size:30px; }
.ws-article .ws-b42:is(p,ul,ol,figure),
.ws-article .ws-b42 td{ font-size:42px; }
.ws-article .ws-lh26:is(p,ul,ol,figure),
.ws-article .ws-lh26 td{ line-height:26px; }
.ws-article .ws-lh30:is(p,ul,ol,figure),
.ws-article .ws-lh30 td{ line-height:30px; }

/* Оранжевая плашка на страницах услуг: 1160×141, радиус 24, текст 37
   белым, справа иконка 137. На главной такая же, но крупнее — у неё
   свои классы ws-banner. */
.ws-article > .ws-plate{
  max-width:1160px; min-height:141px; display:flex; align-items:center;
  justify-content:space-between; gap:20px; padding:0 42px 0 75px;
  background:var(--c-accent); border-radius:24px;
}
.ws-article > .ws-plate p{
  max-width:845px; margin:0; color:#fff;
  font-size:37px; line-height:37px; font-weight:700;
}
.ws-plate__icon{ width:137px; height:138px; flex:none; margin:0; }

/* Блок «текст и фото»: две колонки по 560 во всю сетку. */
.ws-article > .ws-two{
  max-width:1160px; display:grid; grid-template-columns:560px 560px;
  justify-content:space-between; gap:0; align-items:start;
}
.ws-two__text > *{ margin-block:0; }
.ws-two__pic{ margin:0; }
.ws-two__pic img{ display:block; width:560px; height:auto; margin-top:4px; }

@media (max-width:900px){
  .ws-article > .ws-plate{ padding:24px; flex-direction:column;
    align-items:flex-start; }
  .ws-article > .ws-plate p{ font-size:24px; line-height:1.15; }
  .ws-plate__icon{ width:90px; height:90px; }
  .ws-article > .ws-two{ grid-template-columns:1fr; gap:24px; }
  .ws-two__pic img{ width:100%; }
}

/* --- блог ------------------------------------------------------------ */
/* Лента живёт в шаблоне index.html: это страница записей, содержимое
   страницы «Блог» вордпресс не показывает. Мерки сняты с /media Тильды:
   обложка 480, лента 75/75, полоса призыва 186. */

/* Обложка с фотографией: меню лежит поверх неё, заголовок 60/48
   белым по центру в 130 от верха страницы. */
.ws-cover{
  box-sizing:border-box; width:100%;
  height:480px; padding-top:130px; text-align:center;
  background:#1c1c1c url('assets/img/blog-hero.webp') center/cover no-repeat;
}
.ws-cover h1{
  margin:0; color:#fff; font-size:60px; line-height:48px; font-weight:500;
}

/* Колонка ленты — 1160, как везде. Обложка, лента и полоса призыва идут
   встык: промежутка между блоками у страницы записей нет. */
.ws-main > .ws-cover,
.ws-main > .ws-blog,
.ws-main > .ws-cta-bar{ margin-block:0; }
.ws-blog > *{ max-width:1160px; margin-inline:auto; }

/* Карточки 360 в три колонки с шагом 40. Сетку держит список записей,
   поэтому маркеры и отступы списка снимаем. */
.ws-post-grid{
  display:grid; grid-template-columns:repeat(3,360px); gap:40px;
  justify-content:space-between; list-style:none; margin:0; padding:0;
}
/* Промежуток держит сетка, поле между записями редактора тут лишнее. */
.ws-post-grid > li{ display:flex; margin-block:0; }
/* Поля карточки задаём отступом самой карточки, а не полями текста:
   у первого и последнего блока внутри группы редактор поля обнуляет. */
.ws-post-card{
  flex:1; display:flex; flex-direction:column; box-sizing:border-box;
  padding:30px; background:var(--c-bg-soft); border-radius:24px;
}
/* Заголовок карточки — обычный h2, но без общего для заголовков поджатия
   букв: на Тильде в ленте межбуквенное расстояние обычное. */
.ws-main .ws-post-card__title{
  margin:0 0 10px; font-size:20px; line-height:22px; font-weight:500;
  letter-spacing:normal;
}
.ws-post-card__title a{ text-decoration:none; }
.ws-post-card > .ws-post-card__descr{ margin:0 0 40px; }
.ws-post-card__descr p{
  margin:0; font-size:18px; line-height:21.6px; font-weight:400;
}
/* Кнопка прижата к низу карточки: у ряда высота по самой длинной. */
.ws-main a.ws-post-card__btn{
  align-self:flex-start; margin:auto 0 0; padding:8.4px 15px;
  border-radius:20px; background:#fff; color:#ff8562;
  font-size:13px; line-height:18.2px; letter-spacing:1px;
  text-transform:uppercase; text-decoration:none;
}

/* Полоса призыва: кнопка 1160×72, подпись в 20 под ней, снизу 80 пустоты. */
.ws-cta-bar{ padding-bottom:80px; }
.ws-cta-bar > *{ max-width:1160px; margin-inline:auto; }
.ws-cta-bar .ws-note{ margin-top:20px; opacity:.4; }

@media (max-width:900px){
  /* Поля обложке и ленте: заголовок и карточки упирались в края. */
  .ws-cover{ height:320px; padding:120px var(--s-3) 0; }
  .ws-cover h1{ font-size:34px; line-height:1.1; }
  .ws-blog > *,
  .ws-cta-bar > *{ box-sizing:border-box; padding-inline:var(--s-3); }
  .ws-post-grid{ grid-template-columns:1fr; gap:24px; }
}

/* Врезка: плашка на 60 шире колонки с каждой стороны. */
.ws-article > .ws-callout{
  max-width:880px; padding:60px; border-radius:20px; background:#f9f8f3;
}
.ws-article > .ws-callout > *{ margin-block:0; }
/* Внутри врезки текст обычного размера, даже на страницах с крупным t050. */
.ws-article > .ws-callout p,
.ws-article > .ws-callout li{ font-size:20px; line-height:1.55; }
@media (max-width:900px){
  .ws-article > .ws-callout{ padding:24px; border-radius:16px; }
}

.ws-article--t1241 h1{ font-size:60px; line-height:.8; font-weight:500; padding:0; }
.ws-article .ws-hero-row__descr{ font-size:22px; line-height:1.5; font-weight:500; }

/* --- форма заявки ---------------------------------------------------- */
/* Над формой черта во всю колонку: 36 над ней и 97 до подписи поля. */
.ws-main .ws-section.ws-form{ padding:0; }
.ws-form .ws-wrap{
  max-width:1160px; padding-inline:0;
  border-top:1px solid var(--c-border);
  padding-block:97px 75px;
}
/* На страницах услуг черты над формой нет, и начинается она на 60 ниже. */
.ws-form--open .ws-wrap{ border-top:0; padding-block:60px 75px; }
.ws-form--tight .ws-wrap{ border-top:0; padding-block:30px 75px; }
.ws-form--srv .ws-wrap{ border-top:0; padding-block:72px 0; }
.ws-form__row{
  display:grid; grid-template-columns:272px 272px 272px 285px;
  justify-content:space-between; align-items:end;
}
.ws-field{ display:flex; flex-direction:column; }
.ws-field__label{ font-size:20px; line-height:26px; font-weight:300; height:36px; }
.ws-field__input{
  box-sizing:border-box; width:100%; height:60px; padding:0 20px;
  font-family:inherit; font-size:16px; color:var(--c-text);
  background:#fff; border:1px solid #c9c9c9; border-radius:16px;
}
.ws-field__input:focus{ outline:2px solid var(--c-accent); outline-offset:-2px; }
.ws-form__btn{
  width:285px; height:60px; border:0; border-radius:16px;
  background:var(--c-accent); color:#fff;
  font-family:inherit; font-size:22px; font-weight:400; cursor:pointer;
  transition:background-color .2s ease;
}
.ws-form__btn:hover{ background:#f68e4b; }
/* Ловушка для ботов: человек её не видит и клавишей Tab не поймает. */
.ws-form__trap{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

@media (max-width:900px){
  .ws-article h1{ font-size:34px; line-height:38px; }
  .ws-article__lead{ font-size:22px !important; line-height:30px !important; }
  .ws-article p{ font-size:18px; line-height:28px; }
  .ws-form .ws-wrap{ padding-block:40px; }
  .ws-form__row{ grid-template-columns:1fr; gap:20px; }
  .ws-form__btn{ width:100%; }
}

/* --- первый экран с фотографией -------------------------------------- */
/* Две колонки: текст 560 слева, картинка 460 справа, между ними 140.
   Высоту ряда Тильда меряет от окна — 60vh, поэтому на большом экране
   картинка выше, чем на ноутбуке. Текст выровнен по центру этой высоты,
   картинка растянута на неё целиком. Кнопка шириной по надписи: на
   английском она короче русской. */
.ws-article--t1241 > *{ max-width:1160px; }
/* Тёмная запись красится во всю ширину окна, а колонка остаётся 1160.
   Заголовок и текст в ней белые, поэтому цвет задаём всей записи. */
.ws-article > .ws-hero-dark{
  box-sizing:border-box; max-width:none; width:100vw;
  margin-left:calc(50% - 50vw); background:#0f0f0f; color:#fff;
}
.ws-hero-dark > *{ max-width:1160px; margin-inline:auto; }
.wp-block-columns.ws-hero-row{
  display:grid; grid-template-columns:560px 460px; gap:0;
  justify-content:space-between; align-items:center; min-height:60vh;
}
.ws-hero-row__text > *{ margin-block:0; }
.ws-hero-row__text > p{ margin-top:40px; }
.ws-hero-row__text > .wp-block-buttons{ margin-top:44px; }
.ws-hero-row__btn .wp-block-button__link{
  display:inline-flex; align-items:center; justify-content:center;
  padding:14.6px 70px; border-radius:24px; background:var(--c-accent);
  color:#fff; font-size:22px; line-height:30.8px; font-weight:600;
}
.ws-hero-row__btn .wp-block-button__link:hover{ background:#f98f4a; }
.ws-hero-row__text{ align-self:center; }
/* Фотографию кладём поверх колонки: если оставить её в потоке, высокий
   снимок растянет ряд, а на Тильде высоту ряда задаёт только окно. */
.ws-hero-row__pic{ align-self:stretch; position:relative; }
.ws-hero-row__img{ position:absolute; inset:0; margin:0; }
.ws-hero-row__img img{ display:block; width:100%; height:100%;
  object-fit:cover; border-radius:24px; }
@media (max-width:900px){
  .wp-block-columns.ws-hero-row{ grid-template-columns:1fr; min-height:0; gap:30px; }
  .ws-hero-row__pic{ aspect-ratio:460/539; }
  .ws-hero-row__img img{ height:100%; }
  .ws-hero-row__btn .wp-block-button__link{ width:100%; padding-inline:0; }
}

/* --- страница прав ОАЭ ------------------------------------------------ */
/* Пять записей этой страницы собраны в Тильде нольблоками: холст заданной
   высоты, на нём абсолютно расставленные надписи. Повторяем ту же
   расстановку — иначе высоты записей поедут и страница разъедется.
   Координаты сняты с разметки: data-field-top/left-value минус 20
   (сетка Тильды начинается на 20 левее колонки 1160).
   Блок стоит в конце файла: правила .ws-article для абзацев, списков и
   заголовков сильнее коротких классов, и перебить их проще порядком. */
.ws-article > .ws-dl-compare,
.ws-article > .ws-dl-start,
.ws-article > .ws-dl-bonus,
.ws-article > .ws-dl-steps{
  position:relative; box-sizing:border-box; max-width:1160px; margin:0 auto;
}
.ws-article > .ws-dl-compare{ height:762px; }
.ws-article > .ws-dl-start{ height:460px; }
.ws-article > .ws-dl-bonus{ height:324px; }
.ws-article > .ws-dl-steps{ height:760px; }

.ws-article .ws-dl-h2{
  position:absolute; top:80px; left:0; width:480px; margin:0; padding:0;
  font-size:42px; line-height:1; font-weight:500; letter-spacing:-1.5px;
}
.ws-article .ws-dl-h2--center{ left:340px; text-align:center; }
.ws-article .ws-dl-start .ws-dl-h2{ top:43px; }
.ws-article .ws-dl-steps .ws-dl-h2{ top:35px; }

/* Кнопка «Получить инструкцию» и подпись под ней — в двух записях. */
.ws-main .ws-article a.ws-dl-btn{
  display:flex; align-items:center; justify-content:center; height:72px;
  border-radius:24px; background:var(--c-accent); color:#fff; font-size:22px;
  line-height:34.1px; font-weight:500; text-decoration:none;
}
.ws-main .ws-article a.ws-dl-btn:hover{ background:#f98f4a; }
.ws-article .ws-dl-note{
  max-width:480px; margin:20px 0 0; font-size:12px; line-height:1.2;
  font-weight:500; letter-spacing:1px; text-transform:uppercase;
  text-align:center; opacity:.4;
}
.ws-dl-steps__cta .ws-dl-note{ margin-inline:auto; }

/* Сравнение процедур: слева выгоды и кнопка, справа две карточки. */
.ws-article .ws-dl-gains{
  position:absolute; top:0; left:0; width:100%; margin:0; padding:0;
  list-style:none; font-size:18px; line-height:1.2; font-weight:500;
}
.ws-article .ws-dl-gains li{
  position:absolute; left:0; box-sizing:border-box; width:432px; margin:0;
  padding-left:32px;
  background:url('assets/img/home/dl-check.svg') 4px 1px/22px 22px no-repeat;
}
.ws-dl-gains li:nth-child(1){ top:204px; }
.ws-dl-gains li:nth-child(2){ top:237px; }
.ws-dl-gains li:nth-child(3){ top:315px; }
.ws-dl-gains li:nth-child(4){ top:393px; }
.ws-dl-compare__cta{ position:absolute; top:576px; left:0; width:480px; }
.ws-dl-cards{ position:absolute; top:80px; left:600px; width:560px; }
.ws-dl-card{
  position:absolute; left:0; box-sizing:border-box; width:560px; height:291px;
  border-radius:24px;
}
.ws-dl-card--plain{ top:0; background:#dfdfdf; border:1px solid #a0a0a0; }
.ws-dl-card--ours{ top:307px; background:#fbdcc8; border:1px solid var(--c-accent); }
.ws-article .ws-dl-chip{
  position:absolute; top:30px; left:30px; box-sizing:border-box;
  display:flex; align-items:center; justify-content:center; width:215px;
  height:39px; border-radius:30px; font-size:12px; line-height:1.55;
  font-weight:600; letter-spacing:1px; text-transform:uppercase;
}
.ws-dl-card--plain .ws-dl-chip{ border:1px solid #a0a0a0; }
.ws-dl-card--ours .ws-dl-chip{
  border:1px solid var(--c-accent); background:rgba(231,125,56,.48);
}
.ws-article .ws-dl-price{
  position:absolute; top:86px; left:30px; width:220px; font-size:28px;
  line-height:1; font-weight:500; letter-spacing:-1.5px;
}
.ws-article .ws-dl-term{
  position:absolute; top:89px; right:30px; width:220px; text-align:right;
  font-size:18px; line-height:1.2; font-weight:400;
}
/* Черта над списком — это верхняя граница самого списка. */
.ws-article .ws-dl-card__list{
  position:absolute; top:144px; left:30px; width:500px; margin:0; padding:31px 0 0;
  list-style:none; font-size:18px; line-height:1.2; font-weight:400;
  border-top:1px solid #a0a0a0;
}
.ws-dl-card--ours .ws-dl-card__list{ border-top-color:var(--c-accent); }
.ws-article .ws-dl-card__list li{ margin:0 0 10px; padding-left:32px; }
.ws-dl-card--plain .ws-dl-card__list li{
  background:radial-gradient(circle 10px at 10px 11px,#a0a0a0 99%,transparent 100%)
    no-repeat;
}
.ws-dl-card--ours .ws-dl-card__list li{
  background:url('assets/img/home/dl-check.svg') 0 -1px/22px 22px no-repeat;
}

/* Что нужно для старта: четыре плашки 501×87 в два ряда. */
.ws-article .ws-dl-need{
  position:absolute; top:137px; left:67px; width:1027px; margin:0; padding:0;
  list-style:none; display:grid; grid-template-columns:repeat(2,501px);
  justify-content:space-between; gap:19px 25px;
}
.ws-article .ws-dl-need li{
  box-sizing:border-box; height:87px; margin:0; padding:26px 20px 0 73px;
  border-radius:24px; background:#f9f8f3; font-size:30px; line-height:1;
  font-weight:400; letter-spacing:-1.5px;
  background-image:radial-gradient(circle 10px at 31px 42px,var(--c-accent) 99%,transparent 100%);
  background-repeat:no-repeat;
}
.ws-article .ws-dl-start__note{
  position:absolute; top:374px; left:117px; width:931px; margin:0;
  font-size:22px; line-height:1.2; font-weight:400; opacity:.4;
}

/* Бонус: оранжевая плашка 1160×175 с иконкой Дубая. */
.ws-dl-bonus::before{
  content:''; position:absolute; top:80px; left:0; right:0; height:175px;
  border-radius:24px; background:var(--c-accent);
}
.ws-article .ws-dl-bonus__title,
.ws-article .ws-dl-bonus__text{
  position:absolute; left:60px; width:890px; margin:0; color:#fff;
  line-height:1; letter-spacing:-1.5px;
}
.ws-article .ws-dl-bonus__title{ top:106px; font-size:42px; font-weight:500; }
.ws-article .ws-dl-bonus__text{ top:161px; font-size:29px; font-weight:400; }
.ws-dl-bonus__icon{ position:absolute; top:87px; left:989px; width:164px; height:164px; }

/* Три шага: кружок с номером, заголовок и пояснение. */
.ws-article .ws-dl-steps__list{
  margin:0; padding:0; list-style:none; font-size:20px;
}
.ws-article .ws-dl-step{ position:absolute; left:0; width:100%; margin:0; }
.ws-dl-step:nth-child(1){ top:176px; }
.ws-dl-step:nth-child(2){ top:307px; }
.ws-dl-step:nth-child(3){ top:439px; }
.ws-dl-step__num{
  position:absolute; top:0; left:77px; box-sizing:border-box; display:flex;
  align-items:center; justify-content:center; width:53px; height:53px;
  border:1px solid var(--c-accent); border-radius:30px;
  background:rgba(231,125,56,.17); color:var(--c-accent); font-size:18px;
  line-height:1.55; font-weight:600; letter-spacing:1px;
}
.ws-article .ws-dl-step__title{
  position:absolute; top:11px; left:160px; width:704px; margin:0; padding:0;
  font-size:29px; line-height:1; font-weight:500; letter-spacing:-1.5px;
}
.ws-article .ws-dl-step__text{
  position:absolute; top:56px; left:160px; width:704px; margin:0;
  font-size:20px; line-height:1.2; font-weight:400;
}
/* Первый шаг в Тильде сдвинут на пару пикселей ниже остальных. */
.ws-dl-step:nth-child(1) .ws-dl-step__title{ top:14px; }
.ws-dl-step:nth-child(1) .ws-dl-step__text{ top:57px; }
.ws-dl-step:nth-child(1)::after,
.ws-dl-step:nth-child(2)::after{
  content:''; position:absolute; left:104px; top:52px; width:1px; height:79px;
  background:var(--c-accent);
}
.ws-dl-steps__cta{ position:absolute; top:607px; left:0; width:100%; }
.ws-article .ws-dl-steps__cta .ws-dl-note{
  width:480px; margin:20px auto 0; text-align:center;
}

/* Три видеоотзыва — кружками с главной. Третий у Тильды на 5px правее. */
.ws-article > .ws-dl-reviews{
  box-sizing:border-box; max-width:1160px; height:370px; margin:0 auto;
  padding-top:50px; grid-template-columns:repeat(3,170px); gap:0 30px;
}
.ws-dl-reviews > :last-child{ margin-left:5px; }
.ws-article .ws-dl-reviews .ws-review__label{ margin-top:2px; }

@media (max-width:900px){
  .ws-article > .ws-dl-compare,
  .ws-article > .ws-dl-start,
  .ws-article > .ws-dl-bonus,
  .ws-article > .ws-dl-steps,
  .ws-article > .ws-dl-reviews{ height:auto; }
  .ws-article .ws-dl-h2,
  .ws-article .ws-dl-gains,
  .ws-article .ws-dl-gains li,
  .ws-dl-compare__cta, .ws-dl-cards, .ws-dl-card,
  .ws-article .ws-dl-chip, .ws-article .ws-dl-price, .ws-article .ws-dl-term,
  .ws-article .ws-dl-card__list,
  .ws-article .ws-dl-need, .ws-article .ws-dl-start__note,
  .ws-article .ws-dl-bonus__title, .ws-article .ws-dl-bonus__text,
  .ws-article .ws-dl-step, .ws-article .ws-dl-step__title,
  .ws-article .ws-dl-step__text, .ws-dl-steps__cta,
  .ws-article .ws-dl-steps__cta .ws-dl-note{
    position:static; top:auto; left:auto; right:auto; width:auto;
  }
  .ws-article .ws-dl-h2--center{ text-align:left; }
  .ws-article .ws-dl-gains li{ margin-bottom:12px; }
  .ws-dl-card{ height:auto; padding:24px; }
  .ws-dl-card--ours{ margin-top:16px; }
  .ws-article .ws-dl-term{ text-align:left; }
  .ws-article .ws-dl-card__list{ margin-top:20px; }
  .ws-article .ws-dl-need{ grid-template-columns:1fr; }
  .ws-article .ws-dl-need li{ height:auto; padding:20px 20px 20px 60px;
    font-size:22px; background-image:radial-gradient(circle 8px at 26px 30px,var(--c-accent) 99%,transparent 100%); }
  .ws-dl-bonus::before{ display:none; }
  .ws-dl-bonus{ padding:24px; border-radius:24px; background:var(--c-accent); }
  .ws-dl-bonus__icon{ display:none; }
  .ws-article .ws-dl-step{ margin-bottom:30px; padding-left:70px; }
  .ws-dl-step__num{ left:0; }
  /* Карточка отзыва — фиксированные 170, и две такие с зазором в поля
     телефона уже не влезают. Отдаём колонкам всю ширину, а фотографию
     сжимаем вместе с ними. */
  /* minmax(0,1fr), а не 1fr: у 1fr нижняя граница — ширина содержимого,
     а фотография в карточке 160, и колонка отказывалась сжиматься. */
  .ws-article > .ws-dl-reviews{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px 20px; }
  .ws-dl-reviews > :last-child{ margin-left:0; }
}

/* Аккордеон на странице услуги: заголовок у Тильды 52/64, а правила
   «политики» дают 64 — перебиваем порядком, он тут решает. */
.ws-article > .ws-faq > h2{ font-size:52px; line-height:64px; }

/* --- страницы услуг из Notion ---------------------------------------- */
/* Эти страницы пишутся заново, а не переносятся с Тильды, поэтому
   расстояния у них не «из записи», а свои: шкала взята из макета
   (h2 через 56, h3 через 40, абзацы через 16). Правила стоят в конце
   файла — короткие .ws-article выше по файлу иначе перебивают их. */
/* Страницы услуг одной ширины с тильдовскими лендингами услуг: колонка
   1160, а не статейные 760 (просьба клиента 25.08). */
.ws-article--srv > *{ max-width:1160px; }
.ws-article--srv > * + *{ margin-top:16px; }
.ws-article--srv > * + h2{ margin-top:56px; }
.ws-article--srv > * + h3{ margin-top:40px; }
.ws-article--srv > * + .ws-article__lead{ margin-top:24px; }
.ws-article--srv > * + .ws-callout{ margin-top:30px; }
.ws-article--srv > * + .wp-block-table{ margin-top:28px; }
.ws-article--srv > * + hr.ws-rule{ margin-top:40px; }
.ws-article--srv h3{ font-size:23px; line-height:1.3; font-weight:600; }
/* Таблицы здесь не тильдовские: без рамок, шапка капителью, узкая
   колонка не ломает вёрстку — таблица прокручивается внутри себя. */
.ws-article--srv .wp-block-table{ overflow-x:auto; }
.ws-article--srv table{ table-layout:auto; min-width:660px; font-size:16px; line-height:1.45; }
.ws-article--srv th{
  padding:10px 12px; border:0; border-bottom:2px solid #000; text-align:left;
  font-size:12.5px; font-weight:600; letter-spacing:.09em; text-transform:uppercase;
}
.ws-article--srv td{
  padding:12px; border:0; border-bottom:1px solid #e5e2da; font-size:16px;
  line-height:1.45; font-weight:400;
}

/* Тёмная полоса с мессенджерами. */
.ws-main .ws-section.ws-srv-cta{ padding-block:0; margin-top:72px; }
/* Плашка держится сетки 1160, поэтому поля у неё свои, а не у полосы. */
.ws-srv-cta__card{
  box-sizing:border-box; padding:52px 48px; background:#0f0f0f; color:#fff;
  border-radius:24px; text-align:center;
}
.ws-srv-cta h2{ margin:0; font-size:30px; line-height:1.2; font-weight:600; }
.ws-srv-cta p{ margin:10px 0 28px; color:#a3a29e; font-size:19px; }
.ws-srv-cta__btns{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.ws-main .ws-srv-cta__btn{
  padding:15px 38px; border-radius:40px; background:var(--c-accent); color:#fff;
  font-size:18px; font-weight:500; text-decoration:none;
}
.ws-main .ws-srv-cta__btn:hover{ background:#f68e4b; }

/* Плитки с остальными услугами. */
/* Снизу было 0: последний ряд плиток упирался в следующую секцию, а фон
   у них почти одного цвета — ряд выглядел обрезанным. Даём воздух. */
.ws-main .ws-section.ws-srv-links{ padding-block:64px 48px; }
.ws-srv-links h2{ margin:0 0 20px; font-size:26px; line-height:1.2; font-weight:600; }
.ws-srv-links__grid{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:10px;
  margin:0; padding:0; list-style:none;
}
.ws-main .ws-srv-links__grid a{
  display:block; height:100%; box-sizing:border-box; padding:14px 18px;
  background:var(--c-bg-soft); color:inherit; font-size:16.5px; line-height:1.3;
  text-decoration:none;
}
.ws-main .ws-srv-links__grid a:hover{ background:#f1efe6; }

@media (max-width:900px){
  .ws-srv-cta__card{ padding:40px 24px; }
  .ws-main .ws-section.ws-srv-links{ padding-top:48px; }
}

/* На узком экране общая мобильная правка возвращает форме нижний отступ,
   и до полосы с мессенджерами набегает 112 вместо 72. Убираем — воздух
   между секциями задаёт сама полоса. */
@media (max-width:900px){
  .ws-form--srv .ws-wrap{ padding-block:40px 0; }
}

/* Развилка на обзорной странице: не плитки в ряд, а список вариантов —
   человек выбирает один, а не разглядывает все сразу. */
.ws-article--srv .ws-srv-cards{ display:grid; gap:10px; }
.ws-main .ws-srv-card{
  display:block; padding:20px 24px; background:var(--c-bg-soft);
  color:inherit; text-decoration:none;
}
.ws-main .ws-srv-card:hover{ background:#efece6; }
.ws-srv-card__t{ display:block; font-size:21px; line-height:1.3; font-weight:600; }
.ws-srv-card__d{
  display:block; margin-top:6px; font-size:17px; line-height:1.45;
  font-weight:300; color:var(--c-text-muted);
}

/* На телефоне текст статьи упирался в края экрана: у секций сайта поля
   задаёт .ws-wrap, а у статьи его нет — колонку держит max-width, и на
   узком экране она перестаёт работать. Даём те же 24, что у остальных
   секций. На десктопе ничего не меняется: там колонка уже уже секции.

   Тёмный герой перенесённых страниц должен остаться во всю ширину окна,
   поэтому поля секции он гасит отрицательным отступом. !important здесь
   не каприз: ядро WordPress ставит блокам в constrained-раскладке
   margin-inline:auto именно с !important, и без него правило не
   применится. Отступ считаем от поля секции, а не от 100vw — иначе на
   десктопных браузерах в ширину влезет полоса прокрутки. */
@media (max-width:900px){
  .ws-main .ws-section.ws-article{ padding-inline:var(--s-3); }
  .ws-article > .ws-hero-dark{
    width:auto;
    margin-left:calc(-1 * var(--s-3)) !important;
    margin-right:calc(-1 * var(--s-3)) !important;
  }
  .ws-hero-dark > *{ box-sizing:border-box; padding-inline:var(--s-3); }
}

/* --- уведомление о cookies ------------------------------------------
   Размеры сняты с Тильды: карточка 340 в правом нижнем углу, отступ 30,
   текст 14/1.55 полужирный, кнопка 35 высотой капслоком. На узком
   экране (до 960, как у Тильды) — полоса во всю ширину без скруглений
   и без крестика: на телефоне закрывают кнопкой. */
.ws-cookie{
  position:fixed; right:30px; bottom:30px; z-index:100001;
  box-sizing:border-box; width:340px; max-width:calc(100% - 60px);
  padding:20px 30px; text-align:center;
  background:#fff; border-radius:24px; box-shadow:0 0 20px 0 rgba(0,0,0,.3);
}
.ws-cookie__text{
  margin:0 0 15px; font-size:14px; line-height:1.55; font-weight:600; color:#000;
}
.ws-cookie__btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:35px; padding:0 15px; border:0; border-radius:30px;
  background:#000; color:#fff; cursor:pointer;
  font-family:inherit; font-size:13px; font-weight:600; line-height:1.4;
  text-transform:uppercase; white-space:nowrap;
  transition:opacity .2s ease-in-out;
}
.ws-cookie__btn:hover{ opacity:.8; }
.ws-cookie__close{
  position:absolute; top:5px; right:5px; padding:5px;
  background:none; border:0; cursor:pointer; line-height:0;
  transition:opacity .3s ease-in-out;
}
.ws-cookie__close:hover,
.ws-cookie__close:focus-visible{ opacity:.7; }

@media (max-width:960px){
  .ws-cookie{
    left:0; right:0; bottom:0; width:100%; max-width:100%;
    padding:20px 10px; border-radius:0;
  }
  .ws-cookie__btn{ height:40px; }
  .ws-cookie__close{ display:none; }
}

/* --- всплывающая форма ------------------------------------------------ */
/* Карточка 560 с полями 40, заголовок по центру, поля в столбик, кнопка во
   всю ширину — как во всплывающем окне Тильды. Сама форма та же, что и на
   страницах: меняется только раскладка. */

.ws-lead-modal{
  width:min(560px, calc(100% - 32px)); padding:0; border:0; border-radius:24px;
  background:#fff; color:var(--c-text);
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.ws-lead-modal::backdrop{ background:rgba(0,0,0,.55); }
.ws-lead-modal__inner{ position:relative; padding:48px 40px 40px; }
.ws-lead-modal__close{
  position:absolute; top:16px; right:16px; width:36px; height:36px;
  display:flex; align-items:center; justify-content:center;
  border:0; border-radius:50%; background:transparent; color:var(--c-text);
  cursor:pointer;
}
.ws-lead-modal__close:hover{ background:var(--c-bg-soft); }
.ws-lead-modal__title{
  margin:0 0 12px; text-align:center;
  font-size:40px; line-height:1.1; font-weight:600;
}
.ws-lead-modal__sub{ margin:0 0 28px; text-align:center; font-size:18px; line-height:26px; }

/* Форма внутри окна: секция без своих отступов, поля друг под другом. */
.ws-lead-modal .ws-form.ws-section{ padding:0; }
.ws-lead-modal .ws-form .ws-wrap{ max-width:none; border-top:0; padding:0; }
.ws-lead-modal .ws-form__row{ display:flex; flex-direction:column; gap:20px; align-items:stretch; }
.ws-lead-modal .ws-field__label{ height:auto; margin-bottom:8px; }
.ws-lead-modal .ws-form__btn{ width:100%; }
.ws-form__consent{ margin:0; font-size:15px; line-height:22px; }
.ws-form__consent label{ display:flex; align-items:flex-start; gap:10px; cursor:pointer; }
.ws-form__consent input{ margin-top:3px; width:18px; height:18px; flex:none; accent-color:var(--c-accent); }
.ws-form__consent a{ color:var(--c-accent); }

@media (max-width:600px){
  .ws-lead-modal__inner{ padding:44px 20px 28px; }
  .ws-lead-modal__title{ font-size:30px; }
  .ws-lead-modal__sub{ font-size:16px; line-height:24px; margin-bottom:22px; }
}

/* --- поле телефона ---------------------------------------------------- */
/* Виджет intl-tel-input подгоняем под наши поля: то же скругление и цвет
   рамки. Всё остальное библиотека рисует сама. */

.ws-field .iti{ display:block; width:100%; --iti-border-color:#c9c9c9; }
.iti__selected-country{ border-radius:16px 0 0 16px; }
.iti__country-list{ font-size:16px; }
.ws-field__error{ display:block; margin-top:8px; font-size:15px; line-height:20px; color:#c0392b; }
/* Без этой строки подсказка про телефон видна сразу: display:block выше
   перебивает скрытие через атрибут hidden, которым её гасит скрипт. */
.ws-field__error[hidden]{ display:none; }
.ws-field__input--bad{ border-color:#c0392b; }

/* --- хлебные крошки ---------------------------------------------------- */
/* Строка над первым экраном: мелко, спокойно, без рамок — она подсказка, а
   не элемент навигации первого плана. */

.ws-crumbs{ padding-block:16px 0; font-size:15px; line-height:22px; color:var(--c-text-muted); }
.ws-crumbs .ws-wrap{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.ws-crumbs a{ color:var(--c-text-muted); text-decoration:none; }
.ws-crumbs a:hover{ color:var(--c-text); text-decoration:underline; }
.ws-crumbs__sep{ color:var(--c-border); }
.ws-crumbs [aria-current="page"]{ color:var(--c-text); }

@media (max-width:600px){
  .ws-crumbs{ font-size:14px; padding-block:12px 0; }
}

/* На страницах с тёмной обложкой (класс ws-dark-top на body) белая полоса
   крошек разрывала чёрное между шапкой и обложкой — красим её в цвет
   обложки, текст приглушённо-белый. */
.ws-dark-top .ws-crumbs{ background:#0f0f0f; padding-block:16px; margin-bottom:-1px; }
.ws-dark-top .ws-crumbs, .ws-dark-top .ws-crumbs a{ color:rgba(255,255,255,.55); }
.ws-dark-top .ws-crumbs a:hover,
.ws-dark-top .ws-crumbs [aria-current="page"]{ color:#fff; }
.ws-dark-top .ws-crumbs__sep{ color:rgba(255,255,255,.25); }
/* Стандартный отступ контента (24px) на тёмной странице проступал белой
   щелью между крошками и обложкой. */
.ws-dark-top .entry-content{ margin-top:0; }
/* Гутенберг красит куски текста тегом mark; без этого правила браузер
   рисует ему жёлтую подложку по умолчанию. */
mark.has-inline-color{ background:none; }
/* Заголовок тёмной обложки прав: у Тильды вес 500, не 700. */
.ws-article .ws-hero-dark h1{ font-weight:500; }
/* Утилита: заголовок секции по центру, как у Тильды. */
.ws-article .ws-center{ text-align:center; }
/* Колонка текста Tawjeeh: тильдовский межстрочный 1.24. */
.ws-two__text p{ line-height:1.55; }

/* --- телефон: то, что не помещалось ----------------------------------- */
/* Найдено обходом всех страниц в 375px 19.08.2026: шесть страниц уезжали
   вбок. Причины ниже, каждая со своим правилом. */

@media (max-width:900px){
  /* Таблицы из Тильды шире экрана. Даём им собственную прокрутку, чтобы
     ехала таблица, а не вся страница. */
  .ws-article .wp-block-table{ overflow-x:auto; }
  .ws-article .wp-block-table > table{ min-width:0; }
}

@media (max-width:600px){
  /* Страницы, свёрстанные блоком t050 («политика», «права»), держали
     заголовок 64px на любом экране. Вдобавок слова там склеены неразрывными
     пробелами — строка не переносилась и уезжала вбок. На Тильде для
     телефона стоит 30px, его и берём. */
  .ws-article--t050 h1,
  .ws-article--t050 h2{ font-size:30px; line-height:1.2; }
  /* Мобильная Тильда держит на этих страницах 22/31.9; лендинг прав
     (t1241) — единственный с 18px, ему откат ниже. */
  .ws-article--t050 p,
  .ws-article--t050 ul,
  .ws-article--t050 ol,
  .ws-article--t050 td{ font-size:22px; line-height:1.45; }
  .ws-article--t050 h1{ font-weight:600; }
  .ws-article--t1241 p,
  .ws-article--t1241 ul,
  .ws-article--t1241 ol,
  .ws-article--t1241 td{ font-size:18px; line-height:1.5; }

  /* Заголовок статьи блога — та же история, только своим размером. */
  .ws-article h1{ font-size:30px; line-height:1.2; }

  /* Длинное слово, которое не влезает в строку, лучше перенести, чем
     выпустить за край экрана. */
  .ws-article h1,
  .ws-article h2,
  .ws-article h3{ overflow-wrap:break-word; }

  /* Три видеоотзыва стояли жёсткой строкой 3×170 с отступами — 570px. */
  .ws-article > .ws-dl-reviews{
    height:auto; grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 16px; padding-top:30px;
  }
  .ws-dl-reviews > :last-child{ margin-left:0; }
}

/* --- телефон: поля по краям и строка цены ------------------------------ */
/* Найдено на живом телефоне 20.08.2026. */

@media (max-width:900px){
  /* Форма заявки шла от края до края: подписи и поля упирались в рамку
     экрана, хотя текст статьи рядом отступает на 24. Ровняем по тексту. */
  .ws-form .ws-wrap{ padding-inline:24px; }

  /* Раскрытое меню — та же история: пункты начинались от самого края. */
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content{ padding-inline:24px; }
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container{ gap:4px; }
}

@media (max-width:600px){
  /* «Цена — срок» стояли в ряд и на узком экране цена ломалась посреди
     числа: «from 20 / 000 AED». На телефоне ставим их друг под другом. */
  .ws-price{ flex-direction:column; align-items:flex-start; gap:10px; }
  .ws-price__val{ white-space:nowrap; }
}
/* Витрина услуг на телефоне: колонки встают друг под друга, и кнопка
   оказывалась вплотную к списку — палец попадал в неё случайно. На
   широком экране раскладка другая, поэтому правило только для узких. */
@media (max-width:900px){
  .ws-showcase__left .wp-block-buttons{ margin-top:32px; }
  .ws-showcase__left .wp-block-buttons + *{ margin-top:20px; }
}
/* Крестик закрытия меню стоял впритык в углу и был 24x24 — попасть
   большим пальцем тяжело. Опускаем ниже, отодвигаем от края и даём
   область нажатия 44x44: это минимум, который считается удобным. */
@media (max-width:900px){
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-close{
    top:28px; right:28px; width:44px; height:44px;
    display:flex; align-items:center; justify-content:center;
  }
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-close svg{ width:24px; height:24px; }
  /* Пункты меню начинались сразу под крестиком — сдвигаем ниже. */
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content{ padding-top:96px; }
}
/* Кнопки во вкладке услуг стояли вплотную к тексту описания. */
@media (max-width:900px){
  .ws-svc__panel .ws-svc__btns{ margin-top:22px; }
}


/* --- правки по разбору клиента 20.08.2026 ------------------------------ */

/* Плитки «Всё, что нужно знать резиденту»: на Тильде они белые, а вся плитка
   кликабельна — стрелка тоже. У нас кликался только текст. */
/* Фон плиток и синюю телеграмную не трогаем — они уже совпадают с Тильдой.
   Здесь только то, чего не хватало: тень и клик по всей плитке. */
.ws-media-card{ transition:box-shadow .2s ease; }
.ws-media-card:hover{ box-shadow:0 6px 24px rgba(0,0,0,.07); }
.ws-media-card a::after{ content:""; position:absolute; inset:0; z-index:2; }
/* Стрелка лежала поверх невидимой ссылки-подложки и перехватывала клик —
   поэтому по ней ничего не открывалось. Пропускаем клики сквозь неё. */
.ws-media-card__arrow,
.ws-media-card__plane{ pointer-events:none; }
.ws-media-card__arrow{ transition:transform .2s ease; }
.ws-media-card:hover .ws-media-card__arrow{ transform:translate(3px,-3px); }

/* Разделители между колонками. На Тильде это линия 1px цвета #dddbd3,
   широкая идёт с прозрачностью 0.6 — замеряла на живой странице. */
/* Линии есть только у блока «Нам доверяют» — в «Мы работаем с» на Тильде их
   нет, проверено на живой странице 20.08.2026. Ячейки растягиваем на всю
   высоту ряда, иначе линии выходят рваными. */
.ws-logos--clients{ grid-template-columns:repeat(4,1fr); justify-content:stretch;
  align-items:stretch; justify-items:stretch; gap:0; }
.ws-logos--clients .ws-logo{ width:100%; height:100%; min-height:150px;
  box-sizing:border-box; padding:20px; }
/* Картинки логотипов у Тильды 120×120; ограничение 80 их «усушало». */
.ws-logos--clients .ws-logo img{ width:auto; height:auto; max-width:120px; max-height:120px; }
.ws-logos--clients .ws-logo:not(:nth-child(4n)){ border-right:1px solid rgba(221,219,211,.6); }
.ws-logos--clients .ws-logo:not(:nth-last-child(-n+4)){ border-bottom:1px solid rgba(221,219,211,.6); }
@media (max-width:900px){
  .ws-logos--clients{ grid-template-columns:repeat(2,1fr); }
  .ws-logos--clients .ws-logo{ min-height:110px; padding:12px; border:0 !important; }
}

/* Разделители между шагами блока «Как мы работаем» — та же линия. */
.ws-how .ws-grid > .ws-step + .ws-step{ border-left:1px solid rgba(221,219,211,.6); }

/* Подписи под кружками отзывов — светлее; текст шагов на Тильде чёрный. */
.ws-review__label{ color:var(--c-text-muted); }
.ws-step p{ color:var(--c-text); font-weight:500; }
/* Подпись под кнопкой: на Тильде она по центру, у нас стояла по левому краю
   — из-за этого блок читался кривым. Замер сделан на живой странице. */
/* Подпись под кнопкой: на Тильде чёрная с прозрачностью 0.4 — выглядит
   серой. Замер 20.08.2026. */
.ws-note{ text-align:center; opacity:.4; }

/* Текст на синей плитке Telegram должен быть белым. Общее правило ниже по
   файлу перекрашивало все ссылки в плитках в чёрный. */
.ws-main .ws-wrap .ws-media-card--tg p a{ color:#fff; }
/* Всплывающий плеер видеоотзывов — как на Тильде. */
.ws-video{ width:min(900px, calc(100vw - 32px)); padding:0; border:0; border-radius:20px;
  background:#000; overflow:visible; }
.ws-video::backdrop{ background:rgba(0,0,0,.75); }
/* Обложка ролика видна с первого мгновения, плеер накрывает её сверху. */
.ws-video__frame{ position:relative; padding-top:56.25%;
  background:#000 center/cover no-repeat; border-radius:20px; }
.ws-video__frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0;
  border-radius:20px; }
.ws-video__close{ position:absolute; top:-46px; right:0; width:38px; height:38px; border:0;
  border-radius:50%; background:rgba(255,255,255,.9); color:#000; font-size:24px; line-height:1;
  cursor:pointer; }

/* Нижний ряд кружков на Тильде стоит по центру, у нас прижимался влево. */
.ws-review-row{ display:flex; flex-wrap:wrap; justify-content:center; }

/* --- единая типографика на страницах услуг ----------------------------- */
/* Страницы услуг верстались по шкале статьи Тильды (600 у заголовков, 300 у
   текста, кнопка радиусом 16). Главная снята с лендинга Тильды — там 500 у
   заголовков и радиус 24. Из-за этого страницы выглядели «из разных сайтов».
   Приводим начертания и кнопки к главной; размеры оставляем — они подобраны
   под длинные тексты услуг. */

.ws-article--srv h1,
.ws-article--srv h2,
.ws-article--srv h3{ font-weight:500; }
.ws-article--srv p,
.ws-article--srv li{ font-weight:400; }
.ws-article--srv .ws-article__lead{ font-weight:400; }

/* Кнопки: тот же радиус и та же высота, что на главной. */
.ws-article--srv .wp-block-button__link,
.ws-article--srv .ws-form__btn,
.ws-srv-links .wp-block-button__link{ border-radius:24px; }

/* --- единая шкала текста ----------------------------------------------- */
/* Проверка 20.08.2026 показала 15 разных наборов размеров на 64 страницах:
   H1 бывал 52, 60 и 64, H2 — от 20 до 42, текст — от 14 до 30. Так вышло
   потому, что страницы собирались из разных источников: главная снята с
   лендинга Тильды, статьи — с её же постов, услуги — из Notion.
   Оставляем три набора: лендинги, статьи, служебные страницы.
   Селекторы с [class] нужны, чтобы перебить точечные классы вида ws-t42,
   которые проставлены у отдельных записей. */

/* 1. Лендинги: главная и услуги — шкала главной, снятая с Тильды. */
.ws-article--srv h1, .ws-article--srv h1[class]{ font-size:52px; line-height:1.1; font-weight:500; }
.ws-article--srv h2, .ws-article--srv h2[class]{ font-size:42px; line-height:1.1; font-weight:500; }
.ws-article--srv h3, .ws-article--srv h3[class]{ font-size:28px; line-height:1.2; font-weight:500; }
.ws-article--srv p, .ws-article--srv p[class],
.ws-article--srv li{ font-size:18px; line-height:1.55; font-weight:400; }
/* Базовое правило лида стоит с !important — перебиваем тем же способом. */
.ws-article--srv .ws-article__lead,
.ws-article--srv .ws-article__lead[class]{ font-size:22px !important; line-height:1.35 !important;
  font-weight:400 !important; opacity:1; }


/* 2. Статьи и служебные страницы НЕ трогаем: их размеры сняты с Тильды
      один в один, сверено попиксельно 20.08.2026. */

/* 3. Кнопки везде одинаковые: радиус 24, как на главной. */
.wp-block-button__link, .ws-form__btn, .ws-svc__req, .ws-svc__more{ border-radius:24px; }

@media (max-width:600px){
  .ws-article--srv h1, .ws-article--srv h1[class]{ font-size:30px; }
  .ws-article--srv h2, .ws-article--srv h2[class]{ font-size:26px; }
  .ws-article--srv p, .ws-article--srv p[class]{ font-size:17px; }
}

/* --- сверка с Тильдой по замерам 20.08.2026 ---------------------------- */
/* Межстрочный пунктов меню: на Тильде 22px, у нас наследовался 1.55. */
.ws-header .wp-block-navigation a,
.ws-header__phone{ line-height:22px; }
/* Вкладки услуг: межстрочный 1.55 при кегле 14 — как у Тильды. */
.ws-pill{ line-height:1.55; }
/* Пункты списков: на Тильде межстрочный ровно 22px. */
.ws-check li{ line-height:22px; }
/* Оранжевая лента «Решаем ключевые задачи»: на Тильде текст полужирный. */
.ws-banner__in p{ font-weight:500; }

/* Имена под кружками отзывов, кнопки вкладок и тёмные пилюли: на Тильде всё
   это полужирное (500), сверка 20.08.2026. */
.ws-review__name{ font-weight:500; }
.ws-svc__more,
.ws-svc__req{ font-weight:500; line-height:1.55; }
.ws-chip--dark{ font-weight:500; }

/* Подвал: мелкая строка на Тильде серым #a3a29e с межстрочным 19px, а не
   белым с прозрачностью. */
/* Мелкая строка подвала на Тильде: серый #a3a29e, межстрочный 19px. У нас
   эти абзацы без своего класса — берём колонку с копирайтом целиком. */
.ws-footer__legal,
.ws-footer__legal a,
/* серым — только блок с логотипом: копирайт и ссылка на политику;
   адресная колонка остаётся белой, как на Тильде */
.ws-footer div:has(> .ws-footer__logo) p,
.ws-footer div:has(> .ws-footer__logo) > a:not(.ws-footer__logo){ color:#a3a29e; opacity:1; line-height:19px; }
/* Кнопка «задать вопрос» в телеграм-полосе: на Тильде полужирная. */
.ws-cta-tg__btn{ font-weight:500; }
/* Плашка «Мы всегда онлайн» у кнопки WhatsApp: на Тильде 15px, жирная. */
.ws-wa-float__tip{ font-size:15px; font-weight:700; line-height:1.35; }
/* Пилюля рейтинга: межстрочный как у Тильды. */
.ws-chip--dark{ line-height:19.6px; }
/* Ссылки в статьях и на служебных страницах: на Тильде оранжевые #FF8562. */
/* Кнопки-ссылки (класс с «-btn») исключены: у них свой цвет текста,
   а это правило равновесно кнопочному и, стоя ниже, перебивало его —
   текст сливался с оранжевой заливкой. */
/* …и карточки видеоотзывов: имена в них чёрные, как у Тильды. */
.ws-article:not(.ws-article--srv) a:not(.wp-element-button):not([class*="-btn"]):not([class*="ws-review"]){ color:#FF8562; }
/* Подписи полей формы: межстрочный Тильды 1.55. */
.ws-field__label{ line-height:1.55; }
/* H1 «политики» и «спасибо»: на Тильде жирный 700. */
.ws-article--t050 h1{ font-weight:700; }
/* Плашка WhatsApp: прозрачность 0.85, как у Тильды. Адресную колонку не
   трогаем — у Тильды она непрозрачная (мой замер 0.75 был прочитан в
   обратную сторону и уже откатан). */
.ws-footer__cols > div:last-child p,
.ws-footer__cols > div:last-child a{ opacity:1; }
.ws-wa-float__tip{ opacity:.85; }
/* Чипы: на белых карточках Тильды рамка #dddbd3, на кремовых — чёрная.
   Снято по пикселям 20.08.2026. */
.ws-price-card--soft .ws-chip{ border-color:var(--c-text); }
/* Межсекционные разделители главной: на Тильде линия 1160x1 #dddbd3 с
   прозрачностью 0.6 стоит над второй витриной, «Как мы работаем» и
   отзывами. Их и просила клиент в кружке: «делители создают границу
   между блоками». */
.ws-sc-2 > .ws-wrap,
.ws-how > .ws-wrap,
.ws-reviews > .ws-wrap{ border-top:1px solid rgba(221,219,211,.6); }
.ws-sc-2 > .ws-wrap{ padding-top:56px; }
.ws-how > .ws-wrap{ padding-top:56px; }
.ws-reviews > .ws-wrap{ padding-top:56px; }
/* Ссылка на политику в подвале: у Тильды без подчёркивания. */
.ws-footer div:has(> .ws-footer__logo) > a:not(.ws-footer__logo){ text-decoration:none; }
/* Оранжевое размытое пятно за секцией «Как мы работаем» — как на Тильде:
   шар 700x700 у правого края, верх на ~210px выше заголовка. У Тильды это
   SVG-маска почти в мегабайт; тот же вид даёт CSS-градиент за 0 байт. */
/* clip по горизонтали: пятно уходит за правый край, прокрутки не даёт */
.ws-how{ position:relative; overflow-x:clip; }
/* Пятно прибито как у Тильды: 700x700 на отметке 1330px от левого края
   окна при любой ширине (замерено на 1440/1920/2560 — Тильда его не
   масштабирует и не центрирует). На широких экранах оно ложится за
   правую часть контента. */
.ws-how::before{ content:""; position:absolute; width:700px; height:700px;
  /* по вертикали — середина блока (просьба клиента 20.08) */
  left:1330px; top:50%; transform:translateY(-50%); pointer-events:none;
  /* Кривая яркости снята по пикселям с живого шара Тильды (срез через центр
     на белом фоне): ядро почти плотное, спад мягкий до края. */
  background:radial-gradient(circle closest-side,
    rgba(253,110,30,.75) 0%, rgba(253,110,30,.70) 17%, rgba(253,110,30,.53) 34%,
    rgba(253,110,30,.28) 51%, rgba(253,110,30,.12) 69%, rgba(253,110,30,.04) 86%,
    rgba(253,110,30,0) 100%);
}
.ws-how > .ws-wrap{ position:relative; z-index:1; }
/* На узких экранах пятно за краем — прячем, чтобы не давало прокрутку. */
@media (max-width:1200px){ .ws-how::before{ display:none; } }
/* Промежуточные ширины (1441–901): карточки с жёсткой высотой начинали
   терять контент — пункты вываливались под карточку (скрин клиента,
   1024px). Жёсткая высота остаётся только на полной ширине. */
@media (max-width:1250px){
  .ws-price-card{ height:auto; min-height:0; }
  .ws-step{ height:auto; min-height:184px; }
  .ws-media-card{ height:auto; min-height:200px; }
}

/* --- средние ширины (901–1250): жёсткие пиксельные сетки --------------- */
/* Скрин клиента на 1024: пункт вываливался из карточки, форма и плитки
   давали горизонтальную прокрутку. Все сетки, свёрстанные в пикселях под
   1160, на этих ширинах переводим в доли. Снизу ограничено 901 — у телефона
   свой слой, и эти правила его ломали. */
@media (min-width:901px) and (max-width:1250px){
  /* форма: 3 поля + кнопка были 272+272+272+285 = 1101px */
  .ws-form__row{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
  .ws-form__btn{ width:100%; }
  /* плитки «цифры доверия» 4×260 */
  .wp-block-columns.ws-trust-row{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
  /* лента блога: карточки по ширине колонки */
  .ws-post-grid{ grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); }
  /* «текст и фото» 560+560 */
  .ws-article > .ws-two{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .ws-two__pic img{ width:100%; }
  /* отзывы: ряд и так flex, кружки чуть меньше, чтобы влезали впятером */
  .ws-review, .ws-review-card{ width:150px; }
  .ws-review__photo{ width:140px; height:140px; }
  /* страница «Права»: карточки 560 и герой с фото 460 */
  .ws-dl-card{ width:100%; max-width:560px; box-sizing:border-box; }
  .ws-dl-card__list, .ws-dl-card li{ width:auto; max-width:100%; }
  .ws-hero-row__img, .ws-hero-row__img img{ max-width:100%; height:auto; }
  /* логотипы ведомств: 6 фикс-колонок по 160 */
  .ws-logos--gov{ grid-template-columns:repeat(6,minmax(0,1fr)); justify-content:stretch; }
  .ws-logos--gov .ws-logo, .ws-logos--gov .ws-logo img{ width:100%; max-width:130px; height:auto; margin-inline:auto; }
}
/* Страница «Права»: сравнение тарифов — пиксельный коллаж 1160 с
   абсолютными координатами (снят с зеро-блока Тильды). На средних
   ширинах масштабируем его целиком, как делает сама Тильда. */
@media (min-width:901px) and (max-width:1250px){
  .ws-article > [class*="ws-dl-"]{ zoom:0.86; }
}
@media (min-width:901px) and (max-width:1080px){
  .ws-article > [class*="ws-dl-"]{ zoom:0.78; }
}
@media (min-width:901px) and (max-width:990px){
  .ws-article > [class*="ws-dl-"]{ zoom:0.72; }
}
@media (min-width:901px) and (max-width:1250px){
  .ws-article > .ws-gallery{ gap:16px; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ws-article > .ws-gallery .ws-gallery__pic img{ width:100%; height:auto; aspect-ratio:1; }
  /* герой «Прав»: колонка с фото 460px фиксированная */
  .wp-block-columns.ws-hero-row{ grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
  .ws-hero-row__pic{ width:100%; max-width:460px; }
  .ws-hero-row__pic img{ width:100%; height:auto; }
}
/* Рамки таблиц: в статьях Тильда рисует #dddddd, в «политике» — #dcdcdc.
   Разница в одну единицу, но раз сверяем попиксельно — держим обе. */
.ws-article--t050 td, .ws-article--t050 th{ border-color:#dcdcdc; }

/* --- телефон: компактные блоки главной (клиент, 25.08) ---------------
   На Тильде мобильная главная заметно плотнее (контент рисуется с
   уменьшением ~0.78): плитки статей ниже и со стрелкой справа, чипы
   услуг мельче и по несколько в ряд, карточки «как работаем» ниже,
   а кнопка «консультация» стоит ПОСЛЕ карточек с ценами. */
/* Пока колонки стоят в столбик (до 900), кнопка и подпись — после
   карточек цен, как у Тильды. */
@media (max-width:900px){
  .ws-sc .ws-showcase{ display:flex; flex-direction:column; }
  .ws-sc .ws-showcase__left,
  .ws-sc .ws-showcase__right{ display:contents; }
  .ws-sc .ws-showcase__right > .ws-price-card{ order:5; }
  .ws-sc .ws-showcase__left > .wp-block-buttons{ order:10; margin-top:24px; }
  .ws-sc .ws-showcase__left > .ws-note{ order:11; }
}
@media (max-width:600px){
  /* плитки статей: строка с текстом слева и стрелкой справа */
  .ws-media-card{ display:flex; align-items:center; gap:14px;
    padding:18px 20px; height:auto; min-height:0; }
  .ws-media-card p{ flex:1; margin:0; }
  .ws-media-card a{ font-size:20px; line-height:20px; }
  .ws-media-card__arrow{ position:static; font-size:22px; flex:none; }
  .ws-media-card__plane{ position:static; flex:none; }

  /* чипы-вкладки услуг: мельче, по несколько в ряд */
  .ws-pill{ height:28px; padding:0 12px; font-size:11px; }

  /* карточки «как работаем» и полоса доверия: плотнее */
  .ws-step{ height:auto; min-height:0; padding:22px 20px; }
  .ws-step h3{ font-size:30px; line-height:30px; margin-bottom:12px; }
  .ws-step p{ font-size:15px; line-height:19px; }
  .ws-trust{ padding:20px; }
  .ws-trust .ws-t-lead{ font-size:18px; line-height:22px; }
}

/* --- телефон: типографика главной по мобильной Тильде (сверка 25.08) - */
@media (max-width:600px){
  .ws-hero-home h1{ font-size:34px; line-height:27px; }
  .ws-hero-home .ws-t-lead{ font-size:19px; line-height:19px; }
  .ws-hero-home .ws-stat h3{ font-size:30px; line-height:30px; }
  .ws-hero-home .ws-stat p{ font-size:16px; line-height:16px; }
  .ws-main .wp-block-button__link,
  .ws-main .ws-btn--light .wp-block-button__link{ font-size:17px; line-height:48px; padding-block:0; }
  .ws-banner__in p{ font-size:30px; line-height:30px; }
  .ws-sc h2{ font-size:34px; line-height:34px; }
  .ws-svc__h2{ font-size:30px; line-height:30px; }
  h2.ws-h-center{ font-size:36px; line-height:36px; }
  .ws-how h2.ws-h-center{ font-size:30px; line-height:30px; }
  .ws-cookie__text{ font-size:12px; line-height:18.6px; }
  .ws-header .wp-block-navigation__responsive-container .wp-block-navigation-item a{
    font-size:18px; line-height:22px; color:#000; }
}

/* --- телефон: статьи блога по мобильной Тильде (сверка 25.08) --------- */
@media (max-width:600px){
  .single-post .ws-article h1{ line-height:30px; }
  .single-post .ws-article p{ font-size:16px; line-height:23.2px; }
  .single-post .ws-article li,
  .single-post .ws-article td,
  .single-post .ws-article th{ font-size:16px; line-height:23.2px; }
  /* жирные строки-подзаголовки (24px в тексте) у Тильды с множителем 1.45 */
  .single-post .ws-article strong{ line-height:1.45; }
}

/* --- телефон: форма и подвал по мобильной Тильде (сверка 25.08) ------- */
@media (max-width:600px){
  .ws-field__label{ font-size:16px; line-height:23.2px; height:auto; }
  .ws-footer__req, .ws-footer__req p{ text-align:center; }
  .ws-footer__bottom{ text-align:center; justify-content:center; }
}

/* --- телефон: лендинг прав и плашки по мобильной Тильде (25.08) ------- */
@media (max-width:600px){
  .ws-article--t1241 .ws-hero-dark h1{ font-size:36px; line-height:36px; }
  .ws-hero-dark p{ line-height:30.8px; }
  .ws-article .ws-dl-h2{ font-size:29px; line-height:29px; }
  .ws-main .ws-article a.ws-dl-btn{ font-size:17px; line-height:26.4px; }
  .ws-article .ws-dl-term{ font-size:14px; line-height:17px; }
  .ws-form__btn{ font-size:18px; line-height:25.2px; }
  .ws-plate strong{ font-size:26px; line-height:26px; }
  .ws-article .ws-dl-bonus__title{ font-size:27px; line-height:27px; }
  .ws-article .ws-dl-step__title{ font-size:22px; line-height:22px; }
  .ws-article .ws-dl-step__text{ font-size:18px; line-height:22px; }
  .ws-article--t1241 .ws-hero-dark p{ line-height:30.8px; }
  .ws-review__name{ font-size:16px; line-height:19px; }
  .ws-review__label{ font-size:14px; line-height:14px; }
  .ws-chip--dark{ font-size:14px; height:40px; }
}

/* --- телефон: порядок обложки как у Тильды (25.08) --------------------
   Заголовок, лид, кнопка, видео Сабины, затем три цифры В РЯД. Кнопка и
   цифры лежат в одной колонке-обёртке, Сабина в другой, поэтому колонки
   распаковываются (display:contents) и порядок задаётся флексом. */
@media (max-width:600px){
  .ws-hero-home .ws-wrap{ display:flex; flex-flow:row wrap; gap:0; }
  .ws-hero-home .ws-hero__top,
  .ws-hero-home .ws-hero__top > .ws-hero__text,
  .ws-hero-home .ws-wrap > .ws-stats{ display:contents; }
  .ws-hero-home .ws-hero__text > h1{ order:1; flex:0 0 100%; }
  .ws-hero-home .ws-hero__text > p{ order:2; flex:0 0 100%; }
  .ws-hero-home .ws-stats > .ws-hero__cta{ order:3; flex:0 0 100% !important;
    margin:28px 0 0 !important; display:block; }
  .ws-hero-home .ws-hero__top > .ws-hero__founder{ order:4; flex:0 0 100%; }
  /* у EN-версии свои десктопные ширины первых двух цифр с !important -
     перекрываем и их, иначе цифры переносятся друг под друга */
  .ws-hero-home .ws-stats > .ws-stat,
  html:lang(en) .ws-hero-home .ws-stats > .ws-stat:nth-child(1),
  html:lang(en) .ws-hero-home .ws-stats > .ws-stat:nth-child(2){ order:5;
    flex:1 1 0 !important; min-width:0; padding-right:10px; }
  .ws-hero-home .ws-stats > .ws-stat:last-of-type{ padding-right:0; }
}

/* --- телефон: видео Сабины скрыто, как у Тильды (25.08) --------------- */
@media (max-width:600px){
  .ws-hero-home .ws-hero__founder{ display:none; }
}

/* --- телефон: вертикальные отступы по мобильной Тильде (25.08) --------
   Наша страница была на четверть длиннее тильдовской: секции несли
   десктопные 80px сверху и снизу, карточки цен — десктопные поля. */
@media (max-width:600px){
  .ws-main .ws-section{ padding-block:45px; }
  .ws-main .ws-section + .ws-section{ padding-top:45px; }
  .ws-main .ws-section.ws-clients{ padding-block:45px 50px; }
  .ws-main .ws-section + .ws-section.ws-clients{ padding-top:45px; }
  .ws-price-card{ padding:22px; }
  .ws-price-card .ws-check li{ font-size:16px; line-height:1.45; }
  .ws-showcase .ws-check li{ font-size:16px; line-height:1.45; }
  .ws-logos--clients{ margin-top:60px; }
  .ws-logos--gov{ margin-top:60px; }
}

/* --- телефон: плотность ценовых секций как у Тильды (25.08) ----------- */
@media (max-width:600px){
  /* флекс-гэп колонок (60px) раздувал все зазоры при распаковке */
  .ws-sc .ws-showcase{ gap:0; }
  .ws-sc .ws-showcase h2{ margin-top:0; margin-bottom:10px; }
  .ws-sc .ws-showcase .ws-check{ margin-block:10px 16px; }
  .ws-sc .ws-showcase .ws-check li{ margin-bottom:8px; }
  .ws-sc .ws-showcase__right > .ws-price-card{ margin-top:16px; }
  .ws-sc .ws-showcase__left > .wp-block-buttons{ margin-top:20px !important; }
  .ws-sc .ws-note{ margin-top:10px; }
}

/* --- телефон: фото прав полосой, компактные FAQ и добавленные блоки --- */
@media (max-width:600px){
  /* три фото в ряд с обрезкой, как у Тильды, а не три экрана в столбик */
  .ws-article > .ws-gallery{ display:flex; gap:8px; }
  .ws-article > .ws-gallery > .ws-gallery__pic{ flex:1 1 0; margin:0; min-width:0; }
  .ws-article > .ws-gallery .ws-gallery__pic img{ width:100%; height:220px; object-fit:cover; aspect-ratio:auto; }
  /* аккордеон и добавленные блоки услуг плотнее */
  .ws-faq details{ padding:14px 0; }
  .ws-faq summary{ font-size:18px; }
  .ws-srv-cta__card{ padding:28px 20px; }
  .ws-srv-links__grid a{ padding:12px 16px; font-size:14px; }
}

/* --- телефон: обложка главной 1в1 с Тильдой (сверка 25.08 вечер) ------
   Кнопка по ширине текста, между кнопкой и цифрами виден город (у Тильды
   ~210px фона), заголовок начинается выше. */
@media (max-width:600px){
  .ws-main .ws-section.ws-hero-home{ padding-top:96px; }
  .ws-hero-home .ws-hero__cta .wp-block-button{ display:inline-block; }
  .ws-hero-home .ws-hero__cta .wp-block-button__link{
    display:inline-flex; width:auto; padding-inline:28px; }
  .ws-hero-home .ws-stats > .ws-stat{ padding-top:150px; }
}

/* --- английская версия: чуть легче начертание (клиент, 25.08) ---------
   Латиница Jost в весе 500 слипается; кириллицу не трогаем. Вариативный
   шрифт позволяет дробные веса: тексты 450, крупные плашки 470. */
html:lang(en) .ws-hero-home .ws-stat p{ font-weight:450; }
html:lang(en) .ws-media-card a{ font-weight:450; }
html:lang(en) .ws-step p{ font-weight:450; }
html:lang(en) .ws-how .ws-t-lead{ font-weight:450; }
html:lang(en) .ws-trust .ws-t-lead{ font-weight:450; }
html:lang(en) .ws-banner__in p{ font-weight:470; }
html:lang(en) .ws-step h3{ font-weight:470; }

/* --- телефон: правки клиента 25.08 вечер ------------------------------ */
/* перенос в заголовке обложки действует только на телефоне */
br.ws-br-m{ display:none; }
@media (max-width:600px){
  br.ws-br-m{ display:inline; }
  /* кнопка обложки по ширине текста, без десктопных 300px */
  .ws-hero-home .ws-hero__cta .wp-block-button__link,
  .ws-btn--light .wp-block-button__link{ width:auto; min-width:0; padding:0 22px; }
  /* подвал по центру, как у Тильды */
  .ws-footer__cols{ display:flex; flex-direction:column; align-items:center;
    text-align:center; gap:28px; }
  .ws-footer__nav{ align-items:center; gap:8px; font-size:18px; line-height:22px;
    width:auto; }
  .ws-footer__soc{ justify-content:center; }
  .ws-footer{ padding:32px 0 10px; }
  /* синий блок: кнопка и самолёт в одну строку, как у Тильды */
  .ws-cta-tg{ flex-direction:row; flex-wrap:wrap; align-items:center; }
  .ws-cta-tg__txt{ flex:0 0 100%; }
  /* самолёт целиком в плашке, на одной строке с кнопкой */
  .ws-cta-tg__icon{ width:96px; height:auto; margin:0 4px 0 auto;
    align-self:center !important; }
}
