:root {
  --bg: #f3f5fb;
  --text: #171225;
  --muted: #5b4d7a;
  --surface: #ffffff;
  --surface-2: #eee8fb;
  --primary: #6930c3;
  --primary-strong: #4e1d98;
  --accent: #15c26b;
  --ok: #14a44d;
  --ring: rgba(105, 48, 195, 0.28);
  --shadow: 0 14px 36px rgba(52, 24, 88, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(59, 130, 246, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 88% 82%, rgba(139, 92, 246, 0.04) 0%, transparent 45%),
    radial-gradient(rgba(15, 23, 42, 0.035) 1.2px, transparent 1.2px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
  cursor: auto;
}

/* Glow Orbs Ambientales Globales */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  /* Optimización: Se quita el blur CSS pesado por renderizar nativamente con el gradiente radial */
  /* filter: blur(120px); */
  opacity: 0.32;
  animation: floatOrb 25s infinite alternate ease-in-out;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.orb-purple {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(105, 48, 195, 0.15) 0%, transparent 70%);
  top: -10%;
  left: -5%;
}

.orb-blue {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  bottom: -15%;
  right: -10%;
  animation-delay: -7s;
}

@keyframes floatOrb {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(80px, 60px, 0) scale(1.15); }
}

body * {
  cursor: auto;
}

a,
button,
select,
[role="button"],
[data-product-id],
[data-modal-media-index] {
  cursor: pointer;
}


/* --- OPTIMIZACION DE LOGO CORPORATIVO --- */
.cs-logo-container {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--surface-2, #eee8fb) !important;
  overflow: hidden !important;
}

.cs-logo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 5px !important;
  transition: opacity 0.3s ease;
}

.cs-logo-text-fallback {
  font-weight: 800 !important;
  color: var(--primary) !important;
  user-select: none;
}

input[type="search"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
  cursor: text;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
strong,
small,
li,
label,
.lead,
.desc,
.card-copy,
.footer-copy,
.footer-note,
.msg-body,
.msg-note,
.msg-action-detail,
.modal-description {
  cursor: auto;
}

input[type="checkbox"],
input[type="radio"],
input[type="file"],
label,
summary {
  cursor: pointer;
}

[draggable="true"],
.modal-thumb,
.section-card,
.product-name-btn {
  cursor: grab;
}

:disabled,
[aria-disabled="true"],
.sold-out {
  cursor: not-allowed;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(var(--hero-angle, 125deg), var(--hero-start, #2d1150) 0%, var(--hero-mid, #502187) 50%, var(--hero-end, #167c56) 100%);
  color: #fff;
  padding-bottom: 50px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(46vw, 600px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: var(--hero-watermark-image, url("./favicon.svg")) center / contain no-repeat;
  opacity: var(--hero-watermark-opacity, 0.08);
  pointer-events: none;
  z-index: 0;
  filter: saturate(0) brightness(1.8);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 42%),
    linear-gradient(125deg, rgba(45, 17, 80, 0.18), rgba(80, 33, 135, 0.08), rgba(22, 124, 86, 0.18));
  pointer-events: none;
  z-index: 0;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
  background: rgb(15, 23, 42); /* Optimizado a color sólido para eliminar consumo de CPU innecesario */
  /* backdrop-filter: blur(25px); 
  -webkit-backdrop-filter: blur(25px); */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

body.dark-mode .main-header {
  background: rgb(9, 6, 17); /* Optimizado a sólido */
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.main-header.scrolled {
  background: rgb(15, 23, 42); /* Optimizado */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .main-header.scrolled {
  background: rgb(9, 6, 17); /* Optimizado */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  justify-content: center;
  /* Agrupar todo al centro */
  align-items: center;
  gap: 60px;
  /* Espacio controlado entre los 3 bloques */
  padding: 24px 55px;
  /* Compactado inicial premium */
  width: 100%;
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled .header-inner {
  padding: 12px 55px; /* Encojimiento bonito al hacer scroll */
}

/* IZQUIERDA: BRANDING */
.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand-pro {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-square {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font: 800 24px "Outfit", sans-serif;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
  flex-shrink: 0;
}

.brand-info-wrap h1 {
  font: 800 1.3rem "Outfit", sans-serif;
  color: #fff;
  margin: 0;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.brand-info-wrap p {
  font: 500 0.75rem "Outfit", sans-serif;
  color: #94a3b8;
  margin: 2px 0 0 0;
  opacity: 0.8;
  white-space: nowrap;
}

.brand-info-wrap p span {
  color: #10b981;
  font-weight: 700;
}

/* CENTRO: NAVEGACIÓN CHIPS */
.header-center {
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.nav-chips-container {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  padding: 6px;
  border-radius: 999px;
  display: flex;
  gap: 5px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-chip {
  padding: 10px 18px;
  border-radius: 15px;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  /* Estilo vertical tipo imagen */
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  min-width: 80px;
}

.nav-chip svg {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.nav-chip span {
  font-size: 0.65rem;
  opacity: 0.9;
  text-align: center;
}

.nav-chip:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.nav-chip.highlight {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* DERECHA: BOTONES DE ACCIÓN */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-wa-pro,
.btn-catalog-pro {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  /* Altura aumentada para mayor presencia */
  padding: 0 26px;
  border-radius: 18px;
  text-decoration: none;
  color: white;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
}

.btn-wa-pro {
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25);
}

.btn-catalog-pro {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.btn-wa-pro:hover,
.btn-catalog-pro:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.1);
}

.wa-icon-box,
.cat-icon-box {
  background: rgba(255, 255, 255, 0.15);
  padding: 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-icon-box svg,
.cat-icon-box svg {
  width: 24px;
  height: 24px;
}

.wa-text-box,
.cat-text-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wa-label,
.cat-label {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.wa-sub,
.cat-sub {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.95;
  line-height: 1;
}

.cat-arrow {
  margin-left: 6px;
  font-size: 1.2rem;
}

/* RESPONSIVE */
@media (max-width: 1350px) {
  .dynamic-badge {
    display: none;
  }
}

@media (max-width: 1200px) {
  .header-center {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-header {
    top: 10px;
  }

  .header-inner {
    padding: 10px 15px;
    border-radius: 18px;
  }

  .dynamic-badge,
  .brand-info-wrap {
    display: none;
  }

  .wa-text-box,
  .cat-text-box,
  .cat-arrow {
    display: none;
  }

  .btn-wa-pro,
  .btn-catalog-pro {
    padding: 10px;
    border-radius: 12px;
  }
}

.admin-open-btn {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  font: 700 0.84rem/1 "Manrope", sans-serif;
  cursor: pointer;
}

.wa-nav-icon {
  width: 19px;
  height: 19px;
  fill: #ffffff;
}

.hero-content {
  padding: 26px 0 48px;
  display: grid;
  gap: 26px;
  align-items: center;
  grid-template-columns: 1.2fr 0.8fr;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 10px;
  color: #bef8d7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-size: 12px;
}

h1 {
  margin: 0;
  font: 800 clamp(2rem, 5vw, 3.7rem) / 1.07 "Outfit", sans-serif;
  max-width: 13ch;
}

.lead {
  color: #efe6ff;
  max-width: 52ch;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn-primary {
  background: linear-gradient(125deg, #15c26b, #0b9f55);
  color: #fff;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(105, 48, 195, 0.18);
  color: #fff;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.hero-panel h2 {
  margin-top: 0;
  font: 700 1.4rem/1.2 "Outfit", sans-serif;
}

.hero-panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #f8f5ff;
  line-height: 1.7;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.hero-glow-a {
  width: 280px;
  height: 280px;
  background: rgba(21, 194, 107, 0.36);
  top: -90px;
  right: -40px;
}

.hero-glow-b {
  width: 220px;
  height: 220px;
  background: rgba(159, 107, 240, 0.28);
  bottom: -70px;
  left: 10%;
}

main {
  padding: 36px 0 64px;
}

.section-head h2,
.catalog h2 {
  margin: 0;
  font: 800 clamp(1.5rem, 3vw, 2.3rem) / 1.1 "Outfit", sans-serif;
}

.section-head p,
.catalog-top p {
  color: var(--muted);
  margin: 8px 0 0;
}


/* --- SECCIONES DE TECNOLOGÍA (DISEÑO PREMIUM REF) --- */
.sections-wrap {
  padding: 40px 0 20px;
  /* Reducido padding superior de 80px a 40px */
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.section-card {
  position: relative;
  background: #ffffff;
  border-radius: 32px;
  padding: 20px 25px;
  /* Reducido el padding superior para subir todo */
  min-height: 400px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.section-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

/* Tarjeta Principal (Todos los productos) */
.section-card.main {
  background: #0f172a;
  color: #ffffff;
}

.section-card.main .pill-count {
  background: #3b82f6;
  color: #fff;
}

.section-card.main .icon-circle {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.section-card.main p {
  color: #94a3b8;
}

/* Elementos de la Tarjeta */
.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  /* Casi al mínimo para ganar espacio */
  font-size: 1.2rem;
}

.section-card-info {
  position: relative;
  z-index: 5;
  /* Asegura que el texto esté por encima */
  max-width: 65%;
  /* Limita el ancho para que no choque con la imagen de la derecha */
}

.section-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 5px;
  /* Reducido de 10px */
  line-height: 1.1;
}

.section-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 20px;
}

.pill-count {
  position: relative;
  z-index: 10;
  /* Siempre al frente de la imagen */
  align-self: flex-start;
  padding: 10px 22px;
  border-radius: 100px;
  background: #10b981;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  margin-top: auto;
}

.pill-count::after {
  content: '→';
  font-size: 1.1rem;
}

.section-img-float {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 240px;
  height: 240px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  mix-blend-mode: normal !important; /* Imagen plana, sin mezcla pesada multiply */
  z-index: 1;
}

/* La tarjeta oscura no debe usar multiply porque oscurece la imagen entera */
.section-card.main .section-img-float {
  mix-blend-mode: normal !important;
  width: 165px;
  height: 210px;
  bottom: 35px;
  right: -10px;
  left: auto;
  margin: 0;
}

.section-card:hover .section-img-float {
  transform: scale(1.05) !important; /* Escalado suave sin rotaciones ni filtros costosos */
}

/* Variantes de Color para los iconos */
.section-card[data-cat="Power Bank"] .icon-circle {
  background: #d1fae5;
  color: #059669;
}

.section-card[data-cat="Cargadores"] .icon-circle {
  background: #ede9fe;
  color: #7c3aed;
}

.section-card[data-cat="Cables"] .icon-circle {
  background: #ffedd5;
  color: #ea580c;
}

.section-card[data-cat="Audio"] .icon-circle {
  background: #fce7f3;
  color: #db2777;
}

.section-card[data-cat="Adaptadores y Video"] .icon-circle {
  background: #e0f2fe;
  color: #0284c7;
}

.section-card[data-cat="Hubs y Docking"] .icon-circle {
  background: #dcfce7;
  color: #16a34a;
}

.section-card[data-cat="Herramientas"] .icon-circle {
  background: #fef9c3;
  color: #ca8a04;
}

@media (max-width: 1200px) {
  .sections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sections-grid {
    grid-template-columns: 1fr;
  }

  .section-card {
    min-height: 320px;
  }

  .section-img-float {
    width: 140px;
    height: 140px;
  }
}

.section-hero-card {
  position: relative;
  height: 380px;
  /* Más compacto */
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  background: #f8fafc;
}

.section-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Degradado oscuro para proteger el texto blanco arriba y el botón abajo */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.section-hero-card:hover::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.8) 100%);
}

.section-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section-hero-card:hover .section-hero-bg {
  transform: scale(1.08);
}

.section-hero-content {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  padding: 0 30px;
}

.section-hero-title {
  display: block;
  font: 900 1.9rem/1.1 "Outfit", sans-serif;
  color: #ffffff;
  margin-bottom: 4px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  /* Sombra para legibilidad */
}

.section-hero-subtitle {
  display: block;
  font: 700 0.85rem/1 "Outfit", sans-serif;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.section-hero-footer {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.section-hero-btn {
  background: #fff;
  color: #1e293b;
  padding: 12px 28px;
  border-radius: 999px;
  font: 700 0.9rem/1 "Outfit", sans-serif;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.section-hero-card:hover .section-hero-btn {
  background: #1e293b;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Fallback for sections without image */
.section-hero-card.no-image {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-hero-card.no-image .section-hero-title {
  color: #1e293b;
}

@media (max-width: 1200px) {
  .sections-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .sections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sections-grid {
    grid-template-columns: 1fr;
  }

  .section-hero-card {
    height: 380px;
  }
}

.catalog {
  margin-top: 44px;
}

.catalog-top {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 370px);
  gap: 16px;
  align-items: end;
}

.search-wrap input {
  width: 100%;
  border: 1px solid #dbcdf2;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  font: 500 0.98rem/1 "Manrope", sans-serif;
  outline: none;
}

.search-wrap input:focus {
  box-shadow: 0 0 0 4px var(--ring);
  border-color: var(--primary);
}

.results-info {
  color: var(--muted);
  margin: 14px 0;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}

.page-btn {
  border: 1px solid #d8c8f2;
  background: #fff;
  color: #4b2a78;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-info {
  color: #5e4a7e;
  font-weight: 700;
}

.admin-card {
  max-width: 980px;
  width: min(980px, 96vw);
  max-height: 92vh;
  overflow: auto;
  padding: 14px;
  border-radius: 18px;
  grid-template-columns: 1fr;
  background: linear-gradient(145deg, #faf5ff 0%, #f0fff6 100%);
  border: 1px solid #d8c5f2;
}

.admin-head {
  position: sticky;
  top: -14px;
  z-index: 3;
  background: linear-gradient(145deg, #f8f1ff 0%, #ecfff5 100%);
  border-bottom: 1px solid #ddcbf5;
  margin: -2px -2px 12px;
  padding: 8px 2px 10px;
}

.admin-head h3 {
  margin: 0 0 10px;
  font: 800 1.5rem/1.2 "Outfit", sans-serif;
  color: #301452;
}

.admin-login p {
  margin: 6px 0 10px;
  color: #3f2e63;
  font-weight: 700;
}

.admin-login-row {
  display: flex;
  gap: 8px;
}

.admin-login-row input {
  flex: 1;
  border: 1px solid #ccb4ef;
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(54, 27, 92, 0.08);
}

.hidden {
  display: none !important;
}

.admin-form {
  border: 1px solid #d5c0f1;
  background: linear-gradient(140deg, #ffffff 0%, #f4ecff 100%);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 16px 30px rgba(67, 27, 118, 0.12);
}

.admin-panel {
  display: grid;
  gap: 12px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-grid label {
  display: grid;
  gap: 6px;
  font: 800 0.78rem/1.2 "Manrope", sans-serif;
  color: #321a56;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.admin-help span {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 0.78rem;
  color: #5b4582;
}

.admin-grid input,
.admin-grid textarea {
  border: 1px solid #cfb9f0;
  border-radius: 12px;
  padding: 10px 11px;
  background: #fff;
  font: 500 0.9rem/1.3 "Manrope", sans-serif;
  box-shadow: inset 0 1px 2px rgba(54, 27, 92, 0.08);
}

#adminBulkInput {
  width: 100%;
  border: 1px solid #cfb9f0;
  border-radius: 12px;
  padding: 10px 11px;
  background: #fff;
  font: 500 0.86rem/1.35 "Manrope", sans-serif;
  box-shadow: inset 0 1px 2px rgba(54, 27, 92, 0.08);
  resize: vertical;
}

.admin-grid input:focus,
.admin-grid textarea:focus,
.admin-list-wrap input:focus {
  outline: none;
  border-color: #6f2dca;
  box-shadow: 0 0 0 4px rgba(111, 45, 202, 0.18);
}

.admin-col-span {
  grid-column: 1 / -1;
}

.admin-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#adminLoginBtn,
#adminForm .btn-chat {
  background: linear-gradient(120deg, #6a2dc7, #13b767);
  color: #fff;
  border: 0;
  border-radius: 11px;
  padding: 10px 14px;
  font: 800 0.86rem/1 "Manrope", sans-serif;
  cursor: pointer;
}

#adminNewBtn {
  border: 1px solid #cdb3ef;
  background: #fff;
  color: #4e2e7f;
}

.admin-list-wrap {
  margin-top: 12px;
}

.admin-subtitle {
  margin: 0 0 6px;
  font: 800 1rem/1.2 "Outfit", sans-serif;
  color: #2f1850;
}

.admin-bulk-tip {
  margin: 0 0 8px;
  color: #5f4b82;
  font: 600 0.78rem/1.35 "Manrope", sans-serif;
}

.admin-bulk-tip code {
  background: #f3ebff;
  border: 1px solid #dfccf8;
  border-radius: 8px;
  padding: 2px 6px;
}

.admin-inline-checks {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.admin-inline-checks label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #3e2665;
  font: 700 0.8rem/1.3 "Manrope", sans-serif;
}

.admin-bulk-result {
  margin: 6px 0 0;
  color: #3f2e63;
  font: 700 0.78rem/1.35 "Manrope", sans-serif;
}

.admin-list-wrap input {
  width: 100%;
  border: 1px solid #cfb9f0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.admin-list {
  margin-top: 10px;
  max-height: 360px;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding-right: 4px;
}

.admin-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #dac8f2;
  border-radius: 12px;
  padding: 8px;
  background: linear-gradient(130deg, #ffffff 0%, #f7f2ff 100%);
}

.admin-row img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3eefc;
  border: 1px solid #e1d2f6;
}

.admin-row strong {
  display: block;
  font: 800 0.84rem/1.2 "Manrope", sans-serif;
  color: #2f1850;
}

.admin-row span {
  color: #5f4b82;
  font-size: 0.76rem;
}

.admin-row-actions {
  display: flex;
  gap: 6px;
}

.admin-mini-btn {
  border: 1px solid #cfb8ef;
  background: #fff;
  color: #4a2b78;
  border-radius: 8px;
  padding: 5px 7px;
  font: 700 0.72rem/1 "Manrope", sans-serif;
  cursor: pointer;
}

.admin-mini-btn:hover {
  background: #f7f2ff;
}

.admin-mini-btn.danger {
  border-color: #e7b4b4;
  color: #912626;
  background: #fff7f7;
}

.admin-card::-webkit-scrollbar,
.admin-list::-webkit-scrollbar {
  width: 10px;
}

.admin-card::-webkit-scrollbar-track,
.admin-list::-webkit-scrollbar-track {
  background: #efe4ff;
  border-radius: 999px;
}

.admin-card::-webkit-scrollbar-thumb,
.admin-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b998e9, #7b35cf);
  border-radius: 999px;
}

.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: grid;
  justify-items: end;
  gap: 12px;
  transition: bottom 0.24s ease;
  pointer-events: none;
  /* No bloquear clics fuera del botón/panel */
}

.chat-widget.avoid-footer {
  bottom: 116px;
}

.chat-toggle {
  border: 1px solid rgba(112, 157, 255, 0.22);
  border-radius: 999px;
  padding: 11px 14px;
  pointer-events: auto;
  /* Reactivar clics en el botón */
  color: #e8f0ff;
  font: 800 0.9rem/1 "Manrope", sans-serif;
  background: linear-gradient(135deg, rgba(21, 42, 84, 0.95), rgba(30, 60, 120, 0.95));
  box-shadow: 0 18px 34px rgba(8, 18, 44, 0.36);
  backdrop-filter: blur(14px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  position: relative;
  z-index: 10005;
  /* Asegurar que esté por encima del panel */
  opacity: 1;
}

.chat-widget:not(.closed) .chat-toggle {
  opacity: 0;
  pointer-events: none;
}

.chat-toggle::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #76e3b1;
  box-shadow: 0 0 0 5px rgba(118, 227, 177, 0.16);
}

.chat-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(134, 176, 255, 0.34);
  background: linear-gradient(135deg, rgba(24, 48, 96, 0.98), rgba(36, 72, 138, 0.98));
  box-shadow: 0 22px 38px rgba(8, 18, 44, 0.42);
}

.chat-toggle-icon {
  width: 18px;
  height: 18px;
  fill: #cfe0ff;
}

.chat-panel {
  width: min(380px, calc(100vw - 24px));
  border: 1px solid rgba(122, 156, 230, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(106, 159, 255, 0.18), transparent 35%),
    radial-gradient(circle at bottom left, rgba(53, 105, 204, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(11, 23, 49, 0.98) 0%, rgba(15, 29, 61, 0.98) 100%);
  box-shadow: 0 28px 56px rgba(5, 11, 29, 0.48);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.28s ease;
  transform-origin: bottom right;
  position: relative;
  z-index: 10000;
  pointer-events: auto;
  /* Reactivar clics en el panel */
}

.chat-widget.closed .chat-panel {
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  pointer-events: none;
  max-height: 0;
  border-width: 0;
}

.chat-widget:not(.closed) .chat-panel {
  animation: chatPop 0.28s cubic-bezier(0.2, 0.9, 0.2, 1);
}

@keyframes chatPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  padding: 15px 15px 13px;
  border-bottom: 1px solid rgba(122, 156, 230, 0.16);
  background:
    radial-gradient(circle at top left, rgba(103, 156, 255, 0.16), transparent 34%),
    linear-gradient(120deg, rgba(17, 34, 72, 0.92), rgba(14, 28, 58, 0.92));
}

.chat-head-copy {
  display: grid;
  gap: 5px;
}

.chat-status {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(118, 227, 177, 0.14);
  color: #90f0c6;
  border: 1px solid rgba(118, 227, 177, 0.22);
  font: 800 0.67rem/1 "Manrope", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chat-panel-head h3 {
  margin: 0;
  font: 800 1rem/1 "Outfit", sans-serif;
  color: #f2f6ff;
}

.chat-subtitle {
  margin: 0;
  color: #a9b9d8;
  font: 600 0.78rem/1.4 "Manrope", sans-serif;
}

.chat-close {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(122, 156, 230, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #b5c8ee;
  font-weight: 800;
  cursor: pointer;
}

.chat-quick-prompts {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 10px 12px 0;
  background: linear-gradient(180deg, rgba(245, 251, 247, 0.72), transparent);
  scrollbar-width: thin;
}

.chat-quick-prompts:empty {
  display: none;
}

.chat-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
  border-radius: 999px;
  padding: 8px 14px;
  font: 700 0.8rem/1.1 "Manrope", sans-serif;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-shadow: 0 0 6px rgba(16, 185, 129, 0.2);
}

.chat-chip:hover {
  transform: translateY(-2px);
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
  color: #34d399;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25), 0 0 8px rgba(16, 185, 129, 0.15);
}

.msg-followups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  padding: 2px 0;
}

.chat-messages {
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px;
  display: grid;
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(10, 21, 45, 0.72), rgba(13, 26, 54, 0.76)),
    linear-gradient(90deg, rgba(103, 156, 255, 0.05), rgba(118, 227, 177, 0.03));
  /* Scrollbar moderno */
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 130, 220, 0.35) transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(99, 130, 220, 0.35);
  border-radius: 99px;
  transition: background 0.2s;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 130, 220, 0.65);
}

.msg {
  max-width: 92%;
  display: grid;
  gap: 8px;
}

.msg-shell {
  padding: 11px 13px;
  border-radius: 16px;
  line-height: 1.5;
  white-space: pre-wrap;
  border: 1px solid transparent;
  box-shadow: 0 12px 22px rgba(3, 8, 22, 0.26);
}

.msg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 0.68rem/1 "Manrope", sans-serif;
  letter-spacing: 0.2px;
  opacity: 0.88;
}

.msg-badge {
  border-radius: 999px;
  padding: 4px 8px;
  font: 800 0.62rem/1 "Manrope", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.msg-time {
  color: #90a3c7;
}

.msg-body {
  font-size: 0.92rem;
}

.msg-inline-icon {
  width: 18px;
  height: 18px;
  margin-left: 6px;
  vertical-align: text-bottom;
  object-fit: contain;
}

.msg.user {
  margin-left: auto;
}

.msg.user .msg-shell {
  background: linear-gradient(135deg, #2a5fc5, #1f4ea8);
  color: #eef4ff;
  border-color: rgba(128, 171, 255, 0.3);
}

.msg.bot {
  margin-right: auto;
}

.msg.bot .msg-shell {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  color: #e8eefc;
  border-color: rgba(124, 150, 201, 0.16);
}

.msg.bot .msg-badge {
  background: rgba(118, 227, 177, 0.12);
  color: #96f2cb;
}

.msg.user .msg-badge {
  background: rgba(109, 156, 255, 0.16);
  color: #cfe0ff;
}

.msg-note {
  font: 700 0.73rem/1.45 "Manrope", sans-serif;
  color: #a5b4d1;
}

.msg-typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.msg-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ba7da;
  opacity: 0.45;
  animation: typingPulse 1.1s infinite ease-in-out;
}

.msg-typing span:nth-child(2) {
  animation-delay: 0.14s;
}

.msg-typing span:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes typingPulse {

  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }

  40% {
    transform: translateY(-2px);
    opacity: 1;
  }
}

/* Acciones felinas estilizadas: *bosteza*, *afilando garras*, etc. */
.salem-action {
  font-style: italic;
  color: #a5c0f0;
  font-weight: 500;
  opacity: 0.88;
}

.msg-actions {
  margin-top: 2px;
  display: grid;
  gap: 8px;
}

.msg-action-row {
  display: grid;
  gap: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(124, 150, 201, 0.16);
  border-radius: 14px;
  padding: 10px;
}

.msg-action-name {
  font: 800 0.82rem/1.3 "Manrope", sans-serif;
  color: #edf3ff;
}

.msg-action-detail {
  display: block;
  margin-top: 4px;
  font: 600 0.74rem/1.35 "Manrope", sans-serif;
  color: #9fb1d5;
}

.msg-action-price {
  font: 800 0.85rem/1 "Outfit", sans-serif;
  color: #90f0c6;
}

.msg-action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.msg-product-btn,
.msg-buy-btn {
  border: 1px solid rgba(124, 150, 201, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #deebff;
  border-radius: 10px;
  padding: 8px 10px;
  font: 700 0.72rem/1 "Manrope", sans-serif;
  cursor: pointer;
  text-decoration: none;
}

.msg-product-btn:hover,
.msg-buy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.msg-buy-btn {
  border-color: rgba(118, 227, 177, 0.24);
  color: #90f0c6;
  background: rgba(118, 227, 177, 0.08);
}

.msg-followups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-top: 1px solid rgba(122, 156, 230, 0.16);
  padding: 12px;
  background: rgba(10, 20, 42, 0.72);
}

.chat-form input {
  border: 1px solid rgba(124, 150, 201, 0.2);
  border-radius: 12px;
  padding: 11px 12px;
  font: 500 0.96rem/1 "Manrope", sans-serif;
  background: rgba(255, 255, 255, 0.06);
  color: #eef4ff;
}

.chat-form input:focus {
  outline: none;
  border-color: #78a7ff;
  box-shadow: 0 0 0 4px rgba(120, 167, 255, 0.16);
}

.btn-chat {
  border: 1px solid rgba(126, 167, 255, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  font: 700 0.93rem/1 "Manrope", sans-serif;
  background: linear-gradient(135deg, #2f68d7, #4a84f0);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(39, 86, 186, 0.28);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 16px;
}

.product {
  background: var(--surface);
  border: 1px solid #dfd2f4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #fff;
  padding: 8px;
}

.product-body {
  padding: 14px;
  display: grid;
  gap: 10px;
  height: 100%;
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.product h3 {
  margin: 0;
  font: 700 1.02rem/1.2 "Outfit", sans-serif;
}

.product-name-btn {
  appearance: none;
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0;
  text-align: left;
  font: 700 1.02rem/1.2 "Outfit", sans-serif;
  color: #2f1562;
  cursor: pointer;
}

.product-name-btn:hover {
  text-decoration: underline;
}

.price {
  font: 800 1.05rem/1 "Outfit", sans-serif;
  color: #4c1d95;
  white-space: nowrap;
}

.price-wrap {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.price-original {
  font: 700 0.82rem/1 "Manrope", sans-serif;
  color: #71829a;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-offer {
  color: #c2410c;
}

.desc {
  color: #344055;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.tag {
  width: fit-content;
  background: #ede3ff;
  color: #4e2f84;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stock-badge {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.stock-badge.available {
  background: #dcfbe9;
  color: #0f7f4f;
  border: 1px solid #bcefd2;
}

.stock-badge.sold-out {
  background: #ffe6e9;
  color: #9f1f38;
  border: 1px solid #f4c5ce;
}

.stock-badge.offer {
  background: #fff2de;
  color: #a64c00;
  border: 1px solid #f4d7ad;
}

.buy-btn {
  margin-top: auto;
  text-decoration: none;
  border-radius: 11px;
  background: linear-gradient(120deg, #15c26b, #0f9a55);
  color: #fff;
  font-weight: 800;
  text-align: center;
  padding: 11px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  box-shadow: 0 10px 22px rgba(15, 154, 85, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.buy-btn:hover,
.buy-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 154, 85, 0.28);
  filter: saturate(1.05);
}

.product.is-sold-out {
  border-color: #e6d2dc;
}

.product.is-sold-out img {
  opacity: 0.72;
  filter: grayscale(0.2);
}

.buy-btn.sold-out {
  background: linear-gradient(120deg, #1d5f7a, #2b7d7f);
  color: #eaf8ff;
  border: 1px solid #2b7684;
  box-shadow: 0 10px 22px rgba(35, 111, 126, 0.24);
}

.buy-btn.sold-out:hover,
.buy-btn.sold-out:focus-visible {
  box-shadow: 0 14px 28px rgba(35, 111, 126, 0.3);
}

.wa-icon {
  width: 19px;
  height: 19px;
  fill: #fff;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 10, 34, 0.72);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(860px, 94%);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 22px 48px rgba(21, 10, 44, 0.34);
}

.modal-product-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #eef4ff;
  font: 800 3.4rem/1 "Manrope", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-shadow: 0 10px 24px rgba(5, 11, 29, 0.72);
  z-index: 61;
}

.modal-product-prev {
  left: max(18px, calc(50vw - min(430px, 47vw) - 92px));
}

.modal-product-next {
  right: max(18px, calc(50vw - min(430px, 47vw) - 92px));
}

.modal-product-nav:hover,
.modal-product-nav:focus-visible {
  color: #ffffff;
  outline: none;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #1a1f2e;
  /* Más oscuro para contraste */
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  /* Prioridad máxima */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #ef4444;
  transform: scale(1.1);
}

.modal-media-column {
  display: grid;
  grid-template-rows: minmax(320px, 1fr) auto;
  background: linear-gradient(180deg, #fbf9ff, #f2fff7);
  border-right: 1px solid #eee5fa;
}

.modal-media-stage {
  display: grid;
  place-items: center;
  padding: 18px;
  min-height: 320px;
}

.modal-media-image,
.modal-media-video,
.modal-media-frame {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}

.modal-media-video,
.modal-media-frame {
  aspect-ratio: 16/10;
  border: 0;
}

.modal-media-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px 18px;
}

.modal-media-pages {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.modal-nav-arrow,
.modal-page-dot {
  border: 1px solid #ddd2f5;
  background: #fff;
  color: #5d4884;
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 800 0.9rem/1 "Outfit", sans-serif;
  box-shadow: 0 8px 18px rgba(67, 28, 112, 0.08);
}

.modal-page-dot.active {
  border-color: #6a2dc7;
  background: linear-gradient(135deg, #6a2dc7, #8b57de);
  color: #fff;
}

.modal-body {
  padding: 24px;
  display: grid;
  gap: 10px;
}

.modal-body h3 {
  margin: 0;
  font: 800 1.38rem/1.15 "Outfit", sans-serif;
  color: #2d1150;
}

.modal-section {
  margin: 0;
  color: #5e4a7e;
  font-weight: 700;
}

.modal-price {
  margin: 0;
  color: #4f1fa0;
  font: 800 1.28rem/1 "Outfit", sans-serif;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.modal-offer-price {
  color: #3b82f6; /* Azul Premium en lugar de Rojo */
  font: 800 1.28rem/1 "Outfit", sans-serif;
}

.modal-description {
  margin: 0;
  color: #2a2437;
  line-height: 1.6;
  max-height: 260px;
  overflow: auto;
}

.modal-buy {
  margin-top: 6px;
}

.modal-buy.sold-out {
  background: linear-gradient(120deg, #1e617b, #29807f);
  color: #e9f8ff;
  border: 1px solid #2c7e85;
  box-shadow: 0 12px 24px rgba(36, 110, 126, 0.25);
}

.footer {
  background: #2a1148;
  color: #ddd4ef;
}

.footer-content {
  padding: 22px 0;
  font-size: 0.93rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: grid;
  gap: 6px;
  min-width: 0;
  flex: 0 1 auto;
}

.footer-copy,
.footer-note {
  margin: 0;
}

.footer-copy {
  font-weight: 700;
}

.footer-note {
  color: #bfb0d9;
}

.footer-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-link-btn {
  text-decoration: none;
  color: #f4efff;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-link-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.footer-link-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
}

.footer-icon-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.footer-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  pointer-events: none;
}

.claims-toggle {
  border: 1px solid rgba(112, 157, 255, 0.22);
  border-radius: 999px;
  padding: 11px 15px;
  color: #e8f0ff;
  font: 800 0.9rem/1 "Manrope", sans-serif;
  background: linear-gradient(135deg, rgba(21, 42, 84, 0.95), rgba(30, 60, 120, 0.95));
  box-shadow: 0 18px 34px rgba(8, 18, 44, 0.36);
  backdrop-filter: blur(14px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.claims-toggle:hover,
.claims-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(134, 176, 255, 0.34);
  background: linear-gradient(135deg, rgba(24, 48, 96, 0.98), rgba(36, 72, 138, 0.98));
  box-shadow: 0 22px 38px rgba(8, 18, 44, 0.42);
  outline: none;
}

.claims-toggle-icon {
  width: 18px;
  height: 18px;
  fill: #cfe0ff;
  flex: 0 0 auto;
  pointer-events: none;
}

.claims-toggle span {
  pointer-events: none;
}

.claims-toggle-footer {
  position: relative;
  margin-left: auto;
  z-index: 71;
}

.claims-toggle-footer:hover,
.claims-toggle-footer:focus-visible {
  transform: translateY(-1px);
}

.empty {
  background: #fff;
  border: 1px dashed #cdb7ef;
  border-radius: var(--radius);
  padding: 24px;
  color: var(--muted);
}

.hero-copy,
.hero-panel,
.section-card,
.product {
  animation: rise 0.6s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .sections-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero::before {
    width: min(78vw, 420px);
    opacity: 0.06;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .catalog-top {
    grid-template-columns: 1fr;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-card {
    width: 100%;
    max-height: 95vh;
    padding: 12px;
  }

  .admin-list {
    max-height: 280px;
  }

  .modal-card {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow: auto;
  }

  .modal-product-prev {
    left: 10px;
  }

  .modal-product-next {
    right: 10px;
  }

  .chat-widget {
    right: 10px;
    bottom: 10px;
  }

  .chat-widget.avoid-footer {
    bottom: 96px;
  }


  .chat-panel {
    width: min(100%, calc(100vw - 20px));
  }

  .chat-toggle {
    justify-content: center;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .msg {
    max-width: 100%;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-actions {
    margin-left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .footer-links {
    width: 100%;
    justify-content: flex-end;
  }

  .claims-toggle-footer {
    margin-left: 0;
  }

  .claims-toggle-footer:hover,
  .claims-toggle-footer:focus-visible {
    transform: translateY(-1px);
  }
}

@media (max-width: 640px) {
  .sections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .section-card {
    padding: 14px;
    border-radius: 20px;
  }

  .section-card-media {
    padding: 16px;
    border-radius: 18px;
  }
}

/* --- ENVOLTORIO DEL CARRUSEL INDEX --- */
.index-carousel-wrapper {
  background: #020617; /* Dark Slate global llenando el espacio blanco exterior */
  position: relative;
  overflow: hidden;
  padding: 0; /* Totalmente al borde, sin espacios laterales ni vacíos */
}

/* Continuidad del destello esmeralda global en el exterior */
.index-carousel-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(0, 138, 78, 0.4) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* --- ULTRA-PREMIUM CAROUSEL (CINEMATIC STYLE) --- */
.premium-carousel {
  position: relative;
  width: 100%; /* Llenar pantalla completa sin espacios */
  margin: 0;
  height: 650px;
  background: transparent;
  border-radius: 0; /* Rectangular sin curvas estilo Apple/Sony */
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  /* Full width */
  height: 100%;
  position: relative;
  transition: opacity 0.8s ease;
}

.carousel-slide.active {
  filter: brightness(1);
}

.carousel-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.carousel-bg img,
.carousel-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  /* Inicio al 100% para apreciar todo el producto */
  transition: transform 15s cubic-bezier(0.1, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide.active .carousel-bg img,
.carousel-slide.active .carousel-bg video {
  transform: scale(1.4);
  /* Zoom épico y profundo */
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  /* Degradado bilateral para proteger el texto y dar profundidad */
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.carousel-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  color: #fff;
}

.carousel-content h2,
.carousel-content p,
.carousel-btn {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.carousel-slide.active .carousel-content h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.carousel-slide.active .carousel-content p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.carousel-slide.active .carousel-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.carousel-content h2 {
  font: 900 4rem/1.1 "Outfit", sans-serif;
  margin-bottom: 20px;
  max-width: 15ch;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.carousel-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
  max-width: 500px;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: #fff;
  color: #000;
  border-radius: 100px;
  font: 800 1.1rem "Outfit", sans-serif;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: fit-content;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
  background: #10b981;
  /* Verde Ugreen */
  color: #fff;
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
}

/* Flechas */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: #fff;
  color: #000;
}

.carousel-arrow.prev {
  left: 40px;
}

.carousel-arrow.next {
  right: 40px;
}

/* Barras de Progreso (Ugreen Style - Timeline) */
.carousel-progress-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
  width: 85%;
  max-width: 800px;
}

.carousel-progress-segment {
  flex: 1;
  height: 4px;
  /* Un poquito más gruesa */
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(5px);
}

.carousel-progress-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #10b981, #34d399);
  /* Degradado en la línea de tiempo */
  width: 0;
  transition: none;
}

.carousel-progress-segment.active .carousel-progress-fill {
  animation: carouselProgressFill 6s linear forwards;
}

.carousel-progress-segment.completed .carousel-progress-fill {
  width: 100%;
}

@keyframes carouselProgressFill {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .premium-carousel {
    height: 600px;
  }

  .carousel-content {
    padding: 0 40px;
  }

  .carousel-content h2 {
    font-size: 3.5rem;
  }

  .carousel-nav {
    left: 40px;
  }
}

@media (max-width: 768px) {
  .premium-carousel {
    height: 500px;
  }

  .carousel-content h2 {
    font-size: 2.5rem;
  }

  .carousel-content p {
    font-size: 1.1rem;
  }

  .carousel-btn {
    padding: 14px 30px;
    font-size: 1rem;
  }

  .carousel-nav {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
  }
}


.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.info-card p {
  color: #475569;
  line-height: 1.6;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

.info-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
  position: relative;
  z-index: 2;
}

.stat-item {
  display: grid;
  gap: 4px;
}

.stat-item strong {
  font: 800 1.25rem/1 "Outfit", sans-serif;
  color: #2f1562;
}

.stat-item span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* About/Brand Section Illustrations */
.about-illustration,
.brand-illustration {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 140px;
  height: 140px;
  z-index: 1;
  opacity: 0.65;
  /* Súper visible como pediste */
  pointer-events: none;
  transform: rotate(-10deg);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.brand-illustration {
  transform: rotate(15deg);
}

.about-illustration img,
.brand-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.1);
  /* Quitamos el grayscale forzado */
}

.info-card:hover .about-illustration,
.info-card:hover .brand-illustration {
  opacity: 1;
  transform: translateY(-15px) scale(1.1) rotate(0deg);
  /* Misma lógica de elevación que las secciones */
  filter: contrast(1.2);
}

.brand-card .section-head,
.brand-card ul {
  position: relative;
  z-index: 2;
}

.brand-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.brand-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.brand-features li {
  padding-left: 28px;
  position: relative;
  font-weight: 600;
  color: #334155;
  font-size: 0.95rem;
}

.brand-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 900;
}

/* --- CATALOG CTA BANNER --- */
.catalog-cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 80px 0;
  margin: 80px 0;
  color: #fff;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  margin-left: 20px;
  margin-right: 20px;
}

.cta-robot-illustration {
  position: absolute;
  right: 2%;
  bottom: -20px;
  width: 220px;
  height: 220px;
  opacity: 0.7;
  /* Mucho más visible en el fondo oscuro */
  pointer-events: none;
  transition: all 0.5s ease;
  filter: brightness(1.2) contrast(1.1);
}

.catalog-cta-banner:hover .cta-robot-illustration {
  transform: translateY(-10px) scale(1.05);
}

.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.cta-text h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 800;
}

.cta-text p {
  color: #94a3b8;
  font-size: 1.1rem;
}

.btn-outline-white {
  display: inline-block;
  padding: 18px 40px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .cta-flex {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cta-text h3 {
    font-size: 1.8rem;
  }
}

/* FAQ Section */
.faq-section {
  padding-bottom: 80px;
}

.faq-section .section-head {
  margin-bottom: 48px;
}

.review-preview-card-wrap {
  max-width: 380px;
  margin: 0 auto;
}

.admin-review-product-preview {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 10px;
  background: #f1f5f9;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: #8b5cf6;
  box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font: 700 1.05rem/1.3 "Manrope", sans-serif;
  color: #1e293b;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  color: #8b5cf6;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 24px;
}

.faq-answer p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  font-size: 0.95rem;
}

.centered {
  text-align: center;
}

@media (max-width: 850px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FOOTER REDESIGN COMPACTO --- */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: #f8fafc;
  padding: 80px 0 0;
  border-top: 2px solid #10b981;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 60px;
}

.brand-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer-brand-info {
  display: grid;
  gap: 8px;
}

.footer-copy {
  font: 700 1.1rem "Outfit", sans-serif;
  color: #fff;
  margin: 0;
}

.footer-note {
  font: 500 0.9rem "Manrope", sans-serif;
  color: #64748b;
  margin: 0;
}

.footer-robot-wrap {
  margin-top: 15px;
  opacity: 0.2;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.footer-robot-img {
  width: 70px;
  height: auto;
  filter: invert(1) brightness(1.5);
  mix-blend-mode: screen;
}

.brand-col:hover .footer-robot-wrap {
  opacity: 0.5;
  transform: translateY(-10px) rotate(-5deg);
}

.footer-col h3 {
  font: 700 1rem "Outfit", sans-serif;
  margin-bottom: 28px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #10b981;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font: 500 0.95rem "Manrope", sans-serif;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(6px);
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-col a.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-col a.footer-social-btn:hover {
  background: #10b981;
  color: #020617;
  transform: translateY(-5px) rotate(8deg);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
  border-color: #10b981;
}

.footer-col a.footer-social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* BARRA INFERIOR LEGAL */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px 0;
  background: rgba(0, 0, 0, 0.2);
}

.bottom-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #475569;
  font: 600 0.8rem "Manrope", sans-serif;
}

.bottom-bar-left {
  display: flex;
  gap: 20px;
}

.bottom-bar-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bottom-bar-link:hover {
  color: #10b981;
}

/* NO TOCAR: LIBRO DE RECLAMACIONES (SOLICITADO) */
.footer-claims-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.pro-claims-link {
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pro-claims-link:hover {
  transform: scale(1.05) translateY(-5px);
}

.pro-claims-badge {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 20px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 0 15px rgba(139, 92, 246, 0.1);
  width: 140px;
}

.pro-claims-icon {
  width: 44px;
  height: 44px;
  fill: #a78bfa;
  filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.4));
}

.pro-claims-badge span {
  color: #f8fafc;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
  .footer-claims-col {
    grid-column: span 2;
    justify-content: center;
    margin-top: 20px;
  }
}

@media (max-width: 650px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-socials {
    justify-content: center;
  }
  .bottom-bar-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

.premium-blue-slide {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 80% 20%, #0f172a 0%, #020617 100%);
}

.premium-blue-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.premium-blue-glow {
  position: absolute;
  border-radius: 50%;
  /* filter: blur(80px); Optimizado: Se usa gradient radial directo */
  z-index: 0;
  pointer-events: none;
}

.premium-blue-glow-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 75%);
  left: -100px;
  bottom: -100px;
}

.premium-blue-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 75%);
  right: 10%;
  top: 10%;
}

.custom-hero-content {
  position: relative;
  z-index: 2;
  display: flex !important;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  gap: 40px;
  text-align: left;
  padding-top: 80px;
  /* Evita que la barra de navegacion superponga el texto superior */
  padding-bottom: 80px;
  /* Incrementado para separar de la barra */
}

.hero-left-content {
  flex: 1;
  max-width: 550px;
  z-index: 2;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 25px;
}

.hero-massive-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -1px;
}

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 90%;
}

.text-gradient {
  background: linear-gradient(to right, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 50px;
}

.btn-purple {
  background: linear-gradient(to right, #3b82f6, #a855f7);
  border: none;
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.btn-purple:hover {
  background: linear-gradient(to right, #2563eb, #9333ea);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.6);
  transform: translateY(-2px);
}

.btn-outline-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-trust-badges {
  display: flex;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a855f7;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  font-size: 0.9rem;
  color: #fff;
}

.trust-text span {
  font-size: 0.8rem;
  color: #94a3b8;
}

.hero-right-content {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 650px;
  min-height: 500px;
  isolation: isolate;
  /* Crea un contexto de apilamiento limpio para z-index */
}

/* Anillo láser envolvente (Luz líquida giratoria) */
.hero-image-wrapper::before {
  content: "";
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #3b82f6, #10b981, #8b5cf6, #3b82f6);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2.5px; /* Línea de luz láser ultra-fina */
  z-index: 1;
  /* animation: spin-halo 8s linear infinite; Desactivado por alto consumo de CPU en máscaras compuestas */
  pointer-events: none;
}

/* Aura ambiental pulsante de gran profundidad */
.hero-image-wrapper::after {
  content: "";
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.12) 50%, transparent 85%);
  /* filter: blur(40px); Optimizado */
  z-index: 0;
  /* animation: aura-pulse 4s ease-in-out infinite alternate; Optimizando consumo */
  pointer-events: none;
}

@keyframes spin-halo {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes aura-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

.hero-main-image {
  width: 100%;
  max-width: 550px;
  /* Restaurado a tamaño gigante */
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 10;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.6));
  /* animation: float-hero 5s ease-in-out infinite; URGENTE: Detener animación previene el re-calculo continuo del 'drop-shadow' que consume el 99% del CPU */
  margin-bottom: 70px;
}

@keyframes float-hero {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-25px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Base 3D Estilo Podium de Neón */
.hero-base-glow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 480px;
  height: 130px;
  border-radius: 50%;

  /* Superficie del podium */
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.6) 0%, rgba(30, 58, 138, 0.9) 60%, rgba(15, 23, 42, 1) 100%);
  border: 2px solid rgba(96, 165, 250, 0.8);

  /* Luces 3D y grosor */
  box-shadow:
    0 0 30px rgba(59, 130, 246, 0.8) inset,
    /* Luz interna brillante */
    0 0 40px rgba(59, 130, 246, 0.8),
    /* Resplandor principal azul */
    0 12px 0px rgba(147, 51, 234, 0.7),
    /* Grosor 3D morado sólido */
    0 25px 60px rgba(147, 51, 234, 0.9);
  /* Reflejo morado en el piso */

  z-index: 1;
  /* Debajo de la imagen */
  pointer-events: none;
  /* animation: pulse-podium 5s ease-in-out infinite; Desactivado por alto consumo de CPU al animar box-shadow multicapa */
}

@keyframes pulse-podium {
  0% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8) inset, 0 0 40px rgba(59, 130, 246, 0.8), 0 12px 0px rgba(147, 51, 234, 0.7), 0 25px 60px rgba(147, 51, 234, 0.9);
  }

  50% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 1) inset, 0 0 60px rgba(59, 130, 246, 1), 0 12px 0px rgba(147, 51, 234, 0.9), 0 35px 80px rgba(147, 51, 234, 1);
  }

  100% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8) inset, 0 0 40px rgba(59, 130, 246, 0.8), 0 12px 0px rgba(147, 51, 234, 0.7), 0 25px 60px rgba(147, 51, 234, 0.9);
  }
}

@media (max-width: 768px) {
  .hero-base-glow {
    height: 80px;
    bottom: 10px;
  }

  .hero-image-wrapper::before {
    width: 280px;
    height: 280px;
  }

  .hero-main-image {
    margin-bottom: 50px;
  }
}

/* --- CONTACT GLASS STRIP --- */
.contact-glass-strip {
  width: 100%;
  background: linear-gradient(to bottom, #0f172a, #0b1120);
  padding: 20px 20px;
  /* Reducido padding de 30px a 20px */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-strip-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 20px 40px;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.glass-strip-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  flex: 1;
}

.glass-strip-item svg {
  width: 24px;
  height: 24px;
  color: #a855f7;
  flex-shrink: 0;
}

.glass-strip-item div {
  display: flex;
  flex-direction: column;
}

.glass-strip-item strong {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.glass-strip-item span {
  font-size: 0.85rem;
  color: #94a3b8;
}

.glass-strip-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .glass-strip-content {
    flex-direction: column;
    padding: 30px 20px;
  }

  .glass-strip-divider {
    width: 100%;
    height: 1px;
  }
}


.hero-main-image {
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
  animation: robotLevitate 8s ease-in-out infinite;
}

/* FINAL DEL ARCHIVO */

.hero-right-content .glass-panel {
  position: absolute;
  top: 15%;
  right: -20px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 20px;
  width: 300px;
  color: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.glass-panel h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.glass-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.glass-panel li {
  font-size: 0.95rem;
  color: #e2e8f0;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.glass-panel li::before {
  content: "•";
  color: #a855f7;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2rem;
}

@media (max-width: 1024px) {
  .custom-hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .hero-left-content {
    max-width: 100%;
  }

  .hero-buttons,
  .hero-trust-badges {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-massive-title {
    font-size: 3.5rem;
  }

  .hero-main-image {
    max-width: 100%;
    margin-top: 40px;
  }

  .hero-right-content .glass-panel {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 40px;
    width: 100%;
    max-width: 400px;
  }
}

@keyframes robotLevitate {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}



/* --- PREMIUM NOSOTROS SECTION --- */
/* --- PREMIUM NOSOTROS SECTION (REDISEÑO SaaS) --- */
.premium-nosotros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 0 20px;
}

.premium-nosotros-card {
  position: relative;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

/* CARD 1: EMPRESA (Gradiente Unificado) */
.card-empresa {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12));
  border-color: rgba(59, 130, 246, 0.1);
}

/* CARD 2: MARCA (Gradiente) */
.card-marca {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(59, 130, 246, 0.12));
  border-color: rgba(139, 92, 246, 0.1);
}

.premium-nosotros-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.card-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  /* Mover a la parte superior derecha */
  top: 30px;
  right: 30px;
  z-index: 5;
}

.bg-blue-grad {
  background: linear-gradient(135deg, #3B82F6, #60A5FA);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.bg-purple-grad {
  background: linear-gradient(135deg, #8B5CF6, #A78BFA);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.card-icon-svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.card-content {
  position: relative;
  z-index: 2;
  max-width: 70%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.card-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.label-blue {
  color: #3B82F6;
}

.label-purple {
  color: #8B5CF6;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  margin: 0;
}

.card-description {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.6;
  margin: 0 0 10px 0;
}

.card-btn {
  display: inline-flex;
  width: fit-content;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-blue-violet {
  background: linear-gradient(90deg, #3B82F6, #8B5CF6);
  color: white;
}

.btn-purple-blue {
  background: linear-gradient(90deg, #8B5CF6, #3B82F6);
  color: white;
}

.card-btn:hover {
  transform: translateX(5px);
  filter: brightness(1.1);
}

/* Ilustraciones 3D */
.card-illustration {
  position: absolute;
  right: -20px;
  bottom: 0;
  /* Subir un poco la imagen */
  width: 220px;
  height: 220px;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.premium-nosotros-card:hover .card-illustration {
  transform: scale(1.1) rotate(8deg);
}

.card-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- SECCIÓN BENEFICIOS (INFERIOR) --- */
.premium-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-blue-soft {
  background: rgba(59, 130, 246, 0.1);
}

.bg-purple-soft {
  background: rgba(139, 92, 246, 0.1);
}

.bg-cyan-soft {
  background: rgba(6, 182, 212, 0.1);
}

.bg-yellow-soft {
  background: rgba(234, 179, 8, 0.1);
}

.benefit-svg {
  width: 22px;
  height: 22px;
}

.text-blue {
  color: #3B82F6;
}

.text-purple {
  color: #8B5CF6;
}

.text-cyan {
  color: #06B6D4;
}

.text-yellow {
  color: #EAB308;
}

.benefit-text {
  display: flex;
  flex-direction: column;
}

.benefit-text strong {
  font-size: 0.95rem;
  color: #0F172A;
  font-weight: 700;
}

.benefit-text span {
  font-size: 0.8rem;
  color: #64748B;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .premium-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .premium-nosotros-grid {
    grid-template-columns: 1fr;
  }

  .premium-nosotros-card {
    padding: 30px;
    flex-direction: column;
    height: auto;
  }

  .card-content {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .card-illustration {
    position: relative;
    right: 0;
    bottom: 0;
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }

  .premium-benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   NUEVA SECCIÓN: OFERTAS ESPECIALES (CAROUSEL PREMIUM)
   ========================================================================== */
.offers-section {
  padding: 20px 20px 10px;
  /* Reducido fondo de 40px a 10px */
  /* Reducido padding superior de 80px a 20px */
  position: relative;
  background: transparent;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

/* Fondo Mesh Gradient Pro */
.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(80, 33, 135, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(22, 124, 86, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
  z-index: 0;
}

/* Blobs decorativos animados */
.offers-section::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06), transparent 70%);
  /* filter: blur(80px); Optimizado por alto consumo */
  z-index: 0;
  animation: float-slow 20s infinite alternate;
}

@keyframes float-slow {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(100px, 50px);
  }
}

.offers-section .section-head {
  position: relative;
  z-index: 1;
  text-align: left;
  /* Alineado a la izquierda como pidió el usuario */
}

.offers-section .section-head h2 {
  color: #1a1f2e;
  font-weight: 900;
  letter-spacing: -1.5px;
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.offers-section .section-head p {
  color: #64748b;
  max-width: 700px;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.offers-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  color: #ffffff;
  border-radius: 999px;
  font: 800 0.65rem "Outfit", sans-serif;
  letter-spacing: 2.5px;
  margin-bottom: 25px;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
  border: none;
}

.offers-badge::before {
  content: "★";
  font-size: 0.8rem;
  color: #fcd34d;
}

.offers-carousel-wrapper {
  margin-top: 15px;
  /* Reducido de 50px */
  position: relative;
}

.offers-carousel {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding: 20px 10px 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.offers-carousel::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.offer-card {
  flex: 0 0 340px;
  scroll-snap-align: center;
  background: #ffffff;
  border: 1px solid #eef2ff;
  border-radius: 32px;
  padding: 30px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.offer-card:hover {
  transform: translateY(-15px);
  background: #ffffff;
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 30px 60px -15px rgba(59, 130, 246, 0.12);
}

.offer-card-info h3 {
  font: 700 1.1rem "Outfit", sans-serif;
  color: #1a1f2e;
  /* Asegurar color oscuro */
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8rem;
}

.offer-card .sale-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #ef4444;
  color: white;
  padding: 4px 12px;
  border-radius: 8px;
  font: 800 0.7rem "Outfit", sans-serif;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

.offer-card-media {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.offer-card-media img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.offer-card:hover .offer-card-media img {
  transform: scale(1.1);
}

.offer-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.offer-price-current {
  font: 800 1.5rem "Outfit", sans-serif;
  color: #10b981;
}

.offer-price-old {
  font: 500 1rem "Outfit", sans-serif;
  color: #64748b;
  text-decoration: line-through;
  opacity: 0.7;
}

.btn-offer-buy {
  margin-top: auto;
  background: white;
  color: #0f172a;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  font: 700 0.9rem "Outfit", sans-serif;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-offer-buy:hover {
  background: #3B82F6;
  color: white;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.offers-footer {
  margin-top: 10px;
  /* Reducido de 40px para subir el botón */
  display: flex;
  justify-content: center;
}

.btn-all-offers {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
  background-size: 200% auto;
  border: none;
  padding: 18px 45px;
  border-radius: 20px;
  color: #ffffff;
  text-decoration: none;
  font: 800 1.05rem "Outfit", sans-serif;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.25);
  position: relative;
  top: 0;
}

.btn-all-offers:hover {
  background-position: right center;
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(59, 130, 246, 0.35);
  color: #ffffff;
}

.btn-all-offers svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn-all-offers:hover svg {
  transform: translateX(5px);
}

/* ==========================================================================
   FRANJA DE CONFIANZA (PREMIUM TRUST BAR)
   ========================================================================== */
.trust-bar-premium {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  padding: 40px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 32px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.trust-icon {
  width: 50px;
  height: 50px;
  background: #f8fafc;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.trust-text strong {
  display: block;
  font: 700 0.95rem "Outfit", sans-serif;
  color: #ffffff;
  margin-bottom: 2px;
}

.trust-text span {
  font: 500 0.8rem "Manrope", sans-serif;
  color: #cbd5e1;
}

@media (max-width: 992px) {
  .trust-bar-premium {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .trust-bar-premium {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}


/* ==========================================================================
   SECCIÓN: NOSOTROS (IDENTIDAD Y STATS)
   ========================================================================== */
.info-section {
  padding: 10px 20px 0px;
  /* Reducido top de 80px a 10px */
  /* Reducido padding inferior a 0 */
  display: block;
}

.info-text-side h2 {
  font: 900 3rem "Outfit", sans-serif;
  color: #1a1f2e;
  margin-bottom: 25px;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.info-text-side p {
  font: 400 1.1rem "Manrope", sans-serif;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 40px;
}

.info-stats {
  display: flex;
  gap: 40px;
}

.stat-item span {
  display: block;
  font: 800 2.2rem "Outfit", sans-serif;
  color: #3b82f6;
  margin-bottom: 5px;
}

.stat-item p {
  font: 600 0.85rem "Outfit", sans-serif;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.info-media-side {
  position: relative;
}

.info-media-side::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid #eef2ff;
  border-radius: 40px;
  z-index: -1;
}

.nosotros-img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.15);
  display: block;
}

@media (max-width: 992px) {
  .info-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .info-stats {
    justify-content: center;
  }
}

/* ==========================================================================
   SECCIÓN: TESTIMONIOS (INNOVATIVE V3 - GLASSMORPHISM)
   ========================================================================== */
.innovative-reviews-section {
  padding: 10px 20px 0;
  /* Reducido top de 40px a 10px */
  background: transparent;
  position: relative;
}

.reviews-top-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  padding: 10px 24px;
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto 15px;
  /* Reducido de 30px */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font: 600 0.85rem "Outfit", sans-serif;
  color: #475569;
}

.reviews-top-badge .check-icon {
  width: 20px;
  height: 20px;
  fill: #3b82f6;
}

.section-head-v3 {
  text-align: center;
  margin-bottom: 30px;
  /* Reducido de 60px */
}

.section-head-v3 h2 {
  font: 900 3.2rem "Outfit", sans-serif;
  /* Un poco más pequeño */
  color: #1a1f2e;
  letter-spacing: -2px;
  margin-bottom: 10px;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-lead {
  font: 500 1.2rem "Manrope", sans-serif;
  color: #64748b;
}

/* Layout del Widget */
.widget-v3-layout {
  display: flex;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

/* Columna Izquierda: Glass Card */
.glass-summary-card {
  flex: 0 0 320px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 40px;
  border-radius: 40px;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
  position: relative;
}

.google-g-logo {
  width: 50px;
  height: 50px;
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.summary-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

.summary-brand strong {
  font: 800 1.5rem "Outfit", sans-serif;
  color: #1a1f2e;
}

.blue-check-small {
  width: 18px;
  height: 18px;
  background: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
}

.blue-check-small svg {
  fill: #fff;
}

.big-rating {
  font: 900 4.5rem "Outfit", sans-serif;
  color: #1a1f2e;
  line-height: 1;
  margin-bottom: 10px;
}

.stars-v3 {
  font-size: 1.5rem;
  letter-spacing: 5px;
  margin-bottom: 15px;
}

.rating-label {
  font: 700 1rem "Outfit", sans-serif;
  color: #64748b;
  margin-bottom: 5px;
}

.rating-desc {
  font: 500 0.85rem "Manrope", sans-serif;
  color: #94a3b8;
  margin-bottom: 30px;
}

.btn-v3-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  padding: 16px 24px;
  border-radius: 20px;
  color: #ffffff;
  text-decoration: none;
  font: 700 1rem "Outfit", sans-serif;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.premium-shimmer::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.1) 40%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.1) 60%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(45deg);
  animation: shimmer-effect 3s infinite;
}

@keyframes shimmer-effect {
  0% {
    transform: translateX(-150%) rotate(45deg);
  }

  100% {
    transform: translateX(150%) rotate(45deg);
  }
}

.btn-v3-google:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.4);
}

.external-icon {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* Carrusel Columna Derecha */
.carousel-v3-wrapper {
  flex: 1;
  position: relative;
  width: 100%;
  max-width: 760px;
  /* Ajustado para tarjetas de 350px + gap */
  margin: 0 auto;
  display: block;
  /* Removed flex to avoid unleveling issues */
}

.reviews-v3-carousel {
  display: flex;
  gap: 40px;
  overflow: hidden; /* Quitado scroll interno manual */
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 20px 50px;
  /* Reducido vertical de 40px a 20px */
  scrollbar-width: none;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.reviews-v3-carousel::-webkit-scrollbar {
  display: none;
}

.review-v3-card {
  flex: 0 0 100%;
  max-width: 350px;
  /* Reducido de 420px */
  background: #ffffff;
  padding: 30px;
  /* Reduced from 40px */
  border-radius: 32px;
  /* Slightly less rounded for smaller size */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  /* Alinear al centro */
  transition: transform 0.4s ease, opacity 0.4s ease;
  min-height: 320px;
  /* Enforce consistent height for leveling */
  justify-content: space-between;
}

.card-v3-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.v3-user {
  display: flex;
  gap: 20px;
  align-items: center;
}

.avatar-initials {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 1.2rem "Outfit", sans-serif;
  color: #ffffff;
}

.bg-teal {
  background: #14b8a6;
}

.bg-orange {
  background: #f97316;
}

.bg-purple {
  background: #8b5cf6;
}

.v3-user-info strong {
  display: block;
  font: 700 1.1rem "Outfit", sans-serif;
  color: #1a1f2e;
}

.v3-user-info span {
  font: 500 0.9rem "Manrope", sans-serif;
  color: #94a3b8;
}

.v3-google-logo {
  width: 32px;
  height: 32px;
  background: #ffffff;
  padding: 6px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v3-google-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.v3-stars-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.v3-verified-badge {
  width: 20px;
  height: 20px;
  background: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.v3-verified-badge svg {
  fill: #fff;
}

.v3-body {
  font: 400 1.05rem "Manrope", sans-serif;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.v3-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.footer-check {
  width: 18px;
  height: 18px;
  fill: #3b82f6;
}

.v3-card-footer span {
  font: 700 0.8rem "Outfit", sans-serif;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.v3-review-product-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 20px;
  margin: 15px 0;
  border: 1px solid #f1f5f9;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.v3-review-placeholder-watermark {
  width: 100%;
  height: 120px;
  border-radius: 20px;
  margin: 15px 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px dashed rgba(59, 130, 246, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(59, 130, 246, 0.5);
  position: relative;
  overflow: hidden;
}

.v3-review-placeholder-watermark svg {
  width: 32px;
  height: 32px;
  opacity: 0.85;
}

.v3-review-placeholder-watermark span {
  font: 700 0.7rem "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
}

.v3-review-placeholder-watermark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.8), transparent 70%);
  pointer-events: none;
}

/* Nav V4 - Re-creación desde cero */
.reviews-v4-controls {
  position: absolute;
  top: 58%;
  /* Ajustado para el centro visual de las tarjetas */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 98%;
  max-width: 1100px;
  /* Reduced to match smaller container */
  pointer-events: none;
  z-index: 100;
  display: flex;
  justify-content: space-between;
}

.nav-v4-btn {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.25);
  /* More transparent for glass effect */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  /* White border for glass look */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  color: #3b82f6;
}

.nav-v4-btn:hover {
  transform: scale(1.1);
  /* Removed rotation */
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.nav-v4-btn svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Efecto de nivelación forzada */
.innovative-reviews-section {
  position: relative;
  overflow: visible;
  /* Asegurar que se vean los controles */
}



@media (max-width: 1200px) {
  .widget-v3-layout {
    flex-direction: column;
  }

  .glass-summary-card {
    flex: 1;
    width: 100%;
    max-width: 400px;
  }

  .review-v3-card {
    flex: 0 0 350px;
  }

  .section-head-v3 h2 {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   SECCIÓN: TESTIMONIOS (SOCIAL PROOF)
   ========================================================================== */
.reviews-section {
  padding: 40px 20px;
  background: #fcfdfe;
  text-align: center;
}

.reviews-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border-radius: 999px;
  font: 800 0.65rem "Outfit", sans-serif;
  letter-spacing: 2px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.google-rating-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.rating-number {
  font: 800 2.5rem "Outfit", sans-serif;
  color: #1a1f2e;
}

.rating-count {
  font: 500 0.9rem "Manrope", sans-serif;
  color: #64748b;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.review-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease;
  text-align: left;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.user-info strong {
  display: block;
  font: 700 1.1rem "Outfit", sans-serif;
  color: #1a1f2e;
}

.user-info span {
  font: 500 0.8rem "Manrope", sans-serif;
  color: #3b82f6;
}

.google-icon-small {
  width: 24px;
  height: 24px;
}

.review-stars {
  font-size: 1rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.review-card p {
  font: 400 0.95rem "Manrope", sans-serif;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-date {
  font: 500 0.8rem "Manrope", sans-serif;
  color: #94a3b8;
}

@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   SECCIÓN: UBÍCANOS (MAPA Y CONTACTO)
   ========================================================================== */
.map-section {
  padding: 0px 15px 100px;
  /* Reducido padding superior a 0 */
}

.map-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border-radius: 999px;
  font: 800 0.65rem "Outfit", sans-serif;
  letter-spacing: 2px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.map-content-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  margin-top: 25px;
  /* Reducido de 50px a 25px */
  align-items: start;
}

.map-frame-container {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
  border: 1px solid #eef2ff;
  background: #f8fafc;
  line-height: 0;
}

/* SECCIÓN MAPA V3 - PREMIUM STARTUP STYLE */
.section-v3-map {
  padding: 0 0 20px;
  /* Reducido bottom de 80px a 20px */
  background: transparent;
  position: relative;
  overflow: hidden;
}

.container-v3 {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.map-header {
  margin-top: 0;
  /* Forzar inicio inmediato */
  margin-bottom: 40px;
  text-align: left;
}

.map-kicker {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.map-title {
  font: 900 3rem "Outfit", sans-serif;
  color: #0F172A;
  letter-spacing: -1.5px;
  margin-bottom: 10px;
}

.map-subtitle {
  font: 500 1.1rem "Manrope", sans-serif;
  color: #64748B;
  max-width: 600px;
}

.map-grid-layout {
  display: grid !important;
  grid-template-columns: 1.4fr 0.6fr !important;
  gap: 30px;
  align-items: stretch;
  width: 100%;
}

/* IZQUIERDA - MAPA */
.map-main-area {
  position: relative;
  width: 100%;
}

.map-iframe-wrapper {
  height: 550px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  position: relative;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* OVERLAY FLOTANTE (APPLE MAPS) */
.map-floating-card {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 310px;
  background: #ffffff; /* Sólido por performance sobre mapa interactivo */
  /* backdrop-filter: blur(15px); 
  -webkit-backdrop-filter: blur(15px); */
  border-radius: 12px;
  /* Un poco más compacto */
  padding: 12px;
  /* Reducido al mínimo */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 100;
  animation: mapSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mapSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-card-head {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  /* Reducido */
}

.map-card-icon {
  width: 32px;
  /* Reducido */
  height: 32px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-card-info strong {
  font: 700 0.85rem "Outfit", sans-serif;
  /* Reducido */
  color: #0F172A;
}

.map-card-info span {
  font: 500 0.7rem "Manrope", sans-serif;
  /* Reducido */
  color: #64748B;
}

.map-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stars-gold {
  color: #FBBF24;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.map-card-rating span {
  font: 700 0.75rem "Manrope", sans-serif;
  color: #1a1f2e;
}

.map-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-map-primary,
.btn-map-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  /* Reducido */
  border-radius: 10px;
  font: 700 0.8rem "Manrope", sans-serif;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-map-primary {
  background: #3B82F6;
  color: #fff;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-map-primary:hover {
  background: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(59, 130, 246, 0.4);
}

.btn-map-outline {
  background: #fff;
  color: #0F172A;
  border: 1.5px solid #E2E8F0;
}

.btn-map-outline:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

/* DERECHA - CARDS */
.map-info-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 550px;
  /* Igual que el mapa */
}

.info-card-v3 {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  flex: 1;
}

.info-card-v3:hover {
  transform: translateY(-4px) scale(1.01);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  border-color: rgba(59, 130, 246, 0.15);
}

.info-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.bg-blue-soft {
  background: rgba(59, 130, 246, 0.08);
}

.bg-green-soft {
  background: rgba(34, 197, 94, 0.08);
}

.bg-purple-soft {
  background: rgba(139, 92, 246, 0.08);
}

.info-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.info-card-content strong {
  font: 800 1.05rem "Outfit", sans-serif;
  color: #0F172A;
}

.info-card-content p {
  font: 500 0.82rem "Manrope", sans-serif;
  color: #64748B;
  line-height: 1.45;
  margin: 0;
}

/* Nuevas clases enriquecidas de alta fidelidad */
.info-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.info-badge-mini {
  font: 800 0.65rem "Outfit", sans-serif;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.badge-blue {
  background: rgba(59, 130, 246, 0.08);
  color: #3B82F6;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.badge-green {
  background: rgba(34, 197, 94, 0.08);
  color: #16A34A;
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.08);
  color: #8B5CF6;
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.info-card-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(15, 23, 42, 0.04);
  padding-top: 8px;
  margin-top: 2px;
}

body.dark-mode .info-card-footer-row {
  border-top-color: rgba(255, 255, 255, 0.04);
}

.info-subtext {
  font: 600 0.72rem "Manrope", sans-serif;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 5px;
}

.info-subtext svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
}

.info-card-link-new {
  font: 700 0.75rem "Outfit", sans-serif;
  color: #3B82F6;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.info-card-link-new:hover {
  color: #2563EB;
  transform: translateX(3px);
}

.btn-contact-now-new {
  display: inline-block;
  padding: 5px 12px;
  background: #22C55E;
  color: #fff !important;
  border-radius: 99px;
  font: 700 0.7rem "Manrope", sans-serif;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.15);
  flex-shrink: 0;
}

.btn-contact-now-new:hover {
  background: #16A34A;
  box-shadow: 0 6px 15px rgba(34, 197, 94, 0.3);
  transform: translateY(-1px);
}

.open-now-badge-new {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.08);
  color: #16A34A;
  padding: 4px 10px;
  border-radius: 99px;
  font: 700 0.68rem "Manrope", sans-serif;
  width: fit-content;
  flex-shrink: 0;
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.open-now-badge-new.status-closed {
  background: rgba(239, 68, 68, 0.08) !important;
  color: #EF4444 !important;
  border-color: rgba(239, 68, 68, 0.1) !important;
}

.open-now-badge-new.status-closed .dot-green {
  background: #EF4444 !important;
  box-shadow: 0 0 8px #EF4444 !important;
}

.dot-green {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 10px #22C55E;
  animation: blinkDot 1.5s infinite;
}

.dot-red {
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #EF4444;
  animation: blinkDot 1.5s infinite;
}

.open-now-badge.status-closed {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

@media (max-width: 768px) {
  .map-grid-layout {
    grid-template-columns: 1fr !important;
  }

  .map-iframe-wrapper {
    height: 400px;
  }

  .map-title {
    font-size: 2rem;
  }

  .map-floating-card {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #f1f5f9;
  }
}


@media (max-width: 768px) {
  .offer-card {
    flex: 0 0 280px;
  }

  .offers-section {
    padding: 60px 15px;
  }
}

/* MASCOTA ROBOT UGREEN EN FOOTER */
.footer-robot-wrap {
  margin-top: 22px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer-robot-img {
  width: 95px;
  height: auto;
  filter: invert(1) brightness(1.5) contrast(1.2); /* Invertir y realzar líneas oscuras a blanco puro notable */
  opacity: 1; /* Opacidad sólida al 100% para máxima definición */
  background: transparent; /* Forzar sin fondo */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
}

.footer-robot-img:hover {
  transform: scale(1.15) translateY(-5px) rotate(4deg); /* Divertido micro-movimiento interactivo premium */
  filter: invert(1) brightness(1.8) contrast(1.3) drop-shadow(0 0 8px rgba(59, 130, 246, 0.5)); /* Resplandor suave al pasar el mouse */
}

/* ==========================================================================
   SECCIÓN COMUNIDAD Y CLIENTES FELICES (ULTRA VISUAL V3)
   ========================================================================== */
.community-section {
  padding: 60px 0 10px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.community-header {
  text-align: center;
  margin-bottom: 50px;
}

.community-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 177, 89, 0.08); /* Verde UGREEN transparente */
  color: #00B159; /* Verde oficial UGREEN */
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
  border: 1px solid rgba(0, 177, 89, 0.15);
}

.community-title {
  font: 900 2.8rem/1.2 "Outfit", sans-serif;
  color: #0F172A;
  letter-spacing: -1.5px;
  margin-bottom: 15px;
}

.community-title .gradient-text-blue {
  background: linear-gradient(135deg, #00B159 0%, #007A3E 100%); /* Degradado Verde UGREEN Oficial */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.community-subtitle {
  font: 500 1.1rem "Manrope", sans-serif;
  color: #64748B;
  max-width: 680px;
  margin: 0 auto;
}

/* REGALÍA DE AUTO-SCROLL INFINITO */
@keyframes communityScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CAROUSEL */
.community-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.community-carousel-viewport {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 40px 0;
  width: max-content;
}

.community-carousel-viewport.marquee-active {
  /* animation: communityScroll 35s linear infinite; Deteniendo bucle infinito de rendering de imágenes */
  overflow-x: visible;
}

.community-carousel-viewport.marquee-active:hover {
  animation-play-state: paused;
}

/* Ocultar barra de scroll */
.community-carousel-viewport::-webkit-scrollbar {
  display: none;
}
.community-carousel-viewport {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* CARD DISEÑO INDUSTRIAL PREMIUM */
.community-card {
  flex: 0 0 280px;
  width: 280px;
  height: 380px;
  background: transparent;
  overflow: visible; /* Permitir que el hover sobresalga del z-index */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.community-card:hover {
  transform: translateY(-8px) scale(1.18);
  z-index: 10;
}

.community-card-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0; /* Totalmente juntas sin esquinas por defecto */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
}

.community-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.community-card:hover .community-card-image {
  border-radius: 20px; /* Bordes suaves premium que se revelan solo al flotar */
  box-shadow: 0 20px 45px rgba(0, 177, 89, 0.3); /* Resplandor verde de alta gama */
}

.community-card:hover .community-card-image img {
  transform: scale(1.05);
}

.community-card-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 5;
}

.community-product-tag {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 700 0.75rem "Manrope", sans-serif;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.community-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.community-client-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.community-client-info strong {
  font: 800 1rem "Outfit", sans-serif;
  color: #0F172A;
}

.community-stars {
  color: #FBBF24;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.community-comment {
  font: 500 0.85rem/1.5 "Manrope", sans-serif;
  color: #475569;
  margin-bottom: 15px;
  flex-grow: 1;
  font-style: italic;
}

.community-card-footer {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 12px;
}

.community-verified-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 700 0.75rem "Manrope", sans-serif;
  color: #2563EB;
}

/* BOTONES NAVEGACIÓN FLOATING */
.community-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: absolute;
  z-index: 10;
}

.community-nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: #475569;
  stroke-width: 2.5px;
  fill: none;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.community-nav-btn.prev {
  left: 10px;
}
.community-nav-btn.next {
  right: 10px;
}

.community-nav-btn:hover {
  background: #00B159; /* Verde UGREEN */
  border-color: #00B159;
  box-shadow: 0 8px 25px rgba(0, 177, 89, 0.35); /* Glow verde */
  transform: scale(1.08);
}

.community-nav-btn:hover svg {
  stroke: #ffffff;
}

.community-nav-btn.prev:hover svg {
  transform: translateX(-2px);
}
.community-nav-btn.next:hover svg {
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .community-title {
    font-size: 2rem;
  }
  .community-card {
    flex: 0 0 280px;
  }
  .community-carousel-wrapper {
    padding: 0 10px;
  }
  .community-nav-btn {
    display: none; /* En celular se navega con scroll manual táctil */
  }
}

/* ==========================================================================
   ESTILOS PREMIUM DARK MODE (REACT-STYLE)
   ========================================================================== */

/* Variables de sobreescritura para Modo Oscuro */
body.dark-mode {
  --bg: #090611;
  --text: #f3f1f8;
  --muted: #a497c4;
  --surface: #120e22;
  --surface-2: #21193a;
  --primary: #8b5cf6;
  --primary-strong: #7c3aed;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
  background-color: #090611;
  color: #f3f1f8;
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(59, 130, 246, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(rgba(255, 255, 255, 0.04) 1.2px, transparent 1.2px);
}

/* Forzar que las tarjetas se adapten a modo oscuro de forma sutil */
body.dark-mode .section-card,
body.dark-mode .product-card,
body.dark-mode .chat-sidebar,
body.dark-mode .catalog-sidebar,
body.dark-mode .admin-panel-container {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .section-card h3,
body.dark-mode .product-card h3,
body.dark-mode h2,
body.dark-mode h1 {
  color: #ffffff !important;
}

/* Interruptor de Tema (Switch Toggle) */
.theme-toggle-switch {
  position: relative;
  width: 58px;
  height: 32px;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

body.dark-mode .theme-toggle-switch {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

body.dark-mode .toggle-thumb {
  transform: translateX(26px);
  background: #2e1065;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.toggle-icon {
  width: 14px;
  height: 14px;
  position: absolute;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sun-icon {
  color: #ea580c; /* Naranja cálido de sol */
  opacity: 1;
  transform: scale(1);
}

body.dark-mode .sun-icon {
  opacity: 0;
  transform: scale(0) rotate(-45deg);
}

.moon-icon {
  color: #c084fc; /* Púrpura suave de luna */
  opacity: 0;
  transform: scale(0) rotate(45deg);
}

body.dark-mode .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* Efecto hover interactivo */
.theme-toggle-switch:hover {
  transform: scale(1.05);
}

.theme-toggle-switch:active {
  transform: scale(0.95);
}

/* ==========================================================================
   CORRECCIONES DE VISIBILIDAD EN MODO OSCURO (PRECIOS, IMÁGENES Y CONTACTO)
   ========================================================================== */

body.dark-mode .price {
  color: #34d399 !important; /* Esmeralda brillante de alta visibilidad */
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.15);
}

body.dark-mode .price-offer {
  color: #ff8a65 !important; /* Coral vibrante de alto contraste */
}

body.dark-mode .price-original {
  color: #64748b !important;
  opacity: 0.6;
}

body.dark-mode .desc {
  color: #94a3b8 !important; /* Gris suave legible */
}

/* Evitar que las ilustraciones de las categorías se oscurezcan por mix-blend-mode y conservar la transparencia original */
body.dark-mode .section-img-float {
  mix-blend-mode: normal !important;
  opacity: 0.95 !important;
}

/* Tarjetas de Información de Contacto / Dirección del Mapa */
body.dark-mode .info-card-v3 {
  background: rgba(18, 14, 34, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .info-card-v3:hover {
  background: rgba(29, 23, 54, 0.85) !important;
}

body.dark-mode .info-card-content strong {
  color: #ffffff !important;
}

body.dark-mode .info-card-content p {
  color: #cbd5e1 !important;
}

/* Enlaces y botones de tarjetas de contacto */
body.dark-mode .info-card-link,
body.dark-mode .btn-contact-now {
  color: #34d399 !important;
}

/* Píldoras del menú táctil de categorías en modo oscuro */
body.dark-mode .v8-pill {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #cbd5e1 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .v8-pill.active {
  background: #00B159 !important; /* Mantener el verde corporativo de UGREEN */
  color: #ffffff !important;
  border-color: #00B159 !important;
  box-shadow: 0 4px 15px rgba(0, 177, 89, 0.3) !important;
}

/* Ajustes de entradas de búsqueda y filtros para el catálogo en modo oscuro */
body.dark-mode .v8-search-pro-box {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .v8-search-pro-box input {
  color: #ffffff !important;
}

body.dark-mode .v8-select-trigger {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

body.dark-mode .v8-select-options {
  background: #120e22 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .v8-option {
  color: #cbd5e1 !important;
}

body.dark-mode .v8-option:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
}
/* Conservar la transparencia original en modo oscuro */

/* ==========================================================================
   CORRECCIONES DE VISIBILIDAD PARA EL CATÁLOGO (CATALOG.HTML) EN MODO OSCURO
   ========================================================================== */

body.dark-mode .product-title-v3 {
  color: #ffffff !important; /* Títulos de producto legibles en blanco puro */
}

body.dark-mode .price-main-v3,
body.dark-mode .amount-v3 {
  color: #ffffff !important; /* El número de precio grande en blanco brillante de alta visibilidad */
}

body.dark-mode .currency-v3 {
  color: #34d399 !important; /* El símbolo "S/" en verde esmeralda brillante */
}

body.dark-mode .price-old-v3 {
  color: #ff8a65 !important; /* El precio anterior tachado en coral suave */
  opacity: 0.7;
}

body.dark-mode .catalog-page-v3 .product-card {
  background: var(--surface) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .catalog-page-v3 .product-img-wrap {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

/* ==========================================================================
   EFECTO REVEAL BOUTIQUE EN SCROLL (FADE-UP ULTRA-PREMIUM)
   ========================================================================== */

.reveal {
  opacity: 0 !important;
  transform: translateY(45px) !important;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.reveal.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ==========================================================================
   PREMIUM PRELOADER V3 - ESTILOS DE ALTO IMPACTO
   ========================================================================== */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #1e1b4b 0%, #090514 100%);
  z-index: 999999; /* Siempre por encima de todo */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  text-align: center;
  animation: preloaderPulse 3s infinite ease-in-out;
}

.preloader-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.preloader-logo {
  width: 85px;
  height: 85px;
  border-radius: 26px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  font-family: "Outfit", sans-serif;
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.2);
  animation: logoGlow 2s infinite alternate ease-in-out;
}

.preloader-brand {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  font-family: "Outfit", sans-serif;
}

.preloader-sub {
  font-size: 0.95rem;
  font-weight: 700;
  color: #10b981; /* Verde esmeralda oficial de Ugreen */
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-family: "Manrope", sans-serif;
}

/* Spinner Concéntrico Orbital Tech de Alto Impacto */
.preloader-progress-wrap {
  width: 90px;
  height: 90px;
  margin: 15px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}

.preloader-progress-bar {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  border: 4px solid rgba(16, 185, 129, 0.05);
  border-top-color: #10b981;
  border-bottom-color: #10b981;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.4), inset 0 0 15px rgba(16, 185, 129, 0.2);
  animation: preloaderSpinOuter 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.preloader-progress-fill {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: transparent;
  border: 3px solid rgba(52, 211, 153, 0.03);
  border-left-color: #34d399;
  border-right-color: #34d399;
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.3);
  animation: preloaderSpinInner 1s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
}

.preloader-status {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "Manrope", sans-serif;
  animation: textPulse 1.5s infinite alternate ease-in-out;
}

@keyframes preloaderSpinOuter {
  0% { transform: rotate(0deg) rotateX(15deg); }
  100% { transform: rotate(360deg) rotateX(15deg); }
}

@keyframes preloaderSpinInner {
  0% { transform: rotate(0deg) rotateY(15deg); }
  100% { transform: rotate(360deg) rotateY(15deg); }
}

@keyframes textPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

@keyframes logoGlow {
  0% { box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3); }
  100% { box-shadow: 0 20px 45px rgba(139, 92, 246, 0.6); }
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.98); }
}