/* ===================================================
   TuFotoPuq - Estilos Principales
   www.tufotopuq.cl - Nueva Versión
   =================================================== */

/* ---- VARIABLES ---- */
:root {
  --primary: #f64774;
  --primary-dark: #d83159;
  --primary-light: #ff6b93;
  --secondary: #00a8b2;
  --secondary-dark: #00828a;
  --accent: #ff4757;
  --dark: #0d0d0d;
  --dark-2: #1a1a2e;
  --dark-3: #16213e;
  --gray-1: #f8f9fa;
  --gray-2: #e9ecef;
  --gray-3: #6c757d;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-light: #555;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 4px 20px rgba(248, 72, 116, 0.12);
  --shadow-hover: 0 12px 40px rgba(248, 72, 116, 0.25);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Poppins', sans-serif;
  --font-nav: 'Raleway', sans-serif;
  --topbar-h: 42px;
  --header-h: 80px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-1); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ====================================================
   TOP BAR
   ==================================================== */
#top-bar {
  background: var(--primary);
  color: var(--white);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  font-size: 12.5px;
  font-family: var(--font-nav);
  position: relative;
  z-index: 1001;
}
#top-bar .top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-bar-left, .top-bar-center, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-bar-left a, .top-bar-right a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.92;
  transition: opacity 0.2s;
  font-weight: 500;
}
.top-bar-left a:hover, .top-bar-right a:hover { opacity: 1; }
.top-bar-center {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.top-bar-right .social-icons { display: flex; gap: 10px; }
.top-bar-right .social-icons a {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  transition: background 0.2s;
}
.top-bar-right .social-icons a:hover { background: rgba(255,255,255,0.4); }

/* ====================================================
   HEADER / NAVBAR
   ==================================================== */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}
#header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo a {
  display: flex; align-items: center; gap: 10px;
}
.logo-text {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
}
.logo-text span:first-child { color: var(--primary); }
.logo-text span:last-child { color: var(--secondary); }
.logo-sub {
  font-size: 9px;
  font-weight: 500;
  color: var(--gray-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-top: 2px;
}

/* Main Nav */
#main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
#main-nav > li {
  position: relative;
}
#main-nav > li > a {
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
#main-nav > li > a:hover,
#main-nav > li.active > a {
  color: var(--primary);
  background: rgba(248, 72, 116, 0.08);
}
#main-nav > li > a .arrow {
  font-size: 9px;
  transition: transform 0.25s;
}
#main-nav > li:hover > a .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.16);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 999;
  border-top: 3px solid var(--primary);
}
#main-nav > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-family: var(--font-nav);
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.dropdown a:hover {
  background: rgba(248, 72, 116, 0.06);
  color: var(--primary);
  padding-left: 24px;
}
.dropdown a .cat-icon { font-size: 15px; width: 18px; text-align: center; }

/* Header CTA buttons */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-wa {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #25d366;
  color: var(--white);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-nav);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  white-space: nowrap;
}
.btn-wa:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}
.btn-upload {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--secondary);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-nav);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-upload:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  z-index: 1000;
}
.hamburger:hover { background: var(--gray-1); }
.hamburger span {
  width: 26px; height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark-2);
  z-index: 2000;
  overflow-y: auto;
  padding: 80px 24px 40px;
  flex-direction: column;
  gap: 0;
}
#mobile-menu.open { display: flex; }
#mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-close {
  position: absolute;
  top: 20px; right: 20px;
  color: var(--white);
  font-size: 28px;
  background: rgba(255,255,255,0.1);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.mobile-close:hover { background: rgba(255,255,255,0.2); }
.mobile-nav-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-item > a {
  display: flex;
  align-items: center;
  padding: 16px 0;
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-nav);
  transition: color 0.2s;
}
.mobile-nav-item > a:hover {
  color: var(--primary-light);
}
.mobile-toggle {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: auto;
  border-radius: 50%;
}
.mobile-toggle:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.mobile-sub {
  padding: 0 0 12px 16px;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.mobile-sub.open { display: flex; }
.mobile-sub a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  padding: 8px 0;
  display: flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.mobile-sub a:hover { color: var(--primary-light); }
.mobile-ctas {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ====================================================
   HERO SECTION
   ==================================================== */
#hero {
  min-height: 85vh;
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 40%, #0f1b35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-bg-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(248,72,116,0.25) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.hero-bg-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(61,145,219,0.2) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  animation-delay: 4s;
}
.hero-bg-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(248,72,116,0.15) 0%, transparent 70%);
  top: 50%; right: 20%;
  animation-delay: 2s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}
.hero-grid-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 5;
  width: 100%;
}
.hero-left-col {
  text-align: left;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(248, 72, 116, 0.15);
  border: 1px solid rgba(248, 72, 116, 0.3);
  color: var(--primary-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-title {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #ff6b9d 50%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.6;
}
.hero-ctas-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-hero-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(248,72,116,0.4);
  transition: var(--transition);
  text-decoration: none;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(248,72,116,0.55);
}
.btn-hero-secondary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  text-decoration: none;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.3);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: left;
}
.hero-stat.interactive-stat {
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
  user-select: none;
}
.hero-stat.interactive-stat:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 8px rgba(248, 72, 116, 0.4));
}
.hero-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: center;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

/* ============================================================
   3D HERO PHOTO COLLAGE CANVAS
   ============================================================ */
.hero-right-col {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}
.hero-photo-canvas {
  width: 100%;
  max-width: 460px;
  height: 480px;
  position: relative;
}

/* Photo hanging rope string */
.photo-hanging-string {
  position: absolute;
  top: 10px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: rgba(255,255,255,0.15);
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  z-index: 10;
}
.string-pin {
  position: absolute;
  top: -4px;
  width: 10px; height: 10px;
  background: #3a2818;
  border: 1px solid #5a3d25;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.pin-1 { left: 0; }
.pin-2 { right: 0; }

.hanging-polaroid {
  position: absolute;
  top: 0;
  width: 120px;
  z-index: 12;
  transform-origin: top center;
  transition: transform 0.4s ease;
}
.polaroid-left {
  left: 15%;
  animation: polaroidSwing 6s infinite ease-in-out;
}
.polaroid-right {
  right: 15%;
  animation: polaroidSwing 6.5s infinite ease-in-out -1.5s;
}

.hanging-pin {
  width: 12px; height: 22px;
  background: #c2a67e;
  border: 1px solid #9c7b50;
  border-radius: 2px;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.hanging-polaroid-inner {
  background: var(--white);
  padding: 6px 6px 14px 6px;
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  transform: rotate(-3deg);
  transition: transform 0.3s;
}
.polaroid-right .hanging-polaroid-inner {
  transform: rotate(4deg);
}
.hanging-polaroid-inner img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1px;
}
.hanging-caption {
  font-family: 'Dancing Script', cursive;
  font-size: 11px;
  color: #333;
  text-align: center;
  margin-top: 4px;
  font-weight: 700;
}

/* Hanging animation */
@keyframes polaroidSwing {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.hanging-polaroid:hover {
  z-index: 25;
  animation-play-state: paused;
}
.hanging-polaroid:hover .hanging-polaroid-inner {
  transform: scale(1.15) rotate(0deg);
  box-shadow: 0 15px 30px rgba(248,72,116,0.3);
}

/* 3D Floating Cards styles */
.canvas-product-card {
  position: absolute;
  background: var(--white);
  padding: 8px 8px 24px 8px;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s, z-index 0.5s;
  cursor: pointer;
}
.canvas-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.product-tag {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-nav);
  font-size: 10px;
  font-weight: 800;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Specific product positions for 3D stack */
.product-photobook {
  width: 200px;
  aspect-ratio: 1;
  bottom: 20px;
  left: 20px;
  transform: rotate(-10deg) translateZ(0);
  z-index: 3;
}
.product-calendar {
  width: 170px;
  aspect-ratio: 0.85;
  bottom: 120px;
  right: 15px;
  transform: rotate(8deg) translateZ(0);
  z-index: 2;
}
.product-enlargement {
  width: 210px;
  aspect-ratio: 1.2;
  bottom: -15px;
  right: 40px;
  transform: rotate(-4deg) translateZ(0);
  z-index: 4;
}

/* Glossy light streak effect */
.canvas-gloss-shine {
  position: absolute;
  top: 0; left: -150%;
  width: 100%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 70%,
    transparent 100%
  );
  transform: skewX(-25deg);
  z-index: 10;
  pointer-events: none;
}

/* Hover behaviors for 3D cards */
.canvas-product-card:hover {
  z-index: 20;
  box-shadow: 0 30px 60px rgba(61, 145, 219, 0.4);
}
.product-photobook:hover {
  transform: scale(1.18) rotate(-4deg) translateY(-20px);
}
.product-calendar:hover {
  transform: scale(1.18) rotate(4deg) translateY(-20px);
}
.product-enlargement:hover {
  transform: scale(1.18) rotate(0deg) translateY(-25px);
}

.canvas-product-card:hover .canvas-gloss-shine {
  animation: lightStreak 0.85s ease-out forwards;
}
@keyframes lightStreak {
  0% { left: -150%; }
  100% { left: 150%; }
}

@media (max-width: 1023px) {
  #hero {
    padding: 100px 24px 60px 24px;
    text-align: center;
  }
  .hero-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .hero-left-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas-wrap {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    gap: 30px;
  }
  .hero-stat {
    text-align: center;
  }
  .hero-photo-canvas {
    margin: 0 auto;
    max-width: 400px;
    height: 420px;
  }
  .product-photobook {
    width: 170px;
  }
  .product-calendar {
    width: 145px;
    bottom: 100px;
  }
  .product-enlargement {
    width: 180px;
  }
}
@media (max-width: 600px) {
  .hero-stats {
    gap: 20px;
  }
  .hero-stat-num {
    font-size: 20px;
  }
  .hero-photo-canvas {
    max-width: 320px;
    height: 350px;
  }
  .hanging-polaroid {
    width: 90px;
  }
  .product-photobook {
    width: 130px;
    bottom: 10px;
  }
  .product-calendar {
    width: 110px;
    bottom: 80px;
  }
  .product-enlargement {
    width: 140px;
  }
}


/* ====================================================
   SECTION BASES
   ==================================================== */
section { padding: 80px 24px; }
.container {
  max-width: 1280px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  background: rgba(248, 72, 116, 0.1);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-title .pink { color: var(--primary); }
.section-desc {
  color: var(--text-light);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}

/* ====================================================
   CATEGORÍAS
   ==================================================== */
#categorias { background: var(--gray-1); }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.cat-card:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 12px 32px rgba(61, 145, 219, 0.12); 
  border-color: var(--secondary-light); 
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-card.active {
  border-color: var(--primary);
  background: linear-gradient(to bottom, rgba(248,72,116,0.06) 0%, rgba(61,145,219,0.03) 100%);
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 16px 36px rgba(248, 72, 116, 0.18);
}
.cat-card.active::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.cat-card.active .cat-name {
  color: var(--primary);
  font-weight: 800;
}
.cat-card.active .cat-count {
  color: var(--secondary);
  font-weight: 600;
}
.cat-icon-wrap {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(248,72,116,0.08), rgba(61,145,219,0.08));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 26px;
  transition: var(--transition);
}
.cat-card:hover .cat-icon-wrap {
  background: linear-gradient(135deg, rgba(248,72,116,0.15), rgba(61,145,219,0.15));
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(61, 145, 219, 0.18);
}
.cat-card.active .cat-icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 4px 15px rgba(248, 72, 116, 0.25);
  transform: scale(1.05);
}
.cat-card:hover .cat-emoji {
  animation: emojiWiggle 0.65s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
.cat-card.active .cat-emoji {
  transform: scale(1.18);
}
@keyframes emojiWiggle {
  0% { transform: scale(1) rotate(0deg); }
  15% { transform: scale(1.35) rotate(-14deg); }
  30% { transform: scale(1.35) rotate(16deg); }
  45% { transform: scale(1.35) rotate(-12deg); }
  60% { transform: scale(1.35) rotate(10deg); }
  75% { transform: scale(1.35) rotate(-6deg); }
  100% { transform: scale(1.25) rotate(0deg); }
}
.cat-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}
.cat-count {
  font-size: 11px;
  color: var(--gray-3);
  margin-top: 4px;
}

/* ====================================================
   FILTRO + PRODUCTOS
   ==================================================== */
#productos { padding-top: 60px; }
.filter-bar-wrapper {
  display: none;
}
.filter-scroll-btn {
  display: none;
}
.filter-bar {
  display: none; /* Oculto en desktop por redundancia con .cats-grid */
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  padding: 16px 20px;
  background: var(--gray-1);
  border-radius: var(--radius);
}
.filter-btn {
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-nav);
  color: var(--text-light);
  background: var(--white);
  border: 1.5px solid var(--gray-2);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap; /* Previene saltos de línea al hacer scroll horizontal */
  flex-shrink: 0;
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(248,72,116,0.05);
}
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(248,72,116,0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.product-card.hidden { display: none; }

.product-badge {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  z-index: 3;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 14px 6px;
  border-radius: 4px 0 0 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: -2px -2px 6px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-right: 3px solid rgba(0,0,0,0.2);
}
.product-badge.badge-promo { 
  background: var(--primary);
}
.product-badge.badge-rec { 
  background: var(--secondary);
}
.product-badge.badge-new { 
  background: #333333;
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-1);
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

.product-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248,72,116,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
.product-card:hover .product-img-overlay { opacity: 1; }
.btn-view-product {
  background: var(--white);
  color: var(--primary);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-nav);
  display: flex; align-items: center; gap: 6px;
  transform: translateY(10px);
  transition: var(--transition);
}
.product-card:hover .btn-view-product { transform: translateY(0); }

.product-info {
  padding: 16px 16px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  font-family: var(--font-nav);
}
.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
  text-align: center;
}
.product-short-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--gray-2);
}
.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-main);
}
.product-price small {
  font-size: 11px;
  color: var(--gray-3);
  font-weight: 500;
  display: block;
  line-height: 1;
}
.btn-wa-product {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: var(--white);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-nav);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-wa-product:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,211,102,0.35);
}

/* ====================================================
   PACKS PROMO SECTION
   ==================================================== */
#packs-promo {
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
  position: relative;
  overflow: hidden;
}
#packs-promo::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(248,72,116,0.15) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
#packs-promo .section-title { color: var(--white); }
#packs-promo .section-tag { background: rgba(248,72,116,0.2); }

.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 2;
}
.pack-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  backdrop-filter: blur(20px);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.pack-card::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at center, rgba(248,72,116,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.pack-card:hover { transform: translateY(-8px); border-color: var(--primary); }
.pack-card:hover::before { opacity: 1; }
.pack-badge {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  z-index: 3;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 14px 6px;
  border-radius: 4px 0 0 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: -2px -2px 6px rgba(0,0,0,0.15);
  border-right: 3px solid rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  gap: 6px;
}
.pack-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.pack-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.pack-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.pack-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 16px;
  line-height: 1;
}
.btn-pack-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: var(--white);
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
  width: fit-content;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
  position: relative;
  z-index: 2;
}
.btn-pack-wa:hover { 
  background: #1db954; 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}


/* ====================================================
   HOW IT WORKS
   ==================================================== */
#como-funciona { background: var(--gray-1); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}
@media (min-width: 901px) {
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 12%;
    right: 12%;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--gray-2), var(--gray-2) 10px, transparent 10px, transparent 20px);
    z-index: 1;
    transform: translateY(-50%);
    pointer-events: none;
  }
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-2);
  z-index: 2;
}
.step-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2.5px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.step-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}
.step-card:hover::after {
  opacity: 1;
}
.step-num {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(248,72,116,0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}
.step-card:hover .step-num {
  transform: translateX(-50%) scale(1.15);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 6px 16px rgba(61,145,219,0.4);
}
.step-icon {
  margin-bottom: 20px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}
.modern-step-svg {
  width: 52px;
  height: 52px;
  stroke: var(--primary);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 4px 8px rgba(248,72,116,0.15));
}
.step-card:hover .modern-step-svg {
  transform: scale(1.18) translateY(-4px) rotate(4deg);
  filter: drop-shadow(0 8px 16px rgba(61,145,219,0.3));
  stroke: var(--secondary);
}
.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ====================================================
   CTA WHATSAPP BAND
   ==================================================== */
#cta-whatsapp {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-whatsapp::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -150px; right: -100px;
}
#cta-whatsapp::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -100px; left: -80px;
}
#cta-whatsapp .inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
#cta-whatsapp h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
#cta-whatsapp p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  margin-bottom: 28px;
}
.btn-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--primary);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 800;
  font-family: var(--font-nav);
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-cta-wa:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0,0,0,0.3);
}

/* ====================================================
   INSTAGRAM / SOCIAL
   ==================================================== */
#social-cta {
  background: var(--dark);
  padding: 60px 24px;
  text-align: center;
}
#social-cta h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
#social-cta p { color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.social-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-instagram {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-instagram:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(220,39,67,0.4); }
.btn-facebook {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1877f2;
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-facebook:hover { background: #166fe5; transform: translateY(-3px); }

/* ====================================================
   FOOTER
   ==================================================== */
footer {
  background: linear-gradient(to bottom, var(--dark-2), #111);
  color: var(--white);
  padding: 80px 24px 30px;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand .logo-text { font-size: 24px; margin-bottom: 12px; }
.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--white);
}
.footer-social a:hover { 
  background: var(--primary); 
  transform: translateY(-4px); 
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  font-family: var(--font-nav);
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 12px;
}
.footer-col ul li a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-col ul li a:hover { 
  color: var(--primary-light); 
  padding-left: 18px;
}
.footer-col ul li a:hover::before {
  color: var(--secondary-light);
  left: 6px;
}
.footer-col .contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.footer-col .contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-col .contact-item a { color: inherit; transition: color 0.2s; }
.footer-col .contact-item a:hover { color: var(--primary-light); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}
.footer-bottom a { color: var(--primary-light); font-weight: 500; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--white); }

/* ====================================================
   MODAL PRODUCTO
   ==================================================== */
#product-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 29, 0.7);
  z-index: 5000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(12px);
  transition: opacity 0.3s ease;
}
#product-modal.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(13, 13, 29, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.93) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-drag-handle {
  display: none;
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 38px; height: 38px;
  background: rgba(13, 13, 29, 0.05);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}
.modal-close:hover { 
  background: var(--primary); 
  color: var(--white); 
  transform: rotate(90deg); 
  box-shadow: 0 4px 12px rgba(246, 71, 116, 0.3);
}
.modal-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  width: 100%;
}
.modal-img-side { 
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26,26,46,0.03) 0%, rgba(22,33,62,0.01) 100%), #f8f9fa;
  padding: 30px;
  overflow: hidden;
  border-right: 1px solid var(--gray-2);
}
.modal-img-side img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--white);
  padding: 8px;
  border: 1px solid rgba(0,0,0,0.02);
}
.modal-img-side:hover img {
  transform: scale(1.04) translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.modal-info-side { 
  padding: 40px 36px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal-category {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  font-family: var(--font-nav);
  background: rgba(246, 71, 116, 0.06);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(246, 71, 116, 0.12);
}
.modal-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark-2);
  margin-bottom: 14px;
  line-height: 1.3;
  font-family: var(--font-main);
  letter-spacing: -0.5px;
}
.modal-price {
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
  font-family: var(--font-main);
  letter-spacing: -0.8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.modal-price::after {
  content: 'CLP';
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-3);
  -webkit-text-fill-color: initial;
  background: none;
  letter-spacing: 1px;
}
.modal-short-desc {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 22px;
  padding: 14px 18px;
  background: rgba(246, 71, 116, 0.03);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
  text-align: justify;
}
.modal-long-desc {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
  text-align: justify;
}
.modal-long-desc h3, .modal-long-desc h4 {
  font-weight: 700;
  color: var(--dark-2);
  margin: 16px 0 8px;
  font-family: var(--font-main);
}
.modal-long-desc ul { padding-left: 18px; list-style: disc; margin: 8px 0; }
.modal-long-desc ul li { margin-bottom: 6px; }
.modal-long-desc p { margin-bottom: 10px; }
.modal-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.btn-modal-wa {
  flex: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366 0%, #1ebd51 100%);
  color: var(--white);
  height: 48px;
  padding: 0 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-nav);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}
.btn-modal-wa:hover { 
  background: linear-gradient(135deg, #22c35e 0%, #1aa647 100%);
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}
.btn-modal-upload {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  height: 48px;
  padding: 0 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 168, 178, 0.2);
}
.btn-modal-upload:hover { 
  background: linear-gradient(135deg, #00939c 0%, #007077 100%);
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(0, 168, 178, 0.35);
}
.btn-modal-share {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gray-1);
  border: 1px solid var(--gray-2);
  color: var(--text);
  height: 48px;
  padding: 0 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-modal-share:hover {
  background: var(--dark-2);
  color: var(--white);
  border-color: var(--dark-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(26, 26, 46, 0.15);
}

/* ====================================================
   SISTEMA DE TOAST NOTIFICATIONS (TOASTS)
   ==================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.toast-notification {
  background: rgba(26, 26, 46, 0.96);
  backdrop-filter: blur(10px);
  border-left: 4px solid var(--primary);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(13, 13, 29, 0.3);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 320px;
  max-width: 440px;
  pointer-events: auto;
  animation: toastSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.toast-notification.hide {
  animation: toastSlideOut 0.3s ease forwards;
}
.toast-icon {
  width: 38px; height: 38px;
  background: rgba(246, 71, 116, 0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-light);
  font-size: 16px;
  flex-shrink: 0;
}
.toast-content {
  flex-grow: 1;
}
.toast-title {
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 2px;
  font-family: var(--font-main);
  letter-spacing: -0.2px;
}
.toast-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.4;
}
@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(40px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastSlideOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-20px) scale(0.9); }
}

/* ====================================================
   FLOATING WA BUTTON
   ==================================================== */
#float-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  z-index: 999;
  animation: pulse 2.5s ease-in-out infinite;
  transition: var(--transition);
}
#float-wa:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37,211,102,0.6); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 24px rgba(37,211,102,0.5), 0 0 0 12px rgba(37,211,102,0.12); }
}

/* ====================================================
   SCROLL ANIMATIONS
   ==================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.fade-in.visible { opacity: 1; }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .product-name { font-size: 18px; }
}

@media (max-width: 900px) {
  #main-nav, .header-ctas { display: none; }
  .hamburger { display: flex; }
  
  /* Modal Tablet adjustments */
  .modal-content { grid-template-columns: 1fr; }
  .modal-img-side img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 300px; }
  .modal-info-side { padding: 30px 24px; }
}

@media (max-width: 768px) {
  #top-bar .top-bar-inner { padding: 0 16px; }
  .top-bar-left { display: none; }
  .top-bar-center { display: none; }
  section { padding: 60px 16px; }
  .cats-grid { 
    display: none !important; /* Oculto en mobile para ahorrar espacio vertical */
  }
  .filter-bar-wrapper {
    position: relative;
    width: 100%;
    display: flex !important;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 4px;
  }
  
  .filter-bar {
    display: flex !important; /* Visible en mobile */
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 14px;
    gap: 8px;
    margin-bottom: 0 !important; /* El margen ahora lo maneja el wrapper */
    scrollbar-width: none; /* Firefox */
    scroll-behavior: smooth;
    width: 100%;
  }
  .filter-bar::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  .filter-scroll-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0,0,0,0.06);
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    visibility: hidden;
  }
  
  .filter-scroll-btn.visible {
    opacity: 1;
    visibility: visible;
  }
  
  .filter-scroll-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 18px rgba(248,72,116,0.35);
    transform: translateY(-50%) scale(1.08);
  }
  
  .filter-scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
  }
  
  .filter-scroll-btn.scroll-left {
    left: 4px;
  }
  
  .filter-scroll-btn.scroll-right {
    right: 4px;
  }
  
  /* Máscaras de gradiente laterales premium */
  .filter-bar-wrapper::before,
  .filter-bar-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 45px;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s ease;
    opacity: 0;
  }
  
  .filter-bar-wrapper.has-scroll-left::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 10%, transparent 100%);
    opacity: 1;
  }
  
  .filter-bar-wrapper.has-scroll-right::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 10%, transparent 100%);
    opacity: 1;
  }
  .footer-inner { 
    grid-template-columns: 1fr; 
    gap: 36px; 
    text-align: center;
  }
  .footer-brand, .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-col ul li a {
    justify-content: center;
    padding-left: 0;
  }
  .footer-col ul li a::before {
    display: none;
  }
  .footer-col ul li a:hover {
    padding-left: 0;
    transform: scale(1.05);
  }
  .footer-col .contact-item {
    justify-content: center;
    text-align: center;
  }
  .hero-stats { gap: 20px; }
  .hero-divider { display: none; }

  /* Modal Bottom-Sheet Mobile adjustments */
  #product-modal { padding: 0; align-items: flex-end; }
  .modal-box { 
    max-height: 90vh; 
    border-radius: 24px 24px 0 0; 
    width: 100%;
    animation: bottomSheetIn 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  @keyframes bottomSheetIn {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
  .modal-drag-handle {
    display: block;
    width: 44px;
    height: 5px;
    background: var(--gray-3);
    opacity: 0.25;
    border-radius: 3px;
    margin: 12px auto 0 auto;
    flex-shrink: 0;
  }
  .modal-close { 
    top: 14px; right: 14px; 
    width: 36px; height: 36px; 
    font-size: 14px; 
    background: var(--gray-1); 
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); 
  }
  .modal-img-side { display: none !important; } /* Ocultar imagen en móvil según decisión del cliente */
  .modal-content { grid-template-columns: 1fr; }
  .modal-info-side { padding: 28px 20px 36px 20px; }
  .modal-title { font-size: 22px; margin-bottom: 8px; }
  .modal-price { font-size: 26px; margin-bottom: 14px; }
  .modal-short-desc { padding: 12px 14px; font-size: 13.5px; margin-bottom: 16px; border-left: 4px solid var(--primary); }
  .modal-long-desc { font-size: 13.5px; margin-bottom: 20px; }
  
  /* Botones en cuadrícula premium para móviles */
  .modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
    width: 100%;
  }
  .btn-modal-wa {
    grid-column: 1 / span 2;
    width: 100% !important;
    height: 48px;
    font-size: 14px;
  }
  .btn-modal-upload, .btn-modal-share {
    grid-column: auto;
    width: 100% !important;
    height: 46px;
    font-size: 12.5px;
    padding: 0 10px;
  }

  /* FAQ Accordion mobile adjustments */
  .accordion-header {
    padding: 16px 18px;
    font-size: 14.5px;
  }
  .accordion-header h3 {
    font-size: 14.5px;
  }
  .accordion-content {
    padding: 12px 18px 18px 18px;
    font-size: 13.5px;
  }
}

@media (max-width: 600px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; gap: 16px; }
  .packs-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-name { font-size: 16px; }
  .product-price { font-size: 18px; }
  .btn-wa-product { padding: 8px 14px; font-size: 12px; }
  .filter-bar { padding: 10px 12px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  
  /* Modal smallest phones adjustments */
  .modal-info-side { padding: 28px 16px 36px 16px; }
}

/* ===================================================
   ACCORDION FAQ
   =================================================== */
.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.accordion-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
}
.accordion-item.active {
  box-shadow: var(--shadow-card-hover);
}
.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-main);
  text-align: left;
  transition: var(--transition);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  gap: 16px;
}
.accordion-header:hover {
  color: var(--primary);
}
.accordion-item.active .accordion-header {
  border-bottom-color: var(--gray-2);
  color: var(--primary);
}
.accordion-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--gray-1);
}
.accordion-content {
  padding: 16px 24px 24px 24px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-light);
}

/* ============================================================
   ACTIVE FILTER STATUS BANNER
   ============================================================ */
.filter-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(248, 72, 116, 0.04) 0%, rgba(61, 145, 219, 0.02) 100%);
  border: 1.5px dashed rgba(248, 72, 116, 0.25);
  border-radius: var(--radius);
  padding: 14px 24px;
  margin-top: 30px;
  margin-bottom: 20px;
  animation: fadeInDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0,0,0,0.02);
}
.filter-status-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  font-family: var(--font-main);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-status-text strong {
  color: var(--primary);
  background: rgba(248, 72, 116, 0.08);
  border: 1px solid rgba(248, 72, 116, 0.15);
  padding: 3px 10px;
  border-radius: 50px;
  margin: 0 4px;
  font-family: var(--font-nav);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.filter-status-clear {
  background: var(--white);
  border: 1.5px solid var(--gray-2);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 4px;
}
.filter-status-clear:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(248, 72, 116, 0.35);
  transform: translateY(-2px);
}
.filter-status-clear:active {
  transform: translateY(0);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .filter-status-banner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px;
  }
  .filter-status-text {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
  }
  .filter-status-clear {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   MODERN UPLOADER CTA SECTION
   ============================================================ */
.section-uploader-cta {
  background: radial-gradient(circle at 80% 20%, rgba(61,145,219,0.08) 0%, transparent 50%),
              linear-gradient(135deg, #0e1726 0%, var(--dark-3) 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 100px 24px;
}
.uploader-cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 3;
}
.uploader-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(61,145,219,0.3) 0%, rgba(248,72,116,0.2) 100%);
  border: 1.5px solid rgba(61,145,219,0.6);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(61, 145, 219, 0.25);
  backdrop-filter: blur(5px);
}
.uploader-cta-badge svg {
  color: var(--secondary-light);
  filter: drop-shadow(0 0 4px rgba(61, 145, 219, 0.6));
}
.uploader-cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.uploader-cta-title .highlight-blue {
  color: var(--secondary-light) !important;
  -webkit-text-fill-color: var(--secondary-light) !important;
  text-shadow: 0 0 8px rgba(61, 145, 219, 0.4);
  display: inline-block;
}
.uploader-cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 620px;
}
.uploader-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.uploader-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 600;
  font-size: 14.5px;
}
.uploader-benefit-icon {
  width: 32px;
  height: 32px;
  background: rgba(61,145,219,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-light);
  font-size: 16px;
  flex-shrink: 0;
}
.btn-uploader-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(61,145,219,0.4);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulseButton 2.5s infinite;
}
.btn-uploader-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(61,145,219,0.6);
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
}
@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(61,145,219,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(61,145,219,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,145,219,0); }
}

/* Glassmorphism Interactive Upload UI Mockup */
.uploader-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  aspect-ratio: 0.85;
}
.uploader-mockup-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(15px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 14px;
}
.mockup-logo {
  font-family: var(--font-nav);
  font-weight: 800;
  font-size: 13px;
  color: var(--white);
  letter-spacing: 0.5px;
}
.mockup-logo span { color: var(--secondary-light); }
.mockup-status {
  font-size: 11px;
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mockup-status::before {
  content: '';
  width: 6px; height: 6px;
  background: #25d366;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.mockup-dropzone {
  border: 2px dashed rgba(61,145,219,0.4);
  background: rgba(61,145,219,0.03);
  border-radius: 16px;
  padding: 30px 16px;
  text-align: center;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.mockup-dropzone-icon {
  font-size: 32px;
  animation: bounceArrow 2s infinite ease-in-out;
}
@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.mockup-dropzone-text {
  font-size: 12.5px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}
.mockup-dropzone-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
}

.mockup-progress-wrap {
  margin-top: auto;
}
.mockup-progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}
.mockup-progress-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
  border-radius: 10px;
  animation: progressFill 4s infinite ease-in-out;
}
@keyframes progressFill {
  0% { width: 10%; }
  50% { width: 92%; }
  80% { width: 92%; }
  100% { width: 10%; }
}
.mockup-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

/* Floating Photo assets around the mockup */
.mockup-photo-float {
  position: absolute;
  width: 90px;
  aspect-ratio: 0.85;
  background: var(--white);
  padding: 6px 6px 14px 6px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  z-index: 3;
  transition: transform 0.3s;
  pointer-events: none;
}
.mockup-photo-float img {
  width: 100%; height: 75%;
  object-fit: cover;
  border-radius: 4px;
}
.mockup-photo-1 {
  top: -15px; left: -30px;
  transform: rotate(-12deg);
  animation: floatPhoto1 5s infinite ease-in-out;
}
.mockup-photo-2 {
  bottom: -15px; right: -25px;
  transform: rotate(14deg);
  animation: floatPhoto2 6s infinite ease-in-out;
}
@keyframes floatPhoto1 {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(-10deg) translateY(-8px); }
}
@keyframes floatPhoto2 {
  0%, 100% { transform: rotate(14deg) translateY(0); }
  50% { transform: rotate(16deg) translateY(-10px); }
}

@media (max-width: 900px) {
  .uploader-cta-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .uploader-cta-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .uploader-benefits-list {
    max-width: 500px;
    margin: 0 auto 30px auto;
  }
  .uploader-mockup-wrap {
    max-width: 320px;
  }
}
@media (max-width: 600px) {
  .uploader-benefits-list {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }
  .btn-uploader-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   CATEGORIES DIVIDER LINE
   ============================================================ */
.cats-divider {
  height: 2px;
  width: 100%;
  max-width: 1200px;
  margin: 50px auto 35px auto;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(248, 72, 116, 0.08) 15%, 
    rgba(248, 72, 116, 0.4) 40%, 
    rgba(61, 145, 219, 0.4) 60%, 
    rgba(61, 145, 219, 0.08) 85%, 
    transparent 100%
  );
  position: relative;
  border-radius: 50%;
}
.cats-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--primary);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: dividerPulse 3s infinite ease-in-out;
}
@keyframes dividerPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 8px var(--primary);
    background: var(--primary);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.35);
    box-shadow: 0 0 16px var(--secondary-light);
    background: var(--secondary-light);
  }
}

/* ============================================================
   TUFOTOCABINA PROMO SECTION
   ============================================================ */
.section-cabina-promo {
  padding: 100px 24px;
  background: radial-gradient(circle at 10% 80%, rgba(248,72,116,0.08) 0%, transparent 50%),
              linear-gradient(135deg, var(--dark-3) 0%, #0e1726 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cabina-promo-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.camera-flash-effect {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ffffff;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease-out;
}
.camera-flash-effect.flash-active {
  opacity: 1;
}

.cabina-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(248,72,116,0.2) 0%, rgba(61,145,219,0.15) 100%);
  border: 1.5px solid rgba(248,72,116,0.3);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(248,72,116,0.15);
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: badgeDotPulse 1.5s infinite;
}
@keyframes badgeDotPulse {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(248,72,116,0.6); }
  70% { transform: scale(1.4); opacity: 0.4; box-shadow: 0 0 0 6px rgba(248,72,116,0); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(248,72,116,0); }
}

.cabina-promo-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
}
.cabina-promo-title .highlight-gradient {
  color: var(--primary-light) !important;
  -webkit-text-fill-color: var(--primary-light) !important;
  text-shadow: 0 0 8px rgba(248, 72, 116, 0.4);
  display: inline-block;
}
.cabina-promo-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 30px;
}

.cabina-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.cabina-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 16px 20px;
  border-radius: 16px;
  transition: var(--transition);
}
.cabina-feature-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(248,72,116,0.2);
  transform: translateY(-2px);
}
.cabina-feature-card .feature-emoji {
  font-size: 26px;
  line-height: 1;
  margin-top: 2px;
}
.cabina-feature-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.cabina-feature-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin: 0;
}

.btn-cabina-promo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, #d82b52 100%);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(248,72,116,0.35);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.btn-cabina-promo:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(248,72,116,0.55);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

/* Photobooth Machine Mockup styling */
.photobooth-machine {
  background: linear-gradient(to bottom, #1f2a3a 0%, #111a24 100%);
  border: 4px solid #2d3b4f;
  border-radius: 30px;
  padding: 30px 24px 20px 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 2px 5px rgba(255,255,255,0.1);
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.photobooth-top-lens {
  width: 80px; height: 80px;
  background: #0b1118;
  border: 6px solid #2d3b4f;
  border-radius: 50%;
  margin: 0 auto 24px auto;
  position: relative;
  box-shadow: 0 0 15px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lens-glass {
  width: 44px; height: 44px;
  background: radial-gradient(circle at 30% 30%, #466380 0%, #152230 70%, #000000 100%);
  border-radius: 50%;
  position: relative;
}
.lens-glow {
  position: absolute;
  top: 10px; right: 10px;
  width: 12px; height: 12px;
  background: rgba(255,255,255,0.5);
  filter: blur(1px);
  border-radius: 50%;
}

.photobooth-screen-wrap {
  position: relative;
  background: #000;
  border-radius: 16px;
  border: 3px solid #2d3b4f;
  aspect-ratio: 1.3;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.9);
  margin-bottom: 24px;
}
.pb-screen-live {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.photobooth-countdown {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.65);
  color: var(--white);
  font-size: 80px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  font-family: var(--font-nav);
}
@keyframes countdownPulse {
  0% { transform: scale(0.6); opacity: 0; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0; }
}

.photobooth-success {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37, 211, 102, 0.85);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  font-family: var(--font-nav);
  text-transform: uppercase;
  text-align: center;
}

.btn-shoot-camera {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(248,72,116,0.5);
  transition: var(--transition);
  font-family: var(--font-nav);
  letter-spacing: 0.5px;
  z-index: 4;
}
.btn-shoot-camera:hover {
  background: var(--primary-light);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 20px rgba(248,72,116,0.7);
}
.btn-shoot-camera:disabled {
  background: var(--gray-3);
  cursor: not-allowed;
  box-shadow: none;
}

/* Printer mechanism styling */
.photobooth-printer-slot {
  position: relative;
  background: #0c1219;
  height: 12px;
  border-radius: 6px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.8);
  margin-top: 10px;
  display: flex;
  justify-content: center;
}
.printer-line {
  width: 85%; height: 2px;
  background: #ff3b30;
  box-shadow: 0 0 8px #ff3b30;
  position: absolute;
  top: 5px;
  border-radius: 1px;
}

/* Printed Polaroid Slide out style */
.printed-polaroid-card {
  position: absolute;
  top: 6px;
  width: 170px;
  aspect-ratio: 0.82;
  background: var(--white);
  border-radius: 6px;
  padding: 8px 8px 16px 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: translateY(-80%) scale(0.6);
  opacity: 0;
  z-index: 1;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
  pointer-events: none;
}
.printed-polaroid-card img {
  width: 100%; height: 75%;
  object-fit: cover;
  border-radius: 3px;
}
.polaroid-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  text-align: center;
}
.polaroid-caption span {
  font-family: 'Dancing Script', cursive;
  font-size: 13px;
  color: #333;
  font-weight: 700;
}
.btn-polaroid-visit {
  font-size: 9px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  font-family: var(--font-nav);
}
.btn-polaroid-visit:hover {
  text-decoration: underline;
}

/* Slide out state */
.printed-polaroid-card.slide-out {
  transform: translateY(12px) scale(1) rotate(-4deg);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .cabina-promo-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .cabina-features-grid {
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .btn-cabina-promo {
    width: 100%;
    justify-content: center;
  }
}



