/* ============================================================
   ПЕРЕМЕННЫЕ (CSS CUSTOM PROPERTIES)
   ============================================================ */
:root {
  --primary:         #2196F3;
  --primary-dark:    #1976D2;
  --primary-light:   #E3F2FD;
  --hero-bg:         #E8F4FD;
  --ozon-blue:       #005BFF;
  --ozon-blue-dark:  #0047CC;
  --text:            #1A2B4A;
  --text-secondary:  #6B7280;
  --white:           #FFFFFF;
  --bg:              #F8FAFB;
  --border:          #E5E7EB;
  --placeholder-bg:  #EEF5FB;
  --shadow-sm:       0 1px 4px rgba(33,150,243,0.07);
  --shadow-md:       0 4px 20px rgba(33,150,243,0.10);
  --shadow-lg:       0 8px 40px rgba(33,150,243,0.14);
  --radius:          10px;
  --radius-lg:       18px;
  --transition:      0.25s ease;
  --container:       1200px;
  --header-h:        72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ============================================================
   ТИПОГРАФИКА
   ============================================================ */
h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 700; line-height: 1.25; }
h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 600; line-height: 1.3; }
h4 { font-size: 18px; font-weight: 600; }
p  { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }

.accent { color: var(--primary); }

.section-title {
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(33,150,243,0.25);
}
.btn--primary:hover { background: var(--primary-dark); box-shadow: 0 6px 20px rgba(33,150,243,0.35); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover { background: var(--primary-light); }

.btn--ozon {
  background: var(--ozon-blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,91,255,0.25);
}
.btn--ozon:hover { background: var(--ozon-blue-dark); transform: translateY(-1px); }

.btn--white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}
.btn--white:hover { background: var(--primary-light); }

/* ============================================================
   HEADER & НАВИГАЦИЯ
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

/* Логотип */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo__icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.logo__text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.logo__text span { color: var(--primary); display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; }

/* Навигация */
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}
.nav__link:hover { color: var(--primary); }
.nav__link.active { color: var(--primary); }
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Телефон в шапке */
.header__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  transition: color var(--transition);
}
.header__phone:hover { color: var(--primary); }
.header__phone svg { color: var(--primary); }

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  border-radius: 6px;
  transition: background var(--transition);
}
.burger:hover { background: var(--primary-light); }
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 999;
  padding: 16px 24px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
.mobile-menu .nav__link { font-size: 15px; padding: 10px 16px; display: block; width: 100%; }
.mobile-menu .header__phone { margin-top: 16px; padding: 0 16px; }

/* ============================================================
   HERO — ГЛАВНАЯ (стиль Антар Пласт)
   ============================================================ */
.hero {
  background: var(--hero-bg);
  padding: 72px 0 80px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* Слайдер карточка */
.hero__slider-wrap {
  position: relative;
}
.hero__slider-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}
.hero__slide {
  display: none;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}
.hero__slide.active { display: block; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__slide-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, #D6EEFA 0%, #B3D9F5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
}
.hero__slide-placeholder svg { width: 56px; height: 56px; opacity: 0.7; }

.hero__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(33,150,243,0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.hero__dot.active { background: var(--primary); transform: scale(1.3); }

/* Контент hero */
.hero__content { }
.hero__label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero__title { margin-bottom: 18px; }
.hero__desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 460px;
}
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ============================================================
   БЛОК ПРЕИМУЩЕСТВ (features strip)
   ============================================================ */
.features {
  padding: 56px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.feature-item.visible { opacity: 1; transform: translateY(0); }
.feature-item__icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.feature-item__icon svg { width: 28px; height: 28px; }
.feature-item__title { font-size: 15px; font-weight: 700; color: var(--text); }
.feature-item__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* ============================================================
   КАРТОЧКИ ПРОДУКЦИИ (главная)
   ============================================================ */
.products { background: var(--bg); }
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(24px);
}
.product-card.visible { opacity: 1; transform: translateY(0); }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-card__img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--hero-bg) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.product-card__img svg { width: 64px; height: 64px; opacity: 0.6; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 24px; }
.product-card__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product-card__desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 18px; }
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition);
}
.product-card__link:hover { gap: 10px; }

/* ============================================================
   CTA СЕКЦИЯ
   ============================================================ */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 72px 0;
  text-align: center;
}
.cta h2 { color: var(--white); margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 36px; }
.cta__buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   БЛОК OZON (главная, отдельная секция)
   ============================================================ */
.ozon-section {
  background: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.ozon-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, #E8F0FF 0%, #D6E4FF 100%);
  border-radius: var(--radius-lg);
  padding: 36px 48px;
}
.ozon-section__text h3 { font-size: 22px; margin-bottom: 8px; }
.ozon-section__text p { font-size: 15px; color: var(--text-secondary); }
.ozon-logo-text {
  font-size: 32px;
  font-weight: 800;
  color: var(--ozon-blue);
  letter-spacing: -1px;
}

/* ============================================================
   СТРАНИЦА КАТАЛОГ
   ============================================================ */
.page-hero {
  background: var(--hero-bg);
  padding: 56px 0 48px;
  text-align: center;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { font-size: 18px; max-width: 560px; margin: 0 auto; }

.catalog-section { padding: 72px 0; }
.catalog-section:nth-child(even) { background: var(--bg); }

.catalog-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--primary-light);
}
.catalog-section__num {
  font-size: 64px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  flex-shrink: 0;
}
.catalog-section__info { flex: 1; }
.catalog-section__info h2 { margin-bottom: 10px; }
.catalog-section__info p { max-width: 560px; }

/* Галерея в каталоге */
.catalog-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.gallery-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.gallery-item__placeholder {
  width: 100%;
  height: 220px;
  background: var(--placeholder-bg);
  border: 2px dashed rgba(33,150,243,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: background var(--transition), border-color var(--transition);
}
.gallery-item:hover .gallery-item__placeholder {
  background: #DCF0FF;
  border-color: var(--primary);
  color: var(--primary);
}
.gallery-item__placeholder svg { width: 36px; height: 36px; opacity: 0.5; }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(33,150,243,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay svg { width: 36px; height: 36px; color: white; }
.gallery-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border: 2px dashed rgba(33,150,243,0.2);
  border-radius: var(--radius);
  background: var(--placeholder-bg);
}
.gallery-empty svg { width: 40px; height: 40px; opacity: 0.4; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  object-fit: contain;
}
.lightbox__btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  color: white;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 2001;
}
.lightbox__btn:hover { background: rgba(255,255,255,0.25); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.12);
  color: white;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 2001;
}
.lightbox__close:hover { background: rgba(255,255,255,0.25); }

/* ============================================================
   О КОМПАНИИ
   ============================================================ */
.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-intro__text h2 { margin-bottom: 20px; }
.about-intro__text p { margin-bottom: 16px; }
.about-intro__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--placeholder-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: var(--text-secondary);
}
.about-intro__img svg { width: 56px; height: 56px; color: var(--primary); opacity: 0.5; }
.about-intro__img img { width: 100%; height: 100%; object-fit: cover; }

/* Статистика */
.stats { background: var(--bg); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stat-card.visible { opacity: 1; transform: translateY(0); }
.stat-card__num {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card__label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-secondary); font-weight: 600; }

/* Ценности */
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.value-card.visible { opacity: 1; transform: translateY(0); }
.value-card__icon { color: var(--primary); margin-bottom: 16px; }
.value-card__icon svg { width: 32px; height: 32px; }
.value-card h4 { margin-bottom: 10px; }
.value-card p { font-size: 14px; }

/* ============================================================
   ПРОИЗВОДСТВО
   ============================================================ */
.production-hero {
  background: linear-gradient(135deg, #0D1B2A 0%, #1A2B4A 50%, #0D2137 100%);
  background-image: url('../images/production/hero.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
}
.production-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,20,40,0.65);
}
.production-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.production-hero h1 { color: var(--white); margin-bottom: 18px; }
.production-hero p { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 32px; }

/* Производственная статистика */
.prod-stats {
  background: var(--white);
  padding: 60px 0;
  box-shadow: var(--shadow-md);
}
.prod-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.prod-stat-item {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
}
.prod-stat-item:last-child { border-right: none; }
.prod-stat-item__num {
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.prod-stat-item__num span { color: var(--primary); font-size: 28px; }
.prod-stat-item__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); font-weight: 600; }

/* Фотополоса производства */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  height: 240px;
}
.photo-strip__item {
  overflow: hidden;
  position: relative;
}
.photo-strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.photo-strip__item:hover img { transform: scale(1.06); }
.photo-strip__placeholder {
  width: 100%;
  height: 100%;
  background: var(--placeholder-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 12px;
  border-right: 1px solid var(--border);
}
.photo-strip__placeholder svg { width: 28px; height: 28px; opacity: 0.45; }

/* Галерея производства */
.prod-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Видеораздел */
.video-section { background: var(--bg); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.video-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--text);
  position: relative;
}
.video-item video {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.video-item__placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #1A2B4A, #2c3e6b);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
}
.video-item__placeholder svg { width: 56px; height: 56px; opacity: 0.6; }
.video-item__caption {
  padding: 14px 18px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Этапы производства */
.process { background: var(--white); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--primary-light);
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.process-step.visible { opacity: 1; transform: translateY(0); }
.process-step__num {
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: 14px; }

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.contacts-page { padding: 0; }

/* Карта — полная ширина */
#map {
  width: 100%;
  height: 460px;
  background: var(--placeholder-bg);
  position: relative;
}
.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-secondary);
  background: linear-gradient(135deg, #E8F4FD, #D0E9F8);
  font-size: 15px;
}
.map-placeholder svg { width: 48px; height: 48px; color: var(--primary); opacity: 0.6; }
.map-placeholder code {
  font-size: 12px;
  background: rgba(0,0,0,0.07);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: monospace;
}

/* Контактный блок */
.contacts-info { padding: 72px 0; }
.contacts-info__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item__icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-secondary); font-weight: 600; margin-bottom: 4px; }
.contact-item__value { font-size: 16px; font-weight: 600; color: var(--text); }
.contact-item__value a { color: var(--primary); }

/* Форма обратной связи */
.contact-form { }
.contact-form h3 { margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(33,150,243,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Валидация — ошибка поля */
.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.10);
}
.form-field-error {
  display: block;
  font-size: 12px;
  color: #e53935;
  margin-top: 5px;
}

/* Honeypot — скрыто от людей, видно ботам */
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Кнопка: состояние загрузки */
.btn--loading {
  opacity: 0.75;
  cursor: not-allowed;
  pointer-events: none;
}
.btn .spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Блок успеха */
.form-success-block {
  display: none;
  padding: 28px 24px;
  background: #e8f5e9;
  border: 1.5px solid #66bb6a;
  border-radius: var(--radius-lg);
  text-align: center;
}
.form-success-block.visible { display: block; }
.form-success-block .success-icon {
  width: 52px; height: 52px;
  background: #66bb6a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
  font-size: 24px;
}
.form-success-block h4 { color: #2e7d32; margin-bottom: 8px; }
.form-success-block p  { color: #388e3c; font-size: 15px; margin-bottom: 16px; }

/* Блок ошибки */
.form-error-block {
  display: none;
  padding: 16px 20px;
  background: #ffebee;
  border: 1.5px solid #ef9a9a;
  border-radius: var(--radius);
  color: #c62828;
  font-size: 14px;
  margin-top: 12px;
}
.form-error-block.visible { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer__logo .logo__text { color: var(--white); }
.footer__logo .logo__text span { color: rgba(255,255,255,0.5); }
.footer__desc { font-size: 14px; color: rgba(255,255,255,0.55); margin-top: 12px; line-height: 1.6; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--white); font-weight: 700; margin-bottom: 18px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer__links a:hover { color: var(--primary); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer__ozon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 600;
  background: rgba(0,91,255,0.2);
  padding: 8px 16px;
  border-radius: 8px;
  transition: background var(--transition);
}
.footer__ozon:hover { background: rgba(0,91,255,0.35); color: white; }

/* ============================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ (IntersectionObserver)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   МЕДИАЗАПРОСЫ
   ============================================================ */

/* Планшет */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process__steps::before { display: none; }
  .prod-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .prod-stat-item:nth-child(2) { border-right: none; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__slider-wrap { max-width: 480px; margin: 0 auto; }
  .about-intro__inner { grid-template-columns: 1fr; gap: 40px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-info__inner { grid-template-columns: 1fr; gap: 48px; }
  .catalog-gallery { grid-template-columns: repeat(2, 1fr); }
  .prod-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .catalog-section__header { flex-direction: column; }
}

/* Мобильный */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  section { padding: 56px 0; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }

  .header__nav { display: none; }
  .header__phone { display: none; }
  .burger { display: flex; }

  .hero { padding: 48px 0 56px; }
  .hero__buttons { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }

  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .products__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .catalog-gallery { grid-template-columns: 1fr; }
  .prod-gallery__grid { grid-template-columns: 1fr; }
  .prod-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .photo-strip { grid-template-columns: repeat(2, 1fr); height: 180px; }
  .ozon-section__inner { flex-direction: column; padding: 28px 24px; text-align: center; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .catalog-section__num { font-size: 40px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .features__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .prod-stats__grid { grid-template-columns: 1fr; }
  .prod-stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .photo-strip { height: 140px; }
}
