/* ==========================================================================
   PREMIUM INDUSTRIAL UI - MODERN REFRESH
   ========================================================================== */

:root {
  /* Ultra-Premium Industrial Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-black: #0B1120; /* Deep, rich premium slate/blue */
  --bg-dark-gray: #1E293B; /* Modern slate */
  
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-light: #ffffff;
  
  --accent-orange: #e8941a; /* Extremely vibrant, creative premium orange */
  --accent-orange-hover: #D04400;
  
  --border-light: #e2e8f0;
  --border-dark: #334155;
  
  --link-blue: #3b82f6;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
  
  /* Shadows - WOW Factor */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
  --shadow-orange: 0 10px 25px -5px rgba(232, 148, 26, 0.4);
  --shadow-glow: 0 0 30px rgba(232, 148, 26, 0.5);
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Z-Index */
  --z-header: 100;
  --z-dropdown: 50;
  --z-modal: 200;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}
/* Background already set on html/body above */

a {
  color: var(--link-blue);
  text-decoration: none;
  transition: all var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-catalog {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   MINIMAL CLEAN HEADER (Floating Pill Premium)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  background-color: transparent;
  padding-top: 12px;
  transform: translateY(0);
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  will-change: transform;
}

/* Inner pages start in the scrolled-look immediately */
.header.inner-header {
  padding-top: 8px;
}

.header.scrolled {
  padding-top: 8px;
}

.header.header-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

/* Nav Container — unified sizing */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  width: 96%;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 2.5rem;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s ease,
              border 0.3s ease,
              box-shadow 0.4s ease;
  pointer-events: auto;
}

/* Inner pages: white pill IMMEDIATELY (no transition = no flash) */
.header.inner-header .nav-container {
  height: 62px;
  background-color: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: none;
}

/* Home page scrolled: transitions smoothly to white */
.header.scrolled .nav-container {
  height: 62px;
  background-color: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.header-logo {
  height: 62px;
  width: auto;
  transform: scale(1.05);
  transform-origin: left center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}

.header.scrolled .header-logo,
.header.inner-header .header-logo {
  height: 48px;
  transform: scale(1);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.5rem 0.9rem;
  margin: 0;
  position: relative;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: color 0.3s ease;
  text-decoration: none;
}

.header.scrolled .nav-links a:not(.nav-quote-btn),
.header.inner-header .nav-links a:not(.nav-quote-btn) {
  color: var(--text-primary);
}

.nav-links a:hover {
  color: white;
}

.nav-links a:hover::after {
  width: 20px;
}

.nav-links a.active {
  background-color: white;
  color: var(--bg-black);
  font-weight: 700;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
}

.nav-links a.active::after {
  display: none;
}

/* Scrolled/Inner state - dark text */
.header.scrolled .nav-links a,
.header.inner-header .nav-links a {
  color: var(--text-secondary);
}

.header.scrolled .nav-links a:hover,
.header.inner-header .nav-links a:hover {
  color: var(--bg-black);
}

.header.scrolled .nav-links a.active,
.header.inner-header .nav-links a.active {
  background-color: var(--bg-black);
  color: white;
}

/* Quote Button (nav) */
.nav-quote-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-orange) !important;
  color: white !important;
  padding: 0.45rem 1rem !important;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.3px;
  margin-left: 0.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 8px rgba(232, 148, 26, 0.25);
}

.nav-quote-btn::after {
  display: none !important;
}

.nav-quote-btn:hover {
  background: var(--bg-black) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.nav-quote-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  flex-shrink: 0;
}

.quote-badge {
  background: rgba(255,255,255,0.25);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
}

/* Hamburger Toggle — with animated X morph */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
  width: 36px;
  height: 36px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease,
              background 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X animation when menu is open */
.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header.scrolled .hamburger-line,
.header.inner-header .hamburger-line {
  background: var(--bg-black);
}

/* Legacy compat */
.header-top { display: none; }
.header-bottom { display: contents; }

/* ==========================================================================
   HERO SECTION - COMPACT & PREMIUM
   ========================================================================== */
.hero {
  position: relative;
  height: 75vh;
  min-height: 550px;
  background-color: var(--bg-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transform-origin: center center;
  animation: cinematicPan 40s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(6, 8, 12, 0.2) 0%, rgba(6, 8, 12, 0.5) 50%, rgba(6, 8, 12, 0.92) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1200px;
  padding: 0 1.5rem;
  width: 100%;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: 0;
  text-shadow: 0 5px 15px rgba(0,0,0,0.6), 0 2px 5px rgba(0,0,0,0.8);
  animation: titleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title-accent {
  color: #e8941a; /* Golden/light orange to match the image */
}

@keyframes titleReveal {
  0% { opacity: 0; transform: translateY(30px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shine {
  to { background-position: 200% center; }
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

/* Creative Glassmorphism Search Bar - Sharp & Premium */
.hero-search-wrapper {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  animation: fadeInUp 1s ease-out 0.4s both;
  position: relative;
  border: 2px solid var(--accent-orange);
}

.hero-search-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1.5rem;
  color: white;
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-search-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
}

.hero-search-btn {
  background: var(--accent-orange);
  color: white;
  border: none;
  height: 52px;
  padding: 0 2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-search-btn:hover {
  background: var(--accent-orange);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(232, 148, 26, 0.3);
}

/* Search Dropdown — positioned BELOW search bar */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.1);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 150;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.1);
  max-height: 350px;
  overflow-y: auto;
}

.search-dropdown.active {
  display: flex;
  animation: fadeInUp 0.2s ease-out;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 1.25rem;
  background: transparent;
  border-radius: 8px;
  margin: 0 0.25rem;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(4px);
}

.search-result-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 6px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}

.search-result-info h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
  font-weight: 800;
}

.search-result-info p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ==========================================================================
   CATALOG LAYOUT
   ========================================================================== */
.catalog-wrapper {
  padding: 2.5rem 0 2rem;
  background-color: #f8fafc;
  position: relative;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
}

/* Sidebar */
.sidebar {
  background-color: transparent;
  align-self: start;
  position: sticky;
  top: 140px;
  transition: all var(--transition-normal);
}

.sidebar-title {
  padding: 0 0 1.25rem 0.5rem;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background-color: white;
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.02);
  border-left: 4px solid transparent;
}

.category-list a::after {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
  font-weight: 800;
}

.category-list a:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border-left-color: #cbd5e1;
}

.category-list a.active {
  background-color: var(--bg-black);
  color: white;
  border-left-color: var(--accent-orange);
  box-shadow: 0 10px 25px rgba(15, 17, 21, 0.2);
}

.category-list a.active::after {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-orange);
}

/* Mobile Category Dropdown (hidden on desktop) */
.mobile-category-select {
  display: none;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: white;
  color: var(--bg-black);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.mobile-category-select:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(232, 148, 26, 0.15);
  outline: none;
}

/* Home Category Grid */
.home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  perspective: 1200px;
}

.home-category-card {
  background: white;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1), background-position 0s, border-color 0.4s ease;
  position: relative;
  min-width: 0;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ── UNIFIED PREMIUM CARD DNA ── */
/* All cards share: bottom accent bar, refined lift, spotlight glow */
.home-category-card, .product-card, .feature-card, .gallery-card, .testimonial-card, .catalog-card {
  transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

/* Shared hover — premium ambient glow (no transform here — JS handles tilt) */
.home-category-card:hover, .product-card:hover, .feature-card:hover,
.gallery-card:hover, .testimonial-card:hover, .catalog-card:hover {
  box-shadow:
    0 20px 50px -12px rgba(0,0,0,0.12),
    0 0 0 1px rgba(232, 148, 26, 0.18),
    0 8px 24px -4px rgba(232, 148, 26, 0.08);
  border-color: rgba(232, 148, 26, 0.15);
  z-index: 10;
}

/* ── ACCENT BAR — bottom reveal on hover (::after) ── */
.home-category-card::after, .product-card::after,
.catalog-card::after, .feature-card::after, .gallery-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), #f5a623, var(--accent-orange));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
  border-radius: 0 0 inherit inherit;
}

.home-category-card:hover::after, .product-card:hover::after,
.catalog-card:hover::after, .feature-card:hover::after, .gallery-card:hover::after {
  transform: scaleX(1);
}

/* ── SPOTLIGHT — cursor-following glow via JS custom properties (::before) ── */
.home-category-card::before, .product-card::before,
.catalog-card::before, .feature-card::before, .gallery-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(
    300px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(232, 148, 26, 0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

.home-category-card.has-spotlight::before, .product-card.has-spotlight::before,
.catalog-card.has-spotlight::before, .feature-card.has-spotlight::before,
.gallery-card.has-spotlight::before {
  opacity: 1;
}

.product-card {
  background-color: white;
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Spotlight now handled by ::before with CSS custom properties (above) */

/* Image area */
.home-category-card .card-img-wrap {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff4f8 100%);
  position: relative;
  border-radius: 4px 4px 0 0;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

/* Premium inner glow effect on hover */
.home-category-card .card-img-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(232, 148, 26,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.home-category-card:hover .card-img-wrap::after {
  opacity: 1;
}

.home-category-card .card-img-wrap img {
  max-width: 80%;
  max-height: 130px;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.6s ease;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.05));
  position: relative;
  z-index: 10;
  /* CRITICAL: Hard caps prevent any scaling from exceeding container */
  width: auto;
  height: auto;
}

.home-category-card:hover .card-img-wrap img {
  transform: scale(1.05) translateY(-4px) rotate(-0.5deg);
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

/* Card body */
.home-category-card .card-info {
  width: 100%;
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex-grow: 1;
}

.home-category-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bg-black);
  margin: 0;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.home-category-card .card-count {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-category-card .card-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.55rem;
  margin-top: auto;
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 38px;
}

.home-category-card:hover .card-view-btn {
  background: var(--accent-orange);
  color: white;
  border-color: var(--accent-orange);
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(232, 148, 26, 0.25);
}

/* Staggered entrance */
@keyframes categorySlideIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.catalog-main h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--bg-black);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  letter-spacing: -1px;
}

.catalog-main h1::before {
  content: '';
  display: block;
  width: 12px;
  height: 40px;
  background: var(--accent-orange);
  border-radius: 4px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
  align-content: start;
  padding: 0.5rem;
  margin: -0.5rem;
}

/* Premium Custom Scrollbar */
.product-grid::-webkit-scrollbar {
  width: 6px;
}
.product-grid::-webkit-scrollbar-track {
  background: transparent;
}
.product-grid::-webkit-scrollbar-thumb {
  background-color: var(--accent-orange);
  border-radius: 10px;
}

/* Unified hover handled above */

.product-image-container {
  height: 180px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: radial-gradient(circle at top right, #fff5ec 0%, #f1f5f9 100%);
  border-radius: 12px;
  position: relative;
  overflow: hidden; /* FIXED: was 'visible' — images were escaping container */
}

.product-image-container img {
  max-width: 90%;
  max-height: 100%; /* FIXED: was '110%' — images exceeded container by 10% */
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.6s ease;
  filter: drop-shadow(0 15px 20px rgba(0,0,0,0.1));
  z-index: 10;
}

.product-card:hover .product-image-container img {
  transform: scale(1.05) translateY(-4px) rotate(-0.5deg);
  filter: drop-shadow(0 25px 35px rgba(0,0,0,0.2));
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bg-black);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.card-pricing {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border-light);
}

.price-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.price-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}

.price-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-orange);
}

.btn-card {
  background: transparent;
  color: var(--bg-black);
  border: 2px solid var(--border-light);
  padding: 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 12px;
  transition: all 0.4s;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-card::after {
  content: '→';
  transition: transform 0.3s;
}

.product-card:hover .btn-card {
  background: var(--bg-black);
  color: white;
  border-color: var(--bg-black);
  box-shadow: 0 10px 20px rgba(15, 17, 21, 0.2);
}

.product-card:hover .btn-card::after {
  transform: translateX(6px);
  color: var(--accent-orange);
}

/* ==========================================================================
   GLOBAL BUTTONS
   ========================================================================== */
.btn-orange-large {
  background: var(--accent-orange);
  color: white;
  border: none;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  box-shadow: var(--shadow-orange);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-orange-large:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(232, 148, 26, 0.35), 0 4px 12px rgba(0,0,0,0.1);
}

.btn-orange-large:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

/* ==========================================================================
   FEATURES SECTION (Why Choose Us)
   ========================================================================== */
.features-section {
  background-color: var(--bg-primary);
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-light);
}

.features-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.features-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bg-black);
  letter-spacing: -1px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.features-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* Unified hover handled above */

.feature-icon-wrapper {
  color: var(--accent-orange);
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.15) translateY(-4px);
}

/* Advanced SVG Animations */
.icon-inventory svg {
  animation: pulseBriefcase 3.5s ease-in-out infinite;
}

@keyframes pulseBriefcase {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.icon-service svg {
  animation: spinGear 12s linear infinite;
  transform-origin: center;
}

@keyframes spinGear {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.icon-location svg {
  animation: floatPin 3s ease-in-out infinite;
}

@keyframes floatPin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.feature-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bg-black);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  /* === NAVIGATION COLLAPSE === */
  .nav-container { height: 60px; padding: 0 1.25rem; width: 95%; }
  .header.scrolled .nav-container,
  .header.inner-header .nav-container { height: 54px; }
  .header-logo { height: 50px; transform: none; }
  .header.scrolled .header-logo,
  .header.inner-header .header-logo { height: 42px; }

  .mobile-toggle { display: flex; z-index: 2000; position: relative; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(11, 17, 32, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: translateY(-15px);
    z-index: 1000;
    display: flex;
  }

  .nav-links.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    color: rgba(255,255,255,0.8) !important;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    text-align: center;
    width: auto;
    border-radius: 12px;
  }

  .nav-links a::after { display: none; }
  .nav-links a:hover { color: white !important; background: rgba(255,255,255,0.08); }
  .nav-links a.active {
    background: transparent !important;
    color: var(--accent-orange) !important;
    font-size: 1.35rem;
    font-weight: 800;
    padding: 0.6rem 1.5rem;
  }

  .nav-quote-btn {
    margin-left: 0 !important;
    margin-top: 0.75rem;
    padding: 0.85rem 2rem !important;
    border-radius: 50px;
    font-size: 1.05rem !important;
  }

  /* === LAYOUT ADJUSTMENTS === */
  .home-category-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .home-category-card .card-img-wrap { height: 170px; }
  .home-category-card .card-img-wrap img { max-height: 130px; }
  .home-category-card .card-info { padding: 0.85rem 1rem 1rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 220px 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .hero { min-height: 400px; max-height: 650px; }
  .hero-title { font-size: clamp(1.8rem, 4vw, 3rem); }
  .testimonials-title { font-size: 2rem; }
  .testimonials-subtitle { font-size: 1rem; }
  .testimonial-card { width: 420px; }
  .testimonial-image-wrapper { width: 140px; }
  .testimonial-content { padding: 1.5rem; }
  .testimonial-text { font-size: 0.85rem; }
}

/* ==========================================================================
   TESTIMONIALS SECTION (Modern Marquee)
   ========================================================================== */
.testimonials-section {
  background-color: #f1f5f9;
  padding: 4.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--bg-black);
  letter-spacing: -1.5px;
  margin-bottom: 0.75rem;
}

.testimonials-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Edge-to-edge Marquee Wrapper */
.testimonials-marquee-wrapper {
  display: flex;
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 2rem 0 4rem;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 0.75rem;
  animation: marqueeScroll 45s linear infinite;
  min-width: max-content;
}

.testimonials-marquee-wrapper:hover .testimonials-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 1.5rem)); }
}

.testimonial-card {
  background: white;
  border-radius: 18px;
  width: 480px;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  padding: 0;
  position: relative;
  will-change: transform;
}

/* Premium glow strip on hover */
.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), #ff8c42, var(--accent-orange));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
}

.testimonial-card:hover::after {
  transform: scaleX(1);
  animation: shimmerBar 2s linear infinite;
}

@keyframes shimmerBar {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Unified hover handled above */

.testimonial-image-wrapper {
  width: 180px;
  flex-shrink: 0;
  position: relative;
  background: var(--bg-black);
}

.author-img-large {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-content {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.testimonial-stars {
  color: var(--accent-orange);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-weight: 500;
  flex-grow: 1;
}

.author-info {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.author-info h4 {
  color: var(--bg-black);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.author-info p {
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}

/* ==========================================================================
   FOOTER - PREMIUM MULTI-COLUMN
   ========================================================================== */
.footer {
  background-color: var(--bg-black);
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem;
  border-top: 3px solid var(--accent-orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 20px rgba(232, 148, 26, 0.15));
  transition: filter 0.4s ease, transform 0.4s ease;
}

.footer-logo:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 25px rgba(232, 148, 26, 0.25));
}

.footer-socials .social-icon {
  width: 36px; height: 36px; font-size: 16px;
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: #94a3b8;
}

.footer-col a:hover {
  color: var(--accent-orange);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   ANIMATIONS & UTILS
   ========================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cinematicPan {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.03) translate(-0.5%, 0.5%); }
  100% { transform: scale(1.05) translate(0.5%, -0.5%); }
}

@keyframes lightSweepOnce {
  0% { left: -100%; }
  100% { left: 150%; }
}
/* ==========================================================================
   PREMIUM REVEAL SYSTEM — Cinematic GPU-safe Scroll Animations
   Advanced easing, clip-path masks, creative transforms. Pure GPU layers.
   ========================================================================== */

/* Base reveal — elegant rise with deceleration */
.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* Slide from left — wider sweep */
.reveal-left {
  opacity: 0;
  transform: translate3d(-50px, 10px, 0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Slide from right — wider sweep */
.reveal-right {
  opacity: 0;
  transform: translate3d(50px, 10px, 0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Scale up — cinematic zoom */
.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Soft fade — gentle drift */
.reveal-blur {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.98);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Subtle rotation — dramatic entrance */
.reveal-rotate {
  opacity: 0;
  transform: translate3d(0, 30px, 0) rotate(2deg) scale(0.97);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Clip reveal — curtain wipe from bottom */
.reveal-clip {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transform: translate3d(0, 0, 0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, clip-path;
}

/* Flip reveal — perspective entrance */
.reveal-flip {
  opacity: 0;
  transform: perspective(1200px) rotateX(8deg) translateY(30px);
  transform-origin: bottom center;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* All variants → active */
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active,
.reveal-blur.active,
.reveal-rotate.active,
.reveal-flip.active {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  will-change: auto;
}

.reveal-clip.active {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  will-change: auto;
}

/* Stagger delays — wider gaps for cinematic cascade */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.4s; }
.stagger-6 { transition-delay: 0.48s; }
.stagger-7 { transition-delay: 0.56s; }
.stagger-8 { transition-delay: 0.64s; }

/* Premium nav link hover — animated underline slide */
.nav-links a:not(.nav-quote-btn) {
  position: relative;
}

.nav-links a:not(.nav-quote-btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1px;
}

.nav-links a:not(.nav-quote-btn):hover::after,
.nav-links a:not(.nav-quote-btn).active::after {
  width: 100%;
  left: 0;
}

/* Button hover/active handled in GLOBAL BUTTONS above */

/* Smooth image loading — fade in when loaded */
img {
  transition: opacity 0.4s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([data-src]) {
  opacity: 1;
}

/* Button ripple effect container */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to { transform: scale(4); opacity: 0; }
}

/* Premium Tactile Click Animation for Buttons */
button:active, .btn-orange-large:active, .btn-card:active, .card-view-btn:active, .hero-search-btn:active, .nav-quote-btn:active {
  transform: translateY(2px) scale(0.96) !important;
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

/* Global button hover glow for orange buttons */
.btn-orange-large {
  position: relative;
  overflow: hidden;
}

.btn-orange-large::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  pointer-events: none;
}

.btn-orange-large:hover::before {
  width: 300px;
  height: 300px;
}

/* Smooth focus rings for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Counter animation for prices */
.price-val {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.product-card:hover .price-val {
  transform: scale(1.08);
}

/* Floating particles for hero */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(232, 148, 26,0.2);
  pointer-events: none;
  z-index: 5;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */


@media (max-width: 768px) {
  /* === MOBILE HEADER SIZE REFINEMENTS === */
  .header { padding-top: 8px; }
  .nav-container { height: 52px; width: 93%; padding: 0 0.85rem; border-radius: 100px; }
  .header.scrolled .nav-container,
  .header.inner-header .nav-container { height: 48px; }
  .header-logo { height: 40px; }
  .header.scrolled .header-logo,
  .header.inner-header .header-logo { height: 36px; }
  
  .hero {
    height: auto;
    min-height: 440px;
    max-height: none;
    padding-top: calc(var(--header-height) + 10px);
    padding-bottom: 2rem;
    overflow: hidden;
  }
  .hero-title { 
    font-size: clamp(1.6rem, 5.5vw, 2.2rem); 
    line-height: 1.3;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
  }
  .hero-subtitle { font-size: 0.88rem; margin-bottom: 1.5rem; }
  .hero-content { padding: 0 0.75rem; max-width: 100%; }
  
  /* Touch-Optimized Floating Search Bar */
  .hero-search-wrapper {
    flex-direction: column;
    border-radius: 14px;
    padding: 0.5rem;
    border: 1.5px solid rgba(255,255,255,0.15);
    border-left: 3px solid var(--accent-orange);
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 20;
  }
  .hero-search-input {
    width: 100%;
    text-align: center;
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    margin-bottom: 0.4rem;
  }
  .hero-search-btn {
    width: 100%;
    border-radius: 10px;
    height: 44px;
    font-size: 0.8rem;
  }
  
  
  /* Catalog */
  .catalog-wrapper { padding: 2rem 0; }
  .catalog-layout { grid-template-columns: 1fr; }
  
  /* ===== PREMIUM MOBILE CATEGORY CARDS ===== */
  .home-category-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.75rem;
    perspective: none;
  }
  .home-category-card { 
    border-radius: 14px; 
    border-bottom-width: 2px;
    -webkit-tap-highlight-color: transparent;
  }
  /* Disable animated borders on mobile for performance */
  .home-category-card::before,
  .product-card::before { display: none; }
  
  /* Touch-active effect instead of hover */
  .home-category-card:active {
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-bottom-color: var(--accent-orange);
    transition: transform 0.15s ease;
  }
  .home-category-card:hover { transform: none; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
  .home-category-card .card-img-wrap { height: 120px; padding: 0.6rem; border-radius: 12px 12px 0 0; }
  .home-category-card .card-img-wrap img { max-height: 90px; }
  .home-category-card:hover .card-img-wrap img { transform: none; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.05)); }
  .home-category-card .card-info { padding: 0.6rem 0.75rem 0.75rem; gap: 0.3rem; }
  .home-category-card h3 { font-size: 0.75rem; line-height: 1.25; }
  .home-category-card .card-count { font-size: 0.58rem; }
  .home-category-card .card-view-btn { 
    padding: 0.45rem; font-size: 0.6rem; border-radius: 6px;
    min-height: 34px;
    background: var(--accent-orange); color: white; border-color: var(--accent-orange);
  }
  .home-category-card:hover .card-view-btn { transform: none; }

  /* ===== SIDEBAR ===== */
  .sidebar { position: static; margin-bottom: 0.75rem; max-height: none; overflow: visible; }
  .sidebar-title { display: none; }
  .category-list { display: none !important; }
  .mobile-category-select { display: block; }
  
  /* ===== PREMIUM MOBILE PRODUCT CARDS ===== */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-height: none;
    min-height: auto;
    overflow-y: visible;
    padding: 0;
    margin: 0;
  }
  .product-card { 
    border-radius: 14px; padding: 0.75rem; 
    -webkit-tap-highlight-color: transparent;
  }
  .product-card:hover { transform: none; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
  .product-card:active { 
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(232, 148, 26, 0.1);
    transition: transform 0.15s ease;
  }
  .product-card h3 { font-size: 0.78rem; line-height: 1.3; margin-bottom: 0.3rem; }
  .product-image-container { height: 100px; margin-bottom: 0.6rem; border-radius: 10px; }
  .product-image-container img { max-height: 100%; }
  .product-card:hover .product-image-container img { transform: none; filter: drop-shadow(0 15px 20px rgba(0,0,0,0.1)); }
  .card-pricing { gap: 0.25rem; margin-bottom: 0.6rem; }
  .price-row { padding-bottom: 0.3rem; }
  .price-label { font-size: 0.58rem; letter-spacing: 0.5px; }
  .price-val { font-size: 0.85rem; }
  .product-card:hover .price-val { transform: none; }
  .btn-card { 
    padding: 0.5rem; font-size: 0.68rem; border-radius: 8px; letter-spacing: 0;
    min-height: 40px; /* Touch-friendly */
    background: var(--bg-black); color: white; border-color: var(--bg-black);
  }
  .btn-card::after { display: none; }
  .card-specs { display: none !important; }
  .catalog-main h1 { margin-bottom: 1rem; }
  .catalog-main h1::before { width: 8px; height: 28px; }
  
  /* ===== FEATURES - MOBILE CARD STYLE ===== */
  .features-section { padding: 2.5rem 0; }
  .features-header { margin-bottom: 1.5rem; }
  .features-title { font-size: 1.4rem; margin-bottom: 0.5rem; }
  .features-subtitle { font-size: 0.85rem; }
  .features-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .feature-card { 
    padding: 1.25rem 1.15rem; 
    border-radius: 14px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "icon title" "icon text";
    align-items: center;
    text-align: left;
    column-gap: 1rem;
    row-gap: 0.2rem;
    -webkit-tap-highlight-color: transparent;
  }
  .feature-card::before { display: none; }
  .feature-icon-wrapper { margin-bottom: 0; flex-shrink: 0; grid-area: icon; align-self: center; }
  .feature-icon-wrapper svg { width: 30px; height: 30px; }
  .feature-card-title { font-size: 0.9rem; margin-bottom: 0; grid-area: title; align-self: end; }
  .feature-card-text { font-size: 0.78rem; line-height: 1.45; grid-area: text; align-self: start; }
  .feature-card:hover { transform: none; box-shadow: 0 4px 15px rgba(0,0,0,0.06); }
  .feature-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(232, 148, 26, 0.1);
    border-color: rgba(232, 148, 26, 0.2);
    transition: transform 0.15s ease;
  }
  
  /* ===== TESTIMONIALS - MOBILE SCROLL ===== */
  .testimonials-section { padding: 2rem 0; }
  .testimonials-header { margin-bottom: 1.5rem; }
  .testimonials-title { font-size: 1.4rem; margin-bottom: 0.5rem; }
  .testimonials-subtitle { font-size: 0.85rem; padding: 0 1rem; }
  .testimonials-marquee-wrapper { padding: 0.5rem 0 1.5rem; }
  .testimonial-card {
    width: 260px;
    flex-direction: column;
    border-radius: 14px;
    -webkit-tap-highlight-color: transparent;
  }
  .testimonial-card::after { display: none; }
  .testimonial-image-wrapper {
    width: 100%;
    height: 130px;
  }
  .testimonial-content { padding: 1rem; }
  .testimonial-stars { font-size: 0.9rem; margin-bottom: 0.5rem; letter-spacing: 1px; }
  .testimonial-text { font-size: 0.78rem; line-height: 1.55; margin-bottom: 0.75rem; }
  .author-info { padding-top: 0.65rem; }
  .author-info h4 { font-size: 0.85rem; }
  .author-info p { font-size: 0.68rem; }
  .testimonials-track { gap: 0.75rem; }
  .testimonial-card:hover { transform: none; }
  
  /* ===== FOOTER - MOBILE ===== */
  .footer { padding: 2rem 0 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.25rem; }
  .footer-logo { max-width: 120px; margin-bottom: 0.5rem; }
  .footer-brand h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
  .footer-brand p { font-size: 0.82rem; margin-bottom: 0.75rem; }
  .footer-col h4 { margin-bottom: 0.5rem; font-size: 0.88rem; }
  .footer-col ul li { margin-bottom: 0.4rem; }
  .footer-col a { font-size: 0.82rem; min-height: 40px; display: inline-flex; align-items: center; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    padding-top: 1rem;
  }
  
  /* ===== MOBILE PERFORMANCE ===== */
  /* Reduce animation complexity on mobile */
  .reveal { 
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal-left, .reveal-right { transform: translate3d(0, 20px, 0); }
  .reveal-clip { clip-path: inset(60% 0 0 0); }
  .reveal-flip { transform: translateY(20px); }
  .hero-bg { animation-duration: 60s; } /* Slower = less GPU load */
  .icon-inventory svg { animation: none; }
  .icon-service svg { animation: none; }
  .icon-location svg { animation: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.85rem; }
  
  .hero-title { font-size: 1.35rem; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 0.8rem; margin-bottom: 1.25rem; }
  
  .home-category-grid { gap: 0.5rem; }
  .home-category-card .card-img-wrap { height: 100px; padding: 0.5rem; }
  .home-category-card .card-img-wrap img { max-height: 75px; }
  .home-category-card .card-info { padding: 0.5rem 0.6rem; gap: 0.25rem; }
  .home-category-card h3 { font-size: 0.7rem; }
  .home-category-card .card-count { font-size: 0.55rem; }
  .home-category-card .card-view-btn { padding: 0.35rem; font-size: 0.55rem; min-height: 30px; }
  
  .product-card { padding: 0.6rem; }
  .product-image-container { height: 85px; }
  .product-card h3 { font-size: 0.7rem; }
  
  .features-grid { grid-template-columns: 1fr; }
  .testimonial-card { width: 230px; }
  .testimonial-image-wrapper { height: 110px; }
  
  /* Extra small: stack footer in 2-col grid */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 8px 32px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: whatsappPulse 2.5s ease-in-out infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5), 0 12px 40px rgba(0,0,0,0.2);
  animation: none;
}

.whatsapp-float:active {
  transform: scale(0.95) !important;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 8px 32px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 8px 32px rgba(0,0,0,0.15), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

/* ==========================================================================
   SOCIAL ICON BUTTONS
   ========================================================================== */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: white;
  transform: translateY(-2px);
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-left: 4px solid #22c55e;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  max-width: 400px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  flex-shrink: 0;
  color: #22c55e;
}

@media (max-width: 768px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }
  .toast {
    max-width: 100%;
    font-size: 0.8rem;
    padding: 0.75rem 1rem;
  }
}

/* ==========================================================================
   SHARED FORM STYLES (centralized from page-level styles)
   ========================================================================== */
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  background: #f8fafc;
  color: var(--bg-black);
  font-family: var(--font-main);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-input::placeholder,
.form-textarea::placeholder { color: #94a3b8; }
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-orange);
  background: white;
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 148, 26, 0.1);
}

/* Utility: Section header with ghost text */
.section-header-centered {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}
.bg-ghost-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -45px;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: rgba(0,0,0,0.03);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.accent-bar {
  margin: 0 auto 1.5rem;
  width: 60px;
  height: 4px;
  background: var(--accent-orange);
  border-radius: 2px;
}

/* noscript fallback */
noscript .page-noscript-show { opacity: 1 !important; }


/* ==========================================================================
   FORM VALIDATION STYLES
   ========================================================================== */
.form-input:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

.form-input:valid:not(:placeholder-shown),
.form-textarea:valid:not(:placeholder-shown) {
  border-color: #22c55e;
}

/* Disabled button state */
.btn-orange-large:disabled,
.btn-orange-large[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  filter: grayscale(0.3);
}

/* ==========================================================================
   EMPTY STATE COMPONENT
   ========================================================================== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.empty-state-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--text-secondary);
}

.empty-state h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}
