/* ==========================================================================
   ТехноЛактисПолимер — Таблица стилей (style.css)
   Производство полипропиленового оборудования для сыроварен
   ========================================================================== */

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

:root {
  --navy:   #0F2340;
  --blue:   #1B5FAA;
  --sky:    #3B9DE8;
  --white:  #FFFFFF;
  --cream:  #F4F7FB;
  --grey:   #64748B;
  --lgrey:  #E2EAF4;
  --text:   #1E293B;
  --accent: #2D8FD5;
  /* Фирменные цвета мессенджеров */
  --wa-color:  #25D366;
  --max-color: #7B3FE4;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ==========================================================================
   ШАПКА И НАВИГАЦИЯ (NAV)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 35, 64, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Кнопки соцсетей в шапке */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon-btn:hover {
  transform: translateY(-2px);
}

.social-icon-btn.wa:hover { background: var(--wa-color); border-color: var(--wa-color); }
.social-icon-btn.max:hover { background: var(--max-color); border-color: var(--max-color); }

.nav-cta {
  background: var(--sky);
  color: var(--white);
  border: none;
  padding: 0.55rem 1.2rem;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #2578c5;
}

.nav-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.nav-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
}

.nav-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 12px rgba(3, 16, 35, 0.25);
  transform: translateY(-1px);
}

.nav-menu-toggle:active {
  transform: scale(0.94);
}

.nav-menu-toggle:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

/* ==========================================================================
   ПЕРВЫЙ ЭКРАН (HERO)
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bg.webp");
  background-size: cover;
  background-position: center center;
  opacity: 1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 35, 64, 0.78) 0%, rgba(15, 35, 64, 0.35) 60%, rgba(15, 35, 64, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 140px 5vw 100px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--sky);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.4rem;
}

.hero h1 em {
  color: var(--sky);
  font-style: normal;
}

.hero-lead {
  color: var(--white);
  background: rgba(27, 95, 170, 0.92);
  border-left: 4px solid var(--sky);
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 600px;
  margin-bottom: 2.2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--sky);
  color: var(--white);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: #2578c5;
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(15, 35, 64, 0.55);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--sky);
  color: var(--sky);
}

/* ==========================================================================
   ПОЛОСА СТАТИСТИКИ (STATS BAR)
   ========================================================================== */
.stats-bar {
  background: var(--blue);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

/* ==========================================================================
   ОБЩИЕ СТИЛИ СЕКЦИЙ
   ========================================================================== */
section {
  padding: 90px 5vw;
}

.section-compact {
  padding: 70px 5vw;
}

.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title-light {
  color: var(--white);
}

.section-lead {
  color: var(--grey);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.section-lead-light {
  color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   ПОЧЕМУ ПОЛИПРОПИЛЕН (#why)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--cream);
  border-radius: 8px;
  padding: 1.8rem 1.6rem;
  border-top: 3px solid var(--sky);
  transition: transform 0.2s, box-shadow 0.2s;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(27, 95, 170, 0.1);
}

.why-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.why-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ==========================================================================
   ФАКТУРНАЯ ПОЛОСА (TEXTURE STRIP)
   ========================================================================== */
.texture-strip {
  height: 120px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  opacity: 0.6;
}

.texture-strip img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   КАТАЛОГ ПРОДУКЦИИ (#products)
   ========================================================================== */
.products-bg {
  background: var(--cream);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 8px 40px rgba(27, 95, 170, 0.13);
  transform: translateY(-4px);
}

.product-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--lgrey);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.7rem;
}

.product-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.product-body p {
  font-size: 0.87rem;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.product-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--blue);
  font-size: 1rem;
}

.product-card-custom {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
}

.product-card-custom-inner {
  padding: 2.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 300px;
}

.product-card-custom .product-tag {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.product-card-custom h3 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.product-card-custom p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.65;
}

.btn-small-sky {
  margin-top: 1.5rem;
  align-self: flex-start;
  display: inline-block;
  background: var(--sky);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.btn-small-sky:hover {
  background: #2578c5;
}

/* ==========================================================================
   ТИПЫ ПЕРФОРАЦИИ ПОЛОК (#shelves)
   ========================================================================== */
.shelves-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.shelf-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
}

.shelf-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.shelf-card-body {
  padding: 1.4rem 1.6rem;
  flex: 1;
}

.shelf-type-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.4rem;
}

.shelf-card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.shelf-card-body p {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.6;
}

.shelf-card-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.shelf-card-dark img {
  opacity: 0.4;
}

.shelf-card-dark .shelf-card-body h3 {
  color: var(--white);
}

.shelf-card-dark .shelf-card-body p {
  color: rgba(255, 255, 255, 0.76);
}

/* ==========================================================================
   РАСПРЕДЕЛИТЕЛЬНЫЕ ВОРОНКИ (#funnels)
   ========================================================================== */
.funnels-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.funnels-col-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.funnel-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  background: var(--cream);
  display: flex;
  flex-direction: column;
}

.funnel-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.funnel-card-tall {
  height: 100%;
}

.funnel-tall-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  flex: 1;
}

.funnel-tall-images img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

.funnel-card-body {
  padding: 1.25rem 1.4rem;
}

.funnel-card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.funnel-card-body p {
  font-size: 0.84rem;
  color: var(--grey);
  line-height: 1.6;
}

.funnel-price-bar {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: var(--lgrey);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.funnel-price-bar span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}

.funnel-price-bar a {
  background: var(--sky);
  color: var(--white);
  padding: 0.45rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  transition: background 0.2s;
}

.funnel-price-bar a:hover {
  background: #2578c5;
}

/* ==========================================================================
   СТАЦИОНАРНЫЕ СТЕЛЛАЖИ (#racks)
   ========================================================================== */
.racks-section {
  background: var(--navy);
}

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

.rack-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.rack-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.rack-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 35, 64, 0.94) 0%, rgba(15, 35, 64, 0.5) 70%, transparent 100%);
  padding: 1.4rem 1.3rem 1.2rem;
}

.rack-card-tag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.3rem;
}

.rack-card-overlay p {
  color: var(--white);
  font-size: 0.88rem;
  line-height: 1.5;
}

.racks-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 2rem;
}

.rack-feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.4rem 1.2rem;
  text-align: center;
}

.rack-feature-val {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
}

.rack-feature-lbl {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.center-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ==========================================================================
   КАК МЫ РАБОТАЕМ (#steps)
   ========================================================================== */
.steps {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 210px;
  padding: 2rem 1.5rem;
  position: relative;
}

.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -0.5rem;
  top: 2rem;
  font-size: 1.5rem;
  color: var(--lgrey);
  font-weight: 300;
}

.step-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--lgrey);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.87rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ==========================================================================
   ГАЛЕРЕЯ ПРОЕКТОВ (.gallery-v2)
   ========================================================================== */
.gallery-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.gallery-v2 .gi {
  position: relative;
  overflow: hidden;
}

.gallery-v2 .gi img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.gallery-v2 .gi:hover img {
  transform: scale(1.05);
}

.gallery-v2 .gi-wide {
  grid-column: span 2;
}

/* ==========================================================================
   ТЕСТОВАЯ ПАРТИЯ (#offer)
   ========================================================================== */
.offer-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 12px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.offer-block h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 0.8rem;
}

.offer-block p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.7;
}

.offer-list {
  list-style: none;
  margin-top: 1rem;
}

.offer-list li {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.offer-list li::before {
  content: '✓';
  color: var(--sky);
  font-weight: 700;
  flex-shrink: 0;
}

.offer-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.offer-right {
  text-align: center;
}

.offer-badge {
  background: var(--sky);
  color: var(--white);
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.offer-badge .big {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
}

.offer-badge .small {
  font-size: 0.72rem;
  text-align: center;
  line-height: 1.3;
  opacity: 0.92;
  margin-top: 0.2rem;
}

.offer-note {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ==========================================================================
   ТЕХНОЛОГИЧЕСКИЙ КОНСАЛТИНГ (#consulting)
   ========================================================================== */
.consulting-bg {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-card {
  border: 1px solid var(--lgrey);
  border-radius: 10px;
  padding: 1.8rem 1.6rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--sky);
  box-shadow: 0 6px 28px rgba(27, 95, 170, 0.1);
  transform: translateY(-3px);
}

.service-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--lgrey);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.84rem;
  color: var(--grey);
  line-height: 1.65;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.why-us-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 8px;
  padding: 1.6rem;
}

.why-us-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--sky);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.why-us-card p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.consult-cta {
  margin-top: 3rem;
  text-align: center;
  background: var(--cream);
  border-radius: 12px;
  padding: 3rem 2rem;
}

.consult-cta h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.7rem;
}

.consult-cta p {
  color: var(--grey);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

/* ==========================================================================
   КОНТАКТЫ И СОЦСЕТИ (#contacts)
   ========================================================================== */
.contacts-bg {
  background: var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.contact-card .icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.contact-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card p {
  color: var(--white);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
}

.contact-card a:hover {
  color: var(--sky);
}

.contact-sub {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.3rem;
  font-weight: 400;
}

/* Блок кнопок соцсетей и мессенджеров в секции Контакты */
.socials-panel {
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
}

.socials-panel-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.socials-panel-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  margin-bottom: 1.4rem;
}

.socials-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.social-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  position: relative;
  border-radius: 8px;
  text-decoration: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.social-card-btn:hover {
  transform: translateY(-2px);
}

.social-card-btn.wa:hover { background: rgba(37, 211, 102, 0.22); border-color: var(--wa-color); }
.social-card-btn.max:hover { background: rgba(123, 63, 228, 0.24); border-color: var(--max-color); }

.social-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  left: 1.2rem;
}

.social-card-btn.wa .social-card-icon { background: var(--wa-color); }
.social-card-btn.max .social-card-icon {
  background: var(--max-color);
}

.social-card-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.social-card-text strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   ПОДВАЛ САЙТА (FOOTER) С РЕКВИЗИТАМИ
   ========================================================================== */
footer {
  background: #08172B;
  padding: 2.5rem 5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 420px;
}

.footer-logo {
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-requisites {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
  line-height: 1.65;
}

.footer-requisites strong {
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.35rem;
}

.footer-bottom {
  padding-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
}

/* ==========================================================================
   ПЛАВАЮЩИЙ БЛОК МЕССЕНДЖЕРОВ (FLOATING WIDGET)
   ========================================================================== */
.floating-messengers {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(15, 35, 64, 0.92);
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear;
}

.floating-messengers.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  visibility: hidden;
  transition-delay: 0s, 0s, 0.28s;
}

.messenger-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.messenger-menu-toggle:hover {
  background: var(--sky);
  transform: translateY(-2px);
}

.messenger-menu-toggle:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.messenger-menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-messenger-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  order: -1;
  max-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: max-height 0.28s ease, margin-bottom 0.28s ease, opacity 0.2s ease, transform 0.28s ease;
}

.floating-messengers.is-open .floating-messenger-links {
  max-height: 96px;
  margin-bottom: 8px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-messenger-links .social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  flex: 0 0 44px;
}

.floating-messenger-links .social-icon-btn:hover {
  transform: none;
}

/* ==========================================================================
   АНИМАЦИИ И АДАПТИВНОСТЬ
   ========================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > * { animation: fadeUp 0.7s ease both; }
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }

@media (max-width: 992px) {
  .nav-menu-toggle {
    display: block;
    flex: 0 0 44px;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 72px);
    padding: 0.45rem 5vw 1rem;
    overflow-y: auto;
    background: rgba(15, 35, 64, 0.99);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 20px rgba(5, 17, 34, 0.28);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.3s;
    will-change: opacity, transform;
  }
  .site-header.is-menu-open .nav-links {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .nav-links li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links a {
    display: block;
    padding: 0.85rem 0.25rem;
    font-size: 1rem;
  }
  .site-header.is-menu-open .nav-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .site-header.is-menu-open .nav-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header.is-menu-open .nav-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .shelves-grid,
  .racks-grid {
    grid-template-columns: 1fr;
  }
  .funnels-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    height: 64px;
    padding: 0 1rem;
    gap: 0.5rem;
  }
  .logo-img {
    height: 40px;
  }
  .nav-actions {
    margin-left: auto;
  }
  .nav-cta {
    padding: 0.5rem 0.7rem;
    font-size: 0.78rem;
  }
  .nav-links {
    max-height: calc(100vh - 64px);
    padding-right: 1rem;
    padding-left: 1rem;
  }
  .stats-bar,
  .racks-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .offer-block {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  .offer-right {
    display: none;
  }
  .gallery-v2 {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-v2 .gi-wide {
    grid-column: span 2;
  }
  .gallery-v2 .gi img,
  .gallery-v2 .gi-wide img {
    height: 200px;
  }
  .step:not(:last-child)::after {
    display: none;
  }
  .nav-socials {
    display: none;
  }
  .floating-messengers {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu-toggle,
  .nav-menu-toggle span,
  .nav-links {
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }
}
