/*
 * Файл сформирован из assets/css/style.css.
 * Исходные диапазоны строк: 3618-4289.
 */

/* ==========================================================
   ГЛАВНАЯ СТРАНИЦА — ВИТРИНА В ТАКТИЧЕСКОМ СТИЛЕ
   ========================================================== */
.home-hero-section,
.home-section,
.home-builder-banner {
  margin-bottom: 4.5rem;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: max-content;
  max-width: 100%;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(184, 168, 124, 0.24);
  border-radius: 999px;
  background: rgba(7, 10, 8, 0.54);
  color: var(--accent-khaki);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.home-kicker i {
  color: var(--accent-orange);
}

.home-hero-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(92, 122, 62, 0.34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 8%, rgba(230, 126, 34, 0.16), transparent 30%),
    radial-gradient(circle at 84% 36%, rgba(92, 122, 62, 0.28), transparent 35%),
    linear-gradient(135deg, rgba(19, 27, 20, 0.98), rgba(7, 10, 8, 0.98));
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.48);
}
.home-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 168, 124, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 168, 124, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  pointer-events: none;
}
.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 2.5rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 4rem);
}
.home-hero-content h1 {
  max-width: 760px;
  margin: 1.15rem 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 1.02;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.42);
}
.home-hero-content p {
  max-width: 680px;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.home-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 560px;
}
.home-hero-stats div {
  padding: 1rem;
  border: 1px solid rgba(92, 122, 62, 0.34);
  border-radius: 18px;
  background: rgba(7, 10, 8, 0.45);
}
.home-hero-stats strong {
  display: block;
  color: var(--accent-orange);
  font-family: 'Russo One', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}
.home-hero-stats span {
  display: block;
  margin-top: 0.35rem;
  color: var(--accent-khaki);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.home-hero-visual {
  position: relative;
}
.hero-visual-frame {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(184, 168, 124, 0.22);
  border-radius: 30px;
  overflow: hidden;
  background: #0b0f0c;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 30px 55px rgba(0,0,0,0.52);
}
.hero-visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 8, 0.05), rgba(7, 10, 8, 0.82)),
    radial-gradient(circle at 30% 30%, transparent, rgba(7, 10, 8, 0.45));
  pointer-events: none;
}
.hero-visual-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.12) brightness(0.82);
  transform: scale(1.03);
}
.hero-visual-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(184, 168, 124, 0.22);
  border-radius: 18px;
  background: rgba(7, 10, 8, 0.74);
  backdrop-filter: blur(12px);
  color: var(--text-light);
  box-shadow: 0 18px 35px rgba(0,0,0,0.38);
}
.hero-card-top {
  top: 1rem;
  right: 1rem;
  padding: 0.85rem 1rem;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--accent-khaki);
}
.hero-card-top i {
  color: var(--accent-orange);
  font-size: 1.1rem;
}
.hero-card-bottom {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem;
}
.hero-card-bottom strong {
  font-family: 'Russo One', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-card-bottom span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}
.home-section-head.centered {
  justify-content: center;
  text-align: center;
}
.home-section-head.centered h2::after {
  left: 50%;
  transform: translateX(-50%);
}
.home-section-head h2 {
  margin: 0.8rem 0 0;
}
.home-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(184, 168, 124, 0.24);
  border-radius: 999px;
  background: rgba(7, 10, 8, 0.45);
  color: var(--accent-khaki);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.home-section-link:hover {
  background: rgba(230, 126, 34, 0.12);
  border-color: var(--accent-orange);
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.home-category-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(92, 122, 62, 0.34);
  border-radius: 24px;
  background: #101612;
  box-shadow: 0 24px 45px rgba(0,0,0,0.36);
  color: var(--text-light);
}
.home-category-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.1) brightness(0.78);
  transition: transform 0.45s ease, filter 0.45s ease;
}
.home-category-card:hover img {
  transform: scale(1.08);
  filter: saturate(0.95) contrast(1.15) brightness(0.9);
}
.home-category-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,10,8,0.12), rgba(7,10,8,0.9)),
    radial-gradient(circle at top right, rgba(230, 126, 34, 0.18), transparent 42%);
}
.home-category-count {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(7, 10, 8, 0.7);
  border: 1px solid rgba(184, 168, 124, 0.22);
  color: var(--accent-khaki);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.home-category-card > div {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 2;
}
.home-category-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}
.home-category-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.home-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(92, 122, 62, 0.34);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(26, 31, 28, 0.96), rgba(7, 10, 8, 0.97));
  box-shadow: 0 22px 45px rgba(0,0,0,0.36);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.home-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 126, 34, 0.45);
  box-shadow: 0 28px 58px rgba(0,0,0,0.5);
}
.home-product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(92, 122, 62, 0.38), transparent 45%),
    linear-gradient(145deg, #182216, #070a08 78%);
}
.home-product-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
}
.home-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.38s ease;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,0.28));
}
.home-product-card:hover .home-product-media img {
  transform: scale(1.045);
}
.home-product-badges {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}
.home-product-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(92, 122, 62, 0.82);
  color: #fff;
  font-weight: 900;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.12);
}
.home-product-badge.sale {
  background: rgba(230, 126, 34, 0.92);
}
.home-product-badge.muted {
  background: rgba(36, 42, 36, 0.82);
  color: var(--text-muted);
}
.home-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem;
}
.home-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}
.home-product-meta span {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(184, 168, 124, 0.08);
  border: 1px solid rgba(184, 168, 124, 0.14);
  color: var(--accent-khaki);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}
.home-product-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.25;
}
.home-product-body h3 a {
  color: var(--text-light);
}
.home-product-body h3 a:hover {
  color: var(--accent-orange);
}
.home-product-body p {
  flex: 1;
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.home-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}
.home-product-price span {
  display: block;
  color: rgba(237, 230, 213, 0.5);
  text-decoration: line-through;
  font-weight: 800;
  line-height: 1;
}
.home-product-price strong {
  display: block;
  color: var(--accent-orange);
  font-family: 'Russo One', sans-serif;
  font-size: 1.25rem;
  line-height: 1.2;
}
.home-product-bottom .btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.home-subcategory-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.home-subcategory-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 180px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(92, 122, 62, 0.32);
  background: rgba(26, 31, 28, 0.72);
  color: var(--text-light);
  box-shadow: 0 16px 30px rgba(0,0,0,0.22);
}
.home-subcategory-pill:hover {
  background: rgba(92, 122, 62, 0.18);
  border-color: rgba(230, 126, 34, 0.44);
  transform: translateY(-2px);
}
.home-subcategory-pill span {
  font-family: 'Russo One', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.home-subcategory-pill small {
  color: var(--accent-khaki);
  font-weight: 700;
}

.home-builder-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(230, 126, 34, 0.28);
  background:
    radial-gradient(circle at 12% 20%, rgba(230, 126, 34, 0.20), transparent 34%),
    linear-gradient(135deg, rgba(26, 31, 28, 0.96), rgba(7, 10, 8, 0.98));
  box-shadow: 0 28px 55px rgba(0,0,0,0.42);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.home-builder-content h2 {
  max-width: 720px;
  margin-top: 0.9rem;
}
.home-builder-content p {
  color: var(--text-muted);
  max-width: 690px;
}
.home-builder-steps {
  display: grid;
  gap: 0.8rem;
}
.home-builder-steps div {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(184, 168, 124, 0.18);
  background: rgba(7, 10, 8, 0.45);
}
.home-builder-steps span {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--accent-orange);
  font-family: 'Russo One', sans-serif;
}
.home-builder-steps strong {
  display: block;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.home-builder-steps small {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
}

.home-advantage-card {
  height: 100%;
  padding: 1.35rem;
  border-radius: 22px;
  border: 1px solid rgba(92, 122, 62, 0.32);
  background: linear-gradient(160deg, rgba(26, 31, 28, 0.92), rgba(7, 10, 8, 0.94));
  box-shadow: 0 18px 34px rgba(0,0,0,0.28);
  text-align: center;
}
.home-advantage-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 0.9rem;
  border-radius: 20px;
  background: rgba(230, 126, 34, 0.14);
  color: var(--accent-orange);
  font-size: 1.7rem;
}
.home-advantage-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}
.home-advantage-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.home-empty-card,
.home-contact-card,
.home-map-card {
  border: 1px solid rgba(92, 122, 62, 0.32);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(26, 31, 28, 0.94), rgba(7, 10, 8, 0.96));
  box-shadow: 0 22px 42px rgba(0,0,0,0.32);
}
.home-empty-card {
  padding: 2rem;
}
.home-empty-card i {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent-orange);
  font-size: 2rem;
}
.home-empty-card p {
  margin: 0;
  color: var(--text-muted);
}
.home-contact-card {
  padding: 1.35rem;
}
.home-contact-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(92, 122, 62, 0.22);
}
.home-contact-item:first-child {
  padding-top: 0;
}
.home-contact-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.home-contact-item > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 16px;
  background: rgba(92, 122, 62, 0.18);
  color: var(--accent-orange);
  font-size: 1.2rem;
}
.home-contact-item strong,
.home-contact-item span,
.home-contact-item a {
  display: block;
}
.home-contact-item strong {
  color: var(--accent-khaki);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.home-contact-item span {
  color: var(--text-muted);
}
.home-map-card {
  overflow: hidden;
  min-height: 420px;
}
.home-map-card iframe {
  filter: saturate(0.75) contrast(1.05);
}

@media (max-width: 1199.98px) {
  .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991.98px) {
  .home-hero-grid,
  .home-builder-banner {
    grid-template-columns: 1fr;
  }
  .hero-visual-frame,
  .hero-visual-frame img {
    min-height: 390px;
  }
  .home-hero-stats {
    max-width: none;
  }
}
@media (max-width: 767.98px) {
  .home-hero-section,
  .home-section,
  .home-builder-banner {
    margin-bottom: 3rem;
  }
  .home-hero-grid {
    padding: 1.35rem;
  }
  .home-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .home-hero-stats {
    grid-template-columns: 1fr;
  }
  .home-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .home-category-grid {
    grid-template-columns: 1fr;
  }
  .home-category-card,
  .home-category-card img {
    min-height: 230px;
  }
  .home-subcategory-pill {
    width: 100%;
  }
  .home-builder-banner {
    padding: 1.25rem;
  }
}
.home-product-media > .product-compare-float {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
}
