/* BOOKING BAR */
.booking-bar {
  background: var(--white);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--cream-dark);
  position: relative; z-index: 10;
}
.booking-bar__inner {
  display: flex; align-items: center; gap: 0;
  padding: 0; height: 70px;
}
.booking-bar__field {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 0.75rem 1.5rem; border-right: 1px solid var(--cream-dark);
}
.booking-bar__field label {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-light); font-weight: 500; margin-bottom: 0.2rem;
}
.booking-bar__field input, .booking-bar__field select {
  border: none; outline: none; font-size: var(--text-sm);
  color: var(--text-primary); background: transparent; cursor: pointer;
}
.booking-bar .btn { height: 100%; border-radius: 0; padding: 0 2rem; flex-shrink: 0; }

/* FEATURES */
.features__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.feature-card {
  padding: 3rem 2rem; text-align: center;
  border-right: 1px solid var(--stone-light);
  transition: var(--transition);
}
.feature-card:last-child { border-right: none; }
.feature-card:hover { background: rgba(42,74,30,0.04); }
.feature-card__icon {
  width: 52px; height: 52px; margin: 0 auto 1.5rem;
  color: var(--forest);
}
.feature-card__icon svg { width: 100%; height: 100%; }
.feature-card__title {
  font-family: var(--font-heading); font-size: var(--text-xl);
  color: var(--text-primary); margin-bottom: 0.6rem;
}
.feature-card__desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.6; }

/* ABOUT */
.about__grid { display: grid; grid-template-columns: 3fr 2fr; gap: 5rem; align-items: center; }
.about__image { position: relative; }
.about__image img {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: var(--radius-md); box-shadow: var(--shadow-xl);
}
.about__image-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--forest); color: var(--white);
  padding: 1rem 1.5rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.about__image-badge-text {
  font-size: var(--text-xs); letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 500;
}
.about__title {
  font-size: var(--text-4xl); color: var(--text-primary);
  margin: 1rem 0 1.5rem; line-height: 1.2;
}
.about__divider {
  color: var(--gold); font-size: 1.2rem; margin-bottom: 1.5rem;
}
.about__text {
  color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 1.5rem; font-size: var(--text-base);
}
.about__features { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.about__features li { display: flex; align-items: center; gap: 0.75rem; font-size: var(--text-sm); color: var(--text-secondary); }
.about__check { color: var(--forest); font-weight: 600; font-size: 0.9rem; flex-shrink: 0; }

/* BONOS */
.bonos { position: relative; padding: var(--section-padding) 0; overflow: hidden; }
.bonos__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.bonos__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,46,19,0.92) 0%, rgba(42,74,30,0.85) 100%); }
.bonos__content { position: relative; z-index: 1; }
.bonos__inner { max-width: 680px; text-align: center; margin: 0 auto; }
.bonos__icon { font-size: 3rem; margin-bottom: 1rem; }
.bonos__title {
  font-family: var(--font-display); font-size: var(--text-5xl);
  color: var(--white); margin: 0.75rem 0 1.5rem; font-weight: 300;
}
.bonos__text { color: rgba(255,255,255,0.8); font-size: var(--text-lg); line-height: 1.7; margin-bottom: 1rem; }
.bonos__note { color: rgba(255,255,255,0.5); font-size: var(--text-sm); margin-bottom: 2.5rem; }

/* SECTION HEADER */
.section-header { margin-bottom: 3rem; }
.section-title {
  font-family: var(--font-display); font-size: var(--text-5xl);
  color: var(--text-primary); margin: 0.75rem 0 1rem; font-weight: 400;
}
.section-subtitle { color: var(--text-secondary); font-size: var(--text-lg); max-width: 540px; margin: 0 auto; }

/* ENTORNO CARDS */
.entorno-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.entorno-card {
  position: relative; height: 420px; border-radius: var(--radius-md);
  overflow: hidden; background-size: cover; background-position: center;
  cursor: pointer; transition: var(--transition-slow);
}
.entorno-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.entorno-card:hover .entorno-card__overlay { opacity: 0.7; }
.entorno-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,12,8,0.85) 0%, rgba(15,12,8,0.2) 60%, transparent 100%);
  transition: opacity 0.4s;
}
.entorno-card__content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem; z-index: 1;
}
.entorno-card__dist {
  display: inline-block; background: var(--forest); color: var(--white);
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: var(--radius-full); margin-bottom: 0.75rem;
}
.entorno-card__title {
  font-family: var(--font-display); font-size: var(--text-3xl);
  color: var(--white); margin-bottom: 0.5rem; font-weight: 400;
}
.entorno-card__desc { color: rgba(255,255,255,0.75); font-size: var(--text-sm); }

/* GALLERY PREVIEW GRID */
.gallery-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 0.75rem;
}
.gallery-preview__item { overflow: hidden; border-radius: var(--radius-sm); }
.gallery-preview__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-preview__item:hover img { transform: scale(1.06); }
.gallery-preview__item--tall { grid-row: span 2; }
.gallery-preview__item--wide { grid-column: span 2; }

/* SHIITAKE BANNER */
.shiitake-banner { position: relative; padding: 6rem 0; overflow: hidden; }
.shiitake-banner__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.shiitake-banner__overlay { position: absolute; inset: 0; background: rgba(15,12,8,0.65); }
.shiitake-banner__content { position: relative; z-index: 1; }
.shiitake-banner__title {
  font-family: var(--font-display); font-size: var(--text-4xl);
  color: var(--white); margin: 1rem 0 2rem; font-weight: 300;
  max-width: 600px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2,1fr); }
  .feature-card { border-right: none; border-bottom: 1px solid var(--stone-light); }
  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__image img { height: 350px; }
  .about__image-badge { right: 1rem; bottom: -1rem; }
  .entorno-grid { grid-template-columns: 1fr; }
  .entorno-card { height: 300px; }
}
@media (max-width: 768px) {
  .booking-bar__inner { flex-direction: column; height: auto; padding: 1rem; }
  .booking-bar__field { border-right: none; border-bottom: 1px solid var(--cream-dark); width: 100%; }
  .booking-bar .btn { width: 100%; justify-content: center; }
  .gallery-preview__grid { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; }
  .gallery-preview__item--tall, .gallery-preview__item--wide { grid-row: auto; grid-column: auto; }
}

/* MASONRY GALLERY */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  grid-auto-flow: dense;
  margin-top: 3rem;
}
.masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--cream-dark);
}
.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.masonry-item:hover img { transform: scale(1.08); }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.95);
  backdrop-filter: blur(10px); z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.active { display: flex; animation: fadeIn 0.3s ease; }
.lightbox__content { position: relative; max-width: 90%; max-height: 90%; }
.lightbox__content img { max-width: 100%; max-height: 85vh; object-fit: contain; box-shadow: var(--shadow-xl); }
.lightbox__close { position: absolute; top: 2rem; right: 2rem; color: var(--white); font-size: 2rem; z-index: 10; cursor: pointer; }
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--white); font-size: 3rem; background: rgba(255,255,255,0.1);
  width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full); cursor: pointer; transition: 0.2s;
}
.lightbox__prev { left: 2rem; }
.lightbox__next { right: 2rem; }
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.2); }
.lightbox__caption { color: var(--white); text-align: center; margin-top: 1.5rem; font-family: var(--font-display); font-size: 1.2rem; }
.lightbox__counter { color: rgba(255,255,255,0.5); font-size: 0.8rem; text-align: center; margin-top: 0.5rem; }

/* BOOKING & CONTACT FORM */
.grid-5-3 { display: grid; grid-template-columns: 5fr 3fr; gap: 5rem; }
.booking-form { background: var(--white); padding: 3rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.form-group label { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; color: var(--text-light); }
.form-group input, .form-group select, .form-group textarea {
  padding: 1rem; border: 1px solid var(--cream-dark); border-radius: var(--radius-sm);
  background: var(--white-off); font-family: var(--font-body); font-size: var(--text-sm);
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.btn-full { width: 100%; justify-content: center; }

/* LA CASA COMPONENTS */
.quality-badge {
  display: flex; align-items: center; gap: 1.5rem; padding: 2rem;
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); margin-top: 2rem;
}
.quality-badge__stars { color: var(--gold); font-size: 1.5rem; letter-spacing: 4px; }
.spaces-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.space-card {
  position: relative; height: 350px; border-radius: var(--radius-md);
  overflow: hidden; background-size: cover; background-position: center;
}
.space-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); }
.space-card__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; color: var(--white); }
.space-card__content h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.space-card__content p { font-size: 0.8rem; opacity: 0.8; }

.amenities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem;
}
.amenity { display: flex; align-items: center; gap: 1rem; font-size: 1rem; color: var(--text-secondary); }
.amenity__icon { font-size: 1.5rem; flex-shrink: 0; filter: grayscale(1); opacity: 0.6; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 991px) {
  .grid-5-3 { grid-template-columns: 1fr; gap: 3rem; }
  .spaces-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .form-grid { grid-template-columns: 1fr; }
  .spaces-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .booking-form { padding: 1.5rem; }
}
