/* ═══════════════════════════════════════════════════════════
   TIDY GROUP — TIENDA PREMIUM SCROLL-DRIVEN
   Colores: Azul #29327D | Naranja #F08B1A
   Tipografía: Outfit + Inter
   ═══════════════════════════════════════════════════════════ */

/* ─── 1. VARIABLES ─────────────────────────────────────────── */
:root {
  --blue:       #29327D;
  --blue-dark:  #1c2360;
  --blue-light: #3a46a8;
  --orange:     #F08B1A;
  --orange-dk:  #d4780f;
  --bg-light:   #f5f3f0;
  --bg-dark:    #0e0e12;
  --text-dark:  #1a1a1a;
  --text-mid:   #54595F;
  --text-light: #f0ede8;
  --white:      #ffffff;
  --overlay-opacity: 0.90;
  --radius:     4px;
  --font-main:  'Outfit', sans-serif;
  --font-body:  'Inter', sans-serif;
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── 2. RESET + BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto; /* Lenis toma el control */
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─── 3. LOADER ────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s var(--transition), visibility 0.6s;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.loader-logo {
  width: 160px;
  filter: brightness(0) invert(1);
  animation: loader-pulse 2s ease-in-out infinite;
}
@keyframes loader-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .7; transform: scale(.97); }
}
.loader-bar-wrap {
  width: 220px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-light), var(--orange));
  border-radius: 2px;
  transition: width 0.15s ease;
}
.loader-pct {
  font-family: var(--font-main);
  font-size: .8rem;
  letter-spacing: .15em;
  color: rgba(255,255,255,0.4);
}

/* ─── 4. HEADER ────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5vw;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
#site-header.scrolled {
  background: rgba(14,14,18,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img { filter: brightness(0) invert(1); transition: filter .3s; }
#site-header.light-nav .nav-logo img { filter: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-main);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color .25s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta-btn {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  transition: background .25s, transform .2s !important;
}
.nav-cta-btn:hover {
  background: var(--orange-dk) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── 5. HERO ──────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #151830 60%, #0d1040 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Fondo decorativo */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(41,50,125,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(240,139,26,0.15) 0%, transparent 60%);
  pointer-events: none;
}
/* Ruido de grano sutil */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-main);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-title {
  font-family: var(--font-main);
  font-size: clamp(5rem, 10vw, 12rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(40px);
}
.hero-title em {
  font-style: normal;
  color: var(--orange);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(.95rem, 1.2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(240,237,232,0.65);
  max-width: 380px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  background: var(--blue);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: background .3s, transform .3s var(--transition), box-shadow .3s;
}
.hero-cta:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(41,50,125,0.4);
}
.hero-cta::after {
  content: '→';
  transition: transform .25s var(--transition);
}
.hero-cta:hover::after { transform: translateX(4px); }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade-in-hint 1s 2.5s forwards;
}
.hero-scroll-hint span {
  font-family: var(--font-main);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: arrow-bounce 2s ease-in-out infinite;
}
@keyframes arrow-bounce {
  0%,100% { transform: scaleY(1); opacity:.5; }
  50%      { transform: scaleY(1.3); opacity:1; }
}
@keyframes fade-in-hint {
  to { opacity: 1; }
}

/* ─── 6. CANVAS SECTION ────────────────────────────────────── */
#canvas-section {
  position: relative;
  background: var(--bg-dark);
}
#scroll-container {
  height: 400vh;
  position: relative;
}
.canvas-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
#bg-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  max-width: 500px;
  filter: brightness(0) invert(1);
  opacity: 0.15;
  z-index: 0;
}
#product-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* clip-path circular reveal */
  clip-path: circle(0% at 50% 50%);
  transition: none;
  z-index: 1;
}

/* Overlay oscuro */
#dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,15, var(--overlay-opacity));
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

/* ─── 7. LAYOUT: alineado ────────────────────────────────────── */
.align-left  { padding-left: 5vw;  padding-right: 55vw; }
.align-right { padding-left: 55vw; padding-right: 5vw; }
.align-center {
  padding-left: 5vw;
  padding-right: 5vw;
  justify-content: center;
  text-align: center;
}

/* ─── 8. SECCIONES DE CONTENIDO ────────────────────────────── */
.content-section {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 100vh;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: none;
}
.content-section.active { pointer-events: auto; }

.section-inner { max-width: 480px; }

.section-label {
  display: inline-block;
  font-family: var(--font-main);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-label.light { color: rgba(240,237,232,0.5); }

.section-title {
  font-family: var(--font-main);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
}
.section-text {
  font-family: var(--font-body);
  font-size: clamp(.9rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  color: rgba(240,237,232,0.62);
  margin-bottom: 32px;
}
.section-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-main);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--blue-light);
  border-bottom: 1px solid rgba(90,108,200,0.3);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.section-cta:hover { color: var(--white); border-color: var(--white); }
.section-cta.btn-orange { color: var(--orange); border-color: rgba(240,139,26,0.3); }
.section-cta.btn-orange:hover { color: #ffa83f; border-color: #ffa83f; }

/* Grid otros productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.product-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 20px 16px;
  transition: background .3s, border-color .3s, transform .3s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.product-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(41,50,125,0.5);
  transform: translateY(-3px);
}
.product-icon { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.product-card h3 {
  font-family: var(--font-main);
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.product-card p {
  font-size: .75rem;
  color: rgba(240,237,232,0.45);
  line-height: 1.5;
}

/* ─── 9. MARQUEE ────────────────────────────────────────────── */
.marquee-section {
  position: absolute;
  width: 100%;
  overflow: hidden;
  z-index: 6;
  padding: 12px 0;
}
.marquee-bottom {
  position: relative;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
}
.marquee-wrap {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}
.marquee-wrap span {
  font-family: var(--font-main);
  font-size: clamp(9vw, 12vw, 14vw);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  padding-right: 2vw;
  line-height: 1;
  user-select: none;
}
.marquee-bottom .marquee-wrap {
  justify-content: flex-start;
  animation: marquee-auto-loop 30s linear infinite;
}
.marquee-bottom .marquee-wrap span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  -webkit-text-stroke: 0;
  padding-right: 4vw; /* Espacio entre las repeticiones */
}

@keyframes marquee-auto-loop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── 10. STATS (overlay) ───────────────────────────────────── */
.stats-section {
  position: absolute;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 7;
  opacity: 0;
  pointer-events: none;
}
.stats-section.active { pointer-events: auto; }
.stats-inner {
  text-align: center;
  padding: 0 5vw;
}
.stats-title {
  font-family: var(--font-main);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 60px;
  line-height: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stat-num {
  font-family: var(--font-main);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.45);
}

/* ─── 10b. BRANDS SECTION ─────────────────────────────────── */
.brands-section {
  position: relative;
  width: 100%;
  padding: 100px 0;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.brands-inner {
  text-align: center;
  padding: 0 5vw;
}
.brands-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 40px;
  line-height: 1.1;
  opacity: 0.8;
}
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.brand-item {
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s var(--transition), filter .4s ease;
  filter: grayscale(1) brightness(0) invert(1) opacity(0.4);
}
.brand-item:hover {
  transform: scale(1.08);
  filter: grayscale(0) brightness(1) invert(0) opacity(1);
}
.brand-logo {
  max-width: 100%;
  max-height: 45px;
  object-fit: contain;
}

/* ─── 11. CTA FINAL ─────────────────────────────────────────── */
.cta-section {
  position: absolute;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 8;
  opacity: 0;
  pointer-events: none;
}
.cta-section.active { pointer-events: auto; }
.cta-inner { max-width: 520px; }
.cta-title {
  font-family: var(--font-main);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 20px;
}
.cta-title em { font-style: normal; color: var(--orange); }
.cta-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(240,237,232,0.55);
  margin-bottom: 40px;
}
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: .9rem;
  font-weight: 700;
  background: #25D366;
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius);
  transition: background .3s, transform .3s var(--transition), box-shadow .3s;
}
.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.3);
}
.btn-email {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-main);
  font-size: .9rem;
  font-weight: 600;
  background: transparent;
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background .3s, border-color .3s, transform .3s;
}
.btn-email:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* Formulario CTA */
.cta-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-group { width: 100%; }
.form-group input, .form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color .3s, background .3s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.06);
}
.form-group textarea { height: 110px; resize: none; }

.btn-whatsapp-full {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 18px;
  border-radius: var(--radius);
  border: none;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .3s, transform .2s, box-shadow .3s;
}
.btn-whatsapp-full:hover {
  background: #20ba59;
  box-shadow: 0 10px 30px rgba(37,211,102,0.3);
  transform: translateY(-2px);
}
.btn-whatsapp-full:active { transform: translateY(0); }

/* ─── 12. WHATSAPP FLOTANTE ─────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  transition: transform .3s var(--transition), box-shadow .3s;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 36px rgba(37,211,102,0.5);
}
.whatsapp-float svg { color: var(--white); }

/* Pulso WhatsApp */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: rgba(37,211,102,0.25);
  border-radius: 50%;
  animation: wa-pulse 2.5s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity:.7; }
  100% { transform: scale(1.7); opacity:0; }
}

/* ─── 13. FOOTER ────────────────────────────────────────────── */
#site-footer {
  background: #08080b;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 60px 5vw;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.footer-contact {
  display: flex;
  gap: 40px;
  margin-top: -10px;
}
.footer-contact-link {
  font-family: var(--font-main);
  font-size: .9rem;
  font-weight: 500;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .3s;
  opacity: 0.8;
}
.footer-contact-link:hover {
  color: var(--orange);
  opacity: 1;
}
.footer-contact-link span {
  font-size: 1.1rem;
}
.footer-logo { filter: brightness(0) invert(1) opacity(.4); }
.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,0.25);
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-family: var(--font-main);
  font-size: .78rem;
  color: rgba(255,255,255,0.3);
  transition: color .25s;
}
.footer-links a:hover { color: var(--white); }

/* ─── 14. RESPONSIVE MÓVIL ──────────────────────────────────── */
@media (max-width: 768px) {
  #scroll-container { height: 300vh; }

  .align-left, .align-right {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
    text-align: center !important;
  }
  .content-section, .cta-section {
    align-items: flex-end !important;
    padding-bottom: 32vh;
  }
  .section-inner, .cta-inner { max-width: 100%; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 14, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 80px 5vw 40px 5vw;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    z-index: 1400;
    transition: opacity .4s ease, visibility .4s, transform .4s ease;
  }
  .nav-links.open { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
  }
  .nav-links li { 
    width: 100%; 
    text-align: center; 
  }
  .nav-links a {
    display: block;
    padding: 22px 0;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: .08em;
    border-bottom: 1px solid rgba(255,255,255,0.03);
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }
  .nav-cta-btn {
    display: inline-block !important;
    margin-top: 30px;
    padding: 16px 40px !important;
    font-size: 1.05rem !important;
  }
  .nav-hamburger { display: flex; z-index: 1500; }

  .hero-title { font-size: clamp(3.5rem, 14vw, 7rem); }
  .hero-content { text-align: center; padding-left: 5vw; padding-right: 5vw; }
  .hero-sub { max-width: 100%; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr 1fr; }

  .marquee-wrap span { font-size: 16vw; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; width: 100%; }
}

/* ─── 15. TIENDA E-COMMERCE (NUEVO) ─────────────────────────── */
.store-section {
  background: var(--bg-dark);
  padding: 80px 5vw;
  position: relative;
  z-index: 10;
}
.store-header {
  text-align: center;
  margin-bottom: 40px;
}

/* ── Category Tabs ── */
.store-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.store-tab {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all .3s var(--transition);
  letter-spacing: 0.02em;
}
.store-tab:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.store-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ── Store Grid ── */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.store-grid.hidden {
  display: none;
}
.store-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--transition), border-color .3s;
  display: flex;
  flex-direction: column;
}
.store-item:hover {
  transform: translateY(-5px);
  border-color: rgba(240,139,26,0.3); /* Naranja hover */
}
.store-item-img {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: #15151b;
  overflow: hidden;
}
.store-item-img .img-primary,
.store-item-img .img-hover {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .4s ease;
}
.store-item-img .img-hover {
  opacity: 0;
}
.store-item:hover .store-item-img .img-primary {
  opacity: 0;
}
.store-item:hover .store-item-img .img-hover {
  opacity: 1;
}
/* Fallback for single images (logística, importados) */
.store-item-img > img:not(.img-primary):not(.img-hover) {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--transition);
}
.store-item:hover .store-item-img > img:not(.img-primary):not(.img-hover) {
  transform: scale(1.05);
}
.store-item-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.store-item-info h3 {
  font-family: var(--font-main);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}

/* ── Product Badges ── */
.store-item-badge {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  width: fit-content;
  background: rgba(41,50,125,0.3);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(41,50,125,0.4);
}
.store-item-badge.premium {
  background: rgba(240,139,26,0.15);
  color: var(--orange);
  border-color: rgba(240,139,26,0.3);
}
.store-item-badge.industrial {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.15);
}
.store-item-badge.import {
  background: rgba(128,170,141,0.15);
  color: #80AA8D;
  border-color: rgba(128,170,141,0.3);
}

/* ── Coming Soon Overlay ── */
.store-item.coming-soon .store-item-img {
  position: relative;
}
.coming-soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,14,18,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.coming-soon-overlay span {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
}
.add-to-cart-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.add-to-cart-btn.disabled:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.1);
}

.store-item-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}
.store-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.store-item-price {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--orange);
}
.add-to-cart-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.add-to-cart-btn:hover {
  background: var(--blue-light);
  color: var(--white);
  border-color: var(--blue-light);
}

/* ─── 16. CARRITO SIDEBAR (NUEVO) ───────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 400px;
  background: var(--bg-dark);
  border-left: 1px solid rgba(255,255,255,0.1);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  color: var(--white);
}
.cart-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.cart-close:hover { color: var(--white); }

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-empty {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 40px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.03);
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
}
.cart-item-info h4 {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 4px;
}
.cart-item-price {
  font-weight: 700;
  color: var(--orange);
  font-size: 0.9rem;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #ff4a4a;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0 5px;
  opacity: 0.7;
}
.cart-item-remove:hover { opacity: 1; }

.cart-footer {
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: #0b0b0e;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.cart-total span { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.cart-total strong {
  font-family: var(--font-main);
  font-size: 1.4rem;
  color: var(--white);
}

.cart-checkout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .3s;
}
.cart-checkout-btn:hover:not(:disabled) { background: #20ba59; }
.cart-checkout-btn:disabled {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.3);
  cursor: not-allowed;
}
.cart-checkout-btn svg { width: 20px; height: 20px; }

/* Botón flotante para el carrito */
.cart-fab {
  position: fixed;
  bottom: 28px; right: 100px; /* Al lado del botón de wp general */
  width: 58px; height: 58px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(41,50,125,0.35);
  z-index: 2000;
  transition: transform .3s, background .3s, opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.cart-fab.visible {
  opacity: 1;
  pointer-events: auto;
}
.cart-fab:hover { transform: translateY(-3px) scale(1.05); background: var(--blue-light); }
.cart-fab-badge {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: bold;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── 17. LIGHTBOX ─────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--transition), visibility .35s;
  padding: 20px;
}
.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-box {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 820px;
  width: 100%;
  max-height: 92vh;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  transform: scale(0.92) translateY(20px);
  transition: transform .4s var(--transition);
  position: relative;
}
.lightbox-overlay.open .lightbox-box {
  transform: scale(1) translateY(0);
}

/* Área de imagen principal */
.lightbox-img-wrap {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 40px 24px;
  flex: 1;
  min-height: 0;
  position: relative;
}
.lightbox-img-wrap img {
  max-height: 55vh;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity .25s ease, transform .35s var(--transition);
  border-radius: 4px;
}
.lightbox-img-wrap img.lb-fade {
  opacity: 0;
  transform: scale(0.96);
}

/* Miniaturas */
.lightbox-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 0 40px 20px;
  background: #fff;
}
.lightbox-thumb {
  width: 62px;
  height: 62px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
  flex-shrink: 0;
  background: #f0f0f0;
}
.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox-thumb:hover {
  transform: translateY(-2px);
  border-color: var(--blue-light);
}
.lightbox-thumb.active {
  border-color: var(--orange);
}

/* Info del producto */
.lightbox-info {
  background: var(--bg-dark);
  padding: 20px 40px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.lightbox-badge {
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 4px;
}
.lightbox-name {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2px;
}
.lightbox-price {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--orange);
}
.lightbox-price.price-consult {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* Botón agregar al carrito dentro del lightbox */
.lightbox-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .3s, transform .25s var(--transition), box-shadow .3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.lightbox-add-btn:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(41,50,125,0.4);
}
.lightbox-add-btn.consult {
  background: #25D366;
}
.lightbox-add-btn.consult:hover {
  background: #20ba59;
  box-shadow: 0 10px 30px rgba(37,211,102,0.3);
}

/* Botón cerrar */
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(0,0,0,0.08);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: #444;
  transition: background .2s, color .2s, transform .2s;
  z-index: 10;
  line-height: 1;
}
.lightbox-close:hover {
  background: rgba(0,0,0,0.15);
  color: #000;
  transform: rotate(90deg);
}

/* Navegación flechas */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.06);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: #333;
  transition: background .2s, transform .2s;
  z-index: 5;
}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-prev:hover  { background: rgba(0,0,0,0.14); transform: translateY(-50%) translateX(-2px); }
.lightbox-next:hover  { background: rgba(0,0,0,0.14); transform: translateY(-50%) translateX(2px); }
.lightbox-prev:disabled,
.lightbox-next:disabled { opacity: 0.2; cursor: default; }

/* Cursor pointer en imágenes de tienda */
.store-item-img { cursor: zoom-in; }

/* Responsive lightbox */
@media (max-width: 600px) {
  .lightbox-box { border-radius: 10px 10px 0 0; max-height: 95vh; align-self: flex-end; }
  .lightbox-overlay { padding: 0; align-items: flex-end; }
  .lightbox-img-wrap { padding: 24px 20px 16px; }
  .lightbox-img-wrap img { max-height: 45vh; }
  .lightbox-thumbs { padding: 0 20px 16px; }
  .lightbox-info { padding: 16px 20px 24px; flex-direction: column; align-items: flex-start; }
  .lightbox-add-btn { width: 100%; justify-content: center; }
}
