:root {
    --primary: #1a1a1a;
    --secondary: #796446;
    --darkbr: rgb(46, 34, 24);
    --bg-light: #fdfdfd;
    --white: #ffffff;
}

/* --- Unificación de Fuentes --- */
h1, h3, .card h2 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 400;
}

h2 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 400;
}


/* El h2 de disponibilidad lo ponemos en Playfair como pediste antes */
.booking-wrapper h2 {
    font-family: 'Playfair Display', serif !important;
}


/* --- Reducción de márgenes superiores --- */


.intro { 
    text-align: center; 
    margin-bottom: 30px; /* Menos espacio antes del carrusel */
}

.intro h1 { 
    font-size: 3rem; 
    margin-bottom: 5px; /* Pegamos el título al subtítulo */
    margin-top: 5px;
}

/* --- Estilos de Página de Detalle --- */

.detail-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px; /* Reducido de 60px a 30px para que suba todo */
}
.subtitle { 
    color: var(--secondary); 
    font-family: 'Inter', sans-serif !important;
    font-size: 1.3rem; 
 }

.apt-price-detail {
    display: inline-block;
    margin-top: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1rem;
    border-bottom: 1px solid var(--secondary); /* Una línea fina debajo */
    padding-bottom: 5px;
}

/* Carrusel */
.swiper {
    width: 100%;
    height: 600px;
    margin-bottom: 70px;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto evita que la foto se estire */
}
/* --- Personalizar Flechas y Puntos del Carrusel --- */

:root {
    /* Esto cambia tanto las flechas como los puntos de una vez */
    --swiper-theme-color: var(--white) !important; 
}
/* Prestaciones */
.amenities { margin-bottom: 80px; }
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.amenity {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Calendario y Mapas */
.map-wrapper {
    margin-top: 30px;
    margin-bottom: 80px;
    border: 1px solid #eee;
    background: white;
}

/* Contacto */
.contact-footer {
    text-align: center;
    padding: 100px 20px;
    background: var(--secondary);
    color: white;
    border-radius: 4px;
}
.contact-footer h2 { color: white; }
.contact-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.contact-btns a {
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 2px;
}
.btn-whatsapp { background: #000000; color: white; }
.btn-email { border: 1px solid white; color: white; }

/* Ajuste móvil */
@media (max-width: 768px) {
    .swiper { height: 350px; }
    .contact-btns { flex-direction: column; }

    
}

/* Contenedor para ponerlos en paralelo */
.booking-wrapper {
    display: flex;
    gap: 3px; /* Espacio entre el calendario y la calculadora */
    justify-content: center;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: stretch;
}
.booking-wrapper h2 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 400;
    font-size: 2rem; /* Ajusta el tamaño a tu gusto */
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center; /* O left, según prefieras */
}
/* Ajuste de tamaño para que ambos pesen lo mismo */
.calendar-wrapper, 
.calculator-section {
    flex: 1; /* Esto hace que ambos midan lo mismo */
    min-width: 300px; /* Para que no se compriman demasiado */
    margin: 0 !important; /* Quitamos márgenes antiguos que estorben */
    padding: 10px;
    background: var(--white);
    border-radius: 18px;
    justify-content: center;
}

/* Hacer el calendario (iframe o widget) más pequeño por dentro */
.calendar-wrapper iframe {
    width: 100%;
    height: 400px; /* Ajusta esta altura para que sea más bajito */
    border: none;
}
.btn-calc {
    background-color: var(--secondary); /* Tu color --secondary */
    color: white;
    border: none;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-calc:hover {
    background-color: #1a1a1a; /* Negro al pasar el ratón */
}

.calculator-section .card {
    border: none !important;      /* Esto elimina cualquier borde gris */
    box-shadow: none !important;  /* Esto elimina la sombra si todavía tiene */
}

/* Ajuste para móviles: si la pantalla es estrecha, se ponen uno abajo del otro */
@media (max-width: 850px) {
    .booking-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .calendar-wrapper, 
    .calculator-section {
        width: 100%;
    }
    
}

/* --- Unificar fuente con la Navbar (Inter) --- */


/* 2. El texto del resultado (donde sale el precio final) */
#resultado, 
.success, 
.error {
    font-family: 'Inter', sans-serif !important;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

/* 3. Las etiquetas y los inputs (Entrada, Salida, Huéspedes) */
.card label, 
.card input, 
.card select {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400;
}



/* Estilos específicos para la Calculadora y Contacto (Integrados) */

/* 1. El botón de calcular */
.btn-calc, 
#btn-procesar,
.calculator-section button {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600; /* Para que tenga fuerza como el de la navbar */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 15px;
    width: 100%; padding: 16px; background-color: var(--secondary); 
    color: white; border: none; border-radius: 8px; cursor: pointer; 
    font-size: 1.1rem; font-weight: bold; transition: 0.3s;
}
.btn-calc:hover { background-color: var(--darkbr); transform: translateY(-2px); }

.calculator-section {
    padding: 60px 20px;
    background-color: #ffffff; 
    display: flex;
    justify-content: center;
}
.card { 
    background: white; 
    padding: 2.5rem; 
    border-radius: 15px; 
    width: 100%; 
    max-width: 450px; 
    text-align: center;
}
.card h2 { color: #000000; margin-top: 0; font-family: 'Playfair Display', serif; font-size: 1.8rem; }

.field { margin-bottom: 1.2rem; text-align: left; }
    label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: #666; font-size: 0.9rem; }
    input { 
        width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; 
        box-sizing: border-box; font-family: 'Inter', sans-serif;
}


#resultado { margin-top: 1.5rem; padding: 1rem; border-radius: 8px; display: none; line-height: 1.6; }
.success { background-color: #f0f9f1; border: 1px solid #f0e6ca; color: var(--secondary); }
.error { background-color: #fff5f5; border: 1px solid #feb2b2; color: #9b2c2c; }

.calendar-wrapper { width: 100%; max-width: 1000px; margin: 0 auto; padding: 20px; }
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; padding: 20px; }
.amenity { background: #fff; padding: 15px; border-radius: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); display: flex; align-items: center; gap: 10px; }

/* Estilos Sección Contacto Footer */
.contact-footer {
    text-align: center;
    padding: 20px 40px;
    background: var(--darkbr);
    color: white;
    border-radius: 20px;
    margin: 20px 20px;
}
.contact-container { max-width: 400px; margin: 0 auto; }
.contact-footer h2 { color: white; font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 15px; }
.contact-item { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 20px; 
    background: rgba(255,255,255,0.05); 
    padding: 15px; 
    border-radius: 12px; 
}
.contact-item .info { text-align: left; }
.contact-item .label { font-size: 0.8rem; color: #aaa; font-weight: 600; margin: 0; text-transform: uppercase; }
.contact-link { color: white; text-decoration: none; font-size: 1.1rem; font-weight: 600; transition: 0.3s; }
.contact-link:hover { color: #d4a373; }
.btn-whatsapp-footer { 
    display: inline-block; 
    background-color: var(--secondary); 
    color: white; 
    padding: 15px 35px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: bold; 
    margin-top: 20px; 
    transition: 0.3s; 
    box-shadow: 0 4px 10px rgba(224, 182, 126, 0.3); 
}
.btn-whatsapp-footer:hover { background-color: #21e05b; transform: translateY(-3px); }

/* Estilos Calendario Dinámico */
.nordic-calendar {
    background: white;
    padding: 20px;
    border-radius: 15px;
    max-width: 400px;
    margin: 0 auto;
}
.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}
.cal-header button {
    background: none; border: none; font-size: 20px; cursor: pointer; color: var(--secondary);
}
.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
}
.available { background: #f0f0f0; color: #333; }
.busy { 
    background: #e2a5a5; /* Rojo pastel suave */
    color: white;
    text-decoration: line-through;
}

/* Modales y Panel Admin */
.modal-nordic {
    position: fixed; top:0; left:0; width:100%; height:100%; 
    background: rgba(255,255,255,0.95); display: none; z-index: 2000;
}
.admin-panel-fixed {
    position: fixed; bottom: 0; width: 100%;
    background: white; border-top: 2px solid var(--secondary);
    padding: 20px; z-index: 1500; box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}
.admin-controls {
    display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap;
}
.btn-text { background:none; border:none; text-decoration:underline; color:#666; cursor:pointer; }
.hidden { display: none !important; }