/* Centrar elementos del header */



:root {
  --primary: rgb(11, 163, 173);
  --primary-dark: rgb(8, 130, 138);
  --primary-light: rgba(11, 163, 173, 0.1);
  --secondary: #f43f5e;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --light-gray: #e2e8f0;
}

/* Estilos base */
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Header */

/* Logo como texto */

.cita {
  color: var(--primary);
}

/* Enlaces desktop */

/* Menú móvil */

/* Menú móvil estilo deslizable */

/* Elimina los estilos antiguos del menú móvil */

/* Hero Section */
.hero {
  position: relative;
  height: 60vh;
  min-height: 540px;
  max-height: 600px;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.5) 100%);
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;
  text-align: center;
  color: white;
  z-index: 3;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Search Components */

.search-input-container {
  display: flex;
  margin-bottom: 1rem;
}

.search-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: background 0.3s;
}

.search-button:hover {
  background: var(--primary-dark);
}

.quick-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.category-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.category-tag:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Video States */
.active-video {
  opacity: 1;
  z-index: 2;
}

.hidden-video {
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

/* Sections */

.professionals {
  padding: 4rem 0;
}

.professionals {
  background: var(--light);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Cards */

/* Footer */
.main-footer {
  background: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  color: white;
  font-size: 1.25rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
}

/* Responsive */

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero {
    height: 70vh;
    min-height: 500px;
  }
}

/* Mobile Menu */

/* Añadir al final de tu main.css */

/* Transición suave para el menú */

/* Form Section Styles */

/* Auth Form Styles */

/* Button Styles */

/* Message Styles */

/* Auth Link Styles */

/* Responsive Adjustments */

/* Ajustes para el menú móvil */

/* Users Management Styles */

/* Responsive table */

/* Search box styles */
.search-box {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-button {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-button:hover {
  background: var(--primary-dark);
}

/* Table header links for sorting */

/* Pagination styles */

/* Edit User Page Styles */

/* Estilos para el filtro */

/* Estilos para estados */

/* Estilos para el filtro */

/* Botón de restaurar */

/* Business Management Styles */

/* Responsive table adjustments */

/* Estilos para los iconos de descarga de apps moviles */
.download-badges {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 15px;
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Badge App Store */
.apple-badge {
  background: #000;
  color: #fff;
}

.badge-icon {
  font-size: 22px;
  margin-right: 8px;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.badge-text span:first-child {
  font-size: 9px;
  margin-bottom: 1px;
  opacity: 0.9;
}

.badge-text span:last-child {
  font-size: 15px;
  letter-spacing: 0.3px;
}

/* Botón menú móvil corregido */

/* Mostrar solo en móviles */

.slider-item {
  color: inherit;
  text-decoration: none;
  display: block;
}

.slider-item:visited {
  color: inherit;
}

.slider-item:hover {
  text-decoration: none;
}

/* Evita heredar color blanco del hero y que el texto “desaparezca” */
#search-results {
  color: #111827;
  /* gris muy oscuro */
}

/* Layout del resultado: imagen + texto + chevron */

/* Iconos específicos */

/* Contenedor del buscador - Versión mejorada con más contraste */
.search-input-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 1rem auto 0;
  border-radius: 50px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background-color: white;
  display: flex;
  z-index: 1000;
  border: 1px solid #e0e0e0;
}

/* Input con mejor contraste */
#search-box {
  flex: 1;
  padding: 16px 24px;
  border: none;
  font-size: 16px;
  outline: none;
  border-radius: 50px 0 0 50px;
  color: #333;
  background-color: white;
}

/* Botón con más contraste */
.search-button {
  background: linear-gradient(135deg, #008c94, #006a70);
  color: white;
  border: none;
  padding: 0 24px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 0 50px 50px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-button:hover {
  background: linear-gradient(135deg, #008c94, #00b0b9);
}

/* Resultados con mejor contraste */
.search-results-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1100;
  /* Mayor z-index para que aparezca sobre todo */
  max-height: 400px;
  overflow-y: auto;
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  transition: all 0.25s ease-out;
  display: block;
  border: 1px solid #e0e0e0;
}

/* Cada resultado individual mejorado */

/* Miniatura mejorada */

/* Estilos para móvil */
@media (max-width: 768px) {
  .search-input-container {
    max-width: 90%;
    margin: 1rem auto 0;
  }

  #search-box {
    padding: 14px 20px;
    font-size: 15px;
  }

  .search-button {
    padding: 0 18px;
  }

  .search-results-box {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    border-radius: 0 0 16px 16px;
  }
}

/* Textos con más contraste */

/* Asegurar que aparece sobre la sección blanca */
main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 2;
}


.featured-slider-section {
  padding: 0px 20px;
  padding-bottom: 50px;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 24px;
  margin-bottom: 16px;
  text-align: left;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;

  /* Oculta barra de scroll */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}

.slider-track::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.slider-item {
  min-width: 250px;
  max-width: 250px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 16px;
  flex-shrink: 0;
  text-align: center;
  position: relative;
  /* para .rating-badge */
}

.slider-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.slider-item h3 {
  font-size: 18px;
  margin: 10px 0 4px;
}

.slider-item p {
  font-size: 14px;
  color: #666;
}

.rating-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #fefefe;
  color: #00b0b9;
  font-weight: bold;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  font-size: 24px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

/* intro_section.css - Versión Mejorada */
.zencita-intro-section {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #f9f9f9 0%, #ffffff 100%);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.intro-box {
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

.intro-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.intro-client {
  background: linear-gradient(135deg, #e0f7f9 0%, #f0fdff 100%);
  border-left: 5px solid #00b0b9;
}

.intro-business {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  border-left: 5px solid #222;
}

.intro-content {
  display: flex;
  gap: 30px;
  align-items: center;
  height: 100%;
}

.intro-text {
  flex: 1;
  position: relative;
  z-index: 2;
}

.intro-text h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #222;
  font-weight: 700;
  line-height: 1.3;
}

.intro-text p {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.intro-button {
  display: inline-block;
  background: #00b0b9;
  color: white;
  padding: 14px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 176, 185, 0.2);
}

.intro-button:hover {
  background: #008c94;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 176, 185, 0.3);
}

.intro-button.secondary {
  background: #222;
  color: white;
  border: 2px solid #222;
}

.intro-button.secondary:hover {
  background: #333;
  border-color: #333;
}

.intro-image {
  position: relative;
  z-index: 1;
}

.intro-image img {
  width: 180px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.intro-box:hover .intro-image img {
  transform: scale(1.05);
}

/* Badge de app */
.app-badge {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 13px;
  font-weight: 600;
  color: #00b0b9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Efectos decorativos */
.intro-box::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  z-index: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .intro-box {
    padding: 40px 30px;
  }

  .intro-content {
    flex-direction: column;
    text-align: center;
  }

  .intro-text {
    margin-bottom: 30px;
  }

  .intro-image img {
    width: 140px;
  }
}

/* Estilos para el modal de autenticación unificada */

/* Estilos para la búsqueda en vivo */
.search-input-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 1rem auto 0;
  border-radius: 50px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background-color: white;
  display: flex;
  z-index: 1000;
  border: 1px solid #e0e0e0;
}

.search-input-container.active {
  z-index: 1001;
}

/* Input con mejor contraste */
#search-box {
  flex: 1;
  padding: 16px 24px;
  border: none;
  font-size: 16px;
  outline: none;
  border-radius: 50px 0 0 50px;
  color: #333;
  background-color: white;
}

/* Botón con más contraste */
.search-button {
  background: linear-gradient(135deg, #008c94, #006a70);
  color: white;
  border: none;
  padding: 0 24px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 0 50px 50px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-button:hover {
  background: linear-gradient(135deg, #008c94, #00b0b9);
}

/* Resultados con mejor contraste */
.search-results-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1100;
  max-height: 400px;
  overflow-y: auto;
  transform-origin: top;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease-out;
  display: block;
  border: 1px solid #e0e0e0;
}

.search-input-container.active .search-results-box {
  opacity: 1;
  visibility: visible;
  transform: scaleY(1);
}

/* Cada resultado individual mejorado */
.result-item {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background-color 0.2s;
  color: #111827;
  text-decoration: none;
}

.result-item:hover {
  background-color: #f8f9fa;
}

.result-item:last-child {
  border-bottom: none;
}

/* Miniatura mejorada */
.result-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e0e0e0;
}

.result-info {
  flex: 1;
  min-width: 0;
}

.result-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.3;
}

.result-sub {
  color: #666;
  font-size: 13px;
  margin-bottom: 4px;
  line-height: 1.3;
}

.result-desc {
  color: #888;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}

.result-rating {
  color: #ffc107;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 600;
}

.result-cta {
  color: #ccc;
  font-size: 14px;
  flex-shrink: 0;
}

/* Estilos para estado vacío */
.ls-empty {
  text-align: center;
  padding: 30px 20px;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}

.ls-empty:hover {
  background-color: #f8f9fa;
}

.ls-empty-icon {
  color: #ccc;
  margin-bottom: 12px;
}

.ls-empty-title {
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
  font-size: 16px;
}

.ls-empty-sub {
  color: #888;
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.ls-empty-sub em {
  font-style: italic;
  color: #555;
}

.ls-empty-cta {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
}

.ls-empty-cta:hover {
  background: #0056b3;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Textos con más contraste */
#search-results {
  color: #111827;
}

/* Estilos para móvil */
@media (max-width: 768px) {
  .search-input-container {
    max-width: 90%;
    margin: 1rem auto 0;
  }

  #search-box {
    padding: 14px 20px;
    font-size: 15px;
  }

  .search-button {
    padding: 0 18px;
  }

  .search-results-box {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    border-radius: 0 0 16px 16px;
  }

  .search-input-container.active .search-results-box {
    transform: translateX(-50%) scaleY(1);
  }

  .result-item {
    padding: 14px 16px;
    gap: 12px;
  }

  .result-thumb {
    width: 50px;
    height: 50px;
  }

  .result-title {
    font-size: 14px;
  }

  .result-sub,
  .result-desc {
    font-size: 12px;
  }
}

/* Asegurar que aparece sobre la sección blanca */
main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 2;
}

/* Estilos para los tags de categoría como enlaces */
.quick-categories a.category-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  display: inline-block;
}

.quick-categories a.category-tag:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

/* ===== MEJORAS PARA EL SLIDER ===== */

.featured-slider-section {
  max-width: 1200px;
  margin: auto;
  position: relative;
  overflow: hidden;
  /* ✅ NUEVO: Evita que los items se muestren más allá de los 1200px */
}

.section-title {
  font-size: 28px;
  margin-bottom: 24px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.location-badge {
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 500;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 40px;
  /* Espacio para los botones */
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 10px 5px 20px;
  /* Espacio para sombras y scroll */
  scroll-behavior: smooth;

  /* Mejor scroll en navegadores que lo soportan */
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.slider-track::-webkit-scrollbar {
  height: 6px;
}

.slider-track::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.slider-track::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.slider-track::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.slider-item {
  min-width: 280px;
  max-width: 280px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
  flex-shrink: 0;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  display: block;
}

.slider-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: inherit;
}

.business-logo-container {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.business-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.slider-item:hover .business-logo {
  transform: scale(1.05);
}

.slider-item h3 {
  font-size: 18px;
  margin: 12px 0 6px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}

.slider-item p {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
  line-height: 1.4;
}

.rating-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.slider-btn:hover:not(:disabled) {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.slider-btn:disabled:hover {
  background: white;
  color: var(--dark);
  transform: translateY(-50%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Indicadores de progreso (opcional) */
.slider-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--light-gray);
  transition: all 0.3s ease;
  cursor: pointer;
}

.progress-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Estados de carga */
.slider-item.loading {
  position: relative;
  overflow: hidden;
}

.slider-item.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .featured-slider-section {
    padding: 40px 15px;
  }

  .slider-wrapper {
    padding: 0 35px;
  }

  .slider-item {
    min-width: 260px;
    max-width: 260px;
    padding: 16px;
  }

  .slider-btn {
    width: 42px;
    height: 42px;
  }

  .section-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .slider-wrapper {
    padding: 0 30px;
  }

  .slider-item {
    min-width: 240px;
    max-width: 240px;
  }

  .business-logo-container {
    height: 140px;
  }
}

/* Mejoras específicas para el slider */
.slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 50px;
  /* Espacio suficiente para los botones */
}

.slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 10px 5px 20px;
  will-change: transform;
}

.slider-item {
  flex: 0 0 auto;
  min-width: 313px;
  max-width: 313px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 16px;
  transition: all 0.3s ease;
}

/* Botones del slider mejorados */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.slider-btn:hover:not(:disabled) {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.slider-btn:disabled:hover {
  background: white;
  color: #333;
  transform: translateY(-50%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

/* Indicadores visuales para debugging */
.slider-debug {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  display: none;
  /* Cambiar a 'block' para debugging */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slider-wrapper {
    padding: 0 40px;
  }

  .slider-btn {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .slider-item {
    min-width: 220px;
    max-width: 220px;
  }
}

@media (max-width: 480px) {
  .slider-wrapper {
    padding: 0 35px;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .slider-item {
    min-width: 200px;
    max-width: 200px;
  }
}

/* Splide Slider Styles */
.splide-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

#professionals-slider {
  height: auto !important;
  min-height: 300px;
  /* Altura mínima razonable */
}

.splide__track {
  height: auto !important;
  overflow: visible !important;
}

.splide__list {
  height: auto !important;
  align-items: stretch !important;
}

.splide__slide {
  height: auto !important;
  display: flex !important;
}

/* Asegurar que los items del slider tengan altura consistente */
.slider-item {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 280px;
  /* Altura mínima para los items */
}

/* Contenedor del logo con altura fija */
.business-logo-container {
  min-height: 270px !important;
  max-height: 270px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: var(--white) !important;
  margin-bottom: 1rem !important;
}

.business-logo {
  /* max-height: 140px !important; */
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Contenido de texto con altura flexible */
.slider-item h3 {
  font-size: 1.1rem !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.3 !important;
  min-height: 2.6rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.slider-item p {
  max-height: 50px;
  display: grid;
  align-items: end;
  height: 100%;
  font-size: 0.9rem !important;
  color: var(--gray) !important;
  line-height: 1.4 !important;
  margin-bottom: 0.5rem !important;
  flex-grow: 1 !important;
}

/* Rating badge */
.rating-badge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 10 !important;
}

/* Flechas de navegación */
.splide__arrows {
  position: absolute !important;
  top: 50% !important;
  width: 100% !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;
}

.splide__arrow {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid var(--light-gray) !important;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.304) !important;
}

.splide__arrow:hover {
  background: var(--white) !important;
}

/* Paginación */
.splide__pagination {
  display: none !important;
  /* ✅ Oculta completamente la paginación */
}

.splide__pagination__page {
  background: var(--light-gray) !important;
  opacity: 0.7 !important;
}

.splide__pagination__page.is-active {
  background: var(--primary) !important;
  opacity: 1 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .business-logo-container {
    height: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
  }

  .business-logo {
    max-height: 110px !important;
  }

  .slider-item {
    min-height: 250px !important;
  }
}


/* Estilos temporales para controlar la altura del splide */
.splide-wrapper {
  height: auto !important;
  min-height: 320px !important;
}

#professionals-slider.splide {
  height: auto !important;
  min-height: 300px !important;
}

.splide__track {
  height: auto !important;
  min-height: 280px !important;
}

.splide__list {
  height: auto !important;
  min-height: 280px !important;
}

.splide__slide {
  height: auto !important;
  min-height: 280px !important;
}

.slider-item {
  height: 100% !important;
  min-height: 280px !important;
  display: flex !important;
  flex-direction: column !important;
}


/* Reset de estilos de altura de Splide */
.splide:not(.is-overflow) .splide__list {
  justify-content: flex-start !important;
}

.splide__slide {
  box-sizing: border-box !important;
}

/* Forzar altura consistente en todos los slides */
.splide__slide>* {
  height: 100% !important;
}

/* Añade esto al final de tu index.css */
.splide__slide {
  width: auto !important;
  min-width: 280px !important;
  max-width: 320px !important;
}

/* Para pantallas más pequeñas */
@media (max-width: 1024px) {
  .splide__slide {
    min-width: 250px !important;
    max-width: 280px !important;
  }
}

@media (max-width: 768px) {
  .splide__slide {
    min-width: 220px !important;
    max-width: 250px !important;
  }
}