/* ============================================
   ESTORE — Digital Store HTML Template
   Custom Properties, Grid, Flex, clamp()
   ============================================ */

/* --- Custom Properties --- */
:root {
  --orange: #F97316;
  --orange-light: #FFF7ED;
  --orange-dark: #EA580C;
  --navy: #0C1537;
  --navy-light: #1A2550;
  --off-white: #F8FAFC;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
  --max-w: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
}

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

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

body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1rem + 0.2vw, 17px);
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Circuit Pattern Motif (repeating background) --- */
.circuit-bg {
  position: relative;
}
.circuit-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20px 20px, var(--orange) 1px, transparent 1px),
    radial-gradient(circle at 60px 60px, var(--navy) 0.5px, transparent 0.5px),
    linear-gradient(0deg, transparent 49.5%, var(--orange) 49.5%, var(--orange) 50.5%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, var(--navy) 49.5%, var(--navy) 50.5%, transparent 50.5%);
  background-size: 80px 80px, 80px 80px, 40px 40px, 40px 40px;
  pointer-events: none;
  z-index: 0;
}
.circuit-bg > * { position: relative; z-index: 1; }

/* --- Section --- */
.section {
  padding: clamp(48px, 8vw, 96px) 0;
}
.section-header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-header h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--orange);
}
.section-header p {
  color: var(--gray-500);
  font-size: clamp(15px, 1rem + 0.2vw, 18px);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Button --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249,115,22,0.35);
}
.btn-outline {
  border-color: var(--orange);
  color: var(--orange);
  background: transparent;
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--off-white);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}
.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

/* --- Top Bar --- */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: rgba(255,255,255,0.7); }
.top-bar a:hover { color: var(--orange); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-bar i { margin-right: 4px; color: var(--orange); }

/* --- Header / Navbar --- */
.header-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.logo-text span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--gray-600);
  font-size: 15px;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  background: var(--orange-light);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
}
.cart-btn:hover {
  background: var(--orange);
  color: var(--white);
}
.cart-count {
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-btn:hover .cart-count {
  background: var(--white);
  color: var(--orange);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0F1D45 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 30px 30px, var(--orange) 1px, transparent 1px),
    radial-gradient(circle at 70px 70px, rgba(255,255,255,0.3) 0.5px, transparent 0.5px),
    linear-gradient(0deg, transparent 49.5%, var(--orange) 49.5%, var(--orange) 50.5%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,0.15) 49.5%, rgba(255,255,255,0.15) 50.5%, transparent 50.5%);
  background-size: 60px 60px, 60px 60px, 30px 30px, 30px 30px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: clamp(400px, 50vw, 560px);
  padding: clamp(40px, 6vw, 80px) 0;
}
.hero-content { color: var(--white); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: clamp(16px, 1.2rem + 0.3vw, 19px);
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat h3 {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--orange);
  margin-bottom: 4px;
}
.hero-stat p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}
.hero-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.hero-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(16px, 3vw, 32px);
  background: linear-gradient(transparent, rgba(12,21,55,0.85));
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  color: var(--white);
}
.hero-slide-overlay h3 {
  color: var(--white);
  font-size: clamp(16px, 1.2rem + 0.2vw, 22px);
  margin-bottom: 4px;
}
.hero-slide-overlay p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.hero-dots button.active {
  background: var(--orange);
  width: 28px;
  border-radius: 5px;
}

/* --- Brands --- */
.brands {
  padding: clamp(32px, 5vw, 56px) 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.brands-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}
.brands-grid img {
  height: 36px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: all var(--transition);
}
.brands-grid img:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}

/* --- Features Strip --- */
.features-strip {
  background: var(--white);
  padding: clamp(32px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--gray-100);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 32px);
}
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.feature-card:hover {
  background: var(--orange-light);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 22px;
  flex-shrink: 0;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--orange);
  color: var(--white);
}
.feature-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.feature-card p {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}

/* --- Categories --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 20px);
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover img {
  transform: scale(1.08);
}
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(12,21,55,0.85));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(12px, 2vw, 20px);
  transition: var(--transition);
}
.category-card:hover .category-card-overlay {
  background: linear-gradient(transparent 20%, rgba(12,21,55,0.9));
}
.category-card-overlay h4 {
  color: var(--white);
  font-size: clamp(14px, 1rem + 0.2vw, 18px);
  margin-bottom: 2px;
}
.category-card-overlay span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 500;
}

/* --- Products --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-new {
  background: var(--orange);
  color: var(--white);
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(249,115,22,0); }
}
.badge-sale {
  background: #EF4444;
  color: var(--white);
}
.badge-download {
  background: var(--navy);
  color: var(--white);
}
.product-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-50);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.05);
}
.product-actions {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: all 0.3s ease;
}
.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  font-size: 14px;
}
.product-action-btn:hover {
  background: var(--orange);
  color: var(--white);
}
.product-info {
  padding: clamp(14px, 2vw, 20px);
}
.product-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 6px;
}
.product-name {
  font-size: clamp(15px, 1rem + 0.2vw, 17px);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.stars {
  color: #FBBF24;
  font-size: 13px;
  display: flex;
  gap: 1px;
}
.rating-count {
  font-size: 12px;
  color: var(--gray-400);
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.2rem + 0.2vw, 22px);
  font-weight: 700;
  color: var(--navy);
}
.product-price .old-price {
  font-size: 14px;
  color: var(--gray-400);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 8px;
}
.product-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.product-add-btn:hover {
  background: var(--orange-dark);
  color: var(--white);
}

/* --- Spec Accordion --- */
.spec-accordion {
  margin-top: 16px;
  border-top: 1px solid var(--gray-100);
  padding-top: 12px;
}
.spec-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}
.spec-toggle:hover { color: var(--orange); }
.spec-toggle i { transition: transform var(--transition); font-size: 12px; }
.spec-toggle.open i { transform: rotate(180deg); }
.spec-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.spec-content.open { max-height: 200px; }
.spec-list {
  padding: 8px 0 4px;
  font-size: 13px;
  color: var(--gray-500);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid var(--gray-50);
}
.spec-list li span:last-child { font-weight: 500; color: var(--gray-700); }

/* --- Newsletter --- */
.newsletter {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20px 20px, var(--orange) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.newsletter-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
}
.newsletter h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 8px;
}
.newsletter p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
}
.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 16px;
  font-family: var(--font-body);
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.12);
}
.newsletter-form button {
  padding: 16px 32px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-heading);
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

/* --- Reviews --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.review-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange-light);
}
.review-meta h4 {
  font-size: 16px;
  margin-bottom: 2px;
}
.review-meta p {
  font-size: 13px;
  color: var(--gray-400);
  margin: 0;
}
.review-card .stars {
  margin-bottom: 12px;
}
.review-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--orange);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    radial-gradient(circle at 20px 20px, var(--white) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(32px, 5vw, 56px) 0;
  flex-wrap: wrap;
}
.cta-inner h2 {
  color: var(--white);
  font-size: clamp(22px, 3vw, 32px);
}
.cta-inner p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-top: 4px;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: clamp(48px, 6vw, 80px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}
.footer h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}
.footer ul li {
  margin-bottom: 10px;
}
.footer ul a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: var(--transition);
}
.footer ul a:hover {
  color: var(--orange);
  padding-left: 4px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-contact i {
  color: var(--orange);
  width: 16px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
}
.footer-bottom a { color: var(--orange); }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 20px 20px, var(--orange) 1px, transparent 1px),
    linear-gradient(0deg, transparent 49.5%, var(--orange) 49.5%, var(--orange) 50.5%, transparent 50.5%);
  background-size: 60px 60px, 30px 30px;
  pointer-events: none;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
  position: relative;
}
.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 17px;
  position: relative;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  position: relative;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--orange); }

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 16px;
}
.about-text p {
  margin-bottom: 16px;
  color: var(--gray-600);
}
.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.about-value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
}
.about-value i {
  color: var(--orange);
  font-size: 20px;
  margin-top: 2px;
}
.about-value h4 {
  font-size: 15px;
  margin-bottom: 4px;
}
.about-value p {
  font-size: 13px;
  margin: 0;
  color: var(--gray-500);
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
.stat-card {
  text-align: center;
  padding: clamp(24px, 3vw, 40px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.stat-card i {
  font-size: 28px;
  color: var(--orange);
  margin-bottom: 12px;
}
.stat-card h3 {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy);
  margin-bottom: 4px;
}
.stat-card p {
  font-size: 14px;
  color: var(--gray-500);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.team-card-info {
  padding: 20px;
}
.team-card-info h4 {
  font-size: 17px;
  margin-bottom: 4px;
}
.team-card-info p {
  font-size: 13px;
  color: var(--orange);
  margin: 0;
  font-weight: 500;
}

/* --- Products Page --- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vw, 40px);
  padding: 16px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tag {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}
.filter-tag:hover, .filter-tag.active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.filter-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-500);
}
.filter-sort select {
  padding: 8px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-700);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.contact-info-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.contact-info-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.contact-info-card p {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}
.contact-form-wrap h3 {
  font-size: 22px;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-ok {
  display: none;
  padding: 12px 20px;
  background: #ECFDF5;
  color: #065F46;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  border: 1px solid #A7F3D0;
}
.form-ok.show { display: block; }
.form-err {
  display: none;
  padding: 12px 20px;
  background: #FEF2F2;
  color: #991B1B;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  border: 1px solid #FECACA;
}
.form-err.show { display: block; }

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; text-align: center; }
  .newsletter-form { max-width: 500px; margin: 0 auto; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 1px solid var(--gray-100);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    text-align: left;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-slider { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .top-bar { display: none; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
}
