/* =========================================================
   Hotel Casa Monte Ruesga — sitio web público
   Paleta tomada del logotipo: terracota, oro y café
   ========================================================= */
:root {
    --terracota: #b4532a;
    --terracota-osc: #93421f;
    --oro: #e0a030;
    --cafe: #2d2420;
    --crema: #f8f4ef;
    --texto: #4a403b;
}
html { scroll-behavior: smooth; }
body { font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif; color: var(--texto); font-size: 16px; background: #fff; overflow-x: hidden; }
h1, h2, h3, h4, .titulo { font-family: 'Playfair Display', Georgia, serif; color: var(--cafe); }
a { color: var(--terracota); }
a:hover, a:focus { color: var(--terracota-osc); }
.oculto { position: absolute; left: -9999px; }

/* ---------- Botones ---------- */
.btn { border-radius: 0; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; font-weight: 700; padding: 10px 22px; transition: all .3s; }
.btn-lg { padding: 14px 30px; font-size: 14px; }
.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-hotel { background: var(--terracota); color: #fff; border: 2px solid var(--terracota); }
.btn-hotel:hover, .btn-hotel:focus { background: var(--terracota-osc); border-color: var(--terracota-osc); color: #fff; }
.btn-borde { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-borde:hover { background: #fff; color: var(--cafe); }
.btn-borde-oscuro { background: transparent; color: var(--cafe); border: 2px solid var(--cafe); }
.btn-borde-oscuro:hover { background: var(--cafe); color: #fff; }

/* ---------- Barra superior y menú ---------- */
.barra-superior { background: var(--cafe); color: rgba(255,255,255,.75); font-size: 13px; padding: 7px 0; position: relative; z-index: 1031; }
.barra-superior span { margin-right: 22px; }
.barra-superior i { color: var(--oro); margin-right: 4px; }
.barra-superior .acceso-personal { color: #fff; font-weight: 700; letter-spacing: .5px; }
.barra-superior .acceso-personal:hover { color: var(--oro); text-decoration: none; }

.navbar-hotel { position: absolute; top: 33px; left: 0; right: 0; z-index: 1030; background: transparent; border: 0; border-radius: 0; margin: 0; transition: all .35s; }
.navbar-hotel .navbar-brand { height: auto; padding: 10px 15px; }
.navbar-hotel .navbar-brand img { height: 62px; transition: height .35s; background: rgba(255,255,255,.94); padding: 4px 10px; border-radius: 3px; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.navbar-hotel .navbar-nav > li > a { color: #fff; text-transform: uppercase; font-size: 13px; letter-spacing: 1.5px; font-weight: 700; padding: 32px 14px; text-shadow: 0 1px 3px rgba(0,0,0,.4); transition: padding .35s, color .2s; }
.navbar-hotel .navbar-nav > li > a:hover, .navbar-hotel .navbar-nav > .active > a, .navbar-hotel .navbar-nav > .active > a:hover, .navbar-hotel .navbar-nav > .active > a:focus { color: var(--oro); background: transparent; }
.navbar-hotel .nav-cta > a { color: #fff !important; }
.navbar-hotel .nav-cta > a:before { content: ''; position: absolute; left: 4px; right: 4px; top: 22px; bottom: 22px; border: 2px solid var(--oro); z-index: -1; transition: all .35s; }
.navbar-hotel .nav-cta > a:hover:before { background: var(--oro); }
.navbar-hotel .navbar-toggle { border-color: rgba(255,255,255,.6); margin-top: 26px; }
.navbar-hotel .navbar-toggle .icon-bar { background: #fff; }

.navbar-hotel.solida { position: fixed; top: 0; background: rgba(45,36,32,.97); box-shadow: 0 2px 14px rgba(0,0,0,.25); }
.navbar-hotel.solida .navbar-brand img { height: 46px; }
.navbar-hotel.solida .navbar-nav > li > a { padding-top: 24px; padding-bottom: 24px; text-shadow: none; }
.navbar-hotel.solida .nav-cta > a:before { top: 14px; bottom: 14px; }
.navbar-hotel.solida .navbar-toggle { margin-top: 18px; }
.pagina-interna .navbar-hotel.solida { position: relative; }
.pagina-interna .navbar-hotel.solida.fija { position: fixed; }

/* ---------- Portada (carrusel) ---------- */
.portada, .portada .carousel, .portada .item { height: 100vh; min-height: 560px; }
.portada .carousel-inner { height: 100%; }
.portada .item { background-size: cover; background-position: center; }
.portada .item:before { content: ''; position: absolute; inset: 0; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(25,18,15,.55) 0%, rgba(25,18,15,.25) 45%, rgba(25,18,15,.65) 100%); }
.carousel-fade .carousel-inner .item { transition: opacity 1.2s ease; opacity: 0; display: block; position: absolute; top: 0; left: 0; width: 100%; }
.carousel-fade .carousel-inner .active { opacity: 1; z-index: 1; }
.carousel-fade .carousel-inner .next.left, .carousel-fade .carousel-inner .prev.right { opacity: 1; z-index: 1; }
.carousel-fade .carousel-inner .active.left, .carousel-fade .carousel-inner .active.right { opacity: 0; transform: none; left: 0; }
.carousel-fade .carousel-inner > .next, .carousel-fade .carousel-inner > .prev, .carousel-fade .carousel-inner > .active.left, .carousel-fade .carousel-inner > .active.right { left: 0; transform: none; }
.carousel-fade .carousel-control { z-index: 3; }
.portada .item.active { animation: acercar 12s ease-out forwards; }
@keyframes acercar { from { background-size: 110% auto; } to { background-size: 118% auto; } }
@media (max-aspect-ratio: 16/10) { .portada .item.active { animation: none; } }
.portada-texto { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-45%); text-align: center; color: #fff; padding: 0 20px; z-index: 2; }
.portada-texto h1 { color: #fff; font-size: 62px; margin: 10px 0 15px; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.portada-texto p { font-size: 21px; font-weight: 300; margin-bottom: 35px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.portada-texto .btn { margin: 5px; }
.portada .carousel-control { background: none; width: 8%; font-size: 50px; display: flex; align-items: center; justify-content: center; opacity: .6; }
.portada .carousel-indicators { bottom: 90px; z-index: 3; }
.portada .carousel-indicators li { border-radius: 0; width: 26px; height: 3px; border: 0; background: rgba(255,255,255,.5); margin: 0 3px; }
.portada .carousel-indicators .active { background: var(--oro); width: 40px; height: 3px; margin: 0 3px; }
.item .portada-texto > * { opacity: 0; }
.item.active .portada-texto > * { animation: subir .9s ease forwards; }
.item.active .portada-texto > *:nth-child(2) { animation-delay: .2s; }
.item.active .portada-texto > *:nth-child(3) { animation-delay: .4s; }
.item.active .portada-texto > *:nth-child(n+4) { animation-delay: .6s; }
@keyframes subir { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.pre-titulo { display: inline-block; text-transform: uppercase; letter-spacing: 4px; font-size: 13px; font-weight: 700; color: var(--oro); }
.portada .pre-titulo { color: var(--oro); }

/* ---------- Barra de disponibilidad ---------- */
.reserva-barra { position: relative; z-index: 5; margin-top: -60px; }
.reserva-form { background: #fff; padding: 22px 25px 25px; box-shadow: 0 15px 40px rgba(0,0,0,.18); border-top: 4px solid var(--oro); }
.reserva-form label { text-transform: uppercase; font-size: 11px; letter-spacing: 2px; color: #8b7f78; }
.reserva-form label i { color: var(--terracota); }
.reserva-form .form-control { height: 50px; border-radius: 0; border: 1px solid #e2dad3; background: var(--crema); font-size: 16px; box-shadow: none; cursor: pointer; }
.reserva-form .btn-lg { height: 50px; padding-top: 0; padding-bottom: 0; }
.reserva-barra.interna { margin-top: -45px; }
@media (max-width: 767px) { .reserva-form .col-xs-6 { margin-bottom: 10px; } .reserva-form .btn-lg { margin-top: 0; } }

/* ---------- Secciones ---------- */
.seccion { padding: 100px 0; }
.fondo-crema { background: var(--crema); }
.fondo-oscuro { background: var(--cafe); }
.fondo-oscuro .titulo { color: #fff; }
.encabezado-seccion { margin-bottom: 55px; }
.encabezado-seccion p { color: #8b7f78; }
.titulo { font-size: 42px; margin: 8px 0 0; }
.separador { width: 70px; height: 3px; background: var(--terracota); margin: 22px 0 25px; position: relative; }
.separador:after { content: ''; position: absolute; left: 80px; top: 0; width: 20px; height: 3px; background: var(--oro); }
.separador.centro { margin-left: auto; margin-right: auto; }
.separador.centro:after { left: auto; right: -30px; }
.lead { font-size: 18px; line-height: 1.8; font-weight: 300; }

.cifras { margin-top: 30px; border-top: 1px solid #eee; padding-top: 25px; }
.cifras strong { display: block; font-family: 'Playfair Display', serif; font-size: 40px; color: var(--terracota); line-height: 1; }
.cifras span { text-transform: uppercase; font-size: 11px; letter-spacing: 2px; color: #8b7f78; }

.collage { position: relative; height: 470px; }
.collage img { position: absolute; object-fit: cover; box-shadow: 0 15px 35px rgba(0,0,0,.2); }
.collage .img-a { width: 70%; height: 340px; right: 0; top: 0; }
.collage .img-b { width: 55%; height: 260px; left: 0; bottom: 0; border: 8px solid #fff; }
.collage .sello { position: absolute; right: 8%; bottom: 30px; width: 140px; height: 140px; border-radius: 50%; background: var(--terracota); color: #fff; text-align: center; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 10px 25px rgba(180,83,42,.45); }
.collage .sello b { font-family: 'Playfair Display', serif; font-size: 26px; }
.collage .sello span { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; }

/* ---------- Frase con parallax ---------- */
.parallax { background-attachment: fixed; background-size: cover; background-position: center; position: relative; padding: 120px 0; color: #fff; }
.parallax:before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(45,36,32,.72); }
.parallax .container { position: relative; }
.parallax i { color: var(--oro); }
.parallax blockquote { border: 0; font-family: 'Playfair Display', serif; font-style: italic; font-size: 32px; max-width: 820px; margin: 15px auto 0; line-height: 1.5; }
@media (max-width: 991px) { .parallax { background-attachment: scroll; } }

/* ---------- Habitaciones ---------- */
.tarjeta-hab { background: #fff; margin-bottom: 30px; box-shadow: 0 3px 15px rgba(0,0,0,.06); transition: all .35s; }
.tarjeta-hab:hover { transform: translateY(-6px); box-shadow: 0 18px 35px rgba(0,0,0,.14); }
.tarjeta-hab .foto { height: 220px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.tarjeta-hab .precio { position: absolute; bottom: 0; left: 0; background: var(--terracota); color: #fff; padding: 8px 16px; font-family: 'Playfair Display', serif; font-size: 20px; }
.tarjeta-hab .precio small { color: rgba(255,255,255,.8); font-family: 'Lato', sans-serif; font-size: 12px; }
.tarjeta-hab .cuerpo { padding: 22px; }
.tarjeta-hab h3 { margin: 0 0 8px; font-size: 24px; }
.tarjeta-hab p { font-size: 14px; color: #7a6f69; min-height: 105px; }
.detalles { font-size: 13px; color: var(--terracota); margin-bottom: 10px; }
.detalles i { color: var(--oro); }

/* ---------- Servicios ---------- */
.servicio { text-align: center; padding: 20px 15px 25px; transition: all .3s; }
.servicio .icono { width: 86px; height: 86px; line-height: 82px; margin: 0 auto 18px; border: 2px solid #eadfd5; border-radius: 50%; font-size: 32px; color: var(--terracota); transition: all .35s; }
.servicio:hover .icono { background: var(--terracota); border-color: var(--terracota); color: #fff; transform: rotateY(180deg); }
.servicio h4 { font-size: 20px; }
.servicio p { font-size: 14px; color: #8b7f78; }

/* ---------- Galería ---------- */
.galeria { display: flex; flex-wrap: wrap; }
.galeria-item { width: 20%; position: relative; overflow: hidden; display: block; }
.galeria-item img { width: 100%; height: 240px; object-fit: cover; transition: transform .6s; }
.galeria-item span { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(180,83,42,.82); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; opacity: 0; transition: opacity .35s; font-family: 'Playfair Display', serif; font-size: 18px; }
.galeria-item span i { font-size: 26px; margin-bottom: 6px; }
.galeria-item:hover img { transform: scale(1.12); }
.galeria-item:hover span { opacity: 1; }
@media (max-width: 991px) { .galeria-item { width: 33.333%; } }
@media (max-width: 600px) { .galeria-item { width: 50%; } .galeria-item img { height: 160px; } }
.visor .modal-content { background: #111; border-radius: 0; border: 0; position: relative; }
.visor img { width: 100%; display: block; }
.visor p { color: #ddd; text-align: center; padding: 12px; margin: 0; font-family: 'Playfair Display', serif; font-size: 18px; }
.visor .close { position: absolute; right: 12px; top: 6px; color: #fff; opacity: .9; font-size: 36px; z-index: 2; text-shadow: 0 1px 4px #000; }
.visor-nav { position: absolute; top: 45%; color: #fff; font-size: 50px; padding: 0 18px; text-shadow: 0 1px 6px #000; }
.visor-nav:hover { color: var(--oro); }
.visor-nav.ant { left: 0; } .visor-nav.sig { right: 0; }

/* ---------- Contacto ---------- */
.mapa iframe { width: 100%; height: 330px; border: 0; filter: grayscale(.3) sepia(.15); }
.datos-contacto { background: var(--cafe); color: #e8ddd4; padding: 25px 30px 10px; }
.datos-contacto i { color: var(--oro); width: 22px; }
.datos-contacto a { color: #fff; }
.caja-form { background: var(--crema); padding: 35px; border-top: 4px solid var(--terracota); }
.caja-form h3 { margin-top: 0; }
.caja-form .form-control, #mSolicitud .form-control { border-radius: 0; height: 48px; box-shadow: none; border-color: #e2dad3; }
.caja-form textarea.form-control, #mSolicitud textarea.form-control { height: auto; }

/* ---------- Página interna / disponibilidad ---------- */
.banner-interno { background-size: cover; background-position: center; position: relative; padding: 110px 0 100px; text-align: center; }
.banner-interno:before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(45,36,32,.65); }
.banner-interno .container { position: relative; }
.banner-interno h1 { color: #fff; font-size: 48px; margin: 8px 0 0; }
.resumen-busqueda { margin-bottom: 30px; }
.resumen-busqueda h3 { font-size: 26px; }
.resumen-busqueda i { color: var(--oro); }
.resultado { background: #fff; margin-bottom: 25px; padding: 20px; box-shadow: 0 3px 15px rgba(0,0,0,.06); border-left: 4px solid var(--terracota); }
.resultado .foto { height: 190px; background-size: cover; background-position: center; }
.resultado h3 { margin-top: 5px; }
.resultado p { font-size: 14px; color: #7a6f69; }
.resultado.no-disponible { opacity: .6; border-left-color: #ccc; }
.precio-col { border-left: 1px solid #eee; }
.precio-noche { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--terracota); line-height: 1.1; }
.precio-noche small { display: block; font-family: 'Lato', sans-serif; font-size: 12px; color: #8b7f78; text-transform: uppercase; letter-spacing: 2px; }
.precio-total { margin: 10px 0 15px; font-size: 14px; }
.alert { border-radius: 0; }
.alert-grande { font-size: 17px; overflow: hidden; }
@media (max-width: 767px) { .precio-col { border-left: 0; margin-top: 15px; } .resultado .foto { margin-bottom: 15px; } }

/* ---------- Pie ---------- */
.pie { background: #241c19; color: #b9aca3; padding: 70px 0 0; font-size: 14px; }
.pie h4 { color: #fff; text-transform: uppercase; letter-spacing: 2px; font-family: 'Lato', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 20px; }
.pie li { margin-bottom: 10px; }
.pie i { color: var(--oro); width: 20px; }
.pie a { color: #e8ddd4; }
.pie-logo { height: 70px; margin-bottom: 15px; background: #fff; padding: 5px 12px; border-radius: 3px; }
.pie-final { margin-top: 50px; border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13px; }
.subir { width: 36px; height: 36px; line-height: 34px; text-align: center; border: 1px solid rgba(255,255,255,.2); margin-top: -8px; }
.subir:hover { background: var(--terracota); border-color: var(--terracota); }
.subir i { color: #fff; width: auto; }

/* ---------- Animación al aparecer ---------- */
.aparecer { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.aparecer.visible { opacity: 1; transform: none; }

/* ---------- Calendario ---------- */
.datepicker { font-family: 'Lato', sans-serif; }
.datepicker table tr td.active.active, .datepicker table tr td.active:hover { background: var(--terracota) !important; }
.datepicker table tr td.today { background: #fbe9c9; }

/* ---------- Responsivo ---------- */
@media (max-width: 991px) {
    .navbar-hotel .navbar-nav > li > a { padding: 32px 8px; font-size: 12px; letter-spacing: 1px; }
    .portada-texto h1 { font-size: 46px; }
    .collage { margin-top: 40px; }
}
@media (max-width: 767px) {
    .navbar-hotel { top: 0; }
    .navbar-hotel .navbar-collapse { background: rgba(45,36,32,.97); border: 0; box-shadow: none; }
    .navbar-hotel .navbar-nav > li > a, .navbar-hotel.solida .navbar-nav > li > a { padding: 12px 15px; }
    .navbar-hotel .nav-cta > a:before { display: none; }
    .navbar-hotel .navbar-brand img { height: 48px; }
    .portada-texto h1 { font-size: 34px; }
    .portada-texto p { font-size: 17px; }
    .portada-texto .btn-borde { display: none; }
    .seccion { padding: 70px 0; }
    .titulo { font-size: 32px; }
    .parallax blockquote { font-size: 22px; }
    .collage { height: 360px; }
    .collage .img-a { height: 250px; }
    .collage .img-b { height: 190px; }
    .collage .sello { width: 110px; height: 110px; }
    .banner-interno { padding: 110px 0 80px; }
    .banner-interno h1 { font-size: 34px; }
}
