:root {
  --primary: #007A8C;
  --primary-dark: #0B3954;
  --accent-alert: #F25C3D;
  --bg-soft: #E6F5F7;
  --text-main: #1F2933;
  --text-secondary: #6B7B8D;
  --radius: 14px;
  --shadow-soft: 0 10px 28px rgba(0,0,0,0.06);
}

/* reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background: #ffffff;
  line-height: 1.5;
}

a, a:visited {
  text-decoration: none;
  color: inherit;
}

/* ---- TOP BAR ---- */
.top-bar {
  background: #0B3954;
  color: #ffffff;
  font-size: 11px;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.top-bar-contacts {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-contacts a {
  color: #ffffff;
  white-space: nowrap;
}

.top-bar-contacts a:hover {
  text-decoration: underline;
}

/* ---- HEADER ---- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Логотип */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-icon-img {
  height: 56px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title { font-weight: 600; font-size: 24px; }
.logo-sub   { font-size: 12px; color: #7b8b9e; }

/* Навигация (десктоп) */
.header-nav {
  display: flex;
  gap: 10px;
  flex: 1;
  justify-content: center;
  font-size: 14px;
}

.header-nav a {
  padding: 6px 14px;
  border-radius: 999px;
  color: #37515f;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-nav a:hover {
  background: rgba(0, 122, 140, 0.08);
  color: #007aac;
}

.header-nav a.is-active {
  background: #007aac;
  color: #ffffff;
  font-weight: 600;
}

/* Телефоны и кнопка (десктоп) */
.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 12px;
}

.header-actions .phone { color: #007aac; }
.header-actions .phone:hover { text-decoration: underline; }

.header-actions .btn-alert {
  padding: 6px 14px;
  border-radius: 999px;
  background: #ff6b3d;
  color: #ffffff;
  font-size: 12px;
  white-space: nowrap;
}

/* === mobile menu === */
/* === Burger === */
.burger{
  display:none; flex-direction:column; gap:4px; width:24px; height:18px;
  margin-left:8px; padding:0; border:0; background:none; cursor:pointer;
}
.burger span{ height:3px; border-radius:2px; background:#007aac; transition:.2s; }
.burger.is-open span:nth-child(2){ opacity:0; }
.burger.is-open span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* === Mobile nav (фиксированная панель под шапкой) === */
.mobile-nav{
  display:none;
  position:fixed;
  left:0; right:0; top:64px;
  background:#fff;
  box-shadow:0 10px 20px rgba(0,0,0,.08);
  z-index:1200;
  padding:12px 14px 16px;
  flex-direction:column;
  gap:8px;
}
@media (max-width:768px){
  .header-nav, .header-actions{ display:none; }
  .burger{ display:flex; }
}

/* пункты меню */
.mobile-nav a{
  display:block; padding:10px 14px; font-size:15px; color:#37515f; border-radius:10px;
}
.mobile-nav a:hover{ background:#f3f7f9; }

/* подпись-группа и разделитель */
.mobile-nav .mobile-group{
  margin-top:4px; font-size:12px; color:#6b7b8d; padding:0 2px;
  text-transform:uppercase; letter-spacing:.04em;
}
.mobile-nav hr{ border:0; border-top:1px solid #eef4f6; margin:6px 0; }

/* CTA */
.mobile-nav-cta{
  margin-top:8px; padding:12px 16px; border-radius:999px;
  background:#ff6b3d; color:#fff; text-align:center; font-weight:600;
}

/* видимая шторка меню */
.mobile-nav.is-open{ display:flex; }

/* === Тёмная подложка === */
.nav-backdrop{
  position:fixed; inset:0;
  background:rgba(0,0,0,.35);
  backdrop-filter:blur(2px);
  opacity:0; pointer-events:none;
  transition:opacity .2s ease;
  z-index:1199;
}
.nav-backdrop.is-open{ opacity:1; pointer-events:auto; }

/* при открытом меню блокируем прокрутку страницы */
.body-lock{ overflow:hidden; touch-action:none; }

/* служебное */
[hidden]{ display:none !important; }

/* опционально подсветить «Для бизнеса» */
.mobile-nav a[href="/biz/"]{ font-weight:600; }

/* мобильный заголовок — ниже сделаем панель под шапкой меньше */
@media (max-width:768px){
  .logo-sub{ display:none; }
  .logo-title{ font-size:20px; }
  .header-inner{ justify-content:space-between; }
  .mobile-nav{ top:56px; }
}


/* ---- HERO ---- */
.hero {
  background: var(--bg-soft);
  padding: 26px 16px 26px;
}

/* сетка внутри hero по умолчанию (десктоп) */
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(260px,1.4fr);
  gap: 26px;
  align-items: stretch;
}

.hero-inner-page {
  background: var(--bg-soft);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  max-width: 540px;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 12px;
  margin-bottom: 12px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #ffffff;
  border-radius: 999px;
  font-size: 11px;
  color: var(--primary-dark);
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}

.hero-actions .btn-primary {
  font-size: 13px;
  padding: 8px 16px;
}

.hero-note {
  font-size: 11px;
  color: var(--text-secondary);
}

/* hero-photo для внутренних страниц */

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    rgba(11,57,84,0.75),
    rgba(0,122,140,0.15),
    rgba(0,0,0,0)
  );
  pointer-events: none;
}

.hero-photo-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  color: #ffffff;
  font-size: 10px;
  line-height: 1.4;
  z-index: 2;
}

.hero-photo-caption strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 2px;
}

/* чуть ровнее внутренние баннеры на широких */
@media (min-width: 992px) {
  .hero-photo img,
  .hero-photo video {
    height: 420px;
  }
}

/* ===== HERO: главная, фото + рассеивание ===== */

/* картинка задаётся переменной на .hero--main */
.hero--main{
  --hero-img: url('/media/banner-dezshield360.jpg');
}

/* базовый фон для всех экранов — фото на фоне + лёгкое рассеивание вниз */
.hero.hero--split{
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      to bottom,
      rgba(230,245,247,0) 0%,
      rgba(230,245,247,0.78) 55%,
      #E6F5F7 82%,
      #E6F5F7 100%
    ),
    var(--hero-img);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
}

/* сетка внутри hero остаётся как была */
.hero.hero--split .hero-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(260px,1.4fr);
  gap: 26px;
  align-items: stretch;
}

/* простой «пустой» столбец справа, если он есть в вёрстке */
.hero.hero--split .hero-right-spacer{
  min-height: 340px;
}

/* МОБИЛА: одна колонка + текст в мягкой карточке поверх фото */
@media (max-width: 768px){
  .hero.hero--split{
    background-position: center top;
  }

  .hero.hero--split .hero-inner{
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 16px 24px;
  }

  .hero.hero--split .hero-left{
    order: 1;
    background: rgba(246,250,251,0.94);
    border-radius: 16px;
    padding: 14px 12px;
  }

  .hero.hero--split .hero-right-spacer{
    display: none;
  }
}

/* ДЕСКТОП: чуть сильнее «подчищаем» фото слева, чтобы переход был мягким */
@media (min-width: 992px){
  .hero.hero--split{
    background:
      linear-gradient(
        to right,
        #E6F5F7 0%,
        #E6F5F7 38%,
        rgba(230,245,247,0.96) 56%,
        rgba(230,245,247,0) 80%,
        rgba(230,245,247,0) 100%
      ),
      var(--hero-img);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
  }

  .hero.hero--split .hero-inner{
    padding: 26px 16px 26px;
  }
}


/* ---- SERVICES ---- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }

.service-card {
  background: #ffffff; border-radius: var(--radius);
  padding: 12px 10px 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  display: flex; flex-direction: column; gap: 6px; font-size: 12px;
}

.service-label { display: inline-flex; padding: 2px 7px; border-radius: 999px; background: var(--bg-soft); font-size: 9px; color: var(--primary); margin-bottom: 1px; }
.service-title { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 14px; color: var(--primary-dark); }
.service-text { font-size: 12px; color: var(--text-secondary); }
.service-list { font-size: 11px; color: var(--text-main); padding-left: 15px; }

.service-actions {
  margin-top: auto; display: flex; justify-content: space-between;
  align-items: center; gap: 8px; font-size: 11px;
}

.service-link { font-size: 11px; color: var(--primary); cursor: pointer; }
.service-link:hover { text-decoration: underline; }
.service-order-btn { padding: 5px 9px; font-size: 10px; }

/* ---- CLIENTS ---- */
.clients-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; font-size: 11px; }

.client-card {
  background: #ffffff; border-radius: 10px; padding: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
  display: flex; flex-direction: column; gap: 3px;
}

.client-title { font-weight: 600; font-size: 11px; color: var(--primary-dark); }
.client-label { font-size: 9px; color: var(--primary); }

/* ---- GEO ---- */
.geo-wrap { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(260px,1.3fr); gap: 20px; align-items: center; }
.geo-list { font-size: 12px; color: var(--text-main); padding-left: 16px; }
.geo-highlight { display: inline-flex; padding: 4px 9px; background: #ffffff; border-radius: 999px; font-size: 10px; color: var(--primary-dark); box-shadow: 0 4px 10px rgba(0,0,0,0.04); margin-top: 8px; }

.geo-map-placeholder,
.map-placeholder {
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 14px;
  font-size: 10px;
  color: var(--text-secondary);
  display: flex; flex-direction: column; gap: 4px; text-align: center;
}

/* ---- GUARANTEES / LICENSES ---- */
.guarantees-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }

.guarantee-card {
  background: #ffffff; border-radius: 10px; padding: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  font-size: 11px; display: flex; flex-direction: column; gap: 3px;
}

.guarantee-title { font-weight: 600; color: var(--primary-dark); font-size: 12px; }

.licenses-row { display: flex; gap: 10px; flex-wrap: wrap; font-size: 10px; margin-top: 6px; }
.license-card {
  background: #ffffff; border-radius: 8px; padding: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  width: 130px; display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
}
.license-box { width: 100%; height: 54px; border-radius: 6px; border: 1px dashed #D1E5EA; background: #F8FCFD; }

/* ---- CASES ---- */
.cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; font-size: 11px; }

.case-card {
  background: #ffffff; border-radius: 10px; padding: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  display: flex; flex-direction: column; gap: 5px;
}

.case-label { font-size: 9px; color: var(--primary); }
.case-title { font-weight: 600; color: var(--primary-dark); font-size: 11px; }

/* ---- PRICES ---- */
.price-table {
  width: 100%; border-collapse: collapse; font-size: 12px; background: #ffffff;
  border-radius: 10px; box-shadow: var(--shadow-soft); overflow: hidden;
}
.price-table th, .price-table td { padding: 8px 10px; border-bottom: 1px solid #EEF4F6; text-align: left; }
.price-table th { background: var(--bg-soft); font-weight: 600; color: var(--primary-dark); }
.price-note { font-size: 10px; color: var(--text-secondary); margin-top: 6px; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 6px; }
.faq-item { background:#fff; border-radius:8px; padding:8px 9px; box-shadow:0 4px 12px rgba(0,0,0,.03); cursor:pointer; }
.faq-question { font-size:12px; font-weight:500; color:var(--primary-dark); display:flex; justify-content:space-between; align-items:center; gap:6px; }
.faq-answer { font-size:10px; color:var(--text-secondary); margin-top:3px; display:none; }

/* Показываем ответ, когда НЕТ класса collapsed */
.faq-item:not(.collapsed) .faq-answer { display:block; }

.faq-toggle { font-size:16px; color:var(--primary); }

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(260px,1.2fr); gap: 18px; align-items: flex-start; }
.about-list { font-size: 12px; color: var(--text-main); padding-left: 16px; }
.about-card {
  background: #ffffff; border-radius: var(--radius);
  padding: 10px; box-shadow: var(--shadow-soft); font-size: 11px;
  display: flex; flex-direction: column; gap: 3px;
}

/* ---- CONTACTS / FORMS ---- */
.contacts-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(260px,1.6fr); gap: 18px; align-items: flex-start; }
.contacts-list { font-size: 12px; display: flex; flex-direction: column; gap: 5px; color: var(--text-main); }
.contacts-label { font-weight: 600; color: var(--primary-dark); }

.contacts-form {
  background: #ffffff; padding: 10px; border-radius: var(--radius);
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 7px; font-size: 11px;
}

.field-label { font-size: 11px; color: var(--text-secondary); margin-bottom: 2px; }
.field-input, .field-textarea {
  width: 100%; padding: 7px 9px; border-radius: 8px; border: 1px solid #D1E5EA;
  font-size: 12px; outline: none; transition: all 0.15s ease; resize: vertical;
}
.field-input:focus, .field-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(0,122,140,0.12); }
.hero-form-note { font-size: 9px; color: var(--text-secondary); margin-top: 2px; }



/* ===== MEDIA CARDS (photo/video) ===== */
.media-card .media-ratio{
  aspect-ratio:16/9;
  position:relative;
  width:100%;
  border-radius:12px;
  overflow:hidden;
  background:#000;
}
.media-card.is-vertical .media-ratio{ aspect-ratio:9/16; }

.media-card .media-obj{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.media-card video.media-obj{ background:#000; }

/* Сетка карточек медиа */
.media-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
}
@media (max-width: 1200px){ .media-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 900px) { .media-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px){ .media-grid{ grid-template-columns: 1fr; } }

/* Бейдж */
.media-badge {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 4px 10px; font-size: 11px; font-weight: 600;
  border-radius: 999px;
  background: rgba(0, 167, 140, 0.94);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

/* Текст под карточкой */
.media-card figcaption { margin-top: 8px; font-size: 13px; line-height: 1.5; color: #37515f; }

/* Навигация внутренних страниц (хлебные крошки) */
.page-nav {
  max-width: 1200px;
  margin: 0 auto 16px auto;
  padding: 0 16px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #6B7B85;
}

/* Чуть мягче анимация и без «подпрыгивания» на тач-устройствах */
.page-nav-link { transition: color .2s ease, transform .15s ease; }
@media (hover: none) {
  .page-nav-link:hover { transform: none; }
}

/* Учитываем настройку «уменьшить анимацию» */
@media (prefers-reduced-motion: reduce) {
  .page-nav-link { transition: none; }
  .page-nav-link:hover { transform: none; }
}

/* ---- FOOTER ---- */
footer {
  padding: 14px 16px 18px;
  background: #0B3954;
  color: #ffffff;
  font-size: 10px;
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; align-items: flex-start;
}

.footer-links { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-link { color: #ffffff; }
.footer-link:hover { text-decoration: underline; }

.footer-brand { font-weight: 600; font-size: 16px; }
.footer-sub, .footer-legal, .footer-copy { margin-top: 2px; }

.form-note { margin-top: 8px; font-size: 11px; color: rgba(0, 0, 0, 0.6); }
.form-note a { color: #007A8C; text-decoration: underline; }

.footer-links a { color: #C4D6E5; }
.footer-legal { color: #C4D6E5; font-size: 9px; line-height: 1.4; }

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .services-grid,
  .clients-grid,
  .guarantees-grid,
  .cases-grid,
  .geo-wrap,
  .about-grid,
  .contacts-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FLOAT BACK BUTTON ===== */
.float-back{
  position: fixed; left: 16px; bottom: 16px; z-index: 1500;
  padding: 10px 14px; background: #0B7285; color: #fff;
  border-radius: 999px; box-shadow: 0 8px 18px rgba(0,0,0,.18);
  font-size: 14px; line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.float-back:hover{ transform: translateY(-2px); filter: brightness(1.05); }
@media (max-width: 560px){
  .float-back{ left: 10px; bottom: 10px; padding: 9px 12px; font-size: 13px; }
}

/* ===== Для бизнеса: сетка карточек ===== */
.biz-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}
@media (max-width:1080px){ .biz-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:560px){ .biz-grid{ grid-template-columns:1fr; } }

.biz-item{
  display:block;
  background:#fff;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  padding:16px;
  text-decoration:none;
  color:inherit;
}
.biz-item:hover{
  transform: translateY(-2px);
  box-shadow:0 10px 28px rgba(0,0,0,.12);
  transition:.2s ease;
}
.biz-item h3{ margin:0 0 6px; font-size:18px; color:#0b2748; }
.biz-item p{ margin:0; color:#667885; font-size:14px; }

/* --- HERO (внутренние страницы) --- */

/* фон внутренних страниц */
.hero-inner-page{
  background: var(--bg-soft);
}

/* сетка: текст + фото справа на десктопе */
.hero-inner-page .hero-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(260px,1.4fr);
  gap: 26px;
  align-items: center;
}

/* контейнер с фото/видео: без фиксированной высоты и без чёрных блоков */
.hero-inner-page .hero-photo{
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);

  min-height: 0;
  padding: 0;
  background: #000; /* запасной фон под видео/фото */
}

/* само изображение / видео */
.hero-inner-page .hero-photo img,
.hero-inner-page .hero-photo video{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;   /* заполняем карточку, без полос по краям */
}

/* ДЕСКТОП: не режем «вентиляцию» – картинка целиком */
@media (min-width: 992px){
  .hero-inner-page .hero-photo img,
  .hero-inner-page .hero-photo video{
    height: auto;
    object-fit: contain;   /* показываем всю картинку */
  }
}

/* МОБИЛЬНАЯ ВЕРСИЯ: одна колонка, фото под текстом */
@media (max-width: 768px){
  .hero-inner-page .hero-inner{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-inner-page .hero-left{
    order: 1;
  }

  .hero-inner-page .hero-photo{
    order: 2;
  }

  /* видео отключаем, чтобы точно не было чёрного экрана */
  .hero-inner-page .hero-photo video{
    display: none !important;
  }
}

/* подписи/оверлеи в hero сейчас не используем */
.hero-inner-page .hero-photo figcaption,
.hero-inner-page .hero-photo .hero-photo-caption{
  display: none !important;
}
/* ==== HERO внутренних страниц "Для бизнеса" ==== */

/* Десктоп: просто ограничим высоту карточки с фото */
body.biz.biz-inner .hero-photo{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-height: 420px;
}

body.biz.biz-inner .hero-photo img,
body.biz.biz-inner .hero-photo video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Мобилка: одна колонка, картинка под текстом и компактнее */
@media (max-width: 768px){
  body.biz.biz-inner .hero-inner{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.biz.biz-inner .hero-left{
    order: 1;
  }

  body.biz.biz-inner .hero-photo{
    order: 2;
    max-height: 360px;    /* чтобы не занимала весь экран */
    margin: 0 auto;
  }
}

/* ====== COMPACT HEADER FIX ====== */
.top-bar{
  padding: 4px 0 !important;
  line-height: 1.1;
  font-size: 11px !important;
}

header{
  padding: 0 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
}

.header-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 14px !important;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-icon-img{
  height: 48px !important;
  width: auto;
  display: block;
}

.header-nav{
  gap: 8px;
  font-size: 15px;
}
.header-nav a{
  padding: 6px 10px;
  border-radius: 999px;
}

.header-actions{
  gap: 4px;
  font-size: 12px;
}
.header-actions .btn-alert{
  padding: 6px 12px;
}

header + .hero,
header + .hero-inner-page{
  margin-top: 0 !important;
}

@media (min-width: 1280px){
  .header-inner{ padding: 8px 10px !important; }
}

.top-bar-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 14px !important;
  gap: 10px;
}

/* ===== FIX: бургер не виден на мобилке ===== */
@media (max-width: 768px) {
  .header-inner{ justify-content: space-between; }

  .logo{ min-width: 0; }
  .logo-text{ overflow: hidden; text-overflow: ellipsis; }
  .logo-sub{ display: none; }
  .logo-title{ font-size: 20px; }

  .burger{ display: flex; margin-left: auto; }
}

/* === Mobile nav backdrop (единственный блок) === */
.nav-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1199;
}
.nav-backdrop.is-open{ opacity: 1; pointer-events: auto; }

.body-lock{ overflow:hidden; touch-action:none; }

[hidden]{ display:none !important; }

.mobile-nav a[href="/biz/"]{ font-weight:600; }

/* ===== Mobile nav: внутреннее оформление ===== */
.mobile-nav-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 2px 10px;
  border-bottom:1px solid #eef4f6;
  margin-bottom:6px;
}
.brand-mini{ display:flex; align-items:center; gap:8px; font-weight:600; color:#0B3954; }
.brand-mini img{ width:auto; height:28px; display:block; }
.mobile-nav-close{
  appearance:none; border:0; background:#F3F7F9; color:#0B3954;
  width:32px; height:32px; border-radius:10px; font-size:18px; line-height:1;
  cursor:pointer;
}
.mobile-nav-close:hover{ filter:brightness(0.97); }

.mobile-section{ padding:6px 0; }
.mobile-section-title{
  font-size:12px; color:#6b7b8d; text-transform:uppercase;
  letter-spacing:.04em; margin:4px 2px 8px;
}

.mobile-link{
  display:block; width:100%; text-align:left;
  padding:10px 14px; font-size:15px; color:#37515f;
  background:none; border:0; border-radius:10px; cursor:pointer;
}
.mobile-link:hover{ background:#f3f7f9; }

.mobile-link .chev{ margin-left:6px; transition:transform .2s ease; }
.mobile-link[aria-expanded="true"] .chev{ transform:rotate(180deg); }

.mobile-sub{
  margin:6px 0 2px;
  padding-left:10px;
  display:flex; flex-direction:column; gap:4px;
}
.mobile-sublink{
  display:block; padding:8px 12px; font-size:14px; color:#37515f; border-radius:8px;
  border-left:2px solid #E6F5F7; margin-left:4px;
}
.mobile-sublink:hover{ background:#F8FBFD; }

.mobile-phone{
  display:block; padding:10px 12px; font-size:16px;
  color:#173B57; font-weight:600; border-radius:10px;
}
.mobile-phone:hover{ background:#F3F7F9; }

.mobile-nav{ background:#fff !important; }
.nav-backdrop{ background:rgba(0,0,0,.35) !important; }


/* Мобильное меню: строка со ссылкой и отдельной кнопкой-стрелкой */
.mobile-link-split{
  display:flex;
  align-items:center;
  gap:8px;
}
.mobile-caret{
  appearance:none;
  border:0;
  background:#F3F7F9;
  color:#37515f;
  width:40px; height:40px;
  border-radius:10px;
  font-size:18px; line-height:1;
  cursor:pointer;
  flex:0 0 40px;
}
.mobile-caret:hover{ filter:brightness(0.97); }
.mobile-caret[aria-expanded="true"]{ transform:rotate(180deg); }

/* ===== Mobile shortcut: "Для бизнеса" ===== */
.for-biz-shortcut{
  display:none;
  font-weight:600;
  color:#0B3954;
  background:#E6F5F7;
  padding:8px 12px;
  border-radius:999px;
  white-space:nowrap;
  text-decoration:none;
  transition:filter .15s ease, transform .15s ease;
}
.for-biz-shortcut:active{ transform: translateY(1px); }

@media (max-width:768px){
  .for-biz-shortcut{
    display:inline-block;
    margin-left:auto;
    margin-right:8px;
    font-size:14px;
  }
  .burger{ margin-left:0; }
}

/* ===== Объёмные карточки услуг + tilt/hover ===== */
.services-grid{ gap: 18px; }

.service-card{
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg,#ffffff 0%, #f9fbfc 100%);
  border: 1px solid rgba(11,57,84,.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,.8) inset,
    0 8px 20px rgba(0,0,0,.06),
    0 20px 40px rgba(0,0,0,.05);
  transform: translateZ(0);
  transform-origin: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform, box-shadow;
}

.service-card::before{
  content:"";
  position:absolute; inset:0;
  border-radius:16px;
  pointer-events:none;
  box-shadow: 0 2px 0 rgba(255,255,255,.9) inset;
}

@media (hover:hover){
  .service-card:hover{
    transform: translateY(-4px) scale(1.02);
    box-shadow:
      0 1px 0 rgba(255,255,255,.9) inset,
      0 10px 24px rgba(0,0,0,.09),
      0 28px 56px rgba(0,0,0,.08);
    border-color: rgba(11,57,84,.12);
  }
}

.service-card:focus-within{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(0,122,140,.16),
    0 8px 20px rgba(0,0,0,.06),
    0 20px 40px rgba(0,0,0,.05);
}

@media (hover:none){
  .service-card:active{
    transform: translateY(-2px) scale(1.01);
    box-shadow:
      0 1px 0 rgba(255,255,255,.9) inset,
      0 10px 24px rgba(0,0,0,.09),
      0 28px 56px rgba(0,0,0,.08);
  }
}

.service-title{ font-size: 15px; }
.service-card{ padding: 14px 12px 12px; }

@media (prefers-reduced-motion: reduce){
  .service-card{ transition: none; }
  .service-card:hover,
  .service-card:active{ transform: none; }
}

/* 3D tilt + spotlight */
.services-grid{ perspective: 900px; }

.service-card{
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform .18s ease, box-shadow .18s ease;
  background: linear-gradient(180deg,#ffffff 0%, #f9fbfc 100%);
  border: 1px solid rgba(11,57,84,.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,.8) inset,
    0 8px 20px rgba(0,0,0,.06),
    0 20px 40px rgba(0,0,0,.05);
}

.service-card::after{
  content:"";
  position:absolute; inset:-2px;
  border-radius: 18px;
  pointer-events:none;
  background:
    radial-gradient(220px 160px at var(--spot-x, 50%) var(--spot-y, 0%),
      rgba(0,122,140,.14), rgba(0,122,140,0) 50%);
  opacity: var(--spot-o, 0);
  transition: opacity .18s ease;
}

@media (hover:hover){
  .service-card.is-tilting{
    box-shadow:
      0 1px 0 rgba(255,255,255,.9) inset,
      0 12px 28px rgba(0,0,0,.10),
      0 32px 64px rgba(0,0,0,.08);
  }
}

@media (hover:none){
  .service-card:active{ transform: translateY(-2px) scale(1.01); }
}

.service-card:focus-within{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(0,122,140,.16),
    0 10px 24px rgba(0,0,0,.08);
}

@media (prefers-reduced-motion: reduce){
  .service-card,
  .service-card::after{ transition: none !important; }
}

/* Карточный блок секции */
.section-card{
  position: relative;
  padding: 18px 16px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(11,57,84,.08);
  box-shadow:
    0 2px 0 rgba(255,255,255,.8) inset,
    0 10px 24px rgba(0,0,0,.06),
    0 28px 56px rgba(0,0,0,.05);
}

.section-card .section-title{ margin-bottom: 8px; }
.section-card .section-subtitle{ margin-bottom: 14px; }

.section-card--accent::before{
  content:"";
  position:absolute; inset: -1px;
  border-radius: 20px;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(0,122,140,.16), rgba(0,122,140,0)) border-box;
  -webkit-mask:
     linear-gradient(#fff 0 0) padding-box, 
     linear-gradient(#fff 0 0) border-box;
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  border: 2px solid transparent;
}
.section-card--accent::after{
  content:"";
  position:absolute; inset:-12px;
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(0,122,140,.10);
  pointer-events:none;
}

@media (min-width: 768px){
  .section-card{ padding: 22px 22px; }
}
@media (min-width: 1024px){
  .section-card{ padding: 26px 28px; }
}

@media (prefers-reduced-motion: reduce){
  .section-card, .section-card--accent::before, .section-card--accent::after{
    transition: none !important;
  }
}

/* Карточный вид для секций */
.section > .container,
.section-card{
  position: relative;
  background:#fff;
  border-radius: 18px;
  border:1px solid rgba(11,57,84,.08);
  box-shadow:
    0 2px 0 rgba(255,255,255,.8) inset,
    0 10px 24px rgba(0,0,0,.06),
    0 28px 56px rgba(0,0,0,.05);
  padding: 18px 16px;
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}

.section > .container::before,
.section-card::before{
  content:"";
  position:absolute; inset:-1px;
  border-radius:20px; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(0,122,140,.12), rgba(0,122,140,0)) border-box;
  -webkit-mask:
     linear-gradient(#fff 0 0) padding-box,
     linear-gradient(#fff 0 0) border-box;
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  border:2px solid transparent;
}
.section-card--accent::before{
  background:
    linear-gradient(180deg, rgba(0,122,140,.2), rgba(0,122,140,0)) border-box;
}

@media (hover:hover){
  .section > .container:hover,
  .section-card:hover{
    transform: translateY(-2px) scale(1.01);
    box-shadow:
      0 12px 28px rgba(0,0,0,.10),
      0 36px 64px rgba(0,0,0,.06);
    border-color: rgba(11,57,84,.16);
  }
}
.section > .container:focus-within,
.section-card:focus-within{
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 12px 28px rgba(0,0,0,.10),
    0 36px 64px rgba(0,0,0,.06);
  border-color: rgba(11,57,84,.18);
  outline: none;
}

@media (min-width:768px){
  .section > .container, .section-card{ padding:22px 22px; }
}
@media (min-width:1024px){
  .section > .container, .section-card{ padding:26px 28px; }
}

.section.section--flat > .container{
  background: transparent; border:0; box-shadow:none; padding:0;
}
.section.section--flat > .container::before{ content:none; }

@media (prefers-reduced-motion: reduce){
  .section > .container,
  .section-card{ transition: none !important; }
}

/* Единый акцентный стиль */
:root{
  --surface:        #F6FAFB;
  --surface-alt:    #F2F7F9;
  --ring-accent:    rgba(0,122,140,.22);
  --ring-accent-2:  rgba(0,122,140,.10);
}

.container{ max-width:1200px; margin:0 auto; padding:0 16px; }

.section{ padding: 42px 16px; }
.section > .container{
  background: var(--surface);
  border: 1px solid rgba(11,57,84,.06);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0,0,0,.04);
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}

.section.section-alt > .container{
  background: var(--surface-alt);
}

@media (max-width: 560px){
  .section{ padding: 32px 12px; }
  .section > .container{ padding:14px 12px; }
}

.section > .container::before{
  content:"";
  position:absolute; inset: -1px;
  border-radius: calc(var(--radius) + 2px);
  pointer-events:none;
  background: linear-gradient(180deg, var(--ring-accent-2), rgba(0,0,0,0)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  border: 2px solid transparent;
  opacity:.9;
}

.service-card,
.client-card,
.guarantee-card,
.case-card,
.faq-item,
.about-card,
.contacts-form,
.map-placeholder,
#prices .price-table {
  position: relative;
  background:#fff;
  border: 1px solid rgba(11,57,84,.08);
  border-radius: var(--radius);
  box-shadow:
    0 2px 0 rgba(255,255,255,.9) inset,
    0 8px 22px rgba(0,0,0,.05),
    0 24px 40px rgba(0,0,0,.04);
  transform: translateZ(0);
  transform-origin: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease;
  will-change: transform;
}

.service-card::before,
.client-card::before,
.guarantee-card::before,
.case-card::before,
.faq-item::before,
.about-card::before,
.contacts-form::before,
.map-placeholder::before,
#prices .price-table::before{
  content:"";
  position:absolute; inset:-1px;
  border-radius: calc(var(--radius) + 2px);
  pointer-events:none;
  background: linear-gradient(180deg, var(--ring-accent), rgba(0,0,0,0)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  border: 2px solid transparent;
  opacity:.85;
}

#prices .price-table{ overflow:hidden; }

@media (hover:hover){
  .service-card:hover,
  .client-card:hover,
  .guarantee-card:hover,
  .case-card:hover,
  .faq-item:hover,
  .about-card:hover,
  .contacts-form:hover,
  .map-placeholder:hover,
  #prices .price-table:hover{
    transform: translateY(-4px) scale(1.02);
    box-shadow:
      0 14px 28px rgba(0,0,0,.10),
      0 36px 64px rgba(0,0,0,.06);
    border-color: rgba(11,57,84,.16);
  }
}

.service-card:focus-within,
.client-card:focus-within,
.guarantee-card:focus-within,
.case-card:focus-within,
.faq-item:focus-within,
.about-card:focus-within,
.contacts-form:focus-within,
.map-placeholder:focus-within,
#prices .price-table:focus-within{
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 12px 24px rgba(0,0,0,.10),
    0 30px 52px rgba(0,0,0,.06);
  border-color: rgba(11,57,84,.18);
  outline: none;
}

@media (max-width:560px){
  .service-card:hover,
  .client-card:hover,
  .guarantee-card:hover,
  .case-card:hover,
  .faq-item:hover,
  .about-card:hover,
  .contacts-form:hover,
  .map-placeholder:hover,
  #prices .price-table:hover,
  .service-card:focus-within,
  .client-card:focus-within,
  .guarantee-card:focus-within,
  .case-card:focus-within,
  .faq-item:focus-within,
  .about-card:focus-within,
  .contacts-form:focus-within,
  .map-placeholder:focus-within,
  #prices .price-table:focus-within{
    transform: translateY(-2px) scale(1.01);
  }
}

@media (prefers-reduced-motion: reduce){
  .section > .container,
  .service-card,
  .client-card,
  .guarantee-card,
  .case-card,
  .faq-item,
  .about-card,
  .contacts-form,
  .map-placeholder,
  #prices .price-table{
    transition: none !important;
  }
}

/* === HERO ГЛАВНОЙ: баннер с людьми справа === */

.hero.hero--split.hero--main{
  /* картинка баннера */
  --hero-img: url('/media/banner-dezshield360.jpg');

  position: relative;
  overflow: hidden;
  background: #E6F5F7;
  padding: 26px 0 32px;
}

/* сетка внутри hero */
.hero.hero--split.hero--main .hero-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(260px,1.4fr);
  gap: 26px;
  align-items: center;
  padding: 0 16px;
}

/* слой с фото под текстом */
.hero.hero--split.hero--main::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image:
    /* вертикальное рассеивание вниз */
    linear-gradient(
      to bottom,
      rgba(230,245,247,0.00) 0%,
      rgba(230,245,247,0.80) 30%,
      #E6F5F7 100%
    ),
    /* горизонтальное рассеивание слева направо */
    linear-gradient(
      to right,
      #E6F5F7 0%,
      rgba(230,245,247,0.94) 30%,
      rgba(230,245,247,0.55) 50%,
      rgba(230,245,247,0.00) 100%
    ),
    var(--hero-img);

  background-repeat: no-repeat;
  background-size: cover;
  background-position: right 35%;
}

/* текст выше слоя с фото */
.hero.hero--split.hero--main .hero-left{
  position: relative;
  z-index: 1;
}

/* правый столбец как “спейсер” */
.hero.hero--split.hero--main .hero-right-spacer{
  min-height: 340px;
}

/* мобилка: одна колонка, без белой карты */
@media (max-width: 768px){
  .hero.hero--split.hero--main .hero-inner{
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 16px 26px;
  }

  .hero.hero--split.hero--main .hero-left{
    order: 1;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero.hero--split.hero--main .hero-right-spacer{
    display: none;
  }

  .hero.hero--split.hero--main::before{
    background-image:
      linear-gradient(
        to bottom,
        rgba(230,245,247,0.00) 0%,
        rgba(230,245,247,0.85) 65%,
        #E6F5F7 100%
      ),
      var(--hero-img);
    background-size: cover;
    background-position: center top;
  }
}


/* ==== ГЛАВНАЯ: второе изображение под всеми блоками ==== */

/* общий фон, если картинка не загрузится */
body{
  background:#E6F5F7;
}

/* только главная */
body.home{
  position:relative;
}

/* подложка с логотипом: чуть выше и чуть поярче */
body.home::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(230,245,247,0.0) 22%,
      rgba(230,245,247,0.14) 60%,
      rgba(230,245,247,0.32) 100%
    ),
    url("/media/works/Logo-best1.png") center -40px / 1500px auto no-repeat;

  filter: brightness(1.02);
}

/* очень широкие экраны */
@media (min-width: 1440px){
  body.home::before{
    background:
      linear-gradient(
        to bottom,
        rgba(230,245,247,0.0) 22%,
        rgba(230,245,247,0.14) 60%,
        rgba(230,245,247,0.32) 100%
      ),
      url("/media/works/Logo-best1.png") center -40px / 1650px auto no-repeat;
  }
}

/* мобилка: тоже немного выше и поярче */
@media (max-width: 768px){
  body.home::before{
    background:
      linear-gradient(
        to bottom,
        rgba(230,245,247,0.0) 15%,
        rgba(230,245,247,0.22) 78%,
        rgba(230,245,247,0.55) 100%
      ),
      url("/media/works/Logo-best1.png") center -25px / 1200px auto no-repeat;
    filter: brightness(1.02);
  }
}
/* === DERATIZACIYA: подложка с изображением cristall-1.jpeg === */

/* Десктоп и планшеты */
body.deratizaciya-page{
  position: relative;
  background:#E6F5F7;
}

body.deratizaciya-page::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  /* мягкий градиент + картинка на фоне */
  background:
    linear-gradient(
      to bottom,
      rgba(230,245,247,0.0) 20%,   /* сверху почти прозрачный */
      rgba(230,245,247,0.16) 60%,
      rgba(230,245,247,0.34) 100%
    ),
    url("/media/works/cristall-1.jpeg") center -40px / 1500px auto no-repeat;

  /* чуть ярче, чтобы картинка не была "тусклой" под блоками */
  filter: brightness(1.04);
}

/* Очень широкие экраны */
@media (min-width: 1440px){
  body.deratizaciya-page::before{
    background:
      linear-gradient(
        to bottom,
        rgba(230,245,247,0.0) 20%,
        rgba(230,245,247,0.16) 60%,
        rgba(230,245,247,0.34) 100%
      ),
      url("/media/works/cristall-1.jpeg") center -40px / 1700px auto no-repeat;
  }
}

/* Мобилка: картинка чуть поменьше и немного ниже */
@media (max-width: 768px){
  body.deratizaciya-page::before{
    background:
      linear-gradient(
        to bottom,
        rgba(230,245,247,0.0) 12%,
        rgba(230,245,247,0.22) 75%,
        rgba(230,245,247,0.55) 100%
      ),
      url("/media/works/cristall-1.jpeg") center -20px / 1200px auto no-repeat;
    filter: brightness(1.04);
  }
}
/* ОБЩИЙ ФОН ДЛЯ ВСЕХ СТРАНИЦ УСЛУГ */
body.service-bg{
  position: relative;
  background:#E6F5F7;
}

body.service-bg::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  /* общий градиент + твоя картинка cristall-1.jpeg */
  background:
    linear-gradient(
      to bottom,
      rgba(230,245,247,0.0) 20%,
      rgba(230,245,247,0.16) 60%,
      rgba(230,245,247,0.34) 100%
    ),
    url("/media/works/cristall-1.jpeg") center -220px / 1500px auto no-repeat;

  filter: brightness(1.04);
}

@media (min-width: 1440px){
  body.service-bg::before{
    background:
      linear-gradient(
        to bottom,
        rgba(230,245,247,0.0) 20%,
        rgba(230,245,247,0.16) 60%,
        rgba(230,245,247,0.34) 100%
      ),
      url("/media/works/cristall-1.jpeg") center -260px / 1700px auto no-repeat;
  }
}

@media (max-width: 768px){
  body.service-bg::before{
    background:
      linear-gradient(
        to bottom,
        rgba(230,245,247,0.0) 12%,
        rgba(230,245,247,0.22) 75%,
        rgba(230,245,247,0.55) 100%
      ),
      url("/media/works/cristall-1.jpeg") center -160px / 1200px auto no-repeat;
    filter: brightness(1.04);
  }
}

/* ОБЩИЙ ФОН ДЛЯ ВСЕХ СТРАНИЦ БИЗНЕСА */
body.biz{
  position: relative;
  background:#E6F5F7;
}

body.biz::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(230,245,247,0.0) 18%,
      rgba(230,245,247,0.18) 60%,
      rgba(230,245,247,0.36) 100%
    ),
    url("/media/works/cristall-1.jpeg") center -80px / 1500px auto no-repeat;

  filter: brightness(1.04);
}

@media (min-width: 1440px){
  body.biz::before{
    background:
      linear-gradient(
        to bottom,
        rgba(230,245,247,0.0) 18%,
        rgba(230,245,247,0.18) 60%,
        rgba(230,245,247,0.36) 100%
      ),
      url("/media/works/cristall-1.jpeg") center -100px / 1700px auto no-repeat;
  }
}

@media (max-width: 768px){
  body.biz::before{
    background:
      linear-gradient(
        to bottom,
        rgba(230,245,247,0.0) 12%,
        rgba(230,245,247,0.22) 75%,
        rgba(230,245,247,0.55) 100%
      ),
      url("/media/works/cristall-1.jpeg") center -40px / 1200px auto no-repeat;
    filter: brightness(1.04);
  }
}

/* ==== ВНУТРЕННИЕ HERO (все страницы, кроме главной): единое поведение ==== */

/* если у внутреннего hero случайно стоит hero--split – глушим split-фон */
.hero-inner-page.hero--split,
.hero-inner-page.hero.hero--split{
  background: var(--bg-soft) !important;
  background-image: none !important;
}

.hero-inner-page.hero--split::before,
.hero-inner-page.hero.hero--split::before{
  content: none !important;
}

/* сетка: текст + фото справа на десктопе */
.hero-inner-page .hero-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(260px,1.4fr);
  gap: 26px;
  align-items: center;
}

/* карточка с фото/видео */
.hero-inner-page .hero-photo{
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  background: #ffffff;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* само изображение/видео внутри карточки */
.hero-inner-page .hero-photo img,
.hero-inner-page .hero-photo video{
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover;      /* аккуратно заполняет карточку */
}

/* на широких экранах – разумный максимум по высоте,
   чтобы карточки были похожи по размеру */
@media (min-width: 992px){
  .hero-inner-page .hero-photo img,
  .hero-inner-page .hero-photo video{
    max-height: 420px;
  }
}

/* подписи/оверлеи в hero сейчас не используем */
.hero-inner-page .hero-photo figcaption,
.hero-inner-page .hero-photo .hero-photo-caption{
  display: none !important;
}

/* мобилка: одна колонка, фото под текстом, видео убираем */
@media (max-width: 768px){
  .hero-inner-page .hero-inner{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-inner-page .hero-left{
    order: 1;
  }

  .hero-inner-page .hero-photo{
    order: 2;
  }

  .hero-inner-page .hero-photo video{
    display: none !important;
  }
}

/* === FIX: hero для страниц типа "Дезинсекция" === */
/* hero c .hero--split, но НЕ главная (.hero--main) */
.hero.hero--split:not(.hero--main){
  /* фон как у внутренних страниц */
  background: var(--bg-soft) !important;
  background-image: none !important;
  padding: 26px 16px;
}
/* HERO НА СТРАНИЦАХ ДЛЯ БИЗНЕСА */
body.biz .hero{
  background: transparent;              /* фон снизу даёт body.biz::before */
}

/* Сетка, как на главной */
body.biz .hero-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(260px,1.4fr);
  gap: 26px;
  align-items: center;
  padding: 26px 16px 32px;
}

/* Карточка с фото */
body.biz .hero-photo{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-height: 420px;        /* ограничиваем рост на десктопе */
}

/* Само изображение — заполняет карточку */
body.biz .hero-photo img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;        /* аккуратно обрезаем края, без "простыни" */
}

/* Мобилка: одна колонка, картинка под текстом и ниже ростом */
@media (max-width: 768px){
  body.biz .hero-inner{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.biz .hero-left{
    order: 1;
  }

  body.biz .hero-photo{
    order: 2;
    max-height: 360px;      /* чтобы не занимала весь экран */
    margin: 0 16px 8px;
  }
}

/* сетка: текст + фото справа на десктопе */
.hero.hero--split:not(.hero--main) .hero-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(260px,1.4fr);
  gap: 26px;
  align-items: center;
}

/* карточка с фото */
.hero.hero--split:not(.hero--main) .hero-photo{
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: #ffffff;
}

/* само изображение / видео */
.hero.hero--split:not(.hero--main) .hero-photo img,
.hero.hero--split:not(.hero--main) .hero-photo video{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;   /* картинка целиком, без обрезки */
}

/* Мобилка: одна колонка, фото под текстом */
@media (max-width: 768px){
  .hero.hero--split:not(.hero--main) .hero-inner{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero.hero--split:not(.hero--main) .hero-left{
    order: 1;
  }

  .hero.hero--split:not(.hero--main) .hero-photo{
    order: 2;
  }

  /* видео прячем, чтобы не было чёрных экранов */
  .hero.hero--split:not(.hero--main) .hero-photo video{
    display: none !important;
  }
}

/* ==== HERO: табы "Для дома / Для бизнеса" ==== */

.hero-tabs{
  display:inline-flex;
  padding:2px;
  border-radius:999px;
  background:rgba(255,255,255,0.86);
  box-shadow:0 4px 12px rgba(0,0,0,0.04);
  margin:10px 0;
  gap:4px;
}

.hero-tab{
  border:0;
  background:transparent;
  padding:6px 12px;
  border-radius:999px;
  font-size:13px;
  cursor:pointer;
  color:var(--text-secondary);
  white-space:nowrap;
}

.hero-tab.is-active{
  background:#ffffff;
  color:var(--primary-dark);
  font-weight:600;
}

@media (max-width:768px){
  .hero-tabs{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
  }
}
/* ==== Нижняя панель на мобиле: звонок / WhatsApp / заявка ==== */

.mobile-cta-bar{
  display:none;
}

@media (max-width:768px){
  .mobile-cta-bar{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    padding:8px 10px calc(8px + env(safe-area-inset-bottom,0));
    background:rgba(11,57,84,0.98);
    display:flex;
    justify-content:space-between;
    gap:8px;
    z-index:1300;
  }

  .mobile-cta-btn{
    flex:1;
    border-radius:999px;
    border:0;
    padding:8px 10px;
    font-size:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    background:#ffffff;
    color:#0B3954;
    font-weight:500;
  }

  .mobile-cta-btn:active{
    transform:translateY(1px);
  }
}
/* ==== Услуги: карточка как мини-воронка ==== */

.service-head{
  display:flex;
  flex-direction:column;
  gap:6px;
}

/* Кнопка "показать процесс" */
.service-toggle{
  margin-top:8px;
  align-self:flex-start;
  border:0;
  background:rgba(0,122,140,0.08);
  color:var(--primary-dark);
  border-radius:999px;
  padding:6px 12px;
  font-size:11px;
  cursor:pointer;
  transition:background .15s ease, transform .15s ease;
}
.service-toggle:hover{
  background:rgba(0,122,140,0.16);
}
.service-card.is-open .service-toggle{
  background:#007A8C;
  color:#fff;
}

/* Скрытый блок сценария */
.service-more{
  margin-top:10px;
  padding-top:10px;
  border-top:1px dashed rgba(11,57,84,0.18);
  max-height:0;
  opacity:0;
  overflow:hidden;
  transition:max-height .3s ease, opacity .25s ease;
}

/* Когда карточка раскрыта */
.service-card.is-open .service-more{
  max-height:460px; /* если контента больше — можно увеличить */
  opacity:1;
}

/* Внутри – шаги и мета-инфа */
.service-steps{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:11px;
  color:var(--text-secondary);
  margin-bottom:8px;
}
.service-step strong{
  display:block;
  font-size:11px;
  color:var(--primary-dark);
}

.service-meta{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:10px;
  color:var(--text-secondary);
  margin-bottom:8px;
}
.service-meta-label{
  display:block;
  font-weight:600;
  color:var(--primary-dark);
}
.service-meta-value{
  display:block;
}

/* Метки под кейсом */
.service-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:4px;
}
.service-tags span{
  padding:3px 8px;
  border-radius:999px;
  background:rgba(0,122,140,0.06);
  font-size:10px;
  color:var(--primary-dark);
}

/* Кнопка внизу карточки */
.service-cta{
  width:100%;
  font-size:12px;
}

/* На мобиле делаем раскрытый блок чуть свободнее */
@media (max-width:560px){
  .service-card.is-open .service-more{
    max-height:600px;
  }
}





























































































































