/* ==========================================================================
   Happy Co - Estilos Optimizados & Diseño Responsivo Móvil
   "Diversión, experiencia, servicio de calidad que hacen que cada fiesta sea especial"
   ========================================================================== */

:root {
  /* Marca Happy Co - Paleta Cromática Armónica */
  --happy-purple: #5B247A;
  --happy-purple-dark: #3F1557;
  --happy-purple-light: #7E379F;
  --happy-purple-soft: #F6EEFB;
  
  /* Marketing & Conversión: Calidez, Impulso y Acción */
  --happy-orange: #F76620;
  --happy-orange-hover: #E05310;
  --happy-orange-soft: #FFF3EB;
  --happy-orange-glow: rgba(247, 102, 32, 0.35);

  /* Celebración, Sol y Promociones Especiales */
  --happy-gold: #FFB703;
  --happy-gold-dark: #F59E0B;
  --happy-gold-soft: #FFFBEB;

  /* Frescura Acuática y Espuma */
  --happy-cyan: #00B4D8;
  --happy-cyan-dark: #0077B6;
  --happy-cyan-soft: #E6F8FB;

  /* Conversión y Confianza WhatsApp */
  --happy-wa: #25D366;
  --happy-wa-dark: #128C7E;
  --happy-wa-hover: #1EBE5D;
  --happy-wa-soft: #E8F9EE;
  --happy-wa-glow: rgba(37, 211, 102, 0.35);

  /* Tipografía y Neutros de Alto Contraste */
  --happy-text-dark: #1E152A;
  --happy-text-body: #4A4453;
  --happy-text-muted: #6E6877;
  --happy-border-light: #F0E6F7;
  --happy-bg-card: #FFFFFF;
}

/* Reset y Base */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Preloader Seguro & Carga Instantánea */
body {
  overflow-y: auto !important;
}
body::before {
  display: none !important;
}
.loader,
body.page-loaded .loader,
.loader.loaded {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Header Actions & Botón Hamburguesa Móvil */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bar-menu {
  display: none;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  padding: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.bar-menu:hover,
.bar-menu:focus {
  background: rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  outline: none;
}

@media (max-width: 768px) {
  .bar-menu {
    display: flex !important;
  }
  .nav-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
  }
}

/* Top bar decorativo con Enfoque de Marketing & Conversión */
.top-bar-happy {
  background: linear-gradient(90deg, #3A1350 0%, #5B247A 50%, #4A1C60 100%);
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar-happy a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.top-bar-happy a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.top-bar-promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FFB703 0%, #F76620 100%);
  color: #1E152A;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  animation: pulsePill 2s infinite ease-in-out;
}

@keyframes pulsePill {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* Marca y Logo */
.happy-brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.happy-brand-logo img {
  height: 48px;
  width: auto;
  max-width: 220px;
  transition: transform 0.3s ease;
}

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

/* ==========================================================================
   SISTEMA DE BOTONES DE ALTA CONVERSIÓN & MARKETING (HAPPY CO)
   ========================================================================== */

/* 1. Botón de Acción Principal (Explorar / Armar Paquete - Naranja Cálido) */
.btn-happy-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #F76620 0%, #FF7A00 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 24px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 4px 15px rgba(247, 102, 32, 0.38);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
}

.btn-happy-primary:hover {
  background: linear-gradient(135deg, #E05310 0%, #F76620 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(247, 102, 32, 0.52);
  color: #ffffff !important;
}

/* 2. Botón de WhatsApp Directo (Verde Conversión Oficial) */
.btn-happy-wa,
.nav-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
}

.btn-happy-wa:hover,
.nav-wa-btn:hover {
  background: linear-gradient(135deg, #1EBE5D 0%, #128C7E 100%);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(37, 211, 102, 0.5);
  color: #ffffff !important;
}

/* 3. Botón de Máxima Conversión para Ofertas ("¡Inflable Gratis!") */
.btn-happy-promo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, #F76620 0%, #E63946 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 5px 18px rgba(247, 102, 32, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
}

.btn-happy-promo:hover {
  background: linear-gradient(135deg, #E05310 0%, #C92A37 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(247, 102, 32, 0.6);
  color: #ffffff !important;
}

/* 4. Botón Cyan Fresco (Fiesta de Espuma / Acuáticos) */
.btn-happy-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #00B4D8 0%, #0077B6 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.35);
  transition: all 0.3s ease;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
}

.btn-happy-cyan:hover {
  background: linear-gradient(135deg, #0077B6 0%, #023E8A 100%);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0, 180, 216, 0.5);
  color: #ffffff !important;
}

/* ==========================================================================
   NAVEGACIÓN MÓVIL (Off-Canvas Drawer Optimizado)
   ========================================================================== */

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 6, 22, 0.75);
  backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

body.mobile-menu-active {
  overflow: hidden !important;
}

.mobile-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 320px !important;
  max-width: 86vw !important;
  height: 100vh !important;
  background: #ffffff !important;
  z-index: 999999 !important;
  box-shadow: 15px 0 35px rgba(0, 0, 0, 0.35) !important;
  transform: translateX(-102%) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow-y: auto !important;
  padding: 0 !important;
  display: block !important;
  visibility: hidden;
}

.mobile-nav.open {
  transform: translateX(0) !important;
  visibility: visible !important;
}

.mobile-nav .res-log {
  background: linear-gradient(135deg, #4A1C60 0%, #672B83 100%);
  padding: 22px 18px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav #res-cross {
  color: #ffffff !important;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.15);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mobile-nav ul {
  list-style: none;
  padding: 16px !important;
  margin: 0;
}

.mobile-nav ul li {
  margin-bottom: 6px;
}

.mobile-nav ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  color: #2b1735;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  background: #f4ecf8;
  color: #672B83;
}

/* ==========================================================================
   TARJETAS DE PRODUCTOS Y SERVICIOS
   ========================================================================== */

.happy-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0e6f7;
  position: relative;
}

.happy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(103, 43, 131, 0.16);
  border-color: #d8b8ec;
}

.happy-card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
  background-color: #f7f2fa;
}

.happy-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.happy-card:hover .happy-card-img-wrapper img {
  transform: scale(1.06);
}

.happy-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--happy-purple);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.happy-card-badge.badge-toro {
  background: linear-gradient(135deg, #F76620 0%, #E76F51 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(247, 102, 32, 0.4);
}

.happy-card-badge.badge-espuma {
  background: linear-gradient(135deg, #00B4D8 0%, #0077B6 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0, 180, 216, 0.4);
}

.happy-card-badge.badge-inflables {
  background: linear-gradient(135deg, #FFB703 0%, #FF8800 100%) !important;
  color: #1E152A !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 10px rgba(255, 183, 3, 0.45);
}

.happy-card-badge.badge-mobiliario {
  background: linear-gradient(135deg, #9B5DE5 0%, #EC4899 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(155, 93, 229, 0.4);
}

.happy-card-badge.badge-snacks {
  background: linear-gradient(135deg, #F97316 0%, #EF4444 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
}

.happy-card-badge.popular {
  background: linear-gradient(135deg, #10B981, #059669);
}

.happy-card-badge.renta {
  background: linear-gradient(135deg, #FF9F1C, #FF5E7E);
}

.happy-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.happy-card-body h4 {
  font-size: 19px;
  font-weight: 700;
  color: #2b1735;
  margin-bottom: 10px;
}

.happy-card-body p {
  color: #666666;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.happy-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  font-size: 12.8px;
  color: #444444;
}

.happy-card-features li {
  margin-bottom: 7px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.happy-card-features li i {
  color: #2ECC71;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.happy-card-footer {
  margin-top: auto;
  border-top: 1px solid #f2e9f7;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.happy-card-price {
  font-size: 12.5px;
  color: #777;
}

.happy-card-price strong {
  font-size: 15px;
  color: var(--happy-purple);
  font-weight: 800;
  display: block;
}

/* ==========================================================================
   PAQUETES
   ========================================================================== */

.package-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 25px;
  border: 2px solid #ecd8f8;
  position: relative;
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.package-card.featured {
  border: 2.5px solid #F76620 !important;
  box-shadow: 0 16px 42px rgba(247, 102, 32, 0.22) !important;
  transform: scale(1.03);
  background: linear-gradient(180deg, #ffffff 0%, #FFFDF9 100%) !important;
  position: relative;
  z-index: 2;
}

.package-ribbon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FFB703 0%, #F76620 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(247, 102, 32, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.package-card.featured .package-ribbon {
  animation: pulseRibbon 2.5s infinite ease-in-out;
}

@keyframes pulseRibbon {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.04); }
}

.package-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #2b1735;
  margin-bottom: 10px;
  text-align: center;
}

.package-price {
  text-align: center;
  margin-bottom: 20px;
  color: var(--happy-purple);
}

.package-card.featured .package-price {
  color: #F76620 !important;
}

.package-price .amount {
  font-size: 30px;
  font-weight: 900;
  display: block;
}

.package-card.featured .package-price .amount {
  color: #F76620 !important;
  text-shadow: 0 2px 10px rgba(247, 102, 32, 0.25);
}

.package-price .period {
  font-size: 13px;
  color: #777;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  flex-grow: 1;
}

.package-features li {
  padding: 8px 0;
  border-bottom: 1px dashed #f0e2f7;
  font-size: 13.5px;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.package-features li i {
  color: #2ECC71;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   VALOR Y CONFIANZA (HIGHLIGHTS CARDS)
   ========================================================================== */

.value-prop-card {
  padding: 24px 18px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #F0E6F7;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.value-prop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(91, 36, 122, 0.12);
  border-color: #D8B8EC;
}

.value-prop-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.value-prop-card:hover .value-prop-icon {
  transform: scale(1.1);
}

.value-prop-icon.purple { background: #F6EEFB; color: #5B247A; }
.value-prop-icon.green  { background: #E8F9EE; color: #25D366; }
.value-prop-icon.gold   { background: #FFFBEB; color: #F59E0B; }
.value-prop-icon.cyan   { background: #E6F8FB; color: #00B4D8; }

/* ==========================================================================
   FILTROS DE CATÁLOGO
   ========================================================================== */

.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
}

.filter-btn {
  background: #ffffff;
  color: #4A4453;
  border: 1.5px solid #E6D8F0;
  padding: 9px 22px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.filter-btn:hover {
  background: #F6EEFB;
  color: #5B247A;
  border-color: #5B247A;
  transform: translateY(-1px);
}

.filter-btn.active {
  background: linear-gradient(135deg, #5B247A 0%, #3F1557 100%);
  color: #ffffff;
  border-color: #5B247A;
  box-shadow: 0 4px 14px rgba(91, 36, 122, 0.3);
}

/* ==========================================================================
   PASOS DE RENTA
   ========================================================================== */

.step-item {
  text-align: center;
  padding: 20px 15px;
  position: relative;
}

.step-number {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F76620 0%, #FFB703 100%);
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 6px 18px rgba(247, 102, 32, 0.35);
  transition: transform 0.3s ease;
}

.step-item:hover .step-number {
  transform: scale(1.08);
}

.step-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2b1735;
}

.step-item p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.5;
}

/* ==========================================================================
   FORMULARIO WHATSAPP
   ========================================================================== */

.happy-form-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0e6f7;
}

.happy-form-box .form-control,
.happy-form-box .form-select {
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.happy-form-box .form-control:focus,
.happy-form-box .form-select:focus {
  border-color: #672B83;
  box-shadow: 0 0 0 0.2rem rgba(103, 43, 131, 0.15);
}

.happy-form-box label {
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Móviles & Tablets)
   ========================================================================== */

/* Prevenir cualquier desbordamiento horizontal en todas las resoluciones */
.slider-home-1 {
  overflow: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

.slider-home-1 .owl-stage-outer {
  overflow: hidden !important;
  max-width: 100% !important;
}

.featured-area,
.hero-section .featured-area {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
}

.top-bar-happy {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  word-break: break-word;
}

.top-bar-happy span,
.top-bar-happy div,
.top-bar-happy em {
  white-space: normal !important;
}

@media (max-width: 768px) {
  .nav-bar {
    display: none !important;
  }
  .bar-menu {
    display: flex !important;
  }
  .center-ber {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 768px) {
  .container,
  .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
  .top-bar-happy {
    font-size: 11.5px;
    text-align: center;
  }
  .top-bar-happy .container {
    justify-content: center !important;
    gap: 8px;
  }
  .hero-section {
    padding: 30px 0 !important;
  }
  .hero-section .featured-area {
    padding: 28px 20px !important;
    border-radius: 16px !important;
    margin: 10px auto !important;
  }
  .hero-section .featured-area h3 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
  .hero-section .featured-area p {
    font-size: 14px !important;
  }
  .package-card.featured {
    transform: none !important;
  }
  .happy-card-img-wrapper {
    height: 190px !important;
  }
  .happy-form-box {
    padding: 22px 18px !important;
  }
  .happy-form-box .form-control,
  .happy-form-box .form-select {
    font-size: 16px !important; /* Evita zoom automático en Safari iOS */
  }
  .happy-wa-banner {
    padding: 22px !important;
    text-align: center;
    justify-content: center !important;
  }
  .happy-wa-banner-content h3 {
    font-size: 20px !important;
  }
}

@media (max-width: 480px) {
  .happy-brand-logo img {
    height: 38px !important;
  }
  .filter-btn {
    padding: 7px 14px !important;
    font-size: 12.5px !important;
  }
  .happy-card-body {
    padding: 16px !important;
  }
  .happy-card-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .btn-happy-wa {
    width: 100% !important;
  }
}


/* ==========================================================================
   BARRA DE NAVEGACIÓN DESKTOP (.nav-bar) - REDISEÑO UI & UX
   ========================================================================== */

.nav-bar {
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  border-bottom: 1px solid #f0e6f5 !important;
  position: relative !important;
  z-index: 100 !important;
  padding: 0 !important;
}

.nav-bar nav.navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 6px 0 !important;
  min-height: 58px !important;
  width: 100% !important;
}

.nav-bar .navbar-links {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
}

.nav-bar .navbar-links li {
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.nav-bar .navbar-links li a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 9px 16px !important;
  color: #2D3748 !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border-radius: 25px !important;
  border: 1px solid transparent !important;
  border-bottom: 1px solid transparent !important;
  transition: all 0.25s ease !important;
  line-height: 1.2 !important;
}

.nav-bar .navbar-links li a i {
  font-size: 14px !important;
  color: #672B83 !important;
  transition: transform 0.2s ease !important;
}

.nav-bar .navbar-links li a:hover {
  background: #F4ECF8 !important;
  color: #672B83 !important;
  border-color: #E6D2F2 !important;
  border-bottom: 1px solid #E6D2F2 !important;
  transform: translateY(-1px);
}

.nav-bar .navbar-links li a:hover i {
  transform: scale(1.15);
  color: #672B83 !important;
}

/* Estado Activo Elegante */
.nav-bar .navbar-links li a.active,
.nav-bar .navbar-links li a.fw-bold {
  background: linear-gradient(135deg, #672B83 0%, #4A1C60 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(103, 43, 131, 0.25) !important;
  border: 1px solid transparent !important;
  border-bottom: 1px solid transparent !important;
}

.nav-bar .navbar-links li a.active i,
.nav-bar .navbar-links li a.fw-bold i {
  color: #FFD700 !important;
}

/* Botón de Teléfono / WhatsApp a la derecha */
.nav-bar .phone,
nav.navbar a.phone {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  background: #25D366 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 8px 18px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border: none !important;
  border-left: none !important;
  height: auto !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.25s ease !important;
  margin-left: auto !important;
}

.nav-bar .phone:hover,
nav.navbar a.phone:hover {
  background: #1eb956 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45) !important;
}

.nav-bar .phone i,
nav.navbar a.phone i {
  font-size: 17px !important;
  color: #ffffff !important;
}


@media (min-width: 769px) {
  .nav-bar {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
  }
  .bar-menu {
    display: none !important;
  }
}

/* ==========================================================================
   CORRECCIÓN: SEPARACIÓN BOTÓN VOLVER ARRIBA (#progress) VS WHATSAPP FLOTANTE
   ========================================================================== */
#progress {
  position: fixed !important;
  bottom: 25px !important;
  left: 25px !important;
  right: auto !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
  border: 2px solid #5B247A !important;
  z-index: 9998 !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#progress:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 8px 22px rgba(91, 36, 122, 0.25) !important;
  background: #F6EEFB !important;
}

#progress-value {
  background-color: transparent !important;
  color: #5B247A !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

#progress-value i {
  font-size: 16px !important;
  color: #5B247A !important;
}

@media (max-width: 480px) {
  #progress {
    bottom: 20px !important;
    left: 15px !important;
    width: 44px !important;
    height: 44px !important;
  }
}
