/* ══════════════════════════════════════════════════════
   IA GROUP — index.css
   Todos los estilos del sitio (home + tienda)
══════════════════════════════════════════════════════ */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: #050a18;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Tokens de color ── */
:root {
  --clr-bg:        #050a18;
  --clr-bg2:       #0d1120;
  --clr-accent:    #00c8ff;
  --clr-accent-dk: #0090c8;
  --clr-accent-lt: #33d4ff;
  --clr-white:     #ffffff;
  --clr-text:      rgba(255,255,255,0.85);
  --clr-muted:     rgb(255, 255, 255);
  --clr-border:    rgba(255,255,255,0.08);
  --clr-card:      rgba(255,255,255,0.03);
  --clr-success:   #34d399;
  --clr-danger:    #fc8181;
  --clr-wa:        #25d366;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --transition:    0.2s ease;
}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 56px;
  background: transparent;
  border-bottom: 0.5px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}
nav.scrolled {
  background: rgba(5, 10, 24, 0.96);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--clr-border);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; text-decoration: none;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--clr-accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 13px;
  color: var(--clr-bg); letter-spacing: -0.5px; flex-shrink: 0;
}
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 600; color: #fff;
}
.logo-text em { color: var(--clr-accent); font-style: normal; }

.nav-links {
  display: flex; gap: 32px; align-items: center;
}
.nav-links a {
  color: var(--clr-muted); font-size: 13.5px;
  text-decoration: none; cursor: pointer;
  transition: color var(--transition);
}
.nav-links a:hover { color: #fff; }

.nav-store-btn {
  display: flex; align-items: center; gap: 6px;
  background: none;
  border: 0.5px solid rgba(0,200,255,0.4);
  color: var(--clr-accent);
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background var(--transition);
}
.nav-store-btn:hover { background: rgba(0,200,255,0.1); }

.nav-cta {
  background: var(--clr-accent); color: var(--clr-bg);
  border: none; padding: 10px 22px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--clr-accent-lt); }

.nav-hamburger {
  display: none; background: none; border: none;
  color: rgba(255,255,255,0.7); font-size: 22px; cursor: pointer;
}

/* ════════════════════════════════════════
   PAGES (router)
════════════════════════════════════════ */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }

/* ════════════════════════════════════════
   BUTTONS (compartidos)
════════════════════════════════════════ */
.btn-primary {
  background: var(--clr-accent); color: var(--clr-bg);
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; border: none; font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--clr-accent-lt); transform: translateY(-1px); }

.btn-ghost {
  border: 0.5px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.8);
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; background: none; font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost.sm { padding: 9px 16px; font-size: 13px; }

.btn-wa {
  background: var(--clr-wa); color: #fff;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; border: none; font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: background var(--transition);
}
.btn-wa:hover { background: #1dba58; }

/* ════════════════════════════════════════
   HOME — HERO
════════════════════════════════════════ */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: var(--clr-bg); }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,200,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 10;
  padding: 0 56px 80px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0.5px solid rgba(0,200,255,0.3); border-radius: 100px;
  padding: 6px 16px; margin-bottom: 28px;
  font-size: 11px; color: var(--clr-accent);
  letter-spacing: 2px; text-transform: uppercase;
}
.hero-eyebrow-dot {
  width: 5px; height: 5px; background: var(--clr-accent);
  border-radius: 50%; animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 5.5vw, 80px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -2.5px; color: #fff;
  margin-bottom: 24px; max-width: 820px;
}
.hero h1 .accent { color: var(--clr-accent); }
.hero h1 .thin  { font-weight: 300; color: rgba(255, 255, 255, 0.5); }

.hero-sub {
  font-size: 17px; color: var(--clr-muted);
  max-width: 520px; line-height: 1.75; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── STATS ── */
.stat-bar {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 0.5px solid var(--clr-border);
  border-bottom: 0.5px solid var(--clr-border);
  background: rgba(255,255,255,0.02);
}
.stat-item {
  padding: 32px 40px;
  border-right: 0.5px solid var(--clr-border);
}
.stat-item:last-child { border-right: none; }
.stat-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px; font-weight: 700;
  color: #fff; letter-spacing: -2px; line-height: 1;
}
.stat-n span { color: var(--clr-accent); }
.stat-l { font-size: 13px; color: rgba(255,255,255,0.35); margin-top: 6px; }

/* ── SECTION SHARED ── */
.section-eyebrow {
  font-size: 15px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(0,200,255,0.6); margin-bottom: 16px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 42px); font-weight: 700;
  color: #fff; letter-spacing: -1px; line-height: 1.2; margin-bottom: 14px;
}
.section-sub {
  font-size: 16px; color: var(--clr-muted);
  max-width: 520px; line-height: 1.7; margin-bottom: 52px;
}

/* ── INDUSTRIES ── */
.industries { padding: 100px 56px 80px; }
.ind-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
  border: 0.5px solid var(--clr-border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.ind-card {
  background: var(--clr-bg); padding: 40px 36px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: background 0.3s;
}
.ind-card:hover { background: rgba(0,200,255,0.04); }
.ind-icon {
  width: 48px; height: 48px;
  background: rgba(0,200,255,0.08);
  border: 0.5px solid rgba(0,200,255,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.ind-icon i { color: var(--clr-accent); font-size: 22px; }
.ind-num {
  font-size: 11px; color: rgba(0,200,255,0.4);
  letter-spacing: 1px; margin-bottom: 12px;
  font-family: 'Space Grotesk', sans-serif;
}
.ind-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px; font-weight: 600; color: #fff;
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.ind-card p { font-size: 13.5px; color: var(--clr-muted); line-height: 1.65; }
.ind-card-arrow {
  position: absolute; top: 36px; right: 36px;
  color: rgba(255,255,255,0.15); font-size: 18px;
  transition: color var(--transition), transform var(--transition);
}
.ind-card:hover .ind-card-arrow { color: var(--clr-accent); transform: translate(3px,-3px); }

/* ── SOLUTIONS ── */
.solutions {
  padding: 80px 56px;
  background: rgba(0,200,255,0.02);
  border-top: 0.5px solid rgba(0,200,255,0.07);
  border-bottom: 0.5px solid rgba(0,200,255,0.07);
}
.sol-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.sol-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

/* ── Carousel portafolio ── */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel-track-outer {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.carousel-track {
  display: flex;
  gap: 8px;
  will-change: transform;
}
.carousel-btn {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
}
.carousel-btn:hover { border-color: rgba(0,200,255,0.4); color: #00c8ff; background: rgba(0,200,255,0.08); }
.carousel-btn:disabled { opacity: 0.2; cursor: default; }

.sol-card {
  flex: 0 0 auto;
  width: 130px;
  min-width: 130px;
  max-width: 130px;
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.sol-card:hover { border-color: rgba(0,200,255,0.3); }
.sol-card-img {
  height: 90px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.sol-card-img img {
  width: 70%; height: 70%;
  object-fit: contain;
  object-position: center;
}
.sol-card-img i { font-size: 36px; color: #b0bec5; }
.sol-card-body { padding: 8px 10px; flex: 1; }
.sol-card-brand { font-size: 10px; color: var(--clr-accent); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.sol-card-name  { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85); margin-bottom: 3px; }
.sol-card-type  { font-size: 12px; color: rgba(255,255,255,0.28); }
.sol-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,200,255,0.06);
  border: 0.5px solid rgba(0,200,255,0.2);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 4px;
}
.sol-cta-strip span { font-size: 13px; color: rgba(255,255,255,0.5); }
.sol-cta-strip a  { font-size: 13px; color: var(--clr-accent); cursor: pointer; text-decoration: none; }

/* ── BRANDS ── */
.brands-section { padding: 80px 56px; }
.brands-row {
  display: flex; gap: 0;
  border: 0.5px solid var(--clr-border);
  border-radius: var(--radius-md); overflow: hidden;
  margin-top: 40px;
}
.brand-cell {
  flex: 1; padding: 28px 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-right: 0.5px solid rgba(255,255,255,0.06);
  border-top: 2px solid transparent;
  background: rgba(255,255,255,0.015);
  cursor: pointer; transition: background var(--transition), border-color var(--transition);
  text-decoration: none;
}
.brand-cell:last-child { border-right: none; }
.brand-cell:hover { background: rgba(255,255,255,0.04); border-top-color: var(--brand-clr, var(--clr-accent)); }
.brand-cell-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 600;
  color: #fefbfb; transition: color var(--transition);
}
.brand-cell:hover .brand-cell-name { color: var(--brand-clr, rgba(255,255,255,0.8)); }
.brand-cell-label { font-size: 10px; color: rgba(247, 243, 243, 0.724); }

/* ── SERVICES ── */
.services { padding: 80px 56px; }
.srv-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
  border: 0.5px solid var(--clr-border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.srv-card {
  background: var(--clr-bg); padding: 44px 36px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: background 0.3s;
}
.srv-card:hover { background: rgba(0,200,255,0.04); }
.srv-n {
  font-size: 15px; color: rgba(0,200,255,0.6);
  letter-spacing: 2px; margin-bottom: 20px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
}
.srv-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 600; color: #fff;
  margin-bottom: 12px; letter-spacing: -0.3px;
}
.srv-card p { font-size: 14px; color: var(--clr-muted); line-height: 1.7; }

/* ── CTA FINAL ── */
.cta-section {
  padding: 100px 56px; text-align: center; position: relative; overflow: hidden;
}
.cta-bg-glow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,200,255,0.06), transparent);
  pointer-events: none;
}
.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 3.5vw, 52px); font-weight: 700;
  color: #fff; letter-spacing: -1.5px; margin-bottom: 16px; position: relative;
}
.cta-section p {
  font-size: 16px; color: var(--clr-muted);
  max-width: 440px; margin: 0 auto 40px; line-height: 1.7; position: relative;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── FOOTER ── */
footer {
  padding: 40px 56px;
  border-top: 0.5px solid var(--clr-border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
footer p { font-size: 12px; color: rgba(224, 224, 224, 0.904); }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.65);
  text-decoration: none; cursor: pointer;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

/* ════════════════════════════════════════
   SHOP / MARKETPLACE
════════════════════════════════════════ */
#page-shop { background: var(--clr-bg2); padding-top: 76px; }

.shop-header {
  background: var(--clr-bg);
  border-bottom: 0.5px solid var(--clr-border);
  padding: 18px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: sticky; top: 76px; z-index: 100;
}
.shop-search {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); padding: 10px 16px;
  flex: 1; max-width: 560px;
  transition: border-color var(--transition);
}
.shop-search:focus-within { border-color: rgba(0,200,255,0.5); }
.shop-search i { color: rgba(255,255,255,0.3); font-size: 17px; }
.shop-search input {
  background: none; border: none; color: #fff;
  font-size: 14px; width: 100%; outline: none; font-family: 'Inter', sans-serif;
}
.shop-search input::placeholder { color: rgba(255,255,255,0.25); }
.shop-header-right { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); padding: 10px 16px;
  color: rgba(255,255,255,0.7); font-size: 14px; cursor: pointer;
  position: relative; transition: all var(--transition); font-family: 'Inter', sans-serif;
}
.cart-btn:hover { border-color: rgba(0,200,255,0.4); color: #fff; }
.cart-badge {
  position: absolute; top: -7px; right: -7px;
  background: var(--clr-accent); color: var(--clr-bg);
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Shop layout: sidebar + products */
.shop-layout {
  display: grid; grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 76px - 80px);
}

/* Sidebar */
.sidebar {
  background: var(--clr-bg);
  border-right: 0.5px solid var(--clr-border);
  padding: 28px 22px;
  position: sticky; top: 148px;
  height: fit-content;
  max-height: calc(100vh - 148px);
  overflow-y: auto;
}
.sidebar-title {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.filter-group { margin-bottom: 28px; }
.filter-group-label {
  font-size: 12px; font-weight: 500; color: var( --clr-muted);
  margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}
.filter-group-label i { font-size: 14px; }
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-opt {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; padding: 3px 0;
}
.filter-opt input[type=checkbox] {
  appearance: none; width: 15px; height: 15px;
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 3px; cursor: pointer;
  position: relative; flex-shrink: 0;
  transition: all 0.15s;
}
.filter-opt input[type=checkbox]:checked {
  background: var(--clr-accent); border-color: var(--clr-accent);
}
.filter-opt input[type=checkbox]:checked::after {
  content: ''; position: absolute;
  left: 4px; top: 1px; width: 5px; height: 8px;
  border: 2px solid var(--clr-bg); border-top: none; border-left: none;
  transform: rotate(45deg);
}
.filter-opt span { font-size: 13px; color: rgba(255, 255, 255, 0.774); user-select: none; transition: color 0.15s; }
.filter-opt:hover span { color: rgba(147, 252, 252, 0.877); }

.clear-filters {
  width: 100%; background: none; border: none;
  color: rgba(255,255,255,0.25); font-size: 12px;
  cursor: pointer; padding: 6px; font-family: 'Inter', sans-serif;
  transition: color var(--transition);
}
.clear-filters:hover { color: rgba(255,255,255,0.6); }

/* Products area */
.products-area { padding: 22px 28px; }

.cat-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.cat-pill {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 6px 14px;
  font-size: 12px; color: rgba(255,255,255,0.45);
  cursor: pointer; transition: all var(--transition); user-select: none;
}
.cat-pill:hover { border-color: rgba(0,200,255,0.35); color: rgba(255,255,255,0.75); }
.cat-pill.active {
  background: rgba(0,200,255,0.1);
  border-color: rgba(0,200,255,0.4);
  color: var(--clr-accent);
}

.products-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; flex-wrap: wrap; gap: 10px;
}
.products-count { font-size: 13px; color: rgba(255, 255, 255, 0.674); }
.products-count strong { color: #fff; }
.sort-wrap { display: flex; align-items: center; gap: 8px; }
.sort-wrap label { font-size: 12px; color: rgba(255,255,255,0.35); }
.sort-select {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); color: rgba(255,255,255,0.7);
  font-size: 13px; padding: 7px 12px; cursor: pointer;
  font-family: 'Inter', sans-serif; outline: none;
}
.sort-select option { background: #0d1120; color: #fff; }

/* Product grid */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.pcard {
  background: var(--clr-bg);
  border: 0.5px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
  cursor: pointer;
}
.pcard:hover { border-color: rgba(0,200,255,0.35); transform: translateY(-2px); }

.pcard-img {
  height: 200px;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 0.5px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}
.pcard-img img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: auto;
}
.pcard-img i { font-size: 32px; color: #b0bec5; position: relative; z-index: 1; }

.pcard-badge {
  display: inline-block;
  background: rgba(0,200,255,0.12);
  border: 0.5px solid rgba(0,200,255,0.35);
  color: #00c8ff;
  font-size: 9px; padding: 3px 7px; border-radius: 4px;
  letter-spacing: 0.5px; text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}
.pcard-badge.oferta {
  background: #e53e3e;
  border-color: #e53e3e;
  color: #fff;
  font-size: 10px;
  padding: 4px 9px;
}

.pcard-body { padding: 10px 12px 4px; }
.pcard-brand { font-size: 10px; color: var(--clr-accent); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.pcard-name  { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 3px; line-height: 1.35;  text-decoration: none; display: block; cursor: pointer; transition: color 0.15s; }
.pcard-name:hover { color: #00c8ff; }
.pcard-ref   { font-size: 11px; color: rgba(255, 255, 255, 0.911); margin-bottom: 0; font-family: monospace; }

.pcard-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 12px;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
}
.pcard-price {
  font-size: 13px; font-weight: 700; color: #fff;
  font-family: 'Space Grotesk', sans-serif;
}
.pcard-price .currency   { font-size: 11px; color: rgba(255, 255, 255, 0.911); font-weight: 400; }
.pcard-price .old-price  { font-size: 11px; color: #f97316; text-decoration: line-through; margin-right: 4px; font-weight: 500; }
.pcard-stock { display: none; } /* stock badge oculto */
.pcard-stock.in  { background: rgba(16,185,129,0.12); color: var(--clr-success); border: 0.5px solid rgba(16,185,129,0.25); }
.pcard-stock.out { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.3); border: 0.5px solid rgba(255,255,255,0.1); }

.add-btn {
  width: 100%; background: none;
  border: 0.5px solid rgba(0,200,255,0.3);
  color: var(--clr-accent);
  padding: 7px; border-radius: var(--radius-sm);
  font-size: 11px; cursor: pointer; margin: 6px 10px 10px;
  width: calc(100% - 20px);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition);
}
.add-btn:hover { background: rgba(0,200,255,0.1); }

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; padding: 32px 0 8px;
}
.page-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-size: 13px; cursor: pointer;
  border: 0.5px solid rgba(255,255,255,0.1);
  background: none; color: rgba(255,255,255,0.4);
  transition: all var(--transition); font-family: 'Inter', sans-serif;
}
.page-btn:hover, .page-btn.active {
  border-color: rgba(0,200,255,0.4);
  color: var(--clr-accent); background: rgba(0,200,255,0.08);
}

/* ════════════════════════════════════════
   CARRITO (drawer)
════════════════════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 300;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: -420px; width: 400px; height: 100vh;
  background: var(--clr-bg);
  border-left: 0.5px solid rgba(255,255,255,0.1);
  z-index: 301; transition: right 0.3s;
  display: flex; flex-direction: column;
}
.cart-drawer.open { right: 0; }

.cart-drawer-header {
  padding: 24px;
  border-bottom: 0.5px solid var(--clr-border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-drawer-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 600;
}
.cart-close {
  background: none; border: none; color: rgba(255,255,255,0.4);
  font-size: 22px; cursor: pointer; line-height: 1;
}
.cart-items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty {
  text-align: center; padding: 60px 20px;
  color: rgba(255,255,255,0.3); font-size: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.cart-empty i { font-size: 32px; opacity: 0.3; }

.cart-item {
  display: flex; gap: 12px; padding: 14px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.cart-item-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.05); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name  { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 2px; }
.cart-item-brand { font-size: 11px; color: rgba(255,255,255,0.85); }
.cart-item-price { font-size: 14px; font-weight: 600; color: #fff; margin-top: 4px; }
.cart-item-remove {
  background: none; border: none; color: rgba(255,255,255,0.2);
  cursor: pointer; font-size: 16px; transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--clr-danger); }

.cart-footer {
  padding: 18px 22px;
  border-top: 0.5px solid var(--clr-border);
}
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.cart-total span { font-size: 13px; color: rgb(255, 255, 255); }
.cart-total strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; color: #fff;
}
.checkout-btn {
  width: 100%; background: var(--clr-accent); color: var(--clr-bg);
  padding: 13px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer; border: none;
  font-family: 'Inter', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--transition);
}
.checkout-btn:hover { background: var(--clr-accent-lt); }
.whatsapp-btn {
  width: 100%; background: var(--clr-wa); color: #fff;
  padding: 11px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; cursor: pointer; border: none;
  font-family: 'Inter', sans-serif; margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--transition);
}
.whatsapp-btn:hover { background: #1dba58; }

/* ════════════════════════════════════════
   TOAST
════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #0d1120; border: 0.5px solid rgba(0,200,255,0.4);
  border-radius: var(--radius-sm); padding: 12px 20px;
  font-size: 13px; color: #fff; z-index: 500;
  transition: transform 0.3s; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast i { color: var(--clr-accent); }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ind-grid { grid-template-columns: repeat(2,1fr); }
  .sol-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(5,10,24,0.98);
    padding: 24px 24px 32px; gap: 20px;
    border-bottom: 0.5px solid var(--clr-border);
    z-index: 199;
  }
  .hero-content { padding: 0 20px 60px; }
  .hero h1 { font-size: 36px; }
  .stat-bar { grid-template-columns: repeat(2,1fr); }
  .industries,.solutions,.brands-section,.services,.cta-section { padding-left: 20px; padding-right: 20px; }
  .industries { padding-top: 60px; }
  .ind-grid,.srv-grid { grid-template-columns: 1fr; }
  .sol-card { flex: 0 0 85%; min-width: 85%; }
  .brands-row { flex-wrap: wrap; }
  .brand-cell { min-width: 33%; }
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .products-area { padding: 14px 16px; }
  .shop-header { padding: 12px 16px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .cart-drawer { width: 100%; right: -100%; }
}

/* ── Descripción en tarjeta producto ── */
.pcard-desc {
  font-size: 11px;
  color: var(--clr-muted);
  line-height: 1.5;
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
}
/* ── Badge dentro del body — esquina superior derecha ── */
.pcard-body-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
  min-height: 18px;
}

/* ── Etiqueta + IGV en precio ── */
.price-igv {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  display: inline;
  margin-left: 3px;
}

/* ── Hero video de fondo ── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  opacity: 0.75;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    #0a0f1e 0%,
    #0a0f1e 40%,
    rgba(10,15,30,0.6) 65%,
    rgba(10,15,30,0.1) 100%
  );
}

/* El contenido del hero va encima del video */
.hero-grid,
.hero-glow,
.hero-content {
  position: relative;
  z-index: 2;
}

/* ══════════════════════════════════════
   MODAL DETALLE DE PRODUCTO
══════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }

.modal-prod {
  background: #050a18;
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { opacity:0; transform: scale(0.96) translateY(10px); }
  to   { opacity:1; transform: scale(1)    translateY(0);    }
}

.modal-prod-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none;
  color: rgba(255,255,255,0.4);
  font-size: 22px; cursor: pointer; z-index: 2;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.modal-prod-close:hover { background: rgba(255,255,255,0.08); color: #fff; }

.modal-prod-img {
  background: #fff;
  border-radius: 14px 0 0 14px;
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
  overflow: hidden;
}
.modal-prod-img img {
  width: 80%; height: 80%;
  object-fit: contain;
}
.modal-prod-img i { font-size: 48px; color: #b0bec5; }

.modal-prod-body {
  padding: 28px 28px 24px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.modal-prod-brand {
  font-size: 11px; color: #00c8ff;
  letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
}
.modal-prod-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 700;
  color: #fff; letter-spacing: -0.3px; line-height: 1.3;
}
.modal-prod-ref {
  font-size: 12px; color: rgba(255,255,255,0.3);
  font-family: monospace;
}
.modal-prod-desc {
  font-size: 13.5px; color: rgba(255,255,255,0.6);
  line-height: 1.7; flex: 1;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  padding-top: 10px; margin-top: 4px;
}
.modal-prod-footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  padding-top: 14px; margin-top: 4px;
}
.modal-prod-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700; color: #fff;
}
.modal-prod-price .mp-old {
  font-size: 12px; color: #f97316;
  text-decoration: line-through;
  font-weight: 400; display: block; margin-bottom: 2px;
}
.modal-prod-price .mp-igv {
  font-size: 11px; color: rgba(255,255,255,0.35);
  font-weight: 400; display: block;
}
.modal-prod-cart {
  background: #00c8ff; color: #050a18;
  border: none; padding: 10px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap;
  transition: background 0.2s;
}
.modal-prod-cart:hover { background: #33d4ff; }

/* Ver más en la tarjeta */
.pcard-desc-wrap { position: relative; }
.pcard-ver-mas {
  color: #00c8ff; font-size: 11px; cursor: pointer;
  background: none; border: none; padding: 0;
  font-family: 'Inter', sans-serif;
  display: inline; margin-left: 4px;
}
.pcard-ver-mas:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .modal-prod { grid-template-columns: 1fr; }
  .modal-prod-img { border-radius: 14px 14px 0 0; min-height: 160px; }
}

/* ══════════════════════════════════════
   SIDEBAR ACORDEONES
══════════════════════════════════════ */
.filter-accordion {
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  margin-bottom: 2px;
}

.accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 4px; cursor: pointer;
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
  user-select: none;
}
.accordion-header:hover { color: #fff; }
.accordion-header span { display: flex; align-items: center; gap: 7px; }
.accordion-header i.acc-icon {
  font-size: 14px; color: rgba(255,255,255,0.3);
  transition: transform 0.2s;
}
.accordion-header.active i.acc-icon { transform: rotate(180deg); }

.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.25s ease, padding 0.2s;
  padding: 0 2px;
}
.accordion-body.open {
  max-height: 600px;
  padding: 4px 2px 10px;
}

/* Subcategorías anidadas */
.subcat-group { margin-bottom: 6px; }
.subcat-group-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,0.55);
  font-weight: 500; margin-bottom: 4px; cursor: pointer;
  padding: 3px 0;
}
.subcat-group-label input[type=checkbox] {
  appearance: none; width: 14px; height: 14px;
  border: 0.5px solid rgba(255,255,255,0.2); border-radius: 3px;
  cursor: pointer; position: relative; flex-shrink: 0;
  transition: all 0.15s;
}
.subcat-group-label input:checked {
  background: var(--clr-accent); border-color: var(--clr-accent);
}
.subcat-group-label input:checked::after {
  content: ''; position: absolute;
  left: 3px; top: 1px; width: 5px; height: 7px;
  border: 2px solid #050a18; border-top: none; border-left: none;
  transform: rotate(45deg);
}
.subcat-options {
  padding-left: 18px;
  display: flex; flex-direction: column; gap: 5px;
}
.subcat-opt {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; color: rgba(255,255,255,0.4);
  cursor: pointer;
}
.subcat-opt:hover { color: rgba(255,255,255,0.7); }
.subcat-opt input[type=checkbox] {
  appearance: none; width: 13px; height: 13px;
  border: 0.5px solid rgba(255,255,255,0.15); border-radius: 3px;
  cursor: pointer; position: relative; flex-shrink: 0; transition: all 0.15s;
}
.subcat-opt input:checked {
  background: rgba(0,200,255,0.7); border-color: rgba(0,200,255,0.7);
}
.subcat-opt input:checked::after {
  content: ''; position: absolute;
  left: 3px; top: 0px; width: 4px; height: 7px;
  border: 1.5px solid #050a18; border-top: none; border-left: none;
  transform: rotate(45deg);
}

/* ── Filtros radio button ── */
.filter-opt input[type=radio] {
  appearance: none;
  width: 14px; height: 14px;
  border: 0.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.15s;
}
.filter-opt input[type=radio]:checked {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
}
.filter-opt input[type=radio]:checked::after {
  content: '';
  position: absolute;
  width: 5px; height: 5px;
  background: #050a18;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.subcat-group-label input[type=radio] {
  appearance: none;
  width: 14px; height: 14px;
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.15s;
}
.subcat-group-label input[type=radio]:checked {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
}
.subcat-opt input[type=radio] {
  appearance: none;
  width: 12px; height: 12px;
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.subcat-opt input[type=radio]:checked {
  background: rgba(0,200,255,0.7);
  border-color: rgba(0,200,255,0.7);
}
.filter-todo span { font-weight: 600 !important; }


/* ══════════════════════════════════════
   BOTÓN FLOTANTE WHATSAPP — TIENDA
══════════════════════════════════════ */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 250;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 13px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  max-width: 280px;
}
.fab-whatsapp:hover {
  background: #1dba58;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.45);
}
.fab-whatsapp i {
  font-size: 22px;
  flex-shrink: 0;
}
.fab-whatsapp span {
  line-height: 1.3;
}

/* Ocultar en móvil el texto, dejar solo el ícono */
@media (max-width: 768px) {
  .fab-whatsapp {
    padding: 14px;
    border-radius: 50%;
    bottom: 16px;
    right: 16px;
  }
  .fab-whatsapp span { display: none; }
  .fab-whatsapp i { font-size: 24px; }
}
