       /* 
ESTILOS COMPLETOS PARA PLANTILLA DE CITAS
===============================================================
👨‍💻 Solo cambia LOS COLORES  para personalizar tu sistema web.
🚫 No toques nada más para evitar que algo se desconfigure.
*/
       :root {
            --color-primario: #1a1a1a; /* Color principal: se usa en encabezados, descripciones, algunos botones, títulos importantes y fondo de pie de pagina */
            --color-secundario: #d4af37;   /* Color secundario: usado en iconos, adornos de titulo, precios y algunos botones */
            --color-texto: #333;  /* Color para el texto mas chico */
            --color-fondo: #f9f9f9;  /* Color para el fondo de la pagina, fondo de formulario, tarjetas de servicios y algunos titulos */
        }
 /* 🚫 Recuerda: No cambies nada fuera de esta sección para que todo siga funcionando bien. */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--color-fondo);
            color: var(--color-texto);
            line-height: 1.6;
        }

        header {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            padding: 0 20px;
        }

        .logo {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            border: 3px solid var(--color-secundario);
            margin-bottom: 30px;
            object-fit: cover;
        }

        h1 {
            font-size: 3rem;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 3px;
        }

        .tagline {
            font-size: 1.5rem;
            margin-bottom: 30px;
            font-weight: 300;
        }

        .btn {
            display: inline-block;
            background: var(--color-secundario);
            color: var(--color-primario);
            padding: 12px 30px;
            border: none;
            border-radius: 5px;
            font-size: 1.1rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s;
            text-decoration: none;
            cursor: pointer;
        }

        .btn:hover {
            background: white;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        section {
            padding: 80px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 50px;
            color: var(--color-primario);
            position: relative;
        }

        h2::after {
            content: '';
            display: block;
            width: 100px;
            height: 3px;
            background: var(--color-secundario);
            margin: 15px auto;
        }

        .servicios-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .servicio-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s;
            cursor: pointer;
        }

        .servicio-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .servicio-imagen {
            height: 200px;
            overflow: hidden;
        }

        .servicio-imagen img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .servicio-card:hover .servicio-imagen img {
            transform: scale(1.1);
        }

        .servicio-contenido {
            padding: 20px;
            position: relative;
        }

        .servicio-titulo {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: var(--color-primario);
        }

        .servicio-precio {
            font-size: 1.3rem;
            color: var(--color-secundario);
            font-weight: bold;
            margin-bottom: 15px;
        }

        .servicio-descripcion {
            margin-bottom: 15px;
            color: #666;
        }


        .servicio-detalles ul {
            list-style-type: none;
        }

        .servicio-detalles li {
            margin-bottom: 8px;
            position: relative;
            padding-left: 20px;
        }

        .servicio-detalles li::before {
            content: '✓';
            color: var(--color-secundario);
            position: absolute;
            left: 0;
        }


        .btn-saber-mas:hover {
            background: var(--color-primario);
            color: white;
        }

        #citas {
            background-color: #f1f1f1;
        }

        .form-cita {
            max-width: 600px;
            margin: 0 auto;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--color-primario);
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            transition: all 0.3s;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--color-secundario);
            outline: none;
        }

        .hora-ocupada {
            color: #ccc;
            text-decoration: line-through;
            cursor: not-allowed;
        }

        .mapa-container {
            height: 400px;
            margin-top: 30px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .mapa-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .contacto {
            background: var(--color-primario);
            color: white;
            text-align: center;
        }

        .contacto h2 {
            color: white;
        }

        .contacto h2::after {
            background: var(--color-secundario);
        }

        .info-contacto {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .info-item {
            margin-bottom: 20px;
        }

        .info-item i {
            font-size: 2rem;
            color: var(--color-secundario);
            margin-bottom: 15px;
        }

        .info-item h3 {
            font-size: 1.3rem;
            margin-bottom: 10px;
        }

        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background-color: #25D366;
            color: white;
            border-radius: 50%;
            text-align: center;
            font-size: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
            background-color: #128C7E;
        }

        footer {
            background: #111;
            color: #aaa;
            text-align: center;
            padding: 20px;
            font-size: 0.9rem;
        }

        @media (max-width: 768px) {
            h1 {
                font-size: 2rem;
            }
            
            .tagline {
                font-size: 1.2rem;
            }
            
            section {
                padding: 50px 20px;
            }
            
            .whatsapp-float {
                width: 50px;
                height: 50px;
                font-size: 25px;
                bottom: 20px;
                right: 20px;
            }
        }

/* Estilos para las tarjetas de servicios dinámicas */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  
  .servicio-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .servicio-card:hover {
    transform: translateY(-5px);
  }
  
  .servicio-imagen img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .servicio-contenido {
    padding: 15px;
    background: #fff;
  }
  

  /* Estilos para horas ocupadas */
  .hora-ocupada {
    color: #999;
    text-decoration: line-through;
  }

  /* Estados de carga mejorados */
.loading-state {
    position: relative;
    color: transparent !important;
  }
  
  .loading-state::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: var(--color-secundario);
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }
  
  /* Select de hora durante carga */
  #hora[disabled] {
    background-color: #f8f8f8;
    color: #999;
    cursor: wait;
  }
  
  /* Botón durante envío */
  .btn--loading .fa-spinner {
    margin-right: 8px;
    animation: spin 1s linear infinite;
  }
  
  /* Mensaje de carga para select */
  .loading-message {
    color: #666;
    font-style: italic;
  }
  
  /* Transiciones suaves */
  #hora, #servicio, .btn {
    transition: all 0.3s ease;
  }

  /* Estados de carga mejorados */
.loading {
    position: relative;
    color: transparent !important;
  }
  
  .loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: var(--color-secundario);
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }
  
  /* Botón durante envío */
  .btn--loading {
    position: relative;
    opacity: 0.8;
  }
  
  .btn--loading .fa-spinner {
    margin-right: 8px;
  }
  
  /* Select durante carga */
  #hora[disabled] {
    background-color: #f8f8f8;
    cursor: wait;
  }
  
  /* Transiciones suaves */
  select, button {
    transition: all 0.3s ease;
  }
  
  /* Mensajes de estado */
  option[disabled] {
    color: #666;
    font-style: italic;
  }
  
  .hora-ocupada {
    color: #999;
    text-decoration: line-through;
  }

/* Mejora visual para horarios ocupados */
.hora-ocupada {
  color: #dc3545 !important;
  font-style: italic;
}

/* Loading states */
select.loading {
  opacity: 0.7;
  background-color: #f8f9fa;
}

.btn--loading {
  opacity: 0.7;
  pointer-events: none;
}
.info-horarios {
  margin-top: 10px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 5px;
  font-size: 14px;
  border-left: 4px solid #007bff;
}

.hora-ocupada {
  color: #dc3545 !important;
  font-style: italic;
}

option[title] {
  position: relative;
}

option[title]:hover::after {
  content: attr(title);
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  border: 1px solid #ccc;
  padding: 5px;
  z-index: 1000;
  width: 200px;
}
/* Estilos para select de hora */
#hora.loading {
  opacity: 0.7;
  background-color: #f8f9fa;
}

.hora-ocupada {
  color: #6c757d !important;
  background-color: #f8f9fa !important;
}

/* Indicador visual de carga */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.loading {
  animation: pulse 1.5s infinite;
}
/* Estilos para horarios ocupados */
.hora-ocupada {
  color: #dc3545 !important;
  background-color: #fff5f5 !important;
  text-decoration: line-through;
}

/* Estilos para horarios disponibles */
#hora option:not(.hora-ocupada) {
  color: #198754;
  font-weight: 500;
}




/* ESTILOS DEL CARRUSEL */
.servicios-carrusel {
  position: relative;
  margin: 40px auto;
  overflow: hidden;
  padding: 10px;
}

.carrusel-contenedor {
  display: flex;
  transition: transform 0.5s ease;
  margin: 0 -15px;
}

.servicio-slide {
  min-width: 100%;
  padding: 0 15px;
  box-sizing: border-box;

}

/* Controles del carrusel */
.carrusel-controls {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 15px;
}

.carrusel-btn {
  background: var(--color-primario);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 18px;
}

.carrusel-btn:hover:not(:disabled) {
  background: var(--color-secundario);
  transform: scale(1.1);
}

.carrusel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carrusel-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--color-primario);
  transform: scale(1.2);
}

/* Indicadores de navegación */
.carrusel-info {
  text-align: center;
  margin-top: 15px;
  color: #666;
  font-size: 14px;
}

/* Responsive */
@media (min-width: 768px) {
  .servicio-slide {
    min-width: 50%;
  }
}

@media (min-width: 1024px) {
  .servicio-slide {
    min-width: 33.333%;
  }
}

@media (max-width: 767px) {
  .carrusel-btn {
    width: 40px;
    height: 40px;
  }
}

/* Asegurar que las tarjetas se vean bien */
.servicio-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.servicio-contenido {
  flex: 1;
  padding: 20px;
}

.servicio-detalles {
  display: none;
  padding: 20px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
}

.servicio-card.active .servicio-detalles {
  display: block;
}

/* Botón Saber Más */
.btn-saber-mas {
  background: var(--color-primario);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 15px;
  width: 100%;
}

.btn-saber-mas:hover {
  background: var(--color-secundario);
  transform: translateY(-2px);
}

/* ========================================================================== */
/* CORRECCIONES PARA BOTONES SABER MÁS - AGREGAR AL FINAL */
/* ========================================================================== */

/* Forzar los estilos correctos para los botones */
#servicios .btn-saber-mas {
  background: var(--color-primario) !important;
  color: white !important;
  border: none !important;
  padding: 12px 20px !important;
  border-radius: 25px !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  margin-top: 15px !important;
  width: 100% !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

#servicios .btn-saber-mas:hover {
  background: var(--color-secundario) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

/* Asegurar que los detalles se muestren correctamente */
#servicios .servicio-detalles {
  display: none !important;
  padding: 20px !important;
  background: #f8f9fa !important;
  border-top: 1px solid #eee !important;
}

#servicios .servicio-card.active .servicio-detalles {
  display: block !important;
}

/* Estilos para los íconos */
#servicios .btn-saber-mas i {
  font-size: 16px !important;
  transition: transform 0.3s ease !important;
}

#servicios .servicio-card.active .btn-saber-mas i {
  transform: rotate(180deg) !important;
}

/* Responsive para botones */
@media (max-width: 768px) {
  #servicios .btn-saber-mas {
    padding: 10px 16px !important;
    font-size: 13px !important;
  }
}

 #activador-licencia {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            font-family: Arial, sans-serif;
        }

        .activador-contenido {
            background: white;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            max-width: 350px;
            width: 90%;
        }

        #input-licencia {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            margin-bottom: 15px;
            text-align: center;
        }

        .btn-activar {
            background: #007cba;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            width: 100%;
        }

        #mensaje-activacion {
            margin-top: 15px;
            padding: 10px;
            border-radius: 5px;
            display: none;
        }

        .mensaje-exito { background: #e8f5e8; color: #2e7d32; }
        .mensaje-error { background: #ffebee; color: #c62828; }

        #contenido-principal {
            display: none;
        }