/* ==========================================================================
   PANSTAKAN — Очищене ядро соняшника
   Design System & Styling
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Color Palette */
  --primary: #f59e0b;           /* Amber / Sunflower Gold */
  --primary-hover: #d97706;     /* Darker Amber */
  --primary-light: #fef3c7;    /* Warm Cream Tint */
  --primary-glow: rgba(245, 158, 11, 0.25);
  
  --secondary: #10b981;         /* Fresh Eco Green */
  --secondary-hover: #059669;
  --secondary-light: #ecfdf5;

  --accent-gold: #fbbf24;
  --accent-sun: #eab308;

  /* Neutrals */
  --bg-main: #0c0f12;           /* Deep Charcoal / Near Black */
  --bg-surface: #14181f;        /* Card surface */
  --bg-surface-elevated: #1c222b;
  --bg-surface-glass: rgba(20, 24, 31, 0.75);
  --bg-surface-subtle: #232b36;
  
  --text-main: #f8fafc;         /* Clean White / Slate 50 */
  --text-muted: #94a3b8;        /* Slate 400 */
  --text-subtle: #64748b;       /* Slate 500 */
  --text-inverse: #0f172a;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-primary: rgba(245, 158, 11, 0.4);

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 8px 30px rgba(245, 158, 11, 0.25);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(245, 158, 11, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(16, 185, 129, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: transparent;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(245, 158, 11, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.25);
  margin-bottom: 14px;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 54px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Announcement Top Bar */
.top-bar {
  background: linear-gradient(90deg, #181d24 0%, #202732 50%, #181d24 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
}

.top-bar__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid var(--border-subtle);
}

.lang-btn {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

/* Main Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 15, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

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

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

.brand__logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  box-shadow: var(--shadow-gold);
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand__title span {
  color: var(--primary);
}

.brand__tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

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

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
}

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

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 8px;
  transition: var(--transition-fast);
}

.contact-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
}

.contact-pill__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-pill__info {
  display: flex;
  flex-direction: column;
}

.contact-pill__phone {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.contact-pill__status {
  font-size: 0.7rem;
  color: var(--secondary);
  font-weight: 600;
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.cart-btn:hover {
  border-color: var(--primary);
  background: rgba(245, 158, 11, 0.1);
  color: var(--primary);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: var(--text-inverse);
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn--outline-gold {
  border: 1px solid var(--border-primary);
  background: rgba(245, 158, 11, 0.08);
  color: var(--primary);
}

.btn--outline-gold:hover {
  background: var(--primary);
  color: #0f172a;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn--block {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero__desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 34px;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.badge-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.badge-card__text b {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.badge-card__text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Hero Visual Showcase */
.hero__visual {
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
}

.hero__image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero__image-wrapper:hover img {
  transform: scale(1.03);
}

.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12, 15, 18, 0.85) 100%);
}

.hero__floating-card {
  position: absolute;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.hero__floating-card--top {
  top: 24px;
  right: -20px;
  animation: float-slow 4s ease-in-out infinite;
}

.hero__floating-card--bottom {
  bottom: 24px;
  left: -20px;
  animation: float-slow 4.5s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.pill-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary);
}

/* Stats Ribbon */
.stats-ribbon {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 34px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-item__number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item__label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Product Catalog & Packaging Section */
.catalog-section {
  padding: 90px 0;
}

.catalog-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border-color: var(--border-medium);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
  box-shadow: var(--shadow-gold);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-md);
}

.product-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  background: rgba(12, 15, 18, 0.85);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.3);
  text-transform: uppercase;
}

.product-card__image {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--bg-surface-elevated);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.06);
}

.product-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.product-card__title {
  font-size: 1.35rem;
  font-weight: 700;
}

.product-card__badge-weight {
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.product-card__packaging-type {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 20px;
  font-size: 0.82rem;
}

.spec-item span {
  display: block;
  color: var(--text-subtle);
}

.spec-item strong {
  color: var(--text-main);
  font-weight: 600;
}

.product-card__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-card__pricing {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  margin-bottom: 20px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.pricing-row--wholesale {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-row__price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.pricing-row__price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-card__actions {
  display: flex;
  gap: 10px;
}

.quantity-stepper {
  display: flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px;
}

.stepper-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.stepper-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.stepper-val {
  width: 40px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Interactive Calculator Section */
.calc-section {
  padding: 90px 0;
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.04) 0%, transparent 70%);
}

.calc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
}

.calc-form__group {
  margin-bottom: 26px;
}

.calc-form__label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.packaging-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.pack-radio-label {
  position: relative;
  cursor: pointer;
}

.pack-radio-label input {
  position: absolute;
  opacity: 0;
}

.pack-radio-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  background: var(--bg-surface-elevated);
  transition: var(--transition-fast);
}

.pack-radio-label input:checked + .pack-radio-card {
  border-color: var(--primary);
  background: rgba(245, 158, 11, 0.1);
  box-shadow: var(--shadow-sm);
}

.pack-radio-card b {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.pack-radio-card span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.slider-container {
  padding: 10px 0;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--bg-surface-elevated);
  outline: none;
  border: 1px solid var(--border-subtle);
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-glow);
  transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-result-box {
  background: linear-gradient(145deg, #181d25, #11151b);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-result-box__header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.calc-result-box__header h4 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.calc-result-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.calc-row b {
  color: var(--text-main);
}

.calc-row--highlight {
  color: var(--secondary);
  font-weight: 700;
}

.calc-total {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  margin-bottom: 26px;
}

.calc-total__label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.calc-total__sum {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.calc-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Quality & Sortex Section */
.quality-section {
  padding: 90px 0;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.quality-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quality-feature {
  display: flex;
  gap: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition-fast);
}

.quality-feature:hover {
  border-color: var(--border-primary);
  background: var(--bg-surface-elevated);
}

.quality-feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quality-feature h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.quality-feature p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.specs-table th, .specs-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.specs-table th {
  background: var(--bg-surface-elevated);
  font-weight: 700;
  color: var(--primary);
}

.specs-table td:last-child {
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

/* B2B & Private Label Section */
.b2b-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, #10141a 100%);
}

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.b2b-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.b2b-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
}

.b2b-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.b2b-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.b2b-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.b2b-card ul {
  list-style: none;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.b2b-card ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.b2b-card ul li svg {
  color: var(--secondary);
  flex-shrink: 0;
}

/* Reviews / Use Cases */
.reviews-section {
  padding: 90px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  gap: 4px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.review-author__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
}

.review-author__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.review-author__role {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* FAQ Section */
.faq-section {
  padding: 90px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-fast);
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 22px;
}

/* Contact & Order Form Section */
.contacts-section {
  padding: 90px 0;
  background: radial-gradient(circle at 10% 90%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: flex-start;
}

.contacts-info {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contacts-info h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contacts-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-channel__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel b {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 2px;
}

.contact-channel a, .contact-channel span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-channel a:hover {
  color: var(--primary);
}

.social-messengers {
  display: flex;
  gap: 12px;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  transition: var(--transition-fast);
}

.messenger-btn--tg {
  background: #229ed9;
}
.messenger-btn--tg:hover {
  background: #1d88bb;
  transform: translateY(-2px);
}

.messenger-btn--viber {
  background: #7360f2;
}
.messenger-btn--viber:hover {
  background: #5d48e0;
  transform: translateY(-2px);
}

/* Form Styles */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

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

.form-group--full {
  grid-column: span 2;
}

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

.form-control {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

/* Footer */
.footer {
  background: #080a0d;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* Floating Mobile Contact Bar */
.floating-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(12, 15, 18, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  z-index: 990;
}

.floating-bar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 10px;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  z-index: 2;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 34px;
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.modal__close:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  animation: slide-in 0.3s ease-out;
}

@keyframes slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero__grid, .quality-grid, .calc-card, .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .b2b-grid, .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar__badge {
    display: none;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

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

  .menu-toggle {
    display: flex;
  }

  .contact-pill__phone {
    display: none;
  }

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

  .hero__badges {
    grid-template-columns: 1fr;
  }

  .hero__floating-card {
    display: none;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .b2b-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .calc-card {
    padding: 24px;
  }

  .floating-bar {
    display: block;
  }

  body {
    padding-bottom: 64px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

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