/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0A0F1A;
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* === VARIABLES === */
:root {
  --accent: #2B8A5A;
  --accent-hover: #247A4E;
  --accent-light: #E8F5ED;
  --warm: #E8592A;
  --text-primary: #0A0F1A;
  --text-secondary: #5A6270;
  --text-muted: #8E95A3;
  --bg-light: #F7F8FA;
  --bg-card: #F0F1F5;
  --border: #E2E4E8;
  --dark-bg: #0A0F1A;
  --dark-card: #141B2A;
}

/* === UTILITIES === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-light { background: #fff; padding: 80px 0; }
.section-dark { background: var(--dark-bg); padding: 80px 0; }
.text-accent { color: var(--accent); }
.text-white { color: #fff; }
.text-light50 { color: rgba(255,255,255,0.5); }
.text-light70 { color: rgba(255,255,255,0.7); }

.section-label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  text-align: center; margin-bottom: 12px;
}
.section-title {
  font-size: 36px; font-weight: 700; text-align: center;
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px;
}
.section-subtitle {
  font-size: 18px; color: var(--text-secondary); text-align: center;
  max-width: 600px; margin: 0 auto 48px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 12px; font-size: 14px;
  font-weight: 600; border: none; transition: all 0.2s ease;
  text-align: center;
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43,138,90,0.3);
}
.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-full { width: 100%; }

.link {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: 4px;
  transition: color 0.2s;
}
.link:hover { color: var(--accent); }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 72px; transition: all 0.3s ease;
}
/* Light hero background — navbar starts with DARK text */
.navbar {
  color: var(--text-primary);
}
.nav-logo { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-primary); }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--accent); }
.nav-link.active { color: var(--accent); font-weight: 600; }
.cart-btn {
  position: relative; padding: 8px; border-radius: 50%;
  transition: background 0.2s; display: flex; color: var(--text-primary);
}
.cart-btn:hover { background: rgba(10,15,26,0.06); }
.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--text-primary); }

/* Scrolled — stays the same (dark on light) */
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.navbar {
  background: rgba(247,248,250,0.85);
  backdrop-filter: blur(8px);
}
.navbar.scrolled .nav-logo { color: var(--text-primary); }
.navbar.scrolled .nav-link { color: var(--text-secondary); }
.navbar.scrolled .nav-link:hover { color: var(--accent); }
.navbar.scrolled .cart-btn { color: var(--text-primary); }
.navbar.scrolled .cart-btn:hover { background: var(--bg-card); }
.navbar.scrolled .nav-toggle { color: var(--text-primary); }

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-links { display: flex; gap: 32px; }
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cart-btn { flex-shrink: 0; }
.nav-search { position: relative; width: 240px; flex: 0 1 240px; min-width: 120px; }
.nav-search-box {
  display: flex; align-items: center; gap: 8px; width: 100%;
  height: 40px; padding: 0 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  color: var(--text-muted); cursor: text;
}
.nav-search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43,138,90,0.12); }
.nav-search-box input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font: inherit; font-size: 14px; color: var(--text-primary);
}
.nav-search-box input::placeholder { color: var(--text-muted); }
.nav-search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.nav-search-results {
  position: absolute; top: calc(100% + 8px); right: 0; left: auto;
  width: min(360px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(10,15,26,0.14);
  max-height: min(70vh, 420px); overflow-y: auto; z-index: 60; padding: 6px;
}
.nav-search-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 10px; color: inherit;
}
.nav-search-item:hover,
.nav-search-item.is-active { background: var(--accent-light); }
.nav-search-thumb {
  width: 44px; height: 44px; border-radius: 8px; background: var(--bg-light);
  object-fit: contain; flex-shrink: 0;
}
.nav-search-thumb-empty {
  width: 44px; height: 44px; border-radius: 8px; background: var(--bg-card);
  flex-shrink: 0;
}
.nav-search-meta { min-width: 0; flex: 1; }
.nav-search-name {
  font-size: 14px; font-weight: 600; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-search-sku { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.nav-search-price { font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.nav-search-empty,
.nav-search-hint { padding: 14px 12px; font-size: 13px; color: var(--text-muted); text-align: center; }
.nav-search-toggle {
  display: none; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 8px; border: none; border-radius: 50%;
  background: none; color: var(--text-primary); flex-shrink: 0;
}
.nav-search-toggle:hover { background: rgba(10,15,26,0.06); }
.navbar.scrolled .nav-search-toggle { color: var(--text-primary); }
.nav-order {
  padding: 10px 20px; font-size: 14px;
  background: var(--accent); color: #fff;
}
.nav-order:hover { background: var(--accent-hover); }
.cart-count {
  position: absolute; top: -2px; right: -2px;
  width: 20px; height: 20px; background: var(--accent);
  color: #fff; font-size: 10px; font-weight: 700;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center;
}
@keyframes cartBounce {
  0% { transform: scale(1) translateY(0); }
  30% { transform: scale(1.25) translateY(-4px); }
  60% { transform: scale(0.95) translateY(2px); }
  100% { transform: scale(1) translateY(0); }
}
@keyframes badgePop {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}
.cart-bounce svg {
  animation: cartBounce 0.4s ease;
}
.cart-bounce .cart-count {
  animation: badgePop 0.4s ease;
}

.fly-to-cart {
  position: fixed;
  width: 200px; height: 200px;
  border-radius: 12px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.95;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.fly-to-cart img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* === HERO (v2 — dark with lifestyle image) === */
.hero-v2 {
  background: linear-gradient(135deg, #0A0F1A 0%, #1a2332 50%, #0d1f15 100%);
  position: relative; overflow: hidden;
  padding-top: 72px;
}
.hero-v2-glow-1 {
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,138,90,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-v2-glow-2 {
  position: absolute; bottom: -150px; left: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,89,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-v2-container {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 80px 24px 48px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  min-height: calc(100vh - 72px);
}
.hero-v2-badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 24px; padding: 8px 20px;
  background: rgba(232,89,42,0.12);
  border: 1px solid rgba(232,89,42,0.2);
  border-radius: 100px;
}
.hero-v2-badge-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: #E8592A;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-v2-badge-text {
  font-size: 11px; font-weight: 600; color: #E8592A;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.hero-v2-price-drop {
  display: inline-flex; align-items: center;
  background: #E8592A; color: #fff;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-left: 4px;
}
.hero-v2-title {
  font-size: 52px; font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em; color: #fff;
  margin-bottom: 20px;
}
.hero-v2-title-strike { color: #E8592A; text-decoration: line-through; text-decoration-thickness: 3px; opacity: 0.7; }
.hero-v2-title-accent { color: #2B8A5A; }
.hero-v2-desc {
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.7);
  margin-bottom: 16px; max-width: 480px;
}
.hero-v2-intro-price {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(43, 138, 90, 0.2);
  border: 1px solid rgba(43, 138, 90, 0.4);
  color: #fff;
  font-size: 16px;
  padding: 10px 18px;
  border-radius: 10px;
  margin-bottom: 32px;
}
.hero-v2-intro-price svg {
  color: #2B8A5A;
  flex-shrink: 0;
}
.hero-v2-intro-price strong {
  color: #4ADE80;
  font-weight: 700;
}
.hero-v2-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero-v2-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 13px; color: rgba(255,255,255,0.85);
}
.hero-v2-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-v2-right { position: relative; }
.hero-v2-image-wrap {
  position: relative; border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.hero-v2-image-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(10,15,26,0.6), transparent);
}
.hero-v2-image-caption {
  position: absolute; bottom: 16px; left: 20px; right: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.hero-v2-image-caption span { font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 500; }
.hero-v2-image-caption .temp { color: #2B8A5A; font-weight: 600; }
.hero-v2-floating-card {
  position: absolute; background: #fff; border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 10;
}
.hero-v2-floating-card-top { top: -20px; right: -20px; }
.hero-v2-floating-card-bottom { bottom: 40px; left: -24px; }
.hero-v2-scroll {
  text-align: center; padding-bottom: 24px;
  position: relative; z-index: 2;
}
.hero-v2-scroll a {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4);
  text-decoration: none; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: color 0.2s;
}
.hero-v2-scroll a:hover { color: rgba(255,255,255,0.7); }

/* === PRODUCTS (compact 3-col) === */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.product-card {
  background: var(--bg-card); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--accent);
  transition: all 0.3s ease;
  display: flex; flex-direction: column; height: 100%;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.product-image-wrapper {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  background: #fff;
  overflow: hidden;
  flex-shrink: 0;
}
.product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
}
.product-content {
  padding: 16px 20px 20px;
  display: flex; flex-direction: column; flex: 1; min-height: 0;
}
.product-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 6px;
}
.product-name { font-size: 16px; font-weight: 600; }
.product-meta {
  margin-top: 6px; display: flex; align-items: flex-start;
  justify-content: space-between; gap: 10px;
}
.product-desc {
  margin: 0; font-size: 13px; color: var(--text-secondary);
  line-height: 1.45; min-width: 0; flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-sku {
  flex-shrink: 0; font-size: 12px; font-weight: 600;
  color: #8E95A3; white-space: nowrap; line-height: 1.45;
}
.product-price-row {
  margin-top: auto; padding-top: 12px;
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 8px;
}
.product-price {
  margin: 0; font-size: 20px; font-weight: 700;
  color: var(--accent); min-width: 0;
}
.product-stock-count {
  flex-shrink: 0; font-size: 12px; font-weight: 600; white-space: nowrap;
}
.product-stock-count.is-ok { color: #2B8A5A; }
.product-stock-count.is-low { color: #E8592A; }
.product-stock-count.is-empty { color: #dc2626; }
.product-buttons {
  margin-top: 12px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}

.products-grid.shop-products-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.shop-products-grid .product-image-wrapper { aspect-ratio: 1; }
.shop-products-grid .product-image { padding: 10px; }
.shop-products-grid .product-content { padding: 12px; display: flex; flex-direction: column; flex: 1; }
.shop-products-grid .product-name { font-size: 14px; line-height: 1.3; }
.shop-products-grid .product-desc { font-size: 12px; -webkit-line-clamp: 1; }
.shop-products-grid .product-sku { font-size: 11px; }
.shop-products-grid .product-price-row { padding-top: 8px; }
.shop-products-grid .product-price { font-size: 16px; }
.shop-products-grid .product-stock-count { font-size: 11px; }
.shop-products-grid .product-price span[style*="font-size:16px"] { font-size: 12px !important; }
.shop-products-grid .product-buttons { flex-direction: column; align-items: stretch; gap: 6px; }
.shop-products-grid .product-buttons .btn { width: 100%; padding: 8px 10px; font-size: 12px; }

/* === FEATURES === */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: var(--dark-card); border-radius: 16px; padding: 24px;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(43,138,90,0.15); display: flex;
  align-items: center; justify-content: center; color: var(--accent);
}
.feature-title { margin-top: 16px; font-size: 18px; font-weight: 600; color: #fff; }
.feature-desc { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* === SPECS === */
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.spec-title { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.spec-table {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
}
.spec-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-param { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.spec-value { font-size: 14px; font-weight: 600; color: var(--text-primary); text-align: right; }

/* === HOW IT WORKS === */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: start; }
.step { text-align: center; padding: 0 16px; }
.step-number { font-size: 56px; font-weight: 700; color: var(--accent); opacity: 0.3; display: block; }
.step-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; color: #fff;
  margin: -12px auto 0;
}
.step-title { margin-top: 16px; font-size: 20px; font-weight: 600; }
.step-desc { margin-top: 8px; font-size: 15px; color: var(--text-secondary); line-height: 1.6; max-width: 320px; margin-left: auto; margin-right: auto; }
.step-line { width: 60px; height: 2px; background: var(--accent-light); margin-top: 80px; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-desc { margin-top: 16px; font-size: 16px; color: var(--text-secondary); line-height: 1.6; }
.contact-items { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-primary); }
.contact-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-light); display: flex;
  align-items: center; justify-content: center; color: var(--accent);
  flex-shrink: 0;
}
.contact-form-wrapper { background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.form-group { margin-bottom: 16px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: var(--text-primary); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 14px; color: var(--text-primary);
  font-family: inherit; transition: all 0.2s; outline: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43,138,90,0.1); }
textarea.form-input { resize: none; }
.form-error { display: block; font-size: 12px; color: #dc2626; margin-top: 4px; min-height: 16px; }

.form-success { text-align: center; padding: 48px 24px; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-light); display: flex;
  align-items: center; justify-content: center; margin: 0 auto 16px;
  font-size: 28px; color: var(--accent); font-weight: 700;
}
.form-success h3 { font-size: 20px; font-weight: 600; }
.form-success p { margin-top: 8px; font-size: 15px; color: var(--text-secondary); }

/* === FOOTER === */
.footer { background: var(--dark-bg); color: #fff; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-logo { font-size: 20px; font-weight: 700; }
.footer-desc { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-heading { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-links a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-legal a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* === MODAL === */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(4px);
}
.modal {
  background: #fff; border-radius: 16px; max-width: 480px; width: 100%;
  max-height: 80vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 18px; font-weight: 600; }
.modal-close { background: none; border: none; font-size: 24px; color: var(--text-muted); padding: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: all 0.2s; }
.modal-close:hover { background: var(--bg-card); color: var(--text-primary); }
.modal-body { padding: 24px; }
.modal-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-empty { text-align: center; color: var(--text-muted); padding: 24px 0; }
.cart-total { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-name { font-weight: 500; }
.cart-item-price { color: var(--accent); font-weight: 600; }

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp 0.6s ease forwards; }
.animate-d1 { animation-delay: 0.1s; opacity: 0; }
.animate-d2 { animation-delay: 0.2s; opacity: 0; }
.animate-d3 { animation-delay: 0.3s; opacity: 0; }
.animate-d4 { animation-delay: 0.4s; opacity: 0; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === SPECS MODAL === */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table td { padding: 10px 12px; border-bottom: 1px solid #E2E4E8; font-size: 14px; }
.specs-table td:first-child { color: #5A6270; font-weight: 500; width: 45%; }
.specs-table td:last-child { color: #0A0F1A; font-weight: 600; }
.specs-table tr:last-child td { border-bottom: none; }
.specs-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.specs-row:last-child { border-bottom: none; }
.specs-param { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.specs-value { font-size: 14px; font-weight: 600; color: var(--text-primary); text-align: right; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .nav-search { width: 180px; flex-basis: 180px; }
  .products-grid.shop-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero-title { font-size: 42px; }
  .hero-container { gap: 32px; }
  .contact-grid { gap: 40px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-order { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-search { width: auto; flex: 0 0 auto; min-width: 0; }
  .nav-search-toggle { display: flex; }
  .nav-search-box { display: none; }
  .nav-search.is-open .nav-search-box {
    display: flex;
    position: fixed;
    top: 72px; left: 0; right: 0;
    width: 100%; height: 52px;
    border-radius: 0; border-left: none; border-right: none;
    z-index: 61; padding: 0 16px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(10,15,26,0.08);
  }
  .nav-search.is-open .nav-search-toggle { background: rgba(10,15,26,0.06); }
  .nav-search.is-open .nav-search-results {
    position: fixed;
    top: 124px; left: 8px; right: 8px;
    width: auto;
  }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: #fff;
    padding: 24px; gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .nav-links.open .nav-link { color: var(--text-primary); font-size: 16px; padding: 8px 0; }
  .nav-links.open .nav-link:hover { color: var(--accent); }

  /* Hero v2 mobile */
  .hero-v2-container { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px 32px; text-align: center; min-height: auto; }
  .hero-v2-badge { padding: 6px 14px; }
  .hero-v2-badge-text { font-size: 10px; letter-spacing: 0.04em; }
  .hero-v2-title { font-size: 28px; }
  .hero-v2-desc { font-size: 15px; margin-left: auto; margin-right: auto; }
  .hero-v2-pills { justify-content: center; flex-wrap: wrap; }
  .hero-v2-buttons { justify-content: center; flex-wrap: wrap; }
  .hero-v2-right { order: -1; }
  .hero-v2-floating-card { display: none; }
  .hero-v2-image-wrap { border-radius: 12px; }

  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-right { order: -1; }
  .hero-bg-circle { width: 280px; height: 280px; }
  .hero-image { max-width: 240px; }
  .hero-bubble { display: none; }
  .products-grid { grid-template-columns: 1fr; gap: 16px; }
  .products-grid.shop-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .features-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step-line { display: none; }
  .step { padding: 0; }
  .section-title { font-size: 28px; }
  .form-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* === HERO V3 — Product Centered === */
.hero-v3 {
  padding: 140px 0 80px;
  background: url('../images/hero-bg-v4.jpg') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero-v3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.6) 50%, rgba(247,248,250,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-v3-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-v3-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.hero-v3-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 48px;
}
.hero-v3-grid {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 48px;
  align-items: center;
}

/* Left: Features */
.hero-v3-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}
.hero-v3-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.hero-v3-feature svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.hero-v3-feature strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.hero-v3-feature span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Center: Product Scene with Layered Images */
.hero-v3-product {
  position: relative;
}
.hero-v3-scene {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(10,15,26,0.12);
}
.hero-v3-scene .hero-v3-bg {
  width: 100%;
  height: auto;
  display: block;
}
/* TRV on radiator valve — positioned bottom-left area */
.hero-v3-trv {
  position: absolute;
  bottom: 18%;
  left: 6%;
  width: 28%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}
/* Wall sensor — positioned on right wall */
.hero-v3-sensor {
  position: absolute;
  top: 22%;
  right: 18%;
  width: 22%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
}
.hero-v3-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232,89,42,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

/* Right: Pricing */
.hero-v3-pricing {
  text-align: left;
}
.hero-v3-price-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(10,15,26,0.06);
}
.hero-v3-old-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.hero-v3-old-price > span:first-child {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.hero-v3-discount-badge {
  background: var(--warm);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.hero-v3-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--warm);
  line-height: 1;
}
.hero-v3-pvn {
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px 0 16px;
}
.hero-v3-cta {
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  font-size: 16px;
  margin-bottom: 16px;
}
.hero-v3-benefits {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-v3-benefits span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-v3-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .hero-v3-product { order: -1; grid-column: 1 / -1; }
  .hero-v3-trv { width: 32%; bottom: 16%; left: 4%; }
  .hero-v3-sensor { width: 26%; top: 18%; right: 15%; }
}
@media (max-width: 640px) {
  .hero-v3 { padding: 90px 16px 40px; }
  .hero-v3-container { padding: 0 16px; }
  .hero-v3-title { font-size: 24px; margin-bottom: 6px; }
  .hero-v3-subtitle { font-size: 15px; margin-bottom: 32px; }
  .hero-v3-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-v3-product { order: -1; }
  .hero-v3-trv { width: 38%; bottom: 14%; left: 2%; }
  .hero-v3-sensor { width: 30%; top: 15%; right: 12%; }
  .hero-v3-features { gap: 14px; }
  .hero-v3-feature svg { width: 22px; height: 22px; }
  .hero-v3-feature strong { font-size: 14px; }
  .hero-v3-feature span { font-size: 12px; }
  .hero-v3-pricing { width: 100%; }
  .hero-v3-price-box { padding: 20px; border-radius: 12px; }
  .hero-v3-price-box h3 { font-size: 17px; }
  .hero-v3-price-box span { font-size: 13px; }
  .hero-v3-cta { padding: 12px 20px; font-size: 15px; }
}
