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

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #faf7f4 0%, #f5f0eb 50%, #ede4d8 100%);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,98,42,.08), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.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 IMAGE (placeholder + реальная картинка) ===== */
.hero-image,
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background:
    linear-gradient(135deg, rgba(10,22,40,.55), rgba(10,22,40,.2)),
    linear-gradient(45deg, #3d2817, #5a3a22 25%, #2d1f12 60%, #1a1208);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-placeholder {
  position: absolute;
  inset: 0;
}
.hero-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(255,255,255,.04) 38px, rgba(255,255,255,.04) 40px),
    repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(0,0,0,.08) 8px, rgba(0,0,0,.08) 9px);
  pointer-events: none;
}
.hero-image-placeholder::after {
  content: '';
  position: absolute;
  top: 0; left: 30%; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(255,225,180,.18), transparent 40%);
  pointer-events: none;
}
.hero-image-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,.96);
  color: var(--navy-900);
  padding: 18px 22px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(10,22,40,.12);
  z-index: 2;
}
.hero-image-tag-left h4 {
  font-size: 11px;
  color: var(--gray-500);
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-image-tag-left p {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-900);
  margin: 0;
}
.hero-image-tag .arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all .3s var(--ease);
  flex-shrink: 0;
}
.hero-image-tag .arrow:hover {
  background: var(--orange-hover);
  transform: rotate(-45deg) scale(1.05);
}
.hero-image-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: 12px;
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.hero-image-badge-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
}
.hero-image-badge-label {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 500;
}

/* ===== 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: 
/* ====== CTA-СЕКЦИЯ (читаемые текст и форма на тёмном фоне) ====== */
.cta-section { padding: 96px 0; background: var(--bg-soft); }
.cta-card {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: 28px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(10,22,40,.25);
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(232,98,42,.22) 0%, transparent 60%);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card .section-label { color: var(--orange-light) !important; }
.cta-card .section-label::before { background: var(--orange-light); }
.cta-title { font-family: 'Inter', sans-serif; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: white; margin-bottom: 16px; }
.cta-text { font-size: 1rem; color: rgba(255,255,255,.85); line-height: 1.7; }
.cta-form { display: flex; flex-direction: column; gap: 14px; }
.cta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-form label { font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px; display: block; font-weight: 600; }
.cta-form input { width: 100%; padding: 14px 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; color: white; font-family: inherit; font-size: 15px; transition: all .2s; }
.cta-form input:focus { outline: none; background: rgba(255,255,255,.15); border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,98,42,.2); }
.cta-form input::placeholder { color: rgba(255,255,255,.5); }
.cta-form-btn { margin-top: 8px; padding: 16px 28px; background: var(--orange); color: white; border: none; border-radius: 12px; font-size: 15px; 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); }
.cta-form-btn:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,98,42,.5); }
.cta-form-policy { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 10px; text-align: center; }

@media (max-width: 1024px) {
  .cta-card { grid-template-columns: 1fr; padding: 48px 32px; gap: 32px; }
}
@media (max-width: 640px) {
  .cta-card { padding: 32px 24px; border-radius: 20px; }
  .cta-form-row { grid-template-columns: 1fr; }
}

/* ====== CTA: текст белый, max specificity ====== */
.cta-section .cta-card,
.cta-section .cta-card * { color: white; }
.cta-section .cta-card .section-label,
.cta-section .cta-card .section-label::before { color: var(--orange-light) !important; }
.cta-section .cta-card .section-label::before { background: var(--orange-light); }
.cta-section .cta-card h2,
.cta-section .cta-card .cta-title { color: white !important; }
.cta-section .cta-card p,
.cta-section .cta-card .cta-text { color: rgba(255,255,255,0.85) !important; }
.cta-section .cta-form label { color: rgba(255,255,255,0.7) !important; }
.cta-section .cta-form input { color: white !important; }
.cta-section .cta-form input::placeholder { color: rgba(255,255,255,0.45) !important; }
.cta-section .cta-form .cta-form-btn { color: white !important; background: var(--orange) !important; }

/* Логотип в шапке/футере — снять любые рамки, прозрачный фон гарантировано */
.header .brand img, .footer-brand .brand img, .footer .brand img {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  object-fit: contain;
}
.footer-brand img { height: 56px; width: auto; }
.header .brand img { height: 56px; width: auto; }
