/* ==========================================================================
   DISTRIBUIDORA TRIDENTE - SISTEMA DE DISEÑO Y ESTILOS MODERNOS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Paleta Corporativa Principal */
  --primary-900: #071b30;
  --primary-800: #0b2a4a;
  --primary-700: #0e3763;
  --primary-600: #154c87;
  --primary-500: #1e62ad;

  /* Colores de Acento y Conversión */
  --accent-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --whatsapp-green: #25d366;
  --whatsapp-green-hover: #20ba59;

  /* Superficies y Fondos */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-hero: linear-gradient(135deg, #071b30 0%, #0b2a4a 55%, #0e3b68 100%);

  /* Escala de Textos (Slate) */
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Bordes y Separadores */
  --border-light: #e2e8f0;
  --border-subtle: rgba(255, 255, 255, 0.12);

  /* Sombras Modernas Multicapa */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -4px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 32px -6px rgba(15, 23, 42, 0.14), 0 8px 16px -4px rgba(15, 23, 42, 0.08);

  /* Radios y Transiciones */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Contenedor Principal */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 42, 74, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-smooth);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

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

.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header .container {
  max-width: 1440px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: nowrap;
}

.nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  padding: 0.45rem 0.25rem;
  transition: color var(--transition-fast);
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  line-height: 1.1;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth);
}

.nav a:hover {
  color: #ffffff;
}

.nav a:hover::after {
  width: 100%;
}

.nav a.nav-highlight {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff !important;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  text-decoration: none;
}

.nav a.nav-highlight::after {
  display: none;
}

.nav a.nav-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
  color: #ffffff !important;
}

.nav a.nav-hazte-cliente {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  transition: all var(--transition-fast);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  white-space: nowrap !important;
  line-height: 1.1;
}

.nav a.nav-hazte-cliente::after {
  display: none;
}

.nav a.nav-hazte-cliente:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
}

.nav a.nav-ofertas {
  background: linear-gradient(135deg, #ef4444 0%, #ea580c 50%, #f59e0b 100%);
  color: #ffffff !important;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.45), 0 2px 6px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap !important;
  line-height: 1.1;
}
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav a.nav-ofertas::after {
  display: none;
}

.nav a.nav-ofertas:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.75), 0 4px 12px rgba(239, 68, 68, 0.5);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6);
}

.nav-ofertas-flame {
  font-size: 1.05rem;
  line-height: 1;
  display: inline-block;
  animation: flameBounce 1.8s ease-in-out infinite;
}

@keyframes flameBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.15); }
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   BANNER HERO DE ALTO IMPACTO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg-hero);
  color: var(--text-white);
  padding: 6.5rem 1.5rem 5.5rem;
  overflow: hidden;
  text-align: center;
}

/* Resplandor de fondo ambiental */
.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(11, 42, 74, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 950px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fef08a;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero h1 .highlight-text {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
  filter: brightness(1.05);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Píldoras de confianza en Hero */
.hero-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-pill-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #e2e8f0;
  font-weight: 500;
}

.hero-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  font-size: 0.85rem;
}

/* ==========================================================================
   SECCIONES GENERALES Y TÍTULOS
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.bg-light {
  background: var(--bg-surface-alt);
}

.bg-white {
  background: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-500);
  background: rgba(30, 98, 173, 0.1);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CARRUSEL INFINITO DE MARCAS
   ========================================================================== */
.brands-section {
  background: #ffffff;
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.logo-slider {
  overflow: hidden;
  position: relative;
  padding: 1.25rem 0;
  /* Máscaras de degradado lateral */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scrollMarquee 38s linear infinite;
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

.brand-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.6rem;
  margin: 0 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  height: 80px;
  min-width: 140px;
}

.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.brand-card img {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(85%);
  opacity: 0.85;
  transition: all var(--transition-fast);
}

.brand-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   CATEGORÍAS DE PRODUCTOS
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.85rem;
}

.category-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2.2rem 1.8rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(14, 55, 99, 0.08);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.category-card:hover .category-icon {
  background: var(--primary-800);
  color: #ffffff;
  transform: scale(1.05);
}

.category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.6rem;
}

.category-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.category-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.brand-tag {
  font-size: 0.78rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-600);
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.category-link:hover {
  color: var(--accent-blue);
  gap: 0.65rem;
}

/* ==========================================================================
   BENEFICIOS PARA EL COMERCIO (POR QUÉ ELEGIRNOS)
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.85rem;
}

.benefit-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.benefit-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
}

.benefit-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.75rem;
}

.benefit-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   ZONAS DE COBERTURA Y MAPA (#zonas)
   ========================================================================== */
.zones-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.zone-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.zone-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.zone-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-500);
  transform: translateX(4px);
}

.zone-item-icon {
  font-size: 1.6rem;
  background: rgba(14, 55, 99, 0.08);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zone-item-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.35rem;
}

.zone-item-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.map-wrapper {
  background: #ffffff;
  padding: 0.6rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  height: 100%;
  min-height: 380px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: var(--radius-md);
  border: none;
  display: block;
}

/* ==========================================================================
   CTA PRE-FOOTER DE CONVERSIÓN
   ========================================================================== */
.cta-banner {
  background: var(--bg-hero);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 4.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin: 1.5rem auto;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.cta-banner p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 2.25rem;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER MODERNO
   ========================================================================== */
.footer {
  background: var(--primary-900);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand .footer-logo img,
.footer-brand img,
.footer-logo img,
img.footer-logo {
  height: 46px;
  max-height: 46px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #94a3b8;
  max-width: 380px;
}

.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.footer-contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--whatsapp-green);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: #64748b;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #cbd5e1;
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP CON PULSO Y TOOLTIP
   ========================================================================== */
.whatsapp-float-container {
  display: none !important;
}

.whatsapp-tooltip {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  pointer-events: none;
  animation: floatTooltip 3s ease-in-out infinite;
}

@keyframes floatTooltip {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-4px); }
}

.whatsapp-float {
  width: 62px;
  height: 62px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp-green);
  opacity: 0.8;
  animation: pulseGreen 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--whatsapp-green-hover);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float img {
  width: 36px;
  height: 36px;
  display: block;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1380px) {
  .header-content {
    padding: 0.65rem 0;
  }
  .nav {
    gap: 0.6rem;
    flex-wrap: nowrap;
  }
  .nav a {
    font-size: 0.82rem;
    padding: 0.35rem 0.15rem;
    white-space: nowrap !important;
  }
  .nav a.nav-highlight,
  .nav a.nav-hazte-cliente {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
    white-space: nowrap !important;
  }
  .nav a.nav-ofertas {
    padding: 0.38rem 0.7rem;
    font-size: 0.8rem;
    white-space: nowrap !important;
  }
}

@media (min-width: 769px) and (max-width: 1120px) {
  .nav {
    gap: 0.35rem;
  }
  .nav a {
    font-size: 0.75rem;
    padding: 0.25rem 0.1rem;
  }
  .nav a.nav-highlight,
  .nav a.nav-hazte-cliente {
    padding: 0.38rem 0.65rem;
    font-size: 0.74rem;
  }
  .nav a.nav-ofertas {
    padding: 0.32rem 0.55rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 992px) {
  .zones-layout {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-800);
    padding: 1.5rem 1.5rem 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-subtle);
    gap: 1.25rem;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    font-size: 1.05rem;
    width: 100%;
    text-align: center;
    padding: 0.6rem 0;
  }

  .nav a.nav-highlight {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
  }

  .nav a.nav-hazte-cliente {
    margin-top: 0.35rem;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .nav a.nav-ofertas {
    margin-top: 0.25rem;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 1rem;
  }

  .hero {
    padding: 4.5rem 1rem 3.5rem;
  }

  .hero-pills {
    flex-direction: column;
    gap: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* ==========================================================================
   VENDEDOR TRIDENTE - ASISTENTE VIRTUAL OFICIAL (ULTRA RESPONSIVE)
   ========================================================================== */

/* Backdrop para oscurecer el fondo en móviles cuando el chat esté abierto */
.vendedor-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1055;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.vendedor-backdrop.vendedor-backdrop-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.vendedor-modal-open {
  overflow: hidden;
  touch-action: none;
}

/* Contenedor Flotante (Directamente ARRIBA del botón de WhatsApp) */
.vendedor-tridente-float {
  position: fixed;
  bottom: 100px;
  right: 25px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

/* Nube / Speech Bubble ("Habla con un vendedor de Tridente") */
.vendedor-cloud {
  background: #ffffff;
  color: #0f172a;
  padding: 0.65rem 1.15rem;
  border-radius: 20px;
  border-bottom-right-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(30, 58, 138, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  animation: vendedorCloudBounce 3.5s ease-in-out infinite;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.vendedor-cloud:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px -4px rgba(30, 58, 138, 0.25);
  border-color: rgba(30, 58, 138, 0.3);
}

.vendedor-cloud-text {
  display: inline-block;
  line-height: 1.3;
}

/* Flecha de la nube apuntando al botón */
.vendedor-cloud::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid #ffffff;
}

.vendedor-cloud-close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: 2px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.vendedor-cloud-close:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

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

/* Botón Circular Vendedor Tridente / Camila */
.vendedor-tridente-btn {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #0b192c 0%, #1e3a8a 100%);
  color: #ffffff;
  border-radius: 50%;
  border: 2px solid #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(11, 25, 44, 0.45);
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  padding: 0;
  overflow: visible;
}

.vendedor-tridente-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #3b82f6;
  opacity: 0.7;
  animation: pulseTridente 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulseTridente {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

.vendedor-tridente-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
  border-color: #fbbf24;
}

.vendedor-btn-avatar-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #1e3a8a;
}

.vendedor-header-avatar-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #1e3a8a;
}

.vendedor-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 50%;
  display: block;
  transition: transform 0.25s ease;
}

.vendedor-tridente-btn:hover .vendedor-avatar-photo {
  transform: scale(1.08);
}

.vendedor-avatar-svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.vendedor-status-indicator {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 15px;
  height: 15px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  z-index: 5;
}

/* ==========================================================================
   VENTANA DEL CHAT (MODAL FLOTANTE ULTRA RESPONSIVE)
   ========================================================================== */
.vendedor-chat-window {
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 395px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1060;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.vendedor-chat-window.vendedor-chat-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Header del Chat */
.vendedor-chat-header {
  background: linear-gradient(135deg, #0b192c 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.vendedor-header-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  border: 2px solid #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

.vendedor-avatar-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 13px;
  height: 13px;
  background: #10b981;
  border: 2px solid #0b192c;
  border-radius: 50%;
  z-index: 5;
}

.vendedor-header-info {
  flex: 1;
  min-width: 0;
}

.vendedor-header-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  line-height: 1.2;
}

.vendedor-header-status {
  font-size: 0.78rem;
  color: #93c5fd;
  margin: 2px 0 0;
}

.vendedor-header-actions {
  display: flex;
  gap: 6px;
}

.vendedor-header-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.vendedor-header-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Área de Mensajes con Momentum Scrolling */
.vendedor-chat-messages {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
}

.vendedor-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
}

.vendedor-msg-bot {
  align-self: flex-start;
}

.vendedor-msg-user {
  align-self: flex-end;
}

.vendedor-msg-bubble {
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.45;
  word-break: break-word;
}

.vendedor-msg-bot .vendedor-msg-bubble {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.vendedor-msg-user .vendedor-msg-bubble {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.vendedor-msg-time {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 3px;
  padding: 0 4px;
}

.vendedor-msg-user .vendedor-msg-time {
  text-align: right;
}

/* Botón de acción / WhatsApp dentro del chat */
.vendedor-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.86rem;
  margin-top: 0.65rem;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
  line-height: 1.3;
}

.vendedor-cta-btn:hover {
  background: #20ba59;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
}

/* Sugerencias Rápidas (Chips) Optimizadas para Tacto */
.vendedor-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
  padding: 2px 0;
}

.vendedor-chip {
  background: #ffffff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  padding: 0.45rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.25;
}

.vendedor-chip:hover,
.vendedor-chip:focus {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
  transform: translateY(-1px);
}

/* Indicador Escribiendo */
.vendedor-typing {
  padding: 0.4rem 1.1rem;
  display: flex;
  gap: 4px;
  align-items: center;
}

.vendedor-typing span {
  width: 7px;
  height: 7px;
  background: #94a3b8;
  border-radius: 50%;
  animation: vendedorTyping 1.4s infinite ease-in-out;
}

.vendedor-typing span:nth-child(2) { animation-delay: 0.2s; }
.vendedor-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes vendedorTyping {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Input Form con Prevención de Zoom en iOS */
.vendedor-chat-form {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  gap: 8px;
  flex-shrink: 0;
}

.vendedor-chat-input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  padding: 0.65rem 1rem;
  font-size: 16px !important; /* Evita auto-zoom en iOS Safari */
  outline: none;
  transition: border-color 0.15s ease;
  background: #f8fafc;
}

.vendedor-chat-input:focus {
  border-color: #1e3a8a;
  background: #ffffff;
}

.vendedor-chat-send {
  width: 42px;
  height: 42px;
  background: #1e3a8a;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.vendedor-chat-send:hover {
  background: #2563eb;
  transform: scale(1.05);
}

.vendedor-chat-send svg {
  width: 18px;
  height: 18px;
  transform: translateX(1px);
}

/* ==========================================================================
   RESPONSIVE AVANZADO (MÓVILES, TABLETS Y PANTALLAS PEQUEÑAS)
   ========================================================================== */
@media (max-width: 768px) {
  /* WhatsApp flotante en móvil */
  .whatsapp-float-container {
    bottom: 18px;
    right: 16px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
  }

  .whatsapp-float img {
    width: 32px;
    height: 32px;
  }

  /* Botón e indicador del Vendedor Tridente */
  .vendedor-tridente-float {
    bottom: 86px;
    right: 16px;
    gap: 8px;
  }

  .vendedor-tridente-btn {
    width: 56px;
    height: 56px;
  }

  .vendedor-btn-icon {
    width: 28px;
    height: 28px;
  }

  /* Nube de diálogo en móvil adaptada */
  .vendedor-cloud {
    font-size: 0.78rem;
    padding: 0.45rem 0.75rem;
    max-width: calc(100vw - 92px);
    white-space: normal;
    line-height: 1.25;
    border-radius: 16px;
  }

  /* Ventana de Chat en Móvil como Modal Bottom-Sheet */
  .vendedor-chat-window {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
    height: min(620px, calc(100dvh - 24px));
    max-height: calc(100dvh - 24px);
    border-radius: 20px;
  }

  .vendedor-msg {
    max-width: 88%;
  }

  .vendedor-chat-messages {
    padding: 0.9rem;
  }

  .vendedor-chip {
    font-size: 0.8rem;
    padding: 0.42rem 0.78rem;
  }
}

@media (max-width: 420px) {
  .whatsapp-float-container {
    bottom: 16px;
    right: 12px;
  }

  .vendedor-tridente-float {
    bottom: 82px;
    right: 12px;
    gap: 6px;
  }

  .vendedor-cloud {
    font-size: 0.74rem;
    padding: 0.38rem 0.65rem;
    max-width: calc(100vw - 84px);
  }

  .vendedor-chat-window {
    right: 8px;
    left: 8px;
    bottom: 8px;
    max-width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    border-radius: 16px;
  }
}

/* ==========================================================================
   SECCIÓN Y BANNER DE OFERTAS MAYORISTAS
   ========================================================================== */
.ofertas-section {
  padding: 3.5rem 0 4.5rem;
  background: linear-gradient(180deg, #071b30 0%, #0b2a4a 50%, #071b30 100%);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 85px;
}

/* Glow ambiental */
.ofertas-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, rgba(245, 158, 11, 0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.ofertas-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.25rem;
  position: relative;
  z-index: 2;
}

.ofertas-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-full);
  color: #fca5a5;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.pulse-flame {
  display: inline-block;
  animation: flameBounce 1.5s infinite;
}

.ofertas-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.ofertas-subtitle {
  font-size: 1.02rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

.ofertas-banner-card {
  max-width: 1260px;
  margin: 0 auto;
  background: rgba(11, 42, 74, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.ofertas-banner-card.ofertas-highlighted {
  border-color: #f59e0b;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.5), 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.ofertas-iframe-container {
  width: 100%;
  position: relative;
  background: #082620;
  border-radius: 20px 20px 0 0;
  height: 290px;
  min-height: 290px;
  overflow: hidden;
}

.ofertas-iframe {
  width: 100%;
  height: 290px;
  min-height: 290px;
  border: none;
  display: block;
  background: transparent;
  overflow: hidden;
}

.ofertas-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0.85rem 1.6rem;
  background: rgba(7, 27, 48, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ofertas-footer-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #cbd5e1;
  font-size: 0.86rem;
  font-weight: 500;
}

.ofertas-live-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.ofertas-footer-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 992px) {
  .ofertas-iframe,
  .ofertas-iframe-container {
    height: 480px;
    min-height: 480px;
  }
}

@media (max-width: 768px) {
  .ofertas-section {
    padding: 2.5rem 0 3rem;
  }

  .ofertas-title {
    font-size: 1.65rem;
  }

  .ofertas-iframe,
  .ofertas-iframe-container {
    height: 500px;
    min-height: 500px;
  }

  .ofertas-footer-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }

  .ofertas-footer-actions {
    width: 100%;
    justify-content: center;
  }

  .btn-ofertas-fullscreen {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ofertas-iframe,
  .ofertas-iframe-container {
    height: 520px;
    min-height: 520px;
  }
}

/* ==========================================================================
   MODAL DE OFERTAS CON FONDO BORROSO (BACKDROP BLUR)
   ========================================================================== */
body.ofertas-modal-open {
  overflow: hidden !important;
  touch-action: none;
}

.ofertas-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 15, 26, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1070;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.ofertas-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.ofertas-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.94);
  width: 96%;
  max-width: 1260px;
  max-height: 94vh;
  background: linear-gradient(145deg, #0b192c 0%, #0c233f 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 40px rgba(245, 158, 11, 0.22);
  display: flex;
  flex-direction: column;
  z-index: 1080;
  opacity: 0;
  visibility: hidden;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.ofertas-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.ofertas-modal-header {
  padding: 1.15rem 1.6rem;
  background: linear-gradient(135deg, #071b30 0%, #1e3a8a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}

.ofertas-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ofertas-modal-flame {
  font-size: 1.65rem;
  line-height: 1;
  display: inline-block;
  animation: flameBounce 1.5s infinite;
}

.ofertas-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.ofertas-modal-sub {
  font-size: 0.78rem;
  color: #93c5fd;
  margin: 3px 0 0;
  font-weight: 500;
}

.ofertas-modal-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.15s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.ofertas-modal-close:hover {
  background: rgba(239, 68, 68, 0.8);
  transform: scale(1.08);
}

.ofertas-modal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #071b30;
  display: flex;
  flex-direction: column;
}

.ofertas-iframe-wrap {
  width: 100%;
  flex: 1;
  min-height: 310px;
  height: 320px;
  position: relative;
  background: #082620;
  overflow: hidden;
}

.ofertas-modal-iframe {
  width: 100%;
  height: 100%;
  min-height: 310px;
  border: none;
  display: block;
  background: transparent;
}

.ofertas-modal-footer {
  padding: 0.85rem 1.6rem;
  background: rgba(7, 27, 48, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  flex-shrink: 0;
}

.ofertas-modal-footer-info {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 500;
}

.ofertas-modal-footer-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-ofertas-fullscreen {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.5rem 1.15rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ofertas-fullscreen:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  border-color: #f59e0b;
}

@media (max-width: 768px) {
  .ofertas-modal {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  .ofertas-modal-header {
    padding: 0.9rem 1.15rem;
  }

  .ofertas-modal-title {
    font-size: 1.05rem;
  }

  .ofertas-modal-sub {
    font-size: 0.72rem;
  }

  .ofertas-iframe-wrap,
  .ofertas-modal-iframe {
    min-height: 500px;
    height: 500px;
  }

  .ofertas-modal-footer {
    padding: 0.85rem 1.15rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ofertas-modal-footer-actions {
    width: 100%;
    justify-content: center;
  }

  .ofertas-modal-footer-actions .btn-ofertas-fullscreen {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ofertas-modal {
    width: calc(100vw - 10px);
    max-width: calc(100vw - 10px);
    max-height: calc(100dvh - 12px);
    border-radius: 16px;
  }

  .ofertas-iframe-wrap,
  .ofertas-modal-iframe {
    min-height: 520px;
    height: 520px;
  }
}

/* ==========================================================================
   MODAL HAZTE CLIENTE (ALTA MAYORISTA CON DERIVACIÓN A WHATSAPP)
   ========================================================================== */
body.hz-modal-open {
  overflow: hidden !important;
  touch-action: none;
}

.hz-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 15, 26, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.hz-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.hz-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.95);
  width: 94%;
  max-width: 480px;
  max-height: 92vh;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(16, 185, 129, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 2010;
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.hz-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.hz-modal-header {
  padding: 1.35rem 1.6rem 1.15rem;
  background: linear-gradient(135deg, #071b30 0%, #0b2a4a 60%, #0e3b68 100%);
  color: #ffffff;
  position: relative;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hz-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.65rem;
}

.hz-modal-close {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.hz-modal-close:hover {
  background: rgba(239, 68, 68, 0.85);
  transform: scale(1.08);
}

.hz-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.hz-modal-subtitle {
  font-size: 0.86rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

.hz-modal-body {
  padding: 1.4rem 1.6rem 1.6rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hz-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hz-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hz-required {
  color: #ef4444;
}

.hz-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.hz-input-icon {
  position: absolute;
  left: 12px;
  font-size: 1.05rem;
  pointer-events: none;
  opacity: 0.85;
}

.hz-input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 40px;
  font-size: 16px; /* Evita zoom forzado en móviles iOS Safari */
  font-family: inherit;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hz-input::placeholder {
  color: #94a3b8;
  font-size: 0.9rem;
}

.hz-input:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.hz-input.hz-input-error {
  border-color: #ef4444 !important;
  background: #fef2f2;
}

.hz-error-msg {
  display: none;
  font-size: 0.78rem;
  color: #dc2626;
  font-weight: 600;
}

.hz-error-msg.visible {
  display: block;
}

.hz-notice {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: #166534;
  line-height: 1.45;
}

.hz-notice-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.hz-btn-submit {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full, 9999px);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.38);
  transition: all 0.2s ease;
  margin-top: 0.25rem;
}

.hz-btn-submit:hover {
  background: linear-gradient(135deg, #20ba59 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.52);
}

.hz-wa-icon {
  display: inline-block;
  vertical-align: middle;
}

/* Estado de Éxito / Confirmación */
.hz-success-state {
  padding: 2.25rem 1.6rem;
  background: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
}

.hz-success-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 1.9rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.2);
}

.hz-success-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.hz-success-text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
  max-width: 380px;
}

.hz-btn-success-reopen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
  margin-top: 0.4rem;
}

.hz-btn-success-reopen:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.48);
}

.hz-btn-close-final {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.2rem;
}

.hz-btn-close-final:hover {
  background: #f1f5f9;
  color: #0f172a;
}
