   /* Estilos Generales */
   body {
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
  }

  /* Botón de Solicitar Cita */
  .btn-custom {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color, #428bca);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  .btn-custom:hover {
    background-color: #357abd;
  }

  /* Overlay */
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  /* Modal Slide */
  .modal-slide {
    display: none;
    position: fixed;
    top: 0;
    right: -95%; /* Oculta el modal inicialmente */
    height: 100%;
    width: 95%;
    max-width: 100%;
    background: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    overflow: hidden;
    display: flex;
    flex-direction: row;
  }

  /* Contenedor principal del contenido */
  .modal-content-slide {
    display: flex;
    flex: 1; /* Se adaptará al contenido interno */
  }

  /* ===================== Columna Izquierda: Formulario ===================== */
  .modal-left {
    width: 50%; /* Ajusta el ancho según lo que necesites */
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow-y: auto; /* Para permitir scroll en el formulario si es necesario */
  }

  /* Encabezado del Modal */
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }
  .modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
  }
  .close {
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
  }
  .close:hover {
    color: #000;
  }

  /* Indicadores de Paso */
  .step-indicators {
    display: flex;
    margin-bottom: 20px;
  }
  .step {
    flex: 1;
    text-align: center;
    position: relative;
  }
  .step::before {
    content: attr(data-step);
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border: 2px solid var(--primary-color, #428bca);
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color, #428bca);
    margin-bottom: 5px;
  }
  .step.active::before,
  .step.completed::before {
    background-color: var(--primary-color, #428bca);
    color: white;
  }
  .step::after {
    content: "";
    position: absolute;
    top: 15px;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    z-index: -1;
  }
  .step:last-child::after {
    content: none;
  }
  .step.completed::after {
    background-color: var(--primary-color, #428bca);
  }

  /* Formularios de Paso */
  .form-step {
    display: none;
    flex: 1;
  }
  .form-step.active {
    display: block;
  }
  .form-input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
  }
  .form-input:focus {
    border-color: var(--primary-color, #428bca);
    outline: none;
  }
  .checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  .checkbox-wrapper input {
    margin-right: 10px;
    transform: scale(1.2);
  }
  .button-group {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
  }
  .btn-add,
  .btn-next,
  .btn-back,
  .btn-cancel {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
  }
  .btn-add,
  .btn-next {
    background-color: var(--primary-color, #428bca);
    color: white;
  }
  .btn-add:hover,
  .btn-next:hover {
    background-color: #357abd;
  }
  .btn-back {
    background-color: #ccc;
    color: #333;
  }
  .btn-back:hover {
    background-color: #b3b3b3;
  }
  .btn-cancel {
    background-color: #f44336;
    color: white;
  }
  .btn-cancel:hover {
    background-color: #d32f2f;
  }

  /* ===================== Columna Derecha: Imagen + Card ===================== */
  .modal-right {
    position: relative; /* Para posicionar la tarjeta superpuesta */
    width: 50%;
    background-color: #000;
    overflow: hidden; /* Oculta cualquier overflow de la imagen */
  }
  .modal-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .service-card {
    position: relative;
    bottom: 15px;
    margin-top: 29px;
    margin-bottom: 15px;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .service-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #333;
  }
  .service-card p {
    margin: 0;
    font-size: 16px;
    color: #666;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .fadeIn {
    animation: fadeIn 1s;
  }

  /* ===================== Cambios para responsive ===================== */
  @media (max-width: 768px) {
    /* El modal se expande al 100% de ancho */
    .modal-slide {
      width: 100%;
      right: -100%; /* Para la animación de entrada */
    }
    .modal-header 
      {
        margin-top: 80px;
      }

    /* La parte izquierda toma todo el ancho en pantallas pequeñas */
    .modal-left {
      width: 100%;
    }

    /* Ocultamos la columna derecha (imágenes) */
    .modal-right {
      display: none;
    }
  }

  /* ===================== Modal de Pago ===================== */
  #abrirModal {
    display: none;
  }
  .btn-abrir-modal {
    cursor: pointer;
    padding: 10px 20px;
    background-color: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
  }
  .btn-abrir-modal:hover {
    background-color: #0b5ed7;
  }
  .modalPago {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
  }
  #abrirModal:checked ~ .modalPago {
    opacity: 1;
    visibility: visible;
  }
  .modal-contenido-pago {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    max-width: 500px;
    text-align: center;
  }

  .modalPago2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
  }
  #abrirModal2:checked ~ .modalPago2 {
    opacity: 1;
    visibility: visible;
  }
  .modal-contenido-pago2 {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    max-width: 500px;
    text-align: center;
  }

  .btn-cerrar-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #666;
  }
  .btn-cerrar-modal:hover {
    color: #000;
  }
  lottie-player {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: block;
  }

  /* From Uiverse.io by vinodjangid07 */
  /* From Uiverse.io by Yaya12085 */
  a{
    text-decoration: none;
  }
  .buttonUbi {
    max-width: 320px;
    display: flex;
    overflow: hidden;
    position: relative;
    padding: 0.875rem 72px 0.875rem 1.75rem;
    background-color: #039be5;
    background-image: linear-gradient(to top right, #039be5, #29b6f6);
    color: #ffffff;
    font-size: 15px;
    white-space: nowrap;
    line-height: 1.25rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    vertical-align: middle;
    align-items: center;
    border-radius: 0.5rem;
    gap: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: none;
    transition: all 0.6s ease;
  }

  .buttonUbi span {
    background-color: rgb(3 155 229);
    display: grid;
    position: absolute;
    right: 0;
    place-items: center;
    width: 3rem;
    height: 100%;
  }

  .buttonUbi span svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .buttonUbi:hover {
    box-shadow: 0 4px 30px rgba(4, 175, 255, 0.1),
      0 2px 30px rgba(11, 158, 255, 0.06);
  }