/* Базовые стили */
:root {
  --primary-color: #77af01;
  --secondary-color: #77af01;
  --accent-color: #5cb800;
  --dark-color: #1e3a5f;
  --light-color: #f8f9fa;
  --text-color: rgba(50, 50, 50, 1);
  --text-light: #666;
  --border-color: #e0e0e0;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --green-bg: rgb(119, 175, 1);
  --gray-bg: oklch(96.7% 0.001 286.375);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  width: 100%;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--dark-color);
  text-transform: uppercase;
}

.subsection-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.btn:hover {
  background-color: #5a8c01;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Фоновые цвета - теперь на всю ширину */
.bg-green {
  background-color: var(--green-bg);
  color: white;
}

.bg-green .section-title {
  color: white;
}

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

/* Навигация - исправленная структура */
.navbar {
  background-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(42, 56, 25, 0.08);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

body.nav-open {
  overflow: hidden;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  position: relative;
  gap: 40px;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: "Roboto", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-color);
  text-decoration: none;
  white-space: normal;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.logo-slogan {
  position: relative;
  display: block;
  width: 200px;
  height: 46px;
  margin-top: 0;
  white-space: nowrap;
}

.logo-title {
  position: absolute;
  top: 6px;
  left: 0;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-color);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.logo-subtitle {
  position: absolute;
  left: 0;
  top: 38px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links-wrapper {
  margin-left: 40px; /* Отступ от логотипа */
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.95rem;
  white-space: nowrap;
  padding: 5px 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.nav-contact-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
}

.startup-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.95rem;
  white-space: nowrap;
  padding: 5px 0;
  position: relative;
}

.startup-link:hover {
  color: var(--secondary-color);
}

.phone-link {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.phone-link:hover {
  color: #5a8c01;
}

.sk-logo {
  height: 35px;
  width: auto;
  margin-left: 5px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  position: absolute;
  right: 20px;
  z-index: 1002;
  padding: 8px;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* Герой секция с видео как основным элементом - ПОЛНОСТЬЮ ПЕРЕРАБОТАНА */
.hero {
  background-color: var(--green-bg); /* Зеленый фон всей секции */
  width: 100%;
  padding: 100px 0 60px;
  margin-top: 70px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-slider-wrapper {
  width: 100%;
  max-width: 1280px;
  display: flex;
  justify-content: center;
}

.hero .form-hero-slider {
  min-width: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Слайдер в герое — как на /form */
.hero .features-slider {
  position: relative;
  max-width: 760px;
  width: min(100%, 760px);
  margin: 0 auto;
  flex: 0 1 auto;
}

.hero .features-slider-track {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.hero .features-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  pointer-events: none;
  padding: 0;
  gap: 0;
  grid-template-columns: unset;
}

.hero .features-slide.features-slide-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero .features-slide-photo {
  flex: 1;
  min-height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #0b0b0b;
}

.hero .features-slide-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.12);
  opacity: 0.7;
}

.hero .features-slide-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 80% at 50% 50%,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.55) 70%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
}

.hero .features-slide-photo .features-slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 0;
}

.hero .features-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px 24px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  text-align: center;
}

.hero .features-slide-caption-text {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .hero .features-slider-arrow {
    display: none;
  }

  .hero .features-slider-track {
    aspect-ratio: auto;
    height: 400px;
  }

  .hero .features-slide-photo {
    min-height: 240px;
  }

  .hero .features-slide-caption {
    padding: 16px 18px;
  }

  .hero .features-slide-caption-text {
    font-size: 1.05rem;
  }
}

@media (max-width: 400px) {
  .hero .features-slider-track {
    height: 340px;
  }

  .hero .features-slide-photo {
    min-height: 210px;
  }

  .hero .features-slide-caption {
    padding: 12px 14px;
  }

  .hero .features-slide-caption-text {
    font-size: 0.95rem;
  }
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content .btn {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
  padding: 16px 42px;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.hero-content .btn:hover {
  background-color: transparent;
  color: white;
  border-color: white;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
}

.hero-content .btn-hero-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.88);
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.3px;
  box-shadow: none;
  max-width: 100%;
  text-align: center;
  line-height: 1.35;
}

.hero-content .btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slogan {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Преимущества решений — макет как на изображении */
.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.advantage-row {
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
  align-items: center;
  column-gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.advantage-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 145px;
  width: 100%;
  max-width: 460px;
}

.advantage-pill-bg {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
}

.advantage-pill-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 40px;
}

.advantage-pill-icon {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex-shrink: 0;
}

.advantage-pill-title {
  font-family: "Roboto medium", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #69a300;
}

.advantage-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #1b4d5c;
  margin: 0;
  font-weight: 500;
}

/* Адаптивность для секции преимуществ */
@media (max-width: 992px) {
  .advantage-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
    justify-items: center;
    text-align: center;
  }

  .advantage-text {
    max-width: 600px;
    text-align: left;
  }

  .advantage-pill {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .advantages-list {
    gap: 22px;
  }

  #advantages .section-title {
    text-align: center;
  }

  .advantage-row {
    text-align: center;
  }

  .advantage-pill {
    justify-content: center;
    padding-left: 0;
  }

  .advantage-pill-content {
    padding: 0 24px;
    justify-content: center;
    text-align: left;
  }

  .advantage-pill-bg {
    max-width: 100%;
  }

  .advantage-pill-icon {
    width: 52px;
    height: 52px;
  }

  .advantage-pill-title {
    font-size: 1.2rem;
  }

  .advantage-text {
    text-align: left;
  }

  .advantage-text p {
    font-size: 0.98rem;
  }
}

@media (max-width: 576px) {
  .advantage-pill-content {
    gap: 12px;
    padding: 0 16px;
  }

  .advantage-pill-icon {
    width: 44px;
    height: 44px;
  }

  .advantage-pill-title {
    font-size: 1.05rem;
  }
}

/* Интеграция */
.integration-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px 60px;
  max-width: 900px;
  margin: 32px auto 0;
  box-shadow: var(--shadow);
}

.integration-title {
  text-align: left;
  margin-bottom: 12px;
}

.integration-bullets {
  list-style: disc;
  margin: 0;
  padding-left: 24px;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
}

.integration-bullets li + li {
  margin-top: 4px;
}

/* Выгода — компоновка как на схеме */
#benefits .section-title {
  color: #333333;
  text-align: left;
}

.benefits-flow {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 40px;
}

.benefits-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 60px;
}

.benefits-row-middle {
  margin-top: 10px;
}

.benefit-pill-card {
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px 34px;
}

.benefit-pill-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.benefit-pill-icon {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.02);
  color: var(--secondary-color);
  font-size: 1.8rem;
  flex-shrink: 0;
}

.benefit-pill-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.benefit-pill-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-color);
  flex: 1;
  text-align: center;
}

.benefit-text-block {
  color: #333333;
  max-width: none;
}

.benefit-text-accent {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--light-color);
}

.benefit-text-block p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 700;
}

.benefit-arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -10px 0;
  min-height: 84px;
}

.benefit-arrow-img {
  max-width: 280px;
  height: auto;
  display: block;
}

@media (max-width: 992px) {
  .benefits-flow {
    display: flex;
    flex-direction: column;
  }

  .benefits-row {
    display: contents;
  }

  .benefit-arrow-wrapper {
    display: none !important;
  }

  .benefits-flow .benefits-row:nth-of-type(1) .benefit-pill-card {
    order: 1;
  }
  .benefits-flow .benefits-row:nth-of-type(1) .benefit-text-block {
    order: 2;
  }
  .benefits-flow .benefits-row:nth-of-type(2) .benefit-text-block {
    order: 3;
  }
  .benefits-flow .benefits-row:nth-of-type(2) .benefit-pill-card {
    order: 4;
  }
  .benefits-flow .benefits-row:nth-of-type(3) .benefit-pill-card {
    order: 5;
  }
  .benefits-flow .benefits-row:nth-of-type(3) .benefit-text-block {
    order: 6;
  }

  .benefits-flow .benefit-pill-card,
  .benefits-flow .benefit-text-block {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .benefits-flow {
    gap: 40px;
  }

  .benefit-pill-card {
    padding: 22px 24px;
  }

  .benefit-pill-icon {
    width: 64px;
    height: 64px;
    font-size: 1.6rem;
  }

  .benefit-pill-title {
    font-size: 1rem;
    letter-spacing: 0.12em;
  }

  .benefit-text-accent {
    font-size: 1.4rem;
  }

  .benefit-text-block p {
    font-size: 0.98rem;
  }
}

/* О нашей работе — как на макете */
.about-section {
  position: relative;
  border-top: 4px solid var(--primary-color);
}

.about-title-cell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-section-title {
  text-align: left;
  color: #333333;
  margin: 0;
  white-space: nowrap;
}

.about-videos {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 60px;
}

.about-video-row {
  display: grid;
  grid-template-columns: minmax(200px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.about-video-caption {
  font-size: 1.15rem;
  color: #333333;
  margin: 0;
  line-height: 1.5;
}

.about-video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  border-radius: 8px;
  background-color: #000;
}

.about-video-frame video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-video-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-video-controls button {
  pointer-events: auto;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.about-video-controls button:hover {
  opacity: 0.9;
}

.about-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  font-size: 2rem;
}

.about-video-play i {
  margin-left: 4px;
}

.about-video-frame.playing .about-video-play {
  opacity: 0;
  pointer-events: none;
}

.about-video-frame.playing:hover .about-video-play {
  opacity: 1;
  pointer-events: auto;
}

.about-video-mute {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .about-videos {
    gap: 32px;
  }

  .about-video-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-title-cell {
    gap: 12px;
  }

  .about-section-title {
    font-size: 1.75rem;
  }

  .about-video-caption {
    order: 1;
  }

  .about-video-frame {
    order: 2;
  }
}

@media (max-width: 480px) {
  .about-section-title {
    font-size: 1.5rem;
  }
}

/* Получить опросник — зелёная полоса */
.questionnaire-cta {
  padding: 32px 0;
}

.questionnaire-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.questionnaire-cta-text {
  margin: 0;
  font-size: 1.25rem;
  color: white;
  font-weight: 500;
}

.btn-questionnaire {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
}

.btn-questionnaire:hover {
  background-color: #fff;
  color: #5a8c01;
}

/* Особенности — слайдер */
.features-section .section-title {
  text-align: center;
  color: #333333;
  margin-bottom: 36px;
}

.features-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.features-slider-track {
  position: relative;
  height: 440px;
}

.features-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  gap: 40px;
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 32px 72px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  pointer-events: none;
  overflow: hidden;
}

.features-slide.features-slide-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.features-slide-icon {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #4a4a4a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: start;
}

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

.features-slide-image-right {
  grid-template-columns: 1fr 200px;
}

.features-slide-image-right .features-slide-content {
  order: 1;
}

.features-slide-image-right .features-slide-icon {
  order: 2;
}

.features-slide-content {
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  overflow-y: visible;
  overflow-wrap: break-word;
}

.features-slide-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 2px solid #333;
  padding-bottom: 8px;
  display: inline-block;
}

.features-slide-item {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 14px;
}

.features-slide-item:last-child {
  margin-bottom: 0;
}

.features-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: none;
  background: transparent;
  color: var(--primary-color);
  font-size: 2.25rem;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  line-height: 1;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-slider-arrow:hover {
  opacity: 0.8;
}

.features-slider-prev {
  left: 12px;
}

.features-slider-next {
  right: 12px;
}

.features-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.features-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.features-slider-dot.active {
  background: var(--primary-color);
}

@media (max-width: 768px) {
  .features-slider-arrow {
    display: none;
  }

  .features-slider-track {
    height: 600px;
  }

  .features-slide {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 20px;
  }

  .features-slide-content {
    overflow-y: visible;
    max-height: none;
  }

  .features-slide-icon {
    width: 200px;
    height: 200px;
    font-size: 2.5rem;
    margin: 28px auto;
    justify-self: center;
  }

  .features-slide-title {
    font-size: 1.15rem;
  }

  .features-slide-item {
    font-size: 0.9375rem;
    margin-bottom: 10px;
    line-height: 1.5;
  }
}

/* Mobile S (320px) — слайдер «Особенности»: картинка меньше, текст не наезжает */
@media (max-width: 400px) {
  .features-slider-track {
    height: auto;
    min-height: 420px;
  }

  .features-slide {
    padding: 16px 12px;
    gap: 12px;
    grid-template-rows: auto 1fr;
  }

  .features-slide-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 8px;
  }

  .features-slide-title {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .features-slide-item {
    font-size: 0.875rem;
    margin-bottom: 8px;
    line-height: 1.45;
  }
}

.feature-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 5px solid var(--secondary-color);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* Почему нам можно доверять — слайдер */
.trust-section {
  background-color: var(--green-bg);
}

.trust-section-title {
  color: white !important;
  text-align: center;
  margin-bottom: 40px;
}

.trust-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.trust-slider-track {
  position: relative;
  min-height: 360px;
  margin: 0 80px; /* больше отступ от стрелок */
}

.trust-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 48px;
  padding: 20px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.trust-slide.trust-slide-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  /* без position: relative — все слайды в стеке, нет прыжка при переключении */
}

.trust-slide-text {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-slide-text h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-slide-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: white;
  margin: 0;
  opacity: 0.95;
}

/* Картинки: один размер, без обрезки и без "полос".
   Трюк как в медиа-плеерах: снизу "cover"-фон из той же картинки (размыт),
   сверху — основная картинка "contain" (целиком). */
.trust-slide-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #fff;
}

.trust-slide-image::before {
  content: "";
  position: absolute;
  inset: -24px;
  background-image: var(--trust-img);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.08);
  opacity: 0.85;
}

.trust-slide-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
}

.trust-slide-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* Стрелки — по краям слайдера, контент за счёт margin трека не перекрывается */
.trust-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.trust-slider-arrow:hover {
  opacity: 0.85;
}

.trust-slider-prev {
  left: 8px;
}

.trust-slider-next {
  right: 8px;
}

.trust-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.trust-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.trust-slider-dot.active {
  background: white;
}

/* Планшеты */
@media (max-width: 992px) {
  .trust-slider-track {
    margin: 0 64px;
  }

  .trust-slider-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
  }
}

/* Планшеты вертикально и крупные телефоны */
@media (max-width: 768px) {
  .trust-slider-track {
    margin: 0 56px;
    min-height: 480px;
  }

  .trust-slider-dots {
    margin-top: 24px;
    gap: 8px;
  }

  .trust-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .trust-slide-text h3 {
    font-size: 1.5rem;
  }

  .trust-slide-text p {
    font-size: 0.98rem;
  }

  .trust-slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}

/* Mobile M (375px) и меньше — стрелки скрыты, навигация только по точкам */
@media (max-width: 480px) {
  .trust-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .trust-section-title {
    margin-bottom: 24px;
  }

  .trust-slider-arrow {
    display: none !important;
  }

  .trust-slider-track {
    margin: 0;
    min-height: 420px;
  }

  .trust-slider-dots {
    margin-top: 20px;
    gap: 6px;
  }

  .trust-slide {
    gap: 20px;
    padding: 16px 0;
  }

  .trust-slide-text h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }

  .trust-slide-text p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .trust-slider-dot {
    width: 10px;
    height: 10px;
    border-width: 1.5px;
  }
}

/* Mobile S (320px) — стрелки скрыты, только точки (места мало) */
@media (max-width: 360px) {
  .trust-section .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .trust-slider-arrow {
    display: none !important;
  }

  .trust-slider-track {
    margin: 0;
    min-height: 340px;
  }

  .trust-slider-dots {
    margin-top: 16px;
    gap: 6px;
  }

  .trust-section-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .trust-slide-text h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .trust-slide-text p {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .trust-slider-dot {
    width: 8px;
    height: 8px;
  }
}

/* Технология */
.technology-infographic {
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.technology-infographic img {
  width: 100%;
  height: auto;
  display: block;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 24px auto 0;
  max-width: 900px;
}

.tech-item {
  background-color: white;
  padding: 16px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: var(--transition);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.tech-item:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: scale(1.03);
}

/* Применяемое оборудование (полоска) */
.equipment-section .section-title {
  color: white;
}

.equipment-title {
  color: white !important;
}

.equipment-description {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
  color: white;
  opacity: 0.95;
}

.equipment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 48px 64px;
}

.equipment-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  max-width: 260px;
  min-height: 165px;
}

/* Область под логотип — одинаковая высота у всех трёх, логотипы выровнены по центру */
.equipment-logo-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  width: 100%;
}

/* СПРУТ — чуть крупнее */
.equipment-logo-item:nth-child(2) .equipment-logo-img-wrap {
  min-height: 140px;
}

.equipment-logo-item:nth-child(2) .equipment-logo-img {
  max-height: 140px;
}

/* Intrascada (SCADA) — намного крупнее */
.equipment-logo-item:nth-child(3) {
  max-width: 330px;
  flex: 0 1 330px;
}

.equipment-logo-item:nth-child(3) .equipment-logo-img-wrap {
  min-height: 140px;
}

.equipment-logo-item:nth-child(3) .equipment-logo-img {
  width: 100%;
  height: auto;
  max-width: 330px;
  max-height: 150px;
}

.equipment-logo-img-wrap picture {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.equipment-logo-img {
  max-height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.equipment-logo-label {
  font-size: 0.9rem;
  color: white;
  text-align: center;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .equipment-logos {
    gap: 32px 40px;
  }

  .equipment-logo-img-wrap {
    min-height: 90px;
  }

  .equipment-logo-item:nth-child(2) .equipment-logo-img-wrap {
    min-height: 100px;
  }

  .equipment-logo-item:nth-child(2) .equipment-logo-img {
    max-height: 100px;
  }

  .equipment-logo-item:nth-child(3) .equipment-logo-img-wrap {
    min-height: 120px;
  }

  .equipment-logo-item:nth-child(3) .equipment-logo-img {
    max-width: 260px;
    max-height: 125px;
  }

  .equipment-logo-img {
    max-height: 90px;
  }

  .equipment-logo-item {
    min-height: 130px;
    max-width: 220px;
  }

  .equipment-logo-item:nth-child(3) {
    max-width: 260px;
    flex: 0 1 260px;
  }

  .equipment-logo-label {
    font-size: 0.85rem;
  }
}

/* Опыт инсталляций (слайдер) */
.experience-section .section-title {
  color: var(--dark-color);
}

.experience-description {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-color);
}

.experience-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.experience-slider-track {
  position: relative;
  min-height: 420px;
  margin: 0 80px; /* стрелки по краям, контент не перекрывается — как у trust */
}

.experience-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.experience-slide.experience-slide-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  /* без position: relative — все слайды в стеке, без прыжка при переключении */
}

/* Картинки: один размер, без обрезки и без полос — как в «Почему нам можно доверять».
   Размытый фон из той же картинки + основная картинка contain (целиком). */
.experience-slide-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  background: var(--gray-bg);
}

.experience-slide-image::before {
  content: "";
  position: absolute;
  inset: -24px;
  background-image: var(--experience-img);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.08);
  opacity: 0.85;
}

.experience-slide-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
}

.experience-slide-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.experience-slide-caption {
  margin-top: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.experience-slide-caption strong {
  font-size: 1.1rem;
  color: var(--dark-color);
}

.experience-slide-caption span {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* Стрелки — как у trust: по краям, прозрачный фон, иконка */
.experience-slider-prev,
.experience-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.experience-slider-prev:hover,
.experience-slider-next:hover {
  opacity: 0.85;
}

.experience-slider-prev {
  left: 8px;
}

.experience-slider-next {
  right: 8px;
}

.experience-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.experience-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.experience-slider-dot.active {
  background: var(--primary-color);
}

@media (max-width: 992px) {
  .experience-slider-track {
    margin: 0 64px;
  }

  .experience-slider-prev {
    left: 4px;
  }

  .experience-slider-next {
    right: 4px;
  }
}

@media (max-width: 768px) {
  .experience-slider-track {
    min-height: 360px;
    margin: 0 56px;
  }

  .experience-slider-prev,
  .experience-slider-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .experience-slider-track {
    margin: 0;
  }

  .experience-slider-prev,
  .experience-slider-next {
    display: none;
  }
}

/* Секция «Отправить запрос» — CTA на /form (зелёный фон) */
.contact-section.bg-green .section-title {
  color: white;
}

.contact-cta {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
}

.contact-cta-text {
  color: white;
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 0 24px;
  opacity: 0.95;
}

.contact-cta-btn {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  padding: 16px 36px;
  font-size: 1.1rem;
}

.contact-cta-btn:hover {
  background-color: #fff;
  color: #5a8c01;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(119, 175, 1, 0.2);
}

.submit-btn {
  width: 100%;
  font-size: 1.2rem;
  padding: 16px;
}

.success-message {
  text-align: center;
  padding: 60px 20px;
  display: none;
}

.success-message i {
  font-size: 5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.success-message h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* Футер */
.footer {
  background-color: var(--green-bg);
  color: white;
  padding: 60px 0 30px;
  width: 100%;
}

/* Домовой — футер в стилистике лендинга */
.footer.footer-domovoy {
  background: var(--green-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 30px 0 26px;
}

.footer.footer-domovoy .container {
  max-width: 1360px;
  padding-left: 24px;
  padding-right: 24px;
}

.footer-domovoy__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
}

.footer-domovoy__brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 340px;
  flex: 1 1 460px;
}

.footer-domovoy__logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.footer-domovoy__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.footer-domovoy__logo img {
  display: block;
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.footer-domovoy__logo:hover img {
  transform: translateY(-1px);
}

.footer-domovoy__logo--domovoy img {
  height: 54px;
}

.footer-domovoy__logo--masic img {
  height: 48px;
}

.footer-domovoy__company {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 700;
  color: #ffffff;
  max-width: 420px;
}

.footer-domovoy__address {
  font-size: 0.96rem;
  line-height: 1.35;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  flex: 0 1 250px;
  min-width: 220px;
}

.footer-domovoy__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  flex: 0 1 230px;
  min-width: 200px;
}

.footer-domovoy__contact a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.footer-domovoy__contact a:hover {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.footer-domovoy__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.footer-domovoy__socials a {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.footer-domovoy__socials a:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

@media (max-width: 1240px) {
  .footer-domovoy__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 16px 24px;
  }

  .footer-domovoy__socials {
    margin-left: 0;
    justify-content: flex-start;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-slogan {
  font-size: 1.2rem;
  margin-bottom: 15px;
  opacity: 0.9;
}

.footer-sk-logo {
  height: 60px;
  width: auto;
  margin-top: 10px;
}

.footer-info p {
  margin-bottom: 10px;
  opacity: 0.9;
}

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

.footer-contact a {
  color: white;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

@media (max-width: 992px) {
  .footer.footer-domovoy .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-domovoy__inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 14px;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
  }

  .footer-domovoy__brand {
    min-width: 0;
    width: 100%;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .footer-domovoy__logos {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-domovoy__company,
  .footer-domovoy__address,
  .footer-domovoy__contact {
    white-space: normal;
    text-align: center;
  }

  .footer-domovoy__address,
  .footer-domovoy__contact {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .footer-domovoy__socials {
    justify-content: center;
    margin-left: 0;
  }
}

@media (max-width: 800px) {
  .footer.footer-domovoy {
    padding: 24px 0 18px;
  }

  .footer.footer-domovoy .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-domovoy__inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 12px;
    max-width: 420px;
    margin: 0 auto;
  }

  .footer-domovoy__brand {
    min-width: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .footer-domovoy__logos {
    gap: 12px;
    flex-wrap: wrap;
  }

  .footer-domovoy__logo--domovoy img {
    height: 48px;
  }

  .footer-domovoy__logo--masic img {
    height: 42px;
  }

  .footer-domovoy__address,
  .footer-domovoy__contact {
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .footer-domovoy__company {
    max-width: 100%;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .footer-domovoy__address {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .footer-domovoy__contact {
    gap: 4px;
  }

  .footer-domovoy__contact a {
    font-size: 0.97rem;
  }

  .footer-domovoy__socials {
    justify-content: center;
    width: auto;
    margin-left: 0;
    gap: 8px;
  }

  .footer-domovoy__socials a {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 576px) {
  .footer-domovoy__inner {
    max-width: 360px;
    gap: 10px;
  }

  .footer-domovoy__logo--domovoy img {
    height: 44px;
  }

  .footer-domovoy__logo--masic img {
    height: 38px;
  }

  .footer-domovoy__company {
    font-size: 0.9rem;
  }

  .footer-domovoy__address {
    font-size: 0.88rem;
  }

  .footer-domovoy__contact a {
    font-size: 0.93rem;
  }

  .footer-domovoy__socials a {
    width: 42px;
    height: 42px;
  }
}

/* Адаптивность */
@media (max-width: 1400px) {
  .nav-container {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .nav-right {
    flex: 1 1 100%;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
  }

  .nav-links-wrapper {
    margin-left: 0;
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  .nav-contact-wrapper {
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .slogan {
    font-size: 1.5rem;
  }
}

@media (max-width: 1100px) {
  .nav-container {
    min-height: 72px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 12px 72px 12px 14px;
  }

  .nav-left {
    min-width: 0;
    max-width: calc(100% - 56px);
  }

  .logo {
    align-items: center;
    gap: 10px;
  }

  .logo-slogan {
    width: 180px;
    height: 40px;
  }

  .logo-title {
    top: 4px;
    font-size: 1rem;
  }

  .logo-subtitle {
    top: 25px;
    font-size: 0.66rem;
  }

  .menu-toggle {
    display: flex;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
  }

  .nav-right {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    width: auto;
    background-color: rgba(255, 255, 255, 0.92);
    flex-direction: column;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    padding: 18px 16px 24px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(42, 56, 25, 0.12);
    z-index: 1001;
    gap: 16px;
  }

  .nav-right.active {
    display: flex;
  }

  .nav-links-wrapper {
    margin-left: 0;
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .nav-links a,
  .startup-link {
    font-size: 1rem;
    padding: 8px 0;
    text-align: center;
  }

  .nav-contact-wrapper {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
  }

  .phone-link {
    justify-content: center;
  }

  .sk-logo {
    margin-left: 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 40px;
  }

  .hero-content {
    text-align: left;
    margin: 0;
  }

  .hero-container {
    gap: 30px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .slogan {
    font-size: 1.3rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .section {
    padding: 60px 0;
  }

  .hero-slider-wrapper {
    border-radius: 8px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  .nav-container {
    min-height: 68px;
    padding: 10px 64px 10px 12px;
  }

  .menu-toggle {
    right: 10px;
  }

  .logo-img {
    height: 44px;
  }

  .logo-slogan {
    width: 168px;
    height: 36px;
  }

  .logo-title {
    top: 4px;
    font-size: 0.9rem;
  }

  .logo-subtitle {
    top: 23px;
    font-size: 0.58rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .slogan {
    font-size: 1.2rem;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .advantage-card,
  .benefit-card,
  .feature-card {
    padding: 20px;
  }

  .sk-logo {
    height: 30px;
  }
}

/* Mobile S (320px) — бургер всегда виден, логотип не вытесняет кнопку */
@media (max-width: 400px) {
  .nav-container {
    min-height: 64px;
    padding: 8px 58px 8px 10px;
  }

  .menu-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    right: 6px;
    padding: 8px;
  }

  .logo-img {
    height: 38px;
  }

  .logo-slogan {
    width: 146px;
    height: 31px;
    margin-top: 0;
  }

  .logo-title {
    font-size: 0.8rem;
    top: 3px;
  }

  .logo-subtitle {
    font-size: 0.5rem;
    top: 21px;
    letter-spacing: 0.12em;
  }

  .logo {
    gap: 8px;
  }
}

/* Очень узкие экраны (320px, Mobile S) */
@media (max-width: 320px) {
  .nav-container {
    min-height: 60px;
    padding: 7px 52px 7px 8px;
  }

  .logo-img {
    height: 34px;
  }

  .logo-slogan {
    width: 130px;
    height: 28px;
  }

  .logo-title {
    font-size: 0.72rem;
    top: 3px;
  }

  .logo-subtitle {
    font-size: 0.46rem;
    top: 18px;
    letter-spacing: 0.11em;
  }

  .logo {
    gap: 7px;
  }
}
