/* ============================================================
   ADITEX — home.css (только стили главной страницы)
   Базируется на wow-прототипе deploy/prototype-wow.html
   Сетка товаров (.products) и карточки (.prod-card) — в site.css.
   ============================================================ */

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 80vh, 800px);
  padding: 96px 0;
  background: linear-gradient(135deg, #faf7f4 0%, #f5f0eb 50%, #ede4d8 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg,
      rgba(250,247,244,.97) 0%,
      rgba(250,247,244,.93) 24%,
      rgba(250,247,244,.66) 42%,
      rgba(250,247,244,.18) 58%,
      rgba(250,247,244,0) 72%),
    linear-gradient(0deg, rgba(10,22,40,.06), transparent 26%);
}
.hero > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-content { max-width: 560px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(232,98,42,.18);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-800);
  margin-bottom: 24px;
}
.hero-eyebrow .dot,
.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
}
.hero-eyebrow .dot::after,
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #22c55e;
  opacity: .4;
  animation: heroPulse 2s ease-out infinite;
}
@keyframes heroPulse {
  0% { transform: scale(.5); opacity: .6; }
  100% { transform: scale(2); opacity: 0; }
}
.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 56px);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-title em,
.hero-title span { font-style: normal; color: var(--orange); }
.hero-desc, .hero-text {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-cta, .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  align-items: center;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(10,22,40,.08);
  max-width: 540px;
}
.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat-num em { font-style: normal; color: var(--orange); }
.hero-stat-label {
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 6px;
  line-height: 1.35;
}

/* ===== HERO — стеклянный чип на фото ===== */
.hero-photo-chip {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,22,40,.55);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(10,22,40,.18);
}
.hero-photo-chip i { color: var(--orange-light); font-size: 14px; }

/* ===== CATEGORIES ===== */
.cat-strip { padding: 96px 0; background: var(--bg); }
.categories,
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cat-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 180px;
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}
.cat-card-icon,
.cat-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 22px;
  margin-bottom: 20px;
  transition: all .3s var(--ease);
}
.cat-card:hover .cat-card-icon,
.cat-card:hover .cat-icon {
  background: var(--orange);
  color: white;
}
.cat-card-name,
.cat-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.cat-card-sub,
.cat-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}
.cat-card-arrow,
.cat-arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gray-50);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
  align-self: flex-end;
}
.cat-card:hover .cat-card-arrow,
.cat-card:hover .cat-arrow {
  background: var(--orange);
  color: white;
  transform: translate(2px, -2px);
}

/* ===== POPULAR — "Смотреть весь каталог" ===== */
.show-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ===== ABOUT (текст слева + статистика справа) ===== */
.about-section { padding: 120px 0; background: var(--bg-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}
.about-text-block { padding-right: 0; }
.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 16px;
}
.about-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}
.about-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 24px;
}
.about-title em { font-style: normal; color: var(--orange); }
.about-text {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 15px;
}
.about-text strong { color: var(--navy-900); font-weight: 600; }
.about-text p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 15px;
}
.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--orange);
  font-weight: 600;
  font-size: 15px;
  transition: gap .25s var(--ease);
}
.about-cta:hover { gap: 14px; color: var(--orange-hover); }
.about-cta i { transition: transform .25s var(--ease); }
.about-cta:hover i { transform: translateX(4px); }

/* === Правый блок — карточка со статистикой === */
.about-stats-card,
.about-stats-block {
  background: linear-gradient(145deg, var(--navy-800), var(--navy-900));
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-stats-card::before,
.about-stats-block::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(232,98,42,.15), transparent 70%);
  pointer-events: none;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  position: relative;
  z-index: 1;
}
.about-stat-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--orange-light);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
  font-weight: 500;
}

/* ===== ABOUT MEDIA (1 видео + 3 фото) ===== */
.about-media {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.about-video {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  background:
    linear-gradient(135deg, rgba(10,22,40,.55) 0%, rgba(10,22,40,.25) 50%, rgba(10,22,40,.65) 100%),
    linear-gradient(135deg, #8a7560 0%, #5a4838 50%, #3a2c1f 100%);
}
.about-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.about-video:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(10,22,40,.25);
}
.about-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
  transition: all .25s var(--ease);
  z-index: 2;
}
.about-play-btn::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
  animation: aboutPing 2s infinite;
}
@keyframes aboutPing {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.about-video:hover .about-play-btn {
  background: var(--orange);
  color: white;
  transform: translate(-50%, -50%) scale(1.06);
}
.about-video-caption {
  position: absolute;
  bottom: 24px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: white;
  z-index: 1;
}
.about-video-caption h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.about-video-caption p {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin: 0;
}
.about-video-duration {
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}
.about-photos {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 14px;
}
.about-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.about-photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(10,22,40,.18);
}
.about-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 2px, transparent 2px 10px);
  z-index: 1;
}
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,.6) 100%);
  z-index: 2;
}
.about-photo .ap-cap {
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.01em;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-photo .ap-cap i {
  font-size: 14px;
  color: var(--orange-light);
}
.about-photo.ap1 { background: linear-gradient(135deg, #c8b89c 0%, #6d5d4a 60%, #3a2e22 100%); }
.about-photo.ap2 { background: linear-gradient(135deg, #4a5a4a 0%, #2c3328 60%, #161c14 100%); }
.about-photo.ap3 { background: linear-gradient(135deg, #b89776 0%, #6e4f30 60%, #3e2c1c 100%); }

/* ===== PRINCIPLES (Качество · Партнёрство · Скорость · Развитие) ===== */
.principles-section { padding: 96px 0; background: var(--bg-soft); }
.principles,
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.principle-card,
.value-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all .3s var(--ease);
}
.principle-card:hover,
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}
.principle-icon,
.value-icon {
  width: 52px;
  height: 52px;
  background: var(--orange-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 24px;
  margin-bottom: 24px;
  transition: all .3s var(--ease);
}
.principle-card:hover .principle-icon,
.value-card:hover .value-icon {
  background: var(--orange);
  color: white;
}
.principle-title,
.value-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.principle-desc,
.value-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ===== CTA-секция (тёмная navy форма) ===== */
.cta-section { padding: 96px 0 120px; background: var(--bg); }
.cta-card,
.cta-box {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 50%, var(--navy-700) 100%);
  border-radius: 28px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-card::before,
.cta-box::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,98,42,.18), transparent 70%);
  pointer-events: none;
}
.cta-card::after,
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,98,42,.08), transparent 70%);
  pointer-events: none;
}
.cta-text-block,
.cta-box > div,
.cta-box > form,
.cta-card > div,
.cta-card > form { position: relative; z-index: 2; }

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232,98,42,.15);
  border: 1px solid rgba(232,98,42,.3);
  color: var(--orange-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cta-eyebrow::before { display: none; }
.cta-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.cta-desc,
.cta-text {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}
.cta-form {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cta-form label {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
  font-weight: 600;
}
.cta-form input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: white;
  font-family: inherit;
  font-size: 14px;
  transition: all .2s;
}
.cta-form input::placeholder { color: rgba(255,255,255,.4); }
.cta-form input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 4px rgba(232,98,42,.12);
}
.cta-form button,
.cta-form .btn-primary {
  width: 100%;
  padding: 16px;
  margin-top: 4px;
  font-size: 15px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .25s var(--ease);
  box-shadow: 0 4px 16px rgba(232,98,42,.4);
  font-family: inherit;
}
.cta-form button:hover,
.cta-form .btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,98,42,.5);
}
.cta-form-hint {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  line-height: 1.5;
  margin-top: 4px;
  text-align: center;
}
.cta-form-hint a {
  color: rgba(255,255,255,.6);
  text-decoration: underline;
}

/* ===== RESPONSIVE (только для главной) ===== */
@media (max-width: 1024px) {
  .hero { min-height: clamp(480px, 70vh, 640px); padding: 72px 0; }
  .hero-bg { object-position: 72% center; }
  .hero-content { max-width: 520px; }
  .hero-title { font-size: clamp(2.25rem, 5vw, 42px); }
  .hero-photo-chip { right: 24px; bottom: 24px; }
  .cat-strip { padding: 72px 0; }
  .categories, .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .about-section { padding: 80px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-text-block { padding-right: 0; }
  .about-media { grid-template-columns: 1fr; }
  .about-photos {
    grid-template-rows: none;
    grid-template-columns: repeat(3, 1fr);
  }
  .about-photo { aspect-ratio: 4/3; }
  .principles-section { padding: 72px 0; }
  .principles, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card, .cta-box {
    grid-template-columns: 1fr;
    padding: 48px;
    gap: 36px;
  }
  .cta-title { font-size: clamp(1.5rem, 4vw, 1.875rem); }
}
@media (max-width: 640px) {
  .hero { min-height: auto; padding: 48px 0 56px; }
  .hero-bg { object-position: 68% center; }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(250,247,244,.97) 0%, rgba(250,247,244,.9) 40%, rgba(250,247,244,.74) 100%);
  }
  .hero-content { max-width: 100%; }
  .hero-photo-chip { display: none; }
  .hero-title { font-size: clamp(1.75rem, 8vw, 2.125rem); }
  .hero-desc, .hero-text { font-size: 16px; }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .hero-stat-num { font-size: 26px; }
  .categories, .cat-grid { grid-template-columns: 1fr; }
  .about-section { padding: 56px 0; }
  .about-stats-card, .about-stats-block { padding: 36px 28px; }
  .about-stats-grid { grid-template-columns: 1fr; }
  .about-stat-num { font-size: 36px; }
  .about-play-btn {
    width: 64px; height: 64px; font-size: 22px;
  }
  .about-photos {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }
  .about-photo { aspect-ratio: 16/10; }
  .principles, .values-grid { grid-template-columns: 1fr; }
  .cta-card, .cta-box {
    padding: 32px 24px;
    border-radius: 20px;
  }
  .cta-title { font-size: 1.5rem; }
  .cta-form { padding: 24px; }
  .cta-form .row { grid-template-columns: 1fr; }
  .cta-section { padding: 56px 0 72px; }
}
