/* ========================================
   ESTILOS ESPECÍFICOS PARA PAGRESERVA.CSS - COMPLETAMENTE RESPONSIVE
   ======================================== */

/* ========================================
   HERO SECTION MEJORADA
   ======================================== */
.img-principal {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  margin-bottom: 3rem;
}

.img-principal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.img-principal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.hero-overlay h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
  line-height: 1.2;
}

.hero-overlay p {
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 300;
  opacity: 0.9;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
}

/* Contenedor Principal de Reserva */
.reserva-contenedor {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 5%);
}

.reserva-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
}

/* Secciones del Formulario */
.formulario-seccion {
    background: var(--white);
    border-radius: clamp(15px, 3vw, 25px);
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(44, 123, 229, 0.1);
}

.seccion-titulo {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(44, 123, 229, 0.1);
    flex-wrap: wrap;
}

.seccion-titulo img {
    width: clamp(30px, 8vw, 40px);
    height: clamp(30px, 8vw, 40px);
    object-fit: contain;
}

.seccion-titulo h3 {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Campos del Formulario */
.formulario-reserva {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 3vw, 2rem);
}

.campo-grupo {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.campo-grupo label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.campo-grupo input,
.campo-grupo select,
.campo-grupo textarea {
    padding: clamp(1rem, 3vw, 1.2rem) clamp(1rem, 3vw, 1.5rem);
    border: 2px solid #d1d5db !important;
    background: var(--white) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    border-radius: clamp(10px, 2vw, 15px);
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-family: inherit;
    transition: var(--transition);
    min-height: clamp(44px, 10vw, 54px);
}

.campo-grupo input:focus,
.campo-grupo select:focus,
.campo-grupo textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.1);
}

.fechas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 3vw, 1.5rem);
}

/* Métodos de Pago Mejorados */
.metodos-pago-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: clamp(0.8rem, 2vw, 1rem);
    margin-top: 1rem;
}

.metodo-pago-opcion {
    position: relative;
}

.metodo-pago-opcion input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.metodo-pago-opcion input[type="radio"]:checked + label {
    border-color: var(--primary-color) !important;
    background: rgba(44, 123, 229, 0.05) !important;
}

.metodo-pago-opcion label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: clamp(1rem, 3vw, 1.5rem) clamp(0.8rem, 2vw, 1rem);
    background: var(--white) !important;
    border: 2px solid #d1d5db !important;
    border-radius: clamp(10px, 2vw, 15px);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    min-height: 100px;
}

.metodo-pago-opcion label img {
    width: clamp(40px, 10vw, 50px);
    height: clamp(30px, 8vw, 40px);
    object-fit: contain;
    transition: var(--transition);
}

.metodo-pago-opcion input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background: rgba(44, 123, 229, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 123, 229, 0.2);
}

.metodo-pago-opcion:hover label {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Botones de Acción */
.acciones-formulario {
    display: flex;
    gap: clamp(1rem, 3vw, 1.5rem);
    margin-top: clamp(1.5rem, 4vw, 2rem);
    flex-wrap: wrap;
}

.btn-reservar,
.btn-limpiar {
    flex: 1;
    min-width: 140px;
    padding: clamp(1rem, 3vw, 1.3rem) clamp(1.5rem, 4vw, 2rem);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    min-height: clamp(44px, 10vw, 54px);
}

.btn-reservar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(44, 123, 229, 0.35);
}

.btn-reservar:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(44, 123, 229, 0.5);
}

.btn-limpiar {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-limpiar:hover {
    background: var(--text-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* Resumen de Reserva */
.resumen-reserva {
    position: sticky;
    top: 2rem;
}

.resumen-tarjeta {
    background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
    border-radius: clamp(15px, 3vw, 25px);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(44, 123, 229, 0.1);
}

.resumen-tarjeta h3 {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(44, 123, 229, 0.1);
    line-height: 1.3;
}

.resumen-detalle {
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.resumen-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(0.8rem, 2vw, 1rem) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.resumen-item span:first-child {
    font-weight: 600;
    color: var(--text-dark);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.resumen-item span:last-child {
    color: var(--text-light);
    text-align: right;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    word-break: break-word;
}

.resumen-total {
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.resumen-beneficios {
    background: linear-gradient(135deg, rgba(44, 123, 229, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: clamp(10px, 2vw, 15px);
    padding: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.resumen-beneficios h4 {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.resumen-beneficios ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resumen-beneficios li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    line-height: 1.4;
}

.resumen-contacto {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.resumen-contacto h4 {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.resumen-contacto p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    line-height: 1.4;
}

/* Mensajes de Error */
.mensaje-error {
    background: linear-gradient(135deg, #fee 0%, #fdd 100%);
    border-left: 5px solid #dc3545;
    padding: clamp(1rem, 3vw, 1.5rem);
    border-radius: clamp(10px, 2vw, 15px);
    margin-top: 1.5rem;
}

.mensaje-error p {
    color: #dc3545 !important;
    font-weight: 600;
    margin: 0;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.4;
}

/* Enlace Activo en Navegación */
.barra-principal a.active {
    color: var(--primary-color);
}

.barra-principal a.active::after {
    width: 100%;
}

/* ========================================
   MODALES CORREGIDOS - SIN CONFLICTOS
   ======================================== */

/* MODAL DE RESERVA (Confirmación y No Logueado) */
.modal-reserva {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 10px;
}

.modal-reserva-contenido {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    margin: 2% auto;
    padding: 0;
    border-radius: clamp(15px, 3vw, 25px);
    width: 95%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
    overflow: hidden;
    max-height: 96vh;
}

.modal-reserva-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
    position: relative;
}

.modal-reserva-header h3 {
    margin: 0;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.modal-reserva-cerrar {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    min-width: 30px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-reserva-cerrar:hover {
    transform: scale(1.2);
    color: var(--accent-gold);
}

.modal-reserva-body {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-reserva-footer {
    display: flex;
    gap: clamp(0.8rem, 2vw, 1rem);
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

/* MODAL DE LOGOUT (Viejo) */
.modal-logout {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-logout-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.3s ease;
    overflow: hidden;
    position: relative;
}

.modal-logout-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-logout-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.close-logout {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-logout:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-logout-body {
    padding: 2.5rem 1.5rem;
    text-align: center;
    background-color: white;
}

.modal-logout-body p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-logout-footer {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background-color: var(--bg-light);
    border-top: 1px solid #e2e8f0;
}

.btn-cancel-logout,
.btn-confirm-logout {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cancel-logout {
    background-color: #6b7280;
    color: white;
}

.btn-cancel-logout:hover {
    background-color: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.btn-confirm-logout {
    background-color: #dc3545;
    color: white;
}

.btn-confirm-logout:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Botones específicos para modales de reserva */
.btn-cancelar-reserva,
.btn-confirmar-reserva {
    flex: 1;
    min-width: 120px;
    padding: clamp(0.8rem, 3vw, 1rem) clamp(1rem, 3vw, 1.5rem);
    border: none;
    border-radius: clamp(8px, 2vw, 12px);
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    min-height: 44px;
}

.btn-cancelar-reserva {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-cancelar-reserva:hover {
    background: var(--text-light);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-confirmar-reserva {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(44, 123, 229, 0.3);
}

.btn-confirmar-reserva:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 123, 229, 0.4);
}

/* Deshabilitar scroll del body cuando cualquier modal está abierto */
body.modal-open {
    overflow: hidden;
}

/* Animaciones compartidas */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================================
   ESTILOS ESPECÍFICOS PARA MODAL DE NO LOGUEADO
   ======================================== */

.beneficios-icono {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.beneficios-lista {
    margin: 2rem 0;
}

.beneficio-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(44, 123, 229, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.beneficio-item:hover {
    background: rgba(44, 123, 229, 0.1);
    transform: translateX(5px);
}

.beneficio-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    min-width: 24px;
}

.beneficio-item div {
    flex: 1;
}

.beneficio-item strong {
    color: var(--text-dark);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.3rem;
}

.beneficio-item p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.beneficios-texto {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
    margin: 1.5rem 0 0;
}

.beneficios-footer {
    flex-direction: column;
    gap: 1rem;
}

.btn-continuar-sin-login {
    width: 100%;
    padding: 1rem 1.5rem;
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-continuar-sin-login:hover {
    background: var(--text-light);
    color: var(--white);
    transform: translateY(-2px);
}

.beneficios-acciones {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.btn-registrarse,
.btn-iniciar-sesion {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    font-size: 0.95rem;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-registrarse {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(44, 123, 229, 0.3);
}

.btn-registrarse:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 123, 229, 0.4);
}

.btn-iniciar-sesion {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-iniciar-sesion:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   ESTILOS PARA CONFIRMACIÓN DE RESERVA
   ======================================== */

.confirmacion-icono {
    width: clamp(60px, 15vw, 80px);
    height: clamp(60px, 15vw, 80px);
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(44, 123, 229, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-color);
}

.confirmacion-icono img {
    width: clamp(30px, 10vw, 50px);
    height: clamp(30px, 10vw, 50px);
    border-radius: 50%;
    object-fit: cover;
}

.confirmacion-detalles {
    background: rgba(44, 123, 229, 0.05);
    border-radius: clamp(10px, 2vw, 15px);
    padding: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.detalle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detalle-item:last-child {
    border-bottom: none;
}

.detalle-item strong {
    color: var(--text-dark);
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.detalle-item span {
    color: var(--text-light);
    text-align: right;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    word-break: break-word;
}

.detalle-total {
    border-top: 2px solid var(--primary-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: clamp(1rem, 3vw, 1.1rem);
}

.detalle-total strong {
    color: var(--primary-color);
    font-size: clamp(1rem, 3vw, 1.1rem);
}

.detalle-total span {
    color: var(--primary-color);
    font-weight: 700;
    font-size: clamp(1.1rem, 3vw, 1.2rem);
}

.confirmacion-texto {
    color: var(--text-light);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    line-height: 1.5;
    margin-bottom: 0;
}

.confirmacion-texto a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.confirmacion-texto a:hover {
    text-decoration: underline;
}

/* ========================================
   MEDIA QUERIES RESPONSIVE
   ======================================== */

/* Tablets y dispositivos medianos */
@media (max-width: 1024px) {
    .reserva-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .resumen-reserva {
        position: static;
        order: -1;
    }
}

/* Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
    .hero-overlay {
        width: 95%;
    }

    .formulario-seccion {
        padding: 1.5rem;
    }

    .fechas-grid {
        grid-template-columns: 1fr;
    }

    .acciones-formulario {
        flex-direction: column;
    }

    .metodos-pago-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resumen-tarjeta {
        padding: 1.5rem;
    }

    .seccion-titulo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .modal-reserva-contenido {
        margin: 1% auto;
        max-height: 98vh;
    }

    .modal-reserva-body {
        max-height: 70vh;
        padding: 1.5rem 1rem;
    }

    .modal-reserva-footer {
        flex-direction: column;
    }

    .btn-cancelar-reserva,
    .btn-confirmar-reserva {
        min-width: 100%;
    }

    .beneficios-acciones {
        flex-direction: column;
    }

    .beneficio-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .beneficio-item i {
        margin-top: 0;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .hero-overlay h1 {
        font-size: 1.8rem;
    }

    .hero-overlay p {
        font-size: 0.9rem;
    }

    .reserva-contenedor {
        padding: 0.5rem;
    }

    .formulario-seccion {
        padding: 0.8rem;
        border-radius: 10px;
    }

    .campo-grupo input,
    .campo-grupo select,
    .campo-grupo textarea {
        padding: 0.8rem 1rem;
        font-size: 16px;
    }

    .btn-reservar,
    .btn-limpiar {
        min-width: 100%;
        font-size: 1rem;
    }

    .resumen-tarjeta {
        padding: 1rem;
        border-radius: 10px;
    }

    .metodos-pago-grid {
        grid-template-columns: 1fr;
    }

    .metodo-pago-opcion label {
        min-height: 80px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 1rem;
    }

    .resumen-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .resumen-item span:last-child {
        text-align: left;
    }

    .modal-reserva-contenido {
        width: 98%;
        margin: 0.5% auto;
        border-radius: 12px;
    }

    .modal-reserva-header {
        padding: 1.2rem;
    }

    .modal-reserva-body {
        padding: 1rem 0.8rem;
        max-height: 75vh;
    }

    .beneficios-icono {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .beneficio-item {
        padding: 0.8rem;
    }

    .btn-registrarse,
    .btn-iniciar-sesion {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        min-height: 48px;
    }

    /* Modal logout responsive */
    .modal-logout-content {
        margin: 20% auto;
        width: 95%;
    }

    .modal-logout-footer {
        flex-direction: column;
    }

    .btn-cancel-logout,
    .btn-confirm-logout {
        width: 100%;
        min-width: auto;
    }

    .modal-logout-body {
        padding: 2rem 1rem;
    }
}

/* Dispositivos muy pequeños */
@media (max-width: 360px) {
    .hero-overlay h1 {
        font-size: 1.5rem;
    }

    .hero-overlay p {
        font-size: 0.8rem;
    }

    .formulario-seccion {
        padding: 0.5rem;
    }

    .seccion-titulo h3 {
        font-size: 1rem;
    }

    .metodo-pago-opcion label {
        padding: 0.8rem;
        font-size: 0.8rem;
    }

    .modal-reserva-contenido {
        width: 99%;
        margin: 0.25% auto;
    }

    .modal-reserva-header h3 {
        font-size: 1.1rem;
    }

    .modal-reserva-body h4 {
        font-size: 1rem;
    }
}

/* Footer (igual que PagInicio) */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: var(--white);
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1.2rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.7rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    margin-bottom: 0;
}

.footer-social a:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-social i {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}






/* Oculta el botón personalizado de Wompi */
#wompiCustomButton {
    display: none !important;
}

/* Estilos para Wompi */
.wompi-widget-container {
    background: #f8f9fa;
    border: 2px solid #6B46C1;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
}

.wompi-info {
    margin-bottom: 15px;
}

.wompi-info p {
    margin: 5px 0;
    color: #6c757d;
}

.btn-wompi-custom {
    background: linear-gradient(135deg, #6B46C1, #805AD5);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
}

.btn-wompi-custom:hover {
    background: linear-gradient(135deg, #805AD5, #6B46C1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

.btn-wompi-custom:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Estados de disponibilidad */
.disponibilidad-alta {
    color: #28a745;
    font-weight: 600;
}

.disponibilidad-media {
    color: #ffc107;
    font-weight: 600;
}

.disponibilidad-baja {
    color: #dc3545;
    font-weight: 600;
}

.disponibilidad-agotado {
    color: #6c757d;
    font-weight: 600;
}

/* En tu CSS existente, agrega esto */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.cantidad-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-cantidad {
    width: 40px;
    height: 40px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-cantidad:hover:not(:disabled) {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.btn-cantidad:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
}

#cantidadHabitaciones {
    width: 80px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px;
    background: #f8fafc;

    /* 🔒 HACER SOLO LECTURA VISUAL */
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

    /* Estilo para indicar que no es editable */
    background: #f1f5f9;
    color: #475569;
    cursor: not-allowed;
}

/* Efecto hover en el contenedor completo */
.cantidad-container:hover #cantidadHabitaciones {
    border-color: #cbd5e1;
    background: #e2e8f0;
}
/* Prevenir zoom en iOS */
@media screen and (max-width: 768px) {
    #cantidadHabitaciones {
        font-size: 18px; /* Tamaño mínimo para evitar zoom */
    }
}

/* ESTILOS PARA MENSAJES DE ERROR BONITOS */
.error-temporal {
    position: relative;
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 12px;
    font-weight: 500;
    animation: slideInDown 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 12px;
}

.error-temporal::before {
    font-size: 18px;
}

/* Estilo específico para error de disponibilidad */
.error-disponibilidad {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-left-color: #e53e3e;
    color: #742a2a;
}

.error-disponibilidad::before {
    content: "🚫";
}

/* Estilo para errores generales */
.error-general {
    background: linear-gradient(135deg, #fffaf0 0%, #feebc8 100%);
    border-left-color: #dd6b20;
    color: #744210;
}

.error-general::before {
    content: "⚠️";
}

/* Estilo para éxito */
.error-success {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border-left-color: #38a169;
    color: #22543d;
}

.error-success::before {
    content: "✅";
}

/* Animaciones */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.error-temporal.fade-out {
    animation: slideOutUp 0.3s ease forwards;
}




/* Estilos para mensajes de disponibilidad */
.mensaje-disponibilidad {
    padding: 12px 15px;
    border-radius: 8px;
    margin: 10px 0;
    font-weight: 500;
    font-size: 14px;
    border-left: 4px solid;
}

.mensaje-disponibilidad.success {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.mensaje-disponibilidad.error {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.mensaje-disponibilidad.warning {
    background: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

/* Mejorar visualización de campos deshabilitados */
.btn-reservar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Resaltar campos de fecha cuando hay error */
.campo-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Estilos para emails temporales/válidos */
.email-temporal {
    border: 2px solid #e74c3c !important;
    background-color: #fdf2f2 !important;
}

.email-valido {
    border: 2px solid #27ae60 !important;
    background-color: #f2fdf2 !important;
}

.campo-grupo small {
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

#emailWarning {
    color: #e74c3c;
}

#emailSuccess {
    color: #27ae60;
}

/* ========================================
   CHAT WIDGET STYLES
   ======================================== */

.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Botón flotante del chat */
.chat-toggle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10001;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.chat-toggle i {
    color: white;
    font-size: 24px;
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Contenedor del chat */
.chat-container {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
    pointer-events: none;
}

.chat-widget.open .chat-container {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Header del chat */
.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    margin-top: 2px;
}

.status-online {
    color: #4cd964;
}

.status-offline {
    color: #ff3b30;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Área de mensajes */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Estilos de mensajes */
.message {
    display: flex;
    max-width: 85%;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-message {
    align-self: flex-end;
}

.admin-message {
    align-self: flex-start;
}

.system-message {
    align-self: center;
    max-width: 90%;
}

.message-content {
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
}

.user-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 6px;
}

.admin-message .message-content {
    background: white;
    color: #333;
    border: 1px solid #e1e5e9;
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.system-message .message-content {
    background: #e3f2fd;
    color: #1565c0;
    text-align: center;
    border-radius: 12px;
}

.message-content p {
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.message-content small {
    opacity: 0.7;
    font-size: 11px;
}

/* Indicador de escritura */
.typing-indicator {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e1e5e9;
}

.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #667eea;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.typing-indicator span {
    font-size: 12px;
    color: #666;
}

/* Input del chat */
.chat-input-container {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e1e5e9;
    border-radius: 0 0 12px 12px;
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

#chatInput {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e1e5e9;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s;
}

#chatInput:focus {
    border-color: #667eea;
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.chat-send-btn:hover {
    transform: scale(1.1);
}

.chat-input-hint {
    text-align: center;
    margin-top: 8px;
}

.chat-input-hint small {
    color: #999;
    font-size: 11px;
}

/* Scrollbar personalizado */
.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Responsive */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 10px;
        right: 10px;
    }

    .chat-container {
        width: calc(100vw - 40px);
        height: 70vh;
        right: 0;
    }

    .chat-toggle {
        width: 50px;
        height: 50px;
    }

    .chat-toggle i {
        font-size: 20px;
    }
}

/* Estados de carga */
.chat-loading {
    opacity: 0.7;
    pointer-events: none;
}

.chat-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
#wompiLoadingOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  backdrop-filter: blur(4px);
}

.wlo-box {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 380px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: wloFadeIn 0.3s ease;
}

@keyframes wloFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.wlo-spinner {
  width: 56px;
  height: 56px;
  border: 5px solid #e9ecef;
  border-top-color: #6B46C1;
  border-radius: 50%;
  animation: wloSpin 0.8s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes wloSpin {
  to { transform: rotate(360deg); }
}

.wlo-title {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  color: #1a1a2e;
}

.wlo-subtitle {
  color: #6b7280;
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

.wlo-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.wlo-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #374151;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: #f9fafb;
  transition: background 0.3s;
}

.wlo-step.done   { background: #ecfdf5; color: #065f46; }
.wlo-step.active { background: #ede9fe; color: #4c1d95; }

.wlo-step-icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.wlo-note {
  font-size: 0.78rem;
  color: #9ca3af;
  margin: 0;
}

