:root {
  --green-dark: #2f3d27;
  --green: #4a6741;
  --green-light: #6b8a5f;
  --cream: #faf6ef;
  --cream-dark: #f0e9dc;
  --sage: #e8efe1;
  --terracotta: #c17a4e;
  --text: #2b2a26;
  --text-muted: #6b6a63;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 42, 38, 0.12);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}
.eyebrow.center { text-align: center; }
.center { text-align: center; }

.section-lead {
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--text-muted);
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(74, 103, 65, 0.35);
}
.btn-primary:hover { background: var(--green-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--green); }
.nav-cta { color: var(--white) !important; padding: 10px 22px; }

.lang-toggle {
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-toggle:hover { background: var(--green); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--green-dark);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,25,16,0.25) 0%, rgba(20,25,16,0.55) 70%, rgba(20,25,16,0.75) 100%);
}
.hero-content {
  position: relative;
  padding-bottom: 72px;
  max-width: 760px;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--cream-dark);
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.hero-subtitle { font-size: 1.1rem; margin-bottom: 28px; max-width: 560px; color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 12px 20px;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}
.rating-score {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}
.hero-rating div { display: flex; flex-direction: column; font-size: 0.85rem; }

/* Banner hero (full-width image, text overlaid top-left, segment links along the bottom) */
.hero-banner { padding-top: 76px; }
.hero-banner-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.hero-banner-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,25,16,0.15) 0%, rgba(20,25,16,0.05) 35%, rgba(20,25,16,0.55) 100%);
}
.hero-banner-overlay {
  position: absolute;
  top: 6%;
  left: 5%;
  max-width: 480px;
  background: rgba(20, 25, 16, 0.55);
  backdrop-filter: blur(3px);
  padding: 24px 28px;
  border-radius: var(--radius);
  color: var(--white);
}
.hero-banner-kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 10px;
  color: var(--cream-dark);
}
.hero-banner-overlay h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; color: var(--white); }
.hero-banner-subtitle { font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.hero-banner-links {
  position: absolute;
  bottom: 6%;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-segment-link {
  background: linear-gradient(135deg, rgba(255,255,255,0.20), rgba(255,255,255,0.04));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-segment-link:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.32), rgba(255,255,255,0.1));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--cream-dark); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { font-size: 2.2rem; margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.badge {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.badge strong { display: block; color: var(--green); font-family: var(--font-heading); font-size: 1.3rem; }
.badge span { font-size: 0.85rem; color: var(--text-muted); }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Rooms */
h2.center { font-size: 2.2rem; margin-bottom: 12px; }
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.room-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.room-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.room-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.room-card p { color: var(--text-muted); font-size: 0.9rem; }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  min-width: 0;
}
.amenity span:first-child { font-size: 1.1rem; }

/* Tour Virtual */
.tour-section { background: var(--sage); }
.tour-preview {
  position: relative;
  display: block;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tour-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tour-preview:hover img { transform: scale(1.04); }
.tour-preview-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,25,16,0.15) 0%, rgba(20,25,16,0.45) 100%);
}
.tour-preview-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

/* Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-btn {
  background: var(--white);
  border: 1px solid #e2dbc9;
  color: var(--text);
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.filter-btn:hover { background: var(--cream-dark); }
.filter-btn.active { background: var(--green); border-color: var(--green); color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-grid img.hidden { display: none; }
.gallery-grid img:hover { transform: scale(1.02); }
.gallery-grid-4col { grid-template-columns: repeat(4, 1fr); }
.gallery-grid-4col img { height: 220px; }
.gallery-more { text-align: center; color: var(--text-muted); }
.gallery-more a { color: var(--green); font-weight: 600; text-decoration: none; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 12, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.4rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.review-card p { color: var(--text-muted); margin-bottom: 14px; font-style: italic; }
.review-card strong { color: var(--green); }

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.location-grid h2 { font-size: 2.2rem; margin-bottom: 16px; }
.location-grid p { color: var(--text-muted); margin-bottom: 16px; }
.location-list { list-style: none; margin-bottom: 16px; }
.location-list li { padding: 6px 0; color: var(--text); }
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 360px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-solo { max-width: 560px; margin: 0 auto; }
.contact-info h2 { font-size: 2.2rem; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 24px; }
.contact-whatsapp { margin-bottom: 24px; }
.contact-links { list-style: none; }
.contact-links li { margin-bottom: 10px; }
.contact-links a { color: var(--text); text-decoration: none; font-weight: 500; }
.contact-links a:hover { color: var(--green); }

.contact-form {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: var(--font-body);
  padding: 12px 14px;
  border: 1px solid #ddd6c9;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--green);
}
.contato-page-locations { font-size: 0.9rem; color: var(--text-muted); margin-top: 16px; }
.form-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; }
.contact-form input.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
}
.form-status {
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.2em;
}
.form-status.success { color: var(--green); font-weight: 600; }
.form-status.error { color: #b3432f; font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: var(--cream-dark);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}
.footer-social { display: flex; gap: 20px; }
.footer-social a { color: var(--cream-dark); text-decoration: none; }
.footer-social a:hover { color: var(--white); }

/* Hub */
.about-hub { max-width: 780px; margin: 0 auto; }

.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.segment-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.segment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(43, 42, 38, 0.18);
}
.segment-card-media { height: 220px; overflow: hidden; }
.segment-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.segment-card:hover .segment-card-media img { transform: scale(1.05); }
.segment-card-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.segment-card-body h3 { font-size: 1.4rem; }
.segment-card-body p { color: var(--text-muted); flex: 1; }
.segment-card-body .btn { align-self: flex-start; pointer-events: none; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-4col { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .segment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    display: none;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .nav-cta { align-self: flex-start; }
  .logo-img { height: 38px; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img { height: 180px; }
  .gallery-grid-4col { grid-template-columns: 1fr 1fr; }
  .gallery-grid-4col img { height: 180px; }
  .section { padding: 70px 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .lightbox { padding: 16px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.1rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 16px; }
  .tour-preview-btn { font-size: 0.9rem; padding: 12px 20px; }
  .hero-banner-media { aspect-ratio: 4 / 5; }
  .hero-banner-overlay {
    top: 16px; left: 16px; right: 16px;
    max-width: none;
    padding: 16px 18px;
  }
  .hero-banner-overlay h1 { font-size: 1.3rem; }
  .hero-banner-subtitle { font-size: 0.85rem; }
  .hero-banner-links {
    left: 16px; right: 16px; bottom: 16px;
    justify-content: center;
  }
  .hero-segment-link { flex: 1 1 auto; text-align: center; padding: 12px 14px; font-size: 0.9rem; }
}
