:root {
    --azul-marino: #1e3a8a;
    --azul-claro: #1e40af;
    --dorado: #d97706;
    --fondo-gris: #f8fafc;
    --blanco: #ffffff;
    --texto-oscuro: #1e293b;
    --texto-claro: #64748b;
    --borde: #e2e8f0;
}

.titulo-cabecera {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
    color: white !important;
    text-decoration: none; /* Por si se le llega a poner la línea abajo */
}

/* Ajustes básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--fondo-gris);
    color: var(--texto-oscuro);
}

/* Contenedor principal estilo móvil */
.contenedor-app {
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--fondo-gris);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* --- CABECERA (HEADER) --- */
.cabecera {
    background-color: var(--azul-marino);
    color: var(--blanco);
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cabecera-izq {
    display: flex;
    align-items: center;
    gap: 10px;
}



.logos-cabecera {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logos-cabecera img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.selector-idioma {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.boton-idioma {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 5px;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: background-color 0.2s, opacity 0.2s, transform 0.2s;
}

.boton-idioma:hover,
.boton-idioma.activo {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.boton-idioma:active {
    transform: scale(0.92);
}

#google_translate_element {
    display: none;
}

iframe.goog-te-banner-frame,
.goog-te-banner-frame,
body > .skiptranslate {
    display: none !important;
}

html.translated-ltr,
html.translated-rtl {
    margin-top: 0 !important;
}

body {
    top: 0 !important;
}

.boton-menu {
    background: none;
    border: none;
    color: var(--blanco);
    font-size: 1.8rem;
    cursor: pointer;
    margin-left: auto;
}

/* --- MENÚ LATERAL --- */
.fondo-oscuro {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 20;
    display: none;
}

.menu-lateral {
    position: fixed;
    top: 60px; 
    right: -300px;
    bottom: 0;
    width: 260px;
    background-color: var(--blanco);
    z-index: 30;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.menu-lateral.abierto {
    right: 0;
}

.etiqueta-menu {
    padding: 15px 20px;
    background-color: var(--fondo-gris);
    color: var(--texto-claro);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px solid var(--borde);
}

.enlace-menu {
    padding: 15px 20px;
    background: none;
    border: none;
    border-left: 4px solid transparent;
    text-align: left;
    font-size: 1rem;
    color: var(--texto-claro);
    cursor: pointer;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--fondo-gris);
}

.enlace-menu span {
    margin-right: 15px;
    font-size: 1.2rem;
}

.enlace-menu.activo {
    border-left-color: var(--dorado);
    background-color: #fef3c7;
    color: var(--azul-marino);
    font-weight: bold;
}

/* --- CONTENIDO PRINCIPAL --- */
.contenido {
    padding: 20px;
    flex: 1;
}

.vista {
    display: none;
    animation: aparecer 0.3s ease;
}

.vista.activa {
    display: block;
}

@keyframes aparecer {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.titulo-seccion {
    color: var(--azul-marino);
    font-size: 1.4rem;
    border-bottom: 2px solid var(--dorado);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* --- COMPONENTES GLOBALES --- */
.tarjeta {
    background-color: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.imagen-principal {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    background-color: #ccc;
}

/* --- TARJETAS DE HABITACIONES (Y SALONES) --- */
.tarjeta-habitacion {
    background-color: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.tarjeta-habitacion img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background-color: #eee;
}

.tarjeta-habitacion-info {
    padding: 15px;
}

.tarjeta-habitacion-titulo {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--azul-marino);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-pax {
    font-size: 0.75rem;
    background-color: #fef3c7;
    color: var(--dorado);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
}

.tarjeta-habitacion-detalles {
    font-size: 0.85rem;
    color: var(--texto-claro);
    line-height: 1.5;
}

.tarjeta-habitacion-detalles p {
    margin-bottom: 5px;
}

.tarjeta-habitacion-detalles strong {
    color: var(--texto-oscuro);
}

/* Acordeones */
.acordeon {
    background-color: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.acordeon-cabecera {
    width: 100%;
    padding: 15px;
    background-color: var(--fondo-gris);
    border: none;
    text-align: left;
    font-weight: bold;
    color: var(--texto-oscuro);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.acordeon-icono {
    color: var(--dorado);
}

.acordeon-contenido {
    display: none;
    padding: 15px;
    border-top: 1px solid var(--borde);
}

.acordeon.abierto .acordeon-contenido {
    display: block;
}

.acordeon.abierto .acordeon-icono {
    transform: rotate(180deg);
}

/* Listas internas */
.fila-lista {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--fondo-gris);
}

.fila-lista:last-child {
    border-bottom: none;
}

.texto-principal { font-weight: bold; font-size: 0.95rem; }
.texto-secundario { color: var(--texto-claro); font-size: 0.8rem; margin-top: 3px; }
.texto-resalte { color: var(--dorado); font-weight: bold; text-align: right;}

/* Cuadrícula de servicios */
.cuadricula-servicios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.caja-servicio {
    background-color: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.caja-servicio span { display: block; font-size: 2rem; margin-bottom: 5px; }
.caja-servicio p { font-size: 0.8rem; font-weight: bold; color: var(--texto-claro); }

/* --- ESTILOS: ACCESOS RÁPIDOS (INICIO) --- */
.accesos-rapidos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.caja-acceso {
    background-color: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 10px;
    padding: 15px 5px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.caja-acceso:active {
    transform: scale(0.95);
}

.caja-acceso span {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.caja-acceso p {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--azul-marino);
}

/* --- ESTILOS: LISTA DE AMENIDADES EN HABITACIÓN --- */
.lista-amenidades {
    list-style: none;
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 8px;
    font-size: 0.8rem;
}

.lista-amenidades li {
    display: flex;
    align-items: center;
    color: var(--texto-claro);
}

.lista-amenidades li span {
    margin-right: 5px;
    font-size: 0.9rem;
}

.lista-subtitulo-ancho {
    grid-column: span 2;
    font-weight: bold;
    color: var(--azul-marino);
    margin-top: 10px;
    margin-bottom: 5px;
    border-bottom: 1px dashed var(--borde);
    padding-bottom: 4px;
    font-size: 0.85rem;
}


/* --- ESTILOS: CARRUSEL DESLIZABLE NATIVO (SALONES) --- */
.carrusel-swipe {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Suavidad en iPhone */
    scrollbar-width: none; /* Oculta scrollbar en Firefox */
}

.carrusel-swipe::-webkit-scrollbar {
    display: none; /* Oculta scrollbar en Chrome/Safari */
}

.carrusel-img {
    min-width: 100%; /* Obliga a usar el 100% del espacio */
    flex-shrink: 0;  /* Evita que el navegador comprima las fotos */
    height: 180px;
    object-fit: cover;
    scroll-snap-align: center; /* Centra la foto perfectamente al soltar */
    -webkit-user-drag: none;   /* Evita que el mouse intente guardar la foto en PC */
}

.indicador-swipe {
    text-align: center;
    font-size: 0.65rem;
    color: var(--texto-claro);
    padding: 5px;
    background-color: var(--fondo-gris);
    border-bottom: 1px solid var(--borde);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- ESTILOS: PAQUETES ESPECIALES (HORIZONTALES) --- */
.tarjeta-horizontal {
    display: flex;
    background-color: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tarjeta-horizontal-img {
    width: 110px; /* Ancho fijo para la foto */
    object-fit: cover;
    background-color: #eee;
}

.tarjeta-horizontal-info {
    padding: 12px;
    flex: 1;
}

.paquetes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.paquetes-grid .tarjeta-horizontal {
    display: block;
    margin-bottom: 0;
}

.paquetes-grid .tarjeta-horizontal-img {
    width: 100%;
    height: 180px;
    display: block;
}

.tarjeta-horizontal-titulo {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--azul-marino);
    margin-bottom: 5px;
}

.tarjeta-horizontal-desc {
    font-size: 0.75rem;
    color: var(--texto-claro);
    line-height: 1.4;
}

/* --- ESTILOS: PAQUETES ESPECIALES (TARJETAS SUPERPUESTAS) --- */
.tarjeta-paquete {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    height: 160px; /* Altura fija para que todas se vean iguales */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tarjeta-paquete-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tarjeta-paquete-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30, 58, 138, 0.95)); /* Degradado azul oscuro */
    color: var(--blanco);
    padding: 15px;
}

.tarjeta-paquete-titulo {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--dorado); 
}

.tarjeta-paquete-desc {
    font-size: 0.8rem;
    line-height: 1.3;
}

/* --- ESTILOS: BOTÓN PARA ABRIR PDF --- */
.boton-pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--azul-marino);
    color: var(--blanco);
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(30, 58, 138, 0.2);
    transition: background-color 0.2s, transform 0.2s;
}



.boton-pdf span {
    font-size: 1.5rem;
    margin-right: 10px;
}

.boton-pdf:active {
    background-color: var(--azul-claro);
    transform: scale(0.98);
}

/* --- ESTILOS: FOOTER (PIE DE PÁGINA GLOBAL COMPACTO) --- */
.pie-pagina {
    background-color: var(--azul-marino);
    color: var(--blanco);
    text-align: center;
    padding: 20px 15px 10px; /* Reduje el padding para hacerlo menos ancho/alto */
    margin-top: auto;
    border-top: 4px solid var(--dorado);
}

.pie-logos img {
    height: 28px; /* Logo ligeramente más pequeño para ahorrar espacio */
    object-fit: contain;
    margin-bottom: 10px;
    opacity: 0.9;
}

.pie-direccion {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-bottom: 10px;
    line-height: 1.4;
}

.pie-contacto {
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 15px; /* Pone los teléfonos en la misma línea para hacer el footer más delgado */
}

.pie-redes {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.pie-redes a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.pie-redes a:active {
    transform: scale(0.9); /* Efecto de toque */
}

/* Estilo para tus iconos (vectores o imágenes PNG) */
.pie-redes img {
    width: 35px; /* Tamaño perfecto para que el dedo lo pueda tocar en el celular */
    height: 35px;
    object-fit: contain;
}

.pie-legal {
    font-size: 0.65rem;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

/* --- OPCIÓN 1: CARRUSEL HORIZONTAL --- */
.servicios-carrusel {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Oculta la barra en Firefox */
}

.servicios-carrusel::-webkit-scrollbar {
    display: none; /* Oculta la barra en Chrome/Safari */
}

.servicio-pildora {
    flex: 0 0 auto; /* Evita que se aplasten */
    display: flex;
    align-items: center;
    background-color: var(--blanco);
    border: 1px solid var(--borde);
    padding: 8px 15px;
    border-radius: 20px; /* Forma redondita de píldora */
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--texto-oscuro);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.servicio-pildora span {
    margin-right: 6px;
    font-size: 1rem;
}

/* --- ESTILOS: CARRUSEL DE SERVICIOS CON BOTONES --- */
.contenedor-carrusel-servicios {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.btn-carrusel {
    background-color: var(--blanco);
    color: var(--azul-marino);
    border: 1px solid var(--borde);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    position: absolute;
    z-index: 5;
    font-size: 14px;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-izq { left: 0; }
.btn-der { right: 0; }

.btn-carrusel:active {
    background-color: var(--fondo-gris);
    transform: scale(0.9);
}

.servicios-carrusel {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 35px; /* Espacio a los lados para que los botones no tapen el texto */
    scroll-behavior: smooth; /* Hace que el deslizamiento con los botones sea suave */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
}

.servicios-carrusel::-webkit-scrollbar {
    display: none;
}

.servicio-pildora {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    background-color: var(--blanco);
    border: 1px solid var(--borde);
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--texto-oscuro);
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.servicio-pildora span {
    margin-right: 6px;
    font-size: 1.1rem;
}

/* --- ESTILOS: CARRUSEL PRINCIPAL (AUTO-PLAY EN INICIO) --- */
.carrusel-inicio {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Oculta scrollbar en Firefox */
    margin-bottom: 15px;
    border-radius: 10px; /* Mismos bordes curvos que la imagen anterior */
    scroll-behavior: smooth; /* Asegura un deslizamiento suave */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.carrusel-inicio::-webkit-scrollbar {
    display: none; /* Oculta scrollbar en Chrome/Safari */
}

.carrusel-inicio-img {
    flex: 0 0 100%;
    height: 200px;
    object-fit: cover;
    scroll-snap-align: center;
    -webkit-user-drag: none;
    max-width: 100%;
    display: block;
}

/* --- OPCIÓN 3: TARJETA DE LISTA --- */
.tarjeta-lista-bienestar {
    background-color: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 10px;
    padding: 5px 15px;
    margin-bottom: 25px;
}

.fila-bienestar {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--fondo-gris);
}

.fila-bienestar:last-child {
    border-bottom: none;
}

.fila-bienestar span {
    font-size: 1.5rem;
    margin-right: 15px;
    background-color: #fef3c7; /* Fondo doradito claro en el icono */
    padding: 8px;
    border-radius: 8px;
}

.fila-bienestar-texto h4 {
    color: var(--azul-marino);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.fila-bienestar-texto p {
    color: var(--texto-claro);
    font-size: 0.75rem;
}

/* --- ESTILOS: BIENESTAR (COLLAGE ASIMÉTRICO) --- */
.bienestar-collage {
    position: relative;
    margin-bottom: 30px;
}

.bienestar-collage img {
    width: 80%;
    height: 160px;
    object-fit: cover;
    border-radius: 0 40px 40px 0;
}

.bienestar-collage.inverso img {
    margin-left: 20%;
    border-radius: 40px 0 0 40px;
}

.bienestar-flotante {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 15px;
    border-radius: 10px;
    width: 60%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.bienestar-collage .derecha { right: 0; border-right: 3px solid var(--dorado); }
.bienestar-collage .izquierda { left: 0; border-left: 3px solid var(--dorado); text-align: left; }

.bienestar-flotante h4 { color: var(--azul-marino); font-size: 1rem; margin-bottom: 5px; }
.bienestar-flotante p { font-size: 0.75rem; color: var(--texto-claro); line-height: 1.3;}

/* --- ESTILOS: REDES SOCIALES POR MARCA (DIRECTORIO) --- */
.marca-redes {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--borde);
}

.marca-redes-titulo {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--azul-marino);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.marca-redes-titulo img {
    height: 20px; /* Para poner el loguito al lado del título (opcional) */
    margin-right: 8px;
    object-fit: contain;
}

.iconos-redes-fila {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icono-red-social {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fondo-gris);
    border: 1px solid var(--borde);
    border-radius: 8px;
    padding: 8px;
    width: 45px;
    height: 45px;
    transition: transform 0.2s, background-color 0.2s;
}

.icono-red-social:active {
    transform: scale(0.9);
    background-color: #e2e8f0;
}

.icono-red-social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

a {
    text-decoration: none;
}

/* Contenedor principal del carrusel */
.carrusel-contenedor {
  position: relative;
  width: 100%;
  overflow: hidden; /* Esconde las imágenes que no están en turno */
  border-radius: 8px 8px 0 0; /* Mantiene las esquinas redondeadas de tu tarjeta */
}

/* Fila de imágenes que se desliza */
.carrusel-slide {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

.carrusel-slide img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  height: 250px; /* Puedes ajustar esta altura para que todas se vean parejas */
}

/* Botones flotantes (como los del inicio) */
.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(3, 13, 31, 0.521); /* Azul marino semi-transparente */
  color: white;
  border: none;
  font-size: 20px;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
  transition: background 0.3s;
}

.carrusel-btn:hover {
  background-color: #D4AF37; /* Se vuelve dorado al tocarlos */
}

.carrusel-btn.ant {
  left: 10px; /* Separación del borde izquierdo */
}

.carrusel-btn.sig {
  right: 10px; /* Separación del borde derecho */
}

/* --- ESTILOS EXCLUSIVOS PARA LA GUÍA LOCAL MEJORADA --- */
        .seccion-guia {
            padding: 15px;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: #f9f9f9; /* Un fondo gris super claro para que resalten las tarjetas */
        }

        /* Contenedor de Chips Deslizables */
        .contenedor-filtros {
            display: flex;
            overflow-x: auto;
            white-space: nowrap;
            gap: 10px;
            padding-bottom: 15px;
            margin-bottom: 15px;
            -webkit-overflow-scrolling: touch;
        }
        .contenedor-filtros::-webkit-scrollbar {
            display: none;
        }

        .btn-filtro {
            background-color: #ffffff;
            border: 2px solid #e0e0e0;
            padding: 10px 18px;
            border-radius: 25px;
            font-size: 15px;
            font-weight: 600;
            color: #555;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        .btn-filtro.active {
            background-color: #0d233a; /* Tu Azul Marino */
            color: #ffffff;
            border-color: #0d233a;
            box-shadow: 0 4px 8px rgba(13, 35, 58, 0.3);
        }

        /* DISEÑO DE TARJETAS HÍBRIDAS */
        .lista-negocios {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .tarjeta-hibrida {
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
            overflow: hidden; /* Para que la imagen respete los bordes redondos */
            display: block; /* Controlado por JS */
            border: 1px solid #f0f0f0;
        }

        .tarjeta-hibrida[hidden] {
            display: none;
        }

        /* CASO 1: Cuando el negocio SÍ tiene imagen */
        .tarjeta-imagen {
            width: 100%;
            height: 160px;
            object-fit: cover;
            display: block;
        }

        /* CASO 2: Cuando el negocio NO tiene imagen (Avatar de icono) */
        .encabezado-sin-foto {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px 15px 0 15px;
        }
        .avatar-icono {
            width: 55px;
            height: 55px;
            background-color: #f0f4f8;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            flex-shrink: 0;
            border: 2px solid #d4a373; /* Acento dorado */
        }

        /* Cuerpo de la Tarjeta */
        .cuerpo-tarjeta {
            padding: 15px;
        }

        .titulo-negocio {
            margin: 0 0 10px 0;
            font-size: 19px;
            color: #0d233a;
            font-weight: 800;
        }

        /* Etiquetas (Badges) */
        .badges-contenedor {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 12px;
        }
        .badge {
            font-size: 11px;
            font-weight: bold;
            padding: 5px 10px;
            border-radius: 20px;
            text-transform: uppercase;
        }
        .badge.domicilio { background-color: #e6f7ed; color: #1f7a42; }
        .badge.establecimiento { background-color: #e8f0fe; color: #1a73e8; }
        .badge.urgencia { background-color: #fce8e6; color: #c5221f; }

        .info-texto {
            font-size: 14px;
            color: #666;
            margin: 5px 0;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .descripcion-negocio {
            font-size: 13.5px;
            color: #444;
            margin: 10px 0 15px 0;
            line-height: 1.5;
        }

        /* Botón de llamada */
        .btn-llamar {
            display: block;
            width: 100%;
            background-color: #0d233a; /* Azul marino */
            color: #fff;
            text-decoration: none;
            padding: 12px;
            border-radius: 10px;
            font-weight: bold;
            font-size: 16px;
            text-align: center;
            box-sizing: border-box;
            transition: background-color 0.2s;
            border-bottom: 3px solid #081625;
        }
        .btn-llamar:active {
            background-color: #d4a373; /* Cambia a dorado al pulsar */
            border-color: #b88a5b;
            transform: translateY(2px);
        }
        .btn-llamar span {
            margin-right: 5px;
        }

/* --- Sección de Requisitos Desplegable --- */
.caja-requisitos { 
    margin-bottom: 15px; 
    border: 1px solid #e0e0e0; 
    border-radius: 8px; 
    padding: 5px 10px; 
    background-color: #fafafa; 
}
.caja-requisitos summary { 
    font-size: 14px; 
    font-weight: bold; 
    color: #0d233a; /* Tu Azul Marino */
    cursor: pointer; 
    padding: 5px 0; 
    list-style: none; 
    display: flex; 
    align-items: center; 
    gap: 5px;
}
/* Ocultar la flecha fea por defecto que traen algunos navegadores */
.caja-requisitos summary::-webkit-details-marker { 
    display: none; 
}
/* Cambiar el icono cuando está cerrado y abierto */
.caja-requisitos summary::before { content: '👉'; font-size: 12px; }
.caja-requisitos[open] summary::before { content: '👇'; }

/* Estilo de la lista por dentro */
.caja-requisitos ul { 
    margin: 8px 0 5px 20px; 
    padding: 0; 
    font-size: 13.5px; 
    color: #555; 
}
.caja-requisitos li { 
    margin-bottom: 5px; 
}

/* Botón Flotante Volver Arriba */
.btn-volver-arriba {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background-color: #0d233a; /* Azul marino de tu paleta */
  color: #dfa857;            /* Acento dorado/cobre */
  border: 2px solid #dfa857;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  
  /* Animación de aparición */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

/* Efecto visible al hacer scroll */
.btn-volver-arriba.visible {
  opacity: 1;
  visibility: visible;
}

/* Efecto al presionar/tocar */
.btn-volver-arriba:active {
  transform: scale(0.9);
}

/* Botón flotante para subir */
#btn-subir {
    display: none; /* Oculto hasta que se hace scroll */
    position: fixed;
    bottom: 20px;
    right: 20px; /* Ubicado en la parte izquierda */
    z-index: 99;
    border: 2px solid #D4AF37; /* Borde dorado corporativo */
    outline: none;
    background-color: #0B1D3A; /* Azul marino Hotel Emily */
    color: #D4AF37;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%; /* Botón circular */
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

/* Efecto al tocar o pasar el dedo/mouse */
#btn-subir:hover, #btn-subir:active {
    background-color: #D4AF37;
    color: #0B1D3A;
    transform: scale(1.1);
}

/* =========================================
   PUEBLOS MÁGICOS - DISEÑO HÍBRIDO LIMPIO
   ========================================= */

/* Acordeón Principal Destacado */
.acordeon-destacado {
    border: 2px solid var(--dorado);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.acordeon-destacado .acordeon-cabecera {
    font-size: 1.2rem;
    padding: 20px;
    background-color: var(--blanco);
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.acordeon-cabecera-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.titulo-acordeon {
    display: block;
    color: var(--azul-marino);
    font-weight: bold;
}
.subtitulo-acordeon {
    font-size: 0.85rem;
    color: var(--texto-claro);
    font-weight: normal;
}
.titulo-capa {
    color: var(--azul-marino);
    margin-bottom: 15px;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Capa 1: Cuadrícula de Parques */
.caja-servicio-pastel {
    padding: 15px 10px;
    border: 1px solid transparent; /* El color se inyecta desde el HTML */
    border-radius: 8px;
    text-align: center;
}
.icono-capa1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    display: block;
}
.caja-servicio-pastel .texto-principal {
    font-size: 0.9rem;
    color: #115518;
    font-weight: bold;
}
.caja-servicio-pastel .texto-horario {
    font-size: 0.75rem;
    color: #E23637;
    margin-top: 5px;
}
.caja-servicio-pastel .texto-ubicacion,
.caja-servicio-pastel .texto-nota {
    font-size: 0.75rem;
    color: #3F256E;
    margin-top: 3px;
}
.etiqueta-precio-centro {
    font-size: 0.95rem;
    margin-top: 10px;
    text-align: center;
    width: 100%;
    display: block;
    color: #CD141A;
    font-weight: 800;
    background: rgba(255,255,255,0.6);
    padding: 4px 0;
    border-radius: 6px;
}

/* Capa 2: Agencias y Tours */
.tarjeta-aventura {
    padding: 12px 15px;
    margin-bottom: 8px;
    background-color: var(--fondo-gris);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tarjeta-aventura .texto-principal {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: bold;
}
.tarjeta-aventura .texto-secundario {
    color: #475569;
    font-size: 0.8rem;
    margin-top: 3px;
}
.tarjeta-aventura-derecha {
    display: flex;
    align-items: center;
    gap: 15px;
}
.tarjeta-aventura .texto-resalte {
    color: #334155;
    font-size: 0.85rem;
    font-weight: bold;
}

/* Capa 3: Banners de Restaurantes */
.banner-restaurante {
    border: none;
    padding: 18px 15px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
}
.banner-primario {
    background-color: var(--azul-marino);
    color: var(--blanco);
}
.banner-secundario {
    background-color: var(--texto-oscuro);
    color: var(--blanco);
}
.banner-titulo {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 3px;
}
.banner-desc {
    font-size: 0.8rem;
    color: #cbd5e1;
}
.banner-secundario .banner-desc {
    color: #94a3b8;
}
.banner-tel {
    font-size: 0.8rem;
    color: #ffffff;
    margin-top: 4px;
}
.btn-reserva-dorado {
    background: var(--dorado);
    color: var(--blanco);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: transform 0.2s;
}
.btn-reserva-dorado:active {
    transform: scale(0.95);
}

/* --- ADAPTACIÓN PARA TABLET Y ESCRITORIO --- */
@media (min-width: 600px) {
    .contenedor-app {
        max-width: 900px;
    }

    .cabecera {
        padding: 0 24px;
    }

    .contenido {
        padding: 28px 32px;
    }

    .carrusel-inicio-img {
        height: clamp(260px, 34vw, 360px);
    }

    .imagen-principal {
        height: 270px;
    }

    .carrusel-img,
    .tarjeta-habitacion img {
        height: 240px;
    }

    .accesos-rapidos,
    .cuadricula-servicios {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .caja-acceso {
        padding: 18px 10px;
    }

    .bienestar-collage img {
        height: 220px;
    }

    .tarjeta-hibrida {
        display: grid;
        grid-template-columns: 220px 1fr;
    }

    .tarjeta-hibrida .tarjeta-imagen {
        height: 100%;
        min-height: 220px;
    }

    .tarjeta-hibrida:not(:has(.tarjeta-imagen)) .cuerpo-tarjeta {
        grid-column: 1 / -1;
    }

    .encabezado-sin-foto {
        grid-column: 1 / -1;
    }

    .pie-pagina {
        padding: 28px 32px 14px;
    }
}

@media (min-width: 1024px) {
    .contenedor-app {
        width: 100%;
        max-width: none;
    }

    .cabecera {
        height: 72px;
        padding: 0 40px;
    }

    .logos-cabecera img {
        height: 48px;
    }

    .boton-menu {
        display: none;
    }

    .fondo-oscuro {
        display: none !important;
    }

    .menu-lateral {
        position: sticky;
        top: 72px;
        right: auto;
        width: 100%;
        height: auto;
        min-height: 58px;
        flex-direction: row;
        align-items: stretch;
        overflow-x: auto;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .etiqueta-menu {
        display: none;
    }

    .enlace-menu {
        flex: 1 0 auto;
        justify-content: center;
        padding: 14px 18px;
        border-left: none;
        border-bottom: 4px solid transparent;
        white-space: nowrap;
    }

    .enlace-menu span {
        margin-right: 8px;
    }

    .enlace-menu.activo {
        border-left-color: transparent;
        border-bottom-color: var(--dorado);
    }

    .contenido {
        padding: 40px 56px;
    }

    .vista,
    .contenido-principal {
        max-width: 1120px;
        margin: 0 auto;
    }

    .titulo-seccion {
        font-size: 1.7rem;
    }

    .accesos-rapidos,
    .cuadricula-servicios {
        grid-template-columns: repeat(6, 1fr);
    }

    .tarjeta-habitacion {
        display: grid;
        grid-template-columns: minmax(320px, 42%) 1fr;
        margin-bottom: 24px;
    }

    .tarjeta-habitacion .carrusel-contenedor {
        height: 100%;
    }

    .tarjeta-habitacion .carrusel-contenedor,
    .tarjeta-habitacion .carrusel-swipe {
        height: 300px;
    }

    .tarjeta-habitacion img,
    .carrusel-slide img,
    .tarjeta-habitacion .carrusel-img {
        height: 300px;
        min-height: 0;
    }

    .tarjeta-habitacion:has(.carrusel-swipe) {
        grid-template-columns: minmax(320px, 42%) 1fr;
    }

    .tarjeta-habitacion:has(.carrusel-swipe) .carrusel-swipe {
        grid-column: 1;
        grid-row: 1;
    }

    .tarjeta-habitacion:has(.carrusel-swipe) .indicador-swipe {
        grid-column: 1;
        grid-row: 2;
    }

    .tarjeta-habitacion:has(.carrusel-swipe) .tarjeta-habitacion-info {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .tarjeta-habitacion-info {
        padding: 24px;
    }

    .tarjeta-paquete {
        height: 220px;
    }

    .paquetes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .paquetes-grid .tarjeta-horizontal-img {
        height: 210px;
    }

    .pie-pagina {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        column-gap: 32px;
        padding: 28px 56px 16px;
    }

    .pie-direccion,
    .pie-redes,
    .pie-legal {
        flex-basis: 100%;
    }

    .pie-contacto {
        margin-bottom: 12px;
    }
}