/* ════════════════════════════════════════════════════════════════════
   «ЭТО ВАС ЗАИНТЕРЕСУЕТ» · сертификаты и приложение.

   Блок был только на странице филиала, а стили лежали в трёх файлах
   сразу — styles.css, mobile.css и system.css. Собраны сюда без
   изменения значений, чтобы тем же блоком пользовалась главная:
   там на его месте стояли заглушки «Акции» и «Сервисы SODA».
   ════════════════════════════════════════════════════════════════════ */

/* ── из styles.css ── */
.brands .pager{ margin:50px auto 0; }
.brands .pager__dot{ border:0; padding:0; cursor:pointer; transition:background .2s; }
.brands .pager__dot:hover{ background:rgba(130,134,52,.6); }
.brands .pager__bar{ transition:width .9s cubic-bezier(.42,0,.58,1); }
@media (prefers-reduced-motion:reduce){
  .brand-card__video,.brand-card__scrim,.brands .pager__bar{ transition:none; }
}
.tvz{
  --tvz-inset:60px;
  --tvz-gap:12px;
  --card-w:700px;
  padding:clamp(50px,7vw,120px) 0;
}
.tvz-head{ display:flex; align-items:center; justify-content:space-between; padding:0 var(--tvz-inset); margin-bottom:66px; }
.tvz-h{ margin:0; font-size:clamp(40px,6vw,100px); line-height:1.02; letter-spacing:-.02em; text-transform:uppercase; color:#a3a932; font-weight:400; }
.tvz-nav{ display:flex; align-items:center; gap:16px; }
.tvz-arrow{ width:44px; height:44px; border:0; border-radius:50%; background:rgba(130,134,52,.1); display:grid; place-items:center; cursor:pointer; transition:background .2s,opacity .2s; }
.tvz-arrow:hover:not(:disabled){ background:rgba(130,134,52,.2); }
.tvz-arrow:disabled{ opacity:.3; cursor:default; }
.tvz-arrow span{ width:9px; height:9px; border-top:1.6px solid #828634; border-right:1.6px solid #828634; }
.tvz-arrow--prev span{ transform:rotate(-135deg); margin-left:3px; }
.tvz-arrow--next span{ transform:rotate(45deg); margin-right:3px; }
.tvz .pager{ margin:0; }
.tvz .pager__bar{ width:30px; background:#828634; transition:width .9s cubic-bezier(.42,0,.58,1); }
.tvz .pager__dot{ border:0; padding:0; cursor:pointer; transition:background .2s; }
.tvz .pager__dot:hover{ background:rgba(130,134,52,.6); }
/* Лента выходит в оба края экрана: секция держит поля --pad, и правый
   баннер обрывался за 65-72px до края — обрез читался как ошибка вёрстки.
   Отрицательный margin гасится равным padding, поэтому первая карточка
   остаётся ровно под заголовком, а размах прокрутки не меняется:
   ширина контентной коробки та же, растёт только видимая. */
.tvz-viewport{ overflow-x:auto; overflow-y:hidden; scrollbar-width:none; -ms-overflow-style:none; cursor:grab; overscroll-behavior-x:contain;
  margin-inline:calc(var(--pad, 20px) * -1);
  padding-inline:var(--pad, 20px);
  scroll-padding-inline:var(--pad, 20px); }
.tvz-viewport::-webkit-scrollbar{ display:none; }
.tvz-viewport.is-dragging{ cursor:grabbing; }
.tvz-track{ display:flex; gap:var(--tvz-gap); width:max-content; padding-inline:calc((100% - var(--card-w)) / 2); }
.tvz-card{
  flex:0 0 auto; width:var(--card-w); aspect-ratio:1009/563;
  background:#fff; border-radius:24px;
  overflow:hidden; position:relative; user-select:none;
  container-type:inline-size;
}
.tvz-card:not(.is-active){ cursor:pointer; }
.tvz-card:not(.is-active) a,
.tvz-card:not(.is-active) button,
.tvz-card:not(.is-active) img{ pointer-events:none; }
.tvz-card__inner{ pointer-events:none; }
.tvz-card.is-active .tvz-card__inner{ pointer-events:auto; }
.tvz .rv{
  clip-path:inset(0 100% 0 0);
  opacity:0;
  transition:
    clip-path .85s cubic-bezier(.42,0,.58,1) var(--d,0ms),
    opacity   .45s ease-out var(--d,0ms);
}
.tvz-card.is-revealed .rv{ clip-path:inset(0 -2% 0 0); opacity:1; }
.tvz-card__inner{ position:absolute; inset:0; z-index:2; }
.cert__bullets{ position:absolute; left:67.59%; right:3.17%; top:29.13%; list-style:none; margin:0; padding:0; color:#828634; font-size:2cqw; line-height:1.55; white-space:nowrap; }
.cert__title{ position:absolute; left:4.56%; bottom:5.68%; width:61.45%; margin:0; font-size:3.77cqw; line-height:1.37; font-weight:400; color:#a3a932; }
.cert__title b{ font-weight:400; color:#828634; display:block; }
.cert__actions{ position:absolute; left:67.59%; bottom:7.99%; width:29.24%; text-align:center; }
.cert__how{ display:block; margin-bottom:2.4%; font-size:1.68cqw; color:#828634; text-decoration:none; white-space:nowrap; }
.cert__btn{ display:flex; align-items:center; justify-content:center; width:100%; height:4.56cqw; min-height:30px; border-radius:var(--r-btn,17px); background:linear-gradient(to right,#828634,#969d08); color:#fcfcf7; font-size:1.68cqw; text-decoration:none; }
/* Знак SODA в карточке приложения рисуем прямо здесь, маской по
   Logo.svg. Раньше он опирался на класс .logo страницы филиала, а на
   главной под тем же именем лежит плейсхолдер — пунктирная рамка,
   и в карточке зияла пустая коробка. url() резолвится относительно
   этого файла, поэтому путь один на страницы любой вложенности. */
/* Селектор с .tvz-card, а не голый .app__logo: на главной правило
   «.soda .logo» специфичнее и навязывало плейсхолдеру размер 110×40
   и пунктирную рамку. */
.tvz-card .app__logo{
  position:absolute; left:4.86%; top:10.12%; width:18.93%; aspect-ratio:241/156;
  height:auto; color:#828634;
  background:currentColor; border:0;
  -webkit-mask:url("../../svg/logo.svg") left center / contain no-repeat;
          mask:url("../../svg/logo.svg") left center / contain no-repeat;
}
.app__text{ position:absolute; left:4.86%; top:55.24%; margin:0; font-size:4.16cqw; line-height:1.24; color:#828634; }
.app__text b{ display:block; font-weight:400; color:#a3a932; }
.app__badges{ position:absolute; left:4.86%; bottom:7.99%; display:flex; gap:2.06%; width:37.4%; }
.app__badges img{ width:17.67cqw; height:auto; }
@media (prefers-reduced-motion:reduce){
  .tvz .rv{ transition:none; clip-path:none; opacity:1; }
  .tvz .pager__bar{ transition:none; }
}
@media (max-width:900px){
  .tvz{ --tvz-inset:24px; }
  .tvz-head{ flex-direction:column; align-items:flex-start; gap:24px; }
}
.works2 .pager{ margin-top:44px; }
/* ── из mobile.css ── */
@media (max-width:720px){
  .studio2-h,.tvz-h,.brands-h,.works2-h,.px3-h,.interior-h,.faq-title{
    font-size:clamp(30px,8.8vw,38px) !important;
    line-height:1.05 !important;
    text-align:left !important;
    letter-spacing:-.02em;
    margin:0 0 18px !important;
  }
  .studio2,.px3,.tvz,.brands,.works2,.interior,.faq{
    padding-top:52px !important;
    padding-bottom:20px !important;
  }
  /* --m-edge объявлен в mobile.css страницы филиала; на главной его нет,
     поэтому запасное значение — то же 20px, что там */
  .tvz{--tvz-inset:var(--m-edge,20px)}
  .interior-ph,.interior-wide,.gallery2 figure,.gallery2 .fig-media,
  .tvz-card,.works2-banner,.faq-item,
  .tb-card,.tb-cta,.tb-zkph{border-radius:20px !important}
}
/* H3: раскладка карточки столбиком — до 900px (было до 720): на 721–900 карточка шириной в пол-экрана (~370px)
   оставалась в десктопной раскладке, пункты сертификата переносились по слогам и уходили под «Подробнее» */
@media (max-width:900px){
  .tvz{--card-w:min(92vw,430px)}
  .tvz-head{flex-direction:row !important;align-items:center !important;gap:12px}
  .tvz-card{aspect-ratio:auto;height:auto;display:flex;flex-direction:column}
  .tvz-card__inner{position:static;display:flex;flex-direction:column;gap:14px;padding:18px 18px 20px}
  .tvz-card .cert__title{position:static !important;width:auto !important;transform:none;
    font-size:22px;line-height:1.22;order:1}
  .tvz-card .cert__title b{display:block}
  .tvz-card .cert__bullets{position:static !important;width:auto !important;transform:none;
    order:2;display:grid;gap:8px;margin:0;padding:0;list-style:none;font-size:15px;line-height:1.4}
  .tvz-card .cert__bullets li{position:relative;padding-left:16px}
  .tvz-card .cert__bullets li::before{content:'';position:absolute;left:0;top:.5em;
    width:6px;height:6px;border-radius:50%;background:#a3a932}
  .tvz-card .cert__actions{position:static !important;width:auto !important;transform:none;
    order:3;display:flex;flex-direction:column;gap:10px;margin-top:4px}
  .tvz-card .cert__btn{width:100%;min-height:52px;display:inline-flex;align-items:center;justify-content:center;
    font-size:16px;border-radius:var(--r-btn,17px)}
  .tvz-card .cert__how{align-self:center;font-size:14px;min-height:44px;display:inline-flex;align-items:center}
  .tvz-card .app__logo{position:static !important;transform:none;width:64px;height:42px}
  .tvz-card .app__text{position:static !important;width:auto !important;transform:none;
    font-size:20px;line-height:1.25}
  .tvz-card .app__text b{display:block}
  .tvz-card .app__badges{position:static !important;width:auto !important;transform:none;
    display:flex;gap:10px;flex-wrap:wrap}
  .tvz-card .app__badges img{height:44px;width:auto}
  .tvz-nav .tvz-arrow{display:none}
}
@media (max-width:900px){
  .works2 .pager{margin-top:28px}
}
.soda-hero__title,.studio2-h,.tvz-h,.brands-h,.works2-h,.works2-c-title,
.interior-h,.faq-title,.branchcard__name,.cert__title,.promos__title,
.px3-h,.px3-cat-title{text-transform:none !important}
@media (max-width:900px){
  .tvz-card{display:flex;flex-direction:column}
  .tvz-card__inner{order:1}
  .tvz-card .cert__title,.tvz-card .app__text{order:1}
  .tvz-card .cert__bullets,.tvz-card .app__badges{order:2}
  .tvz-card .cert__actions{order:3}
}
.art-pad,.tvz-arrow{font-size:0 !important}
.art-pad::before,.tvz-arrow span{
  content:'';display:block;width:9px;height:9px;
  border-top:1.6px solid currentColor;border-right:1.6px solid currentColor;
}
.art-pad[data-dir="1"]::before,.tvz-arrow--next span{transform:rotate(45deg);margin-right:3px}
.art-pad[data-dir="-1"]::before,.tvz-arrow--prev span{transform:rotate(-135deg);margin-left:3px}
/* ── из system.css ── */
/* .branchcard__name из списка убран: это заголовок внутри тёмной карточки
   филиала, он белый и по центру, а правило красит секционные заголовки в
   оливу и выключает их влево. Копия правила лежит здесь ниже system.css,
   поэтому её !important побеждал корректирующие правила оттуда. */
.studio2-h,.px3-h,.tvz-h,.brands-h,.works2-h,.promos__title,
.interior-h,.faq-title,.ms-h,.art-h,
.h-sec,
.px-h{   /* .h-sec — «Вакансии»/«О нас», .px-h — прайс v2 */
  font-size:var(--h-sec) !important;
  line-height:var(--lh-h) !important;
  letter-spacing:var(--ls-h) !important;
  font-weight:400 !important;
  text-align:left !important;
  text-transform:none !important;
  margin-left:0 !important;margin-right:0 !important;
  /* Единый цвет заголовков — тёмная олива. Светлая #a3a932 давала
     контраст 2.37:1 на фоне страницы, то есть не проходила даже норму
     для крупного текста (3:1); #828634 даёт 3.63:1. Светлая остаётся
     акцентом внутри тёмных блоков, где контраст обратный. */
  color:#828634 !important;
}
.works2-c-title,.cert__title,.app__text,.vac__t,.art-title{
  font-size:clamp(20px,2.1vw,30px) !important;
  line-height:1.15 !important;letter-spacing:-.01em !important;
}
.faq-a p,.tvz-card .cert__bullets li,.art-sub,.ms-copy{
  font-size:var(--t-body) !important;line-height:1.5 !important;
}
.studio2,.px3,.tvz,.brands,.works2,.promos,.interior,.faq,.ms,.art{
  padding-left:var(--pad) !important;
  padding-right:var(--pad) !important;
}
@media (min-width:901px){
  .tvz{--tvz-inset:0px}
  .tvz-head{padding-left:0 !important;padding-right:0 !important}
  .tvz{
    --tvz-gap:16px;
    /* assets/js/pages/branch.js пишет --card-w инлайном под центрированную раскладку
       (карточка = половина экрана, по бокам половинки соседних).
       Нам нужна левая раскладка: карточка на оси страницы + половина
       следующей справа. !important перебивает инлайн без !important. */
    /* три ограничения: разумный максимум · ширина под «полторы карточки» ·
       высота экрана минус шапка секции */
    --card-w:min(
      1000px,
      calc((100vw - var(--pad) * 2 - var(--tvz-gap)) / 1.5),
      calc((100svh - 300px) * 1.792)
    ) !important;
    padding-top:clamp(56px,5vw,80px) !important;
    padding-bottom:clamp(28px,3vw,44px) !important;
  }
  .tvz-track{
    padding-left:0 !important;
    /* поле справа: без него последняя карточка не может доехать до левой оси —
       предел прокрутки заканчивается раньше (замер: нужно 879, а было 432) */
    padding-right:calc(100% - var(--card-w)) !important;
    gap:var(--tvz-gap) !important;
  }
  .tvz-card{width:var(--card-w) !important;flex:0 0 var(--card-w) !important}
  .tvz-h{margin-bottom:clamp(18px,2vw,28px) !important}
}
.studio2-h,.px3-h,.tvz-h,.brands-h,.works2-h,.promos__title,
.interior-h,.faq-title,.ms-h,.art-h{
  margin-bottom:clamp(16px,1.8vw,26px) !important;
}
@media (max-width:900px){
  .tvz{--tvz-inset:0px}
  .tvz-head{padding-left:0 !important;padding-right:0 !important}
  .tvz-track{padding-left:0 !important}
}

/* ═════ B4 · КАРТОЧКИ НА ПЛАНШЕТЕ (адаптив 2026-08-26) ═════
   Размеры внутри карточки завязаны на её ширину, и в диапазоне
   768–1100 карточка узкая: замер на 1024 — «Как это работает?»
   кеглем 10.3px и высотой 14px, кнопка «Подробнее» 179×30, пункты
   списка 232px в контейнере 179–190px («Индивидуальное поздравление»
   резалось). Поднимаем кегль до читаемого, тап-цели до 44 и снимаем
   переполнение. На 1280+ ничего не меняется. */
@media (min-width:768px) and (max-width:1100px){
  .tvz-card__inner{min-width:0}
  .cert__bullets{min-width:0}
  .cert__bullets li{font-size:13px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
  .cert__actions{flex-wrap:wrap;gap:10px;align-items:center}
  .cert__how{font-size:13px;min-height:44px;display:inline-flex;align-items:center}
  .cert__btn{font-size:13px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .app__text{min-width:0;overflow-wrap:anywhere}
  .app__badges img{max-width:100%}
}
