/* Страница /integrations — редизайн по макету Figma (Сайт Podpislon.ru, 1109:4833 и мобильный 1196:7469) */
/* Onest — шрифт макета и UI-kit сайта. Лежит у нас (OFL, fontsource 5.3.1; текст лицензии — docs/licenses/Onest-OFL.txt), без внешних запросов;
   latin-ext нужен ради знака ₽ */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url(../../fonts/Onest/onest-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url(../../fonts/Onest/onest-latin-ext-400-normal.woff2) format('woff2'); 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: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url(../../fonts/Onest/onest-latin-400-normal.woff2) format('woff2'); 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: 'Onest'; font-style: normal; font-weight: 500; font-display: swap; src: url(../../fonts/Onest/onest-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap; src: url(../../fonts/Onest/onest-latin-ext-500-normal.woff2) format('woff2'); 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: 'Onest'; font-style: normal; font-weight: 500; font-display: swap; src: url(../../fonts/Onest/onest-latin-500-normal.woff2) format('woff2'); 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: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url(../../fonts/Onest/onest-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url(../../fonts/Onest/onest-latin-ext-600-normal.woff2) format('woff2'); 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: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url(../../fonts/Onest/onest-latin-600-normal.woff2) format('woff2'); 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: 'Onest'; font-style: normal; font-weight: 700; font-display: swap; src: url(../../fonts/Onest/onest-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap; src: url(../../fonts/Onest/onest-latin-ext-700-normal.woff2) format('woff2'); 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: 'Onest'; font-style: normal; font-weight: 700; font-display: swap; src: url(../../fonts/Onest/onest-latin-700-normal.woff2) format('woff2'); 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; }

.int-lp {
  --int-ink: #1a1a1a;
  --int-ink-2: #1e1f21;
  --int-grey: #666666;
  --int-grey-2: #9ca3af;
  --int-brand: #f68909;
  --int-brand-hover: #fbae28; /* UI-kit orange primary/300 */
  --int-brand-hover-ink: #3a2c1f; /* UI-kit orange primary/1000 */
  --int-accent: #ff9c1f;
  --int-eyebrow: #995e13;
  --int-dark: #1a1a1a;
  --int-surface: #f6f6f6;
  --int-border: #f0f1f2;
  --int-api: #465be5;

  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--int-ink);
  overflow-x: hidden;
}

.int-lp *,
.int-lp *::before,
.int-lp *::after { box-sizing: border-box; }
/* :where() держит специфичность сброса на уровне одного класса, чтобы его перебивали классы блоков ниже */
.int-lp :where(h1, h2, h3, p, ol) { margin: 0; padding: 0; }
/* common.css вешает GothamPro прямо на h1–h6 — заголовкам тоже нужен Onest страницы */
.int-lp :where(h1, h2, h3, h4, h5, h6) { font-family: inherit; }
.int-lp :where(img) { max-width: 100%; }
.int-lp section { position: relative; }
.int-lp section[id] { scroll-margin-top: 140px; }

.int-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1252px;
  margin: 0 auto;
  padding: 0 16px;
}

.int-br-desktop { display: none; }
.int-nowrap { white-space: nowrap; }

/* ---------- typography ---------- */

.int-eyebrow {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--int-eyebrow);
}
.int-eyebrow_brand { color: var(--int-accent); }

.int-h2 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--int-ink);
}
.int-h2_invert { color: #fff; }

/* ---------- buttons ---------- */

.int-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s, color .2s, opacity .2s;
}
.int-btn:hover,
.int-btn:focus { text-decoration: none; }
.int-btn img { width: 20px; height: 20px; flex: none; }

.int-btn_primary { background: var(--int-brand); color: #fff; }
/* hover по UI-kit (0M6WI8LTThtUXFjyLCmWBb, узел 184:2168): фон светлее — orange primary/300, текст — orange primary/1000, стрелка — чёрная (#1e1f21, как icon-arrow-right-dark) */
.int-btn_primary:hover,
.int-btn_primary:focus { background: var(--int-brand-hover); color: var(--int-brand-hover-ink); }

/* Стрелка, меняющая цвет вместе с текстом: форма берётся из svg маской, цвет — из background-color,
   который переходит тем же transition, что и color текста (.2s ease), поэтому оба меняются одновременно */
.int-btn__arrow {
  flex: none;
  width: 20px;
  height: 20px;
  background-color: #fff;
  -webkit-mask: url(../../images/integrations/icon-arrow-right-white.svg) center / 20px 20px no-repeat;
  mask: url(../../images/integrations/icon-arrow-right-white.svg) center / 20px 20px no-repeat;
  transition: background-color .2s;
}
.int-btn_primary:hover .int-btn__arrow,
.int-btn_primary:focus .int-btn__arrow { background-color: #1e1f21; }

.int-btn_secondary { background: var(--int-border); color: var(--int-ink-2); }
.int-btn_secondary:hover,
.int-btn_secondary:focus { background: #e4e5e7; color: var(--int-ink-2); }

.int-btn_ghost { color: var(--int-ink-2); }
.int-btn_ghost:hover,
.int-btn_ghost:focus { background: var(--int-border); color: var(--int-ink-2); }

.int-btn_ghost-invert { color: #fff; }
.int-btn_ghost-invert:hover,
.int-btn_ghost-invert:focus { background: rgba(255, 255, 255, .08); color: #fff; }

/* Кнопка-ссылка UI-kit (0M6WI8LTThtUXFjyLCmWBb): текст и стрелка — один компонент; на hover (узел 182:1700)
   вокруг появляется подложка neutral/100 с отступами 8/16. Отрицательный margin гасит отступы, чтобы
   в покое кнопка стояла вровень с текстом, как в макете страницы */
.int-btn_link { height: auto; margin: -8px -16px; color: var(--int-ink-2); }
.int-btn_link:hover,
.int-btn_link:focus { background: #f8f8f8; color: var(--int-ink-2); }

/* ---------- glows (сняты с SVG макета: круг + gaussian blur) ---------- */

.int-glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.int-glow_orange { background: #ff9c1f; opacity: .14; filter: blur(80px); }
.int-glow_blue { background: #3b54f6; opacity: .18; filter: blur(50px); }
.int-glow_blue-soft { background: #3b54f6; opacity: .16; filter: blur(88px); }

/* ---------- hero ---------- */

.int-hero {
  overflow: hidden;
  padding: 48px 0 72px;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, #1f1f1f 0%, #141414 100%),
    #1a1a1a;
  color: #fff;
}
.int-hero__glow-orange { width: 320px; height: 320px; left: -200px; top: 420px; }
.int-hero__glow-blue { width: 256px; height: 256px; right: -60px; bottom: -40px; }

.int-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.int-hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.int-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(255, 156, 31, .2);
  color: #ffa029;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.int-hero__badge img { width: 20px; height: 20px; }

/* Хлебные крошки: общий виджет (виден только с 1200px, см. components.css), шрифт и отступы — под hero */
.int-hero__crumbs { margin-bottom: 24px; }
.int-hero__crumbs .breadcrumbs__cover { width: auto; max-width: none; margin: 0; padding: 0; }
.int-hero__crumbs .breadcrumbs__link,
.int-hero__crumbs .breadcrumbs__item:before { font: 400 14px/20px 'Onest', sans-serif; }
.int-hero__crumbs .breadcrumbs__item:before { top: 0; }

.int-hero__title {
  margin-top: 16px;
  font-size: 30px;
  line-height: 38px;
  font-weight: 500;
  color: #fff;
}

.int-hero__lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}

.int-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 32px;
}
.int-hero__actions .int-btn { width: 100%; height: 48px; padding: 8px 20px; }

/* макетная CRM-карточка (декор) */

.int-hero__visual {
  position: relative;
  padding-bottom: 76px;
}

.int-crm-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 13px 27px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(19px);
  backdrop-filter: blur(19px);
}

.int-crm-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.int-crm-card__doc { display: flex; align-items: center; gap: 8px; min-width: 0; }
.int-crm-card__doc > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.int-crm-card__doc-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 156, 31, .1);
}
.int-crm-card__doc-icon img { width: 14px; height: 14px; }
.int-crm-card__doc-title { font-size: 12px; line-height: 18px; font-weight: 700; color: #fff; white-space: nowrap; }
.int-crm-card__doc-sub { font-size: 10px; line-height: 18px; color: var(--int-grey-2); }
.int-crm-card__status {
  flex: none;
  padding: 4px 11px;
  border: 1px solid rgba(185, 109, 16, .2);
  border-radius: 95px;
  background: rgba(185, 109, 16, .1);
  color: var(--int-accent);
  font-size: 11px;
  line-height: 15px;
  font-weight: 500;
}

.int-crm-card__preview {
  display: flex;
  flex-direction: column;
  height: 139px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 11px;
  background: rgba(255, 255, 255, .02);
}
.int-crm-card__file { display: flex; justify-content: space-between; font-size: 12px; line-height: 18px; }
.int-crm-card__file-name { font-weight: 500; color: #fff; }
.int-crm-card__file-size { font-size: 10px; color: var(--int-grey-2); }
.int-crm-card__ready {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10px;
  line-height: 18px;
  color: var(--int-grey-2);
}
.int-crm-card__ready img { width: 28px; height: 28px; }

.int-crm-card__foot { display: flex; gap: 9px; height: 34px; }
.int-crm-card__send {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 9px;
  background: var(--int-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}
.int-crm-card__send img { width: 14px; height: 14px; }
.int-crm-card__more {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
}
.int-crm-card__more img { width: 14px; height: 14px; }

.int-sms-card {
  position: absolute;
  right: 16px;
  bottom: 0;
  width: 146px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.int-sms-card__head { display: flex; align-items: center; justify-content: space-between; }
.int-sms-card__head img { width: 15px; height: 15px; }
.int-sms-card__head span { font-size: 11px; line-height: 15px; font-weight: 500; text-transform: uppercase; color: var(--int-grey-2); }
.int-sms-card__code { margin-top: 9px; font-size: 24px; line-height: 31px; font-weight: 500; color: #fff; }
.int-sms-card__label { margin-top: 3px; font-size: 10px; line-height: 15px; color: #fff; white-space: nowrap; }

/* ---------- catalog ---------- */

.int-catalog {
  padding: 64px 0;
  background: var(--int-surface);
}

.int-catalog__head { display: flex; flex-direction: column; gap: 16px; }
.int-catalog__head-row { display: flex; flex-direction: column; gap: 16px; }
.int-catalog__lead { font-size: 16px; line-height: 24px; color: var(--int-ink); }

.int-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.int-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--int-border);
  border-radius: 16px;
  background: #fff;
}

.int-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
}
.int-card__logo { display: flex; align-items: center; min-width: 0; height: 48px; }
/* Глобальное `a, button, img { border-radius }` из lp/styles.css скругляет логотипы; в макете их углы прямые. */
.int-card__logo img { display: block; height: auto; border-radius: 0; mix-blend-mode: darken; }
.int-card__badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.int-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
}
.int-badge img { width: 14px; height: 14px; }
.int-badge_popular { padding-left: 12px; background: rgba(255, 140, 26, .12); color: #994705; }
.int-badge_free { background: #edf8ee; color: #058026; }
.int-badge_paid { background: #f0f0f0; color: var(--int-ink); }

.int-card__screen {
  position: relative;
  height: 200px;
  margin-top: -4px;
  overflow: hidden;
  border-radius: 8px;
  background: #f2f2f2;
}
.int-card__screen img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 86%;
  max-width: 398px;
  height: auto;
  border: 1px solid #e8e8e8;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  transform: translateX(-50%);
}

.int-card__body { display: flex; flex-direction: column; gap: 8px; }
.int-card__title { font-size: 20px; line-height: 30px; font-weight: 700; color: var(--int-ink); }
.int-card__text { font-size: 16px; line-height: 24px; color: var(--int-ink); }

.int-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.int-card__actions .int-btn { width: 100%; height: 48px; }

/* ---------- API ---------- */

.int-api {
  overflow: hidden;
  padding: 64px 0;
  background: #fff;
}

/* сетка «net»: линии #d6d6d6 с прозрачностью 16%, шаг ~39px, гаснет к краям */
.int-api__net {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 380px;
  bottom: 0;
  background-image:
    linear-gradient(to right, rgba(214, 214, 214, .16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(214, 214, 214, .16) 1px, transparent 1px);
  background-size: 38.88px 38.88px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 40%, transparent 100%);
  pointer-events: none;
}

.int-api__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.int-api__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.int-api__lead { font-size: 16px; line-height: 24px; color: var(--int-ink); }
.int-api__text .int-btn_link { margin-top: 0; } /* 8px макета минус 8px отступа подложки */

.int-api__scheme {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
/* пунктирная ось схемы */
.int-api__scheme::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 1px dashed #e0e2e6;
}

.int-sys {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 12px rgba(0, 0, 0, .05);
}
.int-sys__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.int-sys__head > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.int-sys__title { font-size: 16px; line-height: 1.2; font-weight: 500; color: var(--int-ink); white-space: nowrap; }
.int-sys__sub,
.int-sys__note { font-size: 12px; line-height: 1.2; color: var(--int-grey); white-space: nowrap; }
/* подпись идёт по центру карточки: на десктопе карточка фиксированной ширины и строка в неё почти
   упирается, из-за чего при выравнивании по левому краю подпись «прилипала» к правому краю */
.int-sys__note { text-align: center; }
.int-sys__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.int-sys__icon_blue { background: #eef0ff; }
.int-sys__icon_orange { background: #fff7ee; }
.int-sys__icon img,
.int-sys__tool img { width: 20px; height: 20px; }
.int-sys__tools { display: flex; gap: 12px; }
.int-sys__tool {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f3f4f6;
}

.int-api__flow {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}
.int-api__flow-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  background: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--int-ink);
  white-space: nowrap;
}
.int-api__flow-label img { width: 16px; height: 16px; transform: rotate(90deg); }
.int-api__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  border-radius: 12px;
  background: var(--int-api);
  box-shadow: 0 10px 10px rgba(79, 70, 229, .2);
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

/* ---------- AI automation ---------- */

.int-auto {
  overflow: hidden;
  padding: 64px 0;
  background: var(--int-dark);
  color: #fff;
}
.int-auto__glow-top { width: 320px; height: 320px; right: -170px; top: -80px; background: #ff9c1f; opacity: .1; filter: blur(53px); }
.int-auto__glow-bottom { width: 440px; height: 440px; left: 20%; bottom: -260px; }

.int-auto__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.int-auto__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.int-auto__text .int-h2 { margin-top: 16px; }
.int-auto__lead { margin-top: 16px; font-size: 16px; line-height: 24px; color: #fff; }
.int-auto__lead a { color: var(--int-accent); text-decoration: none; transition: color .2s; }
/* hover по UI-kit (узел 184:2333): без подчёркивания, цвет светлее — orange primary/300 */
.int-auto__lead a:hover,
.int-auto__lead a:focus { color: #fbae28; text-decoration: none; }
.int-auto__text .int-btn { width: 100%; height: 48px; margin-top: 40px; }

.int-steps__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}

.int-step { display: flex; gap: 16px; }
.int-step__dot {
  position: relative;
  flex: none;
  width: 24px;
}
/* линия таймлайна: от точки шага до точки следующего (gap списка 20px + отступ точки 40px) */
.int-step:not(:last-child) .int-step__dot::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 40px;
  bottom: -60px;
  width: 2px;
  background: #36393d;
}
.int-step__dot::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 34px;
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: var(--int-accent);
}

.int-step__card {
  flex: 1;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.int-step__top { display: flex; align-items: center; justify-content: space-between; }
.int-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: rgba(255, 156, 31, .1);
}
.int-step__icon img { width: 20px; height: 20px; }
.int-step__num {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 156, 31, .1);
  color: var(--int-accent);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}
.int-step__title { margin-top: 12px; font-size: 16px; line-height: 24px; font-weight: 500; color: #fff; }
.int-step__text { margin-top: 4px; font-size: 16px; line-height: 24px; color: #adadad; }

/* ---------- FAQ ---------- */

.int-faq {
  padding: 64px 0;
  background: var(--int-surface);
}

.int-faq__list {
  margin-top: 32px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.int-faq__item { position: relative; padding: 16px; }
.int-faq__item + .int-faq__item::before {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: #f3f4f8;
}

.int-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--int-ink);
  text-align: left;
  cursor: pointer;
}
.int-faq__chevron { flex: none; width: 16px; height: 16px; transition: transform .2s; }
.int-faq__item.is-open .int-faq__chevron { transform: scaleY(-1); }

.int-faq__a {
  display: none;
  max-width: 806px;
  padding-top: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--int-grey);
}
.int-faq__item.is-open .int-faq__a { display: block; }

/* ==================== mobile ==================== */

@media (max-width: 767px) {
  .int-catalog { padding: 48px 0 64px; }

  /* по мобильному макету бейджи уходят под логотип, скриншот — во всю ширину карточки */
  .int-card_featured .int-card__top { flex-direction: column; align-items: flex-start; }
  .int-card_featured .int-card__badges { justify-content: flex-start; }
  .int-card__screen { height: auto; margin-top: 0; background: none; }
  .int-card__screen img {
    position: static;
    display: block;
    width: 100%;
    max-width: none;
    border-bottom: 1px solid #e8e8e8;
    border-radius: 8px;
    transform: none;
  }
}

/* ==================== tablet ==================== */

@media (min-width: 768px) {
  .int-br-desktop { display: inline; }

  .int-h2 { font-size: 36px; line-height: 44px; }

  .int-hero__title { max-width: 640px; font-size: 44px; line-height: 52px; }
  .int-hero__lead { font-size: 18px; line-height: 28px; max-width: 538px; }
  .int-hero__actions { flex-direction: row; gap: 8px; width: auto; }
  .int-hero__actions .int-btn { width: auto; height: 40px; padding: 8px 16px; }
  .int-hero__visual { max-width: 574px; }

  .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .int-card { padding: 24px; }
  .int-card__screen { height: 288px; margin-top: -4px; }
  .int-card__actions { flex-direction: row; margin-top: 0; }
  .int-card__actions .int-btn { width: auto; height: 40px; }
  .int-card_featured .int-card__body { margin-top: 0; }

  .int-auto__lead,
  .int-api__lead { font-size: 18px; line-height: 28px; }
  .int-auto__text .int-btn { width: auto; height: 40px; }
  .int-step__card { padding: 20px; }
  .int-step__text { font-size: 14px; line-height: 20px; }

  .int-faq__list { margin-top: 32px; }
}

/* ==================== desktop ==================== */

@media (min-width: 1200px) {
  /* .wrapper__content компенсирует только верхнюю строку шапки (82px), строка меню (56px)
     лежит поверх контента — сдвигаем секцию внешним отступом, как в agent_templates.css */
  .int-hero {
    display: flex;
    align-items: center;
    margin-top: 56px;
    min-height: 624px;
    padding: 76px 0 84px;
  }
  .int-hero__glow-orange { width: 400px; height: 400px; left: 652px; top: -95px; }
  .int-hero__glow-blue { width: 300px; height: 300px; left: 1046px; right: auto; top: 324px; bottom: auto; }
  .int-hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }
  .int-hero__text { width: 702px; flex: none; }
  .int-hero__title {
    width: 770px;
    font-size: 60px;
    line-height: 68px;
    letter-spacing: -0.04em;
  }
  .int-hero__actions { margin-top: 40px; }

  /* композиция: crm-card 494×406 справа, sms-card заходит на неё слева */
  .int-hero__visual {
    flex: none;
    width: 574px;
    height: 406px;
    margin-right: -16px;
    padding: 0;
  }
  .int-crm-card {
    position: absolute;
    right: 0;
    top: 0;
    width: 494px;
    gap: 24px;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 19px 38px rgba(0, 0, 0, .5);
  }
  .int-crm-card__doc { gap: 11px; }
  .int-crm-card__doc-icon { width: 38px; height: 38px; border-radius: 11px; }
  .int-crm-card__doc-icon img { width: 20px; height: 20px; }
  .int-crm-card__doc-title { font-size: 18px; line-height: 28px; }
  .int-crm-card__doc-sub { font-size: 12px; }
  .int-crm-card__status { padding: 6px 12px; font-size: 12px; }
  .int-crm-card__preview { height: 200px; padding: 19px; border-radius: 15px; }
  .int-crm-card__file-name { font-size: 16px; }
  .int-crm-card__file-size { font-size: 11px; }
  .int-crm-card__ready { gap: 11px; font-size: 14px; }
  .int-crm-card__ready img { width: 40px; height: 40px; }
  .int-crm-card__foot { gap: 12px; height: 48px; }
  .int-crm-card__send { gap: 8px; border-radius: 12px; font-size: 16px; }
  .int-crm-card__send img { width: 20px; height: 20px; }
  .int-crm-card__more { width: 48px; border-radius: 11px; }
  .int-crm-card__more img { width: 19px; height: 19px; }

  .int-sms-card {
    left: 0;
    right: auto;
    top: 206px;
    bottom: auto;
    width: 160px;
    padding: 20px;
    border-radius: 16px;
  }
  .int-sms-card__head img { width: 20px; height: 20px; }
  .int-sms-card__head span { font-size: 14px; line-height: 20px; }
  .int-sms-card__code { margin-top: 12px; font-size: 32px; line-height: 1.2; }
  .int-sms-card__label { margin-top: 4px; font-size: 12px; }

  .int-catalog { padding: 96px 0 80px; }
  .int-catalog__head-row { flex-direction: row; justify-content: space-between; }
  .int-catalog__head-row .int-h2 { flex: 1; }
  .int-catalog__lead { width: 603px; flex: none; padding-top: 3px; }
  .int-grid { margin-top: 32px; }

  .int-api { padding: 96px 0; }
  .int-api__net {
    left: calc(50% - 164px);
    right: auto;
    top: -154px;
    bottom: auto;
    width: 892px;
    height: 892px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%, #000 70%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 45%, #000 70%, transparent 100%);
  }
  .int-api__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .int-api__text { width: 494px; flex: none; gap: 16px; }
  .int-api__text .int-btn_link { margin-top: 8px; } /* 16px макета минус 8px отступа подложки */

  .int-api__scheme {
    flex: none;
    flex-direction: row;
    align-items: center;
    width: 666px;
  }
  .int-api__scheme::before {
    left: 0;
    right: 0;
    top: 50%;
    bottom: auto;
    border-left: 0;
    border-top: 1px dashed #e0e2e6;
  }
  .int-sys { width: 210px; flex: none; }
  .int-sys:last-child { width: 219px; }
  .int-api__flow {
    flex: 1;
    gap: 15px;
    padding: 0;
  }
  .int-api__flow-label { font-size: 12px; font-weight: 500; }
  .int-api__flow-label_send { align-self: flex-start; margin-left: 12px; }
  .int-api__flow-label_receive { align-self: flex-end; margin-right: 12px; }
  .int-api__flow-label img { transform: none; }
  .int-api__badge { width: 100px; height: 100px; border-radius: 50%; }

  .int-auto { padding: 80px 0; }
  .int-auto__glow-top { width: 320px; height: 320px; right: -50px; top: -80px; }
  .int-auto__glow-bottom { width: 440px; height: 440px; left: 512px; top: 684px; bottom: auto; }
  .int-auto__inner {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .int-auto__text { width: 598px; flex: none; }
  .int-auto__text .int-h2 { margin-top: 16px; }
  .int-auto__lead { margin-top: 24px; }
  .int-steps {
    flex: 1;
    min-width: 0;
    padding: 32px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 19px 38px -9.5px rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(19px);
    backdrop-filter: blur(19px);
  }

  .int-faq { padding: 80px 0; }
}
