/* ==============================================================
   LEVIATHAN NUTRITION — TEMA CLARO (blanco + azul + celeste)
   Se carga DESPUÉS de styles.css. Referencia visual: Timmy Supplements.
   ----------------------------------------------------------------
   Cambia la paleta aquí arriba y se actualiza toda la web.
================================================================= */

:root {
  /* Marca */
  --lv-blue: #1E9BFF;
  --lv-blue-deep: #0B5FCC;
  --lv-cyan: #5FD4FF;          /* celeste */
  --lv-sky: #BFE8FF;           /* celeste muy claro */

  /* Superficies claras */
  --lv-black: #FFFFFF;         /* (nombre heredado) = fondo de página */
  --lv-dark: #F3F8FF;
  --lv-surface: #F3F8FF;
  --lv-surface-2: #E6F2FF;
  --lv-line: rgba(10, 31, 68, 0.10);
  --lv-line-strong: rgba(10, 31, 68, 0.18);

  /* Texto */
  --lv-ink: #0A1F44;           /* azul noche para títulos */
  --lv-steel: #5B6B84;         /* texto secundario */
  --lv-muted: #5B6B84;

  /* Franjas del header (estilo Timmy) */
  --hdr-announce: linear-gradient(90deg, #0B5FCC 0%, #1E9BFF 50%, #35BFFF 100%);
  --hdr-nav: #07142E;
  --hdr-logo: #03070F;
  --hdr-text: #E8F1FF;
  --hdr-text-dim: #9FB2D0;

  --card-shadow: 0 10px 30px -14px rgba(11, 95, 204, 0.28);
  --card-shadow-hover: 0 22px 44px -18px rgba(11, 95, 204, 0.45);
}

html { scroll-padding-top: 76px; }

html body {
  background: #fff;
  color: var(--lv-ink);
}
::-webkit-scrollbar-track { background: #EAF3FF; }

/* Texto "blanco" de Tailwind -> azul noche (excepto zonas oscuras) */
html body .text-white { color: var(--lv-ink) !important; }
html body #site-header .text-white,
html body #logo-strip .text-white,
html body footer .text-white,
html body #categoria-hero .text-white,
html body #combos-hero .text-white,
html body .keep-white,
html body .keep-white .text-white { color: #fff !important; }

/* ==============================================================
   FONDO AMBIENTAL (claro, con brillos celestes)
================================================================= */
#bg-ambient .bg-gradient-radial {
  background:
    radial-gradient(ellipse at 15% 10%, rgba(95, 212, 255, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 60%, rgba(30, 155, 255, 0.12) 0%, transparent 55%),
    #ffffff !important;
  opacity: 1 !important;
}
#bg-ambient .blur-\[150px\],
#bg-ambient .blur-\[160px\],
#bg-ambient .blur-\[120px\],
#bg-ambient .blur-\[100px\],
#bg-ambient .blur-\[90px\] { opacity: 0.55; }
#particle-canvas { opacity: 0.35; }

/* ==============================================================
   HEADER — 3 franjas (como Timmy)
   1) Anuncios  2) Menú (sticky)  3) Logo
================================================================= */

/* 1) Barra de anuncios */
#announcement-bar {
  position: relative;
  z-index: 60;
  background: var(--hdr-announce);
  color: #fff;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
}
.announce-viewport {
  position: relative;
  width: min(560px, 70vw);
  height: 100%;
}
.announce-msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s var(--ease-premium);
  pointer-events: none;
  margin: 0;
}
.announce-msg.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.announce-arrow {
  width: 30px; height: 30px; min-width: 30px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; color: #fff; cursor: pointer;
  border-radius: 999px; transition: background 0.25s ease;
}
.announce-arrow:hover { background: rgba(255, 255, 255, 0.2); }
.announce-arrow svg { width: 16px; height: 16px; }

/* 3) Barra de menú (la tuya, sticky) */
#site-header.nav-solid {
  position: sticky;
  top: 0;
  z-index: 55;
  background: var(--hdr-nav);
  border-bottom: 1px solid rgba(95, 212, 255, 0.18);
}
#site-header.nav-solid.is-scrolled {
  border-bottom-color: rgba(95, 212, 255, 0.45);
  box-shadow: 0 10px 30px -12px rgba(3, 12, 40, 0.55);
}
#site-header .nav-link { color: var(--hdr-text); }
#site-header .nav-link:hover,
#site-header .nav-link.active-link { color: #fff; }
#site-header .icon-btn {
  color: var(--hdr-text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
#site-header .icon-btn:hover {
  color: #fff;
  background: rgba(95, 212, 255, 0.18);
  border-color: rgba(95, 212, 255, 0.6);
}
#site-header .hamburger-icon span { background: #fff; }

#site-header .hdr-search-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}
#site-header .hdr-search-input::placeholder { color: var(--hdr-text-dim); }
#site-header .hdr-search-input:focus {
  border-color: var(--lv-cyan);
  box-shadow: 0 0 0 3px rgba(95, 212, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}
#site-header .header-search-icon { color: var(--hdr-text-dim) !important; }
#search-results-header { background: #0D1B38 !important; border-color: rgba(255, 255, 255, 0.12) !important; }
#search-results-header .result-item { color: var(--hdr-text-dim) !important; }
#search-results-header .result-item:hover { color: #fff !important; background: rgba(95, 212, 255, 0.14) !important; }
#search-results-header .result-item .highlight { color: var(--lv-cyan) !important; }
#search-results-header .text-lv-steel { color: var(--hdr-text-dim) !important; }

.category-dropdown-menu,
.mobile-dropdown {
  background: #0D1B38 !important;
  border-color: rgba(95, 212, 255, 0.22) !important;
}
.dropdown-item,
.mobile-dropdown a,
.mobile-dropdown .mobile-dropdown-toggle { color: #C9D8F0 !important; }
.dropdown-item:hover,
.mobile-dropdown a:hover,
.mobile-dropdown .mobile-dropdown-toggle:hover { color: #fff !important; background: rgba(95, 212, 255, 0.14) !important; }
.mobile-dropdown-submenu a { color: var(--hdr-text-dim) !important; }
#category-nav .category-active-label { color: #fff; border-bottom-color: var(--lv-cyan); }

/* 4) Franja del logo (solo logo, ancho completo, alto = alto del logo) */
#logo-strip {
  position: relative;
  z-index: 50;
  width: 100%;
  background: var(--hdr-logo);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 0;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #0B5FCC, #1E9BFF, #5FD4FF, #1E9BFF, #0B5FCC) 1;
}
#logo-strip a { display: flex; line-height: 0; }
#logo-strip .logo-strip-img {
  height: 92px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(30, 155, 255, 0.35));
  transition: transform 0.4s var(--ease-premium), filter 0.4s ease;
}
#logo-strip a:hover .logo-strip-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 24px rgba(95, 212, 255, 0.6));
}

@media (max-width: 1023px) {
}
@media (max-width: 640px) {
  #announcement-bar { height: 38px; }
  .announce-msg { font-size: 0.78rem; }
  .announce-arrow { width: 26px; height: 26px; min-width: 26px; }
  #logo-strip { padding: 2px 0; }
  #logo-strip .logo-strip-img { height: 58px; }
  html { scroll-padding-top: 64px; }
}

/* ==============================================================
   HERO — FLYER DE IMÁGENES (carrusel automático)
   --------------------------------------------------------------
   [FIX] object-fit: contain en TODOS los breakpoints: la imagen
   SIEMPRE se ve completa, nunca se recorta. Si su proporción no
   coincide con la del contenedor, se letterboxea con el gradiente
   suave de fondo (se ve intencional, no "cortado").
================================================================= */
#inicio.hero-carousel {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 240px;                         /* nunca colapsa */
  padding: 0;
  display: block;
  background:
    radial-gradient(ellipse at 50% 40%, #E8F6FF 0%, #F3F8FF 55%, #E1F1FF 100%);
  overflow: hidden;
  aspect-ratio: var(--hero-ar, 16 / 9);      /* se ajusta a la imagen activa */
  max-height: 700px;
  touch-action: pan-y;
  cursor: grab;
  transition: aspect-ratio 0.4s ease;
}
#inicio.hero-carousel.is-dragging { cursor: grabbing; }
#inicio.hero-carousel.is-dragging .hero-track { transition: none; }
.hero-track {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
  transition: transform 0.75s var(--ease-premium);
}
.hero-track.no-anim { transition: none !important; }
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  background: transparent;                   /* hereda gradiente del hero */
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;                       /* [FIX] completa, sin recortes */
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
/* Aviso cuando todavía no se ha colocado la imagen */
.hero-slide.is-missing img { display: none; }
.hero-slide.is-missing::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  white-space: pre-line;
  font-weight: 700;
  font-size: clamp(0.8rem, 1.6vw, 1.25rem);
  color: var(--lv-blue-deep);
  border: 2px dashed rgba(11, 95, 204, 0.4);
  margin: 14px;
  border-radius: 14px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  color: var(--lv-blue-deep);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px -8px rgba(3, 12, 40, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease, background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-premium);
}
#inicio.hero-carousel:hover .hero-arrow,
.hero-arrow:focus-visible { opacity: 1; }
.hero-arrow:hover { background: var(--lv-blue); color: #fff; transform: translateY(-50%) scale(1.08); }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }

.hero-dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 14px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dot {
  width: 11px; height: 11px;
  padding: 0;
  border-radius: 999px;
  border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 8px rgba(3, 12, 40, 0.4);
  cursor: pointer;
  transition: width 0.35s var(--ease-premium), background 0.3s ease;
}
.hero-dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, var(--lv-cyan), var(--lv-blue));
  border-color: #fff;
}

/* Móvil y tablet: refuerzo de contain + min-height generoso
   para que la imagen se vea completa y no quede microscópica
   aunque el ratio sea muy panorámico. */
@media (max-width: 1023px) {
  #inicio.hero-carousel {
    max-height: none;
    min-height: 220px;
    aspect-ratio: var(--hero-ar, 16 / 9);
    background:
      radial-gradient(ellipse at 50% 40%, #E8F6FF 0%, #F3F8FF 55%, #E1F1FF 100%);
  }
  .hero-slide { background: transparent; }
  .hero-slide img { object-fit: contain; }
}
@media (max-width: 767px) {
  #inicio.hero-carousel {
    min-height: 200px;
    aspect-ratio: var(--hero-ar, 4 / 5);
  }
  .hero-arrow { opacity: 1; width: 34px; height: 34px; }
  .hero-arrow svg { width: 18px; height: 18px; }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }
  .hero-dots { bottom: 8px; gap: 8px; }
  .hero-dot { width: 9px; height: 9px; }
  .hero-dot.is-active { width: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-track { transition: none; }
}

/* ==============================================================
   BOTONES
================================================================= */
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #38B6FF, var(--lv-blue) 55%, var(--lv-blue-deep));
  box-shadow: 0 8px 24px -8px rgba(11, 95, 204, 0.6);
}
.btn-primary:hover { box-shadow: 0 14px 34px -8px rgba(11, 95, 204, 0.75); }
.btn-secondary {
  color: var(--lv-blue-deep);
  background: #fff;
  border: 1.5px solid rgba(30, 155, 255, 0.55);
  backdrop-filter: none;
}
.btn-secondary:hover {
  color: #fff;
  background: var(--lv-blue);
  border-color: var(--lv-blue);
  box-shadow: 0 10px 26px -8px rgba(30, 155, 255, 0.6);
}
.add-cart-btn {
  color: #fff;
  background: linear-gradient(120deg, #38B6FF, var(--lv-blue-deep));
  box-shadow: 0 6px 16px -4px rgba(11, 95, 204, 0.5);
}
.add-cart-btn.is-added { color: #04160b; }

/* ==============================================================
   TEXTOS DE SECCIÓN
================================================================= */
.section-heading h2 { color: var(--lv-ink); }
.text-electric-inline {
  background: linear-gradient(120deg, #2AB4FF 0%, #1E86FF 50%, #0B4FBF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow-line { background: linear-gradient(90deg, var(--lv-cyan), var(--lv-blue)); box-shadow: 0 0 8px rgba(30, 155, 255, 0.4); }
html body .text-lv-blue { color: var(--lv-blue-deep); }

/* ==============================================================
   BENEFICIOS
================================================================= */
.benefits-grid {
  background: #fff;
  border: 1px solid var(--lv-line);
  box-shadow: var(--card-shadow);
}
.benefits-grid:hover { border-color: rgba(30, 155, 255, 0.45); box-shadow: var(--card-shadow-hover); }
.benefit-item:hover { background: var(--lv-surface); }
.benefit-icon {
  color: var(--lv-blue-deep);
  background: linear-gradient(135deg, rgba(95, 212, 255, 0.35), rgba(30, 155, 255, 0.12));
  border-color: rgba(30, 155, 255, 0.3);
}
.benefit-item:hover .benefit-icon { color: #fff; }
.benefit-title { color: var(--lv-ink); }
.benefit-desc { color: var(--lv-steel); }

/* ==============================================================
   CATEGORÍAS
================================================================= */
.category-card--large {
  background: var(--lv-surface);
  border: 1px solid var(--lv-line);
  box-shadow: var(--card-shadow);
}
.category-card--large:hover { border-color: var(--lv-blue); box-shadow: var(--card-shadow-hover); }
.category-img-wrap--large { background: var(--lv-surface-2); }
.category-overlay--large { background: linear-gradient(180deg, transparent 35%, rgba(3, 18, 52, 0.85) 100%); }
.carousel-nav-btn {
  background: #fff;
  border: 1px solid var(--lv-line-strong);
  color: var(--lv-blue-deep);
  box-shadow: 0 6px 16px -8px rgba(11, 95, 204, 0.4);
}
.carousel-nav-btn:hover,
.carousel-nav-btn:active { background: var(--lv-blue); border-color: var(--lv-blue); color: #fff; }
.category-carousel-dots .dot { background: rgba(10, 31, 68, 0.18); }

/* ==============================================================
   TARJETAS DE PRODUCTO
================================================================= */
.product-card {
  background: #fff;
  border: 1px solid var(--lv-line);
  box-shadow: var(--card-shadow);
}
.product-card:hover {
  border-color: rgba(30, 155, 255, 0.55);
  box-shadow: var(--card-shadow-hover);
}
.product-card--combo { border-color: rgba(30, 155, 255, 0.35); }
.product-card--combo:hover { border-color: var(--lv-blue); box-shadow: var(--card-shadow-hover); }
.product-img-wrap,
.product-card--combo .product-img-wrap {
  background: radial-gradient(120% 100% at 50% 100%, rgba(95, 212, 255, 0.28), transparent 65%), var(--lv-surface);
}
.product-placeholder-icon { color: rgba(30, 155, 255, 0.55); border-color: rgba(30, 155, 255, 0.35); }
.quick-view-btn {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--lv-line-strong);
  color: var(--lv-blue-deep);
  box-shadow: 0 6px 16px -6px rgba(3, 12, 40, 0.4);
}
.quick-view-btn:hover { background: var(--lv-blue); color: #fff; }
.product-cat { color: var(--lv-blue-deep); }
.product-name { color: var(--lv-ink); }
.product-price { color: var(--lv-ink); }
.product-price-old { color: var(--lv-steel); }
.product-rating span { color: var(--lv-steel); }
.weight-btn { border-color: var(--lv-line-strong); color: var(--lv-steel); background: #fff; }
.weight-btn:hover { color: var(--lv-blue-deep); border-color: var(--lv-blue); }
.weight-btn.active { color: #fff; background: linear-gradient(135deg, #38B6FF, var(--lv-blue-deep)); }
.badge-bestseller { color: #fff; background: linear-gradient(120deg, #38B6FF, var(--lv-blue-deep)); }
.sort-select,
.filter-select {
  background-color: #fff !important;
  color: var(--lv-ink) !important;
  border: 1px solid var(--lv-line-strong) !important;
}
.sort-select option,
.filter-select option { background: #fff !important; color: var(--lv-ink) !important; }

.video-header { background: var(--lv-surface-2); }
html body .video-header .section-heading { background: rgba(255, 255, 255, 0.82); }

/* ==============================================================
   NOSOTROS / CONTACTO
================================================================= */
.nosotros-section { background: linear-gradient(180deg, transparent, rgba(95, 212, 255, 0.14), transparent); }
.nosotros-glow { background: radial-gradient(50% 50% at 15% 50%, rgba(95, 212, 255, 0.25), transparent 70%); }
.nosotros-img-wrap { background: var(--lv-surface); }
.nosotros-frame { border-color: rgba(30, 155, 255, 0.5); }
.pillar-icon { color: var(--lv-blue-deep); background: rgba(95, 212, 255, 0.25); border-color: rgba(30, 155, 255, 0.3); }
.pillar-title { color: var(--lv-ink); }
.pillar-desc { color: var(--lv-steel); }
.stats-row { border-top-color: var(--lv-line); }
.stat-number {
  background: linear-gradient(180deg, #1E9BFF, #0B4FBF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.stat-label { color: var(--lv-steel); }

.contact-info-card {
  background: #fff;
  border: 1px solid var(--lv-line);
  box-shadow: 0 8px 22px -14px rgba(11, 95, 204, 0.3);
}
.contact-info-card:hover { border-color: rgba(30, 155, 255, 0.55); }
.contact-info-icon { color: var(--lv-blue-deep); background: rgba(95, 212, 255, 0.25); }
.contact-info-title { color: var(--lv-steel); }
.contact-info-text { color: var(--lv-ink); }
.contact-social-btn { color: var(--lv-blue-deep); background: #fff; border-color: var(--lv-line-strong); }
.contact-social-btn:hover { color: #fff; background: linear-gradient(120deg, #38B6FF, var(--lv-blue-deep)); }
.contact-form { background: #fff; border: 1px solid var(--lv-line); box-shadow: var(--card-shadow); }
.form-field input,
.form-field textarea {
  background: var(--lv-surface) !important;
  border-color: var(--lv-line-strong) !important;
  color: var(--lv-ink) !important;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--lv-blue) !important; background: #fff !important; }
.form-field label { color: var(--lv-steel); background: #fff !important; }
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label { color: var(--lv-blue-deep); }

/* ==============================================================
   FOOTER (oscuro, para que el logo se vea — igual que la franja del logo)
================================================================= */
html body footer {
  background: linear-gradient(180deg, #07142E, #03070F);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #0B5FCC, #1E9BFF, #5FD4FF, #1E9BFF, #0B5FCC) 1;
  color: var(--hdr-text);
}
html body footer .text-lv-steel,
html body footer .footer-link { color: var(--hdr-text-dim) !important; }
html body footer .footer-link:hover { color: var(--lv-cyan) !important; }
html body footer .footer-heading { color: #fff; }
html body footer .border-white\/\[0\.06\] { border-color: rgba(255, 255, 255, 0.1); }
html body footer .newsletter-form input {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}
html body footer .newsletter-form button { color: #fff; background: linear-gradient(120deg, #38B6FF, var(--lv-blue-deep)); }

/* ==============================================================
   CARRITO LATERAL + TOAST
================================================================= */
.cart-overlay { background: rgba(10, 31, 68, 0.45); }
.cart-drawer { background: #fff; border-left: 1px solid var(--lv-line); box-shadow: -30px 0 60px -20px rgba(10, 31, 68, 0.35); }
.cart-drawer-header { border-bottom-color: var(--lv-line); }
.cart-drawer-header h3 { color: var(--lv-ink); }
.cart-drawer-footer { border-top-color: var(--lv-line); }
.cart-empty { color: var(--lv-steel); }
.cart-item { border-bottom-color: var(--lv-line); }
.cart-item-img { background: var(--lv-surface); }
.cart-item-name { color: var(--lv-ink); }
.cart-item-price,
.cart-subtotal-row span:last-child { color: var(--lv-blue-deep); }
.cart-subtotal-row { color: var(--lv-ink); }
.qty-btn { background: var(--lv-surface-2); color: var(--lv-ink); }
.qty-btn:hover { background: rgba(30, 155, 255, 0.25); }
.cart-item-qty { color: var(--lv-ink); }
.toast {
  background: #fff;
  color: var(--lv-ink);
  border: 1px solid rgba(30, 155, 255, 0.45);
  box-shadow: 0 14px 30px -10px rgba(11, 95, 204, 0.4);
}
.toast-icon { color: var(--lv-blue); }

/* ==============================================================
   VISTA RÁPIDA (tarjeta del producto)
================================================================= */
.pcard-inner {
  background: #fff;
  border: 1px solid rgba(30, 155, 255, 0.35);
  box-shadow: 0 40px 80px -24px rgba(10, 31, 68, 0.45);
}
.pcard-icon-btn {
  background: rgba(255, 255, 255, 0.92);
  color: var(--lv-blue-deep);
  border-color: var(--lv-line-strong);
}
.pcard-icon-btn:hover { color: #fff; background: var(--lv-blue); border-color: var(--lv-blue); }
.pcard-camera-btn { color: var(--lv-blue-deep); border-color: rgba(30, 155, 255, 0.45); }
.pcard-camera-btn:hover,
.pcard-camera-btn.is-capturing { color: #fff; background: linear-gradient(135deg, #38B6FF, var(--lv-blue-deep)); }
.pcard-img-wrap { background: radial-gradient(120% 100% at 50% 100%, rgba(95, 212, 255, 0.3), transparent 65%), var(--lv-surface); }
.pcard-title { color: var(--lv-ink); text-shadow: none; }
.pcard-desc { color: var(--lv-steel); }
.pcard-opt-toggle,
.pcard-qty-input { background: var(--lv-surface); border-color: var(--lv-line-strong); color: var(--lv-ink); }
.pcard-opt-plus { color: #fff; }
.pcard-opt-dropdown,
.pcard-share-menu,
.pcard-context-menu {
  background: #fff !important;
  border: 1px solid var(--lv-line-strong) !important;
  box-shadow: 0 20px 40px -12px rgba(10, 31, 68, 0.35) !important;
}
.pcard-opt-item,
.pcard-share-item,
.pcard-context-item { color: var(--lv-ink) !important; }
.pcard-opt-item:hover,
.pcard-share-item:hover,
.pcard-context-item:hover { background: var(--lv-surface-2) !important; color: var(--lv-blue-deep) !important; }
.pcard-opt-item.is-selected { color: var(--lv-blue-deep) !important; background: var(--lv-surface-2) !important; }
.pcard-price { color: var(--lv-blue-deep); text-shadow: none; }
.pcard-price-old { color: var(--lv-steel); }
.pcard-opt-label,
.pcard-qty-wrap .pcard-opt-label { color: var(--lv-steel); }
.pcard-chip { color: var(--lv-ink); }
.pi-toggle-btn {
  color: var(--lv-blue-deep);
  border-color: rgba(30, 155, 255, 0.5);
  background: linear-gradient(150deg, rgba(95, 212, 255, 0.35), #fff 70%);
  box-shadow: 0 6px 18px -8px rgba(11, 95, 204, 0.5);
}
.pi-toggle-btn:hover { border-color: var(--lv-blue); }
.pi-toggle-btn.is-flipped { color: #0a7a3d; background: linear-gradient(150deg, rgba(57, 255, 138, 0.28), #fff 70%); }
.pi-instructions-placeholder { color: rgba(11, 95, 204, 0.6); border-color: rgba(30, 155, 255, 0.4); }
.pcard-offer-message { background: #fff; box-shadow: 0 20px 40px -12px rgba(10, 31, 68, 0.35); }
.pcard-offer-message span { color: #8a6100; }

/* ==============================================================
   WHATSAPP FLOTANTE
================================================================= */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.7), 0 0 0 4px #fff;
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 16px 34px -6px rgba(37, 211, 102, 0.85), 0 0 0 4px #fff; }
.wa-float svg { width: 32px; height: 32px; }
@media (max-width: 640px) {
  .wa-float { width: 50px; height: 50px; right: 12px; bottom: 12px; }
  .wa-float svg { width: 27px; height: 27px; }
}

/* ==============================================================
   AJUSTES PÁGINAS DE CATEGORÍA / COMBOS
   (el header ya no es fixed, se quita el espacio que reservaba)
================================================================= */
#combos-hero { padding-top: 2.5rem !important; }

/* ==============================================================
   HEADER EN MÓVIL / TABLET (sin logo en la barra: el buscador ocupa el espacio)
================================================================= */
@media (max-width: 1023px) {
  #site-header .header-search-wrap { flex: 1 1 auto; min-width: 0; }
  #site-header .header-search-input { width: 100% !important; }
}

/* ==============================================================
   BENEFICIOS — cinta en movimiento (móvil y escritorio)
   Se activa con header-hero.js (arrastrable con dedo o mouse)
================================================================= */
html body .benefits-grid.is-marquee {
  display: block !important;
  overflow: hidden !important;
  padding: 0.9rem 0 !important;
  border-radius: 16px !important;
  position: relative;
  touch-action: pan-y;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
}
html body .benefits-grid.is-marquee.is-dragging { cursor: grabbing; }
.benefits-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
}
html body .benefits-grid.is-marquee .benefit-item {
  flex: 0 0 auto !important;
  width: 270px;
  min-width: 0 !important;
  padding: 0.35rem 1rem !important;
  gap: 0.4rem !important;
  border-right: 1px solid var(--lv-line);
  user-select: none;
  -webkit-user-select: none;
}
html body .benefits-grid.is-marquee .benefit-item:hover { transform: none; }
@media (max-width: 640px) {
  html body .benefits-grid.is-marquee { padding: 0.6rem 0 !important; border-radius: 12px !important; }
  html body .benefits-grid.is-marquee .benefit-item { width: 168px; padding: 0.2rem 0.6rem !important; }
  html body .benefit-title { font-size: 0.72rem; }
  html body .benefit-desc { font-size: 0.66rem; }
}

/* ==============================================================
   CONTRASTE — títulos y textos con buen color sobre fondo blanco
================================================================= */
/* "ELIGE TU CATEGORÍA": letras animadas (antes blanco→celeste, invisibles sobre blanco) */
html body .category-title-animate .category-letter {
  background: linear-gradient(120deg, #0A1F44 0%, #0A3A8C 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important;
}
html body .category-title-animate .text-electric-inline .category-letter {
  background: linear-gradient(120deg, #1E9BFF 0%, #0B5FCC 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
html body .category-title-animate { text-shadow: none !important; animation-name: none; opacity: 1; }
html body .section-heading h2,
html body #combos h2,
html body #nosotros h2 { text-shadow: none; }
html body .section-heading p,
html body #combos p.text-lv-steel,
html body #nosotros p.text-lv-steel { color: #44546E; }
html body .text-lv-blue { color: #0B5FCC; }          /* etiquetas "ENCUENTRA TU ARSENAL" */
html body .eyebrow-line { height: 2px; }

/* Nombres de categoría sobre la foto: blanco sólido y legible */
html body .category-card--large .category-name-large {
  background: none !important;
  -webkit-text-fill-color: #fff;
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(2, 14, 44, 0.85) !important;
}
html body .category-card--large:hover .category-name-large { text-shadow: 0 2px 14px rgba(2, 14, 44, 0.95) !important; }
html body .category-count-large { color: #D6EFFF !important; text-shadow: 0 1px 6px rgba(2, 14, 44, 0.8); font-weight: 600; }
html body .category-overlay--large {
  background: linear-gradient(180deg, rgba(3, 18, 52, 0) 30%, rgba(3, 18, 52, 0.78) 100%) !important;
}
html body .category-placeholder { color: #0B5FCC; background: var(--lv-surface-2); }

/* Texto de tarjetas, formularios, etc. */
html body .product-cat { color: #0B5FCC; font-weight: 700; }
html body .product-rating,
html body .product-rating span { color: #44546E; }
html body .pillar-desc,
html body .stat-label,
html body .benefit-desc,
html body .contact-info-title { color: #44546E; }
html body .stat-number { -webkit-text-fill-color: transparent; }
html body .form-field input::placeholder,
html body .form-field textarea::placeholder { color: #7A8AA3; }
html body .sort-select,
html body .filter-select { font-weight: 600; }
html body label.text-lv-steel,
html body .text-lv-steel { color: #44546E; }
html body footer .text-lv-steel { color: var(--hdr-text-dim) !important; }

/* ==============================================================
   PRODUCTOS DESTACADOS — título arriba, video limpio (sin sombras)
================================================================= */
html body .video-header {
  position: relative;
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 21 / 8;
  border-radius: 18px;
  overflow: hidden;
  background: var(--lv-surface-2);
  border: 1px solid var(--lv-line);
  box-shadow: var(--card-shadow);
  display: block !important;
  padding: 0 !important;
}
html body .video-header::before,
html body .video-header::after { content: none !important; display: none !important; }
html body .video-header .header-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none !important;
  opacity: 1 !important;
}
html body .video-header .section-heading { display: none; }   /* (ya no se usa dentro del video) */

/* ==============================================================
   ESPACIOS COMPACTOS ENTRE SECCIONES
================================================================= */
html body #categorias,
html body #combos,
html body #productos,
html body #contacto,
html body main > section:not(#inicio):not(#categoria-hero):not(#combos-hero) {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
html body #nosotros { padding-top: 2.25rem; padding-bottom: 2.25rem; }
html body #inicio + section { padding-top: 1.1rem; padding-bottom: 0.8rem; }
html body .section-heading { margin-bottom: 1.25rem; }
html body #contacto .section-heading { margin-bottom: 1.5rem; }
html body #categorias .section-heading .flex.mb-4,
html body #contacto .section-heading .flex.mb-4,
html body #nosotros .flex.mb-4 { margin-bottom: 0.6rem; }
html body #contacto .section-heading h2 { margin-bottom: 0.6rem; }
html body #combos p.mb-8 { margin-bottom: 1.1rem; }
html body #nosotros .mb-10 { margin-bottom: 1.4rem; }
html body #nosotros h2.mb-6 { margin-bottom: 0.9rem; }
html body #nosotros p.mb-6 { margin-bottom: 0.8rem; }
html body #nosotros .grid.lg\:grid-cols-2 { gap: 2rem; }
html body #productos .mt-6.mb-2 { margin-top: 1rem; }
html body .category-carousel-controls { margin-top: 1rem; }
html body footer { margin-top: 0.75rem; }
html body footer > div.grid { padding-top: 2.25rem; padding-bottom: 2.25rem; gap: 1.75rem; }

/* ==============================================================
   RESPONSIVE — TABLET
================================================================= */
@media (max-width: 1023px) {
  html body #nosotros .grid.lg\:grid-cols-2 { gap: 1.5rem; }
  html body .nosotros-video-wrap { max-width: 640px; margin: 0 auto; }
  html body .video-header { aspect-ratio: 16 / 7; }
}

/* ==============================================================
   RESPONSIVE — MÓVIL (textos legibles, nada de letras diminutas)
================================================================= */
@media (max-width: 767px) {
  html body footer > div.grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    padding-top: 1.75rem;
    padding-bottom: 1.25rem;
  }
  html body footer > div.grid > div:first-child,
  html body footer > div.grid > div:last-child { grid-column: 1 / -1; }
  html body footer > div.grid > div:first-child { text-align: center; }
  html body footer > div.grid > div:first-child img { margin-left: auto; margin-right: auto; }
  html body footer > div.grid > div:first-child p { margin-left: auto; margin-right: auto; max-width: 30rem; }
  html body footer .footer-heading { font-size: 1.05rem; margin-bottom: 0.6rem; }
  html body footer .footer-link { font-size: 0.9rem; }
  html body footer .flex-wrap { justify-content: center; text-align: center; gap: 0.35rem; }
}

@media (max-width: 639px) {
  html body #categorias,
  html body #combos,
  html body #productos,
  html body #contacto,
  html body main > section:not(#inicio):not(#categoria-hero):not(#combos-hero) {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
  html body #nosotros { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  html body #inicio + section { padding-top: 0.7rem; padding-bottom: 0.4rem; }
  html body .section-heading { margin-bottom: 0.9rem; }
  html body #nosotros .mb-10 { margin-bottom: 1rem; }
  html body #combos p.mb-8 { margin-bottom: 0.8rem; }

  /* Títulos */
  html body .section-heading h2 { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  html body #combos h2,
  html body #nosotros h2 { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  html body .section-heading .text-lv-blue,
  html body #combos .text-lv-blue,
  html body #nosotros .text-lv-blue { font-size: 0.7rem; letter-spacing: 0.22em; }
  html body .section-heading p { font-size: 0.9rem; }

  /* Categorías (carrusel de 2 en 2) */
  html body .category-carousel-wrapper { padding: 0 2px; }
  html body .category-carousel-track { gap: 10px; }
  html body .category-carousel-track .category-card { flex: 0 0 calc(50% - 5px); }
  html body .category-card--large .category-name-large { font-size: 0.95rem; line-height: 1.1; }
  html body .category-count-large { font-size: 0.7rem; }
  html body .category-name-wrap { padding: 0.7rem 0.6rem; }
  html body .carousel-nav-btn { width: 38px; height: 38px; }

  /* Tarjetas de producto y combos */
  html body .product-grid { gap: 10px !important; }
  html body .product-card { border-radius: 14px !important; }
  html body .product-info { padding: 9px 10px 11px !important; gap: 3px !important; }
  html body .product-img { padding: 10px !important; }
  html body .product-cat { font-size: 0.62rem !important; }
  html body .product-name,
  html body .product-card .product-name { font-size: 0.82rem !important; line-height: 1.25 !important; }
  html body .product-rating { font-size: 0.7rem !important; }
  html body .product-rating span { font-size: 0.64rem !important; }
  html body .product-price,
  html body .product-card .product-price { font-size: 1rem !important; }
  html body .product-price-old,
  html body .product-card .product-price-old { font-size: 0.68rem !important; }
  html body .add-cart-btn { width: 38px !important; height: 38px !important; min-width: 38px !important; padding: 9px !important; }
  html body .add-cart-btn svg { width: 18px !important; height: 18px !important; }
  html body .weight-btn { font-size: 0.66rem !important; padding: 3px 8px !important; }
  html body .product-badge,
  html body .badge-oferta,
  html body .badge-promo,
  html body .badge-bestseller { font-size: 0.58rem !important; padding: 3px 8px !important; }
  html body .combo-chip { font-size: 0.58rem !important; padding: 2px 7px !important; }
  html body .combo-savings-text { font-size: 0.64rem !important; }
  html body .filter-select,
  html body .sort-select { font-size: 0.78rem !important; padding: 6px 28px 6px 12px !important; }
  html body #productos label.text-xs { font-size: 0.7rem; }

  /* Video de productos destacados */
  html body .video-header { aspect-ratio: 16 / 9; border-radius: 14px; }

  /* Nosotros */
  html body #nosotros .grid.lg\:grid-cols-2 { gap: 1.1rem; }
  html body .nosotros-video-wrap { border-radius: 14px; overflow: hidden; }
  html body .nosotros-video { width: 100%; max-height: 240px; object-fit: cover; }
  html body #nosotros p.text-lv-steel { font-size: 0.9rem; line-height: 1.55; }
  html body #nosotros .grid.grid-cols-2 { gap: 0.8rem 0.7rem; }
  html body .pillar-icon { width: 34px; height: 34px; min-width: 34px; padding: 7px; }
  html body .pillar-title { font-size: 0.82rem; line-height: 1.15; }
  html body .pillar-desc { font-size: 0.7rem; line-height: 1.3; }
  html body .stats-row { gap: 0.4rem; padding-top: 0.9rem; }
  html body .stat-number { font-size: 1.45rem; }
  html body .stat-label { font-size: 0.64rem; letter-spacing: 0.06em; }

  /* Contacto */
  html body #contacto .grid.lg\:grid-cols-\[0\.85fr_1\.15fr\] { gap: 1rem; }
  html body #contacto .flex.flex-col.gap-5 { gap: 0.6rem; }
  html body .contact-info-card { padding: 0.8rem 0.9rem; }
  html body .contact-info-title { font-size: 0.72rem; }
  html body .contact-info-text { font-size: 0.9rem; }
  html body .contact-form { padding: 1.1rem; }
  html body .form-field input,
  html body .form-field textarea { font-size: 16px; }   /* evita el zoom automático en iPhone */
  html body #contacto .grid.sm\:grid-cols-2 { gap: 0.8rem; }
}

@media (max-width: 380px) {
  html body .category-card--large .category-name-large { font-size: 0.85rem; }
  html body .product-name,
  html body .product-card .product-name { font-size: 0.78rem !important; }
  html body .benefits-grid.is-marquee .benefit-item { width: 150px; }
}

/* ==============================================================
   ACTUALIZACIÓN: VIDEOS RESPONSIVE (productos destacados + nuestra historia)
   La proporción real del video la fija enhancements.js (--vr).
   Sin JS, se usa 16/9 como respaldo.
================================================================= */
html body .video-header {
  --vr: 16 / 9;
  aspect-ratio: var(--vr) !important;
  width: 100%;
  max-height: 620px;
  margin: 0 auto 1.25rem;
  border-radius: 18px;
  overflow: hidden;
  background: #07142E;
  isolation: isolate;
  transform: translateZ(0);            /* evita bordes cortados en Safari */
}
html body .video-header .header-video {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  transform: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

html body .nosotros-video-wrap {
  --vr: 4 / 3;
  position: relative;
  width: 100%;
  max-height: none !important;
  aspect-ratio: var(--vr);
  border-radius: 1.5rem;
  overflow: hidden;
  background: #07142E;
  isolation: isolate;
  transform: translateZ(0);
}
html body .nosotros-video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
}
html body .nosotros-video-wrap .nosotros-frame { inset: 12px; z-index: 2; }

@media (min-width: 1024px) {
  html body .nosotros-video-wrap { max-height: 520px !important; }
}
@media (max-width: 1023px) {
  html body .video-header { max-height: 460px; }
  html body .nosotros-video-wrap { max-width: 640px; margin: 0 auto; max-height: 420px !important; }
}
@media (max-width: 767px) {
  html body .video-header { border-radius: 14px; max-height: 340px; margin-bottom: 1rem; }
  html body .nosotros-video-wrap { border-radius: 14px; max-width: 100%; max-height: 300px !important; }
  html body .nosotros-video-wrap .nosotros-frame { inset: 8px; border-radius: 10px; }
}

/* ==============================================================
   ACTUALIZACIÓN: FOOTER COMPLETO (contacto + redes)
================================================================= */
html body footer .footer-contact {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
html body footer .footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--hdr-text-dim);
}
html body footer .footer-contact svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--lv-cyan);
}
html body footer .footer-contact a {
  color: var(--hdr-text-dim);
  word-break: break-word;
  transition: color 0.2s;
}
html body footer .footer-contact a:hover { color: var(--lv-cyan); }

html body footer .footer-social-title {
  margin: 1.4rem 0 0.7rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  color: #fff;
}
html body footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
html body footer .footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
html body footer .footer-social-btn svg { width: 21px; height: 21px; }
html body footer .footer-social-btn:hover,
html body footer .footer-social-btn:focus-visible {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 10px 22px -6px rgba(30, 155, 255, 0.7);
  outline: none;
}
html body footer .footer-social-btn[data-social="whatsapp"]:hover  { background: #25D366; }
html body footer .footer-social-btn[data-social="instagram"]:hover { background: linear-gradient(45deg, #F9A03F, #E1306C, #833AB4); }
html body footer .footer-social-btn[data-social="facebook"]:hover  { background: #1877F2; }
html body footer .footer-social-btn[data-social="youtube"]:hover   { background: #FF0000; }
html body footer .footer-social-btn[data-social="tiktok"]:hover    { background: #111; box-shadow: 3px 3px 0 #25F4EE, -3px -3px 0 #FE2C55; }

.contact-social-row .contact-social-btn { flex: 0 0 auto; }
.contact-social-row .contact-social-btn svg { width: 20px; height: 20px; }

@media (max-width: 767px) {
  html body footer .footer-brand { text-align: center; }
  html body footer .footer-contact { justify-items: center; }
  html body footer .footer-contact li { justify-content: center; text-align: left; }
  html body footer .footer-social { justify-content: center; }
  html body footer .footer-social-btn { width: 46px; height: 46px; }
}


/* ============================================================== */
/* v5 — PRODUCTOS DESTACADOS: VIDEO COMO FRANJA (SOLO TÍTULO)     */
/* Sustituye cualquier alto/aspecto previo del video-header.      */
/* ============================================================== */
html body .video-header {
  position: relative;
  width: 100%;
  height: 180px !important;            /* alto fijo = franja */
  min-height: 180px !important;
  max-height: 180px !important;
  aspect-ratio: auto !important;       /* desactiva el --vr del JS */
  margin: 0 auto 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  background: #07142E;
  box-shadow: var(--card-shadow);
  isolation: isolate;
  transform: translateZ(0);
  display: block !important;
}

/* El video llena la franja sin deformarse */
html body .video-header .header-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  filter: none !important;
  z-index: 0;
}

/* Título centrado dentro de la franja */
html body .video-header .video-header-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 1rem;
  background:
    radial-gradient(80% 100% at 50% 50%, rgba(7, 20, 46, 0.25), rgba(7, 20, 46, 0.65)),
    linear-gradient(180deg, rgba(7, 20, 46, 0.25), rgba(7, 20, 46, 0.55));
}

/* Título más compacto para que respire dentro de la franja */
html body .video-title {
  font-size: clamp(1.4rem, 3.2vw, 2.4rem) !important;
  line-height: 1 !important;
  margin: 0 !important;
}
html body .video-title-eyebrow {
  margin-bottom: 0.4rem !important;
  gap: 0.5rem !important;
}

/* Tablet */
@media (max-width: 1023px) {
  html body .video-header {
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
  }
}

/* Móvil — aún más bajo */
@media (max-width: 767px) {
  html body .video-header {
    height: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
    border-radius: 12px;
    margin-bottom: 1rem;
  }
  html body .video-title {
    font-size: clamp(1.15rem, 5vw, 1.6rem) !important;
  }
  html body .video-title-eyebrow {
    margin-bottom: 0.2rem !important;
    gap: 0.35rem !important;
  }
  html body .video-title-eyebrow-text {
    font-size: 0.55rem !important;
    letter-spacing: 0.2em !important;
  }
  html body .video-title-eyebrow .eyebrow-line {
    width: 18px !important;
  }
}

/* ============================================================== */
/* v3 — NUESTRA HISTORIA: Layout compacto en móvil y tablet       */
/* Texto (Izq) + Video (Der) / Pilares (Izq) + Stats (Der)        */
/* ============================================================== */
@media (max-width: 1023px) {
  html body #nosotros {
    padding-top: 1.1rem !important;
    padding-bottom: 1.1rem !important;
  }

  /* Convertimos el layout principal en un Grid de 2 columnas */
  html body #nosotros .nosotros-layout {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 0.5rem !important;
    align-items: start !important;
  }

  /* Hacemos que los hijos de .nosotros-text fluyan directo al Grid */
  html body #nosotros .nosotros-text {
    display: contents !important;
  }

  /* ─── COLUMNA IZQUIERDA: TEXTOS ─── */
  html body #nosotros .nosotros-text > div:nth-child(1) { /* Eyebrow */
    grid-column: 1;
    margin-bottom: 0.1rem !important;
  }
  html body #nosotros .nosotros-text .flex.mb-4 {
    gap: 0.3rem !important;
  }
  html body #nosotros .nosotros-text .flex.mb-4 span.text-lv-blue {
    font-size: 0.52rem !important;
    letter-spacing: 0.15em !important;
  }

  html body #nosotros .nosotros-text > h2:nth-child(2) { /* Título */
    grid-column: 1;
    font-size: 1.05rem !important;
    line-height: 1.1 !important;
    margin-bottom: 0.3rem !important;
  }

  html body #nosotros .nosotros-text > p:nth-child(3),
  html body #nosotros .nosotros-text > p:nth-child(4) { /* Párrafos */
    grid-column: 1;
    font-size: 0.65rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.35rem !important;
  }

  /* ─── COLUMNA DERECHA: VIDEO (Alineado con los textos) ─── */
  html body #nosotros .nosotros-video-wrap {
    grid-column: 2;
    grid-row: 1 / span 4;
    width: 100% !important;
    height: 100% !important;
    min-height: 110px !important;
    max-height: 160px !important; /* Altura controlada para no estirarse */
    aspect-ratio: auto !important;
    margin: 0 !important;
    align-self: start !important;
    border-radius: 10px !important;
  }
  html body #nosotros .nosotros-video-wrap .nosotros-frame {
    inset: 4px !important;
    border-radius: 6px !important;
  }

  /* ─── FILA 5: PILARES (Izquierda) ─── */
  html body #nosotros .nosotros-text > div:nth-child(5) {
    grid-column: 1;
    grid-row: 5;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* 2x2 para ahorrar altura */
    gap: 0.3rem !important;
    margin-top: 0.4rem !important;
    margin-bottom: 0 !important;
  }
  html body #nosotros .pillar-item {
    gap: 0.25rem !important;
  }
  html body #nosotros .pillar-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    padding: 3px !important;
    border-radius: 4px !important;
  }
  html body #nosotros .pillar-title {
    font-size: 0.55rem !important;
    line-height: 1.1 !important;
  }
  html body #nosotros .pillar-desc {
    display: none !important;
  }

  /* ─── FILA 5: ESTADÍSTICAS (Derecha) ─── */
  html body #nosotros .nosotros-text > div:nth-child(6) {
    grid-column: 2;
    grid-row: 5;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* 2x2 para ahorrar altura */
    gap: 0.3rem !important;
    margin-top: 0.4rem !important;
    padding-top: 0 !important;
    border-top: none !important; /* Quitamos la línea divisoria */
  }
  html body #nosotros .stat-item {
    margin: 0 !important;
  }
  html body #nosotros .stat-number {
    font-size: 0.85rem !important;
    line-height: 1 !important;
  }
  html body #nosotros .stat-label {
    font-size: 0.45rem !important;
    letter-spacing: 0 !important;
    margin-top: 0.05rem !important;
  }
}

/* Ajustes extra para pantallas muy pequeñas (iPhone SE) */
@media (max-width: 380px) {
  html body #nosotros .nosotros-layout {
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 0.4rem !important;
  }
  html body #nosotros .pillar-title {
    font-size: 0.5rem !important;
  }
  html body #nosotros .stat-number {
    font-size: 0.8rem !important;
  }
  html body #nosotros .stat-label {
    font-size: 0.42rem !important;
  }
}
/* ==============================================================
   v3 — CONTACTO: info a la izquierda, formulario a la derecha
   en una sola fila (móvil, tablet y escritorio)
================================================================= */
html body #contacto { padding-top: 1.75rem; padding-bottom: 1.75rem; }
html body #contacto .contact-info-col .contact-head { margin-bottom: 0.25rem; }

@media (max-width: 1023px) {
  html body #contacto .contact-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
    gap: 0.9rem !important;
    align-items: start !important;
  }
  html body #contacto .contact-form .grid { grid-template-columns: 1fr !important; gap: 0.9rem !important; }
}
@media (max-width: 767px) {
  html body #contacto .contact-info-col { gap: 0.5rem !important; }
  html body #contacto .contact-head .flex.mb-4 { gap: 0.5rem; margin-bottom: 0.35rem; }
  html body #contacto .contact-head .eyebrow-line { width: 16px; }
  html body #contacto .contact-head span.text-lv-blue { font-size: 0.58rem; letter-spacing: 0.2em; }
  html body #contacto .contact-head h2 { font-size: 1.3rem !important; line-height: 1 !important; margin-bottom: 0.4rem !important; }
  html body #contacto .contact-head p { font-size: 0.72rem !important; line-height: 1.4; }

  html body #contacto .contact-info-card {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.25rem !important;
    padding: 0.5rem 0.6rem !important;
  }
  html body #contacto .contact-info-icon { width: 20px !important; height: 20px !important; padding: 3px; }
  html body #contacto .contact-info-title { font-size: 0.62rem !important; }
  html body #contacto .contact-info-text { font-size: 0.68rem !important; line-height: 1.25; word-break: break-all; }
  html body #contacto .contact-social-row { display: none; }   /* ya están en el footer */

  html body #contacto .contact-form { padding: 0.7rem !important; border-radius: 14px; }
  html body #contacto .contact-form .form-field.mt-5 { margin-top: 0.9rem !important; }
  html body #contacto .contact-form input,
  html body #contacto .contact-form textarea { padding-left: 0.6rem !important; padding-right: 0.6rem !important; }
  html body #contacto .contact-form label {
    left: 0.5rem !important;
    font-size: 0.74rem !important;
    max-width: calc(100% - 1rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  html body #contacto .contact-form textarea { min-height: 96px; }
  html body #contacto .contact-form .btn-primary { width: 100%; margin-top: 0.9rem !important; padding: 0.7rem 0.8rem; font-size: 0.72rem; }
  html body #contacto .contact-form .btn-primary svg { display: none; }
}
/* ==============================================================
   v4 — FOOTER MÓVIL PROFESIONAL
   Logo protagonista + layout limpio + espaciados correctos
================================================================= */
@media (max-width: 767px) {
  html body footer {
    margin-top: 0.5rem;
  }

  /* Grid: 2 columnas para enlaces, brand y newsletter a fila completa */
  html body footer > div.grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.6rem 1rem !important;
    padding: 1.75rem 1.1rem 1.4rem !important;
    align-items: start;
  }

  /* ─── BLOQUE MARCA (logo + redes) — fila completa, centrado ─── */
  html body footer .footer-brand {
    grid-column: 1 / -1;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.1rem;
    padding: 0 0 1rem 0;
    position: relative;
  }

  /* Logo grande, centrado, con doble glow azul/celeste */
  html body footer .footer-logo {
    height: 4rem !important;
    width: auto !important;
    margin: 0 !important;
    filter:
      drop-shadow(0 0 14px rgba(30, 155, 255, 0.65))
      drop-shadow(0 0 32px rgba(95, 212, 255, 0.35)) !important;
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  html body footer .footer-logo:active {
    transform: scale(0.96);
  }

  /* Ocultamos el texto "about" para no ensuciar el bloque */
  html body footer .footer-about {
    display: none !important;
  }

  /* Redes sociales: fila centrada, botones táctiles cómodos */
  html body footer .footer-social {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 0.55rem !important;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  html body footer .footer-social-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(95, 212, 255, 0.22) !important;
    color: #fff !important;
    transition: transform 0.25s ease, background 0.25s ease,
                border-color 0.25s ease, box-shadow 0.25s ease;
  }

  html body footer .footer-social-btn svg {
    width: 19px !important;
    height: 19px !important;
  }

  html body footer .footer-social-btn:active {
    transform: scale(0.92);
  }

  /* Separador elegante entre marca y enlaces */
  html body footer .footer-brand::after {
    content: '';
    display: block;
    width: 55%;
    max-width: 220px;
    height: 1px;
    margin-top: 0.9rem;
    background: linear-gradient(90deg, transparent,
                rgba(95, 212, 255, 0.45), transparent);
  }

  /* ─── COLUMNAS DE ENLACES (Tienda / Empresa) ─── */
  html body footer .footer-heading {
    font-size: 0.78rem !important;
    letter-spacing: 0.14em !important;
    color: #5FD4FF !important;
    margin-bottom: 0.7rem !important;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(95, 212, 255, 0.2);
    line-height: 1.1;
  }

  html body footer .footer-link {
    font-size: 0.82rem !important;
    padding: 0.35rem 0 !important;
    line-height: 1.35;
    color: var(--hdr-text-dim) !important;
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  html body footer .footer-link:active {
    color: #5FD4FF !important;
    padding-left: 0.2rem;
  }

  /* ─── NEWSLETTER — fila completa con separador ─── */
  html body footer > div.grid > div:last-child {
    grid-column: 1 / -1;
    margin-top: 0.4rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(95, 212, 255, 0.15);
  }

  html body footer > div.grid > div:last-child .footer-heading {
    display: block !important;
    font-size: 0.85rem !important;
    color: #fff !important;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0.5rem !important;
    letter-spacing: 0.05em !important;
  }

  html body footer .footer-news-text {
    display: block !important;
    font-size: 0.78rem !important;
    margin-bottom: 0.8rem !important;
    line-height: 1.5;
    color: var(--hdr-text-dim);
  }

  html body footer .newsletter-form {
    width: 100%;
  }

  /* Input 16px: evita zoom automático en iPhone */
  html body footer .newsletter-form input {
    font-size: 16px !important;
    padding: 0.7rem 0.9rem !important;
    border-radius: 0.5rem 0 0 0.5rem !important;
    border: 1px solid rgba(95, 212, 255, 0.22) !important;
  }

  html body footer .newsletter-form button {
    padding: 0 1.1rem !important;
    min-width: 52px;
    border-radius: 0 0.5rem 0.5rem 0 !important;
  }

  html body footer .newsletter-form button svg {
    width: 20px;
    height: 20px;
  }

  /* ─── BARRA INFERIOR (copyright / contacto / tagline) ─── */
  html body footer .footer-bottom > div {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0.9rem 1.1rem 1rem;
  }

  html body footer .footer-bottom p {
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--hdr-text-dim);
  }

  html body footer .footer-mini-contact {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  html body footer .footer-mini-contact a {
    color: #BFE8FF !important;
    font-weight: 600;
    transition: color 0.2s ease;
  }

  html body footer .footer-mini-contact a:active {
    color: #5FD4FF !important;
  }
}

/* Pantallas muy pequeñas (iPhone SE / 320px) */
@media (max-width: 380px) {
  html body footer .footer-logo {
    height: 3.4rem !important;
  }
  html body footer .footer-social-btn {
    width: 38px !important;
    height: 38px !important;
  }
  html body footer .footer-social-btn svg {
    width: 17px !important;
    height: 17px !important;
  }
  html body footer .footer-heading {
    font-size: 0.72rem !important;
  }
  html body footer .footer-link {
    font-size: 0.78rem !important;
  }
}

/* ============================================================== */
/* v5 — TARJETA PUBLICITARIA: SOLO IMAGEN                         */
/* Un único límite de tamaño (max-width + max-height) y la         */
/* imagen SIEMPRE respeta ese límite (no se deforma ni se sale).   */
/* ============================================================== */
.promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;                             /* margen único uniforme */
  background: rgba(3, 10, 24, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
  overflow-y: auto;
}
.promo-overlay.is-open { opacity: 1; visibility: visible; }

/* Contenedor: se ajusta a la imagen pero NUNCA supera el límite */
.promo-card {
  position: relative;
  display: inline-flex;
  margin: auto;
  max-width: min(440px, calc(100vw - 32px));   /* 👈 límite ancho */
  max-height: calc(100vh - 32px);              /* 👈 límite alto  */
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(95, 212, 255, 0.35);
  transform: translateY(18px) scale(0.94);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  outline: none;
}
.promo-overlay.is-open .promo-card { transform: none; }

/* La imagen define el tamaño natural, pero respeta el límite */
.promo-card-img {
  display: block;
  max-width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* Botón cerrar (mismo look que antes) */
.promo-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(7, 20, 46, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.promo-close svg { width: 18px; height: 18px; }
.promo-close:hover,
.promo-close:focus-visible {
  background: #E5354B;
  transform: rotate(90deg);
  outline: none;
}

body.promo-lock { overflow: hidden !important; }

/* Móvil pequeño */
@media (max-width: 479px) {
  .promo-overlay { padding: 12px; }
  .promo-card,
  .promo-card-img {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }
  .promo-card { border-radius: 14px; }
  .promo-close { width: 34px; height: 34px; }
  .promo-close svg { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-overlay, .promo-card, .promo-close { transition: none; }
}