/* ==========================================================================
   ТОО «Техномаркет» (ТМ Smart) — Корпоративный стиль
   Палитра: Тёмно-синий (#0B1528 / #0F172A) + Белый (#FFFFFF) + Изумрудный (#0D9488)
   ========================================================================== */

:root {
  /* Colors (aligned with official Tehnomarket logo) */
  --navy-950: #0b1121;
  --navy-900: #11192e;
  --navy-800: #192544;
  --navy-700: #24355e;
  --brand-blue: #184ee8;
  --brand-gold: #fcd116;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Accent: Emerald Green (Smart) */
  --emerald-700: #0f766e;
  --emerald-600: #0d9488;
  --emerald-500: #14b8a6;
  --emerald-100: #ccfbf1;
  --emerald-50: #f0fdfa;

  /* Status */
  --danger: #dc2626;
  --success: #0d9488;

  /* Layout & Spacing */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(11, 21, 40, 0.06), 0 1px 2px rgba(11, 21, 40, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(11, 21, 40, 0.08), 0 8px 10px -6px rgba(11, 21, 40, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(11, 21, 40, 0.14);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-900);
  background-color: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--emerald-700);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--emerald-600);
}

ul {
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--emerald-500);
  outline-offset: 2px;
}

/* Container & Grid */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
}

.section--alt {
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section--dark {
  background-color: var(--navy-900);
  color: var(--white);
}

.section-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-700);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section--dark .section-tag {
  color: var(--emerald-500);
  background: rgba(13, 148, 136, 0.14);
  border-color: rgba(20, 184, 166, 0.28);
}

.section-title {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section--dark .section-title {
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
}

.section--dark .section-desc {
  color: var(--slate-300);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background-color: var(--emerald-600);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.btn--primary:hover {
  background-color: var(--emerald-700);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35);
}

.btn--outline-light {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn--outline-dark {
  background-color: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-300);
}

.btn--outline-dark:hover {
  border-color: var(--emerald-600);
  color: var(--emerald-700);
  background-color: var(--emerald-50);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.topbar {
  background-color: var(--navy-950);
  color: var(--slate-300);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar__item svg {
  width: 14px;
  height: 14px;
  color: var(--emerald-500);
}

.topbar__item a {
  color: var(--slate-200);
}

.topbar__item a:hover {
  color: var(--emerald-500);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 21, 40, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--white);
  opacity: 0.95;
}

.brand__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.brand__logo--footer {
  height: 46px;
}

.brand__badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(13, 148, 136, 0.22);
  color: var(--emerald-500);
  border: 1px solid rgba(20, 184, 166, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav__link {
  color: var(--slate-200);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}

.main-nav__link:hover,
.main-nav__link--active {
  color: var(--white);
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--emerald-500);
  transition: width var(--transition);
}

.main-nav__link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-switch__btn {
  background: transparent;
  border: none;
  color: var(--slate-300);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-switch__btn[aria-pressed="true"] {
  background-color: var(--emerald-600);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(circle at 85% 20%, rgba(13, 148, 136, 0.18), transparent 45%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: 76px 0 88px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: var(--emerald-500);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--slate-300);
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__meta-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald-500);
  font-weight: 700;
}

.hero__meta-val {
  font-size: 0.9rem;
  color: var(--slate-200);
  font-weight: 500;
}

/* Technical Blueprint Panel in Hero */
.hero-panel {
  background: rgba(19, 34, 63, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-panel__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.hero-panel__code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--emerald-500);
  background: rgba(13, 148, 136, 0.14);
  padding: 4px 8px;
  border-radius: 4px;
}

.hero-panel__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-panel__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(7, 14, 28, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
}

.hero-panel__icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(13, 148, 136, 0.18);
  color: var(--emerald-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-panel__icon svg {
  width: 18px;
  height: 18px;
}

.hero-panel__row-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.hero-panel__row-desc {
  font-size: 0.8rem;
  color: var(--slate-300);
}

.hero-panel__footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--slate-300);
}

/* ==========================================================================
   2. Trust Numbers (Hidden by default via config if no data)
   ========================================================================== */
.trust-bar {
  background-color: var(--navy-800);
  color: var(--white);
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-bar[hidden] {
  display: none !important;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.trust-stat {
  padding-left: 18px;
  border-left: 3px solid var(--emerald-500);
}

.trust-stat__value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 4px;
}

.trust-stat__label {
  font-size: 0.88rem;
  color: var(--slate-300);
}

/* ==========================================================================
   3. Supply Categories (8 Cards with Line Icons)
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}

.cat-card:hover {
  border-color: var(--emerald-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cat-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid var(--emerald-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all var(--transition);
}

.cat-card:hover .cat-card__icon {
  background: var(--emerald-600);
  color: var(--white);
  border-color: var(--emerald-600);
}

.cat-card__icon svg {
  width: 24px;
  height: 24px;
}

.cat-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.cat-card__desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* ==========================================================================
   4. Why Us (6 Advantages)
   ========================================================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--navy-800);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.adv-card:hover {
  border-top-color: var(--emerald-600);
}

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

.adv-card__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-700);
  background: var(--emerald-50);
  padding: 3px 8px;
  border-radius: 4px;
}

.adv-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
}

.adv-card__desc {
  font-size: 0.9rem;
  color: var(--slate-600);
}

/* ==========================================================================
   5. How We Work (5 Steps)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.step-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
}

.step-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.step-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.step-card__desc {
  font-size: 0.86rem;
  color: var(--slate-600);
}

.delivery-banner {
  margin-top: 28px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.delivery-banner__info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.delivery-banner__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(13, 148, 136, 0.2);
  color: var(--emerald-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   6, 7, 8: B2B Clients, Manufacturers, Smart Retail Store
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.audience-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.audience-box--dark {
  background: var(--navy-900);
  border-color: var(--navy-700);
  color: var(--white);
}

.audience-box__title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--navy-900);
}

.audience-box--dark .audience-box__title {
  color: var(--white);
}

.audience-box__desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 22px;
}

.audience-box--dark .audience-box__desc {
  color: var(--slate-300);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

.feature-list__item svg {
  width: 18px;
  height: 18px;
  color: var(--emerald-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.audience-box--dark .feature-list__item svg {
  color: var(--emerald-500);
}

.audience-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Retail Store Smart Block */
.retail-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--emerald-50) 100%);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.retail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0;
}

.retail-meta__box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.retail-meta__label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  font-weight: 700;
  margin-bottom: 4px;
}

.retail-meta__val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
}

.retail-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

/* ==========================================================================
   9 & 10. Request Form & Contacts
   ========================================================================== */
.form-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-tabs {
  display: inline-flex;
  background: var(--slate-100);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  gap: 4px;
}

.form-tab {
  border: none;
  background: transparent;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-600);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.form-tab[aria-selected="true"] {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-label span {
  color: var(--slate-500);
  font-weight: 400;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.93rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14);
}

.form-textarea {
  min-height: 104px;
  resize: vertical;
}

.file-drop {
  border: 1.5px dashed var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: var(--slate-50);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.file-drop:hover {
  border-color: var(--emerald-600);
}

.file-drop__hint {
  font-size: 0.82rem;
  color: var(--slate-600);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--slate-600);
  cursor: pointer;
}

.form-check input {
  margin-top: 3px;
  accent-color: var(--emerald-600);
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-status--success {
  display: block;
  background: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid var(--emerald-100);
}

.form-status--error {
  display: block;
  background: #fef2f2;
  color: var(--danger);
  border: 1px solid #fecaca;
}

/* Contacts Panel */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--emerald-50);
  color: var(--emerald-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 18px;
  height: 18px;
}

.contact-item__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-item__val {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy-900);
}

.map-card {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.map-card__frame {
  flex: 1;
  width: 100%;
  min-height: 310px;
  border: 0;
}

.map-card__bar {
  background: var(--white);
  padding: 14px 20px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   11. Footer & Requisites Page
   ========================================================================== */
.site-footer {
  background-color: var(--navy-950);
  color: var(--slate-300);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.site-footer__list a {
  color: var(--slate-300);
}

.site-footer__list a:hover {
  color: var(--emerald-500);
}

.site-footer__bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--slate-500);
}

/* Requisites Table */
.req-table-wrap {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.req-table {
  width: 100%;
  border-collapse: collapse;
}

.req-table th,
.req-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.94rem;
}

.req-table th {
  width: 36%;
  background: var(--slate-50);
  color: var(--slate-600);
  font-weight: 600;
}

.req-table td {
  color: var(--navy-900);
  font-weight: 600;
}

.req-table tr:last-child th,
.req-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
/* Ячейки grid/flex не должны распирать колонку длинным содержимым
   (иначе на телефонах появляется горизонтальная прокрутка) */
[class*="grid"] > *,
[class*="layout"] > * {
  min-width: 0;
}

.catalog-filter-list {
  max-width: 100%;
}

.file-drop input[type="file"] {
  max-width: 100%;
  min-width: 0;
}

.btn {
  max-width: 100%;
}

@media (max-width: 1080px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .container.site-header__inner {
    padding-left: 14px;
    padding-right: 14px;
    gap: 10px;
  }

  .site-header .brand__logo {
    height: 30px;
  }

  .lang-switch__btn {
    padding: 5px 8px;
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .form-layout,
  .contacts-grid,
  .retail-card {
    grid-template-columns: 1fr;
  }

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

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

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 56px 0;
  }

  /* Шапка на телефонах: убираем CTA (дублируется в hero и форме), ужимаем логотип,
     чтобы кнопка меню не уезжала за правый край экрана */
  .header-actions {
    gap: 8px;
  }

  .header-actions > .btn {
    display: none;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand__logo {
    height: 36px;
  }

  .brand__badge {
    display: none;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .topbar__inner {
    justify-content: center;
  }

  .hero {
    padding: 48px 0 60px;
  }

  .hero__meta,
  .trust-bar__grid,
  .categories-grid,
  .advantages-grid,
  .steps-grid,
  .split-grid,
  .form-grid,
  .retail-meta,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .form-card,
  .audience-box,
  .retail-card,
  .contact-card {
    padding: 24px 20px;
  }

  .req-table th,
  .req-table td {
    display: block;
    width: 100%;
    padding: 10px 16px;
  }

  .req-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }
}

/* Шапка: компактное меню в одну строку и бургер, пока оно не помещается
   (иначе пункты переносятся, а кнопка справа обрезается) */
.main-nav__link {
  white-space: nowrap;
}

.container.site-header__inner {
  max-width: 1400px;
  gap: 16px;
}

@media (max-width: 1440px) {
  .site-header .brand__badge {
    display: none;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav__link {
    font-size: 0.85rem;
  }
}

@media (max-width: 1320px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .mobile-toggle {
    display: inline-flex;
  }
}

/* ==========================================================================
   Импорт под заказ из любой страны мира
   ========================================================================== */
.section--import {
  padding-top: 0;
}

.import-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px 40px;
}

.import-box__title {
  font-size: 1.7rem;
}

.import-box__countries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.import-box__country {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 5px 12px;
  border-radius: 999px;
}

.import-box__steps {
  margin: 0;
  gap: 16px;
}

.import-box__steps .feature-list__item {
  font-size: 0.95rem;
  color: var(--slate-200);
}

@media (max-width: 1080px) {
  .import-box {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .import-box {
    padding: 28px 20px;
  }

  .import-box__title {
    font-size: 1.35rem;
  }
}

@media print {
  .topbar,
  .site-header,
  .site-footer,
  .no-print {
    display: none !important;
  }
  .section {
    padding: 20px 0;
  }
}


/* ==========================================================================
   Variant 3 Extensions: Multi-Page B2B Showcase, Category Details & Partners
   ========================================================================== */

/* Category Card Enhancements on Home Page */
.cat-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  margin-bottom: 16px;
}

.cat-tag {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  padding: 2px 8px;
  border-radius: 4px;
}

.cat-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cat-card__link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--emerald-700);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cat-card__link:hover {
  color: var(--emerald-600);
  text-decoration: underline;
}

/* Sub-page Hero & Breadcrumbs */
.page-hero {
  background-color: var(--navy-900);
  background-image:
    radial-gradient(circle at 85% 20%, rgba(13, 148, 136, 0.16), transparent 45%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: 48px 0 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--slate-300);
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: var(--slate-300);
}

.breadcrumbs a:hover {
  color: var(--emerald-500);
}

.breadcrumbs__sep {
  color: var(--slate-500);
}

.page-hero__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.page-hero__subtitle {
  font-size: 1.05rem;
  color: var(--slate-300);
  max-width: 780px;
  line-height: 1.6;
}

.page-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-200);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.hero-badge svg {
  width: 15px;
  height: 15px;
  color: var(--emerald-500);
}

/* Catalog Filter Bar */
.catalog-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 14px 0;
  position: sticky;
  top: 72px;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}

.catalog-filter-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.catalog-filter-btn {
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-700);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}

.catalog-filter-btn:hover {
  border-color: var(--emerald-600);
  color: var(--emerald-700);
}

.catalog-filter-btn.is-active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

/* Detailed Category Sections (catalog.html) */
.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.catalog-section-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 145px;
  transition: border-color var(--transition);
}

.catalog-section-card:hover {
  border-color: var(--emerald-600);
}

.catalog-section-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--slate-200);
}

.catalog-section-card__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 760px;
}

.catalog-section-card__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-700);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  padding: 3px 9px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}

.catalog-section-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.catalog-section-card__subtitle {
  font-size: 0.95rem;
  color: var(--slate-600);
}

.catalog-section-card__body {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.nomenclature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.nomenclature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate-700);
}

.nomenclature-item svg {
  width: 17px;
  height: 17px;
  color: var(--emerald-600);
  flex-shrink: 0;
  margin-top: 3px;
}

.catalog-spec-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catalog-spec-box__row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.catalog-spec-box__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  font-weight: 700;
}

.catalog-spec-box__val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
}

/* Partners / Distribution Page */
.partners-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.pillar-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-700);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.pillar-card__title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.pillar-card__desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .catalog-section-card__body,
  .partners-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nomenclature-grid {
    grid-template-columns: 1fr;
  }
  .catalog-section-card {
    padding: 22px 18px;
  }
}


/* ==========================================================================
   Client Pain Points ("Боли и решения снабжения") & Visual Product Media
   ========================================================================== */

/* Category Card Image Thumbnail */
.cat-card__media {
  position: relative;
  height: 156px;
  margin: -26px -22px 18px -22px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cat-card:hover .cat-card__media img {
  transform: scale(1.04);
}

.cat-card__media-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(11, 17, 33, 0.82);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 3px 9px;
  border-radius: 4px;
}

/* Catalog Section Media Preview */
.catalog-spec-box__img {
  width: 100%;
  height: 176px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: var(--slate-100);
}

.catalog-spec-box__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Warehouse & Base Visual Block */
.warehouse-banner {
  margin-top: 32px;
  background: var(--navy-900);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  color: var(--white);
}

.warehouse-banner__content {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.warehouse-banner__media {
  position: relative;
  min-height: 270px;
  background: var(--navy-950);
}

.warehouse-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.warehouse-banner__caption {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(11, 17, 33, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--slate-200);
  font-size: 0.76rem;
  padding: 5px 10px;
  border-radius: 4px;
}

@media (max-width: 1080px) {
  .pains-grid,
  .warehouse-banner {
    grid-template-columns: 1fr;
  }
}


/* Floating WhatsApp Quick-Contact Button */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.wa-float:hover {
  background: #15803d;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.42);
}

.wa-float svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
    padding: 11px 15px;
    font-size: 0.84rem;
  }
}

@media print {
  .wa-float {
    display: none !important;
  }
}
