/* ========================================
   GLOBAL CONSOMMABLES SERVICES
   Shared Stylesheet v2.0
   ======================================== */

/* --- CSS Variables --- */
:root {
  --gcs-primary: #219a38;
  --gcs-primary-dark: #1a7d2c;
  --gcs-primary-light: #e8f5e9;
  --gcs-secondary: #fedf08;
  --gcs-yellow: #d4bb07;
  --gcs-dark: #0a0a0a;
  --gcs-light: #ffffff;
  --gcs-gray: #f8fafc;
  --gcs-gray-100: #f1f5f9;
  --gcs-gray-200: #e2e8f0;
  --gcs-gray-600: #475569;
  --gcs-radius: 0.75rem;
  --gcs-radius-lg: 1rem;
  --gcs-radius-xl: 1.5rem;
  --gcs-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --gcs-shadow-md: 0 4px 12px rgba(0,0,0,0.07);
  --gcs-shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
  --gcs-shadow-xl: 0 20px 40px rgba(0,0,0,0.1);
  --gcs-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--gcs-gray);
  color: var(--gcs-dark);
  margin: 0;
  padding-bottom: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* --- CLS Prevention: Lucide icon placeholders --- */
[data-lucide] {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  flex-shrink: 0;
}
.mobile-nav [data-lucide] { width: 1.25rem; height: 1.25rem; }
.service-card [data-lucide] { width: 1.75rem; height: 1.75rem; }
.header-nav [data-lucide] { width: 1rem; height: 1rem; }

/* --- Preloader --- */
#preloader {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, var(--gcs-primary-dark), var(--gcs-primary), var(--gcs-secondary));
  background-size: 300% 300%;
  animation: preloader-bg 4s ease infinite;
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
#preloader img { width: 100px; animation: preloader-pulse 2s ease-in-out infinite; }
@keyframes preloader-bg { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes preloader-pulse { 0%,100%{transform:scale(1);opacity:0.9} 50%{transform:scale(1.08);opacity:1} }

/* --- Desktop Header --- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 50; transition: all var(--gcs-transition);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--gcs-gray-200); box-shadow: var(--gcs-shadow); }
.header-nav {
  max-width: 80rem; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 4.5rem;
}
.header-logo img { height: 2.25rem; width: auto; }
.header-links { display: flex; align-items: center; gap: 2rem; font-size: 0.875rem; font-weight: 600; }
.header-links a { transition: color var(--gcs-transition); }
.header-links a:hover, .header-links a.active { color: var(--gcs-primary); }

/* --- Dropdown / Mega Menu --- */
.dropdown { position: relative; }
.dropdown-trigger {
  display: flex; align-items: center; gap: 0.25rem;
  padding: 1.5rem 0; cursor: pointer;
  background: none; border: none; font: inherit; font-weight: 600; font-size: 0.875rem;
  color: inherit; transition: color var(--gcs-transition);
}
.dropdown-trigger:hover { color: var(--gcs-primary); }
.dropdown-trigger svg { width: 1rem; height: 1rem; transition: transform var(--gcs-transition); }
.dropdown:hover .dropdown-trigger svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--gcs-light); border: 1px solid var(--gcs-gray-200);
  border-radius: var(--gcs-radius-lg); box-shadow: var(--gcs-shadow-xl);
  padding: 0.5rem; min-width: 200px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all 0.2s ease;
}
.dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 0.5rem 0.75rem; border-radius: 0.5rem;
  font-size: 0.875rem; color: var(--gcs-gray-600);
  transition: all var(--gcs-transition);
}
.dropdown-menu a:hover { color: var(--gcs-primary); background: var(--gcs-primary-light); }

/* Mega menu (catalogue) */
.mega-menu-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  width: 560px; background: var(--gcs-light);
  border: 1px solid var(--gcs-gray-200); border-radius: var(--gcs-radius-lg);
  box-shadow: var(--gcs-shadow-xl); padding: 1.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all 0.2s ease;
}
.dropdown:hover .mega-menu-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-menu-panel::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--gcs-light);
  border-top: 1px solid var(--gcs-gray-200); border-left: 1px solid var(--gcs-gray-200);
}
.mega-col h4 {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; padding-bottom: 0.5rem;
  margin-bottom: 0.5rem; border-bottom: 1px solid var(--gcs-gray-200);
  display: flex; align-items: center; gap: 0.5rem;
}
.mega-col a {
  display: block; padding: 0.35rem 0.5rem; border-radius: 0.375rem;
  font-size: 0.8rem; color: var(--gcs-gray-600);
  transition: all var(--gcs-transition);
}
.mega-col a:hover { color: var(--gcs-primary); background: var(--gcs-primary-light); transform: translateX(2px); }

/* --- Mobile Header --- */
.mobile-header {
  position: fixed; top: 0; width: 100%; height: 3.5rem;
  background: var(--gcs-light); z-index: 40;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--gcs-gray-200);
}
.mobile-header img { height: 1.75rem; }

/* --- Mobile Bottom Nav --- */
.mobile-nav {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: var(--gcs-light); z-index: 50;
  display: flex; justify-content: space-around; align-items: center;
  height: 4rem; border-top: 1px solid var(--gcs-gray-200);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-nav a, .mobile-nav button {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; flex: 1; height: 100%;
  color: #94a3b8; font-size: 0.625rem; font-weight: 500;
  background: none; border: none; cursor: pointer;
  transition: color var(--gcs-transition);
}
.mobile-nav a.active, .mobile-nav button.active { color: var(--gcs-primary); }
.mobile-nav a:hover, .mobile-nav button:hover { color: var(--gcs-primary); }
.mobile-nav svg { width: 1.25rem; height: 1.25rem; margin-bottom: 0.125rem; }
.mobile-nav-center {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; position: relative;
}
.mobile-nav-center-btn {
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: var(--gcs-secondary); color: var(--gcs-dark);
  display: flex; align-items: center; justify-content: center;
  margin-top: -1.5rem; border: 3px solid var(--gcs-gray);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  cursor: pointer; transition: transform var(--gcs-transition);
}
.mobile-nav-center-btn:hover { transform: scale(1.05); }
.mobile-nav-center-btn svg { width: 1.25rem; height: 1.25rem; }

/* --- Mobile Bottom Sheet (Catalogue / Filiales) --- */
.bottom-sheet-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  z-index: 60; opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.bottom-sheet-overlay.active { opacity: 1; visibility: visible; }
.bottom-sheet {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--gcs-light);
  border-radius: var(--gcs-radius-xl) var(--gcs-radius-xl) 0 0;
  padding: 1.5rem; max-height: 80vh; overflow-y: auto;
  z-index: 61; transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.bottom-sheet-overlay.active .bottom-sheet { transform: translateY(0); }
.bottom-sheet-handle {
  width: 2.5rem; height: 0.25rem; background: var(--gcs-gray-200);
  border-radius: 9999px; margin: 0 auto 1rem;
}
.bottom-sheet-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.25rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gcs-gray-200);
}
.bottom-sheet-header h3 { font-size: 1.125rem; font-weight: 700; }
.bottom-sheet-close {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--gcs-gray-100); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gcs-gray-600);
}
.bottom-sheet-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.625rem;
}
.bottom-sheet-chip {
  display: block; text-align: center; padding: 0.625rem 0.375rem;
  border-radius: 0.625rem; font-size: 0.75rem; font-weight: 600;
  transition: all var(--gcs-transition);
}

/* --- Hero Section --- */
.hero {
  position: relative; overflow: hidden;
  padding: 5rem 1rem 4rem;
  color: var(--gcs-light); text-align: center;
  background: linear-gradient(135deg, var(--gcs-primary-dark), var(--gcs-primary), var(--gcs-yellow));
  background-size: 300% 300%;
  animation: preloader-bg 20s ease infinite;
}
@media (min-width: 1024px) { .hero { padding: 7rem 1rem 6rem; } }
.hero canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.15;
}
.hero-content { position: relative; z-index: 2; max-width: 64rem; margin: 0 auto; }
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 900; text-transform: uppercase;
  line-height: 1.15; margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.125rem);
  opacity: 0.9; margin-bottom: 2.5rem; font-weight: 300;
  letter-spacing: 0.05em;
}
.typing-cursor {
  border-right: 3px solid var(--gcs-secondary);
  padding-right: 4px; display: inline-block;
  animation: blink-caret 0.7s step-end infinite;
}
@keyframes blink-caret { 0%,100%{border-color:transparent} 50%{border-color:var(--gcs-secondary)} }

/* --- Page Banner (Subpages) --- */
.page-banner {
  position: relative; height: 14rem; display: flex;
  align-items: center; justify-content: center;
  overflow: hidden;
}
@media (min-width: 1024px) { .page-banner { height: 18rem; } }
.page-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.35;
}
.page-banner .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(33,154,56,0.85), rgba(26,125,44,0.9));
}
.page-banner h1 {
  position: relative; z-index: 2; color: var(--gcs-light);
  font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.page-banner.dark .overlay {
  background: linear-gradient(135deg, rgba(15,23,42,0.85), rgba(30,41,59,0.9));
}

/* --- Section Styles --- */
.section { padding: 4rem 1rem; }
@media (min-width: 1024px) { .section { padding: 5rem 1.5rem; } }
.section-inner { max-width: 80rem; margin: 0 auto; }
.section-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800; text-align: center;
  margin-bottom: 2.5rem; color: var(--gcs-dark);
}

/* --- Cards --- */
.card {
  background: var(--gcs-light);
  border: 1px solid var(--gcs-gray-200);
  border-radius: var(--gcs-radius-lg);
  overflow: hidden; transition: all var(--gcs-transition);
}
.card:hover {
  box-shadow: var(--gcs-shadow-lg);
  transform: translateY(-3px);
}
.glass-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--gcs-radius-lg);
  box-shadow: var(--gcs-shadow-md);
}

/* Product Card */
.product-card {
  background: var(--gcs-light);
  border: 1px solid var(--gcs-gray-200);
  border-radius: var(--gcs-radius-lg);
  padding: 1rem; display: flex; flex-direction: column;
  height: 100%; transition: all var(--gcs-transition);
}
.product-card:hover { box-shadow: var(--gcs-shadow-lg); transform: translateY(-4px); }
.product-card-img {
  height: 8rem; display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem; overflow: hidden;
}
.product-card-img img {
  max-height: 100%; max-width: 100%; object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-placeholder {
  height: 8rem; display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem; border-radius: 0.5rem;
  background: var(--gcs-primary-light);
}
.product-card-placeholder svg { width: 2.5rem; height: 2.5rem; color: var(--gcs-primary); opacity: 0.5; }
.product-card-cat {
  font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
  color: #94a3b8; margin-bottom: 0.25rem; letter-spacing: 0.04em;
}
.product-card h3 {
  font-size: 0.8125rem; font-weight: 700; margin-bottom: 0.5rem;
  line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-brand { font-size: 0.6875rem; color: #94a3b8; margin-bottom: 0.75rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.625rem 1.25rem;
  border-radius: 9999px; font-size: 0.8125rem; font-weight: 700;
  transition: all var(--gcs-transition); border: none; cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--gcs-primary); color: var(--gcs-light); }
.btn-primary:hover { background: var(--gcs-primary-dark); transform: translateY(-1px); box-shadow: var(--gcs-shadow-md); }
.btn-secondary { background: var(--gcs-secondary); color: var(--gcs-dark); }
.btn-secondary:hover { background: var(--gcs-yellow); transform: translateY(-1px); box-shadow: var(--gcs-shadow-md); }
.btn-outline {
  background: transparent; border: 2px solid currentColor;
}
.btn-outline:hover { background: var(--gcs-light); color: var(--gcs-primary); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.75rem; }
.btn-block { width: 100%; }

/* --- Horizontal Scroll (Mobile Products) --- */
.hscroll {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  gap: 0.875rem; padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { min-width: 75vw; scroll-snap-align: center; flex-shrink: 0; }
@media (min-width: 640px) { .hscroll > * { min-width: 280px; } }
@media (min-width: 1024px) {
  .hscroll { display: grid; grid-template-columns: repeat(4, 1fr); overflow-x: visible; }
  .hscroll > * { min-width: auto; }
}
.hscroll-hint {
  text-align: center; margin-top: 0.5rem;
  font-size: 0.6875rem; color: #94a3b8;
  display: flex; align-items: center; justify-content: center; gap: 0.25rem;
  animation: pulse 2s ease infinite;
}
@media (min-width: 1024px) { .hscroll-hint { display: none; } }
@keyframes pulse { 0%,100%{opacity:0.5} 50%{opacity:1} }

/* --- Partners Marquee --- */
.marquee { overflow: hidden; position: relative; min-height: 3rem; }
.marquee-track {
  display: flex; animation: marquee-scroll 35s linear infinite;
}
.marquee-track > * {
  flex-shrink: 0; width: 10rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  padding: 0 1rem;
}
.marquee-track img { max-height: 2.5rem; max-width: 100%; object-fit: contain; filter: grayscale(100%); opacity: 0.5; transition: all var(--gcs-transition); }
.marquee-track img:hover { filter: grayscale(0); opacity: 1; }
.marquee-track span {
  font-size: 1rem; font-weight: 800; color: #cbd5e1;
  white-space: nowrap; letter-spacing: 0.02em;
}
@keyframes marquee-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* --- Animations (Scroll Reveal) --- */
.reveal {
  opacity: 0; transform: translateY(24px);
  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; }

/* --- Stat Counter --- */
.stat { text-align: center; }
.stat-value { font-size: 2rem; font-weight: 900; color: var(--gcs-dark); line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--gcs-gray-600); margin-top: 0.25rem; }
.stat svg { width: 1.5rem; height: 1.5rem; color: var(--gcs-primary); margin: 0 auto 0.375rem; }

/* --- Service Card --- */
.service-card {
  padding: 1.5rem; border-radius: var(--gcs-radius-lg);
  transition: all var(--gcs-transition);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--gcs-shadow-md); }
.service-card svg { width: 1.75rem; height: 1.75rem; margin-bottom: 0.75rem; }
.service-card h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.375rem; }
.service-card p { font-size: 0.8125rem; color: var(--gcs-gray-600); line-height: 1.5; }

/* --- Contact Section --- */
.contact-card {
  background: var(--gcs-light);
  border: 1px solid var(--gcs-gray-200);
  border-radius: var(--gcs-radius-xl);
  padding: 2rem; box-shadow: var(--gcs-shadow-md);
}
.contact-card input,
.contact-card textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid var(--gcs-gray-200);
  border-radius: var(--gcs-radius);
  background: var(--gcs-gray); font-size: 0.875rem;
  transition: border-color var(--gcs-transition);
  font-family: inherit;
}
.contact-card input:focus,
.contact-card textarea:focus {
  outline: none; border-color: var(--gcs-primary);
  box-shadow: 0 0 0 3px rgba(33,154,56,0.1);
}

/* --- Chat Widget --- */
.chat-widget {
  display: flex; flex-direction: column;
  height: 320px; background: var(--gcs-light);
  border-radius: var(--gcs-radius); border: 1px solid var(--gcs-gray-200);
  overflow: hidden;
}
.chat-messages {
  flex: 1; padding: 1rem; overflow-y: auto;
  display: flex; flex-direction: column; gap: 0.625rem;
}
.chat-msg {
  padding: 0.625rem 0.875rem; border-radius: var(--gcs-radius);
  max-width: 85%; font-size: 0.8125rem; line-height: 1.5;
}
.chat-msg.user { background: var(--gcs-primary); color: var(--gcs-light); align-self: flex-end; }
.chat-msg.agent { background: var(--gcs-gray-100); color: var(--gcs-dark); align-self: flex-start; }
.chat-form {
  display: flex; gap: 0.5rem; padding: 0.75rem;
  border-top: 1px solid var(--gcs-gray-200);
}
.chat-form input {
  flex: 1; padding: 0.5rem 1rem;
  border: 1px solid var(--gcs-gray-200);
  border-radius: 9999px; font-size: 0.8125rem;
  font-family: inherit;
}
.chat-form input:focus { outline: none; border-color: var(--gcs-primary); }
.chat-form button {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--gcs-primary); color: var(--gcs-light);
  border: none; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background var(--gcs-transition);
  flex-shrink: 0;
}
.chat-form button:hover { background: var(--gcs-primary-dark); }
.chat-form button svg { width: 1rem; height: 1rem; }
.typing-dots { display: flex; gap: 4px; padding: 0.5rem 0.75rem; }
.typing-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #94a3b8; animation: typing-bounce 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-4px)} }

/* --- Reassurance Bar --- */
.reassurance-bar {
  background: var(--gcs-primary);
  color: var(--gcs-light);
  padding: 1.25rem 1rem;
}
.reassurance-bar .inner {
  max-width: 80rem; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 768px) {
  .reassurance-bar .inner { grid-template-columns: repeat(4, 1fr); }
}
.reassurance-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.8125rem; font-weight: 600;
}
.reassurance-item svg, .reassurance-item [data-lucide] { width: 1.5rem; height: 1.5rem; flex-shrink: 0; opacity: 0.9; }
.reassurance-item span { line-height: 1.3; }
.reassurance-item small { display: block; font-size: 0.6875rem; font-weight: 400; opacity: 0.8; }

/* --- Newsletter Section --- */
.newsletter-section {
  background: #111; color: var(--gcs-light);
  padding: 2.5rem 1rem;
}
.newsletter-inner {
  max-width: 40rem; margin: 0 auto; text-align: center;
}
.newsletter-inner h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.375rem; }
.newsletter-inner p { font-size: 0.8125rem; opacity: 0.7; margin-bottom: 1.25rem; }
.newsletter-form {
  display: flex; gap: 0.5rem;
  max-width: 28rem; margin: 0 auto;
}
.newsletter-form input {
  flex: 1; padding: 0.625rem 1rem;
  border-radius: 9999px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08); color: var(--gcs-light);
  font-size: 0.8125rem; font-family: inherit;
  transition: border-color var(--gcs-transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { outline: none; border-color: var(--gcs-primary); background: rgba(255,255,255,0.12); }
.newsletter-form button {
  padding: 0.625rem 1.5rem; border-radius: 9999px;
  background: var(--gcs-secondary); color: var(--gcs-dark);
  font-size: 0.8125rem; font-weight: 700; border: none;
  cursor: pointer; white-space: nowrap;
  transition: all var(--gcs-transition);
}
.newsletter-form button:hover { background: var(--gcs-yellow); transform: translateY(-1px); }
@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }
}

/* --- Footer --- */
.site-footer {
  background: var(--gcs-dark); color: rgba(255,255,255,0.8);
  padding: 3rem 1.5rem 6rem; font-size: 0.8125rem;
}
@media (min-width: 1024px) { .site-footer { padding-bottom: 3rem; } }
.site-footer h5 { color: var(--gcs-light); font-weight: 700; margin-bottom: 0.75rem; font-size: 0.8125rem; }
.site-footer a { transition: color var(--gcs-transition); }
.site-footer a:hover { color: var(--gcs-secondary); }

/* Footer social icons */
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--gcs-transition);
}
.footer-social a:hover { background: var(--gcs-primary); color: var(--gcs-light); transform: translateY(-2px); }
.footer-social svg, .footer-social [data-lucide] { width: 1rem; height: 1rem; }

/* Footer payment icons */
.footer-payments {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  align-items: center; justify-content: center;
  padding-top: 1.5rem; margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-payments span { font-size: 0.6875rem; opacity: 0.5; margin-right: 0.5rem; }
.payment-icon {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); border-radius: 0.375rem;
  padding: 0.375rem 0.625rem; height: 2rem; min-width: 3rem;
  font-size: 0.625rem; font-weight: 700; color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em; transition: all var(--gcs-transition);
}
.payment-icon:hover { background: rgba(255,255,255,0.18); }
.payment-icon svg { height: 1rem; width: auto; }

/* Footer bottom copyright */
.footer-bottom {
  text-align: center; padding-top: 1.5rem; margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.6875rem; opacity: 0.5;
}

/* --- Floating Buttons --- */
.fab-whatsapp {
  position: fixed; bottom: 5rem; right: 1.25rem;
  z-index: 45; width: 3rem; height: 3rem;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  transition: transform var(--gcs-transition);
}
@media (min-width: 1024px) { .fab-whatsapp { bottom: 1.5rem; } }
.fab-whatsapp:hover { transform: scale(1.1); }
.fab-whatsapp img { width: 1.75rem; height: 1.75rem; }

.fab-top {
  position: fixed; bottom: 1.25rem; left: 1.25rem;
  z-index: 45; width: 2.75rem; height: 2.75rem;
  background: var(--gcs-primary); color: var(--gcs-light);
  border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--gcs-shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(1rem);
  transition: all var(--gcs-transition);
}
.fab-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-top:hover { background: var(--gcs-primary-dark); }
.fab-top svg { width: 1.25rem; height: 1.25rem; }

/* --- Filter Chips --- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center; margin-bottom: 2rem;
}
.filter-chip {
  padding: 0.5rem 1rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 600;
  border: 1px solid var(--gcs-gray-200);
  background: var(--gcs-light); color: var(--gcs-gray-600);
  cursor: pointer; transition: all var(--gcs-transition);
  white-space: nowrap;
}
.filter-chip:hover, .filter-chip.active {
  background: var(--gcs-primary); color: var(--gcs-light);
  border-color: var(--gcs-primary);
}
.filter-chip.active-dark { background: #1e293b; color: var(--gcs-light); border-color: #1e293b; }

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed; bottom: -100%; left: 0; width: 100%;
  z-index: 1000; transition: bottom 0.5s ease;
}
.cookie-banner.visible { bottom: 0; }

/* --- Misc --- */
.badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.75rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 600;
}
.text-gradient {
  background: linear-gradient(135deg, var(--gcs-primary), var(--gcs-yellow));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   V3 — PRODUCT GRID, LAZY LOADING, ANIMATIONS
   ======================================== */

/* --- Product Grid (Catalog Pages) --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 0.875rem; }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

/* --- Card Entrance Animation --- */
@keyframes cardEnter {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.product-grid .product-card {
  opacity: 0;
  animation: cardEnter 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: calc(var(--card-i, 0) * 0.04s);
}

/* --- Enhanced Product Card Hover --- */
.product-card {
  position: relative;
  overflow: hidden;
}
.product-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--gcs-radius-lg);
  box-shadow: 0 0 0 0 rgba(33,154,56,0);
  transition: box-shadow 0.35s ease;
  pointer-events: none;
}
.product-card:hover::after {
  box-shadow: 0 0 0 2px rgba(33,154,56,0.15);
}
.product-card:hover {
  box-shadow: var(--gcs-shadow-xl);
  transform: translateY(-6px);
}
.product-card:hover .product-card-img img {
  transform: scale(1.1);
}
.product-card .btn {
  transition: all 0.25s ease;
}
.product-card:hover .btn {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(33,154,56,0.25);
}

/* --- Filter Chip Count Badge --- */
.filter-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  margin-left: 0.35rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  background: rgba(0,0,0,0.06);
  color: inherit;
  transition: background 0.2s ease;
}
.filter-chip.active .filter-chip-count,
.filter-chip:hover .filter-chip-count {
  background: rgba(255,255,255,0.25);
}

/* --- Filter Chip Enhancements --- */
.filter-chip {
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  user-select: none;
}
.filter-chip:active {
  transform: scale(0.95);
}

/* --- Load More Button --- */
.load-more-wrapper {
  text-align: center;
  padding: 2rem 0 1rem;
}
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  border: 2px solid var(--gcs-gray-200);
  background: var(--gcs-light);
  color: var(--gcs-gray-600);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-load-more:hover {
  border-color: var(--gcs-primary);
  color: var(--gcs-primary);
  background: var(--gcs-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--gcs-shadow-md);
}
.btn-load-more:active {
  transform: scale(0.97);
}
.btn-load-more svg {
  transition: transform 0.3s ease;
}
.btn-load-more:hover svg {
  transform: translateY(2px);
}
.load-more-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--gcs-primary);
  color: var(--gcs-light);
}

/* --- Product Card Responsive Mobile --- */
@media (max-width: 767px) {
  .product-card { padding: 0.75rem; }
  .product-card-img { height: 6rem; margin-bottom: 0.5rem; }
  .product-card-placeholder { height: 6rem; margin-bottom: 0.5rem; }
  .product-card-placeholder svg { width: 2rem; height: 2rem; }
  .product-card h3 { font-size: 0.75rem; margin-bottom: 0.375rem; }
  .product-card-cat { font-size: 0.5625rem; }
  .product-card-brand { font-size: 0.625rem; margin-bottom: 0.5rem; }
  .btn-sm { padding: 0.4rem 0.75rem; font-size: 0.6875rem; }

  /* Filter bar mobile scroll */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { font-size: 0.6875rem; padding: 0.4rem 0.75rem; }
}

/* --- Section Spacing Mobile --- */
@media (max-width: 767px) {
  .section { padding: 2.5rem 0.75rem; }
  .section-title { font-size: 1.125rem; margin-bottom: 1.5rem; }
  .page-banner { height: 10rem; }
  .page-banner h1 { font-size: 1.25rem; }
}

/* --- Service Card Micro-interactions --- */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gcs-primary);
  border-radius: 0 3px 3px 0;
  transition: height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card:hover::before { height: 100%; }
.service-card svg {
  transition: transform 0.3s ease, color 0.3s ease;
}
.service-card:hover svg {
  transform: scale(1.15) rotate(-5deg);
}

/* --- Badge Micro-interactions --- */
.badge {
  transition: all 0.2s ease;
}
.badge:hover {
  transform: translateY(-1px);
  box-shadow: var(--gcs-shadow);
}

/* --- Smooth Image Load --- */
.product-card-img img {
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.product-card-img img.loaded {
  opacity: 1;
}

/* --- Partners Logo Hover --- */
.marquee-track > *:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* --- Contact Section Enhancement --- */
#contact .btn {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#contact .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--gcs-shadow-lg);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .product-grid .product-card { opacity: 1; animation: none; }
}

/* --- Print --- */
@media print {
  .site-header, .mobile-header, .mobile-nav, .fab-whatsapp, .fab-top, .cookie-banner { display: none !important; }
  body { padding: 0; background: white; }
  .section { padding: 1rem 0; }
}
