/*
Theme Name: FarmEquip Pro
Theme URI: https://modesign.site
Author: Artemiy V Diakov
Description: Живая современная SEO-тема для производителей кормовых автоматов и оборудования для животноводства.
Version: 1.7.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: farmsquip-pro
Tags: responsive, seo, agriculture, livestock, business, modern, custom-logo, custom-menu, featured-images
*/

/* ============================================
   Design System — живой агро-стиль 2026
   ============================================ */
:root {
  --primary: #0b6e38;
  --primary-dark: #054d27;
  --primary-light: #17a34a;
  --primary-glow: rgba(11, 110, 56, 0.28);
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --accent: #0f766e;
  --accent-light: #14b8a6;
  --bg: #f3f7f4;
  --bg-warm: #fffbf3;
  --bg-dark: #07140c;
  --text: #0f1c14;
  --text-light: #5a6b60;
  --white: #ffffff;
  --border: #d4e4d9;
  --shadow: 0 4px 24px rgba(7, 30, 18, 0.06);
  --shadow-hover: 0 20px 50px rgba(7, 30, 18, 0.12);
  --shadow-glow: 0 10px 36px var(--primary-glow);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Manrope', 'Inter', sans-serif;
  --container: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 78px; /* under fixed header */ /* под fixed header */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); }

ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; }

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

.section { padding: 90px 0; }

.section-title {
  text-align: center;
  margin-bottom: 14px;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 52px;
  font-size: 1.08rem;
}

/* ============================================
   Buttons — живые
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px var(--primary-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--secondary) 0%, #fbbf24 100%);
  color: #1a1200;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  color: #1a1200;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45);
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(216, 229, 219, 0.7);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(13, 40, 24, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
}

body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: -0.03em;
}
.site-logo img { height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
  display: block;
  padding: 9px 15px;
  color: var(--text);
  font-weight: 500;
  border-radius: 10px;
  font-size: 0.92rem;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
  background: rgba(13, 122, 63, 0.1);
  color: var(--primary);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1002;
  border-radius: 10px;
  transition: background 0.25s ease;
}
.menu-toggle:hover {
  background: rgba(13, 122, 63, 0.08);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 11px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.25s ease,
              top 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.25s ease;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }

/* Бургер → крестик */
.menu-toggle.is-open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
  background: var(--primary);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.is-open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
  background: var(--primary);
}

/* ============================================
   Hero — яркий, живой
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(20, 184, 166, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
    linear-gradient(145deg, #064e2a 0%, #0d7a3f 40%, #0f766e 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content { max-width: 600px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: fadeUp 0.7s ease both;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeUp 0.7s 0.1s ease both;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-buttons .btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: white;
}
.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeUp 0.7s 0.4s ease both;
}
.stat-item strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #fff, #a7f3d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item span { font-size: 0.88rem; opacity: 0.8; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.8s 0.25s ease both;
}
.hero-visual-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  position: relative;
}
.hero-visual-card img,
.hero-visual-card svg {
  width: 78%;
  height: auto;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.2));
  animation: float 5s ease-in-out infinite;
}
.hero-visual-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.35) 0%, transparent 70%);
  top: 10%;
  right: 5%;
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Features
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(13, 122, 63, 0.12);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px var(--primary-glow);
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* ============================================
   Products
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 28px;
  justify-content: start;
}

/* Одна карточка не растягивается на всю ширину */
.products-grid .product-card {
  max-width: 380px;
  width: 100%;
}
@media (min-width: 769px) {
  .products-grid:has(.product-card:only-child) {
    grid-template-columns: minmax(280px, 360px);
  }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}
.product-card .product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card .product-meta {
  margin-top: auto;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(13, 122, 63, 0.1);
}

.product-image {
  aspect-ratio: 16/11;
  background: linear-gradient(145deg, #e6f5ec 0%, #c8ebd6 40%, #b2e0d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.product-card:hover .product-image img { transform: scale(1.06); }

.product-image-placeholder {
  width: 70%;
  max-width: 200px;
  opacity: 0.85;
  transition: var(--transition);
  filter: drop-shadow(0 8px 16px rgba(13, 80, 40, 0.15));
}
.product-card:hover .product-image-placeholder {
  transform: scale(1.08) translateY(-4px);
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--secondary), #fbbf24);
  color: #1a1200;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.product-body { padding: 22px; }
.product-body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.product-body h3 a { color: var(--text); }
.product-body h3 a:hover { color: var(--primary); }
.product-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.product-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

/* ============================================
   About
   ============================================ */
.about-section { background: var(--white); }

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

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #0d7a3f, #0d9488);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.about-image-inner svg {
  width: 70%;
  max-width: 280px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

.about-content h2 { margin-bottom: 18px; }
.about-content p { color: var(--text-light); margin-bottom: 14px; }
.about-list { margin: 22px 0; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
}
.about-list li::before {
  content: '';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(13, 122, 63, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #e8f5ee 100%);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(13, 122, 63, 0.08);
  line-height: 1;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 22px;
  font-size: 1.02rem;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px var(--primary-glow);
}
.author-info strong { display: block; }
.author-info span { font-size: 0.85rem; color: var(--text-light); }

/* ============================================
   Contact
   ============================================ */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { color: var(--text-light); margin-bottom: 28px; }

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding: 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-item:hover { background: var(--bg); }

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(13,122,63,0.12), rgba(13,148,136,0.12));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-form {
  background: linear-gradient(160deg, #f4f7f4 0%, #eef6f1 100%);
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  transition: var(--transition);
  font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}
.form-group textarea { min-height: 110px; resize: vertical; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, #0c1a12 0%, #06140c 100%);
  color: #b8c9be;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
}
.footer-brand .site-logo { color: var(--white); }

.footer-col h4 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 1.05rem;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: #b8c9be;
  font-size: 0.95rem;
}
.footer-col a:hover { color: var(--secondary); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ============================================
   Blog / Archive
   ============================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.post-card-image { aspect-ratio: 16/9; overflow: hidden; }
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-body { padding: 22px; }
.post-meta { font-size: 0.85rem; color: var(--text-light); margin-bottom: 10px; }
.post-card h2 { font-size: 1.2rem; margin-bottom: 10px; }
.post-card h2 a { color: var(--text); }
.post-card h2 a:hover { color: var(--primary); }
.post-excerpt { color: var(--text-light); font-size: 0.95rem; }

.single-post { max-width: 800px; margin: 0 auto; }
.single-post .entry-header { margin-bottom: 36px; }
.single-post .entry-content {
  font-size: 1.08rem;
  line-height: 1.8;
}
.single-post .entry-content p { margin-bottom: 1.4em; }
.single-post .entry-content h2,
.single-post .entry-content h3 {
  margin-top: 1.8em;
  margin-bottom: 0.7em;
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.875rem;
  color: var(--text-light);
}
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { margin: 0 8px; }

/* ============================================
   Gallery strip / visual band
   ============================================ */
.visual-band {
  padding: 0;
  overflow: hidden;
}
.visual-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.visual-band-item {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #0d7a3f, #0d9488);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.visual-band-item:nth-child(2) {
  background: linear-gradient(145deg, #065f32, #0d7a3f);
}
.visual-band-item:nth-child(3) {
  background: linear-gradient(145deg, #0f766e, #14b8a6);
}
.visual-band-item:nth-child(4) {
  background: linear-gradient(145deg, #d97706, #f59e0b);
}
.visual-band-item svg {
  width: 45%;
  opacity: 0.9;
  transition: var(--transition);
}
.visual-band-item:hover svg {
  transform: scale(1.12);
  opacity: 1;
}
.visual-band-item span {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ============================================
   Animations on scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
  .visual-band-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 78px; /* under fixed header */
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; width: 100%; }
  .main-nav a { padding: 14px 16px; }
  .header-cta .btn { display: none; }
  .section { padding: 56px 0; }
  .hero {
    min-height: auto;
    padding: 90px 0 70px;
  }
  .hero-stats { flex-direction: column; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   A11y / SEO helpers
   ============================================ */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 12px 20px;
  z-index: 10000;
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }

@media print {
  .site-header, .site-footer, .btn, .menu-toggle { display: none !important; }
}

/* ============================================
   Page hero (О компании, Контакты)
   ============================================ */
.page-hero {
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(20, 184, 166, 0.2) 0%, transparent 50%),
    linear-gradient(145deg, #064e2a 0%, #0d7a3f 45%, #0f766e 100%);
  color: white;
  padding: 48px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}
.page-hero .breadcrumbs {
  color: rgba(255,255,255,0.65);
  padding-top: 0;
  margin-bottom: 16px;
}
.page-hero .breadcrumbs a { color: rgba(255,255,255,0.75); }
.page-hero .breadcrumbs a:hover { color: white; }
.page-hero h1 {
  color: white;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.page-hero-lead {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  line-height: 1.6;
}

/* ============================================
   Header cart / Заказ button
   ============================================ */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  order: 3;
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-width: 100%;
}
.site-logo {
  flex-shrink: 1;
  min-width: 0;
  max-width: 50%;
}
.main-nav {
  order: 2;
}
.header-cta {
  order: 4;
}
.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(13, 122, 63, 0.1);
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}
.header-cart:hover {
  background: rgba(13, 122, 63, 0.18);
  color: var(--primary-dark) !important;
  transform: translateY(-1px);
}
.header-cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--secondary), #fbbf24);
  color: #1a1200;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  line-height: 1;
}
.header-cart-count[hidden] {
  display: none !important;
}

/* ============================================
   Mobile overflow fixes
   ============================================ */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}
.container {
  max-width: 100%;
  box-sizing: border-box;
}
img, svg, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}
table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.hero h1,
.page-hero h1,
.section-title {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.product-meta {
  max-width: 100%;
}
.btn {
  max-width: 100%;
  box-sizing: border-box;
}
.order-layout,
.about-grid,
.contact-grid,
.footer-grid,
.features-grid,
.products-grid,
.post-grid {
  max-width: 100%;
}

@media (max-width: 992px) {
  .header-cta { display: none; }
  .main-nav {
    order: 10;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header-cart-label {
    display: none;
  }
  .header-cart {
    padding: 10px;
  }
  .site-logo {
    max-width: calc(100% - 120px);
  }
  .site-logo span {
    font-size: 1.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .products-grid,
  .features-grid,
  .post-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .visual-band-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-card,
  .feature-card,
  .testimonial-card {
    max-width: 100%;
  }
  .contact-form,
  .order-box {
    padding: 20px 16px;
  }
  .quick-add-row {
    flex-direction: column;
  }
  .order-select,
  .order-qty-input,
  #btn-quick-add {
    width: 100% !important;
  }
  .cart-table th,
  .cart-table td {
    padding: 8px 4px;
    font-size: 0.85rem;
  }
  .page-hero {
    padding: 32px 0 48px;
  }
  .section {
    padding: 48px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .visual-band-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 12px;
  }
  .stat-item strong {
    font-size: 1.6rem;
  }
}


/* Technical specs table */
.tech-specs h2 { margin-bottom: 20px; }
.tech-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: table;
}
.tech-specs-table th,
.tech-specs-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.tech-specs-table th {
  width: 40%;
  font-weight: 600;
  color: var(--text-light);
  background: var(--bg);
}
.tech-specs-table tr:last-child th,
.tech-specs-table tr:last-child td {
  border-bottom: none;
}
.tech-abbr {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.tech-abbr h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.tech-abbr p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
}

/* ============================================
   Catalog layout + categories
   ============================================ */
.catalog-header {
  margin-bottom: 36px;
  text-align: center;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
.catalog-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: sticky;
  top: 96px;
}
.catalog-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.catalog-sidebar-title {
  font-size: 1.05rem;
  margin: 0;
}
.catalog-sidebar-close {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  position: relative;
  cursor: pointer;
  border-radius: 8px;
}
.catalog-sidebar-close span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--text);
  top: 50%;
  border-radius: 2px;
}
.catalog-sidebar-close span:first-child { transform: rotate(45deg); }
.catalog-sidebar-close span:last-child { transform: rotate(-45deg); }

.product-cat-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-cat-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}
.product-cat-nav a:hover {
  background: rgba(13, 122, 63, 0.08);
  color: var(--primary);
}
.product-cat-nav a.is-active {
  background: linear-gradient(135deg, rgba(13,122,63,0.12), rgba(13,148,136,0.1));
  color: var(--primary);
  font-weight: 600;
}
.cat-count {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg);
  color: var(--text-light);
  padding: 2px 8px;
  border-radius: 20px;
  min-width: 24px;
  text-align: center;
}
.product-cat-nav a.is-active .cat-count {
  background: var(--primary);
  color: white;
}

.catalog-toolbar {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.cat-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px !important;
  font-size: 0.9rem !important;
}
.catalog-current-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(13,122,63,0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
}
.catalog-clear-cat {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(13,122,63,0.15);
  color: var(--primary);
  font-size: 1rem;
  line-height: 1;
}
.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-light);
  padding: 40px 20px;
}
.catalog-pagination {
  margin-top: 40px;
  text-align: center;
}
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-sm {
  padding: 8px 12px !important;
  font-size: 0.8rem !important;
}

.cat-filter-overlay {
  display: none;
}

/* Mobile menu open — lock scroll */
body.menu-open,
body.cat-panel-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-toolbar {
    display: flex;
  }
  /* Панель категорий: скрыта по умолчанию, не перекрывает контент */
  .catalog-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 88vw);
    max-width: 100%;
    z-index: 1100;
    border-radius: 0;
    margin: 0;
    transform: translate3d(-110%, 0, 0);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
    overflow-y: auto;
    padding: 24px 20px;
    box-shadow: 8px 0 40px rgba(0,0,0,0.15);
    visibility: hidden;
    pointer-events: none;
  }
  .catalog-sidebar.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }
  .catalog-sidebar-close {
    display: block;
  }
  .cat-filter-overlay {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(12, 26, 18, 0.45);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .cat-filter-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .products-grid .product-card {
    max-width: 100%;
  }
  .product-meta {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

/* ============================================
   v1.6 — Modern polish + animations
   ============================================ */

/* Noise texture overlay for depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Smooth selection */
::selection {
  background: rgba(11, 110, 56, 0.2);
  color: var(--primary-dark);
}

/* Header glass refinement */
.site-header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(212, 228, 217, 0.55);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 32px rgba(7, 30, 18, 0.08);
}

/* Buttons — ripple + lift */
.btn {
  isolation: isolate;
  letter-spacing: 0.01em;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(255,255,255,0.35) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
  border-radius: inherit;
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: linear-gradient(135deg, #0b6e38 0%, #16a34a 55%, #0f766e 100%);
  background-size: 160% 160%;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn-primary:active,
.btn-accent:active,
.btn-secondary:active {
  transform: translateY(1px) scale(0.98);
}

/* Hero mesh gradients */
.hero {
  background:
    radial-gradient(ellipse 90% 70% at 75% 30%, rgba(20, 184, 166, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(245, 158, 11, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 0%, rgba(22, 163, 74, 0.25) 0%, transparent 60%),
    linear-gradient(155deg, #043a20 0%, #0b6e38 38%, #0f766e 100%);
}
.hero-visual-card {
  animation: cardGlow 6s ease-in-out infinite;
}
@keyframes cardGlow {
  0%, 100% { box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.15); }
  50% { box-shadow: 0 24px 70px rgba(0,0,0,0.3), 0 0 40px rgba(20, 184, 166, 0.25); }
}

/* Feature cards staggered hover */
.feature-card {
  background: linear-gradient(180deg, #fff 0%, #fafdfb 100%);
}
.feature-card:hover {
  transform: translateY(-10px) scale(1.01);
}
.feature-icon {
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 12px 28px var(--primary-glow);
}

/* Product cards */
.product-card {
  background: linear-gradient(180deg, #fff 0%, #f9fcfa 100%);
}
.product-card:hover {
  transform: translateY(-12px);
  border-color: rgba(11, 110, 56, 0.15);
}
.product-image {
  background: linear-gradient(145deg, #e8f6ee 0%, #c5ebd6 45%, #a8ddd0 100%);
}
.product-badge {
  animation: badgePop 0.5s var(--ease-spring) both;
}
@keyframes badgePop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Testimonial cards */
.testimonial-card:hover {
  transform: translateY(-6px) scale(1.01);
}

/* Section titles underline accent */
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  opacity: 0.85;
}

/* Reveal system — modern */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays via data-delay or nth-child */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.4s; }

/* Page hero polish */
.page-hero {
  background:
    radial-gradient(ellipse 80% 70% at 85% 15%, rgba(20, 184, 166, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
    linear-gradient(145deg, #043a20 0%, #0b6e38 45%, #0f766e 100%);
}

/* Form focus ring animated */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px var(--primary-glow);
  transform: translateY(-1px);
}

/* Catalog sidebar active glow */
.product-cat-nav a.is-active {
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* Header cart bounce when count updates */
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.25); }
  70% { transform: scale(0.92); }
}
.header-cart-count.bump {
  animation: cartBounce 0.45s var(--ease-spring);
}

/* Skeleton shimmer for loading states */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer {
  background: linear-gradient(90deg, #e8f0ea 25%, #f5faf6 50%, #e8f0ea 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease infinite;
}

/* Visual band hover lift */
.visual-band-item {
  transition: transform 0.45s var(--ease-out), filter 0.45s ease;
}
.visual-band-item:hover {
  transform: scale(1.03);
  z-index: 2;
  filter: brightness(1.08);
}

/* Footer soft top gradient */
.site-footer {
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

/* Soft parallax-ready layers */
.parallax-slow {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* Mobile refinements */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .feature-card:hover,
  .product-card:hover {
    transform: translateY(-4px);
  }
}
