:root{
  --accent:#8b3b26;
  --accent-2:#3b4a3b;
  --muted:#6b5a4d;
  --bg:#f7f2ec;
  --navbar-height: 96px;
  --navbar-height-mobile: 80px;
}
/* Typography: Montserrat for UI, Playfair Display for display headings */
body{
  font-family: 'Montserrat', 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color:#333;
}

.display-5,
.section-title{
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight:700;
  letter-spacing:0.02em;
  color: #1a1a1a;
}
.logo-wordmark{
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: none;
}
.hero h1{
  font-family: 'Lora', serif;
  font-weight:700;
}

/* Ensure all semantic headings use the chosen display serif */
h1,h2,h3,h4,h5,h6{
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  color: #1a1a1a;
  font-weight:700;
  margin-bottom: 0.5rem;
}

/* Section labels, card titles and subtitle rótulos */
.section-subtitle,
.section-label,
.card-title,
.card-subtitle,
.display-6{
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight:600;
  color: #1a1a1a;
}

/* Navigation: increase menu weight for better presence */
.navbar .nav-link{
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight:700;
  letter-spacing:0.02em;
  text-transform: uppercase;
}

/* Hero: ensure all hero text is white and uses the display serif */
.hero{
  color: #fff;
}
.hero h1,
.hero h2,
.hero p,
.hero .lead,
.hero .hero-subtitle{
  color: #fff !important;
  font-family: 'Lora', serif !important;
}

/* Buttons inside hero keep contrast but inherit serif for labels if needed */
.hero .btn{
  font-family: 'Lora', serif;
  border-radius: 0.25rem !important;
}
.logo-wordmark{
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero h1{
  font-family: 'Cormorant Garamond', 'Cinzel', serif;
  font-weight:700;
}
.eyebrow{
  font-family: 'Montserrat', sans-serif;
  font-weight:600;
  color: var(--muted);
}
header{
  background: var(--bg) !important;
}
.navbar{
  background: var(--bg);
}
.navbar{
  background: var(--bg);
  height: var(--navbar-height);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
}
.navbar .container{
  height: 100%;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.navbar-brand{
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.navbar-brand img{
  height: 100%;
  max-height: none;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Navbar collapse animation */
.navbar-collapse{
  transition: all 0.3s ease-in-out !important;
  position: relative;
  z-index: 1000;
}

.navbar-collapse.collapsing{
  overflow: hidden !important;
  transition: height 0.3s ease-in-out !important;
}

header{
  position: relative;
  z-index: 999;
}

@media (max-width: 575px){
  .navbar{
    height: var(--navbar-height-mobile);
  }
  .navbar-brand img{
    max-height: calc(var(--navbar-height-mobile) - 9px);
  }
  /* Mobile menu background styling */
  .navbar-collapse{
    background: var(--bg);
    border-top: 1px solid rgba(56, 39, 30, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  .navbar-collapse.collapse:not(.show){
    display: none !important;
  }
}
.hero{
  min-height:75vh;
  background-size:cover;
  background-position:center;
  position:relative;
}
.hero .overlay{
  position:absolute;
  inset:0;
  background: rgba(18,10,7,.4);
}
.hero .container{
  position:relative;
  z-index:1;
}
.hero-brand{
  font-family: 'Lora', serif;
  font-size: clamp(3rem, 6vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.hero-subbrand{
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f2e8df;
  margin-bottom: 1.5rem;
}
.hero-separator{
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b2896a 0%, #7a4a31 100%);
}
.section-top-divider,
.section-bottom-divider{
  width: 100%;
  height: 1px;
  background: rgba(56, 39, 30, 0.18);
}
.hero-subtitle,
.hero-location{
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f2e8df;
}
.hero-subtitle{
  margin-bottom: 0.75rem;
}
.hero-location{
  margin-bottom: 2rem;
}
.section-label{
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-divider{
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b2896a 0%, #7a4a31 100%);
}
#hacienda h2,
#esencia h2,
#ubicacion h2{
  color: #1c1a18;
  line-height: 1.08;
}
#hacienda p,
#esencia p{
  color: #5c4f45;
}
#ubicacion p{
  color: #5c4f45;
}
#habitaciones-preview p{
  color: #5c4f45;
}
.section-quote{
  color: #75513c;
  font-style: italic;
}
.btn-reserve{
  background: #b24f2f;
  color:#fff;
  border:none;
  border-radius: 0.25rem !important;
}

.feature-item{
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  text-align: left;
}
.feature-item .icon{
  color: var(--accent);
  font-size: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
}
.feature-item .icon img,
.feature-item .icon svg{
  width: 100%;
  height: 100%;
  object-fit: contain;
  color: inherit;
}
.feature-item .icon img.taxi-icon{
  /* approximate tint to match --accent (adjust if needed) */
  filter: grayscale(100%) sepia(100%) saturate(600%) hue-rotate(-10deg) brightness(0.9) contrast(0.95);
}
.feature-leaf .icon img{
  filter: grayscale(100%) brightness(0.8) sepia(1) saturate(4) hue-rotate(60deg);
}
.feature-item h5{
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #3b4a3b;
  font-weight: 700;
}
.img-card{
  background:#fff;
  border-radius: 0.15rem !important;
}
.room-preview-card{
  display: block;
  color: inherit;
}
.room-preview-image{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.room-preview-feature-image{
  min-height: 100%;
  aspect-ratio: auto;
}
.room-preview-body{
  background: #fff;
}
.room-preview-meta{
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.room-preview-title{
  font-size: 1.35rem;
  line-height: 1.15;
  color: #1c1a18;
}
.room-preview-text{
  color: #5c4f45;
}
.room-preview-card .img-card{
  transition: transform .25s ease, box-shadow .25s ease;
}
.room-preview-card:hover .img-card,
.room-preview-card:focus-visible .img-card{
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(26, 16, 10, 0.08) !important;
}
.room-preview-feature .img-card{
  overflow: hidden;
}
@media (min-width:992px){
  .room-preview-feature-image{
    height: 100%;
    min-height: 24rem;
  }
}
.reservation-card{
  max-width: 42rem;
}
.reservation-card .form-control,
.reservation-card .form-select{
  border-radius: 0.25rem;
  border-color: rgba(56, 39, 30, 0.16);
  background: #fcfaf7;
}
.reservation-card .form-select[multiple]{
  min-height: 120px;
  padding: 0.5rem;
}
.reservation-card .form-select[multiple] option{
  padding: 0.5rem;
  margin-bottom: 0.25rem;
}
.room-checkboxes{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1rem;
  background: #fcfaf7;
  border-radius: 0.25rem;
  border: 1px solid rgba(56, 39, 30, 0.16);
}
.room-checkboxes .form-check{
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.room-checkboxes .form-check-input{
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  margin-top: 0;
  cursor: pointer;
  border-color: rgba(139, 59, 38, 0.35);
  accent-color: var(--accent);
}
.room-checkboxes .form-check-input:checked{
  background-color: var(--accent);
  border-color: var(--accent);
}
.room-checkboxes .form-check-label{
  margin-bottom: 0;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
}
.reservation-card .form-control:focus,
.reservation-card .form-select:focus{
  border-color: rgba(139, 59, 38, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(139, 59, 38, 0.12);
}
.reservation-note{
  color: #75513c;
  font-size: 0.92rem;
}
.location-list li{
  color: #5c4f45;
  margin-bottom: 0.65rem;
}
.location-list a{
  color: #75513c;
  text-decoration: none;
}
.location-list a:hover,
.location-list a:focus-visible{
  text-decoration: underline;
}
.map-card{
  min-height: 24rem;
}
.map-card iframe{
  width: 100%;
  min-height: 24rem;
  border: 0;
  display: block;
}
footer{font-size:.9rem; background:#1a1a1a;}
@media (max-width:767px){
  .hero{min-height:60vh}
  .hero h1{font-size:2.5rem}
}
@media (max-width:575px){
  .hero{min-height:50vh}
  .hero .lead{font-size:1rem}
}

.gallery-hero{
  min-height:80vh;
  background-size:cover;
  background-position:center;
  position:relative;
}
.gallery-hero .overlay{
  position:absolute;
  inset:0;
  background: rgba(18,10,7,.45);
}
.gallery-hero .hero-copy h1,
.gallery-hero .hero-copy p,
.gallery-hero .eyebrow{
  color: #fff !important;
}
.section-head h3{
  font-size:2rem;
  line-height:1.15;
}
.section-title{
  font-size:2.5rem;
  line-height:1.05;
}
@media (max-width:767px){
  .gallery-hero{min-height:60vh}
  .gallery-hero .hero-copy{padding: 3rem 0;}
  .section-title{font-size:2rem}
  .section-head h3{font-size:1.75rem}
  .gallery-card{border: 1px solid rgba(0,0,0,.05);}
}
