/* =====================================================
   МАСТЕР РЕМ КЛИМАТ — style.css
   Промышленный климат-сервис, г. Челябинск
   ===================================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  color: #1a1a2e;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* ---------- TYPOGRAPHY HELPERS ---------- */
.font-montserrat { font-family: 'Montserrat', 'Inter', sans-serif; }
.text-uppercase   { text-transform: uppercase; }
.text-center      { text-align: center; }

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SECTION LABEL (маленький заголовок раздела) ---------- */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-label .line {
  width: 32px;
  height: 2px;
  background-color: #1a6fc4;
  flex-shrink: 0;
}

.section-label .line--light {
  background-color: #5b9bd5;
}

.section-label span {
  color: #1a6fc4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-label span.light {
  color: #5b9bd5;
}

/* =====================================================
   HEADER
   ===================================================== */
/* ВСТАВЛЯЕМ ВЗАМЕН: */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background-color: #eef2f5; /* Светло-серый фон как на скриншоте */
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background-color 0.3s ease;
}

.site-header.scrolled {
  background-color: #eef2f5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px; /* Немного увеличили высоту под новый логотип */
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Стили нового логотипа */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo__img {
  display: block;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  color: #0f1c3f; /* Темно-синий цвет текста компании */
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.3px;
}

.logo__sub {
  color: #1669c1; /* Синий цвет подзаголовка */
  font-size: 11px;
  font-weight: 500;
  margin-top: 1px;
}

/* Навигация */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: #0f1c3f; /* Темно-синие пункты меню */
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}

.nav-link:hover {
  color: #1669c1;
}

/* Синяя кнопка с телефоном */
.nav-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1669c1; /* Яркий синий фон */
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.nav-phone-btn:hover {
  background: #0f529c; /* Темнеет при наведении */
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(22, 105, 193, 0.3);
}


/* Burger */
.burger-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  padding: 4px;
  line-height: 0;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: rgba(10, 26, 51, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px 24px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-link {
  display: block;
  font-size: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  width: 100%;
  text-align: left;
  color: #0f1c3f; /* Делаем текст темным */
}


.mobile-menu .nav-phone-btn {
  margin-top: 16px;
  justify-content: center;
  font-size: 16px;
  padding: 14px 20px;
}

/* =====================================================
   HERO (ОБНОВЛЕННАЯ КНОПКА ЗАЯВКИ)
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.32);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(5, 15, 35, 0.96) 0%,
    rgba(10, 40, 90, 0.72) 50%,
    rgba(5, 15, 35, 0.88) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.8) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 128px 24px 88px;
  width: 100%;
}

.hero-inner {
  max-width: 780px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(26, 111, 196, 0.2);
  border: 1px solid rgba(26, 111, 196, 0.4);
  border-radius: 4px;
  padding: 6px 14px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #4CAF50;
  box-shadow: 0 0 8px #4CAF50;
  flex-shrink: 0;
}

.hero-badge span {
  color: #7aa8d4;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* H1 */
.hero h1 {
  color: #ffffff;
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 24px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.5px;
}

.hero h1 .accent {
  color: #5b9bd5;
}

.hero-subtitle {
  color: #9ab8d5;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.72;
  margin-bottom: 40px;
  max-width: 620px;
}

/* CTA buttons */
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1669c1; /* Чистый синий цвет кнопки по скриншоту без резкого градиента */
  color: #fff;
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(22, 105, 193, 0.35); /* Облегченная мягкая тень */
  transition: transform 0.25s, background-color 0.25s, box-shadow 0.25s;
  border: none;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: #0f529c; /* Затемнение при наведении, как на плашке телефона */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 105, 193, 0.55);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: border-color 0.25s, background 0.25s;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

/* Contact strip */
.hero-contacts {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  transition: opacity 0.2s;
}

.hero-phone:hover { opacity: 0.85; color: #fff; }

.hero-email {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9ab8d5;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.hero-email:hover { color: #fff; }

.icon-blue { color: #5b9bd5; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.scroll-indicator span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 3px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}


/* =====================================================
   STATS
   ===================================================== */
.stats-section {
  background-color: #0a1a33;
  padding: 64px 24px;
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.stat-card {
  background-color: #0d2040;
  padding: 40px 28px;
  text-align: center;
  transition: background-color 0.3s;
}

.stat-card:hover {
  background-color: #112650;
}

.stat-value {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: #5b9bd5;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  color: #7a9bbf;
  font-size: 14px;
  line-height: 1.5;
}

/* =====================================================
   SERVICES (ОПТИМИЗИРОВАННЫЙ ПО ВЫСОТЕ)
   ===================================================== */
.services-section {
  padding: 60px 24px; /* Уменьшили внешние отступы секции со 100px */
  background-color: #f8fafd;
}

.section-header {
  margin-bottom: 36px; /* Карточки стали ближе к заголовку секции (было 64px) */
}

.section-header h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  color: #0a1a33;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  max-width: 560px;
  margin-bottom: 16px;
}

.section-header p {
  color: #6b7f96;
  font-size: 16px;
  line-height: 1.7;
  max-width: 600px;
}

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

/* Service Card */
.service-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(10, 26, 51, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(10, 26, 51, 0.16);
}

.card-img-wrap {
  position: relative;
  height: 165px; /* Заметно уменьшили высоту картинки с 220px */
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-img-overlay {
  position: absolute;
  inset: 0;
}

.card-tag {
  position: absolute;
  bottom: 12px; /* Чуть прижали тег к нижнему краю картинки */
  left: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.92;
}

.card-tag svg { opacity: 0.9; }

.card-tag-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.card-body {
  padding: 22px 24px 18px 24px; /* Компактные внутренние отступы (было 28px со всех сторон) */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 18px; /* Слегка уменьшили шрифт заголовка карточки с 20px */
  font-weight: 700;
  color: #0a1a33;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 14px; /* Прижали список ближе к заголовку */
  line-height: 1.3;
}

.card-works {
  flex: 1;
  margin-bottom: 16px; /* Сократили отступ до нижнего синего блока */
}

.card-works li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px; /* Шрифты списка стали чуть аккуратнее (было 14px) */
  color: #4a5f75;
  line-height: 1.4; /* Уплотнили межстрочный интервал с 1.55 */
  padding-bottom: 7px; /* Сжали строчки по вертикали */
  border-bottom: 1px solid #f0f3f7;
  margin-bottom: 0;
}

.card-works li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.check-icon {
  color: #1a6fc4;
  flex-shrink: 0;
  margin-top: 1px;
  line-height: 0;
}

/* Benefit box */
.card-benefit {
  background-color: #f0f6ff;
  border: 1px solid #d0e4f7;
  border-left: 3px solid #1a6fc4;
  border-radius: 8px;
  padding: 12px 14px; /* Сделали плашку «выгоды» ниже и аккуратнее */
}

.card-benefit-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #1a6fc4;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-benefit p {
  font-size: 12.5px; /* Уменьшили шрифт описания выгоды */
  color: #3a5068;
  line-height: 1.45; /* Сжали строки текста */
}

/* =====================================================
   TRUST / ENGINEERING APPROACH (2-column)
   ===================================================== */
.trust-section {
  padding: 100px 24px;
  background-color: #0a1a33;
}

.trust-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.trust-text h2 {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 800;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  margin-bottom: 24px;
}

.trust-text h2 .accent { color: #5b9bd5; }

.trust-text .section-label span { color: #5b9bd5; }

.trust-text p {
  color: #8aa8c5;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.trust-text p strong { color: #c5d8ee; }

.trust-text .btn-primary { margin-top: 8px; }

.trust-img-wrap {
  position: relative;
}

.trust-img-wrap .img-box {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.trust-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.trust-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: #1a6fc4;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.trust-badge-value {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
}

.trust-badge-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin-top: 2px;
}

/* =====================================================
   TRUST ITEMS GRID
   ===================================================== */
.trust-items-section {
  padding: 100px 24px;
  background-color: #ffffff;
}

.trust-items-section .section-label {
  justify-content: center;
}

.trust-items-section h2 {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  color: #0a1a33;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  margin-bottom: 64px;
}

.trust-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-item-card {
  padding: 32px;
  border-radius: 12px;
  border: 1.5px solid #e8eff8;
  background-color: #ffffff;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.trust-item-card:hover {
  border-color: #1a6fc4;
  box-shadow: 0 8px 32px rgba(26, 111, 196, 0.12);
  transform: translateY(-4px);
}

.trust-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a6fc4, #0d4a8f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 20px;
}

.trust-item-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0a1a33;
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
}

.trust-item-card p {
  font-size: 14px;
  color: #6b7f96;
  line-height: 1.7;
}
/* =====================================================
   WAREHOUSE (СЕРТИФИКАТЫ С ПОЛНЫМ ОТОБРАЖЕНИЕМ КАРТИНКИ)
   ===================================================== */
.warehouse-section {
  padding: 80px 24px;
  background-color: #f0f6ff;
}

.warehouse-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.warehouse-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(10, 26, 51, 0.15);
  background-color: transparent; /* Убираем возможный фон под картинкой */
  display: flex;
  align-items: center;     /* Центрируем картинку по вертикали */
  justify-content: center;   /* Центрируем картинку по горизонтали */
  width: 100%;
}

.warehouse-img img {
  width: 100%;
  max-width: 550px;         /* Ограничиваем максимальную ширину, чтобы коллаж не размывался */
  height: auto;             /* Высота теперь подстраивается автоматически, без обрезки краев */
  max-height: 400px;        /* Задаем аккуратную максимальную высоту под размер текста справа */
  object-fit: contain;      /* ГЛАВНОЕ ИЗМЕНЕНИЕ: картинка с сертификатами теперь ВСЯ гарантированно помещается */
  display: block;
  margin: 0 auto;           /* Центрирование */
}

.warehouse-text h2 {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 800;
  color: #0a1a33;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
  line-height: 1.2;
}

.warehouse-text p {
  color: #6b7f96;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.warehouse-text p strong { color: #1a6fc4; }

.warehouse-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #4a5f75;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* =====================================================
   GEOGRAPHY
   ===================================================== */
.geo-section {
  padding: 100px 24px;
  background-color: #0d2040;
}

.geo-section .section-label { justify-content: center; }
.geo-section .section-label .line { background-color: #5b9bd5; }
.geo-section .section-label span { color: #5b9bd5; }

.geo-section h2 {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  margin-bottom: 16px;
}

.geo-subtitle {
  color: #7a9bbf;
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 60px;
  text-align: center;
  line-height: 1.7;
}

.geo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.geo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background-color 0.2s;
}

.geo-card:hover {
  background-color: rgba(255, 255, 255, 0.09);
}

.geo-card-icon { color: #5b9bd5; line-height: 0; flex-shrink: 0; }

.geo-city {
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
}

.geo-time {
  color: #7a9bbf;
  font-size: 13px;
  margin-top: 2px;
}

/* Info strip */
.geo-info-strip {
  padding: 28px 36px;
  background-color: rgba(26, 111, 196, 0.15);
  border: 1px solid rgba(26, 111, 196, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.geo-info-strip .icon { color: #5b9bd5; flex-shrink: 0; line-height: 0; }

.geo-info-strip p {
  color: #c5d8ee;
  font-size: 15px;
  line-height: 1.7;
}

.geo-info-strip strong { color: #fff; }

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, #1a6fc4 0%, #0d4a8f 100%);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: #0d4a8f;
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  color: #0d4a8f;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: border-color 0.25s;
  white-space: nowrap;
}

.btn-outline-white:hover {
  border-color: #fff;
  color: #fff;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background-color: #060f1e;
  padding: 64px 24px 32px;
  color: #7a9bbf;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a6fc4, #0d4a8f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  flex-shrink: 0;
}

.footer-logo-name {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
}

.footer-logo-sub {
  color: #4a6880;
  font-size: 11px;
}

.footer-about p {
  font-size: 13px;
  line-height: 1.8;
  color: #5a7a96;
}

.footer-col h4 {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: color 0.2s;
}

.footer-phone:hover { color: #5b9bd5; }

.footer-email {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7a9bbf;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-email:hover { color: #fff; }

.footer-addr, .footer-time {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #7a9bbf;
}

.footer-addr .icon, .footer-time .icon,
.footer-phone .icon, .footer-email .icon {
  color: #5b9bd5;
  flex-shrink: 0;
  line-height: 0;
  margin-top: 2px;
}

.footer-services li {
  font-size: 13px;
  color: #5a7a96;
  line-height: 1.5;
  margin-bottom: 10px;
}

.footer-services li:last-child { margin-bottom: 0; }

.footer-req {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-req div {
  font-size: 13px;
  color: #5a7a96;
  line-height: 1.7;
}

.footer-req span {
  color: #7a9bbf;
  display: block;
}

/* Map */
.footer-map {
  margin-bottom: 40px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-map iframe {
  display: block;
  border: none;
  filter: brightness(0.82) contrast(1.1);
  width: 100%;
  height: 280px;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: #3d5570;
}

/* =====================================================
   FLOATING CALL BUTTON
   ===================================================== */
.float-call {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a6fc4, #0d4a8f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(26, 111, 196, 0.5);
  transition: transform 0.25s;
  animation: pulseCTA 2.5s ease-in-out infinite;
}

.float-call:hover {
  transform: scale(1.1);
  color: #fff;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes scrollDot {
  0%   { transform: translateY(0);    opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

@keyframes pulseCTA {
  0%   { box-shadow: 0 4px 20px rgba(26, 111, 196, 0.5); }
  50%  { box-shadow: 0 4px 32px rgba(26, 111, 196, 0.85), 0 0 0 8px rgba(26, 111, 196, 0.15); }
  100% { box-shadow: 0 4px 20px rgba(26, 111, 196, 0.5); }
}

/* =====================================================
   COUNTER (JS-driven, just style wrapper)
   ===================================================== */
.counter-val {
  display: inline;
}

/* =====================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ===================================================== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .geo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* =====================================================
   RESPONSIVE — MOBILE (СТРОГО ПО 12 СКРИНШОТАМ)
   ===================================================== */
/* =====================================================
   RESPONSIVE — MOBILE (≤ 768px) 
   ===================================================== */
/* =====================================================
   Итоговый исправленный блок для мобильных (ОБНОВИТЬ В САМОМ НИЗУ ФАЙЛА)
   ===================================================== */
@media (max-width: 768px) {
  
  /* 1. ШАПКА: Скрываем лишнее, выравниваем логотип и бургер по краям */
  .desktop-nav,
  .header-actions {
    display: none !important;
  }

  .header-inner {
    height: 64px; 
    padding: 0 16px; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
  }

  .logo__img {
    width: 32px !important;  
    height: 32px !important;
  }

  .logo__name {
    font-size: 12px !important; 
    line-height: 1.2;
  }

  .logo__sub {
    font-size: 8px !important; 
    letter-spacing: 0.5px;
  }

  .burger-btn {
    display: flex !important; 
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #0f1c3f !important; 
    font-size: 24px; 
    padding: 8px;
    z-index: 1001; 
  }

  /* 2. ФОН И ПЕРВЫЙ БЛОК (HERO): Подстраиваем под шапку и центрируем трубы */
  .hero {
    min-height: auto !important; 
    height: auto !important;
    padding-top: 64px !important; /* Оставляем место строго под мобильную шапку */
  }

  .hero-bg {
    position: absolute !important;
    inset: 0 !important;
    background-position: center center !important; /* Трубы больше не уезжают вбок */
    background-size: cover !important;
  }

  .hero-content {
    padding: 40px 16px 60px 16px !important; /* Текст и кнопки не улетают вниз */
    width: 100% !important;
  }

  .hero h1 {
    font-size: 24px !important; 
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }

  .hero-subtitle {
    font-size: 14px !important; 
    margin-bottom: 24px !important;
  }

  .hero-cta { 
    flex-direction: column;
  }

  .btn-primary, .btn-secondary { 
    width: 100%; 
    justify-content: center;
  }

  .hero-contacts { 
    flex-direction: column; 
    gap: 16px;
  }

  /* 3. УСЛУГИ И КАРТОЧКИ: Перестраиваем в 1 колонку */
  .services-grid { 
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    width: 100% !important;
  }

  .service-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 4. ОСТАЛЬНЫЕ БЛОКИ САЙТА: Сохраняем стабильную адаптивность */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trust-img-wrap { 
    order: -1;
  }

  .trust-badge { 
    bottom: -12px; 
    left: 12px;
  }

  .trust-items-grid { 
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
  }

  .warehouse-grid { 
    grid-template-columns: 1fr; 
    gap: 40px;
  }

  .geo-grid { 
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 32px;
  }

  .footer-bottom { 
    flex-direction: column; 
    text-align: center;
  }

  .float-call { 
    bottom: 24px; 
    right: 24px; 
    width: 52px; 
    height: 52px;
  }

  .cta-buttons { 
    flex-direction: column; 
    align-items: center;
  }

  .btn-white, .btn-outline-white { 
    width: 100%;
    max-width: 360px; 
    justify-content: center;
  }
}




/* ==========================================================================
   ИНТЕГРАЦИЯ БЕСКОНЕЧНОЙ МОБИЛЬНОЙ КАРУСЕЛИ (СТРОГО ДЛЯ ЭКРАНОВ <= 768px)
   ========================================================================== */
/* ==========================================================================
   ОБЪЕДИНЕННЫЕ СТИЛИ МОБИЛЬНЫХ КАРУСЕЛЕЙ (СТРОГО ДЛЯ ЭКРАНОВ <= 768px)
   ========================================================================== */
@media (max-width: 768px) {
    
    /* Окна видимости для обеих каруселей (прячут выходящие слайды) */
    .services-carousel-window,
    .trust-carousel-window {
        overflow: hidden !important;
        display: block !important;
        width: 100% !important;
        position: relative !important;
        padding: 10px 0 25px 0 !important;
    }

    /* Превращаем Grid-сетки в горизонтальные Flex-линии */
    .services-grid,
    .trust-items-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        will-change: transform;
    }

    /* Адаптация карточек: строго по ширине экрана */
    .services-grid .service-card,
    .trust-items-grid .trust-item-card {
        display: flex !important;
        flex-direction: column !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 16px !important; 
        background-clip: content-box !important;
    }
    
    /* Дополнительное выравнивание для блока преимуществ */
    .trust-items-grid .trust-item-card {
        text-align: center !important;
    }

    /* Контейнеры точек навигации над каруселями */
    .services-carousel-dots,
    .trust-carousel-dots {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        min-height: 12px !important;
    }

    /* Стили для неактивных круглых точек */
    .services-carousel-dots .dot,
    .trust-carousel-dots .dot {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        background-color: #64748b !important;
        opacity: 0.25 !important;
        cursor: pointer !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    /* Стили для активной овальной точки (как в услугах) */
    .services-carousel-dots .dot.active,
    .trust-carousel-dots .dot.active {
        background-color: #0ea5e9 !important;
        opacity: 1 !important;
        width: 26px !important;
        border-radius: 6px !important;
    }
}

/* Безопасное отключение каруселей на компьютерах */
@media (min-width: 769px) {
    .services-carousel-dots, 
    .trust-carousel-dots {
        display: none !important;
    }
    .services-grid, 
    .trust-items-grid {
        transform: none !important;
    }
}

/* Выравнивание цвета и РАЗМЕРА шрифта ссылки политики конфиденциальности */
.footer-bottom a {
    color: inherit;         /* Наследует цвет соседнего текста */
    font-size: inherit;     /* НА СТО ПРОЦЕНТОВ наследует высоту соседнего текста */
    text-decoration: underline; /* Оставляем аккуратное подчеркивание */
    transition: opacity 0.2s ease;
}

/* Эффект при наведении мышки */
.footer-bottom a:hover {
    opacity: 0.8;
    color: var(--primary-light-blue, #5b9bd5); /* Легкая подсветка при наведении */
}