*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep: #0a0a0c;
  --bg-card: #111115;
  --bg-elevated: #18181f;
  --accent: #e8232a;
  --accent-hover: #ff2d35;
  --accent-glow: rgba(232, 35, 42, 0.25);
  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --border: rgba(255,255,255,0.07);
  --border-accent: rgba(232,35,42,0.4);
}

body {
  background: var(--bg-deep);
  font-family: 'Manrope', sans-serif;
  color: var(--text-primary);
  min-height: 100vh;
}

/* ─── TOP BAR ─── */
.topbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-left svg { width: 13px; height: 13px; opacity: 0.5; }
.topbar-right { display: flex; gap: 20px; }
.topbar-right a { color: var(--text-muted); text-decoration: none; font-size: 12px; transition: color 0.2s; }
.topbar-right a:hover { color: var(--text-secondary); }

/* ─── HEADER ─── */
header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(12px);
}
.header-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 32px;
}
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #fff 0%, #e8232a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-tagline { font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); margin-top: 3px; }

/* SEARCH */
.search-wrap { position: relative; }
.search-wrap input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 44px 10px 16px;
  color: var(--text-primary);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-wrap input::placeholder { color: var(--text-muted); }
.search-wrap input:focus { border-color: var(--border-accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.search-btn {
  position: absolute; right: 0; top: 0; bottom: 0; width: 44px;
  background: var(--accent); border: none; border-radius: 0 8px 8px 0;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.search-btn:hover { background: var(--accent-hover); }
.search-btn svg { width: 16px; height: 16px; stroke: #fff; fill: none; }

/* CONTACTS */
.contacts { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.contacts a {
  color: var(--text-primary); text-decoration: none; font-size: 14px; font-weight: 700;
  letter-spacing: 0.3px; transition: color 0.2s; display: flex; align-items: center;
  justify-content: flex-end; gap: 6px;
}
.contacts a:hover { color: var(--accent); }
.contacts a .icon { font-size: 11px; opacity: 0.5; }

/* CTA BUTTON */
.cta-btn {
  background: var(--accent); color: #fff; border: none; border-radius: 8px;
  padding: 12px 22px; font-family: 'Manrope', sans-serif; font-size: 13px;
  font-weight: 700; letter-spacing: 0.3px; cursor: pointer; white-space: nowrap;
  position: relative; overflow: hidden;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.cta-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 28px rgba(232,35,42,0.45); }
.cta-btn:active { transform: translateY(0); }

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 190;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  overflow: visible; /* обязательно чтобы дропдаун не обрезался */
}
.nav-inner {
  position: relative;
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 0;
}
.catalog-btn {
  display: flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; border: none; padding: 14px 22px;
  font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s; white-space: nowrap; margin-right: 8px;
}
.catalog-btn:hover { background: var(--accent-hover); }
.catalog-btn .bars { display: flex; flex-direction: column; gap: 4px; }
.catalog-btn .bars span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.catalog-btn .bars span:nth-child(2) { width: 13px; }
.nav-links { display: flex; align-items: center; list-style: none; flex: 1; }
.nav-links li a {
  display: block; padding: 14px 16px; color: var(--text-secondary);
  text-decoration: none; font-size: 13px; font-weight: 600;
  letter-spacing: 0.2px; white-space: nowrap; position: relative; transition: color 0.2s;
}
.nav-links li a::after {
  content: ''; position: absolute; bottom: 0; left: 16px; right: 16px;
  height: 2px; background: var(--accent); transform: scaleX(0);
  transition: transform 0.2s; border-radius: 2px 2px 0 0;
}
.nav-links li a:hover { color: var(--text-primary); }
.nav-links li a:hover::after { transform: scaleX(1); }
.cart-btn {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 14px; color: var(--text-secondary); cursor: pointer;
  font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 600;
  transition: border-color 0.2s, color 0.2s; position: relative;
}
.cart-btn:hover { border-color: var(--border-accent); color: var(--text-primary); }
.cart-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.cart-badge {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px;
  background: var(--accent); border-radius: 50%; font-size: 10px; font-weight: 800;
  color: #fff; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-elevated);
}

/* ─── CATALOG DROPDOWN ─── */
.catalog-dropdown {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  background: #111115; border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--accent); min-width: 280px; z-index: 999;
  border-radius: 0 8px 8px 8px; overflow: visible;
  box-shadow: 0 16px 48px rgba(0,0,0,0.9);
}
.catalog-dropdown.open { display: block; animation: dropdownOpen 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes dropdownOpen {
  from { opacity: 0; transform: translateY(-8px) scaleY(0.95); }
  to   { opacity: 1; transform: translateY(0) scaleY(1); }
}
.catalog-dropdown ul { list-style: none; padding: 6px 0; }
.catalog-dropdown ul li a {
  display: flex; align-items: center; gap: 12px; padding: 11px 18px;
  color: var(--text-secondary); text-decoration: none; font-size: 13px;
  font-weight: 600; transition: background 0.15s, color 0.15s, padding-left 0.15s; position: relative;
}
.catalog-dropdown ul li a::before {
  content: ''; display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted); flex-shrink: 0; transition: background 0.15s, transform 0.15s;
}
.catalog-dropdown ul li a::after {
  content: '→'; margin-left: auto; font-size: 12px; opacity: 0;
  transform: translateX(-6px); transition: opacity 0.15s, transform 0.15s;
}
.catalog-dropdown ul li a:hover { background: var(--bg-elevated); color: var(--text-primary); padding-left: 22px; }
.catalog-dropdown ul li a:hover::before { background: var(--accent); transform: scale(1.3); }
.catalog-dropdown ul li a:hover::after { opacity: 1; transform: translateX(0); }
.catalog-dropdown ul li.empty { padding: 14px 18px; color: var(--text-muted); font-size: 13px; }
.catalog-dropdown-footer { border-top: 1px solid var(--border); padding: 10px 18px; display: flex; align-items: center; justify-content: center; }
.catalog-dropdown-footer a {
  font-size: 12px; font-weight: 700; color: var(--accent); text-decoration: none;
  letter-spacing: 0.5px; text-transform: uppercase; transition: opacity 0.15s;
}
.catalog-dropdown-footer a:hover { opacity: 0.8; }

/* ─── HERO ─── */
.hero {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 56px auto 0; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; min-height: 480px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: 72px; line-height: 0.95; letter-spacing: 2px; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 16px; line-height: 1.7; color: var(--text-secondary); max-width: 440px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; align-items: center; }

.btn-primary {
  background: var(--accent); color: #fff; border: none; border-radius: 8px;
  padding: 14px 28px; font-family: 'Manrope', sans-serif; font-size: 14px;
  font-weight: 700; cursor: pointer; transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 6px 32px rgba(232,35,42,0.5); transform: translateY(-1px); }
.btn-secondary {
  background: none; color: var(--text-secondary); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 28px; font-family: 'Manrope', sans-serif;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--border-accent); color: var(--text-primary); }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }

/* ─── HERO SLIDER ─── */
.hero-slider-wrap { position: relative; width: 100%; filter: drop-shadow(0 0 24px rgba(232,35,42,0.3)); }
.hero-slider {
  position: relative; width: 100%; height: 420px;
  border-radius: 16px; overflow: hidden; background: #ffffff;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; pointer-events: none;
}
.hero-slide.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.hero-slide.exit { opacity: 0; transform: translateX(-40px); }
.hero-slide img { width: 100%; height: 100%; object-fit: contain; }

/* ─── CERTIFICATES ─── */
.certs {
  max-width: 1280px;
  margin: 72px auto 0;
  padding: 0 32px;
}
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 42px;
  letter-spacing: 2px; color: var(--text-primary); margin-bottom: 12px;
}
.section-sub { font-size: 14px; color: var(--text-muted); max-width: 480px; margin: 0 auto; line-height: 1.6; }
.certs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cert-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; transition: border-color 0.2s, transform 0.2s;
}
.cert-card:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.cert-img-wrap { position: relative; height: 420px; overflow: hidden; background: #fff; }
.cert-pdf { width: 100%; height: 100%; border: none; pointer-events: none; }
.cert-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.cert-card:hover .cert-overlay { opacity: 1; }
.cert-view-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: 12px 24px; border-radius: 8px; font-size: 13px;
  font-weight: 700; transition: background 0.2s;
}
.cert-view-btn svg { width: 16px; height: 16px; }
.cert-view-btn:hover { background: var(--accent-hover); }
.cert-info { padding: 16px 20px; display: flex; align-items: center; gap: 16px; }
.cert-badge {
  flex-shrink: 0; width: 44px; height: 44px;
  background: var(--bg-elevated); border: 1px solid var(--border-accent);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: 1px; color: var(--accent);
}
.cert-num { font-size: 12px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.cert-desc { font-size: 12px; color: var(--text-secondary); margin-bottom: 3px; }
.cert-valid { font-size: 11px; color: var(--text-muted); }

/* ─── ABOUT ─── */
.about {
  position: relative;
  margin: 72px 0 0;
  overflow: hidden;
}
.about-bg { position: absolute; inset: 0; z-index: 0; }
.about-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: grayscale(40%) brightness(0.35);
}
.about-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,12,0.97) 0%, rgba(10,10,12,0.85) 55%, rgba(10,10,12,0.5) 100%);
}
.about-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto; padding: 80px 32px;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 64px; align-items: center;
}
.about-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 46px;
  letter-spacing: 2px; line-height: 1.05; color: var(--text-primary); margin-bottom: 24px;
}
.about-text { font-size: 15px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 16px; max-width: 560px; }
.about-list { list-style: none; margin: 24px 0 36px; display: flex; flex-direction: column; gap: 10px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.about-list-dot { display: inline-block; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.about-actions { display: flex; gap: 16px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stat-card {
  background: rgba(17,17,21,0.85); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 20px; text-align: center;
  backdrop-filter: blur(8px); transition: border-color 0.2s;
}
.about-stat-card:hover { border-color: var(--border-accent); }
.about-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 48px; letter-spacing: 1px; color: var(--accent); line-height: 1; }
.about-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 6px; letter-spacing: 0.5px; }

/* ─── STATS ─── */
.stats {
  max-width: 1280px; margin: 56px auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.stat { background: var(--bg-card); padding: 28px 24px; text-align: center; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 44px; letter-spacing: 1px; color: var(--accent); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 6px; letter-spacing: 0.5px; }

/* ─── CALLBACK ─── */
.callback {
  max-width: 1280px;
  margin: 0 auto 56px;
  padding: 0 32px;
}
.callback-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
/* Красная диагональная полоса */
.callback-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
  border-radius: 16px 0 0 16px;
}

/* Левая часть — информация */
.callback-info {
  padding: 56px 48px;
  background: linear-gradient(135deg, rgba(232,35,42,0.06) 0%, transparent 60%);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.callback-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 2px;
  line-height: 1.05;
  color: var(--text-primary);
}
.callback-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 380px;
}
.callback-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}
.callback-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.callback-feature-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.callback-feature-icon svg {
  width: 15px; height: 15px;
  stroke: var(--accent);
}

/* Правая часть — форма */
.callback-form-wrap {
  padding: 56px 48px;
  position: relative;
}
.callback-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.callback-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.callback-form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.callback-form-label span { color: var(--accent); }

.callback-form-input {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.callback-form-input::placeholder { color: var(--text-muted); }
.callback-form-input:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.callback-form-textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.6;
}

.callback-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}
.callback-form-error {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  min-height: 18px;
}
.callback-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.callback-submit-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.callback-submit-btn:hover:not([disabled]) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(232,35,42,0.45);
}
.callback-submit-btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.callback-form-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}
.callback-form-note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.callback-form-note a:hover { color: var(--text-secondary); }

/* Успех */
.callback-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  padding: 48px;
  animation: fadeUp 0.4s ease both;
}
.callback-success.show { display: flex; }
.callback-success-icon {
  width: 72px; height: 72px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.callback-success-icon svg { stroke: #22c55e; }
.callback-success h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; letter-spacing: 2px;
  color: var(--text-primary);
}
.callback-success p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}

/* ─── MAP ─── */
.map-section {
  max-width: 1280px;
  margin: 0 auto 72px;
  padding: 0 32px;
}
.map-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
}
.map-info {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-right: 1px solid var(--border);
}
.map-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 32px;
}
.map-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}
.map-details li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.map-detail-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.map-detail-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
}
.map-detail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.map-detail-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  line-height: 1.5;
}
.map-detail-link {
  text-decoration: none;
  transition: color 0.2s;
}
.map-detail-link:hover { color: var(--accent); }
.map-route-btn {
  margin-top: 32px;
  text-decoration: none;
  text-align: center;
  display: block;
}
.map-frame-wrap {
  position: relative;
  min-height: 480px;
}
.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.header-main, nav, .hero, .stats { animation: fadeUp 0.5s ease both; }
.hero { animation-delay: 0.1s; }
.stats { animation-delay: 0.2s; }

/* ─── PARTNER (AGRO-TEH) ─── */
.partner {
  max-width: 1280px;
  margin: 72px auto 0;
  padding: 0 32px;
}
.partner-inner { width: 100%; }

.partner-card {
  position: relative;
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.08), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(232, 35, 42, 0.06), transparent 50%),
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
  transition: border-color 0.3s;
}
.partner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.5), transparent);
}
.partner-card:hover { border-color: rgba(34, 197, 94, 0.3); }

.partner-content { position: relative; z-index: 1; }
.partner-content .section-eyebrow { color: #22c55e; }

.partner-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  line-height: 1.05;
  margin-bottom: 16px;
}

.partner-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.partner-features { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 16px; }
.partner-features li { display: flex; gap: 14px; align-items: flex-start; }
.partner-feature-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22c55e;
  display: flex; align-items: center; justify-content: center;
}
.partner-feature-icon svg { width: 18px; height: 18px; }
.partner-feature-title {
  font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px;
}
.partner-feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.partner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.partner-btn-main {
  background: #22c55e;
  border-color: #22c55e;
  display: inline-flex; align-items: center; gap: 8px;
}
.partner-btn-main:hover { background: #1ea84e; border-color: #1ea84e; }
.partner-btn-call {
  display: inline-flex; align-items: center; gap: 8px;
  font-variant-numeric: tabular-nums;
}

/* Visual side */
.partner-visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 380px;
}
.partner-tag {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s;
}
.partner-tag svg { color: #22c55e; flex-shrink: 0; }
.partner-tag:hover {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateY(-2px);
}
.partner-tag--1 { animation: fadeUp 0.5s 0.05s ease both; }
.partner-tag--2 { animation: fadeUp 0.5s 0.10s ease both; }
.partner-tag--3 { animation: fadeUp 0.5s 0.15s ease both; }
.partner-tag--4 { animation: fadeUp 0.5s 0.20s ease both; }
.partner-tag--5 { animation: fadeUp 0.5s 0.25s ease both; }
.partner-tag--6 { animation: fadeUp 0.5s 0.30s ease both; }

.partner-visual-badge {
  position: absolute;
  top: -12px; right: -12px;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 12px 32px rgba(34, 197, 94, 0.35);
  transform: rotate(-8deg);
}
.partner-visual-badge-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; line-height: 1;
  color: #fff; letter-spacing: 1px;
}
.partner-visual-badge-label {
  font-size: 9px; font-weight: 700;
  color: rgba(255,255,255,0.95);
  text-transform: uppercase; letter-spacing: 0.5px;
  line-height: 1.3; margin-top: 2px;
}

/* Адаптив для партнёрской секции */
@media (max-width: 900px) {
  .partner-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 36px; }
  .partner-visual { min-height: auto; }
  .partner-visual-badge { width: 80px; height: 80px; top: -8px; right: -8px; }
  .partner-visual-badge-num { font-size: 22px; }
  .partner-title { font-size: 36px; }
}
@media (max-width: 480px) {
  .partner { margin: 48px auto 0; padding: 0 16px; }
  .partner-card { padding: 32px 20px; }
  .partner-title { font-size: 30px; }
  .partner-visual-grid { grid-template-columns: 1fr; }
  .partner-actions { flex-direction: column; align-items: stretch; }
  .partner-actions a { justify-content: center; }
}

/* ─── ADAPTIVE ─── */
@media (max-width: 1024px) {
  .header-main { grid-template-columns: auto 1fr auto; gap: 16px; }
  .contacts { display: none; }
  .nav-links li a { padding: 14px 10px; font-size: 12px; }
}

@media (max-width: 768px) {
  .topbar-left span:last-child { display: none; }

  /* Хедер: логотип + корзина в одну строку, поиск — отдельная строка */
  .header-main {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "logo cart"
      "search search";
    padding: 10px 16px;
    height: auto;
    gap: 10px;
  }
  .logo        { grid-area: logo; align-self: center; }
  .search-wrap { grid-area: search; }
  .contacts    { display: none; }
  .cta-btn     { display: none; }
  .cart-btn    { grid-area: cart; align-self: center; margin-left: 0; }
  .search-wrap input { padding: 10px 44px 10px 14px; font-size: 14px; }

  .nav-inner { padding: 0 16px; }
  .nav-links { gap: 0; overflow-x: auto; flex-shrink: 1; min-width: 0; }
  .nav-links li a { padding: 14px 10px; font-size: 12px; white-space: nowrap; }
  .cart-btn span:not(.cart-badge) { display: none; }

  .hero { grid-template-columns: 1fr; margin: 32px auto 0; padding: 0 16px; min-height: auto; gap: 24px; }
  .hero h1 { font-size: 52px; }
  .hero-visual { width: 100%; }
  .hero-slider { height: 280px; }
  .certs { padding: 0 16px; margin: 48px auto 0; }
  .certs-grid { grid-template-columns: 1fr; }
  .cert-img-wrap { height: 320px; }
  .section-title { font-size: 32px; }
  .about-inner { grid-template-columns: 1fr; padding: 48px 16px; gap: 40px; }
  .about-bg-overlay { background: linear-gradient(180deg, rgba(10,10,12,0.92) 0%, rgba(10,10,12,0.97) 100%); }
  .about-title { font-size: 32px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-actions { flex-direction: column; }
  .stats { grid-template-columns: repeat(2, 1fr); margin: 32px 16px; padding: 0; }
  .catalog-dropdown { min-width: 220px; }
  .callback { padding: 0 16px; margin-bottom: 32px; }
  .callback-inner { grid-template-columns: 1fr; }
  .callback-info { padding: 36px 28px; border-right: none; border-bottom: 1px solid var(--border); }
  .callback-title { font-size: 32px; }
  .callback-form-wrap { padding: 36px 28px; }
  .callback-form-footer { flex-direction: column; align-items: stretch; }
  .callback-submit-btn { width: 100%; justify-content: center; }
  .map-section { padding: 0 16px; margin-bottom: 48px; }
  .map-inner { grid-template-columns: 1fr; }
  .map-info { border-right: none; border-bottom: 1px solid var(--border); padding: 32px 24px; }
  .map-frame-wrap { min-height: 320px; }
}

@media (max-width: 480px) {
  .topbar { display: none; }
  .header-main { padding: 10px 12px; gap: 8px; }
  .logo-name { font-size: 22px; }
  .logo-tagline { display: none; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .hero-slider { height: 240px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 32px; }
  .nav-links { display: none; }
  .catalog-dropdown { min-width: 180px; }
  .callback-info { padding: 24px 20px; }
  .callback-form-wrap { padding: 24px 20px; }
  .callback-title { font-size: 28px; }
  .map-title { font-size: 28px; }
  .map-frame-wrap { min-height: 260px; }
}


/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */

.site-footer {
  margin-top: 80px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

/* ── ВЕРХНЯЯ АКЦЕНТ-ПОЛОСА ── */
.footer-topline {
  background: var(--accent);
  padding: 10px 0;
}
.footer-topline-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-topline-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
}
.footer-topline-phone {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.footer-topline-phone:hover { opacity: 0.85; }

/* ── ОСНОВНАЯ ОБЛАСТЬ ── */
.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

/* ── КОЛОНКА: БРЕНД ── */
.footer-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  margin-bottom: 20px;
}
.footer-logo-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-logo-tag {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.footer-about {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.footer-certs {
  display: flex;
  gap: 12px;
}
.footer-cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  transition: border-color 0.2s;
}
.footer-cert-badge:hover { border-color: var(--border-accent); }
.footer-cert-icon {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 1px;
  flex-shrink: 0;
}

/* ── ЗАГОЛОВКИ КОЛОНОК ── */
.footer-col-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── ССЫЛКИ ── */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links li a::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.footer-links li a:hover {
  color: var(--text-primary);
  padding-left: 6px;
}
.footer-links li a:hover::before {
  background: var(--accent);
  transform: scale(1.4);
}
.footer-links-all a {
  color: var(--accent) !important;
  font-weight: 700 !important;
  margin-top: 6px;
  letter-spacing: 0.3px;
}
.footer-links-all a::before { background: var(--accent) !important; }

/* ── КОНТАКТЫ ── */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.footer-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: border-color 0.2s;
}
.footer-contact-list li:hover .footer-contact-icon { border-color: var(--border-accent); }
.footer-contact-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
}
.footer-contact-icon--wa { border-color: rgba(37,211,102,0.3); }
.footer-contact-icon--wa svg { stroke: #25d366; }
.footer-contact-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.footer-contact-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  line-height: 1.5;
}
.footer-contact-link {
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-link:hover { color: var(--accent); }

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 8px;
  padding: 10px 16px;
  color: #25d366;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s;
  width: 100%;
  justify-content: center;
}
.footer-wa-btn:hover {
  background: rgba(37,211,102,0.18);
  border-color: rgba(37,211,102,0.55);
}

/* ── НИЖНЯЯ ПОЛОСА ── */
.footer-bottom {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}
.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-copy {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-bottom-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-bottom-legal a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-legal a:hover { color: var(--text-secondary); }
.footer-divider { color: var(--border); }
.footer-bottom-made {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ── FOOTER ADAPTIVE ── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .footer-brand-col .footer-logo { margin-bottom: 0; }
  .footer-contacts-col { grid-column: 1 / -1; }
  .footer-contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-wa-btn { width: auto; }
}

@media (max-width: 768px) {
  .footer-topline-inner { flex-direction: column; gap: 6px; text-align: center; }
  .footer-topline-text { font-size: 11px; }
  .footer-main { padding: 40px 16px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand-col { grid-column: 1; display: block; }
  .footer-contacts-col { grid-column: 1; }
  .footer-contact-list { display: flex; flex-direction: column; }
  .footer-wa-btn { width: 100%; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; padding: 16px; }
  .footer-bottom-made { display: none; }
}

@media (max-width: 480px) {
  .footer-topline-text { display: none; }
  .footer-topline-inner { justify-content: center; }
  .footer-certs { flex-direction: column; }
  .footer-bottom-legal { flex-direction: column; gap: 4px; }
  .footer-divider { display: none; }
}