/* ==========================================================================
   ПОЛИГРАД — Компания тепличных конструкций и поликарбоната
   Премиум дизайн-система: Матовое стекло с шагренью (Frosted Glass),
   Атмосферный фон «Golden Hour Field» — небо и поле без шума фото,
   Крупный контрастный логотип и технологичный стиль.
   ========================================================================== */

:root {
  /* Цветовая палитра: Солнце, Небо, Зелень, Металл, Матовое стекло */
  --c-sky-light: #e0f2fe;
  --c-sky: #0ea5e9;
  --c-sky-deep: #0284c7;
  --c-sky-navy: #072238;

  --c-sun-light: #fef3c7;
  --c-sun: #f59e0b;
  --c-sun-bright: #fbbf24;
  --c-sun-dark: #b45309;
  --c-sun-glow: rgba(245, 158, 11, 0.5);

  --c-emerald-light: #ecfdf5;
  --c-emerald: #10b981;
  --c-emerald-dark: #059669;
  --c-emerald-deep: #064e3b;
  --c-emerald-forest: #072b20;

  --c-bg-page: #2a4a3c;
  --c-text-main: #062319;
  --c-text-muted: #335547;
  --c-text-light: #648577;
  --c-white: #ffffff;

  /* Металлический алюминиевый профиль (Anodized / Galvanized Greenhouse Profile) */
  --c-alu-pure: #ffffff;
  --c-alu-light: #f8fafc;
  --c-alu-silver: #e2e8f0;
  --c-alu-mid: #cbd5e1;
  --c-alu-slate: #94a3b8;
  --c-alu-steel: #64748b;
  --c-alu-dark: #334155;

  /* Грани и фаски фрезерованного анодированного профиля */
  --alu-border-outer: rgba(203, 213, 225, 0.65);
  --alu-border-top: rgba(255, 255, 255, 0.98);
  --alu-border-left: rgba(255, 255, 255, 0.88);
  --alu-border-bottom: rgba(148, 163, 184, 0.45);
  --alu-border-right: rgba(148, 163, 184, 0.38);

  /* Металлические световые блики (Brushed Anodized Sheen) */
  --alu-sheen-top: linear-gradient(90deg, 
    transparent 0%, 
    rgba(203, 213, 225, 0.25) 10%, 
    rgba(255, 255, 255, 0.98) 45%, 
    rgba(226, 232, 240, 0.85) 60%, 
    rgba(203, 213, 225, 0.30) 90%, 
    transparent 100%
  );
  --alu-sheen-sidebar: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.98) 0%, 
    rgba(226, 232, 240, 0.85) 25%, 
    rgba(255, 255, 255, 0.95) 50%, 
    rgba(203, 213, 225, 0.75) 75%, 
    rgba(148, 163, 184, 0.50) 100%
  );
  --alu-sheen-dark: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.15) 15%, 
    rgba(255, 255, 255, 0.65) 50%, 
    rgba(203, 213, 225, 0.35) 85%, 
    transparent 100%
  );

  /* Кромка квадратного алюминиевого профиля (как на теплицах) */
  --alu-profile-w: 14px;
  --alu-profile-seam: rgba(255, 255, 255, 0.98);
  --alu-profile-face: linear-gradient(90deg,
    #9aa8b6 0%,
    #d8e0e8 10%,
    #ffffff 24%,
    #b8c5d2 40%,
    #f6f9fc 54%,
    #a8b6c4 68%,
    #ffffff 82%,
    #7d8c9c 94%,
    #5c6b7a 100%);
  --alu-profile-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 1),
    inset 2px 0 1px rgba(255, 255, 255, 0.82),
    inset 5px 0 3px rgba(71, 85, 105, 0.28),
    inset 7px 0 0 rgba(255, 255, 255, 0.72),
    inset -1px 0 0 rgba(71, 85, 105, 0.58),
    inset -2px 0 2px rgba(30, 41, 59, 0.38),
    2px 0 12px rgba(15, 23, 42, 0.2),
    5px 0 22px rgba(15, 23, 42, 0.09);
  --alu-profile-sheen:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.22) 30%,
      rgba(255, 255, 255, 0.98) 46%,
      rgba(240, 248, 255, 0.55) 54%,
      rgba(255, 255, 255, 0.18) 68%,
      transparent 100%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.12) 6%,
      rgba(255, 255, 255, 0) 18%,
      rgba(255, 255, 255, 0) 82%,
      rgba(148, 163, 184, 0.32) 96%,
      rgba(226, 232, 240, 0.5) 100%),
    var(--alu-sheen-top);

  /* SVG Шагрень — видимая микротекстура травленого матового стекла */
  --glass-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --frost-glass-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.28' numOctaves='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.68 0 0 0 0 0.62 0 0 0 0 0.52 0 0 0 1.48 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  /* Единый фон матового стекла — меню, футер, панели преимуществ */
  --panel-glass-bg: rgba(248, 246, 242, 0.2);
  --panel-glass-gradient: linear-gradient(168deg,
    rgba(255, 253, 249, 0.34) 0%,
    rgba(244, 239, 230, 0.16) 100%);
  /* Тёплое матовое стекло — hero trust, футер, «Почему мы» */
  --frost-glass-warm-bg: var(--panel-glass-bg);
  --frost-glass-warm-gradient: var(--panel-glass-gradient);
  /* Холодное матовое стекло — панели характеристик в карточках */
  --frost-glass-cold-bg: rgba(255, 255, 255, 0.58);
  --frost-glass-cold-gradient: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(236, 244, 240, 0.68) 100%);

  /* Молочное матовое стекло: плотнее сверху → прозрачнее снизу (цвет фона просвечивает) */
  --glass-bg-ultra: linear-gradient(165deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.14) 48%, rgba(255, 255, 255, 0.06) 100%);
  --glass-bg-card: linear-gradient(165deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.12) 52%, rgba(255, 255, 255, 0.05) 100%);
  --glass-bg-subtle: linear-gradient(165deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.07) 100%);
  --glass-bg-sidebar: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
  
  --glass-bg-tint-green: linear-gradient(165deg, rgba(255, 255, 255, 0.20) 0%, rgba(16, 185, 129, 0.08) 100%);
  --glass-bg-tint-sun: linear-gradient(165deg, rgba(255, 255, 255, 0.20) 0%, rgba(245, 158, 11, 0.08) 100%);
  --glass-bg-tint-sky: linear-gradient(165deg, rgba(255, 255, 255, 0.20) 0%, rgba(14, 165, 233, 0.08) 100%);
  --glass-bg-dark: linear-gradient(165deg, rgba(8, 28, 24, 0.50) 0%, rgba(4, 18, 16, 0.60) 100%);

  /* Тонкая кромка стекла (блик по торцу), не алюминиевая «рамка» */
  --glass-border-light: rgba(255, 255, 255, 0.72);
  --glass-border-subtle: rgba(255, 255, 255, 0.32);
  --glass-border-green: rgba(16, 185, 129, 0.45);
  --glass-border-sun: rgba(245, 158, 11, 0.45);
  --glass-border-sky: rgba(14, 165, 233, 0.45);
  --glass-border-dark: rgba(255, 255, 255, 0.18);

  --alu-border-outer: rgba(255, 255, 255, 0.34);
  --alu-border-top: rgba(255, 255, 255, 0.68);
  --alu-border-left: rgba(255, 255, 255, 0.42);
  --alu-border-bottom: rgba(255, 255, 255, 0.14);
  --alu-border-right: rgba(255, 255, 255, 0.22);

  --alu-sheen-top: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0.70) 50%,
    rgba(255, 255, 255, 0.15) 80%,
    transparent 100%
  );

  --glass-blur-sm: 22px;
  --glass-blur-md: 36px;
  --glass-blur-lg: 52px;

  /* Блестящая окантовка нержавейки (фотоиконки, кромки меню) */
  --chrome-ring-bg: linear-gradient(155deg,
    #fcfdfe 0%,
    #b5c1ca 7%,
    #eef2f6 16%,
    #ffffff 26%,
    #8fa0ab 40%,
    #d5dde4 52%,
    #f7f9fb 64%,
    #6e808c 78%,
    #9fadb8 88%,
    #5a6975 100%);
  --chrome-ring-bg-vertical: linear-gradient(90deg,
    #5a6975 0%,
    #8a98a4 5%,
    #c5d0d8 12%,
    #f5f8fa 20%,
    #ffffff 28%,
    #a8b6c0 40%,
    #e8edf1 50%,
    #ffffff 58%,
    #98a6b0 70%,
    #d0dae2 80%,
    #ffffff 88%,
    #7a8a96 96%,
    #566570 100%);
  --chrome-ring-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 1),
    inset 0 -2px 3px rgba(45, 58, 68, 0.5),
    inset 2px 0 1px rgba(255, 255, 255, 0.72),
    inset -2px 0 2px rgba(40, 52, 62, 0.35),
    0 0 0 1px rgba(130, 145, 155, 0.78),
    0 0 0 2px rgba(255, 255, 255, 0.38),
    0 8px 22px rgba(28, 45, 37, 0.2),
    0 2px 6px rgba(255, 255, 255, 0.42);
  --chrome-ring-shadow-sidebar:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(55, 65, 60, 0.55),
    inset 3px 0 5px rgba(255, 255, 255, 0.72),
    inset -4px 0 8px rgba(45, 55, 50, 0.55),
    0 0 0 1px rgba(120, 130, 124, 0.75),
    3px 0 14px rgba(20, 35, 28, 0.28),
    6px 0 24px rgba(20, 35, 28, 0.14);
  --chrome-ring-specular: radial-gradient(ellipse 90% 55% at 24% 12%,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0) 52%),
    linear-gradient(140deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.15) 36%,
      rgba(255, 255, 255, 0) 52%,
      rgba(220, 232, 240, 0.35) 74%,
      rgba(255, 255, 255, 0.62) 100%);
  --chrome-ring-specular-vertical: linear-gradient(90deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.42) 12%,
    rgba(255, 255, 255, 0.04) 34%,
    rgba(255, 255, 255, 0) 52%,
    rgba(255, 255, 255, 0.22) 72%,
    rgba(255, 255, 255, 0.62) 100%);

  /* Мягкая «парящая» тень стекла + внутренний блик кромки */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.07);
  --shadow-profile-edge: 
    0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);

  --shadow-glass: 
    0 28px 70px -14px rgba(0, 0, 0, 0.30), 
    0 10px 28px rgba(0, 0, 0, 0.10), 
    inset 0 1px 0 rgba(255, 255, 255, 0.62), 
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);

  --shadow-glass-hover: 
    0 36px 80px -12px rgba(0, 0, 0, 0.36), 
    0 12px 32px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.45), 
    inset 0 1px 0 rgba(255, 255, 255, 0.75);

  --shadow-sun-glow: 0 14px 34px rgba(245, 158, 11, 0.42);
  --shadow-emerald-glow: 0 14px 34px rgba(16, 185, 129, 0.38);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --sidebar-w: 320px;
  --catalog-media-ratio: 16 / 10;

  /* Единые брейкпоинты: desktop >1024px, tablet ≤1024px, mobile ≤768px */
  --bp-tablet: 1024px;
  --bp-mobile: 768px;
}

/* ================== Базовый сброс ================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans, 'Manrope', sans-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-color: #f3f5f2;
  /*
    Светлый фон как в макете: мягкий серо-зелёный без закатного градиента.
  */
  background-image: linear-gradient(
    180deg,
    #fafbf9 0%,
    #f4f6f3 42%,
    #eef1ec 72%,
    #e8ece8 100%
  );
  background-position: center top;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--c-text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  body {
    background-attachment: scroll;
  }
}

/* Мягкие световые объёмы — усиливают преломление в матовом стекле */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 82% 8%, rgba(16, 185, 129, 0.07) 0%, transparent 58%),
    radial-gradient(ellipse 55% 38% at 12% 92%, rgba(245, 158, 11, 0.05) 0%, transparent 52%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
}

/* ================== Архитектура сетки: Левое меню + Контент ================== */
.site-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Левая панель с меню — матовое стекло с шагренью */
.site-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  height: 100vh;
  max-height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  background: var(--glass-bg-sidebar);
  background-image: var(--glass-grain), var(--glass-bg-sidebar);
  background-size: 160px 160px, 100% 100%;
  background-blend-mode: soft-light, normal;
  backdrop-filter: blur(var(--glass-blur-lg)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur-lg)) saturate(180%);
  border-right: none;
  box-shadow:
    6px 0 24px rgba(25, 43, 35, 0.08),
    inset -1px 0 0 rgba(255, 255, 255, 0.2);
  z-index: 100;
  overflow: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.4) transparent;
}

.site-sidebar::-webkit-scrollbar {
  width: 4px;
}
.site-sidebar::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.4);
  border-radius: 4px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 0;
}

.sidebar-nav::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Логотип в сайдбаре (Крупный, сверхчеткий, окантованный профилем) */
.sidebar-brand {
  padding: 4px 4px 14px;
  margin-bottom: 12px;
  border-bottom: 1.5px solid rgba(16, 185, 129, 0.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo-wrap {
  display: block;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-wrap:hover {
  transform: translateY(-2px);
}

.brand-logo-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1.5px solid rgba(203, 213, 225, 0.8);
  box-shadow: 
    0 12px 30px -4px rgba(0, 0, 0, 0.18), 
    0 4px 10px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.9),
    inset 0 1.5px 0 #ffffff,
    inset 0 -1.5px 0 rgba(148, 163, 184, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.brand-logo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--alu-sheen-top);
  pointer-events: none;
}

.brand-logo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 88px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-badge-factory {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--c-emerald-deep);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(255, 255, 255, 0.9));
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.12);
}

.factory-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Навигация в сайдбаре */
.nav-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  padding: 8px 10px 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--c-text-main);
  font-weight: 600;
  font-size: 0.91rem;
  letter-spacing: 0.01em;
  transition: all 0.22s ease;
  position: relative;
  border: 1px solid transparent;
}

.sidebar-link-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-link-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-emerald-dark);
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.95);
  transition: all 0.25s ease;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-emerald-forest);
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-link:hover .sidebar-link-icon {
  background: var(--c-emerald);
  color: #fff;
  transform: scale(1.08);
}

.sidebar-link.is-active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(255, 255, 255, 0.95));
  color: var(--c-emerald-forest);
  font-weight: 800;
  border: 1.5px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.2);
}

.sidebar-link.is-active .sidebar-link-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
}

.sidebar-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.2);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.sidebar-badge.hit {
  background: rgba(239, 68, 68, 0.18);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.4);
}

/* Нижняя карточка контактов в сайдбаре (с алюминиевой окантовкой) */
.sidebar-footer {
  margin-top: auto;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg-tint-green);
  border: 1px solid var(--alu-border-outer);
  border-top: 1.5px solid var(--alu-border-top);
  border-left: 1.5px solid var(--alu-border-left);
  border-bottom: 1.5px solid var(--alu-border-bottom);
  border-right: 1.5px solid var(--alu-border-right);
  box-shadow: var(--shadow-subtle), var(--shadow-profile-edge);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--alu-sheen-top);
  pointer-events: none;
}

.sidebar-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--c-emerald-forest);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-phone i {
  color: var(--c-emerald);
  font-size: 0.95rem;
}

.sidebar-phone:hover {
  color: var(--c-emerald-dark);
}

.sidebar-hours {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--c-text-muted);
}

.sidebar-hours-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.sidebar-cta-btn {
  align-self: stretch;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sun-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.sidebar-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.55);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

/* ================== Основная контентная область справа ================== */
.site-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Верхняя полоса на смартфонах/планшетах */
.mobile-topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(var(--glass-blur-md));
  -webkit-backdrop-filter: blur(var(--glass-blur-md));
  border-bottom: 1.5px solid var(--alu-border-outer);
  padding: 10px 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(148, 163, 184, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  align-items: center;
  justify-content: space-between;
}

.mobile-topbar-brand {
  display: flex;
  align-items: center;
  background: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
}

.mobile-topbar-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(200px, 52vw);
  max-height: clamp(40px, 11vw, 48px);
  object-fit: contain;
  object-position: left center;
}

.mobile-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-mobile-phone {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-emerald);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-mobile-menu {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--c-emerald-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
}

/* Мобильное всплывающее меню-шторка */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(6, 28, 22, 0.75);
  backdrop-filter: blur(16px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  width: 85%;
  max-width: 340px;
  height: 100%;
  background: #ffffff;
  padding: 24px 20px;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 10px 0 45px rgba(0, 0, 0, 0.3);
}

.mobile-drawer.is-open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--c-text-main);
  cursor: pointer;
}

/* Вспомогательный топбар на десктопе (с окантовкой профилем) */
.desktop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  background: var(--glass-bg-subtle);
  background-image: var(--glass-grain), var(--glass-bg-subtle);
  background-size: 160px 160px, 100% 100%;
  background-blend-mode: soft-light, normal;
  backdrop-filter: blur(var(--glass-blur-md)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur-md)) saturate(180%);
  border-bottom: 1px solid var(--glass-border-subtle);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  color: var(--c-text-muted);
}

.topbar-info-group {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-item i {
  color: var(--c-emerald);
  font-size: 0.9rem;
}

.topbar-item strong {
  color: var(--c-text-main);
}

.topbar-right-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-top: 1.5px solid rgba(255, 255, 255, 0.95);
  color: var(--c-emerald-forest);
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 0 #fff;
}

.topbar-social-btn:hover {
  background: var(--c-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* ================== Универсальные классы матового стекла с шагренью ================== */
.glass-panel {
  background: var(--glass-bg-card);
  background-image: var(--glass-grain), var(--glass-bg-card);
  background-size: 160px 160px, 100% 100%;
  background-blend-mode: soft-light, normal;
  backdrop-filter: blur(var(--glass-blur-lg)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur-lg)) saturate(180%);
  border: 1px solid var(--glass-border-subtle);
  border-top-color: var(--glass-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--alu-sheen-top);
  pointer-events: none;
  z-index: 2;
}

.glass-panel:hover {
  box-shadow: var(--shadow-glass-hover);
}

/* Различные степени затемнения и цветные наложения с окантовкой профиля */
.glass-emerald {
  background: var(--glass-bg-tint-green);
  background-image: var(--glass-grain), var(--glass-bg-tint-green);
  border-color: rgba(16, 185, 129, 0.45);
  border-top-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(var(--glass-blur-md)) saturate(190%);
}

.glass-sun {
  background: var(--glass-bg-tint-sun);
  background-image: var(--glass-grain), var(--glass-bg-tint-sun);
  border-color: rgba(245, 158, 11, 0.45);
  border-top-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(var(--glass-blur-md)) saturate(190%);
}

.glass-sky {
  background: var(--glass-bg-tint-sky);
  background-image: var(--glass-grain), var(--glass-bg-tint-sky);
  border-color: rgba(14, 165, 233, 0.45);
  border-top-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(var(--glass-blur-md)) saturate(190%);
}

.glass-dark {
  background: var(--glass-bg-dark);
  background-image: var(--glass-grain), var(--glass-bg-dark);
  border: 1px solid rgba(203, 213, 225, 0.35);
  border-top: 1.5px solid rgba(255, 255, 255, 0.60);
  border-left: 1.5px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1.5px solid rgba(148, 163, 184, 0.30);
  border-right: 1.5px solid rgba(148, 163, 184, 0.25);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.35), 
    0 0 0 1px rgba(203, 213, 225, 0.25),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.60), 
    inset 0 -1.5px 0 rgba(148, 163, 184, 0.25);
  color: #ffffff;
  backdrop-filter: blur(var(--glass-blur-lg)) saturate(180%);
}

.glass-dark::before {
  background: var(--alu-sheen-dark);
}

/* Утилиты алюминиевого профиля (Aluminum Profile Edge Utility Classes) */
.aluminum-frame {
  border: 1px solid var(--alu-border-outer) !important;
  border-top: 1.5px solid var(--alu-border-top) !important;
  border-left: 1.5px solid var(--alu-border-left) !important;
  border-bottom: 1.5px solid var(--alu-border-bottom) !important;
  border-right: 1.5px solid var(--alu-border-right) !important;
  box-shadow: var(--shadow-profile-edge) !important;
  position: relative;
  overflow: hidden;
}

.aluminum-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--alu-sheen-top);
  pointer-events: none;
  z-index: 2;
}

/* Внутренний контейнер контента (Широкоформатный премиум-контейнер) */
.content-container {
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 40px 60px;
}

@media (max-width: 1280px) {
  .content-container {
    padding: 28px 24px 50px;
  }
}

@media (max-width: 1024px) {
  .site-sidebar { display: none; }
  .mobile-topbar { display: flex; }
  .desktop-topbar { display: none; }
  .content-container { padding: 20px 16px 40px; }
}

/* ================== Типографика и Кнопки ================== */
h1, h2, h3,
.hero-title,
.home-hero-brand,
.home-hero-title,
.section-title,
.product-name,
.benefit-title,
.anatomy-card-title,
.cta-text-content h2,
.category-info h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.eyebrow-pill.sun {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(255, 255, 255, 0.95));
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.eyebrow-pill.emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(255, 255, 255, 0.95));
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.eyebrow-pill.sky {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(255, 255, 255, 0.95));
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.5);
}

.text-gradient-sun {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #10b981, #065f46);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: var(--shadow-sun-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-emerald-forest);
  border: 1.5px solid rgba(255, 255, 255, 1);
  box-shadow: var(--shadow-subtle);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: #ffffff;
  color: var(--c-emerald);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--c-emerald-forest);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
}

.btn-outline:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--c-emerald);
}
