/* Cabañas del Valle — hoja de estilos estática (plantilla de hotel, versión local) */
:root {
  --color_principal_fondo: #1b1b1b;
  --color_secundario_fondo: #000000;
  --texto_principal: #ffffff;
  --texto_datos_hotel: #aa8453;
  --texto_sliders: #ffffff;
  --color_texto_boton: #ffffff;
  --gris: #999999;
  --linea: rgba(255, 255, 255, .12);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color_principal_fondo);
  color: var(--gris);
  font-family: "Barlow", sans-serif;
  font-size: 15px;
  line-height: 1.75em;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s, background .3s, border-color .3s; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 15px; font-weight: 400; line-height: 1.25em; color: var(--texto_principal); }
p { margin: 0 0 20px; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.row > [class*="col"] { padding: 0 15px; width: 100%; }
@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-md-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .offset-md-1 { margin-left: 8.3333%; }
  .offset-md-2 { margin-left: 16.6667%; }
}
.text-center { text-align: center; }
.section-padding { padding: 120px 0; }
.bg-darkblack { background: var(--color_secundario_fondo); }
.mb-30 { margin-bottom: 30px; }
.mt-30 { margin-top: 30px; }

/* estrellas */
.stars { display: inline-flex; gap: 2px; color: var(--texto_datos_hotel); font-size: 13px; letter-spacing: 0; line-height: 1; margin-bottom: 12px; }
.stars i { font-style: normal; }

/* títulos de sección */
.section-subtitle {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--texto_datos_hotel);
  margin-bottom: 5px;
}
.section-subtitle p { margin: 0; }
.section-title {
  font-family: "Gilda Display", serif;
  font-size: 45px;
  line-height: 1.2em;
  color: var(--texto_principal);
  margin-bottom: 20px;
}

/* navegación */
.navbar {
  position: absolute; top: 0; left: 0; width: 100%; z-index: 99;
  padding: 0; height: 100px; display: flex; align-items: center;
  transition: background .4s, height .4s;
}
.navbar.nav-scroll { position: fixed; background: var(--color_secundario_fondo); height: 80px; box-shadow: 0 8px 25px rgba(0,0,0,.35); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo-img { width: 90px; transition: width .4s; }
.navbar.nav-scroll .logo-img { width: 70px; }
.navbar-nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav-link {
  display: block; padding: 0 15px; line-height: 45px;
  font-family: "Barlow Condensed", sans-serif; font-size: 15px;
  text-transform: uppercase; letter-spacing: 3px; color: var(--texto_principal);
}
.nav-link:hover { color: var(--texto_datos_hotel); }
.navbar-toggler { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff; }
.navbar-toggler span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; }
@media (max-width: 991px) {
  .navbar { background: var(--color_secundario_fondo); position: fixed; height: 80px; }
  .navbar .logo-img { width: 70px; }
  .navbar-toggler { display: block; }
  .navbar-collapse { position: absolute; top: 80px; left: 0; width: 100%; background: var(--color_secundario_fondo); display: none; padding: 10px 15px 20px; }
  .navbar-collapse.show { display: block; }
  .navbar-nav { flex-direction: column; align-items: flex-start; }
}

/* cabecera / slider */
.header { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: #000; }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease; display: flex; align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .45; }
.slide .caption { position: relative; z-index: 2; width: 100%; text-align: center; color: var(--texto_sliders); }
.caption h4 {
  font-family: "Barlow Condensed", sans-serif; font-size: 15px; letter-spacing: 6px;
  text-transform: uppercase; color: var(--texto_sliders); margin-bottom: 10px;
}
.caption h1 {
  font-family: "Gilda Display", serif; font-size: 75px; line-height: 1.2em;
  color: var(--texto_sliders); margin-bottom: 0;
}
.caption .stars { font-size: 14px; }
.butn-light a {
  display: inline-block; margin: 30px 0; padding: 12px 24px; border: 1px solid #fff;
  font-family: "Barlow Condensed", sans-serif; font-size: 15px; text-transform: uppercase;
  letter-spacing: 3px; color: var(--color_texto_boton);
}
.butn-light a:hover { background: var(--texto_datos_hotel); border-color: var(--texto_datos_hotel); }
.slider-dots { position: absolute; z-index: 3; left: 50%; bottom: 40px; transform: translateX(-50%); display: flex; gap: 10px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.slider-dots button.active { background: #fff; }
.reservation { position: absolute; z-index: 3; right: 30px; bottom: 30px; }
.reservation a { display: flex; align-items: center; gap: 15px; color: #fff; }
.reservation .icon {
  width: 60px; height: 60px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.reservation .call { font-family: "Barlow Condensed", sans-serif; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; line-height: 1.4em; }
.reservation .call span { font-size: 20px; letter-spacing: 1px; }
.ico { width: 22px; height: 22px; fill: currentColor; display: inline-block; vertical-align: middle; }
@media (max-width: 767px) {
  .caption h1 { font-size: 40px; }
  .section-title { font-size: 34px; }
  .section-padding { padding: 80px 0; }
  .reservation { right: 15px; bottom: 80px; }
  .reservation .icon { width: 48px; height: 48px; }
}

/* descripción */
.about p { color: var(--gris); }
.reservations { display: flex; align-items: center; gap: 15px; margin-top: 10px; }
.reservations .icon { color: var(--texto_datos_hotel); }
.reservations .icon .ico { width: 40px; height: 40px; }
.reservations .text p { margin: 0; font-size: 12px; line-height: 1.4em; letter-spacing: 1px; text-transform: uppercase; color: var(--gris); }
.reservations .text a { font-family: "Gilda Display", serif; font-size: 24px; color: var(--texto_datos_hotel); }
.about-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-top: 90px; margin-bottom: 30px; }
@media (max-width: 767px) {
  .about .col-md-3 { flex: 0 0 50%; max-width: 50%; }
  .about-img { margin-top: 0; }
}

/* galería */
.gallery .item { position: relative; margin-bottom: 30px; overflow: hidden; }
.gallery .item a { display: block; }
.gallery .item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s ease; }
.gallery .item:hover img { transform: scale(1.06); }
.gallery .item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%); pointer-events: none; }
.gallery .category {
  position: absolute; z-index: 2; top: 20px; left: 20px; padding: 5px 12px;
  border: 1px solid rgba(255,255,255,.6); color: #fff;
  font-family: "Barlow Condensed", sans-serif; font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  pointer-events: none;
}
@media (max-width: 767px) { .gallery .col-md-4 { flex: 0 0 50%; max-width: 50%; } }

/* video */
.video-wrapper { position: relative; background-size: cover; background-position: center; background-attachment: fixed; }
.video-wrapper::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .45; }
.video-wrapper .container { position: relative; z-index: 2; }
.video-wrapper .section-subtitle, .video-wrapper .section-title { color: #fff; }
.vid-butn {
  display: inline-flex; width: 100px; height: 100px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6); align-items: center; justify-content: center; color: #fff;
  margin-top: 20px; transition: background .3s, border-color .3s;
}
.vid-butn:hover { background: var(--texto_datos_hotel); border-color: var(--texto_datos_hotel); }
.vid-butn .ico { width: 30px; height: 30px; margin-left: 4px; }
@media (hover: none) { .video-wrapper { background-attachment: scroll; } }

/* ubicación */
.map-wrap { margin-top: 20px; border: 1px solid var(--linea); }
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; filter: grayscale(.2); }

/* reservas */
.testimonials .background { position: relative; background-size: cover; background-position: center; background-attachment: fixed; }
.testimonials .background::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .6; }
.testimonials .container { position: relative; z-index: 2; }
.testimonials h5 { font-family: "Gilda Display", serif; font-size: 26px; line-height: 1.5em; color: #fff; }
.testimonials .reservations .text p, .testimonials .reservations .icon { color: #fff; }
.testimonials .reservations .text a { color: #fff; }
.testimonials small { color: #fff; font-size: 15px; }
.check { color: var(--texto_datos_hotel); margin-right: 8px; }
.booking-box { background: var(--color_principal_fondo); position: relative; }
.booking-box .head-box { background: var(--texto_datos_hotel); padding: 25px 40px; }
.booking-box .head-box h4 { font-family: "Gilda Display", serif; font-size: 27px; color: #fff; margin: 0; }
.booking-inner { padding: 30px 40px 40px; }
.booking-line { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.booking-line span { font-family: "Barlow Condensed", sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 3px; color: var(--gris); }
.booking-line strong { font-weight: 400; color: #fff; text-align: right; }
.btn-form1 {
  display: block; width: 100%; margin-top: 25px; padding: 14px 20px; text-align: center;
  background: var(--texto_datos_hotel); color: #fff;
  font-family: "Barlow Condensed", sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: 3px;
}
.btn-form1:hover { background: #fff; color: #1b1b1b; }
@media (min-width: 768px) { .testimonials .section-padding { padding-bottom: 0; } .booking-box { margin-bottom: -60px; } }
@media (max-width: 767px) { .booking-inner, .booking-box .head-box { padding-left: 25px; padding-right: 25px; } .testimonials h5 { font-size: 22px; } }

/* pie */
.footer { background: var(--color_secundario_fondo); }
.footer-top { padding: 140px 0 60px; }
.footer-title { font-family: "Gilda Display", serif; font-size: 24px; color: #fff; margin-bottom: 20px; }
.footer-about-text, .footer-contact-text { color: var(--gris); }
.footer-explore-list { list-style: none; margin: 0; padding: 0; }
.footer-explore-list li { margin-bottom: 8px; }
.footer-explore-list a { color: var(--gris); }
.footer-explore-list a:hover, .footer-about-social-list a:hover { color: var(--texto_datos_hotel); }
.footer-contact-info p { margin: 0 0 8px; color: #fff; }
.footer-contact-phone { font-family: "Gilda Display", serif; font-size: 22px; }
.footer-contact-phone .ico { color: var(--texto_datos_hotel); margin-right: 8px; }
.footer-about-social-list { display: flex; gap: 14px; margin-top: 18px; }
.footer-about-social-list a { color: #fff; }
.footer-bottom { border-top: 1px solid var(--linea); padding: 25px 0; }
.footer-bottom-copy-right { margin: 0; font-size: 14px; color: var(--gris); }
@media (max-width: 767px) { .footer-top { padding-top: 90px; } .footer-column { margin-bottom: 35px; } }

/* 404 */
.page-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 160px 15px 100px; }
.page-404 .section-title { font-size: 60px; }
