/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1c2331;
  --primary-light: #2a3344;
  --primary-dark: #141a25;
  --accent: #3a7ca5;
  --accent-hover: #2e6a8f;
  --accent-glow: rgba(58,124,165,0.08);
  --accent-2: #7eb8d0;
  --text: #333d4d;
  --text-secondary: #6c7688;
  --text-muted: #99a2af;
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --bg-card: #ffffff;
  --border: #dfe2e8;
  --border-light: #eceef2;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 50px rgba(0,0,0,0.1);
  --shadow-accent: 0 4px 20px rgba(58,124,165,0.15);
  --bg-light: #eef0f3;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --max-width: 1240px;
  --header-h: 60px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

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

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--primary);
  height: var(--header-h);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.15); }

.header .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}

.logo { font-size: 1.1rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #5a9cbf 100%);
  box-shadow: 0 3px 12px rgba(58,124,165,0.35);
}
.logo span { font-weight: 400; font-size: 0.7rem; color: rgba(255,255,255,0.4); }

.nav {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--primary); flex-direction: column; padding: 16px; gap: 4px;
  overflow-y: auto; z-index: 999; border-top: 1px solid rgba(255,255,255,0.06);
}
.nav.active { display: flex; }
.nav a {
  display: block; padding: 14px 16px; font-size: 1rem; font-weight: 500;
  color: rgba(255,255,255,0.55); border-radius: var(--radius-sm); transition: var(--transition);
}
.nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav a.active { color: var(--accent); background: rgba(58,124,165,0.1); }

.burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 12px; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.header-phone { display: none; color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* ===== HERO ===== */
.hero {
  margin-top: var(--header-h); position: relative;
  min-height: 440px; display: flex; align-items: center;
  background: linear-gradient(145deg, #f8f9fd 0%, #eff1f9 50%, #f5f6fa 100%);
  overflow: hidden; padding: 48px 0;
}
.hero::before {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(58,124,165,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; color: var(--primary); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  background: var(--accent-glow); border: 1px solid rgba(58,124,165,0.2);
  border-radius: 100px; font-size: 0.75rem; font-weight: 700; color: var(--accent);
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px;
}
.hero-content h1 { font-size: 1.9rem; font-weight: 800; line-height: 1.15; margin-bottom: 14px; color: var(--primary); }
.hero-content h1 em { font-style: normal; color: var(--accent); }
.hero-content p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.hero-buttons { display: flex; flex-direction: column; gap: 10px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.hero-stat-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }

/* ===== HERO V3 ===== */
.hero-v3 {
  background: var(--primary);
  padding: 80px 0 32px;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 3px solid var(--accent);
}
.hero-v3::before { display: none; }
.hero-v3-grid {
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
  align-items: center;
}
.hero-v3-text { text-align: center; }
.hero-v3-text h1 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 12px;
}
.hero-v3-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 20px;
}
.hero-v3-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.hero-v3-buttons .btn { font-size: 0.82rem; padding: 10px 18px; }
.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}
.hero-v3-stats {
  display: flex !important;
  flex-wrap: nowrap;
  justify-content: center;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  gap: 0;
}
.hero-v3-stat {
  text-align: center;
  flex: 1;
  padding: 0 8px;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.hero-v3-stat:first-child { border-left: none; }
.hero-v3-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-v3-stat-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.hero-v3-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-v3-image img {
  max-width: 90%;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}

@media (min-width: 480px) {
  .hero-v3-image img { max-width: 75%; max-height: 300px; }
  .hero-v3-text h1 { font-size: 1.7rem; }
  .hero-v3-stat-num { font-size: 1.6rem; }
}
@media (min-width: 600px) {
  .hero-v3-text h1 { font-size: 2.1rem; }
  .hero-v3-image img { max-height: 280px; }
}
@media (min-width: 992px) {
  .hero-v3 { padding: 120px 0 60px; }
  .hero-v3-grid {
    flex-direction: row;
    gap: 48px;
  }
  .hero-v3-text { text-align: left; flex: 1.2; }
  .hero-v3-image { flex: 1; }
  .hero-v3-text h1 { font-size: 2.6rem; }
  .hero-v3-sub { font-size: 0.95rem; }
  .hero-v3-image img { max-width: 100%; max-height: 440px; }
  .hero-v3-buttons { justify-content: flex-start; }
  .hero-v3-buttons .btn { font-size: 0.92rem; padding: 12px 28px; }
  .hero-v3-stat-num { font-size: 1.8rem; }
  .hero-v3-stat-label { font-size: 0.68rem; }
}

/* ===== PRODUCT LINES GRID ===== */
.lines-grid { display: flex; flex-direction: column; gap: 14px; }

.line-card {
  display: flex; flex-direction: row; align-items: stretch;
  background: var(--primary);
  border-radius: 18px; overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.35s ease;
  text-decoration: none; color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12); position: relative;
  border: 1px solid rgba(255,255,255,0.04);
}
.line-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(26,26,46,0.25); }

.line-card-img-wrap {
  width: 120px; min-height: 120px; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(145deg, #f0f1f8, #e8eaf4);
  display: flex; align-items: center; justify-content: center; padding: 12px;
}
.line-card-img-wrap img {
  max-width: 90%; max-height: 90%; object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.2));
  transition: transform 0.5s cubic-bezier(0.25,0.8,0.25,1);
}
.line-card:hover .line-card-img-wrap img { transform: scale(1.15); }

.line-card-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.line-card-icon { display: none; }
.line-card-name {
  font-size: 1.6rem; font-weight: 900; color: #fff;
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 2px;
}
.line-card-subtitle {
  font-size: 0.82rem; color: var(--accent-2); font-weight: 600;
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em;
}
.line-card-title { display: none; }
.line-card-desc { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.45; margin-bottom: 10px; }
.line-card-meta { display: flex; gap: 16px; font-size: 0.8rem; font-weight: 700; margin-top: auto; }
.line-card-count { color: var(--accent-2); }
.line-card-price { color: rgba(255,255,255,0.35); }

.line-card-arrow {
  width: 44px; display: flex; align-items: center; justify-content: center;
  background: rgba(58,124,165,0.12); color: var(--accent); flex-shrink: 0;
  font-size: 1.2rem; transition: all 0.3s; border-left: 1px solid rgba(255,255,255,0.06);
}
.line-card:hover .line-card-arrow { background: var(--accent); color: #fff; }

@media (min-width: 480px) {
  .lines-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .line-card { flex-direction: column; }
  .line-card-img-wrap { width: 100%; aspect-ratio: 1.1; min-height: auto; padding: 24px; }
  .line-card-body { padding: 20px 22px; }
  .line-card-name { font-size: 1.8rem; }
  .line-card-arrow {
    width: 40px; height: 40px; position: absolute; top: 14px; right: 14px;
    border-radius: 50%; border-left: none; background: rgba(58,124,165,0.18);
  }
}
@media (min-width: 992px) {
  .lines-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .line-card-img-wrap { padding: 28px; }
  .line-card-body { padding: 22px 24px; }
  .line-card-name { font-size: 1.7rem; }
  .line-card-subtitle { font-size: 0.78rem; }
}

/* ===== WHY CARDS ===== */
.why-us-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why-card {
  padding: 24px; background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); transition: all var(--transition);
}
.why-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.why-card-num {
  font-size: 0.7rem; font-weight: 800; color: var(--accent);
  margin-bottom: 10px; letter-spacing: 1px;
}
.why-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.why-card p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }
@media (min-width: 992px) { .why-us-grid { grid-template-columns: repeat(4, 1fr); } }

.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--primary); color: #fff; }
.section-dark .section-label { color: var(--accent); }
.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.55); }
.section-dark .btn-ghost { color: var(--accent); border-color: var(--accent); }
.section-dark .btn-ghost:hover { background: var(--accent); color: #fff; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius-sm); font-size: 0.92rem;
  font-weight: 600; border: none; transition: all var(--transition); white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(58,124,165,0.35); }
.btn-outline-white { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-outline-white:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); }
.btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-telegram { background: #0088cc; color: #fff; }
.btn-telegram:hover { background: #006da3; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; }
.btn-sm { padding: 10px 16px; font-size: 0.82rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ===== SECTIONS ===== */
.section { padding: 48px 0; }
.section-white { background: var(--bg); }
.section-header { margin-bottom: 28px; }
.section-header.centered { text-align: center; }
.section-label {
  display: inline-flex; font-size: 0.75rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px;
}
.section-title { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.section-subtitle { color: var(--text-secondary); margin-top: 6px; font-size: 0.9rem; max-width: 600px; line-height: 1.5; }

/* ===== ADVANTAGES ===== */
.section-advantages { background: var(--bg-soft); }
.section-advantages .section-title { color: var(--primary); }
.section-advantages .section-subtitle { font-size: 1rem; margin: 10px auto 0; }
.advantages-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.advantage-card {
  padding: 24px 20px; background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border-light); transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.advantage-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.advantage-number {
  font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 10px;
}
.advantage-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.advantage-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ===== PRODUCT CARDS v6 ===== */
.products-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 480px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.product-card {
  display: flex; flex-direction: column;
  background: var(--primary); border-radius: 16px; overflow: hidden;
  text-decoration: none; color: #fff;
  transition: transform 0.35s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.35s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.18);
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(26,26,46,0.3); }

.product-card-img-wrap {
  position: relative; background: linear-gradient(145deg, #f0f1f8, #e8eaf4); padding: 20px;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-card-img {
  max-width: 88%; max-height: 88%; object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.18));
  transition: transform 0.5s cubic-bezier(0.25,0.8,0.25,1);
}
.product-card:hover .product-card-img { transform: scale(1.15) translateY(-6px); }

.product-card-body { padding: 14px 14px 16px; flex: 1; display: flex; flex-direction: column; }
.product-card-name {
  font-size: 0.95rem; font-weight: 800; color: #fff; margin-bottom: 6px; line-height: 1.25;
  min-height: calc(0.95rem * 1.25 * 2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-desc {
  font-size: 0.75rem; font-weight: 400; color: rgba(255,255,255,0.5); margin-bottom: 10px; line-height: 1.45;
  min-height: calc(0.75rem * 1.45 * 3);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Specs grid */
.product-card-specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 1px; background: rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; margin-bottom: 12px;
}
.card-spec {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 4px; background: var(--primary); text-align: center; min-height: 58px; justify-content: center;
}
.card-spec-icon { font-size: 0.85rem; opacity: 0.45; }
.card-spec-val { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.85); text-align: center; word-break: break-word; }
.card-spec-label { font-size: 0.58rem; font-weight: 500; color: rgba(255,255,255,0.32); text-transform: uppercase; letter-spacing: 0.5px; }

/* Footer */
.product-card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-card-price { font-size: 1.15rem; font-weight: 900; color: #fff; letter-spacing: -0.5px; line-height: 1; }
.product-card-price-hint { font-size: 0.6rem; font-weight: 500; color: rgba(255,255,255,0.3); margin-top: 2px; }
.product-card-btn {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.68rem; font-weight: 700; color: #fff; background: var(--accent);
  padding: 8px 14px; border-radius: 8px; white-space: nowrap;
  transition: background 0.2s, transform 0.2s; min-height: 36px;
}
.product-card:hover .product-card-btn { background: var(--accent-hover); transform: translateX(2px); }
.product-card-btn svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ===== CATEGORY CARDS ===== */
.categories-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.category-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border-light);
  padding: 12px; transition: all var(--transition);
}
.category-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); }

.category-card-img-wrap {
  flex-shrink: 0; width: 72px; height: 72px; background: var(--bg-soft);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 6px;
}
.category-card-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.category-card-body h3 { font-size: 0.9rem; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.category-card-body p { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.3; }
.category-card-count {
  margin-left: auto; flex-shrink: 0; min-width: 28px; height: 28px;
  background: var(--accent-glow); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--accent);
}

/* ===== PRODUCT PAGE ===== */
.product-page { margin-top: var(--header-h); padding: 0 0 80px; overflow-x: hidden; }
.product-top { overflow: hidden; }
.product-info-col { padding: 0 16px; }

/* Gallery */
.product-gallery { position: relative; }

/* Carousel */
.carousel {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #f0f1f8, #e8eaf4);
  border-radius: var(--radius);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
}
.carousel-track { display: flex; transition: transform 0.4s cubic-bezier(0.25,0.8,0.25,1); touch-action: pan-y; }
.carousel-slide {
  min-width: 100%; aspect-ratio: 4/3; display: flex;
  align-items: center; justify-content: center; padding: 20px;
  background: linear-gradient(145deg, #f0f1f8, #e8eaf4);
}
.carousel-slide img {
  max-width: 90%; max-height: 90%; object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.18)) drop-shadow(0 4px 8px rgba(0,0,0,0.08));
  transition: transform 0.5s cubic-bezier(0.25,0.8,0.25,1), filter 0.5s ease;
}
.carousel-slide img:hover {
  transform: scale(1.05) translateY(-4px);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.22)) drop-shadow(0 8px 16px rgba(0,0,0,0.1));
}

.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; background: rgba(255,255,255,0.9);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--shadow); color: var(--primary); z-index: 2;
  cursor: pointer;
}
.carousel-nav:hover { background: #fff; box-shadow: var(--shadow-md); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-counter {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  background: rgba(0,0,0,0.5); color: #fff; font-size: 0.75rem; font-weight: 600;
  padding: 3px 10px; border-radius: 100px;
}

.carousel-thumbs {
  display: flex; gap: 6px; padding: 10px 16px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; background: var(--bg);
}
.carousel-thumbs::-webkit-scrollbar { display: none; }
.carousel-thumb {
  flex-shrink: 0; width: 56px; height: 56px; background: var(--bg-soft);
  border-radius: 10px; padding: 4px; border: 2px solid transparent;
  cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.carousel-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08)); }
.carousel-thumb.active { border-color: var(--accent); box-shadow: 0 2px 10px rgba(58,124,165,0.2); }
.carousel-thumb:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

/* Product Main Info */
.product-main { padding: 20px 0 0; }
.product-cat-badge {
  display: inline-block; font-size: 0.7rem; color: var(--accent); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px;
  background: var(--accent-glow); padding: 3px 10px; border-radius: 100px;
}
.product-title { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1.2; margin-bottom: 12px; }

.product-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.product-price { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.product-price-hint { font-size: 0.75rem; color: var(--text-muted); }

/* Quick specs badges */
.product-quick-specs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px;
  margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.product-quick-specs::-webkit-scrollbar { display: none; }
.quick-spec {
  flex-shrink: 0; padding: 10px 12px; background: var(--bg-soft);
  border-radius: var(--radius-sm); border: 1px solid var(--border-light);
  text-align: center; min-width: 80px;
}
.quick-spec-value { font-size: 0.85rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.quick-spec-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }

.product-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0; }

/* Product sections */
.product-section { padding: 24px 0; }
.product-section-alt { background: var(--bg-soft); margin: 0 -16px; padding: 24px 16px; }
.product-section-title {
  font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* Features */
.product-features-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.feature-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; }
.feature-check {
  flex-shrink: 0; width: 20px; height: 20px; background: var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.65rem; font-weight: 700; margin-top: 2px;
}
.feature-item span { font-size: 0.9rem; color: var(--text); line-height: 1.5; }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.specs-table tr { border-bottom: 1px solid var(--border-light); }
.specs-table td { padding: 10px 8px; font-size: 0.82rem; vertical-align: top; word-wrap: break-word; overflow-wrap: break-word; }
.specs-table td:first-child { font-weight: 600; color: var(--text-secondary); width: 40%; }
.specs-table td:last-child { color: var(--text); font-weight: 500; }
.specs-table tr:nth-child(even) { background: var(--bg-soft); }

/* Options */
.options-list { display: flex; flex-wrap: wrap; gap: 8px; }
.option-tag {
  padding: 7px 14px; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.82rem; color: var(--text); font-weight: 500;
}

/* Trust block */
.product-trust { padding: 20px 16px; background: var(--bg); border-top: 1px solid var(--border-light); }
.trust-items { display: grid; grid-template-columns: 1fr; gap: 12px; }
.trust-item {
  display: flex; gap: 12px; align-items: center; padding: 14px;
  background: var(--bg-soft); border-radius: var(--radius-sm); border: 1px solid var(--border-light);
}
.trust-icon { font-size: 1.4rem; flex-shrink: 0; }
.trust-item strong { display: block; font-size: 0.88rem; color: var(--primary); }
.trust-item span { font-size: 0.78rem; color: var(--text-muted); }

/* Company card */
.product-company { padding: 24px 16px; }
.company-card {
  display: flex; gap: 12px; align-items: center; padding: 16px;
  background: var(--bg-soft); border-radius: var(--radius-sm); color: var(--primary); margin-bottom: 12px;
  border: 1px solid var(--border-light);
}
.company-logo-mini { font-size: 2rem; flex-shrink: 0; }
.company-card strong { font-size: 0.95rem; display: block; margin-bottom: 2px; color: var(--primary); }
.company-card p { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.4; margin: 0; }
.btn-outline {
  display: block; text-align: center; padding: 12px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-weight: 600; font-size: 0.9rem;
  background: none; text-decoration: none; transition: var(--transition);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Sticky bottom bar */
.product-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: #fff; border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 6px 10px; padding-bottom: calc(6px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 8px;
  transform: translateY(100%); transition: transform 0.3s ease;
}
.product-sticky-bar.visible { transform: translateY(0); }
.sticky-bar-price { font-size: 0.95rem; font-weight: 800; color: var(--primary); white-space: nowrap; min-width: 0; }
.sticky-bar-actions { display: flex; gap: 5px; margin-left: auto; flex-shrink: 0; }
.sticky-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  transition: var(--transition); text-decoration: none; flex-shrink: 0;
}
.sticky-btn svg { width: 18px; height: 18px; }
.sticky-btn-call { background: var(--accent); color: #fff; }
.sticky-btn-tg { background: #0088cc; color: #fff; }
.sticky-btn-wa { background: #25d366; color: #fff; }
.sticky-btn-order {
  width: auto; border-radius: var(--radius-sm); padding: 0 14px; height: 44px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 0.8rem;
}
.sticky-btn:hover { opacity: 0.85; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(145deg, var(--primary), var(--primary-light), var(--primary-dark));
  color: #fff; padding: 48px 16px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(58,124,165,0.12) 0%, transparent 70%); border-radius: 50%;
}
.cta-section h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; position: relative; color: #fff; }
.cta-section p { color: rgba(255,255,255,0.6); margin-bottom: 20px; font-size: 0.9rem; position: relative; }
.cta-buttons { display: flex; flex-direction: column; gap: 8px; position: relative; max-width: 360px; margin: 0 auto; }

/* ===== FORM ===== */
.contact-form { max-width: 520px; margin: 0 auto; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 5px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; transition: border-color var(--transition); background: var(--bg); color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }

/* ===== CONTACT CARDS ===== */
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 32px; }
.contact-card {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border-light); transition: var(--transition);
}
.contact-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.contact-card-icon { flex-shrink: 0; width: 44px; height: 44px; background: var(--accent-glow); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-card h3 { font-size: 0.85rem; color: var(--primary); margin-bottom: 2px; }
.contact-card p, .contact-card a { font-size: 0.85rem; color: var(--text-secondary); }
.contact-card a:hover { color: var(--accent); }

/* ===== ABOUT ===== */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content h2 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin: 24px 0 10px; }
.about-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin-bottom: 10px; }
.about-content ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.about-content li { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.about-features { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0 24px; }
.about-feature-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px;
  background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border-light);
}
.about-feature-num { font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1; flex-shrink: 0; min-width: 32px; }
.about-feature-item h3 { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-bottom: 3px; }
.about-feature-item p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin: 0; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  margin-top: var(--header-h); padding: 10px 0; background: var(--bg);
  border-bottom: 1px solid var(--border-light); font-size: 0.78rem; color: var(--text-muted);
  overflow-x: auto; white-space: nowrap;
}
.breadcrumb a { color: var(--text-secondary); font-weight: 500; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 5px; }

/* ===== PAGE HEADER ===== */
.page-header {
  margin-top: var(--header-h); background: var(--bg-soft);
  color: var(--primary); padding: 28px 0; border-bottom: 1px solid var(--border-light);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; color: var(--primary); }
.page-header p { color: var(--text-secondary); font-size: 0.85rem; }

/* ===== FOOTER ===== */
.footer { background: var(--primary); color: rgba(255,255,255,0.85); padding: 36px 0 16px; border-top: none; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
.footer h4 { font-size: 0.95rem; margin-bottom: 10px; color: #fff; }
.footer p, .footer a { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.8; }
.footer a { display: block; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 14px; text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ===== SITE STICKY BAR (global contact buttons) ===== */
.site-sticky-bar {
  position: fixed; bottom: 16px; right: 16px; z-index: 999;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.site-sticky-bar.visible { opacity: 1; transform: translateY(0); }
.site-sticky-bar .sticky-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.site-sticky-bar .sticky-btn:hover { transform: scale(1.12); }
.site-sticky-bar .sticky-btn-call { background: var(--accent); }
.site-sticky-bar .sticky-btn-tg { background: #0088cc; }
.site-sticky-bar .sticky-btn-wa { background: #25d366; }

/* ===== MODAL ===== */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  z-index: 2000; align-items: flex-end; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--bg); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 20px 16px 28px; width: 100%; max-height: 90vh; overflow-y: auto;
  animation: slideUp 0.3s ease; position: relative;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: 0 auto 14px; }
.modal h2 { font-size: 1.2rem; color: var(--primary); margin-bottom: 16px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; background: var(--bg-soft);
  border: none; width: 44px; height: 44px; border-radius: 50%;
  font-size: 1rem; color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed; bottom: 74px; right: 16px; z-index: 998;
  width: 38px; height: 38px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 50%; display: none; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: var(--shadow); color: var(--primary); cursor: pointer;
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============================================
   TABLET (min-width: 600px)
   ============================================ */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .hero { min-height: 480px; padding: 56px 0; }
  .hero-content h1 { font-size: 2.3rem; }
  .hero-buttons { flex-direction: row; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.7rem; }

  .advantages-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .about-features { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-card-body { padding: 16px 16px 18px; }
  .product-card-price { font-size: 1.25rem; }
  .product-card-name { font-size: 1rem; }
  .product-card-desc { font-size: 0.78rem; }
  .card-spec-val { font-size: 0.75rem; }
  .product-card-img-wrap { padding: 24px; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr 1fr; }

  .category-card-img-wrap { width: 90px; height: 90px; }

  .carousel-slide { padding: 20px; }
  .carousel-thumb { width: 64px; height: 64px; }

  .product-title { font-size: 1.7rem; }
  .product-features-grid { grid-template-columns: 1fr 1fr; }
  .trust-items { grid-template-columns: repeat(3, 1fr); }

  .cta-buttons { flex-direction: row; justify-content: center; max-width: none; }

  .modal { border-radius: var(--radius-lg); max-width: 480px; align-self: center; }
  .modal-overlay { align-items: center; }
  .page-header { padding: 40px 0; }
  .page-header h1 { font-size: 1.8rem; }
}

/* ============================================
   DESKTOP (min-width: 992px)
   ============================================ */
@media (min-width: 992px) {
  :root { --header-h: 68px; }
  .container { padding: 0 32px; }

  .nav {
    display: flex; position: static; background: none;
    flex-direction: row; padding: 0; gap: 4px; overflow: visible; border-top: none;
  }
  .nav a { padding: 8px 14px; font-size: 0.88rem; border-radius: 6px; color: rgba(255,255,255,0.55); }
  .nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
  .nav a.active { color: var(--accent); background: rgba(58,124,165,0.1); }
  .burger { display: none; }
  .header-phone { display: block; }

  .hero { min-height: 540px; padding: 72px 0; }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-content p { font-size: 1.05rem; }
  .hero-stat-value { font-size: 1.8rem; }

  .section { padding: 72px 0; }
  .section-title { font-size: 2rem; }

  .advantages-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .product-card { border-radius: 18px; }
  .product-card-body { padding: 18px 20px 22px; }
  .product-card-name { font-size: 1.05rem; }
  .product-card-desc { font-size: 0.82rem; }
  .product-card-price { font-size: 1.35rem; }
  .card-spec-val { font-size: 0.78rem; }
  .card-spec { padding: 10px 6px; }
  .product-card-img-wrap { padding: 28px; }
  .product-card-btn { padding: 9px 16px; font-size: 0.7rem; min-height: 40px; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .category-card { padding: 14px; }
  .category-card-img-wrap { width: 110px; height: 110px; }

  /* Product page desktop */
  .product-page { padding-bottom: 40px; }
  .product-top {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    max-width: var(--max-width); margin: 0 auto;
  }
  .product-gallery { position: sticky; top: var(--header-h); align-self: start; }
  .carousel-slide { aspect-ratio: 1; padding: 30px; }
  .carousel-thumb { width: 72px; height: 72px; }
  .product-info-col { padding: 0 32px; }
  .product-main { padding: 24px 0 0; }
  .product-section { padding: 24px 0; }
  .product-section-alt { margin: 0; padding: 24px 0; }
  .product-quick-specs { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .product-title { font-size: 2rem; }
  .product-price { font-size: 2.2rem; }
  .product-trust, .product-company { max-width: var(--max-width); margin: 0 auto; padding: 28px 32px; }
  .product-sticky-bar { display: none !important; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer { padding: 48px 0 20px; }
  .cta-section { padding: 72px 20px; }
  .cta-section h2 { font-size: 1.8rem; }
  .page-header h1 { font-size: 2.2rem; }

  .site-sticky-bar { bottom: 20px; right: 20px; }
  .site-sticky-bar .sticky-btn { width: 52px; height: 52px; }
  .scroll-top { bottom: 20px; right: 82px; }
}

@media (min-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-content h1 { font-size: 3.2rem; }
}
