/* Главная «Для бизнеса» — тёмная тема */

:root {
  --b2b-bg: #202328;
  --b2b-bg-2: #1F222B;
  --b2b-card: #262A32;
  --b2b-card-2: #242933;
  --b2b-card-3: #2E333D;
  --b2b-tariff: #364052;
  --b2b-text: #FFFFFF;
  --b2b-text-2: rgba(255, 255, 255, .80);   /* описания */
  --b2b-text-3: rgba(255, 255, 255, .70);   /* подписи, метки */
  --b2b-muted: rgba(203, 211, 227, .50);    /* SEO-текст, описание в подвале */
  --b2b-surface: rgba(175, 198, 255, .10);  /* Dark Mode 2/BG Gray: карточки, FAQ, чипы */
  --b2b-surface-2: rgba(149, 181, 242, .20);/* Dark Mode/Color/Gray 20% */
  --b2b-stroke: rgba(149, 181, 242, .50);   /* обводка вторичных кнопок */
  --b2b-line: rgba(255, 255, 255, .08);
  --b2b-accent-grad: linear-gradient(90deg, #EF7F1A 0%, #FFCF8D 100%);  /* акцентная часть H1/H2 */
  --b2b-orange-grad: linear-gradient(180deg, #F0831F 0%, #F8AA58 100%); /* Gradients/Orange: обводки, названия линеек */
  --r-md: 20px;       /* FAQ, строки таблиц и сравнения */
  --r-btn: 15px;      /* кнопки, поля ввода */
  --sec-gap: 120px;
}

/* Значения тёмной темы из UI-кита Figma: оранжевый #EF7F1A, карточки со скруглением 30 */
body.b2b {
  --brand: #EF7F1A;
  --brand-press: #F58B2B;
  --r-card: 30px;
}

body.b2b {
  background: var(--b2b-bg);
  color: var(--b2b-text);
}

.b2b section { position: relative; }

.b2b-h2 {
  font-size: var(--t-h2);
  line-height: var(--lh-h2);
  font-weight: 500;
  letter-spacing: var(--font-tracking-head);
  margin: 0;
}
.b2b-h2 span { display: block; width: fit-content; }
.b2b-h2--inline span { display: inline; }
/* Акцентная часть заголовка — градиент по тексту (в макете #EF7F1A → #FFCF8D) */
.b2b-h2 span,
.b2b-hero__title span,
.b2b .accent {
  background: var(--b2b-accent-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
/* Неакцентные части внутри заголовка остаются белыми */
.b2b-h2 span.plain,
.b2b-h2:has(.accent) span:not(.accent),
.b2b-h2--plain span:not(.accent) {
  background: none; color: inherit; -webkit-text-fill-color: currentColor;
}
/* Крупный вариант (64/70) — в макете так набраны «Решения, на которые…» и «Нужна помощь?» */
.b2b-h2--xl { font-size: var(--t-h1); line-height: var(--lh-h1); max-width: 960px; }

.b2b-sub {
  margin: 30px 0 0;
  max-width: 785px;
  font-size: var(--t-lg);
  line-height: 1.4;
  color: var(--b2b-text-2);
}

.b2b-arrows { display: flex; gap: 20px; }
.b2b-arrow {
  width: 50px; height: 50px; border-radius: var(--r-md);
  background: var(--b2b-surface);
  display: grid; place-items: center;
  color: #fff; transition: background .2s;
}
.b2b-arrow:hover { background: var(--brand); }
.b2b-arrow svg { width: 18px; height: 18px; }

.b2b-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 60px;
}

/* сетка «сот» на карточках */
/* Национальный узор (гирих) — как pattern-fill в Figma: плитка 204 px × 200 %,
   белые линии 5 % поверх подложки #AFC6FF 10 % (над #202328 даёт #2E333D). */
.b2b .honey {
  background-color: rgba(175, 198, 255, .10);
  background-image: url("../assets/img/pattern-girih.svg");
  background-size: 408px 408px;
  background-position: 0 0;
  background-repeat: repeat;
}

/* Кнопки B2B по UI-киту: 52 высота, 15/25, скругление 15, текст 18 Semibold */
.b2b main .btn,
.b2b .ftr .btn {
  min-height: 52px; padding: 14px 25px; border-radius: var(--r-btn);
  font-size: var(--t-md); line-height: 22px;
}
.b2b .btn--primary:hover { background: var(--brand-press); }

/* Оранжевая градиентная обводка 1px без заливки (карточки-преимущества, строки сравнения) */
.b2b .outline-grad { position: relative; background: transparent; border-color: transparent; }
.b2b .outline-grad::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--b2b-orange-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* ── Герой ─────────────────────────────────────────────── */
.b2b-hero { padding-block: 48px 0; }
.b2b-hero__card {
  position: relative;
  min-height: 500px;
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex; align-items: center;
  padding: 48px 100px;
}
.b2b-hero__card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
.b2b-hero__body { position: relative; z-index: 1; max-width: 620px; }
.b2b-hero .btn { font-size: var(--t-base); }
.b2b-hero__title {
  margin: 0;
  font-size: var(--t-h1); line-height: var(--lh-h1); font-weight: 500;
  letter-spacing: var(--font-tracking-head);
}
.b2b-hero__title span { color: var(--brand); display: block; }
.b2b-hero__text {
  margin: 30px 0 30px;
  font-size: var(--t-h3); line-height: var(--lh-h3);
  color: #fff;
}

/* ── Преимущества ──────────────────────────────────────── */
.b2b-adv { padding-block: 20px 0; }
.b2b-adv__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.b2b-adv__item {
  display: flex; align-items: center; gap: 30px;
  min-height: 150px; padding: 30px 40px;
  border-radius: var(--r-card);
  border: 1px solid rgba(53, 53, 58, .2);
  background-color: var(--b2b-surface);
  font-size: var(--t-lg); line-height: 1.4;
}
.b2b-adv__item svg { width: 50px; height: 50px; flex: 0 0 50px; color: var(--brand); }

/* ── Тарифные линейки ──────────────────────────────────── */
.b2b-lines { padding-block: var(--sec-gap) 0; }
.b2b-lines__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 628px;
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px;
}
.b2b-lines__track::-webkit-scrollbar { display: none; }
.b2b-line {
  position: relative; scroll-snap-align: start;
  min-height: 630px; border-radius: var(--r-card); overflow: hidden;
  background-color: var(--b2b-tariff);
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px;
}
.b2b-line__art {
  position: absolute; inset: 0 0 0 auto; height: 100%; width: auto;
  z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%);
  mask-image: linear-gradient(to right, transparent 0, #000 32%);
}
.b2b-line__body { position: relative; z-index: 1; max-width: 330px; }
.b2b-line__label { margin: 0; font-size: var(--t-lg); line-height: 1.4; font-weight: 600; color: var(--b2b-text-3); }
.b2b-line__name {
  margin: 10px 0 0; width: fit-content;
  font-size: var(--t-h1); line-height: var(--lh-h1); font-weight: 500;
  letter-spacing: var(--font-tracking-head);
  background: var(--b2b-orange-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.b2b-line__text { margin: 30px 0 30px; max-width: 280px; font-size: var(--t-h4); line-height: var(--lh-h4); }

/* ── Решения ───────────────────────────────────────────── */
/* Фон по макету: бетонная текстура (исходник Figma) поверх тёмного градиента + национальный узор.
   Графика — прозрачный вырез девушки и SVG-спираль точек, поэтому границ с фоном нет. */
.b2b-sol {
  position: relative;
  margin-top: var(--sec-gap);
  padding-block: 120px;
  background:
    linear-gradient(rgba(29, 32, 39, .55), rgba(29, 32, 39, .55)),
    url("../assets/img/pattern-girih.svg") 0 0 / 408px 408px repeat,
    linear-gradient(90deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .28) 100%),
    linear-gradient(180deg, #1D2027 0%, #232732 100%);
  overflow: hidden;
}
.b2b-sol::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../assets/img/photo/concrete.webp") center / cover no-repeat;
  opacity: .07; mix-blend-mode: screen;
}
/* Узор — полный исходник из Figma (assets/img/swirl.svg, 620×622), прижат к правому верхнему углу секции */
.b2b-sol__dots {
  position: absolute; right: 0; top: 0; width: 620px; height: auto; max-width: none; z-index: 0; pointer-events: none;
}
.b2b-sol__photo {
  position: absolute; right: 126px; bottom: 0;
  height: 1161px; width: auto; max-width: none; max-height: 100%;
  z-index: 0; pointer-events: none;
}
.b2b-sol .container { position: relative; z-index: 1; }
.b2b-sol__grid {
  display: grid; grid-template-columns: repeat(2, 384px);
  gap: 20px; margin-top: 60px;
}
.b2b-sol .b2b-sub { max-width: 580px; }
.b2b-sol__item {
  display: flex; flex-direction: column;
  min-height: 360px; padding: 40px;
  border-radius: var(--r-card);
  -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
}
/* Чередование по диагонали: 1-я и 4-я — оранжевая градиентная обводка, 2-я и 3-я — заливка с узором */
.b2b .b2b-sol__item:nth-child(4n+1),
.b2b .b2b-sol__item:nth-child(4n) { position: relative; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.b2b-sol__item:nth-child(4n+1)::before,
.b2b-sol__item:nth-child(4n)::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--b2b-orange-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.b2b-sol__item svg { width: 50px; height: 50px; color: var(--brand); }
.b2b-sol__item h3 {
  margin: auto 0 15px; font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: 500;
}
.b2b-sol__item p { margin: 0; font-size: var(--t-md); line-height: 1.4; color: var(--b2b-text-2); }

/* ── Реализованные решения ─────────────────────────────── */
.b2b-cases { padding-block: var(--sec-gap) 0; }
.b2b-cases__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 787px;
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.b2b-cases__track::-webkit-scrollbar { display: none; }
.b2b-case { scroll-snap-align: start; }
.b2b-case__media { position: relative; border-radius: var(--r-card); overflow: hidden; }
.b2b-case__media img { display: block; width: 100%; height: 419px; object-fit: cover; }
.b2b-case__tags { position: absolute; top: 30px; right: 30px; display: flex; gap: 10px; }
.b2b-case__tag {
  padding: 10px 20px; border-radius: var(--r-pill);
  background: rgba(32, 35, 40, .82); backdrop-filter: blur(4px);
  font-size: var(--t-base); line-height: var(--lh-base); font-weight: 600;
}
.b2b-case__date { margin: 30px 0 15px; font-size: var(--t-base); line-height: var(--lh-base); color: var(--b2b-text-2); }
.b2b-case__title { margin: 0; font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: 500; max-width: 460px; }

/* ── Вопросы ───────────────────────────────────────────── */
.b2b-faq { padding-block: var(--sec-gap) 0; }
/* вопросы — последний блок страницы: отступ до подвала */
.b2b main > .b2b-faq:last-child { padding-bottom: var(--sec-gap); }
.b2b-faq__list { display: grid; gap: 15px; margin-top: 60px; }
.b2b-faq__item {
  position: relative; overflow: hidden;
  border-radius: var(--r-md);
  background: var(--b2b-surface);
}
.b2b-faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 15px 15px 15px 30px; text-align: left;
  font-size: var(--t-lg); line-height: 1.4; font-weight: 600; color: #fff;
  font-family: inherit;
}
.b2b-faq__item[open] .b2b-faq__q,
.b2b-faq__item.is-open .b2b-faq__q { color: var(--brand); }
.b2b-faq__chev {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .06);
  transition: transform .25s, background .2s;
}
.b2b-faq__chev svg { width: 16px; height: 16px; }
.b2b-faq__item.is-open .b2b-faq__chev { background: var(--brand); transform: rotate(180deg); color: #fff; }
.b2b-faq__a {
  display: none; padding: 5px 30px 35px;
  max-width: 1140px; margin-right: 330px; position: relative; z-index: 1;
}
.b2b-faq__item.is-open .b2b-faq__a { display: block; }
.b2b-faq__a p { margin: 0 0 25px; font-size: var(--t-md); line-height: 1.4; color: #fff; }
.b2b-faq__a p:last-child { margin-bottom: 0; }
.b2b-faq__dots {
  position: absolute; right: 0; top: 0; bottom: 0; width: 330px;
  background: radial-gradient(circle at 50% 50%, rgba(239, 127, 26, .95) 0 3.2px, transparent 3.4px) 0 0 / 19px 19px;
  -webkit-mask-image: radial-gradient(circle at 92% 50%, #000 22%, rgba(0,0,0,.35) 55%, transparent 78%);
  mask-image: radial-gradient(circle at 92% 50%, #000 22%, rgba(0,0,0,.35) 55%, transparent 78%);
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.b2b-faq__item.is-open .b2b-faq__dots { opacity: 1; }

/* ── Дополнительные сервисы ────────────────────────────── */
.b2b-extra { padding-block: var(--sec-gap) 0; }
.b2b-extra__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.b2b-extra__item {
  display: flex; flex-direction: column;
  min-height: 380px; padding: 40px;
  border-radius: var(--r-card);
  background-color: var(--b2b-surface);
}
.b2b-extra__item svg.ico { width: 50px; height: 50px; color: var(--brand); }
.b2b-extra__item h3 { margin: auto 0 15px; font-size: var(--t-h4); line-height: var(--lh-h4); font-weight: 500; }
.b2b-extra__item p { margin: 0 0 15px; font-size: var(--t-md); line-height: 1.4; color: var(--b2b-text-2); }
.b2b-extra__more { color: var(--brand); font-size: var(--t-md); line-height: 1.4; }
.b2b-extra__item .btn { align-self: flex-start; }

/* ── Тарифы «Интернет в офис»: четыре светлые карточки в ряд ── */
.net-price { padding-bottom: 0; }
.net-price__lead { margin: 30px 0 0; max-width: 785px; font-size: var(--t-lg); line-height: 1.4; color: var(--b2b-text-2); }
/* Тарифы интернета — в тёмной теме, как остальные карточки страницы: без белых плашек и точечного узора,
   характеристики строками с тонкими разделителями, кнопка контурная */
.net-price .cctv-price__tab { background: var(--b2b-surface); color: #fff; }
.net-price .cctv-price__tab.is-active { background: var(--brand); }
.net-price .net-price__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.net-price .net-plan { padding: 30px; gap: 22px; background: var(--b2b-surface); color: #fff; }
.net-price .net-plan::before { display: none; }
.net-price .net-plan .cctv-plan__name { font-size: var(--t-h4); line-height: var(--lh-h4); color: var(--b2b-text-2); }
.net-price .net-plan .cctv-plan__name span { display: block; margin-top: 4px; font-size: var(--t-h1); line-height: 1; color: #fff; }
.net-price .net-plan .cctv-plan__name span::after { content: " Мбит/с"; font-size: var(--t-md); line-height: 1.4; color: var(--brand); }
.net-price .net-plan .cctv-plan__list { flex: 1; padding: 0; border-radius: 0; background: none; gap: 0; }
.net-price .net-plan .cctv-plan__row { flex-wrap: nowrap; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.net-price .net-plan .cctv-plan__row dt { color: var(--b2b-text-2); white-space: normal; }
.net-price .net-plan .cctv-plan__row dd { font-size: var(--t-md); color: #fff; }
.net-price .net-plan .cctv-plan__row .ok { color: var(--brand); }
.net-price .net-plan .cctv-plan__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
.net-price .net-plan__price { font-size: var(--t-md); line-height: 1.4; font-weight: var(--w-regular); color: var(--b2b-text-2); }
.net-price .net-plan .btn { width: 100%; background: none; box-shadow: inset 0 0 0 1.5px var(--brand); color: #fff; }
.net-price .net-plan .btn:hover, .net-price .net-plan .btn:focus-visible { background: var(--brand); }
.net-price__notes { margin: 30px 0 0; display: grid; gap: 6px; font-size: var(--t-base); line-height: 1.4; color: var(--b2b-text-3); }
.net-price__notes li::before { content: "• "; color: var(--brand); }
@media (max-width: 1279px) { .net-price .net-price__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 767px) {
  .net-price .net-price__grid { grid-template-columns: 1fr; } .net-price__lead { margin-top: 20px; font-size: 17px; } .net-price__notes { font-size: 13px; }
  .net-price .net-plan { padding: 20px; } .net-price .net-plan .cctv-plan__name span { font-size: 44px; }
}

/* Технологии подключения: ВОЛС, РРЛ, мультисим */
.net-tech { padding-top: var(--sec-gap); }
.net-tech__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 60px; }
.net-tech__card { display: flex; flex-direction: column; gap: 16px; padding: 40px; border-radius: var(--r-card); background-color: var(--b2b-surface); }
.net-tech__card svg { width: 50px; height: 50px; color: var(--brand); }
.net-tech__abbr { font-size: var(--t-h3); line-height: var(--lh-h3); font-weight: var(--w-medium); color: #fff; }
.net-tech__abbr small { display: block; margin-top: 4px; font-size: var(--t-base); line-height: var(--lh-base); font-weight: var(--w-regular); color: var(--brand); }
.net-tech__card p { flex: 1; font-size: var(--t-md); line-height: 1.4; color: var(--b2b-text-2); }
.net-tech__for { font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--b2b-text-3); }
.net-tech__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.net-tech__tags span { padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--b2b-stroke); font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--b2b-text-2); }
.net-tech__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; margin-top: 40px; }
.net-tech__foot p { max-width: 640px; font-size: var(--t-md); line-height: 1.4; color: var(--b2b-text-2); }
@media (max-width: 1100px) { .net-tech__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 30px; } }
@media (max-width: 767px) { .net-tech__card { padding: 20px; border-radius: 20px; gap: 12px; } .net-tech__card svg { width: 40px; height: 40px; } .net-tech__foot { margin-top: 24px; } }

/* ── SEO-текст ─────────────────────────────────────────── */
.b2b-seo { padding-block: var(--sec-gap); }
.b2b-seo p {
  margin: 0; max-width: 1280px;
  font-size: var(--t-base); line-height: 1.4;
  color: var(--b2b-muted);
}

/* ── Тёмный подвал ─────────────────────────────────────── */
.ftr--dark { background: var(--b2b-bg); color: #fff; border-top: 1px solid var(--b2b-line); }
.ftr--dark .ftr__text { color: var(--b2b-muted); }
.ftr--dark .ftr__claim { color: var(--brand); }
.ftr--dark .ftr__col-title { color: #fff; }
.ftr--dark .ftr__list a { color: var(--b2b-text-2); }
.ftr--dark .ftr__list a:hover { color: var(--brand); }
.ftr--dark .ftr__card { background: var(--b2b-surface); }
.ftr--dark .ftr__card-title { color: #fff; }
.ftr--dark .ftr__card-text,
.ftr--dark .ftr__phone-label { color: var(--b2b-text-2); }
.ftr--dark .ftr__phone { color: #fff; }
.ftr--dark .ftr__soc { background: rgba(255, 255, 255, .08); color: #fff; }
.ftr--dark .ftr__soc:hover { background: var(--brand); }
.ftr--dark .ftr__logo { color: #fff; }
.ftr--dark .ftr__bottom { border-top: 1px solid var(--b2b-line); }
.ftr--dark .ftr__bottom,
.ftr--dark .ftr__cookie,
.ftr--dark .ftr__author { color: var(--b2b-text-3); }
.ftr--dark .ftr__bottom a { color: var(--b2b-text-2); }
.ftr--dark .btn--ghost { border-color: var(--b2b-stroke); color: #fff; font-weight: 400; }
.ftr--dark .btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ── Адаптив ───────────────────────────────────────────── */
@media (max-width: 1700px) {
  .b2b-sol__photo { height: auto; width: min(531px, 33vw); right: 80px; }
  .b2b-sol__dots { width: min(560px, 36vw); }
}

@media (max-width: 1440px) {
  :root { --sec-gap: 96px; }
  .b2b-hero__card { padding: 40px 64px; min-height: 440px; }
  .b2b-lines__track { grid-auto-columns: 520px; }
  .b2b-line { min-height: 560px; }
  .b2b-line__body { max-width: 290px; }
  .b2b-line__art { height: 78%; top: auto; bottom: 0; }
  .b2b-cases__track { grid-auto-columns: 640px; }
  .b2b-case__media img { height: 360px; }
  .b2b-sol__grid { grid-template-columns: repeat(2, minmax(0, 340px)); }
  .b2b-sol__photo { right: 40px; }
}

@media (max-width: 1100px) {
  .b2b-adv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2b-extra__grid { grid-template-columns: repeat(3, 1fr); }
  .b2b-extra__item { padding: 30px; }
  .b2b-sol__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Планшет и мобильный: та же двухслойная композиция (вырез + полный узор) отдельным блоком под карточками */
  .b2b-sol { display: flex; flex-direction: column; padding-bottom: 0; }
  .b2b-sol__art { order: 2; position: relative; height: min(600px, 120vw); margin-top: 40px; overflow: hidden; }
  .b2b-sol__dots { width: min(520px, 78vw); }
  .b2b-sol__photo { left: 50%; right: auto; top: 0; bottom: auto; transform: translateX(-50%); height: 175%; width: auto; max-height: none; }
}

@media (max-width: 767px) {
  :root { --sec-gap: 60px; }
  /* Мобильный макет 395: H1 30, H2 24, кнопки 44 / 12×20 / 14 */
  .b2b-h2 { font-size: 24px; line-height: 1.1; }
  .b2b-h2--xl { font-size: 30px; line-height: 1.1; }
  .b2b main .btn, .b2b .ftr .btn { min-height: 44px; padding: 11px 20px; font-size: var(--t-sm); line-height: 20px; }
  .b2b-sub { margin-top: 20px; font-size: 17px; }
  .b2b-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
  .b2b-arrows { display: none; }

  .b2b-hero { padding-block: 16px 0; }
  .b2b-hero__card { min-height: 420px; padding: 28px 20px; align-items: flex-start; }
  .b2b-hero__card img { object-position: 68% center; }
  .b2b-hero__card::after {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(180deg, rgba(22, 24, 28, .88) 0 32%, rgba(22, 24, 28, .25) 62%, transparent 100%);
  }
  .b2b-hero__title { font-size: 30px; line-height: 1.1; }
  .b2b-hero__text { font-size: 21px; line-height: 1.2; margin: 16px 0 24px; }

  /* Мобильный макет: 2×2, иконка 40 над текстом 17 */
  .b2b-adv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .b2b-adv__item { min-width: 0; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
  .b2b-adv__item { flex-direction: column; align-items: flex-start; gap: 20px; min-height: 172px; padding: 20px; font-size: 17px; line-height: 1.3; }
  .b2b-adv__item svg { width: 40px; height: 40px; flex-basis: 40px; }

  .b2b-lines__track {
    grid-auto-columns: 300px; gap: 12px;
    margin-inline: calc(var(--page-pad) * -1);
    padding-inline: var(--page-pad);
  }
  .b2b-line { min-height: 460px; padding: 24px; border-radius: 20px; }
  .b2b-line__body { max-width: 190px; }
  .b2b-line__label { font-size: var(--t-base); }
  .b2b-line__name { font-size: 30px; line-height: 1.1; }
  .b2b-line__text { font-size: 17px; line-height: 1.3; margin: 16px 0 24px; }
  .b2b-line__art { height: 58%; top: auto; bottom: 0; opacity: .9;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%);
    mask-image: linear-gradient(to right, transparent 0, #000 45%); }

  .b2b-sol { padding-block: 56px 0; }
  .b2b-sol__grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
  .b2b-sol__item { min-height: 0; padding: 20px; }
  .b2b-sol__item svg { width: 40px; height: 40px; }
  .b2b-sol__item h3 { margin: 22px 0 10px; font-size: 17px; line-height: 1.3; }
  .b2b-sol__item p { font-size: var(--t-sm); line-height: 1.4; }
  .b2b-sol__art { margin-top: 32px; }
  .b2b-sol__photo { height: 140%; }

  .b2b-cases__track {
    grid-auto-columns: 300px; gap: 12px;
    margin-inline: calc(var(--page-pad) * -1);
    padding-inline: var(--page-pad);
  }
  .b2b-case__media img { height: 200px; }
  .b2b-case__tags { top: 12px; right: 12px; }
  .b2b-case__tag { padding: 6px 12px; font-size: 13px; line-height: 18px; }
  .b2b-case__title { font-size: 17px; line-height: 1.3; }
  .b2b-case__date { margin: 16px 0 8px; font-size: 13px; }

  .b2b-faq__list { gap: 10px; margin-top: 30px; }
  .b2b-faq__q { padding: 15px 15px 15px 20px; font-size: 17px; line-height: 1.3; gap: 12px; }
  .b2b-faq__chev { flex-basis: 32px; width: 32px; height: 32px; }
  .b2b-faq__a { padding: 0 20px 20px; margin-right: 0; }
  .b2b-faq__a p { font-size: var(--t-sm); margin-bottom: 15px; }
  .b2b-faq__dots { display: none; }

  .b2b-extra__grid { grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
  .b2b-extra__item { min-height: 0; padding: 20px; }
  .b2b-extra__item svg.ico { width: 40px; height: 40px; }
  .b2b-extra__item h3 { margin-top: 24px; font-size: 17px; line-height: 1.3; }
  .b2b-extra__item p, .b2b-extra__more { font-size: var(--t-sm); }

  .b2b-seo { padding-block: 60px; }
  .b2b-seo p { font-size: 13px; }
}

/* первый экран «Интернет в офис»: на телефоне своя вертикальная обложка — текст сверху, оборудование внизу */
@media (max-width: 767px) {
  .net-hero .b2b-hero__card { min-height: 0; aspect-ratio: 710 / 1000; }
  .net-hero .b2b-hero__card picture img { object-position: center bottom; }
}

/* тарифы телефонии: те же карточки, что у интернета, единица измерения — минуты */
.net-price--tel .net-plan .cctv-plan__name span { font-size: var(--t-h2); white-space: nowrap; }
.net-price--tel .net-plan .cctv-plan__name span::after { content: "минут в месяц"; display: block; margin-top: 6px; }
.net-price .net-plan__for { margin-top: -10px; min-height: 2.8em; font-size: var(--t-sm); line-height: 1.4; color: var(--b2b-text-3); }
.net-price .net-plan .net-plan__req { color: var(--brand); }
.tel .net-price { padding-top: var(--sec-gap); padding-bottom: 0; }
@media (max-width: 767px) { .net-price .net-plan__for { min-height: 0; margin-top: -6px; } }

/* ===== Ревью вёрстки: плашки преимуществ под первым экраном =====
   Текст не должен упираться в край плашки: колонка с текстом сжимается и переносит слова. */
.b2b-adv__item { gap: 20px; padding: 26px 28px; min-width: 0; }
.b2b-adv__item > :not(svg) { min-width: 0; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
/* размер текста и иконки — как в макете (20px и 50px); на средних экранах сжимаются только отступы */
@media (max-width: 1440px) and (min-width: 768px) { .b2b-adv__item { gap: 16px; padding: 22px 20px; } }

/* Первый экран интернета: подпись не заходит на оборудование с фотографии */
@media (min-width: 768px) { .net-hero .b2b-hero__text { max-width: min(480px, 30vw); } }
/* на средних экранах заголовок и подпись меньше и уже, кадр чуть сдвинут — текст не ложится на оборудование */
@media (min-width: 768px) and (max-width: 1279px) {
  .net-hero .b2b-hero__card picture img { object-position: 42% center; }
  .net-hero .b2b-hero__body { max-width: 44%; }
  .net-hero .b2b-hero__title { font-size: clamp(32px, 4.1vw, 52px); line-height: 1.12; }
  .net-hero .b2b-hero__text { max-width: none; font-size: clamp(17px, 2.1vw, 24px); line-height: 1.3; }
}
