/* =========================================================
   LAYOUT — Хедер, футер, сетки, секции
   ========================================================= */

/* ----- HEADER ----- */
.v-header {
  position: sticky; /* Оставили как было */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 78px;
  background: rgba(247, 246, 241, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 24, 13, 0.07);
}

.v-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.v-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  flex: 1;
  justify-content: center;
}

.v-nav a {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: #4c5547;
  transition: color .25s ease;
}

.v-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--green-500);
  transition: width .25s ease;
}

.v-nav a:hover,
.v-nav a.active {
  color: var(--green-900);
}

.v-nav a:hover::after,
.v-nav a.active::after {
  width: 100%;
}

.v-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.v-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.v-header-btn:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52, 69, 29, .18);
}

/* ----- HERO ----- */
.v-hero {
  position: relative;
  min-height: 860px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-950);
  color: #fff;
}

.v-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  filter: saturate(.8) contrast(1.05);
}

.v-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 15, 6, .94) 0%, rgba(8, 15, 6, .78) 40%, rgba(8, 15, 6, .30) 72%, rgba(8, 15, 6, .48) 100%);
}

.v-hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  right: -220px;
  top: -180px;
  background: radial-gradient(circle, rgba(168, 177, 125, .18) 0%, transparent 68%);
  pointer-events: none;
}

.v-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 78px;
}

.v-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(48px, 6vw, 84px);
  line-height: .99;
  letter-spacing: -3.8px;
  font-weight: 800;
}

.v-hero h1 span {
  color: #aeb983;
}

.v-hero-description {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: 19px;
  line-height: 1.75;
}

.v-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.v-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 690px;
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 25px;
}

.v-hero-metric {
  padding-right: 30px;
}

.v-hero-metric + .v-hero-metric {
  border-left: 1px solid rgba(255, 255, 255, .15);
  padding-left: 30px;
}

.v-hero-metric strong {
  display: block;
  font-size: 29px;
  line-height: 1;
  color: #fff;
}

.v-hero-metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .56);
  font-size: 15px;
  line-height: 1.4;
}

/* ----- TRUST STRIP ----- */
.v-trust {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.v-trust-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.v-trust-label {
  color: #8a9085;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.v-trust-items {
  display: flex;
  align-items: center;
  gap: 42px;
  flex-wrap: wrap;
}

.v-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4f584a;
  font-size: 16px;
  font-weight: 700;
}

.v-trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
}

/* ----- FOOTER ----- */
.v-footer {
  padding: 55px 0 30px;
  background: #080d06;
  color: rgba(255, 255, 255, .65);
}

.v-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.v-footer-logo img {
  width: 100px;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.v-footer-brand p {
  max-width: 280px;
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .4);
}

.v-footer-col h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.v-footer-col a,
.v-footer-col p {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, .46);
  font-size: 13px;
  line-height: 1.6;
}

.v-footer-col a:hover {
  color: #a8b17d;
}

.v-footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .25);
  font-size: 10px;
}

/* ----- СЕТКИ ----- */
.v-products-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}

.v-culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.v-quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.v-reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.v-results {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.v-tech {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.v-protocol {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 20px;
}

/* ----- АДАПТИВ ДЛЯ СЕТОК ----- */
@media (max-width: 1050px) {
  .v-nav {
    gap: 20px;
    flex: 1;
    justify-content: center;
  }
  .v-products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .v-products-grid .v-product-card.featured {
    grid-column: span 2;
  }
  .v-results,
  .v-tech,
  .v-protocol {
    grid-template-columns: 1fr;
  }
  .v-quality-grid {
    grid-template-columns: 1fr;
  }

  .v-quality-grid .v-quality-item:nth-child(3) {
    grid-column: auto;
  }
  .v-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .v-hero {
    min-height: 780px;
  }
  .v-hero-content {
    padding-top: 70px;
  }
  .v-hero h1 {
    font-size: 48px;
  }
  .v-hero-description {
    font-size: 15px;
  }
  .v-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .v-hero-actions .v-btn {
    width: 100%;
  }
  .v-hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }
  .v-hero-metric {
    padding: 12px 0;
  }
  .v-hero-metric + .v-hero-metric {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-left: 0;
  }

  /* ===== ДОБАВЛЕНО: Отзывы на планшете ===== */
  .v-reviews {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ----- МОБИЛЬНЫЙ АДАПТИВ (до 700px) ----- */
@media (max-width: 700px) {
  .v-header {
    height: auto;
    padding: 12px 0;
  }

  .v-header-inner {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .v-logo img {
    width: 100px;
  }

  .v-nav {
    order: 3;
    width: 100%;
    flex: none;
    justify-content: center;
    gap: 16px;
  }

  .v-nav a {
    font-size: 12px;
  }

  .v-header-actions {
    margin-left: auto;
  }

  .v-header-btn {
    padding: 9px 14px;
    font-size: 11px;
  }

  /* ===== ДОБАВЛЕНО: Отзывы на телефоне ===== */
  .v-reviews {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .v-review {
    padding: 28px;
  }

  .v-review-quote {
    font-size: 17px;
    line-height: 1.6;
  }
}

/* ----- ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ (до 480px) ----- */
@media (max-width: 480px) {
  .v-header-btn {
    padding: 8px 12px;
    font-size: 10px;
  }
  .v-nav {
    gap: 10px;
  }
  .v-nav a {
    font-size: 11px;
  }
  .v-culture-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .v-hero h1 {
    font-size: 41px;
  }
  .v-section-title {
    font-size: 34px;
  }
  .v-protocol-compare {
    grid-template-columns: 1fr;
  }
  .v-hero-metrics {
    grid-template-columns: 1fr;
  }
  .v-hero-metric {
    padding: 12px 0;
  }

  /* ===== ДОБАВЛЕНО: Уменьшение карточек отзывов ===== */
  .v-review {
    padding: 22px;
  }

  .v-review-quote {
    font-size: 15px;
  }

  .v-review-author {
    margin-top: 20px;
  }
}