/* =======================================================
   ROOT VARIABLES
======================================================= */

:root {
  --color-primary: #ff6a00;
  --color-dark: #111;
  --color-text: #444;
  --color-light: #f8f8f8;
  --radius: 18px;
}


/* =======================================================
   BASE TYPOGRAPHY
======================================================= */

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: #222;
  background: #fff;
}

h1 {
  font-size: 50px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--color-dark);
}

h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-dark);
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-dark);
}

p {
  margin-bottom: 15px;
}

section {
  padding: 90px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


/* =======================================================
   BUTTONS
======================================================= */

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  padding: 16px 34px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
  box-shadow: 0 12px 30px rgba(255,106,0,0.25);
  border: none;        /* на всякий случай */
  outline: none;       /* убираем стандартный чёрный контур */
}

.btn-primary:hover {
  background: #e65d00;
  transform: translateY(-2px);
}

.btn-primary:focus {
  outline: none;
}

.btn-primary:focus-visible {
  box-shadow:
    0 0 0 3px rgba(255,106,0,0.35),
    0 12px 30px rgba(255,106,0,0.25);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  padding: 14px 28px;
  border-radius: var(--radius);
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}


/* =======================================================
   HEADER
======================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.header-logo a {
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  color: #000;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
}

.nav-menu .current-menu-item > a {
  color: var(--color-primary);
  font-weight: 600;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  text-decoration: none;
  font-weight: 600;
  color: #000;
}

.header-btn {
  padding: 10px 18px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}


/* =======================================================
   MOBILE MENU
======================================================= */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 1001;
  transition: right 0.3s ease;
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-inner {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-menu-close {
  font-size: 22px;
  cursor: pointer;
  align-self: flex-end;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-menu li {
  margin-bottom: 15px;
}

.mobile-nav-menu a {
  text-decoration: none;
  font-size: 18px;
  color: #222;
}

.mobile-phone {
  font-weight: 600;
  text-decoration: none;
  color: #000;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1000;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* =======================================================
   HOME HERO
======================================================= */

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 110px;
  background:
    radial-gradient(circle at 75% 35%, #ffffff 0%, #f1f1f1 45%, #ececec 70%),
    linear-gradient(to bottom, #f7f7f7, #ffffff);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.home-hero h1 span {
  color: var(--color-primary);
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: #4a4a4a;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 720px;
  border-radius: 14px;
}

/* декоративный градиент */

.home-hero::before {
  content: "";
  position: absolute;
  right: 10%;
  top: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255,255,255,0.6) 0%,
    rgba(255,255,255,0.3) 40%,
    rgba(255,255,255,0) 70%
  );
  pointer-events: none;
}


/* =======================================================
   HERO FEATURES STRIP
======================================================= */
.hero-features {
    padding: 40px 0;
    background: #ffffff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
  width: 52px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.feature-icon svg {
  max-width: 85%;
  max-height: 85%;
  display: block;
}

.feature-text strong {
    display: block;
    font-size: 14px;
}

.feature-text span {
    font-size: 13px;
    color: #555;
}


@media (max-width: 992px) {
    .features-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .features-row {
        grid-template-columns: 1fr;
    }
}


/* =======================================================
   CATALOG HERO
======================================================= */

.catalog-hero {
  position: relative;
  padding: 80px 0 40px 0;
  background: #f3f3f3;
}

.catalog-hero::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(
    to bottom,
    rgba(243,243,243,1),
    rgba(243,243,243,0)
  );
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text {
  max-width: 540px;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px;
}

.home-hero h1 span {
  display: block;
  font-size: 46px;
  font-weight: 700;
  color: var(--color-primary);
}

.hero-subtitle {
  margin-bottom: 25px;
  font-size: 16px;
  color: #555;
}

.hero-advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 30px;
}

.hero-adv-item {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
}

.hero-adv-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}


/* =======================================================
   BREADCRUMBS
======================================================= */

.breadcrumbs {
  padding: 25px 0;
  font-size: 14px;
  color: #888;
}

.breadcrumbs a {
  color: #555;
  text-decoration: none;
}

.breadcrumbs span {
  color: #000;
  font-weight: 500;
}


/* =======================================================
   WHY US
======================================================= */

.why-us {
  padding: 10px 0;
  background: #fff;
  text-align: left;
}

.why-us h2 {
  margin-bottom: 50px;
  text-align: center;
}

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

.why-item {
  text-align: center;
}

.why-icon {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.why-item h4 {
  margin-bottom: 10px;
}

.why-item p {
  color: #666;
  font-size: 14px;
}

/* =======================================================
   CATALOG LAYOUT
======================================================= */

.catalog-layout {
  padding: 40px 0 80px;
  background: #f6f6f6;
}

.catalog-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: start;
}

.catalog-main {
}


/* =======================================================
   CATALOG SIDEBAR
======================================================= */

.catalog-sidebar {
  background: #f7f7f7;
  padding: 0;
  border-radius: var(--radius);
}

.catalog-sidebar h3 {
  margin-bottom: 25px;
  font-size: 20px;
}

.catalog-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.catalog-categories li {
  margin-bottom: 10px;
}

.catalog-categories a {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  color: #222;
  transition: 0.2s ease;
  font-weight: 500;
}

.catalog-categories a:hover {
  background: #fff;
}

.catalog-categories li.active a {
  background: #fff;
  color: var(--color-primary);
  font-weight: 600;
}

.cat-count {
  background: #eaeaea;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 12px;
  color: #666;
}

.catalog-categories li.active .cat-count {
  background: var(--color-primary);
  color: #fff;
}


/* =======================================================
   CATALOG TOP BAR
======================================================= */

.catalog-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.catalog-count {
  font-weight: 600;
}

.catalog-sort select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}


/* =======================================================
   CATALOG GRID
======================================================= */

.catalog-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px;
}

.load-more-wrapper {
  text-align: center;
  margin-top: 50px;
}


/* =======================================================
   CATALOG CARD
======================================================= */

.catalog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--color-primary);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  z-index: 2;
}

.card-image {
  height: 220px;
  overflow: hidden;
}

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

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-content h3 {
  font-size: 18px;
  margin: 0;
}

.card-content h3 a {
  text-decoration: none;
  color: #222;
}

.card-price {
    font-weight: 600;
    color: var(--color-primary);
    margin: 8px 0 14px;
    font-size: 15px;
}

.card-btn {
  margin-top: auto;
  text-align: center;
}


.catalog-card .card-image {
    height: 240px;
    overflow: hidden;
}

.catalog-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-card .card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalog-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.catalog-card {
    border: 1px solid #f0f0f0;
}

/* =======================================================
   CATALOG ARCHIVE HERO
======================================================= */

.catalog-archive-hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
}

.archive-hero-inner {
  max-width: 700px;
}

.archive-hero-text h1 {
  font-size: 52px;
  margin-bottom: 20px;
}

.archive-hero-text p {
  font-size: 20px;
  color: #555;
}

.catalog-archive {
  padding: 60px 0 100px;
}

.catalog-category-content {
  padding: 80px 0;
}

.term-description {
  max-width: 700px;
  margin-bottom: 50px;
  font-size: 18px;
}


/* =======================================================
   SERVICES LANDING
======================================================= */

.services-landing {
  padding: 40px 0 80px 0;
  background: #f9f9f9;
}

.services-intro {
  max-width: 700px;
  margin-bottom: 60px;
  font-size: 18px;
}

.services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 40px !important;
  margin-top: 50px;
}


/* =======================================================
   SERVICE CARD
======================================================= */

.service-card {
  position: relative;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
}

.service-card-link {
  display: block;
  height: 100%;
  position: relative;
  color: #fff;
  text-decoration: none;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 0;
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.6) 50%,
    rgba(0,0,0,0.2) 100%
  );
  z-index: 1;
}

.service-card-content {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  z-index: 2;
  color: #fff;
}

.service-card-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
}

.service-card-content p {
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.service-btn {
  font-weight: 600;
  font-size: 14px;
}

.service-card:hover .service-card-bg {
  transform: scale(1.08);
}


/* =======================================================
   HOW WE WORK
======================================================= */

.how-we-work {
  padding: 120px 0;
  background: #fff;
  text-align: center;
}

.work-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 60px;
  margin-top: 60px;
}

.step-circle {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin: 0 auto 20px;
}

.step h4 {
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: #666;
}


/* =======================================================
   HOME DIRECTIONS
======================================================= */

.home-directions {
 padding: 0 0 110px 0;
  background: #f7f7f7;
}


.home-directions h2 {
  text-align: center;
  margin-bottom: 60px;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.direction-card {
  position: relative;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
}

.direction-card a {
  display: block;
  height: 100%;
  position: relative;
  color: #fff;
  text-decoration: none;
}

.direction-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.direction-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.8) 0%,
    rgba(0,0,0,0.5) 60%,
    rgba(0,0,0,0.2) 100%
  );
}

.direction-content {
  position: absolute;
  bottom: 25px;
  left: 25px;
  z-index: 2;
  max-width: 80%; /* Ограничиваем ширину текста, чтобы он переносился, а не растягивался на всю ширину */
  padding-right: 25px; /* Дополнительный отступ справа, чтобы текст не упирался в правый край */
}

.direction-content h3 {
  font-size: 20px;
  color: #fff;
  margin: 0;
  line-height: 1.3; /* Опционально: улучшает читаемость при переносе */
}
.direction-content p {
  margin: 0.5em 0 0 0;
}
.direction-card:hover .direction-bg {
  transform: scale(1.08);
}


/* =======================================================
   RELATED TASKS / EQUIPMENT
======================================================= */

.related-tasks,
.related-equipment {
  padding: 80px 0;
  background: #ffffff;
}

.related-tasks h2,
.related-equipment h2 {
  text-align: center;
  margin-bottom: 60px;
}

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

.related-card {
  position: relative;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
}

.related-card a {
  display: block;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: #fff;
}

.related-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.related-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.8) 0%,
    rgba(0,0,0,0.4) 60%,
    rgba(0,0,0,0.2) 100%
  );
}

.related-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
}

.related-content h3 {
  font-size: 18px;
  margin: 0;
  color: #fff;
}

.related-card:hover .related-bg {
  transform: scale(1.08);
}

/* =======================================================
   HOME POPULAR SECTION
======================================================= */

.home-popular {
  padding: 110px 0;
  background: #ffffff;
}

.popular-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
}

.popular-left h2 {
  margin-bottom: 40px;
}

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


/* =======================================================
   POPULAR CARD
======================================================= */

.popular-card {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all .3s ease;
}

.popular-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.popular-card a {
  text-decoration: none;
}

.popular-card h3 {
  font-size: 18px;
  margin: 10px 0 6px;
}

.popular-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.popular-image img {
  max-height: 110px;
  object-fit: contain;
}

.popular-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 12px 0 16px;
}

.catalog-card .popular-link {
    margin-top: auto;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s ease;
}

.catalog-card .popular-link:hover {
    color: var(--color-primary);
}

.popular-link:hover {
  color: var(--color-primary);
}


/* =======================================================
   POPULAR BADGE
======================================================= */

.popular-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--color-primary);
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* =======================================================
   POPULAR RIGHT (ABOUT BLOCK)
======================================================= */

.popular-right {
  padding-top: 10px;
}

.popular-right h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

.about-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 18px;
}

.popular-all {
  margin-top: 3rem; /* ~48px, но масштабируется вместе со шрифтом */
  padding-bottom: 24px; /* Дополнительный «воздух» снизу */
}

.popular-all .btn-outline {
  font-weight: 600;
  width: 100%; /* На мобильных кнопка будет во всю ширину — это улучшает UX */
  max-width: 480px; /* На десктопе ограничивает ширину, чтобы не растягивалась */
  margin: 0 auto; /* Центрирует кнопку, если задана max-width */
}


/* =======================================================
   ABOUT PROMO BOX
======================================================= */

.about-promo {
  margin-top: 30px;
  padding: 28px;
  background: #ffffff; /* Белый фон вместо серого */
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); /* Чуть усилим тень для контраста */
}

/* Для мобильных: на узких экранах лучше вертикальная компоновка */
@media (max-width: 768px) {
  .about-promo {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.about-icon {
  font-size: 28px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.about-promo-text strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.about-promo-text span {
  font-size: 14px;
  color: #555;
}


/* =======================================================
   HELPERS
======================================================= */

.center {
  text-align: center;
}


/* =======================================================
   SINGLE TOP SECTION
======================================================= */

.single-top {
  padding: 80px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.single-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}

.single-left h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.single-short {
  margin-bottom: 20px;
  color: #555;
}


/* =======================================================
   SINGLE ICONS
======================================================= */

.single-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 10px 0 40px;
}

.icon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #333;
}

.icon-svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.icon-svg svg {
  width: 100%;
  height: 100%;
}


/* =======================================================
   SINGLE IMAGE + GALLERY
======================================================= */

.single-main-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 18px;
}

.single-gallery {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  overflow: hidden;
}

.gallery-thumb {
  width: 90px;
  height: 70px;
  flex-shrink: 0;
  cursor: pointer;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}


/* =======================================================
   SINGLE RIGHT COLUMN
======================================================= */

.single-right {
  display: flex;
  flex-direction: column;
}

.single-order-box {
  position: sticky;
  top: 120px;
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.single-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 25px;
}


/* =======================================================
   ORDER FEATURES
======================================================= */

.order-features {
  margin-top: 25px;
  padding-left: 0;
  list-style: none;
  font-size: 14px;
  color: #555;
}

.order-features li {
  margin-bottom: 10px;
}

.order-guarantees {
  margin-top: 25px;
  padding: 0;
  list-style: none;
}

.order-guarantees li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #374151;
  transition: 0.25s ease;
  line-height: 1.5;
}

.order-guarantees li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.order-guarantees li:hover {
  transform: translateX(4px);
  color: #111;
}


/* =======================================================
   SINGLE MIDDLE SECTION
======================================================= */

.single-middle {
  padding: 80px 0;
}

.single-middle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.single-specs h2,
.single-description h2 {
  margin-bottom: 25px;
}

.single-specs ul {
  padding-left: 20px;
}


/* =======================================================
   SPEC TABLE
======================================================= */

.spec-table {
  margin-top: 25px;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.spec-name {
  color: #666;
}

.spec-value {
  font-weight: 500;
}


/* =======================================================
   LIGHTBOX
======================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 85%;
  max-height: 80%;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  padding: 20px;
  user-select: none;
}

.lightbox-arrow.left {
  left: 40px;
}

.lightbox-arrow.right {
  right: 40px;
}



/* =======================================================
   FOOTER — PREMIUM LIGHT
======================================================= */

.site-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  color: #111827;
  padding-top: 60px;
}

/* Верхняя часть */

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 60px;
  padding-bottom: 60px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #111827;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  max-width: 320px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  text-decoration: none;
  color: #4b5563;
  font-size: 14px;
  transition: 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-primary);
}

/* Контакты */

.footer-phone {
  font-weight: 600;
  color: #111827;
}

.footer-meta {
  margin-top: 14px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

/* Нижняя часть */

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding: 22px 0;
  background: #ffffff;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6b7280;
}

@media (max-width: 768px) {
  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* =======================================================
   MODAL
======================================================= */

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 420px;
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  cursor: pointer;
  font-size: 18px;
}

.modal-content h3 {
  margin-bottom: 20px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-form input,
.modal-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1999;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* =======================================================
   SEO BLOCK
======================================================= */

.category-seo-block {
  padding: 0;
  background: #fff;
  border-top: 1px solid #eee;
}

.seo-content {
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
}

.seo-content h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.seo-content p {
  margin-bottom: 15px;
}

.seo-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

/* =======================================================
   MOBILE
======================================================= */

@media (max-width: 992px) {

  /* Header */
  .header-nav,
  .header-contacts {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* Grids */
  .hero-grid,
  .single-top-grid,
  .single-middle-grid,
  .popular-layout,
  .catalog-wrapper {
    grid-template-columns: 1fr;
  }

  .popular-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-icons {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    margin-top: 30px;
  }

  .hero-image img {
    max-width: 100%;
    transform: none;
  }

  .features-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .popular-layout {
    grid-template-columns: 1fr;
  }

  .popular-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .popular-card {
    padding: 20px;
  }

  .about-text {
    font-size: 15px;
  }

  .about-promo {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

}


@media (max-width: 600px) {

  .catalog-grid {
    grid-template-columns: 1fr !important;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
  }

  .popular-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .single-icons {
    grid-template-columns: 1fr;
  }

}



/* === КАРТОЧКИ ТЕХНИКИ В КАТЕГОРИИ === */

.catalog-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 18px 50px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

.catalog-card {
    background: #ffffff !important;
}



.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Телефонный блок */
.header-phone-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.header-phone-box:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.phone-icon {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
}

.phone-icon svg {
    width: 100%;
    height: 100%;
}

.phone-text {
    display: flex;
    flex-direction: column;
}

.phone-text a {
    text-decoration: none;
    font-weight: 600;
    color: #000;
    font-size: 15px;
}

.phone-text span {
    font-size: 12px;
    color: #666;
}

@media (max-width: 992px) {

    .header-phone-box {
        display: none;
    }

}

.step-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.how-we-work {
    padding: 120px 0;
    background: #ffffff;
}

.how-we-work h2 {
  margin-bottom: 40px;
}

.steps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    position: relative;
}

.step-card {
    background: #f7f7f7;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    flex: 1;
    position: relative;
}

.step-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 600;
}

.step-card h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.step-card p {
    font-size: 14px;
    color: #666;
}

.step-arrow {
    font-size: 28px;
    color: #bbb;
}


@media (max-width: 768px) {

    .steps-row {
        flex-direction: column;
        gap: 50px;
    }

    .step-card:not(:last-child)::before {
        top: auto;
        right: 50%;
        bottom: -30px;
        width: 2px;
        height: 40px;
        transform: translateX(50%);
    }

    .step-card:not(:last-child)::after {
        top: auto;
        right: 50%;
        bottom: -30px;
        transform: translateX(50%) rotate(135deg);
    }
}


@media (max-width: 768px) {

    .steps-row {
        flex-direction: column;
        gap: 50px;
    }

    .step-card:not(:last-child)::after {
        content: "↓";
        top: auto;
        right: 50%;
        bottom: -30px;
        transform: translateX(50%);
    }
}

@media (max-width: 992px) {

    .steps-row {
        flex-direction: column;
    }

    .step-arrow {
        display: none;
    }

}


.popular-link {
    color: #000;
    text-decoration: underline; /* можно убрать, если не нужно */
}

.popular-link:visited {
    color: #000;
}

.popular-link:hover {
    color: #ff6600; /* например оранжевый при наведении */
}


.hero-proof {
  margin-top: 25px;
  font-size: 14px;
  color: #666;
}


.hero-buttons {
  margin-top: 35px;
}

.btn-primary,
.btn-outline {
  padding: 14px 28px;
  font-weight: 600;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}


.popular-more {
  font-weight: 600;
  transition: color .2s ease;
}

.popular-card:hover .popular-more {
  color: var(--color-primary);
}

.about-list {
  margin-top: 25px;
  padding-left: 0;
  list-style: none;
}

.about-list li {
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
  font-size: 14px;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.home-popular {
  padding: 90px 0 110px;
  background: #fafafa;
}

.popular-card {
  display: block;
  text-decoration: none;
  color: inherit;
}


.home-contacts {
  padding: 90px 0 110px;
  background: #f7f7f7;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 35px;
}

.contacts-info {
  padding-top: 10px;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #777;
  margin-bottom: 6px;
}

.contact-item p {
  margin: 0;
  font-size: 16px;
}

.contact-item a {
  text-decoration: none;
  color: inherit;
  transition: color .2s ease;
}

.contact-item a:hover {
  color: var(--color-primary);
}

.contacts-map {
  display: flex;
}

.contacts-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(0,0,0,.12);
}

@media (max-width: 992px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contacts-map iframe {
    height: 320px;
  }
}


.home-cta {
  padding: 110px 0;
  background: #f3f3f3;
}

.cta-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 60px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.06);
}

.cta-text h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.cta-text p {
  margin: 0;
  color: #666;
}

@media (max-width: 992px) {
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
  }
}

.home-hero { background: #f5f5f5; }
.hero-features { background: #ffffff; }
.home-popular { background: #f5f5f5; }
.how-we-work { background: #ffffff; }
.home-directions { background: #f5f5f5; }
.home-contacts { background: #ffffff; }
.home-cta { background: #f5f5f5; }


.section-title,
.home-popular h2,
.home-directions h2,
.home-contacts h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
}


a {
  transition: color .2s ease;
}



/* ========================================
   ВЕРТИКАЛЬНЫЙ РИТМ — ЕДИНАЯ СИСТЕМА
======================================== */

/* Базовые секции */
.home-popular,
.how-we-work,
.home-contacts,
.home-cta {
  padding: 80px 0;
}

/* Hero отдельно */
.home-hero 
{ padding: 120px 0 100px; 
}

/* Заголовки секций */
.section-title,
.home-popular h2,
.home-directions h2,
.home-contacts h2 {
  margin-bottom: 50px;
}

/* Внутренние карточки */
.popular-grid,
.steps-row,
.directions-grid {
  gap: 30px;
}

/* Текстовые блоки */
.about-text {
  margin-bottom: 20px;
}

/* CTA чуть компактнее */
.home-cta {
  padding: 100px 0;
}


@media (max-width: 992px) {
  .home-popular,
  .how-we-work,
  .home-directions,
  .home-contacts,
  .home-cta {
    padding: 80px 0;
  }

  .home-hero {
    padding: 100px 0;
  }
}

.hero-stats {
  margin-top: 25px;
  font-size: 15px;
  font-weight: 500;
  color: #666;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stats span {
  position: relative;
  padding-left: 14px;
}

.hero-stats span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  background: var(--color-primary);
  border-radius: 50%;
}

.trust-strip {
  padding: 0 0 40px 0;
  background: transparent;
  background: #fff;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.home-directions {
  padding-top: 0px;
}

.how-trust {
  margin-top: 40px;
}

@media (max-width: 992px) {

  .how-we-work {
    padding: 80px 0 40px;
  }

  .home-directions {
    padding: 0 0 80px;
  }

}

.popular-all .btn-outline {
  font-weight: 600;
}


.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  display: block;
  height: 52px;  
  width: auto;
}

@media (max-width: 992px) {
  .header-logo img {
    height: 44px;
  }
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.logo-subtitle {
  font-size: 10px;
  text-transform: uppercase;
  opacity: .6;
}



        /* Базовые стили секции */
        .how-we-work {
            padding: 80px 0;
            background-color: #fff;
        }

        .how-we-work h2 {
            font-size: 32px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 60px;
            color: #333;
        }

        /* Контейнер ряда шагов */
        .steps-row {
            display: flex;
            justify-content: space-between; /* Равномерно распределяет карточки */
            align-items: flex-start;
            gap: 30px; /* Расстояние между карточками (заменяет стрелочки) */
            flex-wrap: wrap;
        }

        /* Карточка шага */
        .step-card {
            flex: 1 1 220px; /* Карточка занимает место, но не уже 220px */
            text-align: center;
            padding: 20px;
            background: #f9f9f9;
            border-radius: 16px;
        }


        /* Заголовок с номером (главное изменение) */
        .step-title {
            display: flex;
            align-items: center;
            justify-content: center; /* Центрирует пару "цифра + текст" */
            gap: 12px;
            margin: 0 0 15px 0;
            font-size: 20px;
            font-weight: 700;
            color: #333;
            line-height: 1.3;
        }

        /* Оранжевый кружок с цифрой */
        .step-number-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background-color: #FF9800; /* Оранжевый цвет как на макете */
            color: #ffffff;
            border-radius: 50%;
            font-weight: 700;
            font-size: 16px;
            flex-shrink: 0; /* Запрещает кружку сжиматься */
        }

        /* Описание шага */
        .step-card p {
            margin: 0;
            color: #666;
            font-size: 14px;
            line-height: 1.5;
        }

        /* Полоса доверия внизу */
        .trust-strip {
            margin-top: 60px;
            padding: 20px;
            text-align: center;
            background-color: #f5f5f5;
            border-radius: 8px;
            font-size: 14px;
            color: #555;
        }

        /* АДАПТИВНОСТЬ: На мобильных цифра встает над текстом */
        @media (max-width: 768px) {
            .steps-row {
                flex-direction: column;
                align-items: center;
                gap: 40px;
            }

            .step-title {
                justify-content: center;
                flex-direction: column;
                gap: 10px;
            }

            .step-number-badge {
                width: 32px;
                height: 32px;
                line-height: 32px;
                font-size: 14px;
            }
        }


/* --- ГЛОБАЛЬНЫЕ ОТСТУПЫ СЕКЦИЙ --- */
/* Все основные секции теперь имеют одинаковые внешние отступы */
section.home-hero,
section.home-popular,
section.how-we-work,
section.home-directions,
section.contacts-block,
section.home-cta {
    padding-top: 80px;
    padding-bottom: 80px;
}
section.hero-features {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* На мобильных уменьшаем отступы, чтобы не было пустот */
@media (max-width: 768px) {
    section.home-hero,
    section.hero-features,
    section.home-popular,
    section.how-we-work,
    section.home-directions,
    section.contacts-block,
    section.home-cta {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}


/* Стили для цифр и типов клиентов */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #FF6A00;
    line-height: 1;
}
.stat-text {
    font-size: 16px;
    color: #555;
    margin-top: 8px;
}
.clients-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 20px;
    text-align: center;
}
.client-type svg {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}
.docs-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}
.docs-list li {
    background: #f5f5f5;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}



/* Контейнер для 3 колонок */
.contacts-grid-three {
    display: grid;
    /* Три колонки: текст 30%, фото 30%, карта 40% */
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 40px; /* Расстояние между блоками */
    align-items: start; /* Выравнивание по верху */
}

/* Стили для фото */
.contacts-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contacts-photo img {
    width: 100%;
    height: auto;
    border-radius: 12px; /* Скругление углов фото */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* Легкая тень для объема */
    object-fit: cover;
    margin-bottom: 15px;
}

.photo-caption {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Адаптив: на планшетах и телефонах делаем 1 колонку */
@media (max-width: 1024px) {
    .contacts-grid-three {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 30px;
    }
    
    /* На мобильном фото можно сделать чуть меньше, чтобы не было слишком длинно */
    .contacts-photo img {
        max-height: 350px; 
    }
}


.service-description-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.service-description-list li {
  position: relative;
  padding: 18px 20px 18px 48px;
  background: #f9fafb;
  border-radius: 12px;
  line-height: 1.6;
  transition: all 0.2s ease;
  border: 1px solid #f1f1f1;
}

/* Оранжевая маркер-иконка */
.service-description-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 14px;
  height: 14px;
  background: #F97316;
  border-radius: 4px;
}

/* Заголовок внутри пункта */
.service-description-list li strong {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

/* Эффект при наведении */
.service-description-list li:hover {
  background: #ffffff;
  border-color: #F97316;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.order-contacts {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.order-call-text {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.order-phone {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  transition: 0.25s ease;
}

.order-phone:hover {
  color: var(--color-primary);
  transform: scale(1.03);
}

.order-address {
  margin-top: 10px;
  font-size: 13px;
  color: #6b7280;
}

.order-trust {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(249, 115, 22, 0.08);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

.category-seo-block {
  padding: 0;
  background: #fff;
  border-top: 1px solid #eee;
}

.materials-title {
  font-size: 32px;
  margin-bottom: 18px;
}

.materials-intro {
  max-width: 900px;
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 50px;
}

/* ===== СЕТКА ===== */

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

@media (max-width: 1100px) {
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .materials-grid {
    grid-template-columns: 1fr;
  }
}


.modal-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.5;
}


.about-hero {
  padding: 60px 0 40px;
  background: #f8f8f8;
}

.about-hero .hero-description {
  font-size: 18px;
  color: #555;
  max-width: 520px;
}

.about-content {
  padding: 60px 0;
}

.about-hero .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.catalog-hero .hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-content p {
  line-height: 1.7;
  max-width: 780px;
}


.home-popular {
  background: #f3f4f6;
  padding: 90px 0;
}

.popular-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}


.home-stats-block {
  padding-top: 10px;
}

.home-stats-block .section-title {
  margin-bottom: 40px;
}

.home-stats-block .stats-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
}

.home-stats-block .stat-number {
  font-size: 52px;      /* было 64 — слишком жирно */
  font-weight: 700;     /* чуть легче */
  color: #FF6A00;
  line-height: 1.1;
  margin-bottom: 8px;
}

.home-stats-block .stat-text {
  font-size: 15px;
  color: #6b7280;
  margin-top: 6px;
}



/* =======================================================
   HERO FEATURES STRIP
======================================================= */
.hero-features {
    padding: 40px 0;
    background: #ffffff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
  width: 52px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.feature-icon svg {
  max-width: 85%;
  max-height: 85%;
  display: block;
}

.feature-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700; /* добавляем, чтобы не зависело от глобальных */
}

.feature-text span {
    font-size: 12px;
    color: #555;
}


/* ===== PROMO BLOCK ===== */

.promo-block {
  padding: 100px 0;
  background: #fff;
}

.promo-block__header {
  max-width: 820px;
  margin-bottom: 60px;
}

.promo-block__header h2 {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.promo-block__header p {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
}

/* ===== GRID ===== */

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

@media (max-width: 1100px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .promo-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CARD ===== */

.promo-card {
  padding: 32px;
  border-radius: 16px;
  background: #f3f4f6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: 0.2s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.promo-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
  color: #111827;
}

.promo-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}

.promo-card ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.promo-card li {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 6px;
  font-weight: 400;
  color: #374151;
}

/* ===== TAIL ===== */

.promo-block__tail {
  margin-top: 100px;
  max-width: 760px;
}

.promo-block__tail h3 {
  font-size: 22px;
  margin-bottom: 18px;
}

.promo-block__tail p {
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 16px;
}




/* ===== PR BLOCK ===== */


.pr-block {
  padding: 80px 0;
  background: #ffffff;
}

.pr-block__title {
  font-size: 32px;
  margin-bottom: 60px;
}

.pr-block__header {
  max-width: 780px;
  margin-bottom: 60px;
}

.pr-block__header h2 {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.pr-block__header p {
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
}

/* Сетка 2 в ряд */

.pr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 900px) {
  .pr-grid {
    grid-template-columns: 1fr;
  }
}

/* Карточка */

.pr-card {
  padding: 28px 32px;
  border-radius: 16px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  transition: 0.25s ease;
}

.pr-card:hover {
  background: #ffffff;
  border-color: #d1d5db;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

/* Заголовок с точкой */

.pr-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pr-dot {
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 4px;
  flex-shrink: 0;
}

.pr-card h3 {
  font-size: 18px;
  margin: 0;
}

.pr-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

/* Адаптив */


@media (max-width: 768px) {

  .hero h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero h1 span {
    font-size: 34px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.6;
  }

}

@media (max-width: 768px) {

  .header .btn-primary {
    padding: 10px 16px;
    font-size: 14px;
  }

}

@media (max-width: 768px) {

  .features-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-item {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
  }

}


@media (max-width: 768px) {

  section {
    padding: 60px 0;
  }

  .home-popular {
    padding: 60px 0;
  }

}

@media (max-width: 768px) {

  .section-title,
  h2 {
    font-size: 26px;
    line-height: 1.3;
  }

}

@media (max-width: 768px) {

  .popular-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}

@media (max-width: 768px) {

  .header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

}

.home-directions h2,
.related-equipment h2 {
  text-align: left;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0 20px 0;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.consent-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #f97316;
    flex-shrink: 0;
}

.consent-checkbox a {
    color: #f97316;
    text-decoration: none;
}

.consent-checkbox a:hover {
    text-decoration: underline;
}