/* === ПЕРЕМЕННЫЕ === */
:root {
  --accent-color: #0052cc;
  --accent-hover: #003f99;
  --bg-light: #f7f9fb;
  --text-secondary: #d0d0d0;
  --bg-dark: #1c1f26;
  --text-light: #f0f0f0;
}

/* === БАЗОВЫЕ СТИЛИ === */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100vw;
  overflow-x: hidden;
}

a {
  color: var(--accent-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  margin: 0 0 20px;
  font-weight: 600;
}

.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.d-none {
  display: none !important;
}

/* === ШАПКА (ПК оставить как было) === */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 0;
  z-index: 1000;
  position: relative; /* на ПК НЕ фиксируем */
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ПК: старая раскладка */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Логотип (как раньше) */
.logo-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-color);
  text-decoration: none;
  letter-spacing: 0.5px;
}

/* Десктопное меню (как раньше) */
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 10;
}
.main-nav a {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

/* Выпадающее меню (как раньше) */
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 12px 0;
  flex-direction: column;
  text-align: left;
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--accent-color);
  text-decoration: none;
  white-space: nowrap;
}
.dropdown-menu a:hover { background-color: #f0f4ff; }
.dropdown:hover .dropdown-menu { display: flex; }

/* Бургер по умолчанию скрыт на ПК */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  cursor: pointer;
}
.burger span {
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
  display: block;
}

/* Телефон по умолчанию скрыт на ПК */
.phone-icon { display: none; color: var(--accent-color); }
.phone-icon svg { width: 24px; height: 24px; }

/* Базовый адаптив (как было) */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger { display: flex; }
}


/* === Мобильное меню === */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  padding: 20px;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

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

.mobile-menu a {
  margin: 10px 0;
  font-size: 16px;
  color: var(--accent-color);
  text-decoration: none;
}


/* === Подменю (мобильное меню) === */
.mobile-submenu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 8px 0;
}

.submenu-toggle {
  background: none;
  border: none;
  padding: 8px 0;
  font-size: 16px;
  color: var(--accent-color);
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-weight: 400;
}

.submenu-list {
  display: none;
  flex-direction: column;
  padding-left: 16px;
  margin-top: 4px;
  border-left: 2px solid rgba(0, 87, 255, 0.1);
  gap: 4px;
}

.submenu-list a {
  font-size: 15px;
  color: var(--accent-color);
  text-decoration: none;
  padding: 4px 0;
  font-weight: 400;
  line-height: 1.4;
  display: block;
}

.submenu-list a:hover {
  color: #003baf;
}




/* === Адаптив === */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .burger {
    display: flex;
  }
}



/* === HERO === */
.hero {
  padding: 48px 16px 64px;
  background-color: #0052cc;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom right, #0073e6, #0052cc);
  background-size: 20px 20px, 20px 20px, 100% 100%;
  background-repeat: repeat, repeat, no-repeat;
  color: white;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

.hero-content {
  max-width: 540px;
  flex: 1 1 300px;
}

.badge-label {
  display: inline-block;
  font-size: 13px;
  padding: 6px 16px;
  border: 1px solid #ffffff99;
  border-radius: 999px;
  opacity: 0.8;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 48px; /* было 42px */
  font-weight: 800;
  margin-bottom: 8px;
}

.hero h2 {
  font-size: 22px; /* было 20px */
  font-weight: 600;
  margin-bottom: 14px;
  color: #e0eaff;
}

.hero p {
  font-size: 16px;
  color: #e6ecf4;
  margin-bottom: 20px; /* было ок, усилим */
  line-height: 1.5;
}


.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* чуть больше, было 12px */
  margin-top: 40px; /* было 0 — поднимаем чуть ближе к тексту */
  
}

.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px; /* было 8px — чтобы текст не прилипал к иконке */
  font-size: 15px;
  font-weight: 600;
  border-radius: 24px;
  padding: 12px 24px;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 200px;
  max-width: 100%;
}

/* Кнопка Telegram */
.hero-buttons .btn-primary {
  background-color: #ffffff;
  color: #0052cc;
  border: none;
}

.hero-buttons .btn-primary:hover {
  background-color: #e6f0ff;
}

/* Кнопка Позвонить */
.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7); /* было: #ffffff */
  opacity: 0.9;
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: #0052cc;
}

/* SVG иконки в кнопках */
.hero-buttons .btn svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  flex-shrink: 0;
}


/* Аватар */
.avatar img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* === Media === */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
  }

.hero-buttons .btn {
  justify-content: center;
  padding: 12px 20px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  box-sizing: border-box;
}


  .avatar {
    margin-top: 20px;
  }
}








/* === SERVICES === */
.services {
  margin-top: 60px;
  margin-bottom: 40px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch; /* 👈 Добавлено для равной высоты карточек */
}

.service-grid > * {
  flex: 1 1 calc(25% - 1.5rem);
  display: flex;         /* 👈 Обязательно, чтобы вложенные блоки тянулись */
  flex-direction: column;
}


/* Ссылка */
.service-card-link {
  display: block;
  height: 100%;
}

/* Карточка */
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 1.25rem;
  border-radius: 16px;
  background-color: #f0f4ff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover */
.service-card-link:hover .service-card,
.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.15);
  transform: translateY(-2px);
}

/* Иконка */
.service-card .icon {
  margin-bottom: 0.75rem;
  color: var(--accent-color);
}

.service-card .icon svg {
  stroke: currentColor;
  display: block;
  width: 32px;
  height: 32px;
}

/* Заголовок */
.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #003399;
  margin-bottom: 0.5rem;
}

/* Описание */
.service-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
  margin: 0;
}




/* === brand-unpack === */

.brand-unpack-section {
  padding: 40px 0;
  color: #111;
  background-color: #fff;

  /* Инженерная сетка — еле заметная */
  background-image: 
    linear-gradient(rgba(0, 82, 204, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 82, 204, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: top left;
  background-repeat: repeat;
}

.brand-unpack-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 600;
  color: var(--accent-color);
}

.brand-unpack-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.brand-unpack-item h3 {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 20px;
  color: var(--accent-color);
}

.brand-unpack-item p {
  margin: 0;
  line-height: 1.6;
}

.brand-unpack-section p strong {
  display: block;
  margin-top: 40px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  text-align: center;
  letter-spacing: 0.2px;
  line-height: 1.4;
}




/* === why-us === */
.why-section {
  padding: 60px 20px;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.why-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.why-text {
  flex: 1;
  min-width: 300px;
}

.why-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #ffffff;
}

.why-text h2 span {
  font-size: 42px;
  font-weight: 800;
  display: block;
}

.why-text .manifest {
  font-size: 18px;
  line-height: 1.6;
  white-space: normal;
}

.why-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.why-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px; /* отступ между пунктами */
}

.why-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  color: #3366cc; /* светло-голубой в тон сервис-карточкам */
  font-weight: bold;
}

.why-list strong {
  display: inline; /* или inline-block, если нужен контроль */
  font-weight: 600;
  color: #ffffff;
  margin: 0; /* убираем все отступы */
  line-height: 1.2;
}

.why-list span {
  display: inline; /* или inline-block, если нужен контроль */
  font-size: 14px;
  color: #999999;
  margin-left: 8px; /* немного отступа по горизонтали, если нужно */
}




/* === Адаптив === */
@media (max-width: 768px) {
  .why-grid {
    flex-direction: column;
    gap: 40px;
  }

  .why-text h2 {
    font-size: 28px;
  }

  .why-text h2 span {
    font-size: 34px;
  }

  .why-text .manifest {
    font-size: 16px;
  }

  .why-list {
    font-size: 15px;
  }
}




/* === Process Block === */
.process-block {
  padding: 80px 0;
  background-color: #1e1f23;
  color: #fff;
  text-align: center;
  overflow-x: hidden;
  padding: 80px 20px;
  margin-bottom: 0px; /* ← добавляем отступ снизу */	
}

.process-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px;
  border-radius: 16px;
  background: #0052cc;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom right, #0073e6, #0052cc);
  background-size: 20px 20px, 20px 20px, 100% 100%;
  background-repeat: repeat, repeat, no-repeat;
  background-position: top left, top left, center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.process-inner h2 {
  font-size: 28px;
  margin-bottom: 40px;
  font-weight: 600;
  color: #ffffff;
}

.process-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

/* === Steps === */
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 120px;
  flex: 1 1 100px;
}

.step .icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step svg {
  stroke: #ffffff;
  stroke-width: 1.5;
  width: 32px;
  height: 32px;
}

.step .label {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
}

/* === Arrows === */
.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

/* === CTA Buttons === */
.cta-dark {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.btn-dark {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-dark.filled {
  background-color: #ffffff;
  color: #0052cc;
  border: none;
}

.btn-dark.filled:hover {
  background-color: #e6f0ff;
}

.btn-dark.outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-dark.outline:hover {
  background-color: #ffffff;
  color: #0052cc;
}



/* === Mobile Fixes === */
@media (max-width: 600px) {
  .process-inner {
    padding: 32px 16px;
  }

  .process-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .step {
    max-width: 220px;
    width: 100%;
  }

  .arrow svg {
    transform: rotate(90deg);
  }

  .step .icon {
    margin-bottom: 12px;
  }

  .step .label {
    text-align: center;
  }
}

/* === Pricing block === */
.pricing-block {
  background: #f8f9fb;
  padding: 80px 20px;
}

.pricing-container {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.pricing-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.pricing-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.pricing-title {
  font-size: 24px;
  font-weight: 600;
  color: #111;
}

/* Секции */
.pricing-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  padding: 24px;
  margin-bottom: 24px;
  text-align: left;
}

.pricing-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111;
}

.pricing-section p {
  margin: 6px 0;
  line-height: 1.6;
  font-size: 15px;
  color: #333;
}

.pricing-section strong {
  font-weight: 600;
  color: #000;
}

/* CTA */
.pricing-cta {
  margin-top: 32px;
  text-align: center;
}

.pricing-cta .btn {
  display: inline-block;
  background: #00cc66;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: background 0.2s ease;
}

.pricing-cta .btn:hover {
  background: #00b359;
}

/* Мобилка */
@media (max-width: 600px) {
  .pricing-header {
    flex-direction: column;
  }

  .pricing-title {
    font-size: 20px;
  }

  .pricing-section {
    padding: 20px;
  }

.pricing-avatar {
    width: 90px;
    height: 90px;
  }	
	
  .pricing-cta .btn {
    width: 100%;
    max-width: 300px;
  }
	
 .pricing-cta {
    position: fixed;
    bottom: 16px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    pointer-events: none; /* чтобы фон не перекрывал клики */
  }

  .pricing-cta .btn {
    pointer-events: auto; /* только кнопка кликабельна */
    width: calc(100% - 32px);
    max-width: 320px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  body {
    padding-bottom: 90px; /* чтобы контент не скрывался за кнопкой */
  }	

}





/* === b2b block === */
.b2b-block {
  /*background-color: #0c1b2a;
  color: #fff;*/
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.b2b-block h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.b2b-grid {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.b2b-text {
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.b2b-text ul {
  margin: 20px 0;
  padding-left: 20px;
  list-style-type: disc;
}

.b2b-text .muted {
  color: #ccc;
  margin-top: 24px;
  font-size: 14px;
}


/* === Cases Section === */
.cases-preview {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.cases-preview h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #111;
}

/* === Swiper wrapper === */
.cases-swiper {
  margin-top: 2rem;
}

.swiper-wrapper {
  display: flex;
}

/* === Слайд === */
.cases-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  height: auto;
  width: auto;
  flex-shrink: 0;
  box-sizing: border-box;
  max-width: 100%;
}

/* === Ссылка карточки === */
.case-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 360px;
}

/* === Карточка кейса === */
.case-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 82, 204, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 450px;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* === Изображение === */
.case-image {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 2px solid rgba(0, 82, 204, 0.08);
  flex-shrink: 0;
  position: relative;
  font-size: 0; /* ВАЖНО: скрываем текст названия файла */
  line-height: 0;
}

.case-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 8px;
  box-sizing: border-box;
}

/* Скрываем текст после изображения */
.case-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 1;
  display: block;
}

/* Заглушка для изображения */
.case-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0eaff 100%);
  border-radius: 8px;
  z-index: 3;
  position: relative;
}

.case-image-placeholder svg {
  opacity: 0.4;
  width: 50px;
  height: 50px;
}

/* === Контент === */
.case-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.case-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #003399;
  line-height: 1.3;
}

.case-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
  margin-bottom: 1rem;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* === Мета информация === */
.case-meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 82, 204, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  min-height: 40px;
  flex-shrink: 0;
}

.case-price {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1rem;
}

.case-location {
  color: #888;
  font-size: 0.85rem;
}

/* === Hover эффекты === */
.case-card-link:hover .case-card {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 82, 204, 0.15);
  border-color: rgba(0, 82, 204, 0.2);
}

.case-card-link:hover .case-image img {
  transform: scale(1.05);
}

/* === Swiper кнопки === */
.swiper-button-prev,
.swiper-button-next {
  color: var(--accent-color);
}

.swiper-pagination {
  margin-top: 1.5rem;
}

/* === Мобильные стили === */
@media (max-width: 767px) {
  .cases-preview {
    padding: 2rem 0;
  }

  .case-card {
    padding: 1.25rem;
    height: 420px;
    max-width: 320px;
    margin: 0 auto;
  }

  .case-image {
    height: 180px;
    margin-bottom: 1rem;
    border-radius: 10px;
  }
  
  .case-image img {
    padding: 6px;
  }

  .case-card h3 {
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    font-weight: 600;
  }

  .case-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    -webkit-line-clamp: 4;
  }

  .case-meta {
    font-size: 0.9rem;
  }

  .cases-swiper .swiper-slide {
    width: auto;
    padding: 0 10px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .swiper-pagination {
    margin-top: 1.5rem;
  }
}

/* === Для очень маленьких экранов === */
@media (max-width: 480px) {
  .case-card {
    height: 400px;
    max-width: 280px;
    padding: 1rem;
  }

  .case-image {
    height: 160px;
    margin-bottom: 0.875rem;
  }

  .case-image img {
    padding: 4px;
  }

  .case-card h3 {
    font-size: 1rem;
  }

  .case-card p {
    font-size: 0.875rem;
    -webkit-line-clamp: 3;
  }

  .case-meta {
    font-size: 0.85rem;
  }
}




/* === CTA Link Improvements === */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #0057ff;
  background-color: white;
  border: 2px solid #0057ff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-link:hover {
  background-color: #0057ff;
  color: white;
  transform: translateY(-2px);
}

.cta-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.cta-link:hover::after {
  transform: translateX(3px);
}



/* === FAQ === */
.accordion-item {
  border: 1px solid rgba(0, 82, 204, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 16px;
}

.accordion-button {
  background: none;
  border: none;
  padding: 16px 20px;
  width: 100%;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #0052cc;
  cursor: pointer;
  position: relative;
}

.accordion-button::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 20px;
  color: #888;
  transition: 0.3s;
}

.accordion-item.open .accordion-button::after {
  content: '–';
}

.accordion-panel {
  display: none;
  padding: 0 20px 16px;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.accordion-item.open .accordion-panel {
  display: block;
}

.faq-cta {
  margin-top: 40px;
  text-align: center;
  font-size: 16px;
  color: #222;
  line-height: 1.6;
}

.faq-cta a {
  color: var(--accent-color);
  text-decoration: none;
}

.faq-cta a:hover {
  text-decoration: underline;
}


/* === скрол вверх === */

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: white;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.scroll-to-top:hover {
  background-color: var(--accent-hover);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Скрывать на мобильных */
@media (max-width: 767px) {
  .scroll-to-top {
    display: none !important;
  }
}





/* === FOOTER === */
footer {
  background: #f0f0f0;
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: #777;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.footer-nav a {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 14px;
}

/* === Sticky CTA Button (Mobile Only) === */

.cta-inline {
  background-color: #33cc66;
  color: white;
  font-size: 18px;
  padding: 14px 20px;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}


.cta-sticky {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #33cc66;
  color: white;
  font-size: 16px;
  padding: 14px;
  text-align: center;
  border-radius: 8px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Видимая версия */
.cta-sticky.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Скрываем блоковую кнопку на мобильных */
@media screen and (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }
}




/* Breadcrumbs */
.breadcrumbs {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 16px 0;
  margin-bottom: 20px;
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #6c757d;
  line-height: 1.5;
}

.breadcrumbs-list li {
  display: flex;
  align-items: center;
}

.breadcrumbs-list li:not(:last-child) {
  margin-right: 4px;
}

.breadcrumbs-list li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  margin-right: 8px;
  color: #adb5bd;
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
}

.breadcrumbs-list a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.breadcrumbs-list a:hover {
  color: #2563eb;
  text-decoration: underline;
}

.breadcrumbs-list li:last-child span {
  color: #495057;
  font-weight: 500;
  word-break: break-word;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .breadcrumbs {
    padding: 12px 0;
    margin-bottom: 16px;
  }
  
  .breadcrumbs-list {
    font-size: 13px;
  }
  
  .breadcrumbs-list li:not(:last-child)::after {
    margin-left: 6px;
    margin-right: 6px;
    font-size: 14px;
  }
  
  .breadcrumbs-list li:last-child span {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* Центрирование заголовка страницы */
.page-title {
  text-align: center;
  margin-bottom: 30px;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .page-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 1.2;
  }
}


/* CTA блок для кейсов */
.case-cta {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 40px 0;
  margin: 40px 0;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.case-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.case-cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.case-cta h3 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
}

.case-cta p {
  font-size: 18px;
  margin-bottom: 25px;
  opacity: 0.9;
}

.case-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.case-cta .btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.case-cta .btn-primary {
  background: white;
  color: #2563eb;
}

.case-cta .btn-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.case-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.case-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.case-cta-note {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .case-cta {
    padding: 30px 0;
    margin: 30px 0;
  }
  
  .case-cta h3 {
    font-size: 24px;
  }
  
  .case-cta p {
    font-size: 16px;
  }
  
  .case-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .case-cta .btn {
    padding: 14px 20px;
    width: 100%;
    max-width: 280px;
  }
}

/* ===== ТОЛЬКО МОБИЛКА (<=768px) ===== */
@media (max-width: 768px) {
  :root { --header-h: 56px; }

  /* фиксируем шапку только на мобилке */
  .site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1100;
  }
  .site-header .container { height: var(--header-h); }

  /* контент не уезжает под шапку */
  body { padding-top: var(--header-h); }

  /* раскладка: бургер | логотип | трубка */
  .header-inner {
    display: grid !important;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    justify-items: center;
    width: 100%;
  }

  /* бургер слева + синего цвета */
  .burger {
    justify-self: start;
    width: 40px; height: 40px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 4px;
  }
  .burger span {
    display: block;
    width: 22px; height: 3px;
    border-radius: 2px;
    background-color: var(--accent-color) !important;
  }

  /* логотип по центру */
  .logo-text { justify-self: center; }

  /* трубка справа */
  .phone-icon {
    display: flex;               /* показываем только на мобилке */
    justify-self: end;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
  }

  /* мобильное меню раскрывается под шапкой */
  .mobile-menu { top: 100%; }
}
