/* =========================
   BASE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", "Roboto", sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #fdfdfc;
  color: #333;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 130px;
}

main {
  width: 100%;
  padding: 0;
  margin: 0;
  flex: 1;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

h2 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

/*DETALLE*/

.producto-detalle {
  padding: 24px 1.5rem 3rem 1.5rem;
  display: flex;
  justify-content: center;
  min-height: 85vh;
  box-sizing: border-box;

  background-image:
    linear-gradient(135deg, rgba(248, 250, 252, 0.90) 0%, rgba(241, 245, 249, 0.94) 100%),
    url("../img/Rascacielos.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.producto-contenedor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  background: #ffffff;
  border-radius: 20px;
  padding: 35px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 30px rgba(0, 14, 31, 0.05);
  align-self: center;
}

.producto-imagen {
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gris-suave);
  border-radius: 12px;
  overflow: hidden;
}

.producto-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sin-imagen {
  width: 100%;
  height: 300px;
  background: var(--gris-suave);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.producto-info h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.precio {
  font-size: 22px;
  color: var(--primario);
  font-weight: bold;
  margin-bottom: 10px;
}

.estado {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 15px;
}

.disponible {
  background: #e7f7ec;
  color: #2e7d32;
}

.agotado {
  background: #fdecea;
  color: #c62828;
}

.descripcion {
  margin: 20px 0;
  color: var(--texto);
  line-height: 1.5;
}

.acciones {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-principal {
  background: var(--primario);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.btn-secundario {
  background: var(--gris-suave);
  color: var(--texto);
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
}

/* =========================
   VARIABLES RAPIDASSURE RETAIL
========================= */

:root {
  --primario: #002093;
  --primario-oscuro: #000E1F;
  --secundario: #3230C2;
  --acento: #FCBE00;
  --acento-naranja: #3230C2;
  --texto: #1e293b;
  --blanco: #ffffff;
  --gris-suave: #f8fafc;
}

/* =========================
   LAYOUT GENERAL
========================= */

section {
  padding: 2rem 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

section:nth-of-type(2) {
  animation-delay: 0.3s;
}

section:nth-of-type(3) {
  animation-delay: 0.6s;
}

section:nth-of-type(4) {
  animation-delay: 0.9s;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.categoria-wrapper,
.deseos-wrapper {
  padding: 24px 1rem 3rem 1rem;
  min-height: 85vh;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;

  background-image:
    linear-gradient(135deg, rgba(248, 250, 252, 0.90) 0%, rgba(241, 245, 249, 0.94) 100%),
    url("../img/Rascacielos.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ===== NAVBAR MODERNA RAPIDASSURE ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 15px 1rem;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 14, 31, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(252, 190, 0, 0.15);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);

  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* efecto al hacer scroll */
.navbar.scrolled {
  background: rgba(0, 14, 31, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  padding: 12px 1rem;
}

/* CONTENEDOR MARCA */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* LOGO */
.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.5px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 44px;
  max-width: 180px;
  object-fit: contain;
  background: transparent;
}

/* LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

/* LINKS INDIVIDUALES */
.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  /* siempre visible, burbuja translúcida */
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* hover vivo y atrevido */
.nav-links a:hover {
  background: white;
  color: var(--primario);
  border-color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.nav-links a:active {
  transform: translateY(0) scale(0.95);
}

/* NAV DROPDOWN CATEGORÍAS */
.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: rgba(0, 14, 31, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  padding: 8px 0;
  list-style: none;
  margin: 8px 0 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1200;
}

.dropdown-menu li {
  width: 100%;
  margin: 0;
}

.dropdown-menu li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 18px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  transition: background 0.2s, color 0.2s !important;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FCBE00 !important;
  transform: none !important;
}

/* HAMBURGUESA */
.menu-toggle {
  font-size: 1.3rem;
  background: rgba(0, 56, 255, 0.08);
  border: 1px solid rgba(0, 56, 255, 0.15);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: #0038FF;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(0, 56, 255, 0.15);
  color: #002093;
}

.menu-toggle:active {
  transform: scale(0.92);
}

/* BOTÓN CERRAR */
.close-button {
  display: none;
  color: white;
  transition: opacity 0.2s;
}

.close-button:hover {
  opacity: 0.8;
}

/* =========================
   BOTONES
========================= */

.button,
.btn,
.producto button {
  cursor: pointer;
  transform: scale(1);
}

.button:hover,
.btn:hover,
.producto button:hover {
  transform: scale(1.05);
  background-color: #4caf50;
  color: #fff;
}

.button {
  background-color: var(--acento);
  color: var(--blanco);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.button:hover {
  background-color: #55775e;
}

.btn-categoria {
  display: inline-block;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--primario), var(--secundario));
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 10px rgba(0, 32, 147, 0.2);
}

.btn-categoria:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 32, 147, 0.35);
}

.producto-acciones {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 10px 10px 20px 10px;
}

.btn-accion {
  margin: 0;
  padding: 8px 14px;
  font-size: 14px;
}

.btn-acento {
  background: linear-gradient(135deg, #002093 0%, #3230C2 100%) !important;
  color: #ffffff !important;
}

.btn-acento:hover {
  background: linear-gradient(135deg, #001770 0%, #002093 100%) !important;
  color: #ffffff !important;
}

.btn-volver {
  display: inline-block;
  margin: 10px 0 20px 0;
  padding: 8px 14px;
  background: var(--gris-suave);
  color: var(--texto);
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
}

.btn-volver:hover {
  background: var(--secundario);
}

/* Estilos para el input de archivo */
.custom-file-input {
  width: 95%;
  color: #555;
  background: #fff;
  border: 1px solid #ccd0d5;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  font-family: inherit;
}

/* Magia CSS: Apuntamos solo al botón gris feo del navegador */
.custom-file-input::file-selector-button {
  background: #6c757d;
  /* Un gris elegante, puedes cambiarlo al color de tus botones */
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  margin-right: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.custom-file-input::file-selector-button:hover {
  background: #5a6268;
}

/* =========================
   HERO / INTRO
========================= */

.intro {
  height: 67vh;
  margin-top: 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/Fondo_corporativo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: kenburns 20s infinite alternate ease-in-out;
  z-index: 0;
}

.intro::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5));
  z-index: 1;
}

@keyframes kenburns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.intro>.container {
  position: relative;
  z-index: 2;
  color: rgb(0, 0, 0);
}

.intro h2 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--primario);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 1s ease-out forwards;
}

.intro p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #444;
  font-weight: 500;
  animation: fadeInUp 1.2s ease-out forwards;
}

/* =========================
   CATALOGO
========================= */

.catalogo {
  padding: 2rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.catalogo2 {
  padding: 2rem 1.2rem;
  margin-top: 25px;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 14, 31, 0.04);

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  justify-content: center;
  gap: 1.5rem;
  align-self: center;
}

.catalogo2 .producto {
  width: 100%;
  max-width: 280px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.catalogo2 .producto img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
  background: #f8fafc;
  transition: transform 0.4s ease;
}

.catalogo2 .producto:hover img {
  transform: scale(1.05);
}

/* =========================
   DESTACADOS COMPACTOS
========================= */
.catalogo-destacados {
  padding: 1rem 0.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.producto-destacado {
  background-color: var(--blanco);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #edf2f7;
  overflow: hidden;
  width: 190px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.producto-destacado:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.producto-destacado img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
  background: #f8fafc;
  transition: transform 0.4s ease;
}

.producto-destacado:hover img {
  transform: scale(1.05);
}

.producto-destacado h3 {
  margin: 0.6rem 0.5rem 0.2rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #2d3748;
  line-height: 1.3;
}

.producto-destacado p {
  color: var(--acento);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.catalogo .producto {
  background-color: var(--blanco);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  width: 250px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.catalogo .producto:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.catalogo .producto img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.catalogo .producto:hover img {
  transform: scale(1.05);
}

.catalogo .producto h3 {
  margin: 1rem 0 0.5rem;
}

.catalogo .producto p {
  color: var(--acento);
  font-weight: bold;
}

.catalogo .producto button,
.btn-categoria {
  background-color: var(--primario);
  color: var(--blanco);
  border: none;
  padding: 10px 20px;
  margin-bottom: 1.5rem;
  cursor: pointer;
  border-radius: 25px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.catalogo h2 {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #4a4a4a;
}

.catalogo .producto button:hover,
.btn-categoria:hover {
  background: linear-gradient(135deg, #001770 0%, #002093 100%) !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 15px rgba(0, 32, 147, 0.3);
}

.catalogo-seccion {
  margin-top: 0rem;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)),
    url("../img/Fondo_corporativo.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.producto {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 14, 31, 0.04);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  align-self: center;
  border: 1px solid #e2e8f0;
}

.producto:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 32, 147, 0.12);
  border-color: #cbd5e1;
}

.producto img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
  background: #f8fafc;
  transition: transform 0.4s ease;
}

.producto:hover img {
  transform: scale(1.05);
}

.producto h3 {
  font-size: 16px;
  margin: 15px 10px 5px 10px;
  line-height: 1.3;
}

.producto p {
  font-size: 14px;
  color: var(--acento);
  font-weight: bold;
  margin: 0 10px 10px 10px;
}

.agotado {
  display: inline-block;
  background-color: #ff4d4d;
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}

/* =========================
   NOSOTROS
========================= */

.nosotros {
  position: relative;
  min-height: 50vh;
  height: auto;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.contenido {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 80%;
}

.nosotros h2 {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 3.2rem;
  margin-bottom: 1rem;
  color: white;
}

/* =========================
   CONTACTO
========================= */

.contacto {
  min-height: 50vh;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.7)),
    url("../img/Fondo_corporativo.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.contacto h2 {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #4a4a4a;
}

.contacto .btn {
  display: inline-block;
  background-color: var(--acento);
  color: var(--blanco);
  padding: 0.7rem 1.2rem;
  margin: 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.contacto .btn:hover {
  background-color: #5a8767;
}

/* =========================
   FOOTER
========================= */

.footer {
  background-color: var(--primario);
  color: var(--blanco);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* =========================
   ANIMACIONES
========================= */

* {
  transition: all 0.3s ease-in-out;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   PANEL LAYOUT 
========================= */

.panel-nav {
  display: flex;
  flex-direction: column;
  width: 250px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background: var(--primario);
  padding: 20px 15px;
  gap: 8px;
  box-sizing: border-box;
  z-index: 100;
}

.panel-nav h2 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.panel-nav a {
  color: white;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.panel-nav a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.panel-layout .panel-nav {
  position: fixed;
  left: 0;
}

.panel-layout .panel-main {
  margin-left: 250px;
}

.producto {
  position: relative;
}

.producto img {
  height: 180px;
  object-fit: contain;
}

.agotado {
  position: absolute;
  top: 10px;
  left: 10px;
  background: red;
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
}

/* Espaciado para los iconos de la sidebar */
.panel-nav a i,
.panel-nav button i,
.panel-nav h2 i {
  margin-right: 10px;
  width: 20px;
  /* Esto asegura que todos los textos queden alineados verticalmente */
  text-align: center;
  flex-shrink: 0;
}

/* Estilo para el contenedor del formulario de logout */
.panel-nav form {
  margin-top: auto;
  /* Esta es la "magia" que lo envía al fondo */
  margin-bottom: 20px;
  width: 100%;
}

/* El nuevo estilo del botón: discreto, sin bordes toscos y elegante */
.btn-logout-clean {
  /* Tu estilo anterior pero asegurando que no se desborde */
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  gap: 10px;
  transition: all 0.2s;
  box-sizing: border-box;
}

.btn-logout-clean:hover {
  background: #fff0f0;
  /* Un rojo muy pálido al pasar el mouse */
  color: #d32f2f;
  border-color: #f8d7da;
}

/* ===== FORMULARIOS PANEL ===== */

.panel-body .form-panel {
  background: white;
  padding: 25px;
  border-radius: 12px;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.panel-body .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.panel-body .form-group label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #555;
}

/* Inputs */
.panel-body input,
.panel-body select,
.panel-body textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: 0.2s;
}

/* Focus */
.panel-body input:focus,
.panel-body select:focus,
.panel-body textarea:focus {
  outline: none;
  border-color: var(--primario);
  box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.2);
}

/* Checkbox */
.panel-body .form-group.check {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

/* Botón */
.panel-body .btn-primary {
  background: var(--primario);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  transition: 0.2s;
}

.panel-body .btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Layout general */
body.panel-body {
  margin: 0;
  padding: 0;
  height: auto !important;
  min-height: 100vh;
  background-color: #f4f6f8 !important;
  display: flex;
  flex-direction: column;
}

.panel-layout {
  display: flex;
  flex: 1;
  min-height: 100vh;
  width: 100%;
  background-color: #f4f6f8;
  position: relative;
}

.panel-layout .panel-nav {
  position: fixed;
  left: 0;
}

.panel-layout .panel-main {
  margin-left: 250px;
  width: calc(100% - 250px);
}

/* CONTENIDO */
.panel-main {
  flex: 1;
  min-height: 100vh;
  padding: 40px;
  /* 👈 aquí está la separación real */
  box-sizing: border-box;
  background-color: #f4f6f8;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.75)),
    url("../img/Fondo_corporativo.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

.stats-grid {
  background-color: rgba(255, 255, 255, 0.35);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.45);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.stat-card h3 {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.stat-card p {
  font-size: 28px;
  font-weight: bold;
  color: var(--primario);
}

/* === Lista de Últimos Productos Limpia === */
.lista-productos {
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  /* Para que los bordes redondeados corten las filas */
  margin-top: 15px;
}

.lista-productos ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-productos li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.lista-productos li:last-child {
  border-bottom: none;
}

.lista-productos li:hover {
  background-color: #fdfdfd;
  /* Cambio sutil al pasar el mouse */
}

.prod-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prod-nombre {
  font-weight: 600;
  color: #333;
}

.prod-meta {
  font-size: 13px;
  color: #888;
}

/* Badge de estado profesional */
.badge-status {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-disponible {
  background-color: #e7f7ec;
  color: #2e7d32;
}

.status-agotado {
  background-color: #fdecea;
  color: #c62828;
}

/* =========================
   RESPONSIVE & MENÚ MÓVIL
   ========================= */

.mobile-menu-overlay,
.mobile-drawer,
.floating-mobile-cart-btn,
.floating-mobile-cart-btn.oculto {
  display: none !important;
}

@media (max-width: 768px) {

  /* Rendimiento Móvil: Desactivar background-attachment fixed y blur pesado que relentizan celulares */
  .categoria-wrapper,
  .deseos-wrapper {
    padding: 16px 0.8rem 2rem 0.8rem !important;
    background-image: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    background-attachment: scroll !important;
  }

  .producto-detalle {
    padding: 16px 0.8rem 2rem 0.8rem !important;
    background-image: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    background-attachment: scroll !important;
  }

  .catalogo2 {
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .main-header-row {
    padding: 4px 8px 6px;
    transition: padding 0.3s ease;
  }

  .main-header-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
    transition: gap 0.3s ease;
  }

  /* FILA 1 MÓVIL: Logo Centrado (con colapso suave en scroll down) */
  .header-top-row {
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: center !important;
    text-align: center;
    padding: 0;
    max-height: 55px;
    opacity: 1;
    overflow: hidden !important;
    transform: translateY(0);
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.25s ease,
      transform 0.3s ease,
      margin 0.3s ease;
  }

  /* Al hacer scroll down en móvil se oculta el logo manteniendo la barra de búsqueda fija */
  .header-site-rapidassure.logo-hidden .header-top-row {
    max-height: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    transform: translateY(-10px) !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .header-site-rapidassure.logo-hidden .header-logo-img {
    height: 0 !important;
    opacity: 0 !important;
  }

  .header-site-rapidassure.logo-hidden .main-header-container {
    gap: 0 !important;
  }

  .header-site-rapidassure.logo-hidden .main-header-row {
    padding-top: 3px !important;
    padding-bottom: 4px !important;
  }

  .header-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .header-logo-img {
    height: 36px;
    width: auto;
    transition: height 0.3s ease, opacity 0.25s ease;
  }

  /* Ocultar Carrito del Header en Móvil */
  .cart-header-widget {
    display: none !important;
  }

  /* Floating Mobile Cart Button (Solo Móvil cuando active y no oculto) */
  .floating-mobile-cart-btn.active:not(.oculto) {
    display: flex !important;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #002093 0%, #3230C2 100%);
    color: #ffffff;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px rgba(0, 32, 147, 0.4);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .floating-mobile-cart-btn.oculto {
    display: none !important;
  }

  .floating-mobile-cart-btn:hover,
  .floating-mobile-cart-btn:active {
    transform: scale(1.05);
    box-shadow: 0 14px 30px rgba(0, 32, 147, 0.5);
  }

  .floating-cart-icon-box {
    position: relative;
    font-size: 1.35rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .floating-cart-bubble {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #FCBE00;
    color: #000E1F;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    border: 1.5px solid #002093;
    line-height: 1;
  }

  .floating-cart-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
  }

  .floating-cart-tag {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .floating-cart-price {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
  }

  /* FILA 2 MÓVIL: Sandwich pegado más cerca al borde izquierdo + Buscador */
  .header-search-row {
    display: flex !important;
    width: 100%;
    align-items: center;
    gap: 8px;
    padding: 0;
  }

  .menu-toggle {
    display: inline-flex !important;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin: 0;
    border-radius: 12px;
  }

  .integrated-search-box {
    flex: 1;
    min-width: 0;
    max-width: none;
    margin-top: 0;
    height: 40px;
    padding: 3px 4px 3px 12px;
    box-sizing: border-box;
    border-radius: 30px;
  }

  .search-cat-dropdown {
    display: none !important;
  }

  .search-input-box {
    flex: 1;
    padding: 0 8px;
  }

  .search-input-box input {
    font-size: 0.88rem;
  }

  .search-submit-btn {
    width: 34px;
    height: 34px;
    font-size: 0.88rem;
    flex-shrink: 0;
  }

  .navbar-brand {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links {
    display: none !important;
  }

  .mobile-menu-overlay {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-menu-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-drawer {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 82vw;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    gap: 0;
    background: linear-gradient(165deg, #000E1F 0%, #002093 100%);
    box-shadow: 15px 0 35px rgba(0, 0, 0, 0.22);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2500;
    overflow-y: auto;
  }

  .mobile-drawer.show {
    left: 0;
    transform: translateX(0);
  }

  .mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: white;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .drawer-logo-img {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  .close-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    position: static;
    margin-left: 8px;
  }

  .close-button:active,
  .close-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
  }

  .mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    flex-grow: 1;
    margin: 0;
  }

  .mobile-drawer-nav li {
    width: 100%;
    margin: 0;
    list-style: none;
  }

  .mobile-drawer-nav a {
    font-size: 0.98rem;
    font-weight: 600;
    width: calc(100% - 32px);
    margin: 0 16px 8px 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 12px;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    text-align: left;
    text-decoration: none;
  }

  .nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }

  .mobile-drawer-nav a:hover,
  .mobile-drawer-nav a:active {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .mobile-drawer-nav a:hover .nav-icon,
  .mobile-drawer-nav a:active .nav-icon {
    background: white;
    color: #002093;
    transform: scale(1.08);
  }

  .mobile-drawer-footer {
    padding: 16px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.08);
    text-align: center;
  }

  .mobile-drawer-footer p {
    margin: 0 0 10px 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }

  .drawer-social-links {
    display: flex;
    gap: 10px;
  }

  .social-btn {
    flex: 1;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .whatsapp-btn {
    background: #25D366;
  }

  .instagram-btn {
    background: #E1306C;
  }

  .producto-contenedor {
    grid-template-columns: 1fr;
  }

  .producto-imagen {
    order: 1;
  }

  .producto-info {
    order: 2;
  }

  .producto-detalle {
    padding: 16px 6px 30px 6px;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.7)),
      url("../img/Fondo_corporativo.jpg");
    background-repeat: no-repeat;
    background-size: cover;
  }
}

@media (max-width: 600px) {
  .catalogo2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem 0.4rem;
  }

  .catalogo2 .producto {
    max-width: 100%;
  }

  .catalogo2 .producto img {
    height: 135px;
    object-fit: contain;
    padding: 6px;
  }

  .catalogo2 .producto h3 {
    font-size: 0.85rem;
    margin: 8px 5px 4px 5px;
    line-height: 1.25;
  }

  .catalogo2 .producto p {
    font-size: 0.85rem;
    margin: 0 5px 6px 5px;
  }

  .catalogo2 .producto-acciones {
    gap: 4px;
    margin: 6px 4px 12px 4px;
    flex-wrap: wrap;
  }

  .catalogo2 .btn-accion {
    padding: 6px 8px;
    font-size: 0.75rem;
    border-radius: 8px;
    flex: 1 1 auto;
    text-align: center;
  }
}

/* =========================
   DIVISORES ORGÁNICOS (WAVES)
========================= */
.wave-divider {
  width: 100%;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave-top-catalogo svg path {
  fill: rgba(255, 255, 255, 0.7);
  /* Match the top of the background gradient of catalogo-seccion */
}

.wave-bottom-catalogo svg path {
  fill: #ffffff;
  /* Transition to the next section or footer */
}

/* =========================
   BENEFICIOS (INDEX)
========================= */
.beneficios-seccion {
  background-color: var(--blanco);
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 10;
}

.beneficio-item {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 280px;
}

.beneficio-item i {
  font-size: 2rem;
  color: var(--acento);
  background: rgba(220, 237, 200, 0.5);
  /* Soft green background */
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.beneficio-item h4 {
  font-size: 1.1rem;
  margin: 0 0 5px 0;
  color: var(--texto);
}

.beneficio-item p {
  font-size: 0.9rem;
  margin: 0;
  color: #666;
}

@media (max-width: 768px) {
  .beneficios-seccion {
    gap: 20px;
  }

  .beneficio-item {
    width: 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   UTILIDADES & COMPONENTES SEMÁNTICOS (PANEL, GUÍA Y ERRORES)
   ========================================================================== */

/* Guía del Panel */
.guia-container {
  max-width: 1000px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}

.guia-header-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.guia-chip {
  background: #f8fafc;
  color: #334155;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}

.guia-chip:hover {
  background: #002093;
  color: white;
  border-color: #002093;
}

.guia-section-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.guia-item-box {
  background: #f8fafc;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

/* Modales Glassmorphism */
.modal-glass-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-glass-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   NOVEDADES DESTACADAS (CARROUSEL, GLASS BADGES & HOVER GLOW)
   ========================================================================== */

.destacados-header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto 1.5rem auto;
  padding: 0 1rem;
}

.btn-shuffle {
  background: white;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-shuffle:hover {
  background: #002093;
  color: white;
  border-color: #002093;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 32, 147, 0.35);
}

.btn-shuffle:hover i {
  animation: spin 0.6s ease-in-out;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Botón Sutil "Ver más" de Productos Destacados */
.destacados-ver-mas-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 0.5rem;
}

.btn-ver-mas-sutil {
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #e2e8f0;
  padding: 10px 28px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 14, 31, 0.04);
}

.btn-ver-mas-sutil:hover:not(:disabled) {
  background: #f8fafc;
  color: #002093;
  border-color: #002093;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 32, 147, 0.12);
}

.btn-ver-mas-sutil:active:not(:disabled) {
  transform: translateY(0);
}

.btn-ver-mas-sutil:disabled {
  cursor: default;
  opacity: 0.85;
}

.btn-ver-mas-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ver-mas-content i {
  color: #002093;
  font-size: 0.82rem;
  transition: transform 0.25s ease;
}

.btn-ver-mas-sutil:hover:not(:disabled) .btn-ver-mas-content i {
  transform: translateY(2px);
}

.btn-ver-mas-spinner {
  color: #002093;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ver-mas-terminado {
  background: #f1f5f9 !important;
  color: #64748b !important;
  border-color: #cbd5e1 !important;
  box-shadow: none !important;
  transform: none !important;
}

.btn-ver-mas-terminado i {
  color: #10b981 !important;
}

@keyframes fadeInUpCard {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.destacados-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.catalogo-destacados-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 15px 10px 25px 10px;
  -webkit-overflow-scrolling: touch;
}

.catalogo-destacados-slider::-webkit-scrollbar {
  height: 6px;
}

.catalogo-destacados-slider::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.catalogo-destacados-slider::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.catalogo-destacados-slider::-webkit-scrollbar-thumb:hover {
  background: #002093;
}

.producto-destacado-card {
  flex: 0 0 190px;
  scroll-snap-align: start;
  background: white;
  border-radius: 16px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.producto-destacado-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 25px rgba(0, 32, 147, 0.25);
  border-color: rgba(0, 32, 147, 0.5);
}

.producto-destacado-card .img-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
  height: 140px;
  background: #f8fafc;
}

.producto-destacado-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.producto-destacado-card:hover img {
  transform: scale(1.08);
}

.badge-glass {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #1e293b;
  font-weight: 800;
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  letter-spacing: 0.2px;
  z-index: 2;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid #cbd5e1;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.slider-nav-btn:hover {
  background: #002093;
  color: white;
  border-color: #002093;
}

.slider-nav-btn.prev {
  left: -12px;
}

.slider-nav-btn.next {
  right: -12px;
}

@media (max-width: 768px) {
  .slider-nav-btn {
    display: none;
  }

  .producto-destacado-card {
    flex: 0 0 165px;
  }
}

/* ==========================================================================
   BARRA DE CHIPS Y GRILLA DE COLECCIONES (MOBILE 2 COLUMNAS)
   ========================================================================== */

.categoria-chips-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 15px 15px 15px;
  max-width: 1200px;
  margin: 0 auto 1rem auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.categoria-chips-bar::-webkit-scrollbar {
  display: none;
}

.chip-btn {
  background: white;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.chip-btn:hover,
.chip-btn.active {
  background: #002093;
  color: white;
  border-color: #002093;
  box-shadow: 0 4px 12px rgba(0, 32, 147, 0.3);
  transform: translateY(-1px);
}

.catalogo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 35px 15px;
}

.catalogo-grid .producto {
  width: 280px;
  background-color: var(--blanco);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  text-align: center;
  padding: 16px;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.catalogo-grid .producto:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0, 32, 147, 0.22);
  border-color: rgba(0, 32, 147, 0.4);
}

.catalogo-grid .producto img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
  background: #f8fafc;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

@media (max-width: 600px) {
  .catalogo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 10px 25px 10px;
  }

  .catalogo-grid .producto {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px;
  }

  .catalogo-grid .producto img {
    height: 120px;
  }

  .catalogo-grid .producto h3 {
    font-size: 0.88rem;
    margin: 6px 0;
  }

  .catalogo-grid .producto .btn-categoria {
    padding: 6px 8px;
    font-size: 0.75rem;
  }
}

/* ==========================================
   ESTÉTICA HYPER-MODERNA RAPIDASSURE.CL (HEADER & HERO)
========================================== */

.header-site-rapidassure {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 14, 31, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top Announcement Bar (Presencia Física en Santiago) */
.top-announcement-bar {
  background: linear-gradient(90deg, #000E1F 0%, #001B3D 50%, #002093 100%);
  color: #f8fafc;
  font-size: 0.78rem;
  padding: 6px 1.5rem;
  border-bottom: 1px solid rgba(252, 190, 0, 0.25);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.2px;
}

.top-announcement-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.top-bar-icon-gold {
  color: #FCBE00;
  font-size: 0.85rem;
  animation: pulsePin 2.5s infinite ease-in-out;
}

@keyframes pulsePin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.top-bar-badge-pickup {
  background: rgba(252, 190, 0, 0.16);
  border: 1px solid rgba(252, 190, 0, 0.45);
  color: #FCBE00;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.top-bar-perks {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  color: #cbd5e1;
}

.top-bar-perk-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-perk-item i {
  color: #38bdf8;
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

.top-bar-contact-link {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.top-bar-contact-link i {
  color: #25D366;
  font-size: 0.9rem;
}

.top-bar-contact-link:hover {
  color: #FCBE00;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .top-announcement-bar {
    padding: 5px 12px;
    font-size: 0.72rem;
  }
  .top-announcement-container {
    justify-content: center;
  }
  .top-bar-location {
    font-size: 0.72rem;
  }
  .top-bar-badge-pickup {
    font-size: 0.65rem;
    padding: 1px 6px;
  }
  .top-bar-perks {
    display: none;
  }
}

/* Top Bar */
.top-bar {
  display: none !important;
}

.top-bar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #64748b;
  font-weight: 500;
}

.top-divider {
  color: #cbd5e1;
  font-weight: 300;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-right a:hover {
  transform: translateY(-1px);
  opacity: 0.85;
}

/* Main Header Row */
.main-header-row {
  background: transparent;
  padding: 4px 1.5rem;
}

.main-header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

@media (min-width: 769px) {

  .header-top-row,
  .header-search-row {
    display: contents;
  }
}

.header-logo-link {
  order: 1;
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 110px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-logo-img:hover {
  transform: scale(1.03);
}

/* Integrated Search Box - Modern Pill with Glow */
.integrated-search-box {
  order: 2;
  flex: 1;
  max-width: 620px;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #3230C2;
  border-radius: 40px;
  padding: 3px 4px 3px 18px;
  position: relative;
  box-shadow: 0 4px 15px rgba(50, 48, 194, 0.08);
  transition: all 0.25s ease;
}

.integrated-search-box:focus-within {
  box-shadow: 0 0 0 4px rgba(50, 48, 194, 0.18), 0 8px 25px rgba(50, 48, 194, 0.12);
  border-color: #2563EB;
}

.search-cat-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 12px;
  border-right: 1px solid #e2e8f0;
}

.custom-cat-trigger {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  font-family: 'Open Sans', sans-serif;
  white-space: nowrap;
}

.custom-cat-trigger:hover {
  color: #002093;
}

.custom-cat-trigger .select-arrow {
  font-size: 0.72rem;
  color: #64748b;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-cat-dropdown.active .select-arrow {
  transform: rotate(180deg);
  color: #002093;
}

.custom-cat-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 14, 31, 0.12);
  padding: 8px;
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.search-cat-dropdown.active .custom-cat-menu {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

.custom-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.2s ease;
}

.custom-cat-item i {
  color: #002093;
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.custom-cat-item:hover {
  background: #f1f5f9;
  color: #002093;
  transform: translateX(4px);
}

.search-input-box {
  flex: 1;
  position: relative;
  padding: 0 14px;
}

.search-input-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.92rem;
  font-family: 'Open Sans', sans-serif;
  color: #0f172a;
  font-weight: 500;
}

.search-input-box input::placeholder {
  color: #94a3b8;
}

.live-search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 14, 31, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: none;
  z-index: 1100;
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
  animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-submit-btn {
  background: linear-gradient(135deg, #3230C2 0%, #1D4ED8 100%);
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(50, 48, 194, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-submit-btn:hover {
  background: linear-gradient(135deg, #2524a1 0%, #1E40AF 100%);
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 6px 16px rgba(50, 48, 194, 0.45);
}

/* Cart Header Widget */
.cart-header-widget {
  order: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-header-widget:hover {
  background: #ffffff;
  border-color: rgba(50, 48, 194, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(50, 48, 194, 0.12);
}

.cart-icon-wrapper {
  position: relative;
  font-size: 1.55rem;
  color: #3230C2;
}

.cart-bubble-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: linear-gradient(135deg, #3230C2, #2563EB);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(50, 48, 194, 0.4);
}

/* Primary Nav Bar - Modern Royal Gradient */
.primary-nav-bar {
  background: linear-gradient(90deg, #1B1879 0%, #3230C2 50%, #1D4ED8 100%);
  padding: 0 1.5rem;
  box-shadow: 0 4px 15px rgba(27, 24, 121, 0.2);
}

.primary-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 35px;
}

.categories-yellow-wrapper {
  position: relative;
}

.btn-categories-yellow {
  background: linear-gradient(135deg, #FFD700 0%, #FCBE00 100%);
  color: #000E1F;
  border: none;
  font-weight: 800;
  font-size: 0.92rem;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 24px 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
  min-width: 240px;
  box-shadow: 0 4px 15px rgba(252, 190, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-categories-yellow:hover {
  background: linear-gradient(135deg, #ffe033 0%, #e6ac00 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(252, 190, 0, 0.5);
}

.yellow-categories-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 280px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 14, 31, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
  border-radius: 0 0 16px 16px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  display: none;
  z-index: 1050;
  animation: fadeInDown 0.2s ease;
}

.yellow-categories-dropdown.active {
  display: block;
}

.yellow-categories-dropdown li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.yellow-categories-dropdown li a:hover {
  background: rgba(241, 245, 249, 0.9);
  color: #3230C2;
  padding-left: 26px;
}

.yellow-categories-dropdown li a i {
  color: #3230C2;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.primary-menu-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  font-family: 'Montserrat', sans-serif;
  padding: 15px 4px;
  display: inline-block;
  position: relative;
  transition: color 0.2s ease;
}

.primary-menu-links a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 0%;
  height: 3px;
  background: #FCBE00;
  border-radius: 4px;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-menu-links a:hover::after {
  width: 100%;
}

.primary-menu-links a:hover {
  color: #FCBE00;
}

/* ==========================================
   HERO ULTRA-MODERNO (STEEP / STRIPE LEVEL)
========================================== */

.hero-clean-white {
  position: relative;
  background: radial-gradient(circle at 50% 25%, rgba(50, 48, 194, 0.06) 0%, rgba(255, 255, 255, 1) 75%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  overflow: hidden;
}

/* Floating Ambient Orbs */
.hero-ambient-orb-1 {
  position: absolute;
  top: -100px;
  left: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(252, 190, 0, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 8s infinite alternate ease-in-out;
}

.hero-ambient-orb-2 {
  position: absolute;
  bottom: -100px;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(50, 48, 194, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 10s infinite alternate-reverse ease-in-out;
}

@keyframes floatOrb {
  0% {
    transform: translateY(0px) scale(1);
  }

  100% {
    transform: translateY(30px) scale(1.08);
  }
}

.hero-clean-container {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Badge Superior */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(50, 48, 194, 0.06);
  border: 1px solid rgba(50, 48, 194, 0.2);
  color: #3230C2;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.84rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(50, 48, 194, 0.05);
  backdrop-filter: blur(8px);
}

.hero-pill-badge .dot-pulse {
  width: 8px;
  height: 8px;
  background: #FCBE00;
  border-radius: 50%;
  box-shadow: 0 0 10px #FCBE00;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(252, 190, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(252, 190, 0, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(252, 190, 0, 0);
  }
}

.hero-central-logo {
  max-width: 620px;
  width: 92%;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 10px 25px rgba(0, 14, 31, 0.12));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-central-logo:hover {
  transform: translateY(-4px) scale(1.015);
}

.hero-tagline-blue {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
  background: linear-gradient(135deg, #0F172A 0%, #3230C2 50%, #1D4ED8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin: 0 0 1.2rem 0;
}

.hero-subdescription {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.08rem;
  color: #64748b;
  max-width: 640px;
  line-height: 1.6;
  margin: 0 0 2.2rem 0;
}

/* Modern Hero CTAs */
.hero-actions-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 30px;
  background: linear-gradient(135deg, #3230C2 0%, #1D4ED8 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.98rem;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(50, 48, 194, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px rgba(50, 48, 194, 0.45);
  color: #ffffff;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.98rem;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-secondary:hover {
  background: #ffffff;
  border-color: #3230C2;
  color: #3230C2;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Feature Cards Grid below Hero */
.hero-features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 3.5rem auto 0;
  width: 100%;
}

.hero-feature-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 22px 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0, 14, 31, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(50, 48, 194, 0.12);
  border-color: rgba(50, 48, 194, 0.3);
}

.hero-feature-card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(50, 48, 194, 0.1), rgba(37, 99, 235, 0.15));
  color: #3230C2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-feature-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.hero-feature-card p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 868px) {

  .top-bar-left span.top-divider,
  .top-bar-left span:nth-child(3) {
    display: none;
  }

  .integrated-search-box {
    max-width: 100%;
  }

  .search-cat-dropdown {
    display: none;
  }

  .primary-menu-links {
    display: none;
  }
}

/* ==========================================
   NUEVO CUERPO DE INDEX (CATEGORÍAS, BANNERS, PRODUCTOS)
========================================== */

.section-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 32, 147, 0.08);
  color: #002093;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.section-title-dark {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #000E1F;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: #64748b;
  font-size: 0.98rem;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}

/* EXPLORA POR CATEGORÍA GRID */
.category-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.category-pill-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.category-pill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 32, 147, 0.12);
  border-color: #3230C2;
}

.category-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #002093;
  margin-bottom: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.category-pill-card:hover .category-icon-circle {
  transform: scale(1.08);
  border-color: #002093;
  background: #e0e7ff;
}

.category-icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #000E1F;
  margin-bottom: 8px;
  line-height: 1.3;
}

.category-action {
  font-size: 0.82rem;
  font-weight: 700;
  color: #002093;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.category-pill-card:hover .category-action {
  gap: 8px;
  color: #3230C2;
}


/* STRIP DE BANNERS PROMOCIONALES */
.promo-banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
}

.promo-banner-card {
  border-radius: 20px;
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-banner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.promo-banner-card.dark-navy {
  background: linear-gradient(135deg, #000E1F 0%, #002093 100%);
  color: #ffffff;
}

.promo-banner-card.vibrant-blue {
  background: linear-gradient(135deg, #002093 0%, #3230C2 100%);
  color: #ffffff;
}

.promo-banner-card.gradient-purple {
  background: linear-gradient(135deg, #1e1b4b 0%, #581c87 50%, #312e81 100%);
  color: #ffffff;
}

.promo-banner-card.emerald-green {
  background: linear-gradient(135deg, #022c22 0%, #065f46 50%, #047857 100%);
  color: #ffffff;
}

.promo-banner-card.neon-cyan {
  background: linear-gradient(135deg, #042f2e 0%, #0891b2 50%, #06b6d4 100%);
  color: #ffffff;
}

.promo-banner-card.crimson-red {
  background: linear-gradient(135deg, #450a0a 0%, #991b1b 50%, #dc2626 100%);
  color: #ffffff;
}

.promo-banner-card.sunset-amber {
  background: linear-gradient(135deg, #451a03 0%, #b45309 50%, #d97706 100%);
  color: #ffffff;
}

.promo-banner-card.titanium-carbon {
  background: linear-gradient(135deg, #090d16 0%, #1e293b 50%, #334155 100%);
  color: #ffffff;
}

.promo-banner-card.electric-violet {
  background: linear-gradient(135deg, #3b0764 0%, #701a75 50%, #a21caf 100%);
  color: #ffffff;
}

.promo-banner-card.matrix-tech {
  background: linear-gradient(135deg, #052e16 0%, #15803d 50%, #22c55e 100%);
  color: #ffffff;
}

.promo-banner-card.midnight-aurora {
  background: linear-gradient(135deg, #020617 0%, #064e3b 50%, #0284c7 100%);
  color: #ffffff;
}

.promo-banner-card.solar-flare {
  background: linear-gradient(135deg, #431407 0%, #9a3412 50%, #ea580c 100%);
  color: #ffffff;
}

.promo-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #ffffff;
  width: fit-content;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-badge.gold {
  background: rgba(252, 190, 0, 0.2);
  color: #FCBE00;
  border-color: rgba(252, 190, 0, 0.4);
}

.promo-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 6px 0;
}

.promo-content p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 18px 0;
  line-height: 1.4;
  max-width: 80%;
}

.btn-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #FCBE00;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.btn-banner-link:hover {
  gap: 10px;
  color: #ffffff;
}

.promo-banner-icon {
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-size: 6rem;
  opacity: 0.12;
  color: #ffffff;
  pointer-events: none;
}


/* MODERN PRODUCTS GRID */
.modern-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 25px;
}

.modern-product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.modern-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 32, 147, 0.1);
  border-color: #cbd5e1;
}

.card-badges-top,
.card-badges-bottom {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.badge-ship-free {
  background: #10b981;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-tag-std {
  background: #002093;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
}

.badge-out-stock {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
}

.card-heart-wishlist {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  /* Gris neutro cuando no está en favoritos */
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 6;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card-heart-wishlist:hover {
  transform: scale(1.15);
  background: #ffffff;
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.2);
}

.card-heart-wishlist.active {
  color: #e11d48;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.22);
  border-color: rgba(225, 29, 72, 0.25);
}

.card-image-box {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f8fafc;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
  transition: transform 0.4s ease;
}

.modern-product-card:hover .card-image-box img {
  transform: scale(1.05);
}

.card-no-img {
  font-size: 2.5rem;
  color: #cbd5e1;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.card-stars-row {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #f59e0b;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.card-stars-row span {
  color: #64748b;
  font-weight: 700;
  margin-left: 4px;
  font-size: 0.78rem;
}

.card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.card-title a {
  color: #000E1F;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-title a:hover {
  color: #002093;
}

.card-price-container {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 14px;
}

.card-price-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #002093;
}

.card-vat-note {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

.card-actions-row {
  display: flex;
  gap: 8px;
}

.btn-card-view {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #002093;
  background: #f1f5f9;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-card-view:hover {
  background: #e2e8f0;
}

.btn-card-cart {
  flex: 1.3;
  text-align: center;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  background: linear-gradient(135deg, #002093, #3230C2);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 32, 147, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-card-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 32, 147, 0.35);
}

/* ==========================================
   HERO BANNER UNIFICADO DE ALTA FIDELIDAD (ESCENA DE ESTUDIO REAL)
========================================== */
.hero-banner-section.hero-scene-bg {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  background: url('../img/hero_studio_banner_bg.jpg') no-repeat center right / cover;
  padding: 4rem clamp(1.2rem, 5vw, 4.5rem) 0;
  overflow: hidden;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  cursor: default;
}

.hero-main-heading,
.hero-description-text,
.hero-yellow-badge,
.key-feature-item,
.hero-handwritten-note,
.hero-title-glass-card,
.hero-features-glass-card,
.header-logo-link {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  cursor: default;
}

.header-logo-link,
.btn-hero-blue-pill,
.hero-bluexpress-floating-card {
  cursor: pointer;
}

.hero-banner-section.hero-scene-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.9) 70%, rgba(248, 250, 252, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 3.5rem;
}

/* Columna Izquierda */
.hero-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* En Desktop: Contenedores totalmente transparentes sin tarjetas */
.hero-title-glass-card {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
  width: 100%;
}

.hero-features-glass-card {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
  width: 100%;
}

.hero-features-glass-card .hero-key-features-row {
  margin-bottom: 2.2rem;
}

/* Yellow Badge Top */
.hero-yellow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFC700;
  color: #000E1F;
  padding: 6px 18px 6px 8px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(255, 199, 0, 0.35);
  margin-bottom: 1.4rem;
}

.hero-yellow-badge .badge-icon-box {
  width: 28px;
  height: 28px;
  background: #000E1F;
  color: #FFC700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

/* Main Heading */
.hero-main-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 900;
  color: #002A9E;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin: 0 0 1.2rem 0;
  text-transform: uppercase;
}

.hero-main-heading .heading-blue-highlight {
  color: #0038FF;
}

/* Subtitle */
.hero-description-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.08rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 1.8rem 0;
  max-width: 600px;
}

/* Tira de 4 Iconos de Características */
.hero-key-features-row {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 14px 32px;
  align-items: center;
  margin-bottom: 2.2rem;
}

.key-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #002A9E;
  line-height: 1.35;
}

.key-feature-item .feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1.5px solid #0038FF;
  color: #0038FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 56, 255, 0.08);
  flex-shrink: 0;
}

/* Botón CTA Blue Pill + Frase */
.hero-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-hero-blue-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0038FF 0%, #002093 100%);
  color: #ffffff !important;
  padding: 15px 34px;
  border-radius: 35px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 56, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-blue-pill:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 56, 255, 0.45);
}

.hero-handwritten-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0038FF;
}

.handwritten-underline {
  width: 120px;
  height: 10px;
  margin-top: -2px;
}

/* Columna Derecha (Visual) */
.hero-right-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Bluexpress floating badge — MÁS GRANDE Y UBICADA MÁS ARRIBA A LA DERECHA */
.hero-bluexpress-floating-card {
  position: absolute;
  top: 35px;
  right: clamp(20px, 4vw, 50px);
  z-index: 10;
  background: linear-gradient(135deg, rgba(0, 56, 255, 0.94) 0%, rgba(0, 32, 147, 0.97) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 12px 22px;
  box-shadow: 0 14px 35px rgba(0, 32, 147, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 500px;
  color: #ffffff;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-bluexpress-floating-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 32, 147, 0.4);
}

.hero-bluexpress-floating-card .bx-left-section {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.hero-bluexpress-floating-card .bx-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.9px;
  margin-bottom: 3px;
  line-height: 1;
}

.hero-bluexpress-floating-card .bx-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-bluexpress-floating-card .bx-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-bluexpress-floating-card .bx-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.hero-bluexpress-floating-card .bx-vertical-divider {
  width: 1.5px;
  height: 42px;
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.hero-bluexpress-floating-card .bx-right-section {
  display: flex;
  align-items: center;
}

.hero-bluexpress-floating-card .bx-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
}

/* Tira Unificada de 4 Beneficios en la parte inferior del Hero */
.hero-bottom-benefits-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr 1fr;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 250, 252, 0.72) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 10px 32px rgba(0, 32, 147, 0.09), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 5;
  margin-top: auto;
  margin-bottom: 1rem;
  align-items: center;
  transition: all 0.3s ease;
}

.hero-bottom-benefits-strip:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.85) 100%);
  box-shadow: 0 14px 38px rgba(0, 32, 147, 0.13);
}

.benefit-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 18px;
  border-right: 1px solid rgba(0, 56, 255, 0.12);
}

.benefit-strip-item:first-child {
  padding-left: 6px;
}

.benefit-strip-item.no-border {
  border-right: none;
  padding-right: 6px;
}

.benefit-direct-icon {
  font-size: 2.1rem;
  color: #0038FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-bx-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.benefit-info h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #001A72;
  margin: 0 0 2px 0;
  line-height: 1.25;
}

.benefit-info p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0;
  line-height: 1.3;
}

.badge-free-yellow {
  background: #FFD600;
  color: #000E1F;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 5px;
  box-shadow: 0 2px 6px rgba(255, 214, 0, 0.4);
}

.subtext-bx {
  color: #0038FF;
  font-weight: 700;
}

.benefit-info p.tb-sublabel {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: #0038FF;
  margin: 3px 0 6px 0;
  display: block;
}

.payment-logos-wrapper {
  margin-top: 6px;
  display: block;
}

.payment-brands-row-img {
  max-height: 22px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Cinta Azul Inferior de Ancho Completo */
.hero-ticker-ribbon {
  position: relative;
  z-index: 5;
  background: linear-gradient(135deg, #002093 0%, #001460 100%);
  color: #ffffff;
  text-align: center;
  padding: 14px 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-top: 2.5rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  box-shadow: 0 4px 15px rgba(0, 32, 147, 0.2);
}

.hero-ticker-ribbon span {
  color: #ffffff;
}

/* Responsivo para Móviles y Tablets */
@media (max-width: 1024px) {
  .hero-banner-section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Mantenemos el fondo de la foto 100% visible con un velo ultra liviano */
  .hero-banner-section.hero-scene-bg::before {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
  }

  .hero-left-content {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .hero-title-glass-card {
    padding: 20px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.52) 0%, rgba(248, 250, 252, 0.35) 100%);
    backdrop-filter: blur(18px) saturate(190%);
    -webkit-backdrop-filter: blur(18px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 35px rgba(0, 32, 147, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.85);
    margin-bottom: 1.2rem;
  }

  .hero-features-glass-card {
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(248, 250, 252, 0.28) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 25px rgba(0, 32, 147, 0.06);
    margin-bottom: 1.6rem;
  }

  .hero-features-glass-card .hero-key-features-row {
    margin-bottom: 0;
  }

  .hero-main-heading {
    font-size: clamp(1.5rem, 5.5vw, 2.1rem);
    line-height: 1.25;
  }

  .hero-ticker-ribbon {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-right-visual {
    align-items: center;
  }

  .hero-bluexpress-floating-card {
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-bottom-benefits-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .benefit-strip-item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 56, 255, 0.1);
    padding: 10px 8px;
  }

  .benefit-strip-item:nth-child(3),
  .benefit-strip-item.no-border {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .hero-banner-section {
    padding: 1.5rem 0.8rem 1rem;
  }

  .hero-bottom-benefits-strip {
    grid-template-columns: 1fr;
  }

  .benefit-strip-item {
    border-bottom: 1px solid rgba(0, 56, 255, 0.1);
  }

  .benefit-strip-item.no-border {
    border-bottom: none;
  }

  .hero-key-features-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================
   OPCIÓN 1: CORTE GEOMÉTRICO DIAGONAL (MOCKUP ORIGINAL)
========================================== */
.hero-banner-opcion1 {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  background: linear-gradient(135deg, #f8fafc 0%, #edf4ff 50%, #dbeafe 100%);
  padding: 3.5rem clamp(1.2rem, 5vw, 4rem) 0;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-diagonal-bg-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(125deg, rgba(0, 56, 255, 0.1) 0%, rgba(50, 48, 194, 0.18) 100%);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

.hero-banner-opcion1 .hero-fused-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
  box-shadow: 0 20px 50px rgba(0, 32, 147, 0.18);
}

.hero-banner-opcion1 .hero-fused-hardware-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  mix-blend-mode: normal;
}

/* ==========================================
   OPCIÓN 2: MITAD BLANCO PURO & DIFUMINADO SUAVE
========================================== */
.hero-banner-opcion2 {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  background: linear-gradient(to right, #ffffff 0%, #ffffff 48%, #edf4ff 75%, #e2eeff 100%);
  padding: 3.5rem clamp(1.2rem, 5vw, 4rem) 0;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-banner-opcion2 .hero-fused-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.hero-banner-opcion2 .hero-fused-hardware-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: contrast(1.02) brightness(1.02);
}

/* ==========================================
   BARRA FLOTANTE SELECTORA DE HEROS (MODO PRUEBAS)
========================================== */
.hero-switcher-sticky-bar {
  position: sticky;
  top: 70px;
  z-index: 999;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid #0038ff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  padding: 10px 16px;
  width: 100%;
  transition: all 0.3s ease;
}

.hero-switcher-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-switcher-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-switcher-tag {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000E1F;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-switcher-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-switch-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.hero-switch-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 56, 255, 0.3);
}

.hero-switch-btn.active {
  background: linear-gradient(135deg, #0038ff 0%, #3230c2 100%);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 4px 16px rgba(0, 56, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-switch-btn.active i {
  color: #fcbe00;
}

.hero-switcher-back-link {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.hero-switcher-back-link:hover {
  color: #ffffff;
}

/* Contenedor de alternativas */
.hero-variant-wrapper {
  display: none;
  animation: heroFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-variant-wrapper.is-active {
  display: block;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   HERO OPCIÓN 1: SPLIT TECH CON HARDWARE DESTACADO
========================================== */
.hero-split-tech-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  background: linear-gradient(135deg, #f8fafc 0%, #eef4ff 45%, #dbeafe 100%);
  padding: 3.5rem clamp(1.2rem, 5vw, 4rem) 0;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-split-tech-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
}

.hero-split-left {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-badge-gradient {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #002093, #3230c2);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(0, 32, 147, 0.25);
}

.hero-badge-gradient .badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
}

.hero-split-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  color: #000E1F;
  margin: 0;
  letter-spacing: -0.03em;
}

.hero-split-title .highlight-blue {
  background: linear-gradient(135deg, #0038ff 0%, #002093 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-split-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  max-width: 560px;
}

.hero-chips-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 580px;
}

.hero-chip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 10px 14px;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.hero-chip-item:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 32, 147, 0.1);
  border-color: #93c5fd;
}

.hero-chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e0e7ff, #ede9fe);
  color: #002093;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-cta-dual-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #0038ff 0%, #002093 100%);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 14px 26px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 56, 255, 0.35);
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 56, 255, 0.45);
  color: #ffffff;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #002093;
  border: 1.5px solid #002093;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 13px 22px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: #002093;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Columna Derecha: Showcase 3D con Floating Badges */
.hero-split-right {
  position: relative;
}

.hero-3d-card-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  padding: 10px;
}

.hero-3d-card-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 56, 255, 0.18) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 70%);
  filter: blur(35px);
  pointer-events: none;
  z-index: 1;
}

.hero-hardware-frame {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 32, 147, 0.2);
  border: 4px solid #ffffff;
  background: #000E1F;
}

.hero-hardware-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-hardware-frame:hover img {
  transform: scale(1.03);
}

/* Floating Glass Badges sobre la imagen */
.hero-floating-badge {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(0, 20, 80, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatBounce 4s ease-in-out infinite;
}

.hero-floating-badge.badge-bx-top {
  top: -15px;
  right: -10px;
  border-left: 4px solid #0038ff;
}

.hero-floating-badge.badge-guarantee-bottom {
  bottom: -15px;
  left: -10px;
  animation-delay: 2s;
  border-left: 4px solid #fcbe00;
}

@keyframes floatBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-floating-badge .fb-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-badge .fb-text {
  display: flex;
  flex-direction: column;
}

.hero-floating-badge .fb-text strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
}

.hero-floating-badge .fb-text span {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

/* ==========================================
   HERO OPCIÓN 2: DARK CYBER ENTERPRISE
========================================== */
.hero-dark-cyber-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  background: radial-gradient(circle at 80% 20%, #001f54 0%, #060c1a 60%, #020611 100%);
  padding: 3.5rem clamp(1.2rem, 5vw, 4rem) 0;
  overflow: hidden;
  box-sizing: border-box;
  color: #ffffff;
}

.hero-dark-cyber-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-dark-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding-bottom: 2.8rem;
}

.hero-dark-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  padding: 5px 14px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  width: fit-content;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.hero-dark-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.03em;
}

.hero-dark-heading .glow-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.3));
}

.hero-dark-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.08rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
  max-width: 560px;
}

.hero-dark-stats-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.dark-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
}

.dark-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fcbe00;
}

.dark-stat-lbl {
  font-size: 0.76rem;
  color: #cbd5e1;
  font-weight: 600;
}

.btn-dark-glow {
  background: linear-gradient(135deg, #0038ff 0%, #00b4d8 100%);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 25px rgba(0, 180, 216, 0.4);
  transition: all 0.25s ease;
}

.btn-dark-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(0, 180, 216, 0.6);
  color: #ffffff;
}

.hero-dark-benefit-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 17, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 24px;
  border-radius: 20px 20px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.dark-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dark-benefit-item .icon-glow {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.dark-benefit-item h4 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.dark-benefit-item p {
  margin: 0;
  font-size: 0.76rem;
  color: #94a3b8;
}

/* ==========================================
   HERO OPCIÓN 3: SOLUCIONES & CATEGORÍAS DIRECTAS
========================================== */
.hero-soluciones-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  background: #ffffff;
  padding: 3.5rem clamp(1.2rem, 5vw, 4rem) 0;
  border-bottom: 1px solid #e2e8f0;
  box-sizing: border-box;
}

.hero-soluciones-inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-soluciones-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef2ff;
  color: #002093;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-soluciones-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  font-weight: 900;
  color: #000E1F;
  margin: 0 auto 1.2rem;
  max-width: 900px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-soluciones-title span {
  color: #0038ff;
}

.hero-soluciones-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.15rem;
  color: #64748b;
  max-width: 720px;
  margin: 0 auto 2.2rem;
  line-height: 1.6;
}

.hero-category-quicklinks {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.quicklink-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 10px 18px;
  border-radius: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.quicklink-btn:hover {
  background: #002093;
  color: #ffffff;
  border-color: #002093;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 32, 147, 0.2);
}

.quicklink-btn i {
  color: #0038ff;
}

.quicklink-btn:hover i {
  color: #fcbe00;
}

/* Responsive adjustments */
@media (max-width: 992px) {

  .hero-split-tech-grid,
  .hero-dark-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-split-right {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-dark-benefit-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-chips-2x2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-dark-benefit-strip {
    grid-template-columns: 1fr;
  }

  .hero-switcher-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-switcher-buttons {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

/* =======================================================
   HERO MASTER SLIDER (CARRUSEL CON DESPLAZAMIENTO FLUIDO)
   ======================================================= */
.hero-master-slider-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  overflow: hidden;
  background: transparent;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.hero-slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  min-height: 590px;
  height: clamp(610px, calc(100vh - 120px), 780px);
}

.hero-slider-track {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide-item {
  width: 50%;
  flex: 0 0 50%;
  min-width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.hero-slide-item .hero-md-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.hero-slide-item .hero-md-live-stage {
  height: 100%;
  flex: 1;
  min-height: 100%;
  max-height: 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background-position: center bottom !important;
  background-size: cover !important;
}

.hero-slide-item .hero-banner-section {
  margin: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(0.9rem, 1.8vw, 1.8rem) clamp(1.2rem, 3.5vw, 3.5rem) 0 !important;
  background-position: right bottom !important;
  background-size: cover !important;
}

.hero-slide-item .hero-card-grid {
  margin-bottom: clamp(0.5rem, 1.5vh, 1.2rem) !important;
}

.hero-slide-item .hero-yellow-badge {
  margin-bottom: clamp(0.4rem, 1vh, 0.8rem) !important;
}

.hero-slide-item .hero-main-heading {
  font-size: clamp(1.65rem, 2.9vw, 2.7rem) !important;
  line-height: 1.15 !important;
  margin-bottom: clamp(0.4rem, 1vh, 0.8rem) !important;
}

.hero-slide-item .hero-description-text {
  font-size: clamp(0.9rem, 1.15vw, 1.05rem) !important;
  line-height: 1.5 !important;
  margin-bottom: clamp(0.5rem, 1.2vh, 1.1rem) !important;
}

.hero-slide-item .hero-features-glass-card .hero-key-features-row {
  margin-bottom: clamp(0.5rem, 1.4vh, 1.3rem) !important;
  gap: clamp(8px, 1.2vw, 12px) clamp(14px, 2vw, 28px) !important;
}

.hero-slide-item .hero-fluid-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.hero-slide-item .hero-bottom-benefits-strip {
  margin-top: auto !important;
  margin-bottom: clamp(0.3rem, 0.8vh, 0.6rem) !important;
  padding: clamp(10px, 1.1vw, 16px) clamp(12px, 1.4vw, 20px) !important;
}

.hero-slide-item .hero-ticker-ribbon {
  margin-top: 0.35rem !important;
  padding: 8px 1rem !important;
}

/* Flechas Flotantes Glassmorphism */
.hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 35;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(0, 32, 147, 0.18);
  color: #002093;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  outline: none;
}

.hero-slider-prev {
  left: clamp(14px, 2.5vw, 36px);
}

.hero-slider-next {
  right: clamp(14px, 2.5vw, 36px);
}

.hero-slider-nav:hover {
  background: #0038ff;
  color: #ffffff;
  border-color: #0038ff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 26px rgba(0, 56, 255, 0.45);
}

/* Paginación con Píldoras Activas (Flotando limpia arriba de la tira de beneficios/badges) */
.hero-slider-pagination {
  position: absolute;
  bottom: clamp(120px, 16vh, 144px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 14, 31, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(0, 20, 60, 0.25);
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
  outline: none;
}

.hero-slider-dot.is-active {
  width: 32px;
  border-radius: 12px;
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

@media (max-width: 1200px) {
  .hero-slider-viewport {
    min-height: 610px;
    height: clamp(630px, calc(100vh - 100px), 760px);
  }
  .hero-slider-pagination {
    bottom: clamp(140px, 18vh, 165px);
  }
}

@media (max-width: 1024px) {
  .hero-slider-viewport {
    min-height: 630px;
    height: clamp(650px, calc(100vh - 80px), 780px);
  }
  .hero-slider-pagination {
    bottom: clamp(165px, 22vh, 195px);
  }
}

@media (max-height: 760px) {
  .hero-slider-viewport {
    min-height: 560px;
    height: 570px;
  }
  .hero-slider-pagination {
    bottom: 105px;
  }
  .hero-slide-item .hero-card-grid {
    margin-bottom: 0.35rem !important;
  }
  .hero-slide-item .hero-main-heading {
    font-size: 1.55rem !important;
    margin-bottom: 0.3rem !important;
  }
  .hero-slide-item .hero-description-text {
    font-size: 0.86rem !important;
    margin-bottom: 0.4rem !important;
  }
  .hero-slide-item .hero-features-glass-card .hero-key-features-row {
    margin-bottom: 0.4rem !important;
    gap: 6px 16px !important;
  }
  .hero-slide-item .hero-bottom-benefits-strip {
    padding: 8px 14px !important;
    margin-bottom: 0.25rem !important;
  }
  .hero-slide-item .hero-ticker-ribbon {
    padding: 6px 1rem !important;
    font-size: 0.78rem !important;
  }
}

@media (max-width: 768px) {
  .hero-slider-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .hero-slider-prev {
    left: 8px;
  }
  .hero-slider-next {
    right: 8px;
  }
  .hero-slider-pagination {
    bottom: 14px;
    padding: 4px 10px;
  }
}

/* ==========================================
   HERO MUNDO DIGITAL (FULL WIDTH + LOGO GRANDE + BADGES TRANSPARENTES)
========================================== */
.hero-mundo-digital-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  background: transparent;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-md-container {
  max-width: 100vw;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

/* Escenario Principal Full-Width: Toda la Imagen de Fondo Visible */
.hero-md-live-stage {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  border-radius: 0;
  border: none;
  overflow: hidden;
  background-image: url('../img/hero_tech_desk_clean_bg.jpg');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  min-height: 520px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: none;
}

/* Contenedor Superior: Glassmorphism Semitransparente Elegante */
/* Tarjeta Blue Express Flotante en la Esquina Superior Derecha */
.hero-md-top-bx {
  position: absolute;
  top: clamp(1rem, 2vw, 2rem);
  right: clamp(1.2rem, 3.5vw, 3.5rem);
  z-index: 10;
}

.hero-md-live-bx-floating {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow: 0 6px 20px rgba(0, 32, 147, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 220px;
  border-left: 3px solid #0038ff;
  transition: transform 0.25s ease;
}

.hero-md-live-bx-floating:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.75);
}

.hero-md-live-bx-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bx-tag-mini {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  color: #002093;
  letter-spacing: 0.5px;
  background: rgba(238, 242, 255, 0.85);
  padding: 2px 7px;
  border-radius: 8px;
}

.bx-logo-mini {
  height: 16px;
  width: auto;
}

.hero-md-live-bx-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem;
  color: #475569;
  margin: 0;
  line-height: 1.25;
}

/* =======================================================
   DISTRIBUCIÓN HORIZONTAL EN EL ESPACIO VACÍO SUPERIOR
   (LOGO GRANDE + SEPARADOR VERTICAL + TITULAR / SLOGAN)
   ======================================================= */
.hero-md-center-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 4;
  padding: clamp(0.8rem, 1.8vw, 1.8rem) clamp(1rem, 3vw, 3rem) 1rem;
}

.hero-md-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 2.6vw, 3.6rem);
  max-width: 1550px;
  background: transparent;
  box-shadow: none;
  border: none;
}

.hero-md-lockup-logo {
  height: clamp(190px, 20vw, 290px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 30px rgba(0, 32, 147, 0.25));
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.hero-md-lockup-logo:hover {
  transform: scale(1.02);
}

.hero-md-lockup-divider {
  width: 3.5px;
  height: clamp(130px, 14vw, 200px);
  background: rgba(0, 32, 147, 0.28);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-md-lockup-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.hero-md-lockup-title {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-md-title-line {
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #001844;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.95), 0 1px 4px rgba(255, 255, 255, 0.9);
}

.hero-md-title-line .highlight-mundo-digital {
  color: #0055ff !important;
  -webkit-text-fill-color: #0055ff !important;
  background: none !important;
  text-shadow: none !important;
  font-style: italic;
  font-weight: 900;
  display: inline-block;
  margin-left: 6px;
}

@media (max-width: 900px) {
  .hero-md-center-wrapper {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
  }

  .hero-md-lockup {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

  .hero-md-lockup-logo {
    height: clamp(150px, 20vw, 200px);
  }

  .hero-md-lockup-divider {
    width: 80px;
    height: 3px;
  }

  .hero-md-lockup-content {
    text-align: center;
  }

  .hero-md-title-line {
    white-space: normal;
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  }
}

/* =======================================================
   BADGES INFERIORES: GRANDES, SEMITRANSPARENTES, NO BOTONES
   ======================================================= */
.hero-md-badges-container {
  width: 100%;
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding: clamp(14px, 1.6vw, 22px) clamp(16px, 3.5vw, 40px);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(10px, 1.4vw, 20px);
}

.hero-md-badge-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: clamp(12px, 1.3vw, 18px) clamp(14px, 1.5vw, 22px);
  box-shadow: 0 4px 16px rgba(0, 32, 147, 0.05);
  user-select: none;
  cursor: default;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-md-badge-item:hover {
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.hero-md-badge-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 32, 147, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #002093;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.hero-md-badge-texts {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-md-badge-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #000E1F;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.hero-md-badge-sub {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-md-badge-highlight {
  background: linear-gradient(135deg, rgba(0, 23, 61, 0.82) 0%, rgba(0, 11, 30, 0.9) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: clamp(12px, 1.3vw, 18px) clamp(16px, 1.8vw, 26px);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: default;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 11, 30, 0.25);
}

.hero-md-highlight-main {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

.hero-md-highlight-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Responsividad para Badges */
@media (max-width: 1200px) {
  .hero-md-badges-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-md-badge-item {
    flex: 1 1 calc(50% - 15px);
    min-width: 220px;
  }

  .hero-md-badge-highlight {
    flex: 1 1 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-md-top-bx {
    position: static;
    margin: 1rem auto 0;
  }

  .hero-md-badges-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px 8px !important;
    padding: 8px 10px !important;
  }

  .hero-md-badge-item {
    width: 100% !important;
    padding: 6px 10px !important;
    gap: 8px !important;
    border-radius: 10px !important;
  }

  .hero-md-badge-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
  }

  .hero-md-badge-title {
    font-size: 0.76rem !important;
  }

  .hero-md-badge-sub {
    font-size: 0.65rem !important;
  }

  .hero-md-badge-highlight {
    grid-column: span 2 !important;
    width: 100% !important;
    padding: 4px 8px !important;
    text-align: center !important;
  }

  .hero-md-highlight-main {
    font-size: 0.75rem !important;
  }

  .hero-md-highlight-sub {
    font-size: 0.72rem !important;
  }
}

/* =======================================================
   RESPONSIVE FIX: SLIDER BANNER 2 Y SECCIÓN CONTACTO MÓVIL
   ======================================================= */

/* 1. SECCIÓN CONTACTO: MAPA Y FORMULARIO SEPARADOS EN MÓVIL */
.contacto-mapa-form-box {
  position: relative;
  width: 100%;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  margin-bottom: 3rem;
  background: #e5e3df;
}

.contacto-mapa-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 520px;
  filter: contrast(1.02) saturate(1.05);
}

.contacto-form-glass-card {
  position: relative;
  z-index: 10;
  max-width: 440px;
  margin: 25px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
  .contacto-mapa-form-box {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    gap: 20px !important;
    margin-bottom: 2rem !important;
  }

  .contacto-mapa-iframe {
    position: relative !important;
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    order: 2 !important; /* Mapa 100% visible sin que el formulario lo tape */
  }

  .contacto-form-glass-card {
    position: relative !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 24px 18px !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    order: 1 !important; /* Formulario ordenado arriba */
    background: #ffffff !important;
  }
}

/* 2. HERO SLIDER VIEWPORT Y BANNER 2 EN MÓVIL */
@media (max-width: 768px) {
  .hero-slider-viewport {
    height: clamp(560px, calc(100vh - 120px), 640px) !important;
  }

  /* Slide 2: Adaptación fluida sin deformación */
  .hero-slide-item .hero-banner-section.hero-scene-bg {
    padding: 1rem 0.9rem 0.5rem !important;
    background-position: 65% bottom !important;
    background-size: cover !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .hero-slide-item .hero-banner-section.hero-scene-bg::before {
    width: 100% !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.90) 0%, rgba(248, 250, 252, 0.95) 100%) !important;
  }

  /* Ocultar tarjeta flotante redundante de Blue Express en móvil para liberar espacio */
  .hero-slide-item .hero-bluexpress-floating-card {
    display: none !important;
  }

  .hero-slide-item .hero-fluid-container {
    justify-content: flex-start !important;
    gap: 8px !important;
  }

  .hero-slide-item .hero-card-grid {
    margin-bottom: 0 !important;
  }

  .hero-slide-item .hero-title-glass-card {
    padding: 14px 14px !important;
    margin-bottom: 0 !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 6px 20px rgba(0, 32, 147, 0.06) !important;
  }

  .hero-slide-item .hero-yellow-badge {
    font-size: 0.7rem !important;
    padding: 3px 8px !important;
    margin-bottom: 6px !important;
    white-space: normal !important;
    line-height: 1.2 !important;
  }

  .hero-slide-item .hero-main-heading {
    font-size: clamp(1.3rem, 5.2vw, 1.65rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
  }

  .hero-slide-item .hero-description-text {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 4 Características Clave en Grid 2x2 compacto */
  .hero-slide-item .hero-features-glass-card {
    padding: 10px 12px !important;
    margin-bottom: 0 !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.80) !important;
  }

  .hero-slide-item .hero-key-features-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px 8px !important;
    margin: 0 !important;
  }

  .hero-slide-item .key-feature-item {
    font-size: 0.74rem !important;
    gap: 6px !important;
    padding: 0 !important;
    align-items: center !important;
  }

  .hero-slide-item .key-feature-item .feature-icon {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.75rem !important;
    flex-shrink: 0 !important;
  }

  .hero-slide-item .key-feature-item span {
    line-height: 1.2 !important;
  }

  /* Botón CTA compacto */
  .hero-slide-item .hero-cta-wrapper {
    margin-top: 2px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .hero-slide-item .btn-hero-blue-pill {
    padding: 9px 18px !important;
    font-size: 0.84rem !important;
    width: 100% !important;
    max-width: 260px !important;
    justify-content: center !important;
  }

  .hero-slide-item .hero-handwritten-note {
    font-size: 0.72rem !important;
    margin-top: 0 !important;
  }

  /* Tira de Beneficios en Grid 2x2 ultra limpio */
  .hero-slide-item .hero-bottom-benefits-strip {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    margin-top: auto !important;
    margin-bottom: 4px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.86) !important;
  }

  .hero-slide-item .benefit-strip-item {
    padding: 2px 4px !important;
    gap: 6px !important;
    border: none !important;
  }

  .hero-slide-item .benefit-direct-icon {
    font-size: 1.15rem !important;
  }

  .hero-slide-item .benefit-bx-icon {
    width: 22px !important;
    height: 22px !important;
  }

  .hero-slide-item .benefit-info h4 {
    font-size: 0.72rem !important;
    line-height: 1.15 !important;
    margin: 0 !important;
  }

  .hero-slide-item .benefit-info p {
    display: none !important;
  }

  .hero-slide-item .badge-free-yellow {
    font-size: 0.62rem !important;
    padding: 1px 5px !important;
  }

  .hero-slide-item .payment-brands-row-img {
    max-height: 13px !important;
  }

  .hero-slide-item .hero-ticker-ribbon {
    padding: 6px 0.5rem !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.8px !important;
    margin-top: 0 !important;
  }
}