/* public/assets/css/style.css */

/* ===== Base Styles ===== */
:root {
  /* Colors - VRX Brand */
  --primary: #1A1A1A;      /* Dark/Black - основной брендовый */
  --primary-dark: #000000;
  --accent: #FF6600;       /* Orange - акцент VRX */
  --accent-hover: #E55A00;
  --secondary: #6B6B6B;    /* Gray - GROUP text */
  --text: #333333;         /* Main text */
  --text-light: #666666;   /* Secondary text */
  --text-lighter: #999999; /* Muted text */
  --text-white: #FFFFFF;
  --border: #E0E0E0;       /* Borders and dividers */
  --background: #FFFFFF;   /* Main background */
  --background-alt: #F8F9FA; /* Alternative background */
  --background-dark: #1A1A1A;
  --success: #28A745;      /* Success messages */
  --error: #DC3545;        /* Error messages */
  --warning: #FFC107;      /* Warning messages */
  --info: #17A2B8;         /* Info messages */
  
  /* Typography - Proxima Nova with Montserrat fallback */
  --font-sans: 'Proxima Nova', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --font-base: 1rem;       /* 16px */
  --font-scale: 1.25;      /* Major third scale */
  --line-height: 1.6;
  
  /* Spacing */
  --space-unit: 1rem;      /* 16px */
  --space-xxs: calc(0.25 * var(--space-unit));  /* 4px */
  --space-xs: calc(0.5 * var(--space-unit));    /* 8px */
  --space-sm: calc(0.75 * var(--space-unit));   /* 12px */
  --space-md: calc(1.25 * var(--space-unit));   /* 20px */
  --space-lg: calc(2 * var(--space-unit));      /* 32px */
  --space-xl: calc(3.25 * var(--space-unit));   /* 52px */
  --space-xxl: calc(5.25 * var(--space-unit));  /* 84px */
  
  /* Container */
  --container-width: 1200px;
  --container-padding: var(--space-md);
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-base: 0.2s ease-in-out;
  --transition-transform: transform 0.2s ease-in-out;
  --transition-colors: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

/* ===== Base Elements ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-base);
  line-height: var(--line-height);
  color: var(--text);
  background-color: var(--background);
  margin: 0;
  padding: 0;
  padding-top: 88px; /* Header height: 32px top + 56px main */
  overscroll-behavior: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-md) 0;
  color: var(--text);
}

h1 {
  font-size: calc(var(--font-base) * 2.5);  /* 40px */
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: calc(var(--font-base) * 2);    /* 32px */
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-sm);
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
}

.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: calc(var(--font-base) * 1.5);  /* 24px */
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: calc(var(--font-base) * 1.25); /* 20px */
}

p {
  margin: 0 0 var(--space-md) 0;
  color: var(--text-light);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-colors);
}

a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Buttons should not inherit link hover styles */
a.btn,
a.btn:hover,
a.btn:focus,
a.btn:active {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul, ol {
  margin: 0 0 var(--space-md) 0;
  padding-left: var(--space-md);
}

li {
  margin-bottom: var(--space-xs);
}

hr {
  border: 0;
  height: 1px;
  background-color: var(--border);
  margin: var(--space-lg) 0;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Header */
.header {
  background-color: var(--background);
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo img {
  height: 32px;
  width: auto;
}

/* Navigation */
.nav {
  display: flex;
  gap: var(--space-md);
}

.nav__link {
  color: var(--text);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}

.nav__link:hover {
  color: var(--primary);
  text-decoration: none;
  background-color: var(--background-alt);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: var(--text-white);
  min-height: 480px;
  display: flex;
  align-items: center;
}

/* Hero backgrounds for specific pages */
.hero[data-page="home"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/warehouse.jpg');
}

.hero[data-page="rfid"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/rfid.jpg');
}

.hero[data-page="wms"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/wms.jpg');
}

.hero[data-page="equipment"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/equipment.jpg');
}

.hero[data-page="about"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/office.jpg');
}

.hero[data-page="contacts"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/city.jpg');
}

.hero[data-page="catalog"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/equipment.jpg');
}

.hero[data-page="1c"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/software.jpg');
}

.hero[data-page="assets"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/inventory.jpg');
}

.hero[data-page="industries"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/industries.jpg');
}

.hero[data-page="auto"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/auto.jpg');
}

.hero[data-page="food"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/food.jpg');
}

.hero[data-page="logistics"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/logistics.jpg');
}

.hero[data-page="fashion"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/fashion.jpg');
}

.hero[data-page="construction"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/construction.jpg');
}

.hero[data-page="manufacturing"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/manufacturing.jpg');
}

.hero[data-page="alcohol"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/alcohol.jpg');
}

.hero[data-page="pharma"] {
  background-image: linear-gradient(135deg, rgba(30, 40, 50, 0.75) 0%, rgba(20, 30, 40, 0.65) 100%),
                    url('/assets/images/hero/pharma.jpg');
}

.hero__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.hero__title {
  font-size: calc(var(--font-base) * 2.75); /* 44px */
  margin-bottom: var(--space-md);
  color: var(--text-white);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
}

.hero__subtitle {
  font-size: calc(var(--font-base) * 1.25); /* 20px */
  color: rgba(255, 255, 255, 0.9);
  max-width: 750px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.hero__location {
  margin-top: var(--space-lg);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero .btn--outline {
  color: var(--text-white);
  background-color: transparent;
  border-color: var(--text-white);
}

.hero .btn--outline:hover {
  background-color: var(--text-white);
  border-color: var(--text-white);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

/* Features Section */
.features {
  padding: var(--space-xxl) 0;
  background-color: var(--background);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.feature-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.feature-card__description {
  color: var(--text-light);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.btn:hover,
.btn:focus,
.btn:active {
  text-decoration: none;
}

.btn--primary {
  color: white;
  background-color: var(--accent);
  border-color: var(--accent);
}

.btn--primary,
.btn--primary:hover,
.btn--primary:focus,
.btn--primary:active,
.btn--primary:visited {
  color: white !important;
}

.btn--primary span,
.btn--primary svg,
.btn--primary i {
  color: inherit !important;
}

.btn--primary:hover {
  background-color: #e85d15;
  border-color: #e85d15;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn--secondary {
  color: var(--accent);
  background-color: white;
  border: 2px solid var(--accent);
}

.btn--secondary:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
  text-decoration: none;
}

.btn--outline {
  color: var(--accent);
  background-color: white;
  border: 2px solid var(--accent);
}

.btn--outline:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
  text-decoration: none;
}

.btn--whatsapp {
  color: white;
  background-color: #25D366;
  border-color: #25D366;
}

.btn--whatsapp,
.btn--whatsapp:hover,
.btn--whatsapp:focus,
.btn--whatsapp:active,
.btn--whatsapp:visited {
  color: white !important;
}

.btn--whatsapp span,
.btn--whatsapp svg,
.btn--whatsapp i {
  color: inherit !important;
}

.btn--whatsapp:hover {
  background-color: #1da851;
  border-color: #1da851;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

/* Section - единые отступы 60px сверху и снизу */
.section {
  padding: 60px 0;
}

.section--alt {
  background-color: var(--background-alt);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.section__header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section__header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.section__header p {
  color: var(--text-light);
  margin-top: var(--space-md);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.ml-0 { margin-left: 0; }
.mr-0 { margin-right: 0; }

.pt-1 { padding-top: var(--space-xxs); }
.pb-1 { padding-bottom: var(--space-xxs); }
.pt-2 { padding-top: var(--space-xs); }
.pb-2 { padding-bottom: var(--space-xs); }
.pt-3 { padding-top: var(--space-sm); }
.pb-3 { padding-bottom: var(--space-sm); }
.pt-4 { padding-top: var(--space-md); }
.pb-4 { padding-bottom: var(--space-md); }
.pt-5 { padding-top: var(--space-lg); }
.pb-5 { padding-bottom: var(--space-lg); }
.pt-6 { padding-top: var(--space-xl); }
.pb-6 { padding-bottom: var(--space-xl); }

/* Responsive */
@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-md);
  }

  h1 {
    font-size: calc(var(--font-base) * 2);  /* 32px */
  }

  h2 {
    font-size: calc(var(--font-base) * 1.75); /* 28px */
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero__title {
    font-size: calc(var(--font-base) * 2);  /* 32px */
  }

  .nav {
    display: none; /* Mobile menu would go here */
  }

  .mobile-menu-toggle {
    display: block;
  }
}
/* ===== Aliases for current PHP markup ===== */
.hero-title { 
  font-size: calc(var(--font-base) * 3);
  margin-bottom: var(--space-md);
  color: var(--text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: calc(var(--font-base) * 1.25);
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

/* “Что делаем” список */
.features-list {
  list-style: none;
  padding-left: 0;
  margin: var(--space-lg) auto 0;
  max-width: 700px;
  text-align: left;
}

.feature-item {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--background);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-sm);
}

/* ===== Header Extended ===== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* Header Top Bar */
.header__top {
  background-color: var(--background-dark);
  color: white;
  font-size: 0.8125rem;
}

.header__top a {
  color: white;
}

.header__top a:hover {
  color: var(--accent);
}

.header__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-white);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-base);
  font-size: 0.8125rem;
}

.header__phone:hover {
  color: var(--accent);
  text-decoration: none;
}

.header__phone svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.header__email {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition-base);
  font-size: 0.8125rem;
}

.header__email:hover {
  color: var(--accent);
  text-decoration: none;
}

.header__address {
  color: rgba(255,255,255,0.7);
  font-size: 0.8125rem;
}

/* Header Main */
.header__main {
  background-color: var(--background);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  gap: var(--space-md);
}

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

.logo__img {
  height: 40px;
  width: auto;
  display: block;
}

.logo__text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo__text span {
  color: var(--accent);
}

/* Header CTA Button - оранжевый акцент */
.btn--header {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.btn--header,
.btn--header:hover,
.btn--header:focus,
.btn--header:active,
.btn--header:visited {
  color: white !important;
}

.btn--header span,
.btn--header svg,
.btn--header i {
  color: inherit !important;
}

.btn--header:hover {
  background-color: #e85d15;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn--header svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: var(--accent);
  background-color: var(--background-alt);
  text-decoration: none;
}

/* Dropdown Menu */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--background);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-base);
  z-index: 100;
  padding: var(--space-sm) 0;
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--text);
  text-decoration: none;
  transition: var(--transition-base);
}

.nav__dropdown-link:hover {
  background-color: var(--background-alt);
  color: var(--accent);
  text-decoration: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--text);
  margin: 2px 0;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* ===== Mobile Menu Overlay ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--background);
  z-index: 9999;
  flex-direction: column;
  overflow: hidden;
}

.mobile-menu.active {
  display: flex;
}

body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Mobile Menu Header */
.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mobile-menu__header .logo__img {
  height: 32px;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu__close:hover,
.mobile-menu__close:active {
  background: var(--accent);
  border-color: var(--accent);
}

.mobile-menu__close svg {
  width: 20px;
  height: 20px;
  color: var(--text);
  transition: color 0.2s ease;
}

.mobile-menu__close:hover svg,
.mobile-menu__close:active svg {
  color: white;
}

/* Mobile Menu Content */
.mobile-menu__content {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* Mobile Menu Panels */
.mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: var(--space-md) var(--space-lg);
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.mobile-menu__panel--main {
  transform: translateX(0);
}

.mobile-menu__panel--sub {
  transform: translateX(100%);
}

.mobile-menu__panel--main.hidden {
  transform: translateX(-100%);
}

.mobile-menu__panel--sub.active {
  transform: translateX(0);
}

/* Mobile Menu Back Button */
.mobile-menu__back {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) 0;
  margin-bottom: var(--space-md);
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mobile-menu__back:hover {
  color: var(--accent);
}

.mobile-menu__back svg {
  width: 18px;
  height: 18px;
}

/* Mobile Menu Subtitle */
.mobile-menu__subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--accent);
}

/* Mobile Menu List */
.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu__item {
  border-bottom: 1px solid var(--border);
}

.mobile-menu__item:last-child {
  border-bottom: none;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  min-height: 56px;
  transition: color 0.2s ease;
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
  color: var(--accent);
}

.mobile-menu__link--parent svg {
  color: var(--text-light);
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-menu__link--parent:hover svg {
  color: var(--accent);
  transform: translateX(4px);
}

/* Mobile Menu Footer */
.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--background);
}

.mobile-menu__btn {
  width: 100%;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.mobile-menu__btn svg {
  width: 16px;
  height: 16px;
}

/* WhatsApp button in mobile menu - primary action */
.mobile-menu__btn.btn--whatsapp {
  background-color: #25D366;
  border-color: #25D366;
  color: white !important;
}

.mobile-menu__btn.btn--whatsapp:hover {
  background-color: #1da851;
  border-color: #1da851;
}

/* Phone button in mobile menu - secondary/text action */
.mobile-menu__btn.btn--secondary {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text) !important;
}

.mobile-menu__btn.btn--secondary:hover {
  background-color: var(--background-alt);
  border-color: var(--border);
  color: var(--text) !important;
  transform: none;
  box-shadow: none;
}

.mobile-menu__btn.btn--secondary svg {
  flex-shrink: 0;
}

/* Header CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__phone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.header__phone:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--background-dark);
  color: var(--text-white);
  padding: var(--space-xxl) 0 var(--space-lg);
}

.footer__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: block;
  margin-bottom: var(--space-md);
}

.footer__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.footer__description {
  color: var(--text-lighter);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.footer__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-white);
}

.footer__title::after {
  display: none;
}

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

.footer__list li {
  margin-bottom: var(--space-sm);
}

.footer__link {
  color: #9CA3AF;
  text-decoration: none;
  transition: var(--transition-base);
}

.footer__link:hover {
  color: #D1D5DB;
  text-decoration: none;
}

.footer__link.active {
  color: var(--text-white);
  text-decoration: underline;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--text-lighter);
}

.footer__contact-item a {
  color: var(--text-lighter);
  text-decoration: none;
}

.footer__contact-item a:hover {
  color: var(--accent);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition-base);
}

.footer__social-link:hover {
  background-color: var(--accent);
  text-decoration: none;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copyright {
  color: var(--text-lighter);
  font-size: 0.875rem;
}


/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 64px;
  height: 64px;
  background: #F6F7F9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: #2B2B2B;
  transition: all 0.2s ease;
  border: 1px solid #E5E7EB;
}

.card__icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 1.5;
}

.card:hover .card__icon {
  background: rgba(255, 106, 0, 0.06);
  color: #FF6A00;
  border-color: #FF6A00;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.card__title::after {
  display: none;
}

.card__text {
  color: var(--text-light);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-base);
}

.card__link:hover {
  color: var(--accent);
}

.card__link::after {
  content: '→';
  color: var(--accent);
  transition: transform 0.2s ease;
  display: inline-block;
}

.card__link:hover::after {
  transform: translateX(4px);
}

/* ===== Industries Grid ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

.industry-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition-base);
}

.industry-card:hover {
  border-color: var(--accent);
  background: rgba(255, 106, 0, 0.04);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.industry-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: #2B2B2B;
  transition: all 0.2s ease;
}

.industry-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.5;
}

.industry-card:hover .industry-card__icon {
  color: #FF6A00;
}

.industry-card__title {
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition-base);
}

.industry-card:hover .industry-card__title {
  color: var(--accent);
}

/* ===== Process Stages ===== */
.process-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.process-stage {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: var(--transition-base);
}

.process-stage:hover {
  box-shadow: var(--shadow-lg);
}

.process-stage__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-md);
  line-height: 1;
}

.process-stage__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

.process-stage__title::after {
  display: none;
}

.process-stage__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-stage__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: var(--space-sm);
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.process-stage__list li:last-child {
  margin-bottom: 0;
}

.process-stage__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-lighter);
}

.step__text {
  color: var(--text-light);
  font-size: 0.9375rem;
}

/* ===== Advantages List ===== */
.advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.advantage {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--background);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.advantage__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.advantage__text {
  color: var(--text);
  font-weight: 500;
}

/* ===== Section Divider ===== */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0 auto;
  max-width: var(--container-width);
  padding: 0 var(--container-padding);
}

/* ===== Quiz Section ===== */
.quiz-section {
  padding: 60px 0;
  background: #F9FAFB;
}

.quiz-section--white {
  background: var(--background);
  padding-top: 80px;
  padding-bottom: 80px;
}

.quiz-section__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin: 0 auto 40px;
  max-width: 700px;
  line-height: 1.3;
}

.quiz-section__title::after {
  display: none;
}

.quiz-container {
  max-width: 600px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.quiz-progress {
  margin-bottom: 40px;
}

.quiz-progress__bar {
  width: 100%;
  height: 4px;
  background: #E5E7EB;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}

.quiz-progress__fill {
  height: 100%;
  background: var(--accent);
  width: 20%;
  transition: width 0.3s ease;
}

.quiz-progress__text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-step__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 32px;
  text-align: center;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  width: 100%;
  padding: 18px 24px;
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.quiz-option:hover {
  border-color: var(--accent);
  background: #FFF7F5;
}

.quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.quiz-option:active {
  transform: scale(0.98);
}

.quiz-contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quiz-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.quiz-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--background);
  transition: var(--transition-base);
  font-family: inherit;
}

.quiz-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 42, 0.1);
}

.quiz-submit {
  width: 100%;
  padding: 16px 32px;
  font-size: 1.0625rem;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .quiz-section__title {
    font-size: 1.5rem;
    margin-bottom: 32px;
    padding: 0 16px;
  }
  
  .quiz-container {
    padding: 32px 24px;
  }
  
  .quiz-step__title {
    font-size: 1.25rem;
    margin-bottom: 24px;
  }
  
  .quiz-option {
    padding: 16px 20px;
    font-size: 0.9375rem;
  }
}

/* ===== Contact Form (legacy) ===== */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
}

.form-section {
  padding: 60px 0;
  background: #F9FAFB;
}

.form-section__container {
  max-width: 600px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-section__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  text-align: center;
  color: var(--text);
}

.form-section__subtitle {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: var(--space-xl);
  text-align: center;
  line-height: 1.6;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
}

.form-label--optional {
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.875rem;
}

.form-label--optional::after {
  content: " (необязательно)";
  font-size: 0.8125rem;
  color: var(--text-lighter);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--background);
  transition: var(--transition-base);
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 42, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-submit {
  display: block;
  width: 100%;
  padding: 16px 32px;
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: var(--space-lg);
  cursor: pointer;
}

@media (max-width: 768px) {
  .form-section__container {
    padding: 32px 24px;
  }
  
  .form-section__title {
    font-size: 1.5rem;
  }
}

/* ===== Catalog ===== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
}

.product-card--clickable {
  display: block;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
}

.product-card--clickable:hover,
.product-card--clickable:focus,
.product-card--clickable:visited {
  text-decoration: none !important;
  color: inherit;
}

.product-card--clickable:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.product-card--clickable .product-card__title {
  color: var(--text);
  transition: color 0.2s ease;
  text-decoration: none !important;
}

.product-card--clickable .product-card__text {
  text-decoration: none !important;
}

.product-card--clickable:hover .product-card__title {
  color: var(--accent);
}

.product-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #EEF1F4;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-lg);
}

/* Логотипы брендов - специфичный селектор только для секций брендов */
.brands-section .product-card,
.brands-section .product-card--clickable {
  border: 1px solid var(--border) !important;
}

.brands-section .product-card:hover,
.brands-section .product-card--clickable:hover {
  border-color: var(--accent) !important;
}

.brands-section .product-card__image {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  background: #FFFFFF;
}

.brands-section .catalog-grid .product-card__image img {
  display: block;
  max-height: 60px;
  width: auto !important;
  height: auto !important;
  max-width: 80%;
  object-fit: contain;
  padding: 0;
}

/* Fallback для отсутствующих логотипов брендов */
.brands-section .product-card__image--text-fallback {
  background: #F6F7F9;
}

.brands-section .brand-fallback {
  font-size: 1.25rem;
  font-weight: 600;
  color: #9CA3AF;
  text-decoration: none;
  user-select: none;
}

.product-card__image--placeholder {
  color: var(--text-lighter);
  background: #FAFBFC;
}

.product-card__body {
  padding: var(--space-md);
}

.product-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.product-card__title::after {
  display: none;
}

.product-card__text {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
}

.product-card__price {
  font-weight: 600;
  color: var(--accent);
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  padding: 8px 0;
  background: transparent;
  margin-top: 70px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-xs);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 0.8125rem;
}

.breadcrumbs__item::after {
  content: '/';
  color: var(--text-lighter);
}

.breadcrumbs__item:last-child::after {
  display: none;
}

.breadcrumbs__link {
  color: var(--text-light);
  text-decoration: none;
}

.breadcrumbs__link:hover {
  color: var(--accent);
}

.breadcrumbs__current {
  color: var(--text-lighter);
  font-weight: 400;
}

/* ===== Page Header ===== */
.page-header {
  padding: var(--space-xl) 0;
  background: var(--background-alt);
  margin-top: 80px;
  text-align: center;
}

.breadcrumbs + .hero,
.breadcrumbs + .page-header {
  margin-top: 0;
}

.breadcrumbs + .catalog-hero {
  margin-top: 0;
}

.page-header__title {
  margin-bottom: var(--space-sm);
}

.page-header__title::after {
  left: 50%;
  transform: translateX(-50%);
}

.page-header__subtitle {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: var(--space-md);
  background: var(--background);
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-base);
}

.faq-question:hover {
  background: var(--background-alt);
}

.faq-answer {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-light);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ===== CTA Section - минималистичный стиль ===== */
.cta-section {
  background: #FFFFFF;
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section__title {
  color: var(--text);
  margin-bottom: var(--space-md);
  font-size: 1.75rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.cta-section__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.cta-section__text {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.cta-section .btn {
  min-width: 240px;
}

/* WhatsApp в CTA - зелёный */
.cta-section .btn--whatsapp {
  background-color: #25D366;
  color: white;
  border-color: #25D366;
}

.cta-section .btn--whatsapp:hover {
  background-color: #1da851;
  border-color: #1da851;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ===== Map ===== */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-md);
  }

  body {
    padding-top: 56px;
  }

  h1 {
    font-size: calc(var(--font-base) * 1.75);
  }

  h2 {
    font-size: calc(var(--font-base) * 1.5);
  }

  .section {
    padding: 40px 0;
  }

  .hero {
    padding: 60px 0 50px;
    min-height: auto;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .header__top {
    display: none;
  }

  .header__inner {
    height: 56px;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    flex-direction: column;
    padding: var(--space-lg);
    overflow-y: auto;
  }

  .main-nav.active {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    width: 100%;
  }

  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: var(--space-md);
    display: none;
  }

  .nav__item.active .nav__dropdown {
    display: block;
  }

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

  .header__cta {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .process-stages {
    grid-template-columns: 1fr;
  }
  
  .process-stage {
    padding: var(--space-lg);
  }
  
  .process-stage__number {
    font-size: 2rem;
  }

  /* Hide desktop nav on mobile */
  .main-nav {
    display: none;
  }

  /* Mobile Header */
  .header__inner {
    height: 64px;
  }

  .logo__img {
    height: 32px;
  }

  /* Burger Menu Toggle */
  .mobile-menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
  }

  .mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--text);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.2s ease;
  }

  .header__cta {
    display: none;
  }
}

/* ===== Placeholder/Stub styles ===== */
.placeholder-image {
  background: linear-gradient(135deg, var(--background-alt) 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-lighter);
  font-size: 0.875rem;
}

.coming-soon {
  text-align: center;
  padding: var(--space-xl);
  background: var(--background-alt);
  border-radius: var(--radius-lg);
  color: var(--text-light);
}

.coming-soon__title {
  color: var(--text);
  margin-bottom: var(--space-sm);
}

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

.accent-text {
  color: var(--accent);
}

.text-white {
  color: var(--text-white);
}

.bg-dark {
  background-color: var(--background-dark);
}

.bg-alt {
  background-color: var(--background-alt);
}

/* ===== Contact Info Grid ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.contact-info-item {
  display: flex;
  flex-direction: column;
}

.contact-info-item h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-item .contact-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  margin-bottom: var(--space-xs);
}

.contact-info-item .contact-value:hover {
  color: var(--accent);
}

.contact-info-item p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.9375rem;
}

/* WhatsApp кнопка вторичная - меньше, привязана к телефону */
.contact-info-item .btn--whatsapp-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-sm);
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  background-color: transparent;
  color: #25D366;
  border: 1px solid #25D366;
  border-radius: var(--radius-sm);
}

.contact-info-item .btn--whatsapp-secondary:hover {
  background-color: #25D366;
  border-color: #25D366;
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-info-item .btn--whatsapp-secondary svg {
  width: 16px;
  height: 16px;
}

/* ===== Problems Grid ===== */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.problem-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: var(--transition-base);
}

.problem-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.problem-card__icon {
  width: 48px;
  height: 48px;
  background: #FFF3E6;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.problem-card__icon svg {
  color: var(--accent);
}

.problem-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text);
}

.problem-card__text {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* ===== Solution Steps ===== */
.solution-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.solution-step {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
  transition: var(--transition-base);
}

.solution-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.solution-step__number {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}

.solution-step__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.solution-step__icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.solution-step__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.solution-step__title::after {
  display: none;
}

.solution-step__text {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .solution-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .btn--header {
    display: none;
  }
  
  .problems-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Product Card Section (Equipment Page) ===== */
.product-card-section {
  padding: 40px 0;
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.product-hero__image {
  background: #FAFBFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.product-hero__image img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.product-hero__placeholder {
  color: var(--text-lighter);
  font-size: 1.25rem;
}

.product-hero__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg) 0;
}

.product-hero__features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--space-sm);
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.5;
}

.product-hero__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .product-hero__image {
    min-height: 200px;
    padding: var(--space-lg);
  }
}

/* ===== Specs Grid ===== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

.specs-item {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
}

.specs-item__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.specs-item__value {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

/* ===== Warning Block ===== */
.warning-block {
  background: #FFF8F0;
  border: 1px solid #FFE0C0;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
}

.warning-block ul {
  margin: 0;
  padding-left: var(--space-md);
}

.warning-block li {
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.warning-block li:last-child {
  margin-bottom: 0;
}

/* ===== Anchor Navigation (Sticky) ===== */
.anchor-nav {
  position: sticky;
  top: 70px;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: var(--space-sm) 0;
}

.anchor-nav__list {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.anchor-nav__list::-webkit-scrollbar {
  display: none;
}

.anchor-nav__link {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.anchor-nav__link:hover,
.anchor-nav__link.active {
  color: var(--accent);
  background: rgba(255, 107, 0, 0.08);
}

@media (max-width: 768px) {
  .anchor-nav {
    top: 60px;
  }
  
  .anchor-nav__list {
    gap: var(--space-sm);
  }
  
  .anchor-nav__link {
    font-size: 0.8125rem;
    padding: var(--space-xs);
  }
}

/* ===== Results Grid ===== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.results-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.results-item__value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.results-item__label {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-light);
}

/* ===== Product Card (B2B Catalog) - Stripe/Material Style ===== */

/* Compact sections */
.section--compact {
  padding: 80px 0;
}

.section--compact p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #444444;
  max-width: 650px;
}

.section__title--compact {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section__title--compact::after {
  display: none;
}

/* Catalog Hero - 50/50 Grid */
.catalog-hero {
  padding: 48px 0;
  background: var(--white);
}

.catalog-hero__grid {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 64px;
  align-items: center;
}

.catalog-hero__image {
  background: #FFFFFF;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  position: relative;
}

.catalog-hero__image img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.15));
}

.catalog-hero__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.catalog-hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin: -4px 0 8px;
  line-height: 1.4;
}

.catalog-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #F9FAFB;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: #4B5563;
  font-weight: 500;
  border: none;
}

/* Accent badge disabled - all badges same weight */
.catalog-hero__badge--accent {
  background: #F9FAFB;
  color: #4B5563;
  font-weight: 500;
}

.catalog-hero__badge svg {
  width: 16px;
  height: 16px;
  color: var(--text-light);
}

.catalog-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
}

.catalog-hero__cta .btn {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.catalog-hero__hint {
  font-size: 0.8125rem;
  color: #9CA3AF;
  margin: 0;
}

/* Tab Navigation - Minimal */
.tab-nav {
  position: sticky;
  top: 70px;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid #E5E7EB;
}

.tab-nav__list {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tab-nav__list::-webkit-scrollbar {
  display: none;
}

.tab-nav__link {
  display: block;
  padding: 16px 24px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  margin-bottom: -1px;
}

.tab-nav__link:hover {
  color: var(--text);
}

.tab-nav__link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Spec Grid - Table with dividers */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.spec-grid__item {
  padding: 16px 24px 16px 0;
  background: transparent;
  border-bottom: 1px solid #F0F0F0;
}

.spec-grid__item:nth-last-child(-n+3) {
  border-bottom: none;
}

.spec-grid__item:nth-child(3n) {
  padding-right: 0;
}

.spec-grid__label {
  display: block;
  font-size: 0.75rem;
  color: #888888;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.spec-grid__value {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #111111;
  letter-spacing: -0.01em;
}

/* Use Cases - Horizontal, Line Icons */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.use-cases-grid__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: none;
}

.use-cases-grid__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.use-cases-grid__icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.use-cases-grid__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.use-cases-grid__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.use-cases-grid__text {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Compatibility List */
.compat-list {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.8;
  margin: 0;
}

/* KPI / Business Effect - Large Numbers */
.kpi-bar {
  background: var(--white);
  padding: 64px 0;
  border-top: none;
}

.kpi-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.kpi-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.kpi-bar__value {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.kpi-bar__label {
  display: block;
  font-size: 0.875rem;
  color: #444;
  margin-top: 4px;
  font-weight: 500;
}

.kpi-bar__footnote {
  font-size: 0.6875rem;
  color: #AAAAAA;
  text-align: center;
  margin-top: 32px;
}

/* Card Footer - Final CTA */
.card-footer {
  padding: 64px 0;
  background: var(--white);
  text-align: center;
  border-top: none;
}

.card-footer__text {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.card-footer .btn {
  padding: 14px 28px;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
  .catalog-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .catalog-hero__image {
    max-width: 320px;
    margin: 0 auto;
    padding: 32px;
  }
  
  .catalog-hero__title {
    font-size: 1.75rem;
  }
  
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .spec-grid__item:nth-child(3n) {
    padding-right: 24px;
  }
  
  .spec-grid__item:nth-child(2n) {
    padding-right: 0;
  }
  
  .spec-grid__item:nth-last-child(-n+3) {
    border-bottom: 1px solid #E5E7EB;
  }
  
  .spec-grid__item:nth-last-child(-n+2) {
    border-bottom: none;
  }
  
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  /* Fix: Sync body padding with header height (60px) */
  body {
    padding-top: 60px;
  }
  
  /* Fix: Match header height to body padding */
  .header__inner {
    height: 60px;
  }

  /* Fix: Remove large desktop margin from breadcrumbs */
  .breadcrumbs {
    margin-top: 10px;
    padding-bottom: 0;
  }

  .section--compact {
    padding: 32px 0;
  }
  
  .section--compact p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .catalog-hero {
    padding: 16px 0 32px;
  }
  
  .catalog-hero__subtitle {
    font-size: 1rem;
  }
  
  .catalog-hero__grid {
    grid-template-columns: 1fr;
  }
  
  .catalog-hero__content {
    gap: 16px;
    text-align: center;
  }
  
  .catalog-hero__image {
    max-width: 100%;
    width: 100%;
    padding: 16px 0;
    margin: 0 auto;
    border-radius: 0;
    background: #FFFFFF;
  }
  
  .catalog-hero__image img {
    max-height: none !important;
    width: 80% !important;
    max-width: none !important;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.1));
  }
  
  .catalog-hero__title {
    font-size: 1.75rem;
  }
  
  .catalog-hero__badges {
    justify-content: center;
  }
  
  .catalog-hero__cta {
    display: none;
  }
  
  .tab-nav {
    top: 60px;
  }
  
  .tab-nav__link {
    padding: 12px 16px;
    font-size: 0.8125rem;
  }
  
  .spec-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 0;
  }
  
  .spec-grid__item {
    padding: 8px 12px 8px 0;
  }
  
  .spec-grid__item:nth-child(2n) {
    padding-right: 0;
  }
  
  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .use-cases-grid__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }
  
  .use-cases-grid__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }
  
  .use-cases-grid__icon svg {
    width: 28px;
    height: 28px;
  }
  
  .kpi-bar {
    padding: 48px 0;
  }
  
  .kpi-bar__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .kpi-bar__item {
    padding: 16px 8px;
    border-radius: 8px;
  }
  
  .kpi-bar__value {
    font-size: 1.25rem;
  }
  
  .kpi-bar__label {
    font-size: 0.5625rem;
    margin-top: 4px;
  }
  
  .kpi-bar__footnote {
    margin-top: 16px;
    font-size: 0.625rem;
  }
  
  .card-footer {
    padding: 48px 0 120px;
  }
  
  .card-footer .btn {
    width: 100%;
    max-width: 320px;
  }
  
  /* Sticky CTA Mobile */
  .sticky-cta-mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: #FFFFFF;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
    z-index: 100;
  }
  
  .sticky-cta-mobile .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
  }
}

/* Sticky CTA - hidden on desktop */
.sticky-cta-mobile {
  display: none;
}