/*Servicios*/

.service-icon-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.service-icon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Íconos */
.service-icon-card i {
  font-size: 2.5rem;
  color: var(--c-m);
  /* Magenta */
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-icon-card:hover i {
  color: var(--c-c);
  /* Cyan */
}

/* 🔹 Evitar que el título se desborde */
.service-icon-card h5 {
  font-weight: 600;
  color: var(--c-k);
  font-size: 1rem;
  margin-bottom: 0.3rem;
  white-space: normal;
  /* Permite salto de línea si es largo */
  word-wrap: break-word;
  /* Rompe palabras largas si es necesario */
  text-overflow: ellipsis;
  /* Corta texto si se pasa del ancho */
  overflow: hidden;
}

.service-icon-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  /* tablets y móviles grandes */
  .service-icon-card {
    padding: 1rem 0.8rem;
    max-width: 220px;
  }

  .service-icon-card i {
    font-size: 2rem;
  }

  .service-icon-card h5 {
    font-size: 0.95rem;
  }

  .service-icon-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  /* móviles pequeños */
  .service-icon-card {
    padding: 1.2rem 0.6rem;
    max-width: 200px;
  }

  .service-icon-card i {
    font-size: 1.8rem;
  }

  .service-icon-card h5 {
    font-size: 0.9rem;
  }

  .service-icon-card p {
    font-size: 0.8rem;
  }

  #servicios .row {
    --bs-gutter-x: 0.6rem;
    --bs-gutter-y: 0.8rem;
  }

  .service-icon-card {
    padding: 1rem 0.6rem;
  }
}

/*Fin servicios*/

/* ===== Reset & Base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", "Segoe UI Emoji", "Noto Color Emoji",
    "Apple Color Emoji", sans-serif;
  color: var(--c-k);
  background: linear-gradient(135deg, #f5f7fa 0%, #f0f4f8 50%, #e8eef5 100%);
  background-attachment: fixed;
  line-height: 1.5;
  padding-top: 90px;
  /* compensar navbar flotante */
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><circle cx="20" cy="20" r="2"/><circle cx="80" cy="80" r="2"/><circle cx="80" cy="20" r="2"/><circle cx="20" cy="80" r="2"/></svg>');
  background-repeat: repeat;
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #00a7e1 15%, 
    #667eea 30%, 
    #d72a86 50%, 
    #f8bd23 70%, 
    #00a7e1 85%, 
    transparent 100%);
  background-size: 200% 100%;
  animation: colorLineMove 12s linear infinite;
  z-index: 1050;
  box-shadow: 0 0 20px rgba(0, 167, 225, 0.4);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Navbar flotante ===== */
/* ============================================================
   ✨ NAVBAR MEJORADO CON EFECTOS E INTERACTIVIDAD
   ============================================================ */

.navbar-enhanced {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.8rem 1rem;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-enhanced.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem;
}

/* Logo mejorado con efecto hover */
.navbar-brand-enhanced {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.navbar-brand-enhanced:hover {
  transform: translateY(-2px);
}

.logo-image {
  margin-right: 60px;
  transition: transform 0.1s ease, box-shadow 0.3s ease;
}

.navbar-brand-enhanced:hover .logo-image {
  margin-right: 15px;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(215, 42, 134, 0.3);
}

.brand-text {
  background: linear-gradient(135deg, #d72a86 0%, #667eea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.2rem;
  background-clip: text;
  transition: all 0.3s ease;
}

/* Links del navbar mejorados */
.nav-link-enhanced {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  padding: 0.6rem 1rem !important;
  margin: 0 0.2rem;
  color: #2d3e5f !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  overflow: hidden;
}

.nav-link-enhanced i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

/* Efecto de fondo en hover */
.nav-link-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(215, 42, 134, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
  z-index: -1;
}

.nav-link-enhanced:hover::before,
.nav-link-enhanced.active::before {
  opacity: 1;
}

/* Subrayado animado */
.nav-link-enhanced::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, #d72a86 0%, #667eea 100%);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-enhanced:hover::after,
.nav-link-enhanced.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Estado hover */
.nav-link-enhanced:hover {
  color: #d72a86 !important;
  transform: translateY(-2px);
}

.nav-link-enhanced:hover i {
  transform: scale(1.15) rotate(5deg);
}

/* Estado activo */
.nav-link-enhanced.active {
  color: #d72a86 !important;
  font-weight: 600;
}

/* Animación de entrada escalonada */
.navbar-nav .nav-item {
  animation: navItemFadeIn 0.5s ease backwards;
}

.navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
.navbar-nav .nav-item:nth-child(2) { animation-delay: 0.2s; }
.navbar-nav .nav-item:nth-child(3) { animation-delay: 0.3s; }
.navbar-nav .nav-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes navItemFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile menu mejorado */
@media (max-width: 991px) {
  .navbar-enhanced {
    padding: 0.6rem 1rem;
  }

  .nav-link-enhanced {
    padding: 0.8rem 1rem !important;
    margin: 0.2rem 0;
    justify-content: flex-start;
  }

  .nav-link-enhanced::after {
    left: 10px;
    transform: translateX(0) scaleX(0);
    width: 4px;
    height: 70%;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
  }

  .nav-link-enhanced:hover::after,
  .nav-link-enhanced.active::after {
    transform: translateY(-50%) scaleX(1);
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(248, 249, 250, 0.95);
    border-radius: 15px;
    backdrop-filter: blur(10px);
  }
}

/* Compatibilidad con estilos anteriores */
.navbar {
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 0.8rem 1rem;
  z-index: 1050;
}

.navbar.scrolled {
  background: var(--bg) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.navbar .nav-link {
  font-weight: 500;
  margin: 0 0.4rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--c-m);
}

/* ============================================================
   PALETA DE COLORES ARMONIOSA
   ============================================================ */
:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   Títulos generales
   ============================================================ */
.titulo-seccion {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  width: 100%;
  padding-bottom: 1rem;
}

.titulo-seccion::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.subtitulo-seccion {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

/* ============================================================
   CATEGORÍAS VISUALES
   ============================================================ */
.categoria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 2rem;
}

.categoria-item {
  background: white;
  border: 2px solid #e5e7eb;
  padding: 16px 12px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  color: #0f1723;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.categoria-item i {
  font-size: 24px;
  display: block;
  margin-bottom: 8px;
  color: #00a7e1;
  transition: transform 0.3s ease;
}

.categoria-item:hover {
  background: linear-gradient(135deg, #00a7e1 0%, #d72a86 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 167, 225, 0.3);
}

.categoria-item:hover i {
  color: white;
  transform: scale(1.15);
}

.categoria-item.active-category {
  background: linear-gradient(135deg, #00a7e1, #d72a86);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 167, 225, 0.25);
}

/* ===== Hero ===== */

/* HERO FULL SCREEN */
.hero {
  width: 100%;
  height: 70vh;
  overflow: hidden;
  position: relative;
}

/* FORZAR CARRUSEL A OCUPAR LA PANTALLA */
.hero *,
.hero .carousel-inner,
.hero .carousel-item,
.hero .carousel-item img {
  width: 100%;
  height: 100%;
}

.carousel-caption h5 {
  font-size: 17px;
}

.carousel-caption p {
  font-size: 12px;
}

/* LA IMAGEN SE ADAPTA A TODA LA PANTALLA */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* TEXTO SUPERPUESTO */
.carousel-caption {
  left: 0 !important;
  right: 0 !important;
  background: rgba(0, 0, 0, 0.6); /* Fondo negro translúcido */
  padding: 5px 5px;
  border-radius: 10px;
}

.hero-content h1,
.hero-content p {
  color: white;
  /* asegúrate que el texto sea claro */
  text-shadow: 5px 5px 6px rgba(0, 0, 0, 0.8);
  /* sombra oscura difusa */
}

/* ===== Secciones ===== */
.section {
  padding: 3rem 0;
}

.bg-c {
  background: rgba(1, 168, 223, 0.091);
}

.bg-m {
  background: rgba(225, 0, 124, 0.116);
}

.bg-y {
  background: rgba(255, 209, 0, 0.15);
}

.bg-k {
  background: var(--c-k);
}

/* ===== Tarjetas ===== */
.card {
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex: 0 0 80%;
  scroll-snap-align: start;
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  height: 180px;
  object-fit: cover;
}

.card h5 {
  padding: 0.8rem 1rem 0;
}

.card p {
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
}

/* === Ajuste visual para tarjetas de Promociones (index) === */
.promo-card {
  max-width: 290px;
  border-radius: 16px;
  background: #ffffff;
  color: #000;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Precio anterior */



.promo-card h5 {
  font-size: 1rem; /* 🔹 más grande y legible */
  font-weight: 700;
  margin: 0.6rem 0 0.3rem;
  text-align: center;
}

.promo-card h5 {
  font-size: 1rem; /* 🔹 más grande y legible */
  font-weight: 700;
  margin: 0.6rem 0 0.3rem;
  text-align: center;
}

/* --- ESTILOS ESPECÍFICOS PARA TARJETAS DE PRODUCTO/PROMOCIÓN --- */

.product-card {
  flex: 0 0 220px;
  /* ancho mayor, antes seguro estaba en 200px o 220px */
  max-width: 260px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  max-height: 370px;
}

.product-card p {
  margin: 0px;
  padding: 5px;
}

.product-card:hover {
  transform: translateY(-5px);
}

/*Promo mas vendida*/
/* === Etiqueta "Promo más vendida" === */
.badge-popular {
  max-height: 30px;
  position: absolute;
  top: 0px;
  left: -5px;
  background: linear-gradient(45deg, #ff0000, #ff9900);
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 0 10px 10px 0;
  animation: pulseBadge 1.5s infinite;
  box-shadow: 0 0 10px rgba(255, 120, 0, 0.6);
}

/* === Animación brillante / parpadeo === */
@keyframes pulseBadge {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 120, 0, 0.7);
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(255, 180, 0, 0.9);
  }
}

/* Opcional: también puedes hacer que toda la tarjeta destaque un poco */
.mas-vendida {
  border: 3px solid #ff9900;
  animation: glowCard 2s infinite alternate;
}

@keyframes glowCard {
  from {
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.4);
  }

  to {
    box-shadow: 0 0 25px rgba(255, 200, 0, 0.9);
  }
}

/* ===== Ajustes responsivos para las promos ===== */

/*Mas vendida*/

/* ANIMACIONES DE PROMOS*/

/* ✨ Botón "Adquirir Promo" animado */
.adquirir-btn {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  color: #fff;
  border: none;
  background: linear-gradient(90deg, #00a7e1, #007bff);
  transition: all 0.3s ease;
  animation: pulseButton 2.5s infinite ease-in-out;
}

.adquirir-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 16px rgba(0, 167, 225, 0.7);
}

/* ✨ brillo diagonal */
.adquirir-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80px;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-20deg);
  animation: shineButton 3s infinite;
}

@keyframes shineButton {
  0% {
    left: -80px;
  }

  60% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

@keyframes pulseButton {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 167, 225, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(0, 167, 225, 0.7);
  }
}

/*Fin animaciones*/

#promociones {
  position: relative;
  /* 🔑 Necesario para posicionar los globos dentro */
  overflow: hidden;
  /* evita que los globos salgan de la sección */
  z-index: 1;
  /* asegura que esté encima del resto del layout */
}

.balloon {
  position: absolute;
  bottom: -60px;
  width: 30px;
  height: 40px;
  border-radius: 50% 50% 45% 45%;
  opacity: 0.8;
  animation: balloonRise 8s linear infinite;
}

/* Subida */
@keyframes balloonRise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: translateY(-120vh) scale(1.2);
    opacity: 0;
  }
}

/* Movimiento de giro separado */
@keyframes balloonRotate {
  0% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(5deg);
  }
}

.card .product-card h5 {
  text-align: center;
}

.promociones-container {
  position: relative;
  /* 🔑 para que los botones se ubiquen sobre él */
  overflow-x: hidden;
  padding: 0 40px;
  /* opcional para que haya espacio lateral */
}

/*EFECTO DE AMPLIAR*/
/* Aplica a todas las imágenes de tarjetas */
/* 🎯 Zoom en imágenes (responsive) */
.promo-card img,
.product-card img,
.service-card img {
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.product-card img {
  width: 100%;
  height: 220px;
  /* aumenta el alto (ej. antes estaba en 150px) */
  object-fit: contain;
  /* ocupa todo el espacio sin deformarse */
  display: block;
}

/* Zoom por defecto (para móvil) */
.promo-card img:hover,
.product-card img:hover,
.service-card img:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* 📌 Ajuste para pantallas grandes */
@media (min-width: 992px) {
  .promo-card img:hover,
  .product-card img:hover,
  .service-card img:hover {
    transform: scale(1.02);
    /* Menos zoom en PC */
    filter: brightness(1.03);
    /* Más sutil */
  }
}

/* Modal de imagen */
.img-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.img-modal-content img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

/* Animación de salida del modal */
.img-modal.fade-out {
  animation: fadeOut 0.2s ease forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* 🎯 Ajuste para pantallas grandes (PC) */
@media (min-width: 992px) {
  .img-modal-content img {
    max-width: 40vw;
    /* 40% del ancho de la pantalla */
    max-height: 70vh;
    /* no más alto del 70% de la pantalla */
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== Contacto ===== */
form {
  max-width: 600px;
  margin: auto;
}

/* ===== Footer ===== */
.footer {
  background: var(--c-k);
  color: white;
  padding: 1rem;
}

/* --- WhatsApp --- */
.whatsapp-float {
  position: fixed;
  bottom: 0px;
  /* más alto, deja espacio para Instagram debajo */
  right: 20px;
  z-index: 999;
  text-align: center;
}

.whatsapp-float img {
  width: 55px;
  /* 🔹 más pequeño */
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}

/* --- Instagram debajo --- */
.instagram-float {
  position: fixed;
  bottom: 25px;
  /* 🔹 debajo del WhatsApp */
  right: 20px;
  z-index: 999;
}

.instagram-float img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  padding: 3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-float img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(221, 42, 123, 0.8);
}

.whatsapp-float img,
.instagram-float img {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.4);
  }
}

.footer-colored {
  background: var(--c-k);
  /* Por ejemplo, tu azul CMYK */
  color: white;
}

.footer-phrase {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.5px;
}

/*Comienzo productos*/
/* Tarjetas de productos */
/* La clave para imágenes consistentes y de buen tamaño */
#productGrid .product-card img,
#productGridNavidad .product-card img {
  width: 100%;
  max-height: 150px; /* ⬅️ Altura máxima fija */
  aspect-ratio: 1 / 1; /* ⬅️ Proporción cuadrada */
  object-fit: cover; /* ⬅️ Rellena el espacio sin deformar */
  cursor: pointer;
}

/* ===== AJUSTE TAMAÑO DE IMAGEN EN MODAL DE OPCIONES ===== */

#productOptionsModal #modalImage {
  /* Define un tamaño máximo para la imagen */
  max-width: 260px;
  max-height: 260px;

  /* La centramos dentro de su columna */
  display: block;
  margin: 0 auto 1rem;
  /* 0 auto para centrar, 1rem de margen inferior */

  /* Asegura que la imagen completa se vea sin ser recortada */
  object-fit: contain;
}

#productos .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* Imagen del producto */
#productos .product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.7rem;
}

/*Animacion de boton*/
/* ============================================================
   ✨ BOTÓN "VER CATÁLOGO COMPLETO"
   ============================================================ */
/* ============================================================
   ✨ BOTÓN "VER CATÁLOGO COMPLETO"
   ============================================================ */
/* ============================================================
   🖤 BOTÓN "VER CATÁLOGO COMPLETO" — NEGRO CON BRILLO
   ============================================================ */

.btn-catalogo {
  position: relative;
  display: inline-block;
  background: #000;
  /* negro sólido */
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.35s ease;
  overflow: hidden;
}

.btn-catalogo:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* ✨ brillo diagonal */
.btn-catalogo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75px;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% {
    left: -75px;
  }

  50% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

/*CATALOGO*/

/* ===== ESTILOS PARA LA PÁGINA DE CATÁLOGO ===== */

/* Grilla de productos: añade espacio vertical entre filas en móviles */
#productGrid {
  row-gap: 1.5rem;
}

/* Estilo unificado para las tarjetas del catálogo */
#productGrid .product-card {
  border: none;
  border-radius: var(--radius);
  /* Usa tu variable de radio definida */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  /* Importante para que la imagen no se salga del radio */
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

#productGrid .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* La clave para imágenes consistentes y de buen tamaño */
#productGrid .product-card img {
  width: 100%;
  max-height: 150px;
  aspect-ratio: 1 / 1;
  /* Proporción cuadrada perfecta. ¡Ajusta si lo necesitas! (ej. 4/3) */
  object-fit: cover;
  /* Rellena el espacio sin deformar la imagen */
  cursor: pointer;
  /* Indica que la imagen es clickeable */
}

/* Cuerpo de la tarjeta para alinear contenido */
#productGrid .card-body {
  padding: 1rem;
  /* Espaciado interno consistente */
}

#productGrid .card-title {
  font-size: 1rem;
  font-weight: 450;
  /* Un poco más de peso al título */
  margin-bottom: 0.5rem;
}

#productGrid .card-text {
  font-size: 0.9rem;
  color: #e0e0e0bb;
  /* Un gris claro para el precio, en lugar de blanco puro */
}

:root {
  --c-c: #00a7e1;
  --c-m: #d72a86;
  --c-y: #f8bd23;
  --c-k: #0f1723;
  --bg: #fafafa;
  --muted: #6b7280;
  --radius: 12px;
}

/* ============================================================
   ✨ NUEVOS ESTILOS PARA TIENDA/CATÁLOGO (Añadir al final)
   ============================================================ */

/* 1. Estilo para el precio en la tarjeta (reemplaza "Ver Opciones") */
.card-price-tag {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-k);
  /* Color negro principal */
  margin: 0;
  padding: 0.5rem 1rem;
  background-color: rgba(248, 189, 35, 0.2);
  /* Fondo amarillo suave (CMYK-Y) */
  border-radius: 0 0 var(--radius) var(--radius);
}

.product-card:hover .card-price-tag {
  background-color: var(--c-y);
  /* Amarillo sólido al pasar el mouse */
  color: var(--c-k);
}

/* 2. Efecto "Galería" en la imagen de la tarjeta */
.product-card-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Añade un ícono de "múltiples imágenes" */
.product-card-image-wrapper::after {
  content: "🖼️";
  /* Puedes cambiarlo por un ícono de Bootstrap/FontAwesome si prefieres */
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  padding: 2px 6px;
  border-radius: 6px;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.product-card:hover .product-card-image-wrapper::after {
  opacity: 1;
  transform: scale(1.1);
}

/*Sugerencias*/
/* ===== ESTILOS PARA SUGERENCIAS DE BÚSQUEDA ===== */
.suggestion-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  /* Para que se apilen en móviles */
  gap: 0.5rem;
}

.suggestion-tags span {
  font-weight: 500;
  color: var(--muted);
  margin-right: 0.5rem;
}

.suggestion-tag {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 20px;
  /* Píldoras redondeadas */
  padding: 0.3rem 0.8rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.suggestion-tag:hover {
  background-color: var(--c-k);
  /* Tu color negro */
  color: white;
  border-color: var(--c-k);
}

/*Buscador*/

/* ===== Fijar buscador al escribir ===== */
.search-fixed {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  padding: 0.8rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* ===== BUSCADOR MEJORADO ===== */
#productSearch {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  color: var(--text-dark);
  font-size: 1rem;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

#productSearch:focus {
  background: var(--bg-white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  outline: none;
}

#productSearch::placeholder {
  color: var(--text-light);
}

/* ===== Botón Limpiar del buscador ===== */
.clear-btn {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--primary-color);
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.25s ease;
}

.clear-btn:hover {
  color: var(--secondary-color);
  transform: translateY(-50%) scale(1.2);
}

.clear-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Mensaje de no resultados */
#noResultsMessage {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  padding: 40px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  margin: 30px 0;
}

#noResultsMessage h4 {
  color: var(--text-dark);
  font-weight: 600;
}

#noResultsMessage p {
  color: var(--text-light);
}

.btn-pago:hover {
  background: #ffc933;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 600px) {
  .selector-aviso {
    max-width: 90%;
    padding: 12px;
  }

  .selector-aviso h3 {
    font-size: 15px;
  }

  .btn-pago {
    font-size: 13px;
  }
}

/* ============================================================
   📱 AJUSTES RESPONSIVE PARA MÓVILES
   ============================================================ */

/* ===== Ajustes Responsivos para Promo Cards (col-6) ===== */
@media (max-width: 767px) {
  .promo-card h5 {
    font-size: 1rem;
    /* Título más pequeño */
    padding-top: 0.5rem;
  }

  .promo-card img {
    object-fit: contain;
  }

  .promo-card p {
    font-size: 0.9rem;
    /* Párrafo más pequeño */
    padding-bottom: 0.5rem;
  }

  .adquirir-btn {
    font-size: 0.9rem;
    /* Letra del botón más pequeña */
    padding: 0.6rem 1rem;
    /* Botón menos alto (menos padding) */
  }
}

@media (max-width: 576px) {
  /* 🔹 Header (Hero) más bajo en móvil */
  header.hero {
    min-height: 5vh !important;
    /* antes 25vh */
    padding: 1rem 0 !important;
  }

  header.hero h1 {
    font-size: 1.6rem;
    /* reduce tamaño del título */
    margin-bottom: 0.5rem;
  }

  .suggestion-tags .suggestion-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
    margin: 0.2rem;
  }

  /* 🔹 Buscador más pequeño */
  #productSearch {
    padding: 0px;
    font-size: 0.9rem;
    height: auto;
    border-radius: 25px;
  }
}

/* === CORRECCIÓN: imágenes navideñas más altas === */
#productGridNavidad .product-card img {
  max-height: 260px !important; /* 🔧 aumenta la altura */
  aspect-ratio: auto !important; /* 🔧 permite forma libre */
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast; /* mejora contraste y bordes */
  image-rendering: crisp-edges; /* da nitidez a imágenes pequeñas */
  filter: brightness(1.05) contrast(1.05); /* leve aumento de brillo y contraste */
  transform: translateZ(0); /* activa renderizado por GPU */
  transition: transform 0.3s ease, filter 0.3s ease;
}

#productGridNavidad .product-card img:hover {
  filter: brightness(1.1) contrast(1.1);
  transform: scale(1.02);
}

/* ============================================================
   ✨ HERO MODERNO CON CARRUSEL DE PRODUCTOS
   ============================================================ */

.hero-modern {
  width: 100%;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.25), transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(135deg, #1d4ed8 0%, #7c3aed 35%, #db2777 65%, #f59e0b 100%);
  background-size: 300% 300%;
  background-position: 0% 50%;
  animation: sharedGradient 18s ease-in-out infinite;
  padding: 40px 0;
}

body.has-urgency-bar .hero-modern {
  padding-top: 90px;
  padding-bottom: 25px;
}

@media (max-width: 768px) {
  body.has-urgency-bar .hero-modern {
    padding-top: 110px;
    padding-bottom: 20px;
  }
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #00a7e1 25%, 
    #667eea 50%, 
    #f8bd23 75%, 
    transparent 100%);
  animation: colorLineMove 8s linear infinite;
  box-shadow: 0 0 15px rgba(0, 167, 225, 0.5);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.hero-text-section {
  flex: 1;
  color: white;
  animation: fadeInLeft 0.8s ease;
  margin-top: -20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, #00a7e1, #0084d1);
  border: none;
  box-shadow: 0 6px 20px rgba(0, 167, 225, 0.4);
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 167, 225, 0.6);
  background: linear-gradient(135deg, #00c4ff, #0099e6);
}

.hero-buttons .btn-outline-light {
  border: 2px solid white;
  color: white;
  background: transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Carrusel de productos */
.hero-products-section {
  flex: 1;
  animation: fadeInRight 0.8s ease;
}

.hero-carousel-inner {
  border-radius: 20px;
  overflow: hidden;
}

.hero-product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.product-image-hero {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #f5f5f5;
}

.product-image-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-product-card:hover .product-image-hero img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #d72a86, #f093fb);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-badge.badge-promo {
  background: linear-gradient(135deg, #ff6b6b, #ff9999);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.product-info-hero {
  padding: 1.5rem;
  flex: 1;
}

.product-info-hero h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f1723;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.product-info-hero p {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.link-arrow:hover {
  color: #764ba2;
  gap: 0.8rem;
}

.link-arrow.btn-promo {
  background: linear-gradient(135deg, #ff6b6b, #ff9999);
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 50px;
  display: inline-flex;
  font-size: 0.95rem;
}

.link-arrow.btn-promo:hover {
  gap: 0.5rem;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Controles del carrusel */
.carousel-control-prev-hero,
.carousel-control-next-hero {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-control-prev-hero {
  left: -70px;
}

.carousel-control-next-hero {
  right: -70px;
}

.carousel-control-prev-hero:hover,
.carousel-control-next-hero:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

/* Indicadores */
.carousel-indicators-hero {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-indicators-hero button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-indicators-hero button.active {
  background: white;
  width: 30px;
  border-radius: 6px;
}

/* Animaciones */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-modern {
    min-height: 500px;
    padding: 30px 0;
  }

  .hero-content-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.7rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .carousel-control-prev-hero,
  .carousel-control-next-hero {
    position: absolute;
    left: 10px;
    right: auto;
  }

  .carousel-control-next-hero {
    left: auto;
    right: 10px;
  }
}

@media (max-width: 768px) {
  .hero-modern {
    min-height: 450px;
    padding: 20px 0;
  }

  .hero-title {
    font-size: 2.3rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    gap: 1rem;
  }

  .hero-buttons .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }

  .product-image-hero {
    height: 220px;
  }

  .hero-carousel-inner {
    min-height: 340px;
  }

  .hero-carousel-inner .carousel-item {
    height: 100%;
  }

  .product-info-hero h3 {
    font-size: 1.1rem;
  }

  .product-info-hero p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 576px) {
  .hero-modern {
    min-height: 400px;
    padding: 15px 0;
  }

  .hero-content-wrapper {
    gap: 20px;
    padding: 0 15px;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .product-image-hero {
    height: 180px;
  }

  .hero-carousel-inner {
    min-height: 310px;
  }

  .hero-carousel-inner .carousel-item {
    height: 100%;
  }

  .product-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    top: 10px;
    right: 10px;
  }

  .product-info-hero {
    padding: 1rem;
  }

  .product-info-hero h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .product-info-hero p {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  .link-arrow {
    font-size: 0.9rem;
  }

  .carousel-control-prev-hero,
  .carousel-control-next-hero {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .carousel-indicators-hero {
    bottom: 15px;
    gap: 8px;
  }

  .carousel-indicators-hero button {
    width: 10px;
    height: 10px;
  }

  .carousel-indicators-hero button.active {
    width: 25px;
  }
}

/* ============================================================
   ✨ SECCIÓN DE SERVICIOS MODERNA Y ELEGANTE
   ============================================================ */

.services-section {
  position: relative;
  padding: 80px 20px;
  background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.25), transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(135deg, #1d4ed8 0%, #7c3aed 35%, #db2777 65%, #f59e0b 100%);
  background-size: 300% 300%;
  background-position: 100% 50%;
  animation: sharedGradient 18s ease-in-out infinite reverse;
  overflow: hidden;
}

.services-section::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(15, 23, 35, 0.2) 55%, rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}

@keyframes sharedGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 85% 25%, rgba(236, 72, 153, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 20% 85%, rgba(34, 197, 94, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.services-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInDown 0.8s ease;
}

.services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0f1723;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
}

.services-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 8px 20px rgba(15, 23, 35, 0.4);
  background: linear-gradient(135deg, #ffffff, #fef3c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.services-lead {
  max-width: 680px;
  margin: 14px auto 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.services-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.services-actions .btn {
  border-radius: 999px;
  padding: 0.7rem 1.8rem;
  font-weight: 600;
}

.services-actions .btn-success {
  background: linear-gradient(135deg, #25D366, #20ba5a);
  border: none;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25);
}

.services-actions .btn-outline-dark {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  background: rgba(15, 23, 35, 0.2);
}

.services-proof {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.services-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 999px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 35px 30px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(15, 23, 35, 0.18);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #8b5cf6, #ec4899, #f59e0b);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 20px 50px rgba(15, 23, 35, 0.22);
  border-color: rgba(255, 255, 255, 0.8);
}

.service-icon-wrapper {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(236, 72, 153, 0.2));
  color: #1d4ed8;
  transition: all 0.3s ease;
  margin-left: auto;
  margin-right: auto;
}

@keyframes iconBounce {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.service-card:hover .service-icon-wrapper {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(236, 72, 153, 0.35));
  color: #ec4899;
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.3rem;
  color: #0f1723;
  margin-bottom: 0.6rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #7c3aed;
}

.service-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 48px;
}

.service-button-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 0.92rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.service-features i {
  color: #00a7e1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  background: rgba(29, 78, 216, 0.12);
}

.service-link:hover {
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  color: white;
  transform: translateX(5px);
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(3px);
}

/* Animaciones de entrada */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Aplicar animación con delay a cada tarjeta */
.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card:nth-child(4) {
  animation-delay: 0.4s;
}

.service-card:nth-child(5) {
  animation-delay: 0.5s;
}

.service-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Responsive Servicios */
@media (max-width: 768px) {
  .services-section {
    padding: 60px 15px;
  }

  .services-title {
    font-size: 2rem;
  }

  .services-subtitle {
    font-size: 1rem;
  }

  .services-grid {
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }

  .service-card {
    padding: 25px 20px;
  }

  .service-button-wrapper {
    justify-content: center;
  }

  .service-icon-wrapper {
    font-size: 2.2rem;
    width: 60px;
    height: 60px;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .services-section {
    padding: 40px 10px;
  }

  .services-title {
    font-size: 1.6rem;
  }

  .services-subtitle {
    font-size: 0.95rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 100%;
  }

  .service-card {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .service-icon-wrapper {
    font-size: 2rem;
    width: 55px;
    height: 55px;
  }

  .service-card h3 {
    font-size: 1rem;
    text-align: center;
  }

  .service-card p,
  .service-features {
    display: none !important;
  }

  .service-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 120px;
  }
  
  .service-link:hover {
    transform: translateX(0) scale(1.05);
  }
}

/* Soporte mejorado para emojis en iPhone y todos los dispositivos */
body,
.service-link,
.urgency-bar,
.hero-title,
.promo-badge,
button,
a {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Asegurar que los emojis se rendericen correctamente */
.service-link i,
.urgency-item i,
.promo-badge,
.contact-btn i {
  font-style: normal;
  font-variant: normal;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Color Emoji", "Apple Color Emoji", sans-serif;
}

/* ============================================================
   ✨ SECCIÓN DE CONTACTO MODERNA Y ELEGANTE
   ============================================================ */

.contact-section {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  background-size: 300% 300%;
  animation: gradientShift 15s ease infinite;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.contact-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.03) 10px,
      rgba(255, 255, 255, 0.03) 20px
    );
  animation: slideBackground 20s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInDown 0.8s ease;
}

.contact-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.contact-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.contact-card:hover::before {
  left: 100%;
}

.contact-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.contact-card.email-card {
  border-top: 4px solid #00a7e1;
}

.contact-card.whatsapp-card {
  border-top: 4px solid #25d366;
}

.contact-card.phone-card {
  border-top: 4px solid #d72a86;
}

.contact-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.contact-card.email-card .contact-icon {
  background: linear-gradient(135deg, rgba(0, 167, 225, 0.1), rgba(0, 167, 225, 0.2));
  color: #00a7e1;
}

.contact-card.whatsapp-card .contact-icon {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(37, 211, 102, 0.2));
  color: #25d366;
}

.contact-card.phone-card .contact-icon {
  background: linear-gradient(135deg, rgba(215, 42, 134, 0.1), rgba(215, 42, 134, 0.2));
  color: #d72a86;
}

.contact-card h3 {
  font-size: 1.5rem;
  color: #0f1723;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.contact-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card.email-card .contact-btn {
  background: linear-gradient(135deg, #00a7e1, #0084d1);
  color: white;
}

.contact-card.email-card .contact-btn:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 167, 225, 0.4);
  background: linear-gradient(135deg, #00c4ff, #0099e6);
}

.contact-card.whatsapp-card .contact-btn {
  background: linear-gradient(135deg, #25d366, #20ba5a);
  color: white;
}

.contact-card.whatsapp-card .contact-btn:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #2ed573, #25d366);
}

.contact-card.phone-card .contact-btn {
  background: linear-gradient(135deg, #d72a86, #b71f6f);
  color: white;
}

.contact-card.phone-card .contact-btn:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(215, 42, 134, 0.4);
  background: linear-gradient(135deg, #e63a99, #d72a86);
}

/* Modal de Contacto */
.contact-modal {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.contact-modal-header {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  padding: 2rem;
  color: white;
}

.contact-modal-header .modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-modal-body {
  padding: 2rem;
  background: #f9fafb;
}

.contact-input {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  outline: none;
  background: white;
}

.contact-input::placeholder {
  color: #9ca3af;
}

.form-label {
  font-weight: 600;
  color: #0f1723;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-label i {
  color: #667eea;
}

.contact-modal-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.btn-primary-contact {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-primary-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #764ba2, #667eea);
}

/* Animaciones */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Contacto */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 15px;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  .contact-methods {
    gap: 20px;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .contact-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
  }

  .contact-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .contact-section {
    padding: 40px 10px;
  }

  .contact-title {
    font-size: 1.6rem;
  }

  .contact-subtitle {
    font-size: 0.95rem;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 25px 15px;
  }

  .contact-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
  }

  .contact-card h3 {
    font-size: 1.3rem;
  }

  .contact-btn {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* ============================================================
   ✨ SECCIÓN DE UBICACIÓN Y CONFIANZA
   ============================================================ */

.location-trust-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.location-trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    #00a7e1 0%, 
    #667eea 50%, 
    #d72a86 100%);
}

/* Contenedor de foto del equipo */
.team-photo-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.team-photo-container:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, #d72a86 0%, #667eea 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(215, 42, 134, 0.4);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(215, 42, 134, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(215, 42, 134, 0.6);
  }
}

/* Títulos de sección */
.section-mini-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2540;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-mini-title i {
  font-size: 1.5rem;
  color: #d72a86;
}

/* Cards de información */
.info-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: #00a7e1;
}

/* Ubicación */
.location-info .location-type {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #2d3e5f;
  margin-bottom: 10px;
}

.location-info .location-type i {
  color: #00a7e1;
  font-size: 1.2rem;
}

.location-address {
  font-size: 1.1rem;
  color: #1a2540;
  font-weight: 600;
  margin-bottom: 15px;
  padding-left: 32px;
}

.location-visit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0f0 100%);
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #2d3e5f;
}

.location-visit i {
  color: #d72a86;
  font-size: 1.1rem;
}

.btn-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00a7e1 0%, #0088b9 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 167, 225, 0.3);
}

.btn-location:hover {
  background: linear-gradient(135deg, #0088b9 0%, #006a91 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 167, 225, 0.4);
  color: white;
}

/* Horarios */
.schedule-item {
  margin-bottom: 15px;
}

.schedule-days {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #1a2540;
  margin-bottom: 8px;
  font-size: 1rem;
}

.schedule-days i {
  color: #667eea;
  font-size: 1.1rem;
}

.schedule-time {
  font-size: 1.1rem;
  color: #d72a86;
  font-weight: 700;
  padding-left: 32px;
  letter-spacing: 0.5px;
}

.schedule-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
  margin: 20px 0;
}

.contact-cta {
  margin-top: 20px;
  text-align: center;
}

.btn-schedule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-schedule:hover {
  background: linear-gradient(135deg, #128c7e 0%, #0d6e5f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  color: white;
}

.btn-schedule i {
  font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 991px) {
  .location-trust-section {
    padding: 40px 15px;
  }

  .team-photo {
    height: 280px;
    
  }

  .section-mini-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 767px) {
  .team-photo {
    height: 220px;
  }

  .info-card {
    padding: 20px;
  }

  .btn-location,
  .btn-schedule {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   ✨ FOOTER MODERNO CON ANIMACIONES LLAMATIVAS
   ============================================================ */

.footer-modern {
  position: relative;
  background: linear-gradient(135deg, #0f1723 0%, #1a2540 50%, #2d3e5f 100%);
  background-size: 300% 300%;
  animation: gradientShift 20s ease infinite;
  color: white;
  padding: 60px 20px 20px;
  overflow: hidden;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #00a7e1 20%, 
    #667eea 40%, 
    #d72a86 60%, 
    #f8bd23 80%, 
    transparent 100%);
  animation: colorLineMove 12s linear infinite;
  box-shadow: 0 0 20px rgba(0, 167, 225, 0.6);
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(215, 42, 134, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(248, 189, 35, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatDecoration 6s ease-in-out infinite;
}

.footer-decoration:nth-child(1) {
  top: -100px;
  right: -50px;
  animation-delay: 0s;
}

@keyframes floatDecoration {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-30px) translateX(20px);
  }
}

.footer-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.2s both;
}

.footer-section {
  animation: fadeInUp 1s ease;
}

.footer-section:nth-child(2) {
  animation-delay: 0.3s;
}

.footer-section:nth-child(3) {
  animation-delay: 0.4s;
}

.footer-section:nth-child(4) {
  animation-delay: 0.5s;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #00a7e1, #f093fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-title i {
  font-size: 2rem;
  color: #00a7e1;
  -webkit-text-fill-color: unset;
}

.footer-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

.footer-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f8bd23;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #00a7e1, #d72a86);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
}

.footer-links a::before {
  content: '›';
  font-size: 1.2rem;
  color: #00a7e1;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateX(-8px);
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
}

.social-icon:hover::before {
  animation: shine 0.6s ease;
}

.social-icon.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b);
  color: white;
}

.social-icon.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
}

.social-icon.facebook {
  background: linear-gradient(135deg, #1877f2, #0a66c2);
  color: white;
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.footer-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #00a7e1, #d72a86, #f8bd23, transparent);
  margin: 40px 0;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background: linear-gradient(90deg, transparent, #00a7e1, #d72a86, #f8bd23, transparent);
  }
  50% {
    background: linear-gradient(90deg, transparent, #f8bd23, #00a7e1, #d72a86, transparent);
  }
}

.footer-bottom {
  text-align: center;
  animation: fadeInUp 1s ease 0.6s both;
}

.footer-phrase {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-phrase strong {
  background: linear-gradient(135deg, #00a7e1, #f093fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-modern {
    padding: 40px 15px 15px;
  }

  .footer-main {
    gap: 30px;
  }

  .footer-title {
    font-size: 1.3rem;
  }

  .footer-subtitle {
    font-size: 1rem;
  }

  .footer-phrase {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .footer-modern {
    padding: 30px 10px 10px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-title {
    font-size: 1.1rem;
  }

  .footer-description {
    font-size: 0.9rem;
  }

  .footer-subtitle {
    font-size: 0.95rem;
  }

  .footer-phrase {
    font-size: 1rem;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ============================================================
   ✨ CATÁLOGO - HEADER Y ESTÉTICA MODERNA
   ============================================================ */

.catalogo-main {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #eff2f5 100%);
  min-height: 100vh;
  padding-top: 90px;
  position: relative;
  overflow-x: hidden;
}

.catalogo-main::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(0, 167, 225, 0.03) 25%, transparent 50%, rgba(215, 42, 134, 0.03) 75%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.catalogo-main::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    #00a7e1 0%, 
    #667eea 25%, 
    #d72a86 50%, 
    #f8bd23 75%, 
    #00a7e1 100%);
  background-size: 200% 100%;
  animation: colorLineMove 8s linear infinite;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0, 167, 225, 0.5);
}

@keyframes colorLineMove {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.catalogo-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  background-size: 300% 300%;
  animation: gradientShift 15s ease infinite;
  padding: 50px 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.catalogo-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.catalogo-header::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.03) 10px,
      rgba(255, 255, 255, 0.03) 20px
    );
  animation: slideBackground 20s linear infinite;
  pointer-events: none;
}

.catalogo-header-content {
  position: relative;
  z-index: 1;
  animation: fadeInDown 0.8s ease;
}

.catalogo-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.catalogo-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.catalogo-search {
  border: 2px solid #e5e7eb !important;
  background: white !important;
  color: #0f1723 !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
}

.catalogo-search:focus {
  border-color: #667eea !important;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

/* ============================================================
   ✨ SECCIÓN DE PROMOCIONES MODERNA
   ============================================================ */

.promo-section-modern {
  position: relative;
  padding: 25px 20px;
  background: linear-gradient(135deg, #0f1723 0%, #1a2742 50%, #0d1527 100%);
  overflow: hidden;
  scroll-margin-top: 80px;
}

.promo-section-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(248, 189, 35, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.promo-section-modern::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #00a7e1 20%, 
    #d72a86 40%, 
    #f8bd23 60%, 
    #667eea 80%, 
    transparent 100%);
  animation: colorLineMove 10s linear infinite;
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

.promo-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.promo-header {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInDown 0.8s ease;
}

.promo-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00a7e1, #f8bd23);
  color: #0f1723;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(0, 167, 225, 0.25);
}

.promo-free-badge i {
  font-size: 1rem;
}

.promo-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00a7e1, #f8bd23);
  color: #0f1723;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(0, 167, 225, 0.25);
}

.promo-free-badge i {
  font-size: 1rem;
}

.promo-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.promo-title i {
  color: #ff6b6b;
  animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.promo-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.promo-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.promo-carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto 18px;
}

.promo-carousel .carousel-inner {
  padding-bottom: 6px;
}

.promo-carousel .carousel-control-prev,
.promo-carousel .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(15, 23, 35, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.promo-carousel .carousel-control-prev {
  left: -18px;
}

.promo-carousel .carousel-control-next {
  right: -18px;
}

.promo-carousel .carousel-control-prev-icon,
.promo-carousel .carousel-control-next-icon {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.promo-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}

.promo-thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.promo-thumb img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.promo-thumb.active {
  border-color: #ff6b6b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.25);
}

.promo-free-design {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 167, 225, 0.12);
  color: #00a7e1;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Móvil: 2 columnas */
@media (max-width: 768px) {
  .promo-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-carousel {
    max-width: 520px;
  }

  .promo-carousel .carousel-control-prev,
  .promo-carousel .carousel-control-next {
    width: 36px;
    height: 36px;
  }

  .promo-carousel .carousel-control-prev {
    left: -8px;
  }

  .promo-carousel .carousel-control-next {
    right: -8px;
  }

  .promo-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .promo-thumb img {
    height: 50px;
r {
  padding-bottom: 6px;
}

.promo-carousel .carousel-control-prev,
.promo-carousel .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(15, 23, 35, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.promo-carousel .carousel-control-prev {
  left: -18px;
}

.promo-carousel .carousel-control-next {
  right: -18px;
}

.promo-carousel .carousel-control-prev-icon,
.promo-carousel .carousel-control-next-icon {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.promo-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}

.promo-thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.promo-thumb img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.promo-thumb.active {
  border-color: #ff6b6b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.25);
}

.promo-free-design {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 167, 225, 0.12);
  color: #00a7e1;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Móvil: 2 columnas */
@media (max-width: 768px) {
  .promo-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-carousel {
    max-width: 520px;
  }

  .promo-carousel .carousel-control-prev,
  .promo-carousel .carousel-control-next {
    width: 36px;
    height: 36px;
  }

  .promo-carousel .carousel-control-prev {
    left: -8px;
  }

  .promo-carousel .carousel-control-next {
    right: -8px;
  }

  .promo-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .promo-thumb img {
    height: 50px;
  }
}

.promo-card-modern {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  animation: fadeInUp 0.8s ease;
  border: 2px solid rgba(0, 167, 225, 0.2);
}

.promo-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 167, 225, 0.25);
  border-color: rgba(0, 167, 225, 0.5);
}

.promo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ff6b6b, #ff9999);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 10;
  animation: badgePulseIcon 2s ease-in-out infinite;
}

@keyframes badgePulseIcon {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.promo-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
}

.promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.promo-card-modern:hover .promo-image img {
  transform: scale(1.08);
}

.promo-content {
  padding: 20px;
}

.promo-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f1723;
  margin-bottom: 0.5rem;
}

.promo-desc {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.8rem;
}



.promo-price-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.promo-price-original {
  font-size: 0.95rem;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 600;
}



.promo-price-container  {
  margin-bottom: 0;
  color: green !important;
}

.promo-buttons {
  display: flex;
  gap: 0.8rem;
}

.promo-btn {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.promo-btn.primary {
  background: linear-gradient(135deg, #00a7e1, #0084d1);
  color: white;
}

.promo-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 167, 225, 0.4);
}

.promo-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #20ba5a);
  color: white;
  flex: 0 1 auto;
}

.promo-btn.whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Responsive Promociones */
@media (max-width: 768px) {
  .catalogo-title {
    font-size: 2rem;
  }

  .promo-title {
    font-size: 2rem;
  }

  .promo-grid-modern {
    gap: 18px;
  }
}

@media (max-width: 576px) {
  .catalogo-header {
    padding: 30px 15px;
  }

  .catalogo-title {
    font-size: 1.6rem;
  }

  .promo-title {
    font-size: 1.6rem;
    gap: 0.5rem;
  }

  .promo-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .promo-card-modern {
    border-radius: 12px;
  }

  .promo-image {
    height: 150px;
  }

  .promo-content {
    padding: 15px;
  }

  .promo-content h3 {
    font-size: 1rem;
  }

  .promo-desc {
    font-size: 0.85rem;
  }

  .promo-price {
    font-size: 1.2rem;
  }

  .promo-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* ============================================================
   ✨ ANIMACIONES DE FONDO - LÍNEAS Y DEGRADADOS
   ============================================================ */

@keyframes slideBackground {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50%, 50%);
  }
}

@keyframes floatElement {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.2;
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Elementos decorativos flotantes en el catálogo */
.catalogo-decoration {
  position: fixed;
  z-index: 0;
  pointer-events: none;
}

.deco-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 167, 225, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: 5%;
  right: -10%;
  animation: floatElement 12s ease-in-out infinite;
}

.deco-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(215, 42, 134, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 10%;
  left: -5%;
  animation: floatElement 15s ease-in-out infinite 2s;
}

.deco-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(248, 189, 35, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 10%;
  animation: floatElement 18s ease-in-out infinite 4s;
}

/* Decoraciones de la sección de servicios */
.services-decoration {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

.deco-left {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 167, 225, 0.08) 0%, transparent 70%);
  top: 10%;
  left: -5%;
  animation: floatElement 16s ease-in-out infinite;
}

.deco-right {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(215, 42, 134, 0.08) 0%, transparent 70%);
  bottom: 5%;
  right: -3%;
  animation: floatElement 14s ease-in-out infinite 3s;
}

/* ===============================================
   📅 MODAL DE AGENDAMIENTO DE CITAS
   =============================================== */

/* ===============================================
   📅 MODAL DE AGENDAMIENTO DE CITAS
   =============================================== */

.modal-cita {
  position: fixed !important;
  top: -9999px !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(5px) !important;
  z-index: 9999 !important;
  overflow-y: auto !important;
  padding: 20px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: all 0.3s ease !important;
  display: none !important;
}

.modal-cita.activo {
  top: 0 !important;
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  align-items: center !important;
  justify-content: center !important;
}

.modal-cita-content {
  background: white;
  border-radius: 20px;
  max-width: 550px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.4s ease-out;
  position: relative;
  margin: auto;
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-cita-header {
  background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
  color: white;
  padding: 25px 30px;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-cita-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-cita-header h3 i {
  font-size: 1.8rem;
}

.modal-cita-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.modal-cita-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-cita-body {
  padding: 30px;
}

.form-group-cita {
  margin-bottom: 20px;
}

.form-group-cita label {
  display: block;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group-cita label i {
  color: #e91e63;
  font-size: 1.1rem;
}

.form-group-cita input,
.form-group-cita select,
.form-group-cita textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group-cita input:focus,
.form-group-cita select:focus,
.form-group-cita textarea:focus {
  outline: none;
  border-color: #e91e63;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-group-cita textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group-cita small {
  display: block;
  margin-top: 5px;
  font-size: 0.85rem;
  color: #718096;
}

.aviso-horario {
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f7fafc;
  display: inline-block;
  margin-top: 8px;
}

.btn-enviar-cita {
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 25px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-enviar-cita:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-enviar-cita i {
  font-size: 1.3rem;
}

/* Responsive para modal */
@media (max-width: 768px) {
  .modal-cita {
    padding: 10px;
  }

  .modal-cita-content {
    max-width: 100%;
  }

  .modal-cita-header {
    padding: 20px;
  }

  .modal-cita-header h3 {
    font-size: 1.3rem;
  }

  .modal-cita-body {
    padding: 20px;
  }

  .form-group-cita input,
  .form-group-cita select,
  .form-group-cita textarea {
    padding: 10px 12px;
  }

  .btn-enviar-cita {
    padding: 12px 15px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .modal-cita-header h3 {
    font-size: 1.1rem;
  }

  .modal-cita-header h3 i {
    font-size: 1.5rem;
  }

  .modal-cita-close {
    width: 35px;
    height: 35px;
  }
}
/* ============================================================
   ✨ GARANTÍA FINAL: ASEGURAR QUE EL MODAL ESTÉ OCULTO
   ============================================================ */
#modalAgendarCita {
  position: fixed !important;
  top: -9999px !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
  z-index: 9999 !important;
}

#modalAgendarCita.activo {
  top: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}