/* ============================================================
   XSAI STUDIO — studio.xsai.vision
   Тёмный «вечерний» брат витрины: инвертированная палитра
   (чёрный грунт + фирменные тёплые нейтралы), те же шрифты
   XSAI-OCR. Все классы с префиксом .st- (не конфликтуют
   с main.css/addon.css витрины).
   ============================================================ */

@font-face {
  font-family: "XSAI";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/XSAI-OCR-11-Regular.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "XSAI-Bold";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/XSAI-OCR-11-Bold.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "XSAI-ExtraBold";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/XSAI-OCR-11-ExtraBold.woff") format("woff");
  font-display: swap;
}

:root {
  --st-page: #0f0e0c;
  --st-panel: #14120f;
  --st-ink: #f7f3ed;        /* tofu — фирменный светлый витрины */
  --st-ink-2: #a49e92;
  --st-ink-3: #6b665d;
  --st-line: rgba(247, 243, 237, 0.16);
  --st-line-soft: rgba(247, 243, 237, 0.08);
  --st-ph-a: #262320;
  --st-ph-b: #1a1815;
  --st-green: #7fae7f;
  --st-font: "XSAI", sans-serif;
  --st-font-bold: "XSAI-Bold", sans-serif;
  --st-font-heavy: "XSAI-ExtraBold", sans-serif;
  --st-wrap: 1280px;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body.st-body {
  margin: 0;
  background: var(--st-page);
  color: var(--st-ink);
  font-family: var(--st-font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.st-wrap { max-width: var(--st-wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .st-wrap { padding: 0 32px; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- типографика ---------- */
.st-h1, .st-h2, .st-h3 {
  font-family: var(--st-font-bold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.st-h1 { font-size: clamp(34px, 7vw, 72px); }
.st-h2 { font-size: clamp(24px, 4vw, 40px); }
.st-h3 { font-size: clamp(17px, 2vw, 22px); }

.st-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--st-ink-3);
}

.st-muted { color: var(--st-ink-2); }
.st-lead { color: var(--st-ink-2); font-size: 17px; max-width: 56ch; }

/* ---------- кнопки и чипсы ---------- */
.st-btn {
  display: inline-block;
  font-family: var(--st-font);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--st-ink);
  background: transparent;
  color: var(--st-ink);
  padding: 13px 26px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.st-btn:hover { background: var(--st-ink); color: var(--st-page); }
.st-btn--solid { background: var(--st-ink); color: var(--st-page); font-family: var(--st-font-bold); }
.st-btn--solid:hover { background: transparent; color: var(--st-ink); }

.st-chip {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--st-line);
  color: var(--st-ink-2);
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.st-chip:hover { border-color: var(--st-ink); color: var(--st-ink); }
.st-chip--on { background: var(--st-ink); border-color: var(--st-ink); color: var(--st-page); }
.st-chip--on:hover { color: var(--st-page); }

/* ---------- шапка ---------- */
.st-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 14, 12, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--st-line-soft);
}
.st-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.st-logo {
  font-family: var(--st-font-bold);
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.35em; /* flex схлопывает пробел между «XSAI» и «STUDIO» */
}
/* Загруженный логотип: высота задаётся в админке, ширина — по пропорции */
.st-logo img { width: auto; max-width: 190px; }
.st-logo span { color: var(--st-ink-3); font-family: var(--st-font); }
.st-nav { display: none; align-items: center; gap: 28px; }
.st-nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--st-ink-2);
  transition: color 0.2s;
}
.st-nav a:hover, .st-nav a.is-active { color: var(--st-ink); }
.st-nav a.st-nav__cta {
  border: 1px solid var(--st-line);
  padding: 8px 18px;
  color: var(--st-ink);
}
.st-nav a.st-nav__cta:hover { background: var(--st-ink); color: var(--st-page); }
@media (min-width: 900px) { .st-nav { display: flex; } .st-burger { display: none; } }

.st-burger {
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.st-burger i,
.st-burger::before,
.st-burger::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--st-ink);
  transition: transform 0.25s, opacity 0.25s;
}
.st-burger::before { top: 13px; }
.st-burger i { top: 19px; }
.st-burger::after { top: 25px; }

/* мобильное меню */
.st-mobile-menu {
  position: fixed;
  inset: 64px 0 0;
  z-index: 49;
  background: var(--st-page);
  display: none;
  flex-direction: column;
  padding: 24px 20px;
  gap: 4px;
}
.st-mobile-menu.is-open { display: flex; }
.st-mobile-menu a {
  font-family: var(--st-font-bold);
  font-size: 26px;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid var(--st-line-soft);
}
.st-mobile-menu .st-btn { margin-top: 24px; }
body.st-menu-open { overflow: hidden; }
body.st-menu-open .st-burger::before { transform: translateY(6px) rotate(45deg); }
body.st-menu-open .st-burger i { opacity: 0; }
body.st-menu-open .st-burger::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.st-hero {
  position: relative;
  min-height: min(86vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--st-line-soft);
}
.st-hero__media {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.st-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 14, 12, 0.2) 30%, rgba(15, 14, 12, 0.94));
}
.st-hero__in { position: relative; width: 100%; padding-bottom: 56px; padding-top: 140px; }
.st-hero .st-label { color: var(--st-ink-2); }
.st-hero .st-lead { margin: 18px 0 0; }

/* ---------- лента клиентов ---------- */
.st-marquee {
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid var(--st-line-soft);
  padding: 22px 0;
}
.st-marquee__in { display: inline-block; animation: st-marq 28s linear infinite; }
@keyframes st-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .st-marquee__in { animation: none; } }
.st-marquee b {
  font-family: var(--st-font-bold);
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--st-ink-2);
  margin: 0 34px;
}
/* Логотипы партнёров: монохром под тёмную тему, выравнивание по базовой линии текста */
.st-marquee__logo {
  display: inline-block;
  height: 26px;
  width: auto;
  margin: 0 34px;
  vertical-align: middle;
  opacity: 0.75;
  filter: grayscale(1) invert(1) brightness(1.6);
}

/* ---------- секции ---------- */
.st-section { padding: 64px 0; }
.st-section--line { border-bottom: 1px solid var(--st-line-soft); }
.st-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.st-section__more { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--st-ink-2); }
.st-section__more:hover { color: var(--st-ink); }

/* ---------- плитки кейсов ---------- */
/* Сетка кейсов: колонки по ширине контейнера, ряды выравниваются по верху.
   Без сдвига чётных плиток — со сдвигом при 2–3 карточках оставался провал
   в первом ряду и разъезжались подписи. */
.st-cases-grid {
  display: grid;
  gap: 28px 24px;
  align-items: start;
}
@media (min-width: 700px) {
  .st-cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1120px) {
  .st-cases-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
}

.st-case-tile { display: block; min-width: 0; }
.st-case-tile__cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--st-ph-b);
}
.st-case-tile__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.st-case-tile:hover .st-case-tile__cover img { transform: scale(1.03); }
.st-case-tile__client { font-family: var(--st-font-bold); font-size: 17px; margin-top: 14px; }
.st-case-tile__meta { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--st-ink-3); margin-top: 4px; }

/* обложка-скрин: рамка устройства */
.st-cover-screen {
  position: absolute;
  inset: 10%;
  border: 1px solid var(--st-line);
  background: var(--st-page);
  overflow: hidden;
}
.st-cover-screen img { width: 100%; height: 100%; object-fit: cover; }

/* обложка-типографика */
.st-cover-typo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background: var(--st-ph-b);
}
.st-cover-typo b {
  font-family: var(--st-font-bold);
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--st-ink-2);
  max-width: 16ch;
}
.st-cover-typo span { margin-top: 12px; }

/* плейсхолдер без фото (диагональная штриховка как в макете) */
.st-ph {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, var(--st-ph-a) 0 12px, var(--st-ph-b) 12px 24px);
}

/* ---------- направления (строки) ---------- */
.st-dir-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--st-line-soft);
  font-family: var(--st-font-bold);
  font-size: clamp(18px, 3vw, 28px);
  text-transform: uppercase;
  transition: padding-left 0.25s;
}
.st-dir-row:last-child { border-bottom: 1px solid var(--st-line-soft); }
.st-dir-row:hover { padding-left: 10px; }
.st-dir-row i { font-family: var(--st-font); font-style: normal; font-size: 12px; color: var(--st-ink-3); }

/* ---------- процесс ---------- */
.st-process {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--st-ink-2);
}

/* ---------- CTA-полоса ---------- */
.st-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.st-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- страница кейса ---------- */
.st-case-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--st-line-soft);
}
.st-case-hero__in { position: relative; width: 100%; padding-top: 120px; padding-bottom: 40px; }

.st-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--st-line-soft);
}
@media (min-width: 768px) { .st-facts { grid-template-columns: repeat(4, 1fr); } }
.st-facts > div { padding: 18px 20px; border-right: 1px solid var(--st-line-soft); border-top: 1px solid var(--st-line-soft); }
.st-facts b { font-family: var(--st-font-bold); font-size: 15px; display: block; margin-top: 6px; }

.st-case-text { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 44px; }
@media (min-width: 768px) { .st-case-text { grid-template-columns: 1fr 1fr; gap: 48px; } }
.st-case-text p { margin: 10px 0 0; color: var(--st-ink-2); max-width: 52ch; }

.st-gallery { display: grid; gap: 12px; padding-bottom: 44px; }
@media (min-width: 768px) { .st-gallery { grid-template-columns: 2fr 1fr; } }
.st-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }

.st-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--st-line-soft); }
.st-metrics > div { padding: 22px 20px; border-right: 1px solid var(--st-line-soft); }
.st-metrics b { font-family: var(--st-font-bold); font-size: clamp(22px, 3vw, 34px); display: block; }
.st-metrics span { display: block; margin-top: 6px; }

.st-next-case {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 36px 0;
  border-top: 1px solid var(--st-line-soft);
}
.st-next-case:hover .st-h3 { color: var(--st-ink-2); }

/* ---------- направления (страница) ---------- */
.st-service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--st-line-soft);
}
.st-service:last-of-type { border-bottom: 1px solid var(--st-line-soft); }
.st-service__num { font-size: 12px; color: var(--st-ink-3); padding-top: 6px; }
.st-service p { margin: 8px 0 0; color: var(--st-ink-2); max-width: 56ch; }
.st-service__terms { margin-top: 12px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--st-ink-3); }
.st-service__terms a { color: var(--st-ink-2); }
.st-service__terms a:hover { color: var(--st-ink); }

/* строки «что входит» на лендинге направления */
.st-include-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--st-line-soft);
  font-size: 17px;
}
.st-include-row:last-child { border-bottom: 1px solid var(--st-line-soft); }

/* ---------- отзывы ---------- */
.st-testimonials { display: grid; gap: 20px; }
@media (min-width: 768px) { .st-testimonials { grid-template-columns: repeat(2, 1fr); } }
.st-testimonial { border: 1px solid var(--st-line); padding: 26px; margin: 0; }
.st-testimonial blockquote { margin: 0; font-size: 17px; line-height: 1.5; color: var(--st-ink); }
.st-testimonial figcaption { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--st-ink-2); }
.st-testimonial figcaption img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.st-testimonial figcaption b { color: var(--st-ink); font-family: var(--st-font-bold); }

/* ---------- faq ---------- */
.st-faq { border-top: 1px solid var(--st-line-soft); }
.st-faq details { border-bottom: 1px solid var(--st-line-soft); padding: 18px 0; }
.st-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--st-font-bold);
  font-size: 16px;
}
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after { content: "+"; color: var(--st-ink-3); font-family: var(--st-font); flex-shrink: 0; }
.st-faq details[open] summary::after { content: "\2212"; }
.st-faq p { margin: 12px 0 0; color: var(--st-ink-2); font-size: 14px; max-width: 62ch; }

/* ---------- студия (о нас) ---------- */
.st-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--st-line-soft); border-bottom: 1px solid var(--st-line-soft); }
@media (min-width: 768px) { .st-stats { grid-template-columns: repeat(4, 1fr); } }
.st-stats > div { padding: 24px 20px; border-right: 1px solid var(--st-line-soft); }
.st-stats b { font-family: var(--st-font-bold); font-size: clamp(26px, 4vw, 44px); display: block; }
.st-stats span { display: block; margin-top: 6px; }

/* ---------- бриф ---------- */
.st-brief { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 72px; }
@media (min-width: 900px) { .st-brief { grid-template-columns: 1fr 1fr; gap: 72px; } }

.st-field { margin-bottom: 24px; }
.st-field input[type="text"],
.st-field input[type="tel"],
.st-field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--st-line);
  color: var(--st-ink);
  font-family: var(--st-font);
  font-size: 16px;
  padding: 10px 0;
  outline: none;
  border-radius: 0;
}
.st-field input:focus, .st-field textarea:focus { border-bottom-color: var(--st-ink); }
.st-field .st-label { display: block; margin-bottom: 10px; }
.st-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.st-flash {
  border: 1px solid var(--st-line);
  padding: 18px 22px;
  margin-bottom: 28px;
  color: var(--st-ink-2);
}

/* honeypot */
.st-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ---------- футер ---------- */
.st-footer { border-top: 1px solid var(--st-line-soft); padding: 28px 0 40px; }
.st-footer__in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-ink-3);
}
.st-footer a:hover { color: var(--st-ink); }

/* ============================================================
   Виджет связи: пилюля «На связи» + панель чат/звонок
   ============================================================ */
.st-widget { position: fixed; right: 18px; bottom: 18px; z-index: 90; font-family: var(--st-font); }

.st-widget__pill {
  display: none;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--st-line);
  border-radius: 999px;
  background: var(--st-page);
  color: var(--st-ink);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.st-widget__pill:hover { background: var(--st-ink); color: var(--st-page); }
.st-widget__fab {
  display: inline-flex;
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--st-line);
  border-radius: 50%;
  background: var(--st-page);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.st-widget__fab i { width: 4px; height: 4px; border-radius: 50%; background: var(--st-ink); }
@media (min-width: 900px) {
  .st-widget__pill { display: inline-flex; }
  .st-widget__fab { display: none; }
}

.st-widget__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st-green); }
.st-widget__dot--off { background: var(--st-ink-3); }
.st-widget__fab .st-widget__dot { position: absolute; top: -1px; right: -1px; border: 2px solid var(--st-page); }

.st-widget__badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--st-ink);
  color: var(--st-page);
  font-size: 11px;
  font-family: var(--st-font-bold);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.st-widget__pill .st-widget__badge { top: -6px; right: 2px; }
.st-widget.has-unread .st-widget__badge { display: inline-flex; }

.st-widget__tip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  background: var(--st-panel);
  border: 1px solid var(--st-line);
  color: var(--st-ink-2);
  font-size: 12px;
  padding: 9px 14px;
  white-space: nowrap;
  display: none;
}
.st-widget.show-tip .st-widget__tip { display: block; }

/* панель */
.st-widget__panel {
  position: fixed;
  right: 18px;
  bottom: 80px;
  width: 340px;
  max-width: calc(100vw - 36px);
  background: var(--st-page);
  border: 1px solid var(--st-line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
  display: none;
  flex-direction: column;
}
.st-widget.is-open .st-widget__panel { display: flex; }

@media (max-width: 899px) {
  .st-widget__panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    max-height: 82vh;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
}

.st-widget__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--st-line-soft);
}
.st-widget__title { display: flex; align-items: center; gap: 9px; font-family: var(--st-font-bold); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.st-widget__close { background: none; border: 0; color: var(--st-ink-3); font-size: 20px; cursor: pointer; line-height: 1; padding: 4px; }
.st-widget__close:hover { color: var(--st-ink); }

.st-widget__tabs { display: flex; border-bottom: 1px solid var(--st-line-soft); }
.st-widget__tab {
  flex: 1;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--st-ink-3);
  font-family: var(--st-font);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 0;
  cursor: pointer;
}
.st-widget__tab.is-active { color: var(--st-ink); border-bottom-color: var(--st-ink); }

.st-widget__body { display: none; flex-direction: column; }
.st-widget__body.is-active { display: flex; }

/* чат */
.st-chat__log {
  height: 280px;
  max-height: 44vh;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.st-chat__msg { max-width: 86%; padding: 9px 13px; font-size: 13.5px; line-height: 1.4; }
.st-chat__msg--visitor { align-self: flex-end; background: var(--st-ink); color: var(--st-page); }
.st-chat__msg--manager { align-self: flex-start; border: 1px solid var(--st-line); }
.st-chat__hint { font-size: 11px; color: var(--st-ink-3); }
.st-chat__form { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--st-line-soft); align-items: center; }
.st-chat__form input {
  flex: 1;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--st-line);
  color: var(--st-ink);
  font-family: var(--st-font);
  font-size: 14px;
  padding: 8px 0;
  outline: none;
  border-radius: 0;
}
.st-chat__form input:focus { border-bottom-color: var(--st-ink); }
.st-chat__send { background: none; border: 0; color: var(--st-ink); font-size: 18px; cursor: pointer; padding: 6px; }
.st-widget__tg {
  display: block;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-ink-2);
  padding: 12px;
  border-top: 1px solid var(--st-line-soft);
}
.st-widget__tg:hover { color: var(--st-ink); }

/* звонок */
.st-call { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.st-call input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--st-line);
  color: var(--st-ink);
  font-family: var(--st-font);
  font-size: 14px;
  padding: 9px 0;
  outline: none;
  border-radius: 0;
}
.st-call input:focus { border-bottom-color: var(--st-ink); }
.st-call__note { font-size: 11px; color: var(--st-ink-3); text-align: center; }
.st-call__done { padding: 28px 16px; text-align: center; color: var(--st-ink-2); display: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
