/* H2O Lab — стиль */
 :root {
  --bg: #f6fbff;
  --surface: #ffffff;
  --text: #0b1f2a;
  --muted: #46606e;
  --primary: #1e90ff; /* dodger blue */
  --primary-600: #1877d7;
  --primary-700: #155fb0;
  --accent: #00bcd4; /* cyan */
  --line: #e3eef6;
  --shadow: 0 8px 24px rgba(13, 61, 94, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1160px;
  /* Layout tuning */
  --section-h2-margin-bottom: 8px; /* space under H2 inside section */
  --section-header-gap: 10px; /* gap between header and following block */
  --card-padding: 16px; /* unified padding for small card-like blocks */
  --section-vertical: 56px; /* vertical padding for sections */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(180deg, #ffffff, #eef7ff 60%, #e7f5ff);
  line-height: 1.6;
}

/* ===== Water indicators block ===== */
.h2o-water-indicators__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.h2o-water-indicators__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.h2o-water-indicators__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.h2o-water-indicators__table thead th {
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding: 14px 16px;
  background: rgba(30, 144, 255, 0.06);
  border-bottom: 1px solid var(--line);
}

.h2o-water-indicators__table tbody td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.h2o-water-indicators__table tbody tr:last-child td {
  border-bottom: none;
}

.h2o-water-indicators__table tbody tr:hover td {
  background: rgba(24, 119, 215, 0.04);
}

@media (max-width: 720px) {
  /* На мобилке делаем «карточки» строк, чтобы таблица читалась без горизонтального скролла */
  .h2o-water-indicators__table {
    display: block;
  }
  .h2o-water-indicators__table thead {
    display: none;
  }
  .h2o-water-indicators__table tbody {
    display: block;
  }
  .h2o-water-indicators__table tbody tr {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }
  .h2o-water-indicators__table tbody tr:last-child {
    border-bottom: none;
  }
  .h2o-water-indicators__table tbody td {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 8px 0;
    border: none;
  }
  .h2o-water-indicators__table tbody td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
  }
}

/* Toast notification */
.notify-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  display: none;
  padding: 14px 16px;
  gap: 10px;
  align-items: flex-start;
  background: #0ca35c; /* сплошной фон */
  border: none;        /* без рамок */
  border-left: none;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 9999;
  color: #ffffff;      /* белый текст */
}
.notify-toast.show { display: flex; animation: toast-in 220ms ease-out; }
.notify-toast p { margin: 0; font-size: 14px; line-height: 1.4; }
.notify-toast .close-btn { margin-left: auto; background: transparent; border: none; font-size: 18px; line-height: 1; cursor: pointer; color: #ffffff; }
.notify-toast.success { border-left-color: #1b5e20; }
.notify-toast.error { border-left-color: #b00020; }
@keyframes toast-in {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0 18px;
}
.breadcrumbs__link {
  color: var(--primary-700);
  text-decoration: none;
  font-weight: 600;
}
.breadcrumbs__link:hover {
  color: var(--primary);
  text-decoration: none;
}
.breadcrumbs__sep {
  color: #a9bfcc;
}
.breadcrumbs__current {
  color: var(--text);
  font-weight: 600;
}
.breadcrumbs--hero {
  margin-top: 6px;
  justify-content: center;
}
.breadcrumbs--footer {
  margin: 0 0 10px;
  justify-content: center;
  font-size: 13px;
  line-height: 1.2;
}
.breadcrumbs--footer .breadcrumbs__sep {
  margin: 0 6px;
}

.site-footer .footer-breadcrumbs {
  display: block;
}

@media (max-width: 720px) {
  /* На мобилке скрываем хлебные крошки в подвале,
     чтобы они не «торчали» под оверлеем мобильного меню */
  .site-footer .footer-breadcrumbs { display: none; }
}

.site-footer .footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Fallback width rules via body class (in case dynamic CSS is unavailable) */
body.sw-1200 .container { max-width: 1200px !important; }
body.sw-1400 .container { max-width: 1400px !important; }
body.sw-1600 .container { max-width: 1600px !important; }
body.sw-1800 .container { max-width: 1800px !important; }

.skip-link {
  position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; background: var(--primary); color: #fff; padding: 10px 14px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.85); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo { display: inline-flex; gap: 10px; align-items: center; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.2px; }
.logo .logo-text { font-size: 25px; }
.logo.small span { font-size: 14px; }
.site-nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.site-nav a:hover, .site-nav a:focus { color: var(--primary-700); }
.site-nav li { position: relative; display: flex; align-items: center; }
.site-nav li.menu-services { display: none; } /* Скрываем спец-блок услуг на десктопе */
.site-nav .submenu-toggle { display: none; }
.site-nav .submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 270px; margin-top: 10px; padding: 10px; list-style: none; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #ffffff; }
.site-nav .submenu.open { display: block; }
.site-nav .submenu li a { display: block; padding: 8px 10px; color: var(--text); border-radius: 0; }
.site-nav .submenu li a:hover, .site-nav .submenu li a:focus { background: rgba(24,119,215,0.06); color: var(--primary-700); }

/* Вложенное подменю (разделы → услуги) */
.site-nav .has-nested-submenu { position: relative; }
.site-nav .has-nested-submenu > a { display: flex; align-items: center; justify-content: space-between; }
.site-nav .has-nested-submenu > a::after { content: '›'; margin-left: 8px; font-size: 14px; color: var(--text-muted); }
.site-nav .nested-submenu { 
    display: none; 
    position: absolute; 
    left: 100%; 
    top: 0; 
    min-width: 250px; 
    margin-left: 2px;
    padding: 10px; 
    list-style: none; 
    border-radius: var(--radius); 
    border: 1px solid var(--line); 
    box-shadow: var(--shadow); 
    background: #ffffff; 
    z-index: 1001;
}
.site-nav .has-nested-submenu:hover > .nested-submenu,
.site-nav .has-nested-submenu:focus-within > .nested-submenu { display: block; }
.site-nav .nested-submenu li a { display: block; padding: 8px 10px; color: var(--text); border-radius: 0; white-space: nowrap; }
.site-nav .nested-submenu li a:hover, .site-nav .nested-submenu li a:focus { background: rgba(24,119,215,0.06); color: var(--primary-700); }

.nav-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 6px; border-radius: 8px; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header Bottom Menu (режим "Внизу шапки") */
.header-bottom-menu {
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 999;
}
.header-bottom-menu .container {
    padding-top: 0;
    padding-bottom: 0;
}
.bottom-menu-sections {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.bottom-menu-sections > li {
    position: relative;
}
.bottom-menu-section-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.bottom-menu-section-btn:hover,
.bottom-menu-section-btn[aria-expanded="true"] {
    background: rgba(26, 151, 249, 0.08);
    color: var(--primary);
}
.bottom-menu-section-btn i {
    font-size: 12px;
    transition: transform 0.2s;
}
.bottom-menu-section-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.bottom-menu-item a {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.bottom-menu-item a:hover {
    background: rgba(26, 151, 249, 0.08);
    color: var(--primary);
}

/* Выпадающее подменю */
.bottom-submenu {
    display: none;
  background: #f7fbff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.bottom-submenu.open {
    display: block;
}
.bottom-submenu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 12px 0;
}
.bottom-submenu-list li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius);
    transition: background 0.15s, color 0.15s;
}
.bottom-submenu-list li a:hover {
    background: rgba(26, 151, 249, 0.08);
    color: var(--primary);
}

/* Вертикальный режим подменю */
.bottom-submenu--vertical {
    position: absolute;
    left: 0;
    top: 100%;
    width: auto;
    min-width: 220px;
    border-bottom: none;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 1000;
}
.bottom-submenu--vertical .bottom-submenu-list {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
}
.bottom-submenu--vertical .bottom-submenu-list li {
    width: 100%;
}
.bottom-submenu--vertical .bottom-submenu-list li a {
    padding: 10px 20px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    white-space: nowrap;
}
.bottom-submenu--vertical .bottom-submenu-list li:last-child a {
    border-bottom: none;
}

/* =====================================================
   МЕГА-МЕНЮ
   ===================================================== */

/* Кнопка-триггер мега-меню */
.mega-menu-trigger {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s;
    line-height: inherit;
}
.mega-menu-trigger:hover,
.mega-menu-trigger[aria-expanded="true"] {
    color: var(--primary);
}

/* Общие стили мега-меню */
.mega-menu {
    display: none;
    position: fixed;
    z-index: 9999;
}
.mega-menu.open {
    display: block;
}

/* Модальное мега-меню (на весь экран) */
.mega-menu--modal {
    inset: 0;
}
.mega-menu--modal .mega-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.mega-menu--modal .mega-menu-content {
    position: relative;
    background: #fff;
    max-height: 100vh;
    overflow-y: auto;
    padding: 0 0 60px;
    animation: megaMenuSlideDown 0.25s ease-out;
}
@keyframes megaMenuSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.mega-menu--modal .mega-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
}
.mega-menu--modal .mega-menu-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
}
.mega-menu--modal .mega-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.mega-menu--modal .mega-menu-close:hover {
    background: var(--primary);
    color: #fff;
}

/* Выпадающее мега-меню */
.mega-menu--dropdown {
    position: fixed;
    top: 70px; /* высота шапки */
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border-top: none;
    animation: megaMenuFadeIn 0.2s ease-out;
}
@keyframes megaMenuFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.mega-menu--dropdown .mega-menu-content {
    padding: 32px 0 40px;
}

/* Сетка разделов */
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 32px 40px;
}

/* Раздел услуг */
.mega-menu-section {
    min-width: 0;
}
.mega-menu-section-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    transition: color 0.2s;
}
.mega-menu-section-title:hover {
    color: var(--text);
}
.mega-menu-section-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mega-menu-section-list li {
    margin-bottom: 8px;
}
.mega-menu-section-list li a {
    display: block;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.15s, padding-left 0.15s;
}
.mega-menu-section-list li a:hover {
    color: var(--primary);
    padding-left: 8px;
}

/* Отдельный пункт (услуга без раздела) */
.mega-menu-item a {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: var(--radius);
    transition: background 0.15s, color 0.15s;
}
.mega-menu-item a:hover {
    background: rgba(26, 151, 249, 0.1);
    color: var(--primary);
}

/* Hero */
.hero { 
  position: relative; 
  padding: 80px 0 100px; 
  background: linear-gradient(135deg, rgba(246, 251, 255, 0.95) 0%, rgba(238, 247, 255, 0.9) 25%, rgb(173 213 241 / 85%) 50%, rgb(156 207 241 / 90%) 75%, rgb(116 187 243) 100%);
  overflow: hidden;
}
.hero-inner { 
  display: grid; 
  grid-template-columns: 1fr 400px; 
  gap: 60px; 
  align-items: start; 
  position: relative;
  z-index: 2;
}
.hero-content {
  padding-top: 0;
}
.hero-title { 
  font-size: 48px; 
  font-weight: 400; 
  line-height: 1.1; 
  margin: 0 0 20px; 
  color: var(--text);
  letter-spacing: -0.5px;
}
.hero-subtitle { 
  font-size: 20px; 
  line-height: 1.5; 
  margin: 0 0 32px; 
  color: var(--muted); 
}

/* Hero Features */
.hero-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 40px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 24px 32px !important;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #70b9f9, #00a0ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon i {
  color: white;
  font-size: 24px;
}
.feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feature-text strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.feature-text span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.3;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
}
.stat-item {
  text-align: left;
}
.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.3;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
}
.btn-primary i {
  color: white;
  font-size: 16px;
  margin-right: 8px;
}

.btn-call i {
  color: white;
  font-size: 16px;
  margin-right: 6px;
}

/* Service Hero */
.service-hero {
  padding: 60px 0 80px;
}
.service-hero .hero-title {
  font-size: 35px;
}
.service-hero .hero-subtitle {
  font-size: 18px;
}

/* Hero Form */
.hero-form-wrapper {
  position: sticky;
  top: 100px;
}
.hero-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-title {
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--text);
  text-align: center;
}
.form-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 24px;
  text-align: center;
  line-height: 1.4;
}

/* Hero Form Fields */
.hero-form .field {
  margin-bottom: 20px;
}
.hero-form .field label {
  display: block;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 15px;
}
.hero-form .field input,
.hero-form .field select,
.hero-form .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dae7f0;
  border-radius: 12px;
  background: #fbfeff;
  color: var(--text);
  font-size: 15px;
  transition: all 0.2s ease;
}
.hero-form .field input:focus,
.hero-form .field select:focus,
.hero-form .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}
.hero-form .field textarea {
  resize: vertical;
  min-height: 80px;
}

/* Checkbox Field */
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  cursor: pointer;
}
.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  cursor: pointer;
}
.checkbox-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.checkbox-text a {
  color: var(--primary-700);
  text-decoration: underline;
}

/* Form Button */
.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
}

/* Form Note */
.form-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

/* Info block for descriptive sections */
.info-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
}
.info-block h2 { margin-top: 0; }
.info-block h3 { margin-top: 18px; }
.info-block ul { margin: 10px 0 0 18px; }



/* Hero form */
.hero-form { align-self: center; }
.hero-form.card { padding: 20px; }
.hero-form .field { margin-bottom: 12px; }
.hero-form .field label { display: block; margin-bottom: 6px; font-weight: 400; }
.hero-form .field input[type="text"],
.hero-form .field input[type="tel"],
.hero-form .field input[type="email"],
.hero-form .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfe3f4; border-radius: 10px; background: #fbfeff; color: var(--text); }
.hero-form .field input:focus { outline: 2px solid #9bd1ff; border-color: #9bd1ff; }
.hero-form .policy { display: flex; gap: 8px; align-items: flex-start; font-size: 0.85rem; margin: 0 0 10px; }
.hero-form .policy input { margin-top: 4px; }
.hero-form .policy a { color: var(--primary-700); text-decoration: underline; }
.hero-form .actions { margin-top: 8px; }

.hero-form .form-note {
  text-align: center;
  margin: 16px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.actions { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 10px; border: 2px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; transition: 0.2s ease; }
.btn-primary { background: #1a97f9; color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: #1485e6; border-color: #1485e6; transform: translateY(-1px); }
.btn-outline { background: #E0EFFC; color: var(--primary-700); }
.btn-outline:hover { background: rgba(24,119,215,0.06); }

/* Call button */
.btn-call {
  gap: 10px;
  background: #1a97f9;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  margin-left: 12px;
  white-space: nowrap;
  transition: 0.2s ease;
}
.btn-call:hover { background: #1485e6; transform: translateY(-1px); }
.btn-call:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(30,144,255,0.2), var(--shadow); }
.btn-call img { filter: drop-shadow(0 1px 0 rgba(0,0,0,0.06)); }

/* Sections */
.section { padding: var(--section-vertical) 0 !important; }
.section.alt { background: rgba(255,255,255,0.65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-header { text-align: center; margin-bottom: 0 !important; padding-bottom: var(--section-header-gap) !important; }
.section-header p { color: var(--muted); margin: 8px auto 0; }

/* Force consistent H2 bottom spacing inside section headers */
.section .section-header h2 { margin-bottom: var(--section-h2-margin-bottom) !important; }

/* Prevent last child elements inside sections from adding unexpected extra space */
.section > *:last-child { margin-bottom: 0 !important; }

/* Прайс-лист для СЭС */
.ses-pricelist .pricelist-wrapper { overflow-x: auto; }
.ses-pricelist .pricelist-table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.ses-pricelist .pricelist-table thead th { background: var(--primary); color: #ffffff; padding: 14px 16px; text-align: left; font-weight: 700; }
.ses-pricelist .pricelist-table tbody td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.ses-pricelist .pricelist-table tbody tr:nth-child(even) { background: var(--ses-gray-50, #f9fafb); }
.ses-pricelist .pricelist-table tbody td:first-child { font-weight: 700; color: var(--text); width: 40%; }
.ses-pricelist .section-header { text-align: center; }

/* Single price (water analysis) */
.ses-price-single .section-header { text-align: center; }
.ses-price-single-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, rgba(26,151,249,0.12), rgba(255,255,255,0.70));
  border: 1px solid rgba(26,151,249,0.18);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.ses-price-single-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  background: rgba(26,151,249,0.14);
  border: 1px solid rgba(26,151,249,0.22);
  color: var(--primary-700);
  margin-bottom: 10px;
}
.ses-price-single-amount {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 600;
  color: #1a97f9;
}
.ses-price-single-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  max-width: 64ch;
}
.ses-price-single-note a {
  color: #46606e;
  text-decoration: none;
}
.ses-price-single-note a:hover {
  color: #46606e;
  text-decoration: none;
}
.ses-price-single-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .ses-price-single-card { grid-template-columns: 1fr; }
  .ses-price-single-actions { justify-content: flex-start; }
  .ses-price-single-amount { font-size: 28px; }
}

/* --- Water Analysis Pricing Packages (Main Content) --- */
.water-packages {
  padding: 40px 0;
}
.water-packages-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .water-packages-grid--1 { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .water-packages-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin-inline: auto; }
  .water-packages-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.water-package {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow);
}

.water-package:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.water-package--featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.water-package__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(26,151,249,0.3);
}

.water-package__header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.water-package__price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.water-package__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.water-package__body {
  flex-grow: 1;
  margin-bottom: 24px;
}

.water-package__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.water-package__list li {
  padding: 10px 0;
  font-size: 15px;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.water-package__list li i {
  color: #28a745;
  font-size: 18px;
  margin-top: 2px;
}

.water-package__footer {
  margin-top: auto;
}

.water-packages-note {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
}

.water-packages-note a {
  color: var(--primary);
  font-weight: 400;
  text-decoration: none;
}

/* Tabs */
.ses-pricelist-tabs { border-radius: 12px; overflow: hidden; }
.ses-pricelist-tabs__nav { display: flex; gap: 8px; margin-bottom: 18px; justify-content: center; }
.ses-pricelist-tab { background: transparent; border: 1px solid var(--line); padding: 8px 14px; border-radius: 8px; cursor: pointer; color: var(--muted); font-weight: 700; }
.ses-pricelist-tab--active { background: var(--primary); color: #fff; border-color: var(--primary); }
.ses-pricelist-panel { display: none; }
.ses-pricelist-panel--active { display: block; }

.ses-pricelist .pricelist-table thead th { background: var(--primary); color: #ffffff; padding: 14px 16px; text-align: left; font-weight: 700; }

/* Guarantees section */
.guarantees-section { background: transparent; padding-bottom: 6px; }
.guarantees-grid { display: grid; grid-template-columns: 360px 1fr 1fr; gap: 24px; align-items: start; }
.guarantee-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.guarantee-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.guarantee-icon { width: 56px; height: 56px; background: var(--primary); color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.guarantee-title { margin: 0 0 6px; font-size: 16px; }
.guarantee-desc { margin: 0; color: var(--muted); font-size: 14px; }
.guarantee-info { padding: 16px; background: var(--surface); border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.guarantee-list { margin-top: 12px; display: grid; gap: 8px; }
.guarantee-item { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.guarantee-item i { color: var(--primary); font-size: 18px; }
/* License badges — compact by default */
.license-badge { background: var(--ses-gray-100, #f3f4f6); padding: 6px 10px; border-radius: 6px; font-weight: 700; color: var(--text); border: 1px solid var(--line); display: inline-flex; align-items: center; font-size: 13px; }
.licenses-row { display:flex; gap:6px; margin-top:10px; flex-wrap:wrap; align-items: center; }

/* Highlighted license badges (primary color) */
.license-badge--primary { background: var(--primary); color: #fff; border-color: transparent; padding: 6px 8px; border-radius: 6px; }
.license-badge--primary i { color: #fff; margin-right: 6px; font-size: 12px; display: inline-flex; align-items: center; }

.guarantees-grid { display: grid; grid-template-columns: 360px 1fr 1fr; gap: 24px; align-items: start; }
.guarantee-media-block { padding: 0; background: var(--surface); border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); display:flex; align-items:stretch; justify-content:center; min-height: 320px; overflow: hidden; }
.media-image { width: 100%; height: 100%; display: block; }
.media-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-placeholder { width: 100%; height: 100%; border-radius: 12px; border: 1px dashed var(--line); background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.01)); }

@media (max-width: 880px) {
  .guarantees-grid { grid-template-columns: 1fr; }
  .guarantee-media-block, .guarantee-info { order: 2; }
  .guarantee-info { order: 1; }
  .guarantee-media-block { min-height: 180px; }
}

/* Examples gallery */
.examples-grid { display: grid; gap: 12px; align-items: stretch; grid-template-columns: repeat(4, minmax(120px, 1fr)); grid-template-rows: repeat(2, 1fr); }
.examples-item { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.examples-item img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.examples-section .section-header { text-align: center; }
.examples-section .section-header p { margin: 6px 0 0; color: var(--muted); }
/* Safety: hide any extra items beyond 8 */
.examples-grid > .examples-item:nth-child(n+9) { display: none; }

/* Lightbox popup for examples gallery */
.lb-overlay { position: fixed; inset: 0; background: rgba(3,10,18,0.7); display: flex; align-items: center; justify-content: center; z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.lb-overlay.open { opacity: 1; pointer-events: auto; }
.lb-wrap { max-width: 92%; max-height: 92%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb-image { max-width: 100%; max-height: calc(92vh - 120px); border-radius: 8px; box-shadow: 0 18px 48px rgba(2,6,23,0.6); overflow: hidden; display: block; }
.lb-image img { width: 100%; height: auto; display: block; }
.lb-caption { color: #fff; font-size: 14px; text-align: center; max-width: 900px; }
.lb-close { position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: #fff; width: 40px; height: 40px; border-radius: 8px; display: inline-grid; place-items: center; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 28px; background: rgba(255,255,255,0.04); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 10px; cursor: pointer; border: 1px solid rgba(255,255,255,0.06); }
.lb-nav.lb-prev { left: 18px; }
.lb-nav.lb-next { right: 18px; }
@media (max-width: 720px) {
  .lb-nav { width: 44px; height: 44px; font-size: 20px; }
  .lb-close { width: 36px; height: 36px; }
}
@media (max-width: 720px) {
  /* On small screens switch to regular grid rows (2 columns) */
  .examples-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
}


/* Mobile: stack rows and show labels */
@media (max-width: 720px) {
  .ses-pricelist .pricelist-table thead { display: none; }
  .ses-pricelist .pricelist-table, .ses-pricelist .pricelist-table tbody, .ses-pricelist .pricelist-table tr, .ses-pricelist .pricelist-table td { display: block; width: 100%; }
  .ses-pricelist .pricelist-table tr { margin-bottom: 12px; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
  .ses-pricelist .pricelist-table td { padding: 12px 14px; border-bottom: none; background: transparent; }
  .ses-pricelist .pricelist-table td::before { content: attr(data-label) ": "; display: block; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
  .ses-pricelist .pricelist-table td + td { border-top: 1px solid var(--line); }
}

.grid { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card .icon { font-size: 26px; }
.card.service h3 { margin-top: 0; }

/* Services grid */
.service-grid { align-items: stretch; gap: 24px; }
.service-card { 
  position: relative; 
  background: var(--surface); 
  border: 1px solid var(--line); 
  border-radius: var(--radius); 
  padding: 24px; 
  box-shadow: var(--shadow); 
  transition: all 0.2s ease;
  overflow: hidden;
}
.service-card:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 12px 32px rgba(13, 61, 94, 0.12); 
  border-color: rgba(30, 144, 255, 0.2);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #1a97f9;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card h3 { 
  margin: 0 0 8px; 
  font-size: 18px; 
  font-weight: 700; 
  color: var(--text);
  line-height: 1.3;
}
.service-card .price-tag { 
  font-size: 22px; 
  font-weight: 800; 
  margin: 8px 0 12px; 
  color: var(--primary-700);
}
.service-card .desc { 
  color: var(--muted); 
  margin: 0 0 16px; 
  min-height: 48px; 
  font-size: 15px;
  line-height: 1.5;
}
.service-card .actions { 
  display: flex; 
  gap: 10px; 
  align-items: center; 
}
.service-card .btn-outline { 
  padding: 8px 14px; 
  font-size: 14px; 
  font-weight: 600;
}
.service-card .btn-primary { 
  padding: 8px 14px; 
  font-size: 14px; 
  font-weight: 600;
}

/* Pricing page specific */
.pricing-hero {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.05), rgba(0, 188, 212, 0.05));
  border-radius: var(--radius);
  padding: 40px 20px;
  margin-bottom: 40px;
  text-align: center;
}
.pricing-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--text);
}
.pricing-hero p {
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
}

.services-pricing {
  margin: 0 auto;
}

.pricing-cta {
  margin-top: 48px;
  text-align: center;
}
.cta-card {
  background: #1a97f9;
  color: #ffffff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cta-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
}
.cta-card p {
  margin: 0 0 24px;
  font-size: 16px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-card .actions {
  justify-content: center;
  gap: 16px;
}
.cta-card .btn-primary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.cta-card .btn-primary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.cta-card .btn-call {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-700);
  border: 2px solid transparent;
}
.cta-card .btn-call:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

/* Contacts page specific */
.contacts-hero {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.05), rgba(0, 188, 212, 0.05));
  border-radius: var(--radius);
  padding: 40px 20px;
  margin-bottom: 40px;
  text-align: center;
}
.contacts-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--text);
}
.contacts-hero p {
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
}

.contacts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contacts-info {
  display: grid;
  gap: 24px;
}

.contact-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
  text-align: left !important;
}
.contact-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(13, 61, 94, 0.12);
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #1a97f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.contact-icon svg {
  color: #ffffff;
}

.contact-details h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.contact-details p {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}
.contact-details a {
  color: var(--primary-700);
  text-decoration: none;
  font-weight: 600;
}
.contact-details a:hover {
  text-decoration: underline;
}
.contact-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}
.form-card > p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field select {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cfe3f4;
  background: #fbfeff;
  font: inherit;
  color: var(--text);
  width: 100%;
}
.field select:focus {
  outline: 2px solid #9bd1ff;
  border-color: #9bd1ff;
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.list { margin: 10px 0 0; padding-left: 18px; }
.muted { color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow); position: relative; }
.steps li h3 { margin-top: 0; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: -12px; left: -12px; width: 36px; height: 36px; border-radius: 10px; background: #1a97f9; color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow); }

/* Certifications */
.cert-grid { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: 16px; align-items: center; justify-items: center; }
.cert { padding: 14px 18px; border-radius: 999px; border: 1px dashed #b9d9f6; color: var(--primary-700); background: #f2f9ff; font-weight: 700; }

/* Pricing */
.price { text-align: center; }
.price-tag { font-size: 28px; font-weight: 800; margin: 8px 0 12px; }
.price-tag span { font-size: 14px; color: var(--muted); margin-right: 6px; }

/* Contact */
.contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
.form .field { display: grid; gap: 6px; margin-bottom: 14px; }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea { padding: 12px 14px; border-radius: 10px; border: 1px solid #cfe3f4; background: #fbfeff; font: inherit; color: var(--text); }
.form input:focus, .form textarea:focus { outline: 2px solid #9bd1ff; border-color: #9bd1ff; }
.check { display: inline-flex; align-items: center; gap: 8px; }
.form-status { margin: 8px 0 0; font-weight: 600; }

/* Footer */
.site-footer { background: #f2f4f7; color: #6b7280; padding: 14px 0; border-top: 1px solid #e5e7eb; }
.site-footer.minimal .container { display: flex; align-items: center; justify-content: center; }
.footer-inner { display: none; }
.footer-nav { display: none; }
.site-footer .logo { display: none; }
.site-footer .copyright { margin: 0; font-size: 14px; color: #6b7280; text-align: center; }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1px,1px); white-space: nowrap; border: 0; }
.noscript { background: #ffe8a1; color: #4a3b00; padding: 10px 14px; text-align: center; }

/* Responsive */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .contact-grid { grid-template-columns: 1fr; }
  
  .pricing-hero h1 { font-size: 28px; }
  .pricing-hero { padding: 32px 20px; }
  .service-grid { gap: 20px; }
  
  .service-hero h1 { font-size: 28px; }
  .hero-features { gap: 20px; }
  .service-analysis-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  /* Скрыть кнопку звонка в шапке на мобильных */
  .btn-call { display: none !important; }
  
  /* Отступы для логотипа и гамбургера */
  .header-inner { padding: 12px 16px; }
  .logo { margin-left: 0; }
  .nav-toggle { margin-right: 0; }

  /* Полноширинный оверлей-меню под шапкой (как на CodePen) */
  .site-nav { 
    position: fixed; 
    left: 0; right: 0; 
    top: 0;
    bottom: 0;
    display: none; 
    background: #ffffff; 
    border-top: 1px solid var(--line); 
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
    padding: var(--mobile-header-h, 64px) 0 0; 
    overflow-y: auto; 
    z-index: 999; 
  }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; gap: 0; margin: 0; padding: 0; width: 100%; }
  .site-nav > ul > li { position: relative; list-style: none; border-bottom: 1px solid #eef3f7; width: 100%; }
  .site-nav > ul > li:last-child { border-bottom: none; }
  .site-nav > ul > li > a { font-size: 16px; padding: 16px 20px; display: block; color: var(--text); text-decoration: none; position: relative; }
  .site-nav > ul > li.has-submenu > a { padding-right: 56px; }
  .site-nav > ul > li.has-submenu .has-submenu-link[aria-expanded="true"] { color: var(--primary-700); }

  /* Мобильное меню: показываем только «Услуги» */
  .site-nav > ul > li:not(.menu-services) { display: none; }
  .site-nav > ul > li.menu-services > .submenu { display: block; }
  .site-nav > ul > li.menu-services + li { display: none; }
  
  .nav-toggle { display: inline-block; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .call-text { display: none; }
  
  /* Скрываем кнопку submenu-toggle на мобилке */
  .site-nav .submenu-toggle { 
    display: none !important;
  }
  
  /* Индикатор раскрытого меню для пункта 1го уровня через иконку Bootstrap */
  .site-nav > ul > li.has-submenu > a {
    position: relative;
  }
  .site-nav > ul > li.has-submenu > a::after {
    content: '\F282'; /* bi-chevron-compact-down */
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--muted);
    transition: transform 0.25s ease, color 0.25s ease;
  }
  .site-nav > ul > li.has-submenu .has-submenu-link[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
    color: var(--primary-700);
  }
  
  .site-nav .submenu { 
    position: static; 
    margin: 0; 
    padding: 0; 
    background: #ffffff;
    border-left: none; 
    border-top: 1px solid #eef3f7;
    border-radius: 0; 
    display: none; 
    list-style: none;
  }
  .site-nav .submenu.open { display: block; }
  .site-nav .submenu li { border: none; list-style: none; border-bottom: 1px solid #eef3f7; width: 100%; }
  .site-nav .submenu li:last-child { border-bottom: none; }
  .site-nav .submenu li a { 
    padding: 16px 20px; 
    font-size: 16px; 
    color: var(--text); 
    display: block;
    text-decoration: none;
    border-radius: 0;
  }
  .site-nav .submenu li a:hover { color: var(--primary-700); background: rgba(26,151,249,0.04); border-radius: 0; }

  /* Мобильное меню: сразу показываем список услуг во всю ширину */
  .site-nav > ul > li.menu-services { border-bottom: none; }
  .site-nav > ul > li.menu-services > a { display: none; }
  .site-nav > ul > li.menu-services > .submenu { display: block; background: #ffffff; border-top: none; }
  .site-nav > ul > li.menu-services > .submenu li a {
    padding: 16px 20px;
    font-size: 16px;
    color: var(--text);
  }
  
  /* Вложенное подменю на мобилке — показываем как вложенный список */
  .site-nav .has-nested-submenu > a::after { content: '+'; font-weight: 500; }
  .site-nav .has-nested-submenu.nested-open > a::after { content: '−'; }
  .site-nav .nested-submenu { 
    position: static; 
    display: none; 
    margin: 0; 
    padding: 0;
    background: #f0f4f7;
    border: none;
    border-top: 1px solid #e0e7ec;
    box-shadow: none;
    min-width: auto;
  }
  .site-nav .has-nested-submenu.nested-open > .nested-submenu { display: block; }
  .site-nav .nested-submenu li a { 
    padding: 12px 20px 12px 56px; 
    font-size: 14px;
    color: var(--text-muted);
  }
  .site-nav .nested-submenu li a:hover { color: var(--primary-700); background: rgba(26,151,249,0.04); }
  
  .pricing-hero { 
    padding: 24px 16px; 
    margin-bottom: 32px;
  }
  .pricing-hero h1 { font-size: 24px; }
  .pricing-hero p { font-size: 16px; }
  
  .service-card { 
    padding: 20px; 
  }
  .service-card .desc { 
    min-height: auto; 
    margin-bottom: 20px;
  }
  .service-card .actions { 
    flex-direction: column; 
    gap: 8px; 
  }
  .service-card .btn-outline,
  .service-card .btn-primary { 
    width: 100%; 
    justify-content: center;
  }
  
  .cta-card { 
    padding: 24px 20px; 
  }
  .cta-card .actions { 
    flex-direction: column; 
    gap: 12px; 
  }
  .cta-card .btn-call,
  .cta-card .btn-primary { 
    width: 100%; 
    justify-content: center;
  }
  
  .contacts-hero { 
    padding: 24px 16px; 
    margin-bottom: 32px;
  }
  .contacts-hero h1 { font-size: 24px; }
  .contacts-hero p { font-size: 16px; }
  
  .contacts-content { 
    grid-template-columns: 1fr; 
    gap: 32px; 
  }
  
  .form-row { 
    grid-template-columns: 1fr; 
    gap: 12px; 
  }
  
  .form-actions { 
    flex-direction: column; 
    gap: 12px; 
  }
  .form-actions .btn { 
    width: 100%; 
    justify-content: center; 
  }
  
  .service-hero { padding: 24px 0; }
  .service-hero h1 { font-size: 24px; }
  .hero-description { font-size: 16px; }
  .hero-features { 
    flex-direction: column; 
    gap: 16px; 
  }
  .hero-actions { 
    flex-direction: column; 
    gap: 12px; 
  }
  .parameters-list { gap: 16px; }
  .cta-actions { gap: 12px; }
  
  /* Hero Mobile */
  .hero {
    padding: 60px 0 80px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    padding-top: 0;
    text-align: center;
  }
  .hero-title {
    font-size: 32px;
    margin-bottom: 16px;
  }
  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 24px;
  }
  
  /* Hero Features Mobile */
  .hero-features {
    margin-bottom: 32px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-feature {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 12px;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
  }
  
  /* Hero Stats Mobile */
  .hero-stats {
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
  }
  .stat-item {
    text-align: center;
  }
  .stat-number {
    font-size: 28px;
  }
  .stat-label {
    font-size: 13px;
  }
  
  /* Hero CTA Mobile */
  .hero-cta {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }
  .btn-large {
    width: 100%;
    justify-content: center;
  }
  
  /* Hero Form Mobile */
  .hero-form-wrapper {
    position: static;
  }
  .hero-form {
    padding: 24px;
  }
  .form-title {
    font-size: 22px;
  }
  

  
  /* FAQ mobile */
  .faq-question {
    padding: 16px 20px;
    font-size: 15px;
  }
  .faq-answer.open {
    padding: 0 20px 16px;
  }
  
  /* Contact Details mobile */
  .contact-item {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }
  .contact-benefits {
    margin-top: 20px;
    padding-top: 16px;
  }
  
  /* Advantages Mobile */
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }
  
  .advantage-highlight {
    grid-row: span 1;
    padding: 24px;
  }
  
  .advantage-icon-main {
    width: 64px;
    height: 64px;
  }
  
  .advantage-highlight .advantage-content h3 {
    font-size: 22px;
  }
  
  .advantages-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
  }
  
  .stat-card {
    padding: 16px;
  }
  
  .stat-number {
    font-size: 20px;
  }
}

/* Service pages styles */
.service-hero {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.05), rgba(0, 188, 212, 0.05));
  padding: 40px 0;
}
.service-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.service-breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
}
.service-breadcrumb a {
  color: var(--primary-700);
  text-decoration: none;
}
.service-breadcrumb a:hover {
  text-decoration: underline;
}
.service-hero h1 {
  font-size: 36px;
  font-weight: 400;
  margin: 0 0 16px;
  color: var(--text);
}
.hero-description {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.5;
}
.hero-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #70b9f9, #00a0ff);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero price badge (replaces "Заказать" button) */
.hero-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px; /* match .btn-large vertical rhythm */
  min-height: 56px;  /* close to btn-large height */
  border-radius: 14px;
  border: 1px solid rgba(24, 119, 215, 0.18);
  background: linear-gradient(180deg, rgba(112, 185, 249, 0.18), rgba(0, 160, 255, 0.08));
  color: var(--text);
}
.hero-price__value {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
  color: var(--primary-700);
}
.hero-price__amount {
  font-weight: 600;
  color: var(--primary-700);
  white-space: nowrap;
}
.hero-price__note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
  opacity: 0.95;
  text-align: center;
}

/* Hero phone badge (replaces phone button) */
.hero-phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.02));
  color: var(--text);
}
.hero-phone__link {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
  color: var(--text);
  text-decoration: none;
}
.hero-phone__link:hover {
  text-decoration: underline;
}
.hero-phone__note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
  opacity: 0.95;
  text-align: center;
}

/* Hero online badge */
.hero-online {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px 20px;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(16, 185, 129, 0.18);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.06));
  color: var(--text);
}
.hero-online__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
  color: rgba(16, 185, 129, 1);
}
.hero-online__note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
  opacity: 0.95;
  text-align: center;
}
.price-info {
  font-size: 16px;
  color: var(--muted);
}
.price-info strong {
  color: var(--primary-700);
  font-size: 18px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.reasons-grid .reason-card {
  text-align: center;
  padding: 24px;
}
.reason-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #70b9f9, #00a0ff);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #ffffff;
}
.reason-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.reason-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.service-analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.analysis-category {
  /* Neutral block style: remove boxed/card appearance to keep unified service layout */
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.analysis-category h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-700);
}
.parameters-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.parameters-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text);
  font-size: 14px;
}
.parameters-list li:last-child {
  border-bottom: none;
  list-style: none;
}
.parameter-group li {
  position: relative;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 14px;
}
.parameter-group li:before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: -16px;
  font-weight: 700;
}

.analysis-pricing {
  display: grid;
  gap: 16px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(30, 144, 255, 0.15);
}
.pricing-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}
.pricing-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}
.price-big {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}
.price-from {
  font-size: 14px;
  color: var(--muted);
}
.price-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-700);
}
.price-currency {
  font-size: 16px;
  color: var(--muted);
}
.pricing-features {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.pricing-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text);
}
.pricing-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a085;
  font-weight: 700;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

.process-timeline {
  display: grid;
  gap: 24px;
}
.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.step-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.step-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.faq-item h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.service-cta {
  background: #1a97f9;
  color: #ffffff;
  text-align: center;
}
.cta-content h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
}
.cta-content p {
  margin: 0 0 24px;
  font-size: 16px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
}
.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.cta-contact span {
  font-size: 14px;
  opacity: 0.9;
}
.phone-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}
.phone-link:hover {
  text-decoration: underline;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.pricing-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
}
.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.02);
}
.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.pricing-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}
.price-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.price-from {
  font-size: 14px;
  color: var(--muted);
}
.price-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
}
.price-currency {
  font-size: 18px;
  color: var(--primary);
}
.price-description {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 14px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}
.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: var(--text);
}
.price-features li:last-child {
  border-bottom: none;
}
.price-details {
  margin: 20px 0;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
}
.price-detail {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.price-detail span:first-child {
  color: var(--muted);
}
.price-detail span:last-child {
  font-weight: 600;
  color: var(--text);
}

/* Process timeline */
.process-timeline {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
}
.timeline-number {
  width: 60px;
  height: 60px;
  background: #1a97f9;
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.timeline-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.timeline-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.faq-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.faq-item h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}


/* Expert Tip block (main column) */
.expert-tip .info-block {
  overflow: hidden;
  background: transparent; /* убрали фон */
}

.expert-tip-card {
  display: grid;
  align-items: center;
  gap: 24px;
  padding: 24px;             /* внутренние отступы карточки */
  border: 1px solid var(--line);
  background: transparent;   /* без фона по умолчанию */
  transition: background-color .2s ease;
}
.expert-tip-card:hover {
  /* стандартный подсвет при наведении — легкая подложка от primary */
  background-color: rgba(30, 144, 255, 0.04);
}

.expert-photo-wrapper {
  display: flex;
  justify-content: center;
}

.expert-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #f4f6f8; /* нейтральная подложка, если фото пустое */
  overflow: hidden;
  border: 4px solid var(--surface);
  box-shadow: 0 0 0 3px var(--line); /* тонкое кольцо в цвете границы */
}

.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.expert-content {
  display: grid;
  gap: 16px;
}

.expert-meta {
  line-height: 1.3;
}

.expert-meta p { margin: 0; }

.expert-name { font-size: 20px; font-weight: 700; color: var(--text); }
.expert-role { font-size: 15px; color: var(--muted); }

.expert-quote {
  margin: 0;
  padding: 16px;                 /* внутренние отступы внутри совета */
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: transparent;       /* без фона */
  font-style: italic;            /* курсив для текста совета */
}
.expert-quote p { margin: 0; color: var(--muted); }

@media (min-width: 768px) {
  .expert-tip-card {
    grid-template-columns: 140px 1fr;
    gap: 32px;
    padding: 32px;
  }
}

@media (max-width: 767px) {
  .expert-tip-card { text-align: center; }
  .expert-quote { text-align: left; }
  
  /* Header Bottom Menu — мобильная версия */
  .header-bottom-menu {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .bottom-menu-sections {
    flex-wrap: nowrap;
    min-width: max-content;
  }
  .bottom-menu-section-btn,
  .bottom-menu-item a {
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
  }
  .bottom-submenu-list {
    flex-direction: column;
    padding: 8px 0;
  }
  .bottom-submenu-list li a {
    padding: 12px 20px;
  }
}



/* Form Rows */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Select Styling */
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfe3f4;
  border-radius: 10px;
  background: #fbfeff;
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
}
.field select:focus {
  outline: 2px solid #9bd1ff;
  border-color: #9bd1ff;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: background-color 0.2s ease;
}
.faq-question:hover {
  background: rgba(30, 144, 255, 0.04);
}
.faq-question[aria-expanded="true"] {
  background: rgba(30, 144, 255, 0.06);
  border-bottom: 1px solid var(--line);
}
.faq-icon {
  transition: transform 0.2s ease;
  color: var(--primary);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-answer.open {
  max-height: 200px;
  padding: 0 24px 20px;
}
.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* FAQ — single card variant */
.info-block.faq-card { padding: 0; }
.faq-card .faq-list { max-width: none; margin: 0; }
.faq-list.single .faq-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0;
}
.faq-list.single .faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-card .faq-question { padding: 10px 12px; }
.faq-card .faq-answer { padding: 0 12px; }
.faq-card .faq-answer.open { padding: 10px 12px 12px; }
.faq-card .faq-question i.bi-question-circle { font-size: 26px; color: var(--primary); }
.faq-card .faq-icon i { font-size: 22px; }

/* Радиусы для подсветки ряда от бордера к бордеру */
.faq-list.single .faq-item:first-child { border-top: none; border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.faq-list.single .faq-item:last-child { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }

/* В едином блоке FAQ тени применяем только к внешнему контейнеру,
   а внутренним элементам-строкам тени отключаем, чтобы не "подсвечивались" разделители */
.shadows-on .faq-card .faq-item { box-shadow: none !important; }

/* Contact Details */
.contact-details {
  margin: 20px 0;
}
.contact-item {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 600;
}
.contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.contact-link:hover {
  text-decoration: underline;
}
.contact-note {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* Contact Benefits */
.contact-benefits {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.contact-benefits h4 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.contact-benefits ul {
  margin: 0;
  padding-left: 20px;
  list-style: none;
}
.contact-benefits li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
}
.contact-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Modern Advantages Section */
.advantages-modern {
  position: relative;
  overflow: hidden;
}

/* ===== Global shadows control ===== */
/* По умолчанию многие блоки уже имеют тени. Эти правила стандартизируют и дают глобальный переключатель. */
.shadows-on .card,
.shadows-on .info-block,
.shadows-on .service-card,
.shadows-on .contact-card,
.shadows-on .form-card,
.shadows-on .faq-item,
.shadows-on .pricing-card,
.shadows-on .cta-card,
.shadows-on .advantage-card,
.shadows-on .advantage-highlight,
.shadows-on .analysis-category,
.shadows-on .service-main-content,
.shadows-on .specialist-card,
.shadows-on .steps li,
.shadows-on .process-step,
.shadows-on .timeline-item {
  box-shadow: var(--shadow);
}

/* Выключение теней принудительно */
.shadows-off .card,
.shadows-off .info-block,
.shadows-off .service-card,
.shadows-off .contact-card,
.shadows-off .form-card,
.shadows-off .faq-item,
.shadows-off .pricing-card,
.shadows-off .cta-card,
.shadows-off .advantage-card,
.shadows-off .advantage-highlight,
.shadows-off .analysis-category,
.shadows-off .service-main-content,
.shadows-off .specialist-card,
.shadows-off .steps li,
.shadows-off .process-step,
.shadows-off .timeline-item {
  box-shadow: none !important;
}

/* Also ensure newly added/promotional and other card-like elements respect shadows setting */
.shadows-off .promo-card,
.shadows-off .promo-content,
.shadows-off .promotions-grid,
.shadows-off .advantage-card,
.shadows-off .analysis-category,
.shadows-off .service-sidebar .card,
.shadows-off .pricing-card {
  box-shadow: none !important;
}

/* Targeted ensures for specific sections */
.shadows-on .advantages-modern .advantage-card { box-shadow: var(--shadow); }

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

/* Promotions block — keep visual style consistent with other section cards */
.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.promo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.promo-card h3 { margin: 0 0 6px; font-size: 18px; }
.promo-card p { margin: 0; color: var(--muted); }

/* Ribbon on promo cards (right side) */
.promo-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

/* Smaller display on mobile */
@media (max-width: 576px) {
  .promo-ribbon { top: 8px; right: 8px; padding: 4px 8px; font-size: 11px; }
}

.advantage-highlight {
  grid-row: span 2;
}

.advantages-secondary {
  display: grid;
  gap: 24px;
}

.advantage-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a97f9, #4dabf7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.advantage-card:hover::before {
  transform: scaleX(1);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 151, 249, 0.15);
  border-color: rgba(26, 151, 249, 0.2);
}

.advantage-highlight {
  padding: 32px;
  background: linear-gradient(135deg, rgba(26, 151, 249, 0.02), rgba(77, 171, 247, 0.05));
  border: 2px solid rgba(26, 151, 249, 0.1);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  background: #1a97f9;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.advantage-icon-main {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #1a97f9, #4dabf7);
  border-radius: 20px;
  margin-bottom: 24px;
}

.advantage-icon i {
  color: white;
  font-size: 28px;
}

.advantage-icon-main i {
  font-size: 36px;
}

.advantage-content h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.advantage-highlight .advantage-content h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.advantage-content p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.advantage-highlight .advantage-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

.advantage-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.advantage-features li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.advantage-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: #1a97f9;
  font-weight: bold;
  font-size: 16px;
}

.advantage-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
}

.metric-number {
  font-size: 28px;
  font-weight: 800;
  color: #1a97f9;
  line-height: 1;
}

.metric-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* Advantages Stats */
.advantages-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  background: rgba(26, 151, 249, 0.05);
  border: 1px solid rgba(26, 151, 249, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all 0.2s ease;
}

.stat-card:hover {
  background: rgba(26, 151, 249, 0.08);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 24px;
  font-weight: 800;
  color: #1a97f9;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* Advantages (compact variant: 4 in a row, smaller, no shadows) */
.advantages-modern.compact .advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.advantages-modern.compact .advantage-card {
  padding: 18px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  /* тени контролируются глобально (.shadows-on / .shadows-off) */
  transition: background-color 0.2s ease;
  position: relative;          /* фон-иконка как декоративный bkg */
  overflow: hidden;
}
.advantages-modern.compact .advantage-card::before { display: none; }
.advantages-modern.compact .advantage-card:hover {
  transform: none;
  background: rgba(26,151,249,0.04);
}
.advantages-modern.compact .advantage-icon {
  position: absolute;
  right: 14px;          /* правый верхний угол */
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  background: #c4e5ff3b; /* нежный фон под иконкой */
}
.advantages-modern.compact .advantage-icon i { font-size: 40px; color: #008fff5c; }
.advantages-modern.compact .advantage-content { position: relative; z-index: 1; }
.advantages-modern.compact .advantage-content h3 {
  font-size: 16px;
  margin: 0 0 4px;
  line-height: 1.3;
  color: var(--primary); /* заголовок основным цветом из настроек */
}
.advantages-modern.compact .advantage-content p {
  font-size: 14px;
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .advantages-modern.compact .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-modern.compact .advantage-icon i { font-size: 36px; }
}
@media (max-width: 720px) {
  .advantages-modern.compact .advantages-grid { grid-template-columns: 1fr; }
  .advantages-modern.compact .advantage-icon i { font-size: 30px; }
}

/* Service CTA */
.service-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}
.cta-content h2 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 800;
}
.cta-content p {
  margin: 0 0 32px;
  font-size: 18px;
  opacity: 0.9;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Logo Styles */
.logo-icon {
  font-size: 30px;
  color: #1a97f9;
  margin-right: 8px;
}

.logo-text {
  color: #1a97f9;
  font-weight: 600;
  font-size: 18px;
}

/* Base constraint for logo image to avoid oversized render before dynamic CSS loads */
.logo-img {
  max-height: 51px;
  height: auto;
  width: auto;
  display: block;
}

.logo.small .logo-icon {
  font-size: 24px;
  margin-right: 6px;
}

.logo.small .logo-text {
  font-size: 14px;
}

/* Pricing Page */
.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}
.pricing-header h1 {
  font-size: 48px;
  font-weight: normal;
}
.pricing-header .lead {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.price-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.price-card-header {
  margin-bottom: 20px;
}
.price-card-title {
  font-size: 20px;
  margin: 0;
  line-height: 1.4;
  font-weight: normal;
}

.price-card-body {
  flex-grow: 1;
}

.price-card-price {
  font-size: 36px;
  margin-bottom: 4px;
  font-weight: normal;
}
.price-card-price .from {
  font-size: 16px;
  color: var(--muted);
  margin-right: 5px;
  font-weight: normal;
}
.price-card-price .currency {
  font-size: 20px;
  color: var(--muted);
  margin-left: 5px;
  font-weight: normal;
}

.price-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.price-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
}

.price-card-features .bi {
  color: #1a97f9;
}

.price-card .btn {
  width: 100%;
  padding: 12px;
}

/* Contacts Page */
.contacts-header {
  text-align: center;
  margin-bottom: 60px;
}
.contacts-header h1 {
  font-size: 48px;
  font-weight: normal;
}
.contacts-header .lead {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--muted);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(13, 61, 94, 0.12);
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #1a97f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.contact-icon svg {
  color: #ffffff;
}

.contact-details h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.contact-details p {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}
.contact-details a {
  color: var(--primary-700);
  text-decoration: none;
  font-weight: 600;
}
.contact-details a:hover {
  text-decoration: underline;
}
.contact-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}
.form-card > p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field select {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cfe3f4;
  background: #fbfeff;
  font: inherit;
  color: var(--text);
  width: 100%;
}
.field select:focus {
  outline: 2px solid #9bd1ff;
  border-color: #9bd1ff;
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.list { margin: 10px 0 0; padding-left: 18px; }
.muted { color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow); position: relative; }
.steps li h3 { margin-top: 0; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: -12px; left: -12px; width: 36px; height: 36px; border-radius: 10px; background: #1a97f9; color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow); }

/* Certifications */
.cert-grid { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: 16px; align-items: center; justify-items: center; }
.cert { padding: 14px 18px; border-radius: 999px; border: 1px dashed #b9d9f6; color: var(--primary-700); background: #f2f9ff; font-weight: 700; }

/* Pricing */
.price { text-align: center; }
.price-tag { font-size: 28px; font-weight: 800; margin: 8px 0 12px; }
.price-tag span { font-size: 14px; color: var(--muted); margin-right: 6px; }

/* Contact */
.contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
.form .field { display: grid; gap: 6px; margin-bottom: 14px; }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea { padding: 12px 14px; border-radius: 10px; border: 1px solid #cfe3f4; background: #fbfeff; font: inherit; color: var(--text); }
.form input:focus, .form textarea:focus { outline: 2px solid #9bd1ff; border-color: #9bd1ff; }
.check { display: inline-flex; align-items: center; gap: 8px; }
.form-status { margin: 8px 0 0; font-weight: 600; }

/* Footer */
.site-footer { background: #f2f4f7; color: #6b7280; padding: 14px 0; border-top: 1px solid #e5e7eb; }
.site-footer.minimal .container { display: flex; align-items: center; justify-content: center; }
.footer-inner { display: none; }
.footer-nav { display: none; }
.site-footer .logo { display: none; }
.site-footer .copyright { margin: 0; font-size: 14px; color: #6b7280; text-align: center; }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1px,1px); white-space: nowrap; border: 0; }
.noscript { background: #ffe8a1; color: #4a3b00; padding: 10px 14px; text-align: center; }

/* Responsive */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .contact-grid { grid-template-columns: 1fr; }
  
  .pricing-hero h1 { font-size: 28px; }
  .pricing-hero { padding: 32px 20px; }
  .service-grid { gap: 20px; }
  
  .service-hero h1 { font-size: 28px; }
  .hero-features { gap: 20px; }
  .service-analysis-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  /* Скрыть кнопку звонка в шапке на мобильных */
  .btn-call { display: none !important; }
  
  /* Отступы для логотипа и гамбургера */
  .header-inner { padding: 12px 16px; }
  .logo { margin-left: 0; }
  .nav-toggle { margin-right: 0; }

  /* Полноширинный оверлей-меню под шапкой (как на CodePen) */
  .site-nav { 
    position: fixed; 
    left: 0; right: 0; 
    top: 64px;
    bottom: 0;
    display: none; 
    background: #ffffff; 
    border-top: 1px solid var(--line); 
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
    padding: 0; 
    overflow-y: auto; 
    z-index: 999; 
  }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; gap: 0; margin: 0; padding: 0; width: 100%; }
  .site-nav > ul > li { position: relative; list-style: none; border-bottom: 1px solid #eef3f7; width: 100%; }
  .site-nav > ul > li:last-child { border-bottom: none; }
  .site-nav > ul > li > a { font-size: 16px; padding: 16px 20px; display: block; color: var(--text); text-decoration: none; position: relative; }
  .site-nav > ul > li.has-submenu > a { padding-right: 56px; }
  .site-nav > ul > li.has-submenu .has-submenu-link[aria-expanded="true"] { color: var(--primary-700); }

  /* Мобильное меню: показываем только «Услуги» */
  .site-nav > ul > li:not(.menu-services) { display: none; }
  .site-nav > ul > li.menu-services > .submenu { display: block; }
  .site-nav > ul > li.menu-services + li { display: none; }
  
  .nav-toggle { display: inline-block; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .call-text { display: none; }
  
  /* Скрываем кнопку submenu-toggle на мобилке */
  .site-nav .submenu-toggle { 
    display: none !important;
  }
  
  /* Индикатор раскрытого меню для пункта 1го уровня через иконку Bootstrap */
  .site-nav > ul > li.has-submenu > a {
    position: relative;
  }
  .site-nav > ul > li.has-submenu > a::after {
    content: '\F282'; /* bi-chevron-compact-down */
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--muted);
    transition: transform 0.25s ease, color 0.25s ease;
  }
  .site-nav > ul > li.has-submenu .has-submenu-link[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
    color: var(--primary-700);
  }
  
  .site-nav .submenu { 
    position: static; 
    margin: 0; 
    padding: 0; 
    background: #ffffff;
    border-left: none; 
    border-top: 1px solid #eef3f7;
    border-radius: 0; 
    display: none; 
    list-style: none;
  }
  .site-nav .submenu.open { display: block; }
  .site-nav .submenu li { border: none; list-style: none; border-bottom: 1px solid #eef3f7; width: 100%; }
  .site-nav .submenu li:last-child { border-bottom: none; }
  .site-nav .submenu li a { 
    padding: 16px 20px; 
    font-size: 16px; 
    color: var(--text); 
    display: block;
    text-decoration: none;
    border-radius: 0;
  }
  .site-nav .submenu li a:hover { color: var(--primary-700); background: rgba(26,151,249,0.04); border-radius: 0; }

  /* Мобильное меню: сразу показываем список услуг во всю ширину */
  .site-nav > ul > li.menu-services { border-bottom: none; }
  .site-nav > ul > li.menu-services > a { display: none; }
  .site-nav > ul > li.menu-services > .submenu { display: block; background: #ffffff; border-top: none; }
  .site-nav > ul > li.menu-services > .submenu li a {
    padding: 16px 20px;
    font-size: 16px;
    color: var(--text);
  }
  
  /* Вложенное подменю на мобилке — показываем как вложенный список */
  .site-nav .has-nested-submenu > a::after { content: '+'; font-weight: 500; }
  .site-nav .has-nested-submenu.nested-open > a::after { content: '−'; }
  .site-nav .nested-submenu { 
    position: static; 
    display: none; 
    margin: 0; 
    padding: 0;
    background: #f0f4f7;
    border: none;
    border-top: 1px solid #e0e7ec;
    box-shadow: none;
    min-width: auto;
  }
  .site-nav .has-nested-submenu.nested-open > .nested-submenu { display: block; }
  .site-nav .nested-submenu li a { 
    padding: 12px 20px 12px 56px; 
    font-size: 14px;
    color: var(--text-muted);
  }
  .site-nav .nested-submenu li a:hover { color: var(--primary-700); background: rgba(26,151,249,0.04); }
  
  .pricing-hero { 
    padding: 24px 16px; 
    margin-bottom: 32px;
  }
  .pricing-hero h1 { font-size: 24px; }
  .pricing-hero p { font-size: 16px; }
  
  .service-card { 
    padding: 20px; 
  }
  .service-card .desc { 
    min-height: auto; 
    margin-bottom: 20px;
  }
  .service-card .actions { 
    flex-direction: column; 
    gap: 8px; 
  }
  .service-card .btn-outline,
  .service-card .btn-primary { 
    width: 100%; 
    justify-content: center;
  }
  
  .cta-card { 
    padding: 24px 20px; 
  }
  .cta-card .actions { 
    flex-direction: column; 
    gap: 12px; 
  }
  .cta-card .btn-call,
  .cta-card .btn-primary { 
    width: 100%; 
    justify-content: center;
  }
  
  .contacts-hero { 
    padding: 24px 16px; 
    margin-bottom: 32px;
  }
  .contacts-hero h1 { font-size: 24px; }
  .contacts-hero p { font-size: 16px; }
  
  .contacts-content { 
    grid-template-columns: 1fr; 
    gap: 32px; 
  }
  
  .form-row { 
    grid-template-columns: 1fr; 
    gap: 12px; 
  }
  
  .form-actions { 
    flex-direction: column; 
    gap: 12px; 
  }
  .form-actions .btn { 
    width: 100%; 
    justify-content: center; 
  }
  
  .service-hero { padding: 24px 0; }
  .service-hero h1 { font-size: 24px; }
  .hero-description { font-size: 16px; }
  .hero-features { 
    flex-direction: column; 
    gap: 16px; 
  }
  .hero-actions { 
    flex-direction: column; 
    gap: 12px; 
  }
  .parameters-list { gap: 16px; }
  .cta-actions { gap: 12px; }
  
  /* Hero Mobile */
  .hero {
    padding: 60px 0 80px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    padding-top: 0;
    text-align: center;
  }
  .hero-title {
    font-size: 32px;
    margin-bottom: 16px;
  }
  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 24px;
  }
  
  /* Hero Features Mobile */
  .hero-features {
    margin-bottom: 32px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-feature {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 12px;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
  }
  
  /* Hero Stats Mobile */
  .hero-stats {
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
  }
  .stat-item {
    text-align: center;
  }
  .stat-number {
    font-size: 28px;
  }
  .stat-label {
    font-size: 13px;
  }
  
  /* Hero CTA Mobile */
  .hero-cta {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }
  .btn-large {
    width: 100%;
    justify-content: center;
  }
  
  /* Hero Form Mobile */
  .hero-form-wrapper {
    position: static;
  }
  .hero-form {
    padding: 24px;
  }
  .form-title {
    font-size: 22px;
  }
  

  
  /* FAQ mobile */
  .faq-question {
    padding: 16px 20px;
    font-size: 15px;
  }
  .faq-answer.open {
    padding: 0 20px 16px;
  }
  
  /* Contact Details mobile */
  .contact-item {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }
  .contact-benefits {
    margin-top: 20px;
    padding-top: 16px;
  }
  
  /* Advantages Mobile */
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }
  
  .advantage-highlight {
    grid-row: span 1;
    padding: 24px;
  }
  
  .advantage-icon-main {
    width: 64px;
    height: 64px;
  }
  
  .advantage-highlight .advantage-content h3 {
    font-size: 22px;
  }
  
  .advantages-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
  }
  
  .stat-card {
    padding: 16px;
  }
  
  .stat-number {
    font-size: 20px;
  }
}

/* Service pages styles */
.service-hero {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.05), rgba(0, 188, 212, 0.05));
  padding: 40px 0;
}
.service-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.service-breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
}
.service-breadcrumb a {
  color: var(--primary-700);
  text-decoration: none;
}
.service-breadcrumb a:hover {
  text-decoration: underline;
}
.service-hero h1 {
  font-size: 36px;
  font-weight: 400;
  margin: 0 0 16px;
  color: var(--text);
}
.hero-description {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.5;
}
.hero-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #70b9f9, #00a0ff);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero price badge (replaces "Заказать" button) */
.hero-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px; /* match .btn-large vertical rhythm */
  min-height: 56px;  /* close to btn-large height */
  border-radius: 14px;
  border: 1px solid rgba(24, 119, 215, 0.18);
  background: linear-gradient(180deg, rgba(112, 185, 249, 0.18), rgba(0, 160, 255, 0.08));
  color: var(--text);
}
.hero-price__value {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
  color: var(--primary-700);
}
.hero-price__amount {
  font-weight: 600;
  color: var(--primary-700);
  white-space: nowrap;
}
.hero-price__note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
  opacity: 0.95;
  text-align: center;
}

/* Hero phone badge (replaces phone button) */
.hero-phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.02));
  color: var(--text);
}
.hero-phone__link {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
  color: var(--text);
  text-decoration: none;
}
.hero-phone__link:hover {
  text-decoration: underline;
}
.hero-phone__note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
  opacity: 0.95;
  text-align: center;
}

/* Hero online badge */
.hero-online {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px 20px;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(16, 185, 129, 0.18);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.06));
  color: var(--text);
}
.hero-online__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
  color: rgba(16, 185, 129, 1);
}
.hero-online__note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
  opacity: 0.95;
  text-align: center;
}
.price-info {
  font-size: 16px;
  color: var(--muted);
}
.price-info strong {
  color: var(--primary-700);
  font-size: 18px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.reasons-grid .reason-card {
  text-align: center;
  padding: 24px;
}
.reason-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #70b9f9, #00a0ff);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #ffffff;
}
.reason-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.reason-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.service-analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.analysis-category {
  /* Neutral block style: remove boxed/card appearance to keep unified service layout */
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.analysis-category h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-700);
}
.parameters-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.parameters-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text);
  font-size: 14px;
}
.parameters-list li:last-child {
  border-bottom: none;
  list-style: none;
}
.parameter-group li {
  position: relative;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 14px;
}
.parameter-group li:before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: -16px;
  font-weight: 700;
}

.analysis-pricing {
  display: grid;
  gap: 16px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(30, 144, 255, 0.15);
}
.pricing-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}
.pricing-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.price-big {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}
.price-from {
  font-size: 14px;
  color: var(--muted);
}
.price-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-700);
}
.price-currency {
  font-size: 18px;
  color: var(--muted);
}
.price-description {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 14px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}
.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: var(--text);
}
.price-features li:last-child {
  border-bottom: none;
}
.price-details {
  margin: 20px 0;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
}
.price-detail {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.price-detail span:first-child {
  color: var(--muted);
}
.price-detail span:last-child {
  font-weight: 600;
  color: var(--text);
}

/* Process timeline */
.process-timeline {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
}
.timeline-number {
  width: 60px;
  height: 60px;
  background: #1a97f9;
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.timeline-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.timeline-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.faq-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.faq-item h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}


/* Expert Tip block (main column) */
.expert-tip .info-block {
  overflow: hidden;
  background: transparent; /* убрали фон */
}

.expert-tip-card {
  display: grid;
  align-items: center;
  gap: 24px;
  padding: 24px;             /* внутренние отступы карточки */
  border: 1px solid var(--line);
  background: transparent;   /* без фона по умолчанию */
  transition: background-color .2s ease;
}
.expert-tip-card:hover {
  /* стандартный подсвет при наведении — легкая подложка от primary */
  background-color: rgba(30, 144, 255, 0.04);
}

.expert-photo-wrapper {
  display: flex;
  justify-content: center;
}

.expert-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #f4f6f8; /* нейтральная подложка, если фото пустое */
  overflow: hidden;
  border: 4px solid var(--surface);
  box-shadow: 0 0 0 3px var(--line); /* тонкое кольцо в цвете границы */
}

.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.expert-content {
  display: grid;
  gap: 16px;
}

.expert-meta {
  line-height: 1.3;
}

.expert-meta p { margin: 0; }

.expert-name { font-size: 20px; font-weight: 700; color: var(--text); }
.expert-role { font-size: 15px; color: var(--muted); }

.expert-quote {
  margin: 0;
  padding: 16px;                 /* внутренние отступы внутри совета */
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: transparent;       /* без фона */
  font-style: italic;            /* курсив для текста совета */
}
.expert-quote p { margin: 0; color: var(--muted); }

@media (min-width: 768px) {
  .expert-tip-card {
    grid-template-columns: 140px 1fr;
    gap: 32px;
    padding: 32px;
  }
}

@media (max-width: 767px) {
  .expert-tip-card { text-align: center; }
  .expert-quote { text-align: left; }
  
  /* Header Bottom Menu — мобильная версия */
  .header-bottom-menu {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .bottom-menu-sections {
    flex-wrap: nowrap;
    min-width: max-content;
  }
  .bottom-menu-section-btn,
  .bottom-menu-item a {
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
  }
  .bottom-submenu-list {
    flex-direction: column;
    padding: 8px 0;
  }
  .bottom-submenu-list li a {
    padding: 12px 20px;
  }
}



/* Form Rows */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Select Styling */
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfe3f4;
  border-radius: 10px;
  background: #fbfeff;
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
}
.field select:focus {
  outline: 2px solid #9bd1ff;
  border-color: #9bd1ff;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: background-color 0.2s ease;
}
.faq-question:hover {
  background: rgba(30, 144, 255, 0.04);
}
.faq-question[aria-expanded="true"] {
  background: rgba(30, 144, 255, 0.06);
  border-bottom: 1px solid var(--line);
}
.faq-icon {
  transition: transform 0.2s ease;
  color: var(--primary);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-answer.open {
  max-height: 200px;
  padding: 0 24px 20px;
}
.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* FAQ — single card variant */
.info-block.faq-card { padding: 0; }
.faq-card .faq-list { max-width: none; margin: 0; }
.faq-list.single .faq-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0;
}
.faq-list.single .faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-card .faq-question { padding: 10px 12px; }
.faq-card .faq-answer { padding: 0 12px; }
.faq-card .faq-answer.open { padding: 10px 12px 12px; }
.faq-card .faq-question i.bi-question-circle { font-size: 26px; color: var(--primary); }
.faq-card .faq-icon i { font-size: 22px; }

/* Радиусы для подсветки ряда от бордера к бордеру */
.faq-list.single .faq-item:first-child { border-top: none; border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.faq-list.single .faq-item:last-child { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }

/* В едином блоке FAQ тени применяем только к внешнему контейнеру,
   а внутренним элементам-строкам тени отключаем, чтобы не "подсвечивались" разделители */
.shadows-on .faq-card .faq-item { box-shadow: none !important; }

/* Contact Details */
.contact-details {
  margin: 20px 0;
}
.contact-item {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 600;
}
.contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.contact-link:hover {
  text-decoration: underline;
}
.contact-note {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* Contact Benefits */
.contact-benefits {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.contact-benefits h4 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.contact-benefits ul {
  margin: 0;
  padding-left: 20px;
  list-style: none;
}
.contact-benefits li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
}
.contact-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Modern Advantages Section */
.advantages-modern {
  position: relative;
  overflow: hidden;
}

/* ===== Global shadows control ===== */
/* По умолчанию многие блоки уже имеют тени. Эти правила стандартизируют и дают глобальный переключатель. */
.shadows-on .card,
.shadows-on .info-block,
.shadows-on .service-card,
.shadows-on .contact-card,
.shadows-on .form-card,
.shadows-on .faq-item,
.shadows-on .pricing-card,
.shadows-on .cta-card,
.shadows-on .advantage-card,
.shadows-on .advantage-highlight,
.shadows-on .analysis-category,
.shadows-on .service-main-content,
.shadows-on .specialist-card,
.shadows-on .steps li,
.shadows-on .process-step,
.shadows-on .timeline-item {
  box-shadow: var(--shadow);
}

/* Выключение теней принудительно */
.shadows-off .card,
.shadows-off .info-block,
.shadows-off .service-card,
.shadows-off .contact-card,
.shadows-off .form-card,
.shadows-off .faq-item,
.shadows-off .pricing-card,
.shadows-off .cta-card,
.shadows-off .advantage-card,
.shadows-off .advantage-highlight,
.shadows-off .analysis-category,
.shadows-off .service-main-content,
.shadows-off .specialist-card,
.shadows-off .steps li,
.shadows-off .process-step,
.shadows-off .timeline-item {
  box-shadow: none !important;
}

/* Also ensure newly added/promotional and other card-like elements respect shadows setting */
.shadows-off .promo-card,
.shadows-off .promo-content,
.shadows-off .promotions-grid,
.shadows-off .advantage-card,
.shadows-off .analysis-category,
.shadows-off .service-sidebar .card,
.shadows-off .pricing-card {
  box-shadow: none !important;
}

/* Targeted ensures for specific sections */
.shadows-on .advantages-modern .advantage-card { box-shadow: var(--shadow); }

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

/* Promotions block — keep visual style consistent with other section cards */
.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.promo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.promo-card h3 { margin: 0 0 6px; font-size: 18px; }
.promo-card p { margin: 0; color: var(--muted); }

/* Ribbon on promo cards (right side) */
.promo-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

/* Smaller display on mobile */
@media (max-width: 576px) {
  .promo-ribbon { top: 8px; right: 8px; padding: 4px 8px; font-size: 11px; }
}

.advantage-highlight {
  grid-row: span 2;
}

.advantages-secondary {
  display: grid;
  gap: 24px;
}

.advantage-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a97f9, #4dabf7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.advantage-card:hover::before {
  transform: scaleX(1);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 151, 249, 0.15);
  border-color: rgba(26, 151, 249, 0.2);
}

.advantage-highlight {
  padding: 32px;
  background: linear-gradient(135deg, rgba(26, 151, 249, 0.02), rgba(77, 171, 247, 0.05));
  border: 2px solid rgba(26, 151, 249, 0.1);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  background: #1a97f9;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.advantage-icon-main {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #1a97f9, #4dabf7);
  border-radius: 20px;
  margin-bottom: 24px;
}

.advantage-icon i {
  color: white;
  font-size: 28px;
}

.advantage-icon-main i {
  font-size: 36px;
}

.advantage-content h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.advantage-highlight .advantage-content h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.advantage-content p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.advantage-highlight .advantage-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

.advantage-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.advantage-features li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.advantage-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: #1a97f9;
  font-weight: bold;
  font-size: 16px;
}

.advantage-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
}

.metric-number {
  font-size: 28px;
  font-weight: 800;
  color: #1a97f9;
  line-height: 1;
}

.metric-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* Advantages Stats */
.advantages-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  background: rgba(26, 151, 249, 0.05);
  border: 1px solid rgba(26, 151, 249, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all 0.2s ease;
}

.stat-card:hover {
  background: rgba(26, 151, 249, 0.08);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 24px;
  font-weight: 800;
  color: #1a97f9;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* Advantages (compact variant: 4 in a row, smaller, no shadows) */
.advantages-modern.compact .advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.advantages-modern.compact .advantage-card {
  padding: 18px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  /* тени контролируются глобально (.shadows-on / .shadows-off) */
  transition: background-color 0.2s ease;
  position: relative;          /* фон-иконка как декоративный bkg */
  overflow: hidden;
}
.advantages-modern.compact .advantage-card::before { display: none; }
.advantages-modern.compact .advantage-card:hover {
  transform: none;
  background: rgba(26,151,249,0.04);
}
.advantages-modern.compact .advantage-icon {
  position: absolute;
  right: 14px;          /* правый верхний угол */
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  background: #c4e5ff3b; /* нежный фон под иконкой */
}
.advantages-modern.compact .advantage-icon i { font-size: 40px; color: #008fff5c; }
.advantages-modern.compact .advantage-content { position: relative; z-index: 1; }
.advantages-modern.compact .advantage-content h3 {
  font-size: 16px;
  margin: 0 0 4px;
  line-height: 1.3;
  color: var(--primary); /* заголовок основным цветом из настроек */
}
.advantages-modern.compact .advantage-content p {
  font-size: 14px;
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .advantages-modern.compact .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-modern.compact .advantage-icon i { font-size: 36px; }
}
@media (max-width: 720px) {
  .advantages-modern.compact .advantages-grid { grid-template-columns: 1fr; }
  .advantages-modern.compact .advantage-icon i { font-size: 30px; }
}

/* Service CTA */
.service-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}
.cta-content h2 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 800;
}
.cta-content p {
  margin: 0 0 32px;
  font-size: 18px;
  opacity: 0.9;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Logo Styles */
.logo-icon {
  font-size: 30px;
  color: #1a97f9;
  margin-right: 8px;
}

.logo-text {
  color: #1a97f9;
  font-weight: 600;
  font-size: 18px;
}

/* Base constraint for logo image to avoid oversized render before dynamic CSS loads */
.logo-img {
  max-height: 51px;
  height: auto;
  width: auto;
  display: block;
}

.logo.small .logo-icon {
  font-size: 24px;
  margin-right: 6px;
}

.logo.small .logo-text {
  font-size: 14px;
}

/* Pricing Page */
.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}
.pricing-header h1 {
  font-size: 48px;
  font-weight: normal;
}
.pricing-header .lead {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.price-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.price-card-header {
  margin-bottom: 20px;
}
.price-card-title {
  font-size: 20px;
  margin: 0;
  line-height: 1.4;
  font-weight: normal;
}

.price-card-body {
  flex-grow: 1;
}

.price-card-price {
  font-size: 36px;
  margin-bottom: 4px;
  font-weight: normal;
}
.price-card-price .from {
  font-size: 16px;
  color: var(--muted);
  margin-right: 5px;
  font-weight: normal;
}
.price-card-price .currency {
  font-size: 20px;
  color: var(--muted);
  margin-left: 5px;
  font-weight: normal;
}

.price-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.price-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
}

.price-card-features .bi {
  color: #1a97f9;
}

.price-card .btn {
  width: 100%;
  padding: 12px;
}

/* Contacts Page */
.contacts-header {
  text-align: center;
  margin-bottom: 60px;
}
.contacts-header h1 {
  font-size: 48px;
  font-weight: normal;
}
.contacts-header .lead {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--muted);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(13, 61, 94, 0.12);
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #1a97f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.contact-icon svg {
  color: #ffffff;
}

.contact-details h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.contact-details p {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}
.contact-details a {
  color: var(--primary-700);
  text-decoration: none;
  font-weight: 600;
}
.contact-details a:hover {
  text-decoration: underline;
}
.contact-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

/* Methods block */
.methods-section .methods-content { padding: 8px 0 24px; }
.methods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
/* Enforce maximum of two visible method cards (hides extra .method-card if present) */
.methods-grid > .method-card:nth-child(n+3) { display: none; }
.method-card { padding: 20px; background: var(--surface); border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); display:flex; flex-direction:column; gap:8px; min-height: 140px; }
.method-card h3 { margin: 0 0 6px; font-size: 16px; }
.method-card p { margin: 0; color: var(--muted); flex:1; }

/* Process block */
.process-section .process-grid { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
.process-step { padding: 18px; background: var(--surface); border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; display: flex; flex-direction: row; gap: 12px; align-items: flex-start; }
.process-step .step-num { width: 42px; height: 42px; display: inline-grid; place-items: center; background: var(--primary); color: #fff; border-radius: 8px; font-weight:700; margin: 0 12px 0 0; flex-shrink: 0; }
.process-step h3 { margin: 0 0 6px; font-size: 16px; }
.process-step p { margin: 0; color: var(--muted); }

.process-step .step-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.process-step .step-body h3 { margin: 0; }

@media (max-width: 900px) {
  .process-section .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .process-section .process-grid { grid-template-columns: 1fr; }
}

/* On very small screens, stack number above the heading for readability */
@media (max-width: 720px) {
  .process-step { flex-direction: column; gap: 8px; }
  .process-step .step-num { margin: 0 0 6px 0; }
}

/* Unified small card padding to keep visual rhythm consistent */
.method-card,
.process-step,
.guarantee-card,
.guarantee-info,
.promo-card,
.service-card,
.cta-card,
.contact-card,
.review-card,
.advantage-card {
  padding: var(--card-padding) !important;
}

/* Standardize card header and paragraph spacing inside sections */
.section .method-card h3,
.section .guarantee-card h3,
.section .guarantee-info h3,
.section .process-step h3,
.section .cta-card h2,
.section .service-card h3,
.section .specialist-card h4 {
  margin: 0 0 8px;
}
.section .method-card p,
.section .guarantee-card p,
.section .guarantee-info p,
.section .process-step p,
.section .cta-card p,
.section .service-card p,
.section .specialist-card p {
  margin: 0;
}

/* Ensure grids and media blocks don't add extra top/bottom margins */
.section .methods-grid,
.section .guarantees-grid,
.section .process-grid,
.section .promotions-grid,
.section .ses-pricelist .pricelist-table {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Service Page Styles */
.service-content {
  padding: 60px 0;
  background: var(--surface);
}

.content-section {
  margin-bottom: 60px;
}

.content-section h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--text);
}

.content-section h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text);
}

/* Unified section header style (use "Наши преимущества" as the source of truth) */
.section-header h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: var(--section-h2-margin-bottom);
  color: var(--text);
}

.section-header h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text);
}

/* Ensure consistent spacing between section header and the following content block */
.section > .section-header + * {
  margin-top: var(--section-header-gap);
}

/* Выравнивание заголовков H2-H3 по настройке */
.h2-align-center .content-section h2,
.h2-align-center .content-section h3,
.h2-align-center .section-header h2,
.h2-align-center .section-header h3,
.h2-align-center .section-header p,
.h2-align-center .section-intro { text-align: center; }
.h2-align-left .content-section h2,
.h2-align-left .content-section h3,
.h2-align-left .section-header h2,
.h2-align-left .section-header h3,
.h2-align-left .section-header p,
.h2-align-left .section-intro { text-align: left; }

/* Admin-provided service main content wrapper */
.service-main-content {
  /* Use neutral inline style so admin content flows with other sections.
     Removed boxed border to keep unified page look across services. */
  border: none;
  padding: 0;
  border-radius: 0;
}

.service-main-content .info-block {
  margin-bottom: 32px;
  padding: 24px;
}

.service-main-content h2 {
  margin-top: 48px;
  margin-bottom: 20px;
}

.service-main-content h2:first-child {
  margin-top: 0;
}

.service-main-content .info-block *:last-child {
  margin-bottom: 0;
}

/* Remove card/boxed appearance for any card-like elements inside admin main content
   so service pages look unified and not 'boxed' regardless of specific blocks. */
.service-main-content .card,
.service-main-content .advantage-card,
.service-main-content .service-card,
.service-main-content .analysis-category,
.service-main-content .pricing-card,
.service-main-content .form-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Цвет маркеров списков (точек) внутри основного контента — в цвет бренда */
.service-main-content ul li::marker {
  color: var(--primary);
}

.service-main-content ol li::marker {
  color: var(--primary);
}

.section-intro {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Analysis Grid */
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.analysis-category {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.category-icon {
  font-size: 24px;
  color: var(--primary);
}

.category-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.parameter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.parameter-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--text);
  font-size: 14px;
}

.parameter-list li:last-child {
  border-bottom: none;
}

/* Reasons Grid */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Specialists (team) */
/* Corporate clients (logos) */
.clients-card {
  padding: 16px;
  overflow: hidden;
}
.clients-strip { overflow: hidden; }
.clients-track {
  display: flex;
  align-items: center;
  gap: 24px;
  will-change: transform;
}
.client-logo {
  flex: 0 0 calc((100% - (24px * 5)) / 6); /* 6 логотипов в видимой области */
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-logo img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}
.client-logo img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.02); }

@media (max-width: 991px) {
  .client-logo { flex-basis: calc((100% - (24px * 3)) / 4); } /* 4 в ряд на планшете */
}
@media (max-width: 600px) {
  .client-logo { flex-basis: calc((100% - (16px * 1)) / 2); } /* 2 в ряд на мобиле видимо, но полоса скроллится */
  .clients-track { gap: 16px; }
}
/* Reviews (horizontal strip) */
.reviews-section { overflow-x: hidden; }
.reviews-card { padding: 16px 16px 24px; overflow: visible; }
.info-block.reviews-card { border: none; box-shadow: none; background: transparent; }
.shadows-on .info-block.reviews-card { box-shadow: none; }
.shadows-off .info-block.reviews-card { box-shadow: none; }
.reviews-strip {
  /* прячем лишнее по горизонтали, тени по вертикали оставляем видимыми */
  overflow-x: hidden;
  overflow-y: visible;
  padding-right: 24px;
  padding-bottom: 16px; /* место для нижней тени карточек внутри border-box маски */
}
.reviews-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  will-change: transform;
  /* Компенсация правого внутреннего отступа контейнера, чтобы крайняя карточка была вровень,
     но её тень попадала в буфер и не обрезалась */
  margin-right: -24px;
}
.review-item {
  flex: 0 0 calc((100% - (24px * 2)) / 3); /* 3 карточки в видимой области */
  display: flex;
}
/* Тени и бордер на самих карточках отзывов (контейнер — без тени и без бордера) */
.reviews-card .review-card { box-shadow: var(--shadow); border: 1px solid var(--line); }
.shadows-off .reviews-card .review-card { box-shadow: none !important; }
@media (max-width: 991px) {
  .review-item { flex-basis: calc((100% - 24px) / 2); } /* 2 в ряд на планшете */
}
@media (max-width: 600px) {
  .reviews-strip {
    padding-right: 16px;
    padding-bottom: 10px;
  }
  .reviews-track { gap: 16px; margin-right: -16px; }
  .review-item { flex-basis: 100%; } /* 1 на мобиле */
}
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .specialists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  /* Мобильная версия: горизонтальный скролл карточек специалистов */
  .specialists-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0 10px; /* нижний отступ под тень */
  }
  .specialist-card {
    flex: 0 0 85%;            /* одна большая карточка в видимой области */
    scroll-snap-align: start; /* прилипаем к началу при свайпе */
  }
}

.specialist-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.specialist-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; /* вертикальная карточка */
  overflow: hidden;
  background: #f4f6f8;
}

.specialist-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.specialist-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  color: #fff;
  text-align: left;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.78) 100%);
}

.specialist-name {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  color: #fff;
}

.specialist-role {
  font-size: 14px;
  margin: 6px 0 0;
  opacity: 0.95;
}

.specialist-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 151, 249, 0.2);
}

.specialist-card:hover .specialist-media img {
  transform: scale(1.05);
}

.reason-icon {
  font-size: 24px;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 4px;
}

.reason-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}

.reason-content p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.step-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}

.step-content p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Main Procedure block removed (handled via methods/process blocks now) */

/* Service Sidebar */
.service-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
}

/* ================= Order Form (main column) ================= */
.order-form-section {
  padding: 24px;                 /* равные внутренние отступы со всех сторон */
  background: var(--primary);    /* фоновый цвет — основной из админки, без градиента */
  border-radius: var(--radius);
}
.order-form-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.order-form-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}
.order-title { margin: 0 0 16px; font-size: 26px; font-weight: 600; color: var(--text); }
.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.order-list li { position: relative; padding-left: 28px; color: var(--text); }
/* Иконка-галочка одним цветом (основной) без шрифтов и символов */
.order-list li::before {
  content: '';
  position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px;
  background-color: var(--primary);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.173 12.414 1.757 8l1.414-1.414 3.002 3.002 6.656-6.657L14.243 4.343 6.173 12.414z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.173 12.414 1.757 8l1.414-1.414 3.002 3.002 6.656-6.657L14.243 4.343 6.173 12.414z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.order-form .field { margin-bottom: 14px; }
.order-form .field label { display: block; margin: 0 0 6px; font-weight: 500; color: var(--text); }
.order-form .field input[type="text"],
.order-form .field input[type="tel"] {
  width: 100%; padding: 12px 14px; border: 1px solid #cfe3f4; border-radius: 10px; background: #fbfeff; color: var(--text);
}
.order-form .field input:focus { outline: 2px solid #9bd1ff; border-color: #9bd1ff; }
.order-form .checkbox-field { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 14px; font-size: 14px; color: var(--muted); }
.order-form .checkbox-field input { margin-top: 3px; accent-color: var(--primary); }
.order-form .btn-full { width: 100%; justify-content: center; padding: 14px; }

@media (max-width: 991px) {
  .order-form-grid { grid-template-columns: 1fr; }
}

/* Price Card */
.price-card .card-header {
  background: var(--primary);
  color: white;
  padding: 24px;
  text-align: center;
  border-radius: 10px;
}

.price-card .card-header h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

.price-card .price {
  font-size: 32px;
  margin-bottom: 4px;
  font-weight: normal;
}
.price-card .price-note {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

.price-card .card-body {
  padding: 24px;
}

.includes-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.includes-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
}

.includes-list i {
  color: var(--primary);
  font-size: 16px;
}

/* Timing Card */
.timing-card {
  padding: 24px;
}

.timing-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--text);
}

.timing-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
}

.timing-option:last-child {
  border-bottom: none;
}

.timing-title {
  font-weight: 600;
  color: var(--text);
}

.timing-period {
  font-size: 14px;
  color: var(--muted);
}

.timing-price {
  font-weight: 600;
  color: var(--primary);
}

/* Contact Card Sidebar */
.contact-card-sidebar {
  padding: 24px;
  text-align: center;
}

.contact-card-sidebar h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.contact-card-sidebar p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.contact-card-sidebar .btn-outline-primary {
  background: #1e90ff;
  color: white;
  border-color: #1e90ff;
}

.contact-card-sidebar .btn-outline-primary:hover {
  background: #1e7ae6;
  border-color: #1e7ae6;
}

/* Hours Card */
.hours-card { padding: 20px; }
.hours-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}
.hours-card .working-hours { margin: 0; padding: 0; }
.hours-card .working-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.hours-card .working-hours li + li { border-top: 1px solid var(--line); }
.hours-card .working-hours li span { font-size: 14px; color: var(--muted); }
.hours-card .working-hours li.today span { color: var(--primary); font-weight: 600; }

/* Main Hours Block (in main content column) */
.main-hours .working-hours { margin: 0; padding: 0; }
.main-hours .working-hours li { display:flex; justify-content:space-between; align-items:center; padding:8px 0; }
.main-hours .working-hours li + li { border-top: 1px solid var(--line); }
.main-hours .working-hours li span { font-size: 15px; color: var(--muted); }
.main-hours .working-hours li.today span { color: var(--primary); font-weight:600; }

/* Responsive */
@media (max-width: 768px) {
  .service-hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-hero .hero-title {
    font-size: 32px;
  }
  
  .analysis-grid {
    grid-template-columns: 1fr;
  }
  
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .service-sidebar {
    position: static;
    margin-top: 40px;
  }
}

.contact-form-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  width: 100%;
}

/* Reviews Page */
.reviews-header {
  text-align: center;
  margin-bottom: 60px;
}
.reviews-header h1 {
  font-size: 48px;
  font-weight: normal;
}
.reviews-header .lead {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(13, 61, 94, 0.12);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  flex-shrink: 0;
}

.review-info h4 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: normal;
}

.review-rating {
  display: flex;
  gap: 2px;
}

.review-star {
  color: #ffd700;
  font-size: 16px;
}

.review-text {
  color: var(--muted);
  line-height: 1.6;
  flex-grow: 1;
}

/* Analysis lists with icons */
.analysis-list li i,
.parameter-list li i {
  margin-right: 8px;
}

/* Floating mobile call button */
.floating-call-btn {
  position: fixed;
  right: 16px;
  bottom: var(--mobile-call-bottom, 16px);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #16a34a; /* green */
  color: #ffffff;
  display: none; /* только мобилки через media */
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  text-decoration: none;
  z-index: 1100; /* поверх контента и навигации */
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.floating-call-btn.left { left: 16px; right: auto; }
.floating-call-btn i { font-size: 22px; line-height: 1; }
.floating-call-btn:active { transform: scale(0.98); }
.floating-call-btn:hover { background: #15803d; }
.floating-call-btn.no-shadow { box-shadow: none !important; }

@keyframes call-icon-shake {
  0% { transform: rotate(0deg) scale(1); }
  10% { transform: rotate(-12deg) scale(1.02); }
  20% { transform: rotate(10deg) scale(1.02); }
  30% { transform: rotate(-8deg) scale(1.02); }
  40% { transform: rotate(6deg) scale(1.02); }
  50% { transform: rotate(-4deg) scale(1.01); }
  60% { transform: rotate(3deg) scale(1.01); }
  70% { transform: rotate(-2deg) scale(1.01); }
  80% { transform: rotate(1deg) scale(1.01); }
  100% { transform: rotate(0deg) scale(1); }
}

.call-icon-shake {
  display: inline-block;
  transform-origin: 50% 50%;
  animation: call-icon-shake 1.2s ease-in-out infinite;
}

@media (max-width: 720px) {
  .floating-call-btn { display: flex; }
}

/* Cookie banner */
.cookie-banner{position:fixed;left:50%;transform:translateX(-50%);width:calc(100% - 40px);bottom:20px;z-index:9998;display:none;
  background: rgba(255,255,255,0.6);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,0.08);padding:16px 18px;gap:16px;align-items:center;max-width:900px}
.cookie-text{margin:0;color:#1f2937;font-size:16px;line-height:1.6}
.cookie-actions{display:flex;gap:10px;margin-left:auto;align-items:center}
.cookie-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:10px;border:2px solid transparent;font-weight:700;cursor:pointer}
.cookie-accept{background:var(--primary,#1a97f9);color:#fff}
.cookie-close{background:rgba(255,255,255,0.7);color:#1f2937;border:2px solid rgba(255,255,255,0.9)}
.cookie-banner a{color:var(--primary-700,#155fb0);text-decoration:underline}
@media (max-width:720px){
  .cookie-banner{left:12px;right:12px;transform:none;width:auto;bottom:12px;padding:12px;flex-direction:column;align-items:stretch}
  .cookie-actions{width:100%;justify-content:stretch;flex-direction:column;margin-left:0}
  .cookie-btn{width:100%}
}

/* Branches (cities) page */
.city-card { transition: transform .15s ease, box-shadow .15s ease; }
.city-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.12); }
.city-name { color: #111; }
.city-card .card-body { padding: .75rem 1rem; min-height: 56px; }
.city-arrow { font-size: 1.25rem; }
@media (max-width: 575.98px) {
  .city-name { font-size: 1rem; }
  .city-card .card-body { padding: .6rem .9rem; min-height: 52px; }
}

/* 404 page */
/* Растягиваем контент, чтобы подвал оказался внизу */
.page-404-wrap{min-height:calc(100vh - 140px);display:flex;align-items:center}
@media (max-width:720px){.page-404-wrap{min-height:calc(100vh - 120px)}}

/* Section page - compact services list */
.section-services__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}

/* 4-column variant (used by interlinking block) */
.section-services__grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Interlinking tweaks: slightly smaller font inside cards */
.service-interlinking .section-service__title{font-size:1rem}

.section-service{display:block;text-decoration:none;color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 14px 12px;transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease}
.section-service:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#1a97f9}

.section-service__top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.section-service__title{margin:0;font-size:1.05rem;line-height:1.25;font-weight:400;color:var(--text)}
.section-service__price{flex:0 0 auto;font-size:.9rem;line-height:1.1;font-weight:800;color:var(--primary,#1a97f9);background:rgba(var(--primary-rgb),.08);border:1px solid rgba(var(--primary-rgb),.14);padding:6px 10px;border-radius:999px;white-space:nowrap}

.section-service__desc{margin-top:8px;color:var(--muted);font-size:.95rem;line-height:1.45}

@media (max-width: 992px){
  .section-services__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section-services__grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section-service{padding:14px}
}

@media (max-width:720px){
  .section-services__grid{grid-template-columns:1fr}
}

@media (max-width: 420px){
  .section-service__top{flex-direction:column;align-items:flex-start}
  .section-service__price{padding:5px 9px}
}

/* --- Fixes for Mobile Menu (2025-01-26) --- */

/* 1. Hide the mobile-only 'Services' special item on Desktop (keep it available on mobile) */
@media (min-width: 721px) {
  .site-nav li.menu-services {
    display: none !important;
  }
}

/* 2. Mobile Menu Styling Overrides */
@media (max-width: 720px) {
  /* CRITICAL: Remove backdrop-filter on header when menu is open
     This fixes the scroll-disappearing bug where backdrop-filter creates
     a new stacking context that breaks position:fixed on child elements */
  body.menu-open .site-header {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10001 !important;
    background: #fff !important;
  }
  
  /* Ensure header-inner content (logo, toggle button) is above nav */
  body.menu-open .site-header .header-inner {
    position: relative !important;
    z-index: 10002 !important;
    background: #fff !important;
  }
  
  /* Nav toggle (hamburger/X) needs to be clickable */
  body.menu-open .site-header .nav-toggle {
    position: relative !important;
    z-index: 10003 !important;
  }

  /* Make the overlay reliably visible and full-height under the header */
  .site-nav {
    top: 0 !important;
    bottom: 0 !important;
    height: auto !important;
    padding-top: var(--mobile-header-h, 64px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    z-index: 10000 !important;
  }

    /* Ensure site-nav shows when open */
    .site-nav.open {
        display: block !important;
    }

    /* Hide all regular menu items on mobile */
    .site-nav > ul > li:not(.menu-services) {
        display: none !important;
    }

    /* Show ONLY the special services item */
    .site-nav > ul > li.menu-services {
        display: block !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        background: transparent !important;
    }

    /* Hide the wrapper title (if any, although it has no text) */
    .site-nav > ul > li.menu-services > a {
        display: none !important;
    }

    /* Show the submenu listing the services */
    .site-nav > ul > li.menu-services > .submenu {
        display: block !important;
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        background: #ffffff !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Styling for the service links */
    .site-nav > ul > li.menu-services > .submenu li {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid #eef3f7 !important;
        margin: 0 !important;
    }
    .site-nav > ul > li.menu-services > .submenu li:last-child {
        border-bottom: none !important;
    }
    .site-nav > ul > li.menu-services > .submenu li a {
        display: block !important;
        padding: 16px 20px !important;
        font-size: 16px !important;
        color: var(--text) !important;
        font-weight: 500 !important;
        text-decoration: none !important;
    }

}

