:root{    
  --bg:#fff;
  --text:#0B1220;
  --muted:#5B667A;
  --border:#E7EEF6;
  --green:#17B26A;

  /* UI */
  --topbar:#F7FAFD;
  --shadow: 0 18px 45px rgba(11,18,32,.10);
  --radius: 22px;

  /* Accent for FMCG */
  --accent:#FF8A5B;
  --heroOverlay: rgba(11,18,32,.45);

  /* extra FMCG accents */
  --peach:#FF8A5B;
  --spring:#FF5DA8;
  --sky:#38BDF8;
  --sun:#FACC15;
  --violet:#A78BFA;
}

*{ box-sizing:border-box; }

/* FIX: убираем горизонтальный скролл (сайт "катается") */
html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.container{ width:min(1180px, calc(100% - 32px)); margin:0 auto; }

/* =========================
   TOP INFO BAR
========================= */
.topsi-topbar{
  background: var(--topbar);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.topsi-topbar__in{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height: 40px;
  padding: 6px 0;
}
.tt-left, .tt-center, .tt-right{ display:flex; align-items:center; gap:10px; }
.tt-center{
  justify-content:center;
  flex: 1;
  text-align:center;
  gap:8px;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  padding: 0 10px;
}
.tt-social{ display:flex; align-items:center; gap:10px; }
.tt-social a{
  width:28px; height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.06);
  background: #fff;
  color: var(--muted);
  transition: .18s ease;
}
.tt-social a:hover{
  color: var(--green);
  border-color: rgba(23,178,106,.35);
  transform: translateY(-1px);
}
.tt-ic{ width:16px; height:16px; display:block; fill: currentColor; }

.tt-phone{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:900;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(0,0,0,.06);
}
.tt-phone svg{ width:16px; height:16px; fill: var(--green); }

.tt-wa{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:900;
  color:#fff;
  background: var(--green);
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  transition:.18s ease;
  white-space:nowrap;
}
.tt-wa:hover{ filter: brightness(.98); transform: translateY(-1px); }
.tt-wa svg{ width:16px; height:16px; fill:#fff; }

@media (max-width: 860px){
  .tt-center{ display:none; }
  .topsi-topbar__in{ gap:8px; }
  .tt-phone span{ display:none; }
}
@media (max-width: 520px){
  .tt-social a{ width:26px; height:26px; border-radius:9px; }
  .tt-wa span{ display:none; }
}

/* =========================
   MAIN HEADER (logo + language)
========================= */
.header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

/* чуть более плотная высота */
.header__in{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 6px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0;
}

/* LOGO */
.brand__logo{
  width: 130px;
  height: auto;
  object-fit: contain;
}

/* fallback */
.brand__fallback{
  width: 128px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), rgba(23,178,106,.35));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:950;
  letter-spacing:.3px;
}

.header__right{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Language switch in header */
.lang{
  display:flex;
  align-items:center;
  gap:6px;
  padding: 4px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background:#fff;
}
.lang a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 38px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 13px;
  color: var(--muted);
  transition: .18s ease;
}
.lang a.is-active{
  background: rgba(23,178,106,.12);
  color: var(--text);
}
.lang a:hover{ color: var(--green); }

@media (max-width: 860px){
  .lang a{ min-width: 36px; height: 28px; }
  .brand__logo{ width: 120px; }
}
@media (max-width: 520px){
  .brand__logo{ width: 105px; }
}

/* =========================
   HERO — IMAGE MODE (NO CROP)
   (Единый вариант: без дублей ниже)
========================= */
.hero{
  position: relative;
  width: 100%;
  background: #fff;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
@supports not (overflow: clip){
  .hero{ overflow-x:hidden; }
}

.hero-img{
  width: 100%;
  max-width: 1300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px){
  .hero-img{ max-width: 100%; }
}

/* ===== Cursor Water Glow (ONLY HERO) ===== */
.cursor-water{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:2;

  /* ярче/чище на ярком баннере */
  opacity: 1;
  filter: saturate(1.25) contrast(1.05);

  /* сверху слабее, снизу сильнее — чтобы не мешать заголовку/CTA */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,.85) 55%, rgba(0,0,0,1) 100%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,.85) 55%, rgba(0,0,0,1) 100%);
}

.cursor-water .cw-dot{
  position:absolute;
  left:0; top:0;
  width:18px; height:18px;
  border-radius:999px;
  opacity:.70;
  filter: blur(12px);
  transform: translate(-9999px,-9999px);
  mix-blend-mode: screen;
  will-change: transform, filter, opacity;

  /* двойной свет — заметнее на ярком фоне */
  box-shadow:
    0 0 22px currentColor,
    0 0 54px currentColor;
}

/* на телефонах и при reduced motion — выключаем */
@media (hover:none), (prefers-reduced-motion: reduce){
  .cursor-water{ display:none; }
}

/* =========================================================
   WHY TOPSI — FIXED (use ONE style only: .why--motion)
========================================================= */

/* content работает только на ::before/::after */
.why__item::before,
.why__capsuleBox::before{ content:none; }

/* если вдруг где-то осталось старое */
.why__list{ display:none; }

/* =========================
   WHY — MOTION STYLE (TIDE-LIKE / FMCG BRIGHT)
========================= */
.why--motion{
  position:relative;
  padding: 86px 0;
  overflow: clip;
  background:
    radial-gradient(900px 420px at 18% 22%, rgba(255,138,91,.22), transparent 60%),
    radial-gradient(900px 420px at 82% 30%, rgba(255,93,168,.18), transparent 55%),
    radial-gradient(900px 520px at 50% 100%, rgba(23,178,106,.12), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-top:1px solid rgba(231,238,246,.9);
  border-bottom:1px solid rgba(231,238,246,.9);
}
@supports not (overflow: clip){
  .why--motion{ overflow:hidden; }
}

/* IMPORTANT FIX:
   убрали отрицательные inset/left/right (они дают scrollWidth),
   вместо этого выносим "за край" через transform (transform не расширяет страницу)
*/
.why--motion::before{
  content:"";
  position:absolute;
  right:0; top:0;
  width: 320px; height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.95), rgba(255,255,255,.25) 40%, rgba(255,255,255,0) 72%);
  box-shadow: 0 30px 90px rgba(11,18,32,.08);
  opacity:.55;
  transform: translate(80px,-80px) rotate(8deg);
  pointer-events:none;
}
.why--motion::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width: 360px; height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.92), rgba(255,255,255,.22) 40%, rgba(255,255,255,0) 72%);
  box-shadow: 0 30px 90px rgba(11,18,32,.08);
  opacity:.45;
  transform: translate(-90px,110px);
  pointer-events:none;
}

.why--motion .why__in{
  position:relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
  min-width:0;
}

/* Visual */
.why--motion .why__visual{
  position: relative;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height: 420px;
  min-width:0;
}

.why--motion .why__visual::before{
  content:"";
  position:absolute;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(23,178,106,.20), transparent 58%),
    radial-gradient(circle at 70% 65%, rgba(255,138,91,.24), transparent 60%),
    radial-gradient(circle at 55% 40%, rgba(255,93,168,.18), transparent 62%),
    radial-gradient(circle at 50% 55%, rgba(255,255,255,.75), rgba(255,255,255,.22));
  filter: blur(1px);
  opacity: .98;
  pointer-events:none;
}

.why--motion .why__visual-img{
  position: relative;
  width: 100%;
  max-width: 620px;
  transform: rotate(-6deg);
  filter: drop-shadow(0 34px 70px rgba(11,18,32,.22));
}

/* Content */
.why--motion .why__content{
  max-width: 560px;
  min-width:0;
}

.why--motion .why__title{
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.06;
  margin: 0 0 10px;
  letter-spacing: -0.7px;
}

.why--motion .why__subtitle{
  font-size: 16px;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 36px;
}

/* Features grid */
.why--motion .why__features{
  display: grid;
  gap: 18px;
}

/* FMCG-card */
.why--motion .why__feature{
  position:relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(231,238,246,.9);
  box-shadow: 0 18px 45px rgba(11,18,32,.10);
  overflow:hidden;
  transition: .18s ease;
}

.why--motion .why__feature:hover{
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(11,18,32,.14);
}

/* цветное пятно в карточке */
.why--motion .why__feature::before{
  content:"";
  position:absolute;
  inset:-40px -40px auto auto;
  width:170px; height:170px;
  border-radius:999px;
  opacity:.9;
  filter: blur(.2px);
  pointer-events:none;
}

/* разные акценты как Tide */
.why--motion .why__feature:nth-child(1)::before{
  background: radial-gradient(circle at 30% 30%, rgba(255,138,91,.95), rgba(255,138,91,0) 70%);
}
.why--motion .why__feature:nth-child(2)::before{
  background: radial-gradient(circle at 30% 30%, rgba(255,93,168,.85), rgba(255,93,168,0) 70%);
}
.why--motion .why__feature:nth-child(3)::before{
  background: radial-gradient(circle at 30% 30%, rgba(23,178,106,.85), rgba(23,178,106,0) 70%);
}
.why--motion .why__feature:nth-child(4)::before{
  background: radial-gradient(circle at 30% 30%, rgba(56,189,248,.75), rgba(56,189,248,0) 70%);
}

/* номер как "01 02 03 04" — более “глянцевый” */
.why--motion .why__icon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--green);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.95), rgba(255,255,255,.75)),
    rgba(23,178,106,.10);
  border: 1px solid rgba(23,178,106,.22);
  box-shadow: 0 12px 26px rgba(11,18,32,.10);
}

.why--motion .why__h{
  font-weight: 950;
  font-size: 16px;
  margin: 0 0 4px;
}

.why--motion .why__p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 900px){
  .why--motion{ padding: 54px 0; }
  .why--motion .why__in{ grid-template-columns: 1fr; gap: 34px; }
  .why--motion .why__visual{ order: -1; min-height: 320px; }
  .why--motion .why__visual::before{ width: 420px; height: 420px; }
  .why--motion .why__visual-img{ max-width: 420px; transform: rotate(-4deg); }
}

/* Simple section spacing helper */
.section{ padding: 40px 0; }

/* =========================================================
   IDEAL BLOCK: BENEFITS (Tide-like) — icons left + image right
========================================================= */
.t-benefits{
  position:relative;
  padding: 68px 0;
  overflow: clip;  /* режет псевдо и не даёт scrollWidth */
  background:#fff;
}
@supports not (overflow: clip){
  .t-benefits{ overflow: hidden; }
}

/* фон секции — чистый, но “живой” */
.t-benefits__bg{
  position:absolute; inset:0;
  background:
    radial-gradient(1100px 620px at 75% 35%, rgba(56,189,248,.16), transparent 62%),
    radial-gradient(1100px 620px at 12% 32%, rgba(255,138,91,.11), transparent 62%),
    radial-gradient(1000px 620px at 18% 90%, rgba(23,178,106,.10), transparent 64%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  pointer-events:none;
}

/* IMPORTANT FIX: убрали отрицательные left/right, переносим наружу через transform */
.t-benefits::before{
  content:"";
  position:absolute;
  right:0; top:0;
  width: 420px; height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%,
    rgba(255,255,255,.95),
    rgba(255,255,255,.35) 45%,
    rgba(255,255,255,0) 72%
  );
  box-shadow: 0 40px 120px rgba(11,18,32,.08);
  opacity:.55;
  transform: translate(140px,-120px);
  pointer-events:none;
}
.t-benefits::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width: 460px; height: 460px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%,
    rgba(255,255,255,.92),
    rgba(255,255,255,.30) 48%,
    rgba(255,255,255,0) 74%
  );
  box-shadow: 0 40px 120px rgba(11,18,32,.08);
  opacity:.42;
  transform: translate(-160px,160px);
  pointer-events:none;
}

.t-benefits__in{
  position:relative;
  display:grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items:center;
  min-width:0;
}

.t-benefits__left{ position:relative; z-index:2; min-width:0; }

/* правая колонка — “карточка” с клипом */
.t-benefits__right{
  position:relative;
  z-index:1;
  border-radius: 28px;
  overflow:hidden; /* обязательно для клипа fade */
  box-shadow: 0 34px 110px rgba(11,18,32,.14);
  min-width:0;
}

/* ===== IDEAL FADE: STRONGER, но без горизонтального скролла ===== */
.t-benefits__right::before{
  content:"";
  position:absolute;
  top:0; bottom:0;
  left:0;
  width: 82%;
  transform: translateX(-18%);
  z-index: 2;
  pointer-events:none;
  background: linear-gradient(90deg,
    rgba(247,250,253,1) 0%,
    rgba(247,250,253,.995) 18%,
    rgba(238,248,255,.95) 34%,
    rgba(214,238,255,.78) 52%,
    rgba(214,238,255,.42) 68%,
    rgba(214,238,255,.18) 80%,
    rgba(214,238,255,0) 100%
  );
}

/* дополнительная “дымка” */
.t-benefits__right::after{
  content:"";
  position:absolute; inset:0;
  z-index: 1;
  pointer-events:none;
  opacity: .65;
  background: radial-gradient(900px 520px at 20% 30%,
    rgba(255,255,255,.35),
    rgba(255,255,255,0) 62%
  );
}

.t-benefits__title{
  margin:0 0 10px;
  font-weight:950;
  font-size: clamp(28px, 3vw, 48px);
  line-height:1.06;
  letter-spacing:-.6px;
}

.t-benefits__subtitle{
  margin:0 0 26px;
  color: var(--muted);
  font-weight:750;
  font-size:16px;
  line-height:1.55;
  max-width: 590px;
}

.t-benefits__list{
  display:grid;
  gap: 20px;
  max-width: 650px;
}

/* ряд */
.t-benefit{
  position:relative;
  display:grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items:center;
}

/* glow под иконку */
.t-benefit::before{
  content:"";
  position:absolute;
  left: 10px;
  top: 50%;
  width: 78px;
  height: 78px;
  transform: translateY(-50%);
  border-radius: 999px;
  filter: blur(16px);
  opacity: .60;
  pointer-events:none;
  z-index: 1;
  background: radial-gradient(circle,
    rgba(56,189,248,.55),
    rgba(56,189,248,0) 70%
  );
}

/* индивидуальные цвета */
.t-benefit:nth-child(1)::before{ background: radial-gradient(circle, rgba(255,138,91,.55), rgba(255,138,91,0) 70%); }
.t-benefit:nth-child(2)::before{ background: radial-gradient(circle, rgba(56,189,248,.58), rgba(56,189,248,0) 70%); }
.t-benefit:nth-child(3)::before{ background: radial-gradient(circle, rgba(255,93,168,.58), rgba(255,93,168,0) 70%); }
.t-benefit:nth-child(4)::before{ background: radial-gradient(circle, rgba(23,178,106,.52), rgba(23,178,106,0) 70%); }
.t-benefit:nth-child(5)::before{ background: radial-gradient(circle, rgba(250,204,21,.46), rgba(250,204,21,0) 70%); }

/* обертка иконки */
.t-benefit__iconWrap{
  position:relative;
  width: 86px;
  height: 86px;
  z-index: 2;
}

/* сама иконка */
.t-benefit__icon{
  width: 86px;
  height: 86px;
  display:block;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 42px rgba(11,18,32,.14));
}

/* блик поверх иконки */
.t-benefit__iconWrap::after{
  content:"";
  position:absolute;
  left: 10px; top: 10px;
  width: 46px; height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%,
    rgba(255,255,255,.55),
    rgba(255,255,255,0) 70%
  );
  transform: rotate(-14deg);
  pointer-events:none;
  opacity:.55;
}

.t-benefit__h{
  font-weight:950;
  font-size:20px;
  margin:0 0 5px;
}

.t-benefit__p{
  margin:0;
  color: var(--muted);
  font-weight:750;
  font-size:15px;
  line-height:1.45;
}

.t-benefits__cta{
  margin-top: 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 950;
  color:#fff;
  background: var(--green);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 45px rgba(11,18,32,.14);
  transition: .18s ease;
}
.t-benefits__cta:hover{ transform: translateY(-1px); filter: brightness(.98); }

/* картинка внутри правого блока */
.t-benefits__img{
  width: 100%;
  height: auto;
  display:block;
  position: relative;
  z-index: 0;
}

/* ===== Micro motion (desktop only) ===== */
@media (hover:hover){
  .t-benefit{ transition: transform .18s ease; will-change: transform; }
  .t-benefit__iconWrap, .t-benefit__icon{
    transition: transform .18s ease, filter .18s ease;
    will-change: transform;
  }
  .t-benefit:hover{ transform: translateY(-2px); }
  .t-benefit:hover::before{ opacity:.82; filter: blur(18px); }
  .t-benefit:hover .t-benefit__icon{
    transform: scale(1.06);
    filter: drop-shadow(0 26px 54px rgba(11,18,32,.16));
  }
}

/* Responsive */
@media (max-width: 980px){
  .t-benefits__in{ gap: 34px; }
  .t-benefit{ grid-template-columns: 90px 1fr; }
  .t-benefit__icon, .t-benefit__iconWrap{ width: 78px; height: 78px; }
  .t-benefit::before{ width: 70px; height: 70px; left: 8px; }

  .t-benefits__right::before{
    width: 76%;
    transform: translateX(-16%);
  }
}

@media (max-width: 820px){
  .t-benefits{ padding: 50px 0; }
  .t-benefits__in{ grid-template-columns: 1fr; gap: 22px; }

  /* fade сверху вниз */
  .t-benefits__right::before{
    left:0; right:0;
    top:0;
    width:100%;
    height: 52%;
    bottom:auto;
    transform: none;
    background: linear-gradient(180deg,
      rgba(247,250,253,1) 0%,
      rgba(247,250,253,.92) 30%,
      rgba(210,236,255,.55) 60%,
      rgba(210,236,255,.18) 78%,
      rgba(210,236,255,0) 100%
    );
  }

  .t-benefit{ grid-template-columns: 82px 1fr; gap: 16px; }
  .t-benefit__icon, .t-benefit__iconWrap{ width: 64px; height: 64px; }
  .t-benefit__icon{ filter: drop-shadow(0 16px 34px rgba(11,18,32,.14)); }
  .t-benefit::before{ width: 58px; height: 58px; left: 6px; filter: blur(14px); opacity:.55; }

  /* чтобы мобила не дергалась */
  .t-benefit, .t-benefit__iconWrap, .t-benefit__icon{ transition: none !important; }
}

.topsi-hero-3 {
  position: relative;
  width: 100%;
  min-height: 85vh;
  background-image: url("/assets/images/banner-duo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;

  /* ещё на 5px выше */
  align-items: flex-start;
  justify-content: center;
  padding-top: 1px; /* ⬅️ было 16px */
  padding-left: 16px;
  padding-right: 16px;
}

.topsi-hero-3__overlay {
  text-align: center;
  max-width: 900px;
  padding: 0;
}

.topsi-hero-3__title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 6px;
  color: #0E5A3A;

  text-shadow:
    0 2px 8px rgba(255,255,255,0.65),
    0 6px 20px rgba(0,0,0,0.15);
}

.topsi-hero-3__subtitle {
  font-size: clamp(15px, 2vw, 21px);
  font-weight: 500;
  color: #1E1E1E;
  opacity: 0.8;

  text-shadow: 0 2px 8px rgba(255,255,255,0.6);
}

/* Mobile */
@media (max-width: 768px) {
  .topsi-hero-3 {
    min-height: 65vh;
    padding-top: 3px; /* ⬅️ тоже –5px */
  }
}

/* ===== Topsi: 6 real üstünlük (Grid desktop + Swipe mobile) ===== */
.topsi-advantages{
  position: relative;
  width: 100%;
  padding: 56px 0 64px;
  background-image: url("/assets/images/bg-spring-gradient.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.topsi-advantages::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(1200px 600px at 50% 0%,
      rgba(255,255,255,.30), rgba(255,255,255,0) 55%);
  pointer-events:none;
}

.topsi-advantages__inner{
  position: relative;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

/* Head centered */
.topsi-advantages__head{
  text-align: center;
  margin: 0 auto 28px;
  max-width: 860px;
}

.topsi-advantages__head-inner{
  display: inline-block;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.28);
  box-shadow: 0 16px 40px rgba(11,18,32,.10);
  border: 1px solid rgba(255,255,255,.35);
}

.topsi-advantages__title{
  margin: 0 0 8px;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 900;
  line-height: 1.08;
  color: #0B1220;
  letter-spacing: -0.02em;
}

.topsi-advantages__subtitle{
  margin: 0;
  font-size: clamp(14px, 1.25vw, 18px);
  color: rgba(11,18,32,.78);
}

/* Wrap for nav + dots */
.topsi-advantages__wrap{
  position: relative;
}

/* Desktop grid */
.topsi-advantages__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 22px;
  justify-items: center;
}

/* Card shell */
.topsi-advantages__card-wrap{
  width: 260px;
  height: 260px;
  border-radius: 22px;
  padding: 10px;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow:
    0 18px 45px rgba(11,18,32,.16),
    inset 0 1px 0 rgba(255,255,255,.40);
  transition: transform .18s ease, box-shadow .18s ease;
}

.topsi-advantages__card-wrap:hover{
  transform: translateY(-6px);
  box-shadow:
    0 26px 60px rgba(11,18,32,.22),
    inset 0 1px 0 rgba(255,255,255,.45);
}

.topsi-advantages__card{
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: contain;
  display: block;
  background: #fff;
}

/* Nav buttons (only visible on mobile) */
.topsi-advantages__nav{
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.35);
  box-shadow: 0 14px 30px rgba(11,18,32,.16);
  color: rgba(11,18,32,.72);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.topsi-advantages__prev{ left: 8px; }
.topsi-advantages__next{ right: 8px; }

/* Dots (only mobile) */
.topsi-advantages__dots{
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.topsi-advantages__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  box-shadow: 0 8px 18px rgba(11,18,32,.10);
  transition: transform .15s ease, background .15s ease;
}

.topsi-advantages__dot.is-active{
  background: rgba(255,255,255,.95);
  transform: scale(1.25);
}

/* ===== Mobile: превращаем grid в горизонтальный свайп ===== */
@media (max-width: 740px){
  .topsi-advantages{
    padding: 46px 0 54px;
  }

  .topsi-advantages__nav{ display: inline-flex; align-items: center; justify-content: center; }
  .topsi-advantages__dots{ display: flex; }

  .topsi-advantages__grid{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 52px 8px;  /* место под стрелки */
    scrollbar-width: none;
  }

  .topsi-advantages__grid::-webkit-scrollbar{ display: none; }

  .topsi-advantages__card-wrap{
    scroll-snap-align: center;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* квадрат */
    padding: 10px;
  }

  .topsi-advantages__card{
    height: 100%;
  }

  /* hover на мобиле не нужен */
  .topsi-advantages__card-wrap:hover{ transform: none; }
}

/* ===== Topsi hero — TEXT LEFT + GIRL RIGHT (Tide-like circle, stable, subtle motion) ===== */

/* --- layout (desktop) --- */
.tide-light__grid{
  display:grid !important;
  grid-template-columns: 1.05fr .95fr !important;
  gap: 56px !important;
  align-items:center !important;
}

/* --- copy (left) --- */
.tide-light__copy{
  max-width: 640px !important;
  text-align: left !important;
}

/* --- visual scene (right) --- */
.tide-light__visual{
  position:relative !important;
  min-height: 520px !important;
  overflow: hidden !important; /* не даём кругу залезать на следующий блок */
}

/* hide packs (если в HTML остались) */
.tide-light__pack,
.tide-light__pack-small{
  display:none !important;
}

/* --- circle behind model (smaller, centered on girl like Tide) --- */
.tide-light__circle{
  position:absolute !important;
  top: 50% !important;
  right: 20px !important;          /* держим круг ВНУТРИ сцены, чтобы не обрезался */
  transform: translateY(-50%) !important;

  width: 500px !important;
  height: 500px !important;
  border-radius: 50% !important;
  z-index: 1 !important;

  background: radial-gradient(circle at 38% 32%,
    rgba(255,255,255,.92) 0%,
    rgba(242,232,255,.88) 28%,
    rgba(213,186,255,.58) 60%,
    rgba(213,186,255,0) 100%) !important;

  animation: soft-glow-circle 5s ease-in-out infinite !important;
  will-change: box-shadow;
}

/* --- model (centered in circle) --- */
.tide-light__model{
  position:absolute !important;
  top: 50% !important;
  right: 40px !important;
  width: 395px !important;          /* размер девушки меняй тут */
  height:auto !important;
  z-index: 2 !important;

  transform: translateY(-50%) !important;

  /* двигаем НЕ transform (иначе конфликтует), а top */
  animation: soft-float-top 6s ease-in-out infinite !important;
  will-change: top;
}

/* --- Tide-like text styling --- */

/* pill */
.tide-light__copy .pill,
.tide-light__pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:999px;
  font-weight:800;
  font-size:14px;
  letter-spacing:.2px;
  color:#0B1220;
  background: rgba(248,242,255,.9);
  border: 1px solid rgba(200,170,255,.55);
  box-shadow: 0 10px 22px rgba(11,18,32,.06);
}

/* title */
.tide-light__copy h1,
.tide-light__copy h2,
.tide-light__title{
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: -0.9px;
  margin: 12px 0 14px;
  font-weight: 900;
  color:#0B1220;
}

/* accent gradient */
.tide-light__copy .accent,
.tide-light__title .accent{
  background: linear-gradient(90deg, #FF5DA8 0%, #A78BFA 55%, #38BDF8 110%);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

/* subtitle */
.tide-light__copy p,
.tide-light__subtitle{
  font-size: 18px;
  line-height: 1.6;
  color: rgba(11,18,32,.70);
  margin: 0 0 18px;
  max-width: 540px;
}

/* CTA */
.tide-light__copy .btn-primary,
.tide-light__copy .btn-main,
.tide-light__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
  text-decoration:none;
  color:#fff;
  background: linear-gradient(90deg, #FF5DA8 0%, #C08BFF 55%, #38BDF8 110%);
  box-shadow: 0 18px 40px rgba(255,93,168,.22);
  border: 1px solid rgba(255,255,255,.35);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.tide-light__copy .btn-primary:hover,
.tide-light__copy .btn-main:hover,
.tide-light__cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(255,93,168,.28);
  filter: saturate(1.05);
}

/* bullets */
.tide-light__copy ul{
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.tide-light__copy li{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 10px 0;
  color: rgba(11,18,32,.72);
  font-weight: 650;
}
.tide-light__copy li::before{
  content:"";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #17B26A;
  box-shadow: 0 0 0 5px rgba(23,178,106,.14);
  flex: 0 0 10px;
}

/* --- motion --- */
@keyframes soft-float-top{
  0%   { top: 50%; }
  50%  { top: 48.6%; } /* ~ -10px визуально */
  100% { top: 50%; }
}
@keyframes soft-glow-circle{
  0%   { box-shadow: 0 0 0 rgba(200,170,255,0); }
  50%  { box-shadow: 0 0 110px rgba(200,170,255,.26); }
  100% { box-shadow: 0 0 0 rgba(200,170,255,0); }
}

/* --- mobile --- */
@media(max-width: 980px){
  .tide-light__grid{
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .tide-light__visual{
    min-height: 520px !important;
    overflow: hidden !important;
  }

  .tide-light__circle{
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%,-50%) !important;
    width: 480px !important;
    height: 480px !important;
  }

  .tide-light__model{
    left: 50% !important;
    right: auto !important;
    width: 320px !important;
    transform: translate(-50%,-50%) !important;
    animation: soft-float-top-mobile 6s ease-in-out infinite !important;
  }

  .tide-light__copy h1,
  .tide-light__copy h2,
  .tide-light__title{
    font-size: 40px;
  }
}

@keyframes soft-float-top-mobile{
  0%   { top: 50%; }
  50%  { top: 48.6%; }
  100% { top: 50%; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .tide-light__model,
  .tide-light__circle{ animation: none !important; }
}
/* =========================
   TOPSI MAGIC SCROLL BLOCK
   Curtain wipe: BEFORE / AFTER
========================= */

.t-magic{
  padding: 22px 0 0;
  background: #fff;
}

/* ---------- head ---------- */
.t-magic__head{
  text-align:center;
  margin: 0 auto 10px;
}
.t-magic__title{
  margin:0 0 6px;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 950;
  letter-spacing: -0.6px;
}
.t-magic__subtitle{
  margin:0;
  color: rgba(11,18,32,.72);
  font-weight: 750;
}

/* ---------- stage (scroll range) ---------- */
.t-magic__stage{
  position: relative;
  height: 165vh;
  min-height: 920px;
}

/* ---------- pinned inner ---------- */
.t-magic__in{
  position: sticky;
  top: 86px;
  height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 10px 0 18px;
}

/* ---------- card ---------- */
.t-magic__card{
  position: relative;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(231,238,246,.9);
  box-shadow: 0 22px 70px rgba(11,18,32,.10);
  overflow: hidden;
  padding: 12px;
  min-height: 360px;

  /* опускаем картинки ниже, капсула остаётся выше */
  margin-top: 26px;
}

/* ---------- labels ---------- */
.t-magic__label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding: 6px 8px 12px;
}
.t-magic__tag{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(11,18,32,.72);
  background: rgba(247,250,253,.9);
  border: 1px solid rgba(231,238,246,.9);
}
.t-magic__tag--ok{
  color: var(--green);
  background: rgba(23,178,106,.10);
  border-color: rgba(23,178,106,.20);
}

/* ---------- swap container ---------- */
.t-magic__swap{
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 5;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  overflow: hidden;
  isolation: isolate;
}

/* ---------- images ---------- */
.t-magic__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: contain;
}

/* base меньше (грязные/блеклые) */
.t-magic__img--base{
  z-index: 1;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  transform: scale(0.98);
  transform-origin: center;
}

/* top (чистые/яркие) 100% */
.t-magic__top{
  position:absolute;
  inset:0;
  z-index: 2;
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}
.t-magic__top .t-magic__img--top{
  inset:0;
  width:100%;
  height:100%;
  transform:none;
}

/* линия “очистки” */
.t-magic__top::after{
  content:"";
  position:absolute;
  left:-30%;
  right:-30%;
  top:0;
  height: 14px;
  transform: translateY(calc(var(--wipe-y, 0px) - 7px));
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.55) 25%,
    rgba(255,255,255,.95) 50%,
    rgba(255,255,255,.55) 75%,
    rgba(255,255,255,0) 100%
  );
  filter: blur(6px);
  opacity: .9;
  pointer-events:none;
}

/* ---------- capsule ---------- */
.t-magic__capsule{
  position: absolute;
  left: 50%;
  top: -7%;
  transform: translateX(-50%);
  width: min(190px, 30vw);
  height: auto;
  z-index: 5;
  filter:
    drop-shadow(0 30px 55px rgba(11,18,32,.28))
    drop-shadow(0 10px 18px rgba(11,18,32,.18));
  will-change: top;
  pointer-events:none;
}

/* ---------- fresh aura ---------- */
.t-magic__fresh{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index: 3;
  opacity: 0;
  transition: opacity .2s linear;
  background:
    radial-gradient(900px 520px at 50% 35%, rgba(255,255,255,.40), rgba(255,255,255,0) 62%),
    radial-gradient(900px 520px at 70% 70%, rgba(56,189,248,.12), rgba(56,189,248,0) 62%),
    radial-gradient(900px 520px at 30% 70%, rgba(255,138,91,.10), rgba(255,138,91,0) 62%);
}

/* =========================
   FINAL TEXT (Topsi style)
   (появляется в конце и стоит ВЫШЕ)
========================= */
.t-magic__final{
  position: absolute;
  left: 50%;
  bottom: 26%;                  /* ✅ выше, в “зоне красной рамки” */
  transform: translateX(-50%) translateY(10px);
  width: min(820px, 92%);
  text-align: center;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
}

.t-magic__final.is-visible{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.t-magic__final-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  color: rgba(11,18,32,.85);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(231,238,246,.95);
  box-shadow: 0 16px 36px rgba(11,18,32,.10);
  margin-bottom: 12px;
}

.t-magic__final-title{
  margin: 0;
  font-size: clamp(28px, 3.2vw, 46px);  /* ✅ как hero */
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.8px;
  color: #0B1220;
  text-shadow:
    0 2px 10px rgba(255,255,255,.65),
    0 14px 34px rgba(11,18,32,.10);
}

.t-magic__final-accent{
  display:inline-block;
  background: linear-gradient(90deg, var(--spring, #FF5DA8), var(--violet, #A78BFA));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.t-magic__final-sub{
  margin: 10px 0 0;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 800;
  color: rgba(11,18,32,.68);
}

/* ---------- mobile ---------- */
@media (max-width: 860px){
  .t-magic__stage{ height: 180vh; min-height: 980px; }

  .t-magic__in{
    grid-template-columns: 1fr;
    position: sticky;
    top: 74px;
    height: calc(100vh - 74px);
  }

  .t-magic__capsule{
    top: -4%;
    width: min(175px, 44vw);
  }

  .t-magic__card{
    min-height: 360px;
    margin-top: 28px;
  }

  .t-magic__img--base{
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    transform: scale(0.985);
  }

  .t-magic__final{
    bottom: 24%;
    width: min(760px, 92%);
  }
}

/* ===== TOPSI FOOTER — Smooth Peach → Spring (brand palette, smooth, no bubbles) ===== */

.topsi-footer{
  background: linear-gradient(90deg,
    var(--peach,  #FF8A5B) 0%,
    #FF7BBE 35%,
    var(--spring, #FF5DA8) 65%,
    var(--violet, #A78BFA) 100%
  );
  padding: 56px 16px;
  position: relative;
  overflow: hidden;
}

/* NO bubbles / NO vignette (keep perfectly smooth) */
.topsi-footer::before{ display:none; }

.topsi-footer__wrap{
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topsi-footer__grid{
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr;
  gap: 22px;

  /* glass panel */
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 26px;
  padding: 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.topsi-footer__col{ min-width: 0; }

/* LOGO */
.topsi-footer__logo{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 8px;
}

/* IMPORTANT:
   делаем размер через width (так надежнее, чем height),
   и отключаем max-width/max-height чтобы глобальные img-правила не мешали */
.topsi-footer__logo img.topsi-footer__logo-img{
  width: 175px !important;      /* ← УВЕЛИЧИВАЙ ЗДЕСЬ (например 160 / 180 / 200) */
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.18));
}

.topsi-star{
  display:none; /* звёздочка больше не нужна рядом с логотипом */
}

.topsi-footer__tagline{
  color: rgba(30, 35, 45, .78);
  font-size: 15px;
  margin-bottom: 16px;
}

.topsi-footer__h{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  color: rgba(22,24,30,.92);
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.topsi-footer__sub{
  color: rgba(22,24,30,.72);
  font-size: 14px;
  margin-bottom: 14px;
}

.topsi-footer__social{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

/* Cards */
.topsi-card{
  display:flex;
  gap: 12px;
  align-items:center;
  text-decoration:none;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 18px;
  padding: 14px 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.topsi-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(0,0,0,.16);
}
.topsi-card:active{ transform: translateY(0); }

.topsi-ic{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  color: #1b1b1b;
  flex: 0 0 auto;
}
.topsi-ic--ig{
  background: linear-gradient(135deg, #ffd1e8, #fff1f7);
  color: #c2277a;
  border: 1px solid rgba(194,39,122,.18);
}
.topsi-ic--tt{
  background: linear-gradient(135deg, #f2f2f2, #ffffff);
  color: #111;
  border: 1px solid rgba(0,0,0,.10);
}

.topsi-card__text{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.topsi-card__title{ font-weight: 800; color: rgba(22,24,30,.92); line-height:1.1; }
.topsi-card__meta{ font-size: 13px; color: rgba(22,24,30,.66); }

/* Form */
.topsi-form{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.topsi-form__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.topsi-field{ display:block; }
.topsi-field__label{
  display:block;
  font-size: 12px;
  color: rgba(22,24,30,.62);
  margin: 0 0 6px 2px;
}

.topsi-input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.95);
  outline: none;
  font-size: 14px;
  color: rgba(22,24,30,.92);
}
.topsi-input:focus{
  border-color: rgba(168,61,138,.55);
  box-shadow: 0 0 0 4px rgba(168,61,138,.15);
}

/* Button — match your CTA gradient (spring → violet → sky) */
.topsi-btn{
  width: 100%;
  padding: 14px 14px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: .01em;
  color: #fff;

  background: linear-gradient(90deg,
    var(--spring, #FF5DA8) 0%,
    var(--violet, #A78BFA) 55%,
    var(--sky, #38BDF8) 110%
  );
  box-shadow: 0 18px 40px rgba(255,93,168,.22);
  border: 1px solid rgba(255,255,255,.35);

  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.topsi-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(255,93,168,.28);
  filter: saturate(1.05);
}
.topsi-btn:active{ transform: translateY(0); }

.topsi-form__note{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(22,24,30,.62);
}

/* Contacts */
.topsi-footer__contacts{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.topsi-contact{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: rgba(255,255,255,.92);
  font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}
.topsi-contact:hover .topsi-contact__ic{
  background: rgba(255,255,255,.22);
}

.topsi-contact__ic{
  width: 36px; height: 36px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.95);
  flex: 0 0 auto;
}

.topsi-contact__text{
  color: rgba(255,255,255,.95);
  text-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.topsi-footer__legal{
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,.78);
}

/* Responsive */
@media (max-width: 980px){
  .topsi-footer{ padding: 40px 14px; }
  .topsi-footer__grid{ grid-template-columns: 1fr; }
  .topsi-footer__contacts .topsi-footer__h{ margin-top: 6px; }
}

@media (max-width: 520px){
  .topsi-form__grid{ grid-template-columns: 1fr; }
  .topsi-footer__logo img.topsi-footer__logo-img{
    width: 145px !important;     /* ← размер лого на мобиле */
  }
}

.visually-hidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* =========================
   TOPSI FAQ (RU/AZ) — clean accordion
   ========================= */

.topsi-faq{
  padding: clamp(40px, 5vw, 80px) 0;
  background: #fff;
}

.topsi-faq .container{
  max-width: 1120px;
}

.topsi-faq__head{
  margin: 0 0 22px;
}

.topsi-faq__title{
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -0.6px;
  color: #0B1220;
}

.topsi-faq__subtitle{
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #5B667A;
  max-width: 60ch;
}

/* list layout */
.topsi-faq__list{
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

/* card */
.topsi-faq__item{
  border: 1px solid #E7EEF6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(11,18,32,.06);
  overflow: hidden;
}

/* remove default marker triangle */
.topsi-faq__item summary{
  list-style: none;
}
.topsi-faq__item summary::-webkit-details-marker{
  display: none;
}

/* question row */
.topsi-faq__q{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;

  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: #0B1220;

  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

/* arrow */
.topsi-faq__q::after{
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 12px;
  flex: 0 0 34px;

  border: 1px solid #E7EEF6;
  background:
    radial-gradient(circle at 30% 30%, rgba(23,178,106,.18), rgba(23,178,106,0) 60%),
    #fff;

  /* chevron */
  mask: none;
  -webkit-mask: none;

  position: relative;
}

/* draw chevron with pseudo */
.topsi-faq__q{
  position: relative;
}
.topsi-faq__q::before{
  content:"";
  position:absolute;
  right: 18px;
  width: 10px; height: 10px;
  border-right: 3px solid #17B26A;
  border-bottom: 3px solid #17B26A;
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-top: 2px;
}

/* open state */
.topsi-faq__item[open] .topsi-faq__q{
  background: linear-gradient(180deg, rgba(23,178,106,.10) 0%, #ffffff 70%);
}
.topsi-faq__item[open] .topsi-faq__q::before{
  transform: rotate(-135deg);
  margin-top: 6px;
}

/* answer */
.topsi-faq__a{
  padding: 0 18px 16px;
  font-size: 15px;
  line-height: 1.65;
  color: #263042;
}

/* divider line between q and a */
.topsi-faq__item[open] .topsi-faq__a{
  border-top: 1px solid #E7EEF6;
  padding-top: 14px;
}

/* hover */
@media (hover:hover){
  .topsi-faq__item:hover{
    transform: translateY(-1px);
    box-shadow: 0 18px 45px rgba(11,18,32,.09);
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .topsi-faq__item:hover .topsi-faq__q{
    color: #0B1220;
  }
}

/* desktop: two columns if you want more “витринно” */
@media (min-width: 980px){
  .topsi-faq__list{
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

.topsi-blog-preview {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff8fb 0%, #ffffff 100%);
}

.topsi-blog-preview__head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.topsi-blog-preview__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: #f3e8ff;
  color: #7a35cb;
  margin-bottom: 12px;
}

.topsi-blog-preview__title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #1e1633;
}

.topsi-blog-preview__subtitle {
  font-size: 16px;
  color: #6e6680;
}

.topsi-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.topsi-blog-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.topsi-blog-card:hover {
  transform: translateY(-5px);
}

.topsi-blog-card__image-link {
  display: block;
  height: 180px;
  overflow: hidden;
}

.topsi-blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topsi-blog-card__content {
  padding: 18px;
}

.topsi-blog-card__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.topsi-blog-card__title a {
  text-decoration: none;
  color: #1e1633;
}

.topsi-blog-card__text {
  font-size: 14px;
  color: #6e6680;
  margin-bottom: 14px;
}

.topsi-blog-card__link {
  font-weight: 700;
  color: #ff6b57;
  text-decoration: none;
}

.topsi-blog-preview__footer {
  text-align: center;
  margin-top: 30px;
}

.topsi-blog-preview__all-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ff8a3d, #ff5ea8, #8c52ff);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* =========================
   FINAL STOPPER (оставляем)
========================= */
section, header, main{
  overflow-x: clip;
}
@supports not (overflow: clip){
  section, header, main{ overflow-x:hidden; }
}
