/* 1. Configuración Global y Variables */
:root {
    --dark-bg: #000000;
    --accent-gold: #e4c293;
    --light-gold-bg: #f9f4ee;
    --text-gray: #777;
    --border-color: #eee;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

html, body {
    background-color: #ffffff !important;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    margin: 0;
    padding: 0;
}

/* 2. Estructura del Header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 10px 20px;
    box-sizing: border-box;
    background-color: #fff;
}

.logo {
    max-height: 200px;
    width: auto;
}

/* 3. Contenedor de Acciones */
.header-actions {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* 4. Selector de Idiomas */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9f9f9;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #ddd;
}

.language-switcher i {
    color: #666;
    font-size: 14px;
}

.lang-select {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    color: #333;
    padding-right: 5px;
}

/* Estilo para cuando pasas el ratón por encima del contenedor */
.language-switcher:hover {
    background-color: #eee;
    border-color: #bbb;
}

/* 5. Botón Compartir */
.share-trigger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #333;
    padding: 5px;
}

.share-trigger span {
    text-decoration: underline;
}

.share-trigger i {
    font-size: 14px;
}

/* 6. Modal Compartir */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.5);

    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;

    border-radius: 12px;
    padding: 24px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);

    animation: fadeIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid var(--border-color);

    padding-bottom: 15px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.property-title {
    font-weight: bold;
    margin: 20px 0;
    font-size: 16px;
}

/* 7. Grid Compartir */
.share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 15px;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: white;

    cursor: pointer;

    font-size: 14px;

    transition: background 0.2s;

    text-align: left;
}

.share-option:hover {
    background: #f9f9f9;
}

.share-option i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.share-option:first-child {
    grid-column: span 2;
}

/* 8. Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HEADER PROPIEDAD */
.property-header {
    max-width: var(--container-width);

    margin: 20px auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    padding: 0 20px;
}

.property-header h1 {
    font-size: 26px;
    margin-bottom: 5px;
    color: #222;
}

.location-text {
    color: var(--text-gray);
    font-size: 14px;
}

/* GRID GALERÍA */
.gallery-grid {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-container {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;

    height: 500px;

    border-radius: 18px;

    overflow: hidden;
}

.main-img img,
.sub-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    cursor: pointer;

    transition: filter 0.3s ease;
}

.main-img img:hover,
.sub-img img:hover {
    filter: brightness(0.92);
}

.secondary-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

/* BOTONES GALERÍA */
.gallery-buttons {
    position: absolute;

    bottom: 20px;
    right: 20px;

    display: flex;
    gap: 10px;
}

.btn-gallery {
    background: rgba(255,255,255,0.95);

    border: none;

    padding: 10px 16px;

    border-radius: 10px;

    font-weight: 600;

    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 14px;

    box-shadow: 0 6px 20px rgba(0,0,0,0.12);

    transition: all .25s ease;
}

.btn-gallery:hover {
    transform: translateY(-1px);
}

/* ============================= */
/* MODAL VISOR PREMIUM */
/* ============================= */

#fullGalleryModal.modal-fullscreen {
    background: rgba(255,255,255,0.96);

    backdrop-filter: blur(3px);

    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 99999;
}

.modal-inner-swiper {
    width: 92%;
    max-width: 1500px;

    height: 100vh;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
}

/* BOTÓN CERRAR */
.close-modal {
    position: absolute;

    top: 20px;
    right: 30px;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    border: none;

    background: rgba(255,255,255,0.92);

    color: #222;

    font-size: 34px;

    cursor: pointer;

    z-index: 100001;

    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* CONTADOR */
.swiper-counter {
    color: #222;

    text-align: center;

    margin-bottom: 18px;

    font-size: 16px;

    font-weight: 600;
}

/* SWIPER PRINCIPAL */
.mainSwiper {
    width: 100%;
    height: 72vh;
}

.mainSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mainSwiper .swiper-slide img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

/* FLECHAS */
.mainSwiper .swiper-button-next,
.mainSwiper .swiper-button-prev {
    color: #111 !important;

    top: 50%;

    transform: translateY(-50%);
}

.mainSwiper .swiper-button-next:after,
.mainSwiper .swiper-button-prev:after {
    font-size: 34px;
    font-weight: bold;
}

/* MINIATURAS */
.thumbSwiper {
    width: 100%;
    height: 95px;

    margin-top: 18px;
}

.thumbSwiper .swiper-slide {
    opacity: .45;

    transition: opacity .3s ease;

    cursor: pointer;
}

.thumbSwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.thumbSwiper img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 10px;
}

/* TOUR VIRTUAL */
#virtualTourModal.modal-fullscreen {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,0.96);

    z-index: 999999;
}

#tourIframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================
   SHARE MODAL PREMIUM
========================= */

.share-modal {
    max-width: 620px;
    width: 92%;

    border-radius: 14px;

    padding: 28px;

    background: #fff;
}

.share-property-title {
    margin-top: 25px;
    margin-bottom: 25px;

    font-size: 28px;
    font-weight: 600;
    color: #222;

    line-height: 1.3;
}

.share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 22px 20px;

    border: 1px solid #ddd;
    border-radius: 16px;

    background: #fff;

    cursor: pointer;

    transition: all .25s ease;

    font-size: 17px;
    font-weight: 500;

    color: #222;
}

.share-option:hover {
    border-color: #bbb;
    background: #fafafa;
    transform: translateY(-1px);
}

.share-option.full {
    grid-column: span 2;
}

.share-option i {
    font-size: 24px;
    width: 24px;
    text-align: center;
}

/* ICONOS COLORES */

.fa-whatsapp {
    color: #25D366;
}

.fa-facebook-f {
    color: #1877F2;
}

.fa-telegram {
    color: #229ED9;
}

.fa-envelope {
    color: #333;
}

.fa-copy {
    color: #333;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .share-grid {
        grid-template-columns: 1fr;
    }

    .share-option.full {
        grid-column: span 1;
    }

    .share-property-title {
        font-size: 20px;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .gallery-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .secondary-imgs {
        display: none;
    }

    .main-img {
        height: 350px;
    }

    .gallery-buttons {
        bottom: 15px;
        right: 15px;

        flex-direction: column;
    }

    .btn-gallery {
        font-size: 13px;
        padding: 10px 14px;
    }

    .mainSwiper {
        height: 58vh;
    }

    .thumbSwiper {
        height: 70px;
    }

    .close-modal {
        top: 15px;
        right: 15px;
    }
}

/* Layout Principal */
.content-wrapper {
    max-width: var(--container-width);
    margin: 40px auto;
    display: flex;
    gap: 60px;
    padding: 0 20px;
}

.info-column { flex: 2; }
.booking-column { flex: 1; }

/* Widget Sticky */
.booking-widget {
    position: sticky;
    top: 20px; /* Se queda pegado al bajar */
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    background: #fff;
}

.booking-widget h3 { margin-top: 0; font-size: 18px; margin-bottom: 24px; }

/* Formulario Reserva */
.input-group { border: 1px solid #ddd; border-radius: 8px; margin-bottom: 12px; padding: 10px; }
.input-group label { display: block; font-size: 10px; text-transform: uppercase; font-weight: bold; }
.date-inputs { display: flex; align-items: center; gap: 5px; }
.date-inputs input { border: none; width: 100%; font-size: 14px; outline: none; cursor: pointer; }
.guest-select { border: none; width: 100%; font-size: 14px; outline: none; background: transparent; }

.btn-check {
    width: 100%;
    background: #e0b57b; 
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

/* Iconos Izquierda */
.quick-features { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; }
.quick-features span { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.quick-features i { font-size: 18px; width: 20px; }

.separator { border: 0; border-top: 1px solid #eee; margin: 30px 0; }

/* Time Cards */
.time-cards { display: flex; gap: 15px; margin-top: 20px; }
.time-card { background: #f2f2f2; padding: 12px 20px; border-radius: 50px; display: flex; align-items: center; gap: 10px; font-size: 14px; }

/* Dormitorios */
.bedroom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
.bedroom-card { border: 1px solid #ddd; padding: 20px; border-radius: 12px; }
.bedroom-title { font-weight: bold; margin: 0 0 10px 0; }
.bedroom-detail { font-size: 14px; color: #666; margin: 0; }

/* Leer más logic */
#desc-text {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    transition: max-height 0.3s ease-out; /* Animación suave al abrir */
}

/* Solo para cuando está cerrado */
.desc-collapsed {
    max-height: 250px;
    overflow: hidden;
    position: relative;
}

/* El degradado solo aparece cuando está colapsado */
.desc-collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, white);
}
#readMoreBtn { background: none; border: none; color: #000; text-decoration: underline; font-weight: bold; cursor: pointer; margin-top: 10px; }

.property-type-location {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.property-type-location strong {
    color: #333;
    font-style: normal;
}

.badge-container {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.badge-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border: 1px solid #e0e0e0; /* Borde suave de la imagen */
    border-radius: 50px;       /* Forma de píldora */
    background-color: #fff;
    transition: all 0.2s ease;
}

.badge-feature i {
    font-size: 16px;
    color: #333; /* Color del icono ondas */
}

.badge-feature span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Efecto hover opcional */
.badge-feature:hover {
    border-color: #e0b57b;
    background-color: #f9f9f9;
}

.services-section {
    padding: 20px 0;
}

.services-preview, .services-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    gap: 20px;
    margin-top: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #333;
}

.service-item i {
    width: 20px;
    font-size: 18px;
    text-align: center;
}

.btn-show-more {
    background: none;
    border: none;
    color: #000;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Modal específico para servicios */
.services-modal {
    max-width: 1000px;
    width: 95%;
    max-height: 80vh;
    overflow-y: auto;
}

.services-full-grid {
    grid-template-columns: repeat(2, 1fr); /* En móvil 2 col, puedes usar 3 en desktop */
}

@media (min-width: 768px) {
    .services-full-grid { grid-template-columns: repeat(3, 1fr); }
}
.location-section {
    max-width: var(--container-width);
    margin-left: auto;  /* Centra horizontalmente */
    margin-right: auto; /* Centra horizontalmente */
    padding: 20px 0;
    margin-top: 30px;
}

.address-detail {
    font-size: 1.0rem;
    color: #444;
    margin-bottom: 10px;
}

.map-actions {
    margin-top: 10px;
}

.btn-google-maps {
    color: #0066cc;
    text-decoration: underline;
    font-weight: 500;
    display: inline-block;
}

#map {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1; /* Evita que el mapa tape los menús desplegables */
}

/* ==========================================================================
   1. ADAPTACIÓN A ANCHO COMPLETO (FLATPICKR RESPONSIVE)
   ========================================================================== */

/* Fuerza al calendario inline a ocupar todo el hueco disponible */
.flatpickr-calendar.inline {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Distribuye los meses visibles de forma fluida */
.flatpickr-months {
    width: 100% !important;
    display: flex;
}

.flatpickr-month {
    flex: 1;
    max-width: 100% !important;
}

/* Cuadrículas internas al 100% del contenedor */
.flatpickr-innerContainer, 
.flatpickr-rContainer, 
.flatpickr-days, 
.dayContainer {
    width: 100% !important;
    max-width: 100% !important;
}

#calendarContainer {
    scroll-margin-top: 80px; /* Aquí le das el margen superior que quieras en píxeles */
}

/* ==========================================================================
   2. ESTILOS DE LOS DÍAS Y COMPORTAMIENTO VISUAL
   ========================================================================== */

.flatpickr-day {
    max-width: none !important;
    flex: 1;
    height: 45px !important; 
    line-height: 45px !important;
    border-radius: 6px; /* Mejor que 50% para que no se deforme al estirarse a lo ancho */
    transition: background 0.15s ease;
}

.flatpickr-day:hover {
    background: #e8f8f6;
}

/* ==========================================================================
   3. FECHAS RESERVADAS (Combinado para evitar duplicar código)
   ========================================================================== */

/* Agrupamos el estado normal y el disabled de los días reservados */
.flatpickr-day.reserved-day,
.flatpickr-day.flatpickr-disabled.reserved-day,
.flatpickr-day.flatpickr-disabled.reserved-day:hover {
    background: #ff4d4f !important;
    border-color: #ff4d4f !important;
    color: #ffffff !important;
    opacity: 1 !important;
    border-radius: 6px;
}

.flatpickr-day.flatpickr-disabled.reserved-day {
    cursor: not-allowed;
}

/* ==========================================================================
   4. RANGOS DE SELECCIÓN
   ========================================================================== */

.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #00bfa5 !important;
    border-color: #00bfa5 !important;
    color: white !important;
}

.flatpickr-day.inRange {
    background: #b2f1ea !important;
    border-color: #b2f1ea !important;
    box-shadow: none;
}

.guest-box {
    position: relative;
}

.guest-display {
    border: 1px solid #ddd;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
}

.guest-popup {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    padding: 20px;
    display: none;
    z-index: 100;
}

.guest-popup.active {
    display: block;
}

.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.counter button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #00bfa5;
    background: white;
    cursor: pointer;
    font-size: 18px;
}
.calendar-section {
    margin-top: 40px;
}

#calendarContainer {
    margin-top: 25px;
}

#summaryDates {
    cursor: pointer;
}

/* Contenedor principal centrado a 1200px */
.know-before-you-go-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: system-ui, -apple-system, sans-serif;
}

/* Título principal de la sección */
.know-before-you-go-container .section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 24px;
}

/* Envoltura para poner las 3 columnas en horizontal */
.know-before-you-go-container .sections-wrapper {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

/* Cada una de las 3 secciones/columnas */
.know-before-you-go-container .services-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Títulos de las columnas */
.know-before-you-go-container .services-section h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 16px;
}

/* Listado vertical de ítems dentro de cada columna */
.know-before-you-go-container .services-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
}

/* Fila de cada servicio/norma */
.know-before-you-go-container .service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #222222;
    font-size: 0.95rem;
}

/* Iconos de FontAwesome */
.know-before-you-go-container .service-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #222222;
}

/* Botón Ver más estilo enlace de las capturas */
.know-before-you-go-container .btn-show-more {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #222222;
    text-decoration: underline;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto; /* Empuja el botón al fondo si las columnas tienen distinta altura */
}

.know-before-you-go-container .btn-show-more i {
    font-size: 0.75rem;
    text-decoration: none;
}

/* Ajuste responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .know-before-you-go-container .sections-wrapper {
        flex-direction: column;
        gap: 32px;
    }
}

/* --- ESTILOS DEL MODAL TIPO AIRBNB --- */
/* --- CAPA DE FONDO DEL MODAL (OVERLAY) --- */
#modal-normas, #modal-cancelacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Sombreado de fondo */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500; /* Nos aseguramos de que tape cabeceras o menús */
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* --- ESTADO ACTIVO --- */
#modal-normas.is-active, #modal-cancelacion.is-active {
    opacity: 1;
    visibility: visible;
}

/* --- CUADRO BLANCO INTERNO (Estilo Exacto Airbnb) --- */
#modal-normas .modal-custom-size, #modal-cancelacion .modal-custom-size {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    
    /* El acolchado interno amplio de las capturas */
    padding: 32px 40px 40px 40px; 
    box-sizing: border-box;
    
    /* Tus medidas deseadas */
    max-width: 1000px;
    width: 95%;
    max-height: 80vh;

    /* Efecto de entrada suave hacia el frente */
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Animación cuando se abre */
#modal-normas.is-active .modal-custom-size, 
#modal-cancelacion.is-active .modal-custom-size {
    transform: scale(1);
}

/* --- NUEVA CABECERA DEL MODAL: EMPUJA LA X A LA DERECHA --- */
#modal-normas .modal-custom-size::before,
#modal-cancelacion .modal-custom-size::before {
    /* Si no usas un div contenedor para la X, este truco de flexbox o el cambio en HTML ayuda,
       pero para ir sobre seguro con tu código actual, alineamos el botón directamente abajo */
}

/* --- BOTÓN DE CIERRE (FORZADO ARRIBA A LA DERECHA) --- */
#modal-normas .btn-close-custom, 
#modal-cancelacion .btn-close-custom {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #222222;
    cursor: pointer;
    padding: 6px;
    margin-bottom: 10px;
    
    /* Mueve el elemento a la derecha dentro del contenedor flex */
    align-self: flex-end; 
    
    /* Estilo circular sutil al pasar el ratón (como Airbnb) */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    transition: background-color 0.2s ease;
}

#modal-normas .btn-close-custom:hover, 
#modal-cancelacion .btn-close-custom:hover {
    background-color: #f7f7f7;
    color: #000000;
}

/* --- CUERPO DE TEXTO CON SCROLL INTERNO --- */
#modal-normas .custom-scroll-body, 
#modal-cancelacion .custom-scroll-body {
    overflow-y: auto;
    flex: 1;
    padding-right: 15px; /* Margen para que la barra de scroll no pise las letras */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- TIPOGRAFÍA DE LOS TÍTULOS PRINCIPALES --- */
#modal-normas .custom-scroll-body h4, 
#modal-cancelacion .custom-scroll-body h4 {
    font-size: 1.6rem;
    font-weight: 600; /* Peso exacto Airbnb, marcado pero limpio */
    color: #222222;
    margin-top: 0;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

/* --- TIPOGRAFÍA DEL CONTENIDO / TEXTO PARRAFO --- */
#modal-normas .custom-scroll-body div, 
#modal-cancelacion .custom-scroll-body div {
    font-size: 1.05rem;
    line-height: 1.65; /* Interlineado alto para que sea muy legible */
    color: #222222;
    font-weight: 400;
}

@media (max-width: 768px) {
    .know-before-you-go-container .sections-wrapper {
        flex-direction: column;
        gap: 32px;
    }
}

#calendar-message-box {
        margin-top: 15px;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 14px;
        line-height: 1.4;
        transition: all 0.3s ease;
        display: none; /* Se muestra solo cuando hay acción */
    }
    .calendar-msg-info {
        display: block !important;
        background-color: #f4f6f9;
        color: #556370;
        border-left: 4px solid #0076ff;
    }
    .calendar-msg-info-cma {
        display: block !important;
        background-color: #f4f6f9;
        color: #556370;
        font-size: 12px;
       
    }
    .calendar-msg-error {
        display: block !important;
        background-color: #fdf2f2;
        color: #9b2c2c;
        border-left: 4px solid #e53e3e;
    }

    /* Estilo para los días que no llegan a la estancia mínima */
.dia-insuficiente {
    color: #b0b8c1 !important;
    background: #f1f3f5 !important;
    text-decoration: line-through;
    pointer-events: none; /* Evita que se pueda interactuar visualmente */
}

/* Aseguramos que si es el día de entrada no se emborrone */
.dia-insuficiente.selected {
    text-decoration: none !important;
    color: #fff !important;
    background: #212529 !important; /* Tu color de selección */
}

.extra-item-fila {
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        margin-bottom: 10px; 
        color: #4a5568;
        font-size: 14px;
    }
    .extra-col-izquierda {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    /* Estilos del bocadillo (Tooltip) */
    .tooltip-extra {
        position: relative;
        display: inline-block;
        cursor: pointer;
        background: #e2e8f0;
        color: #4a5568;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        font-size: 11px;
        font-weight: bold;
        text-align: center;
        line-line-height: 18px;
    }
    .tooltip-extra .tooltip-text {
        visibility: hidden;
        width: 220px;
        background-color: #2d3748;
        color: #fff;
        text-align: left;
        border-radius: 6px;
        padding: 8px 12px;
        position: absolute;
        z-index: 999;
        bottom: 125%; /* Aparece arriba del botón */
        left: 50%;
        margin-left: -110px;
        opacity: 0;
        transition: opacity 0.2s;
        font-size: 12px;
        font-weight: normal;
        line-height: 1.4;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    /* Mostrar bocadillo al pasar o pulsar */
    .tooltip-extra:hover .tooltip-text, .tooltip-extra:focus .tooltip-text {
        visibility: visible;
        opacity: 1;
    }

            .footer-legal {
    text-align: center;
    padding: 30px 20px;
    background-color: #f7fafc; /* Ajusta según el color de fondo de tu web */
    margin-top: 40px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto; /* Esto centra el contenedor en la pantalla */
}

.footer-text {
    margin-bottom: 10px;
    font-size: 14px;
    color: #718096;
}

.footer-links a {
    color: #4a5568;
    text-decoration: none;
    font-size: 13px;
    margin: 0 5px;
}

.footer-links a:hover {
    color: #dca76d; /* Tu color principal */
}

.footer-links span {
    color: #cbd5e0;
    margin: 0 5px;
}

.btn-clear-calendar{
    background:#fff;
    border:1px solid #d1d5db;
    color:#444;
    padding:10px 20px;
    border-radius:8px;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
    transition:.2s;
}

.btn-clear-calendar:hover{
    background:#f5f5f5;
}

.btn-clear-calendar i{
    margin-right:6px;
}

@media (max-width: 991px) {
    .grid-resumen-estrellas {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px 30px !important;
    }
    .card-opinion-publica {
        flex: 0 0 100% !important;
        min-width: 100% !important;
    }
}

@media (max-width: 575px) {
    .grid-resumen-estrellas {
        grid-template-columns: 1fr !important;
        gap: 12px 0 !important;
    }
}