:root {
  --verde-selva: #1F3B2C;
  --verde-selva-dark: #142A1F;
  --verde-musgo: #4C7357;
  --terracota: #C1623D;
  --terracota-dark: #A54F30;
  --crema: #FAF3E7;
  --crema-alt: #F2E9D8;
  --dorado: #D9A441;
  --texto: #2B2A24;
  --texto-claro: #F6EFE1;
  --borde: #E3D7C0;
  --sombra: 0 20px 40px -20px rgba(20, 42, 31, 0.35);
  --font-head: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--crema);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--verde-selva-dark);
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 600;
}
.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--terracota);
  background: rgba(193, 98, 61, 0.08);
  border: 1px solid rgba(193, 98, 61, 0.28);
  padding: 7px 18px;
  border-radius: 999px;
  margin: 0 0 20px;
}
.section-eyebrow.center { display: table; margin-left: auto; margin-right: auto; }
.piscinas .section-eyebrow, .reservar .section-eyebrow {
  color: var(--dorado);
  background: rgba(217, 164, 65, 0.12);
  border-color: rgba(217, 164, 65, 0.35);
}
h2.center {
  position: relative;
  padding-bottom: 22px;
  margin-bottom: 18px;
}
h2.center::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 3px;
  background: var(--terracota);
  border-radius: 2px;
}
.section-sub {
  max-width: 620px;
  color: #5a5748;
  font-size: 1.02rem;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
section { padding: 92px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--terracota);
  color: #fff;
}
.btn-primary:hover { background: var(--terracota-dark); transform: translateY(-2px); }
.btn-ghost {
  border-color: rgba(255,255,255,0.75);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(250, 243, 231, 0.95);
  backdrop-filter: blur(6px);
  padding: 10px 0;
  box-shadow: 0 2px 18px rgba(20,42,31,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  transition: color .3s ease;
}
.site-header.scrolled .brand { color: var(--verde-selva-dark); }
.brand-mark { flex-shrink: 0; }
.brand-text {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
  font-weight: 500;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: #fff;
  font-size: .92rem;
  font-weight: 500;
  transition: color .3s ease, opacity .2s ease;
  opacity: .92;
}
.main-nav a:hover { opacity: 1; }
.site-header.scrolled .main-nav a { color: var(--texto); }
.nav-cta {
  background: var(--terracota);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 1 !important;
}
.nav-cta:hover { background: var(--terracota-dark); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  transition: background .3s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--verde-selva-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,42,31,0.55) 0%, rgba(20,42,31,0.35) 40%, rgba(20,42,31,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 120px;
  padding-bottom: 60px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--dorado);
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: 820px;
  margin-bottom: 22px;
}
.hero-sub {
  max-width: 560px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 28px;
}
.hero-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .95rem;
  color: #fff;
  margin-bottom: 34px;
}
.rating-divider { opacity: .6; }
.stars { color: var(--dorado); letter-spacing: 2px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.4rem;
  opacity: .8;
  animation: bob 2s infinite;
  z-index: 2;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Intro ---------- */
.intro { background: var(--crema); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-text p { color: #4a4738; }
.fact-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--verde-selva);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--sombra);
}
.fact-strip li { color: #fff; text-align: center; }
.fact-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--dorado);
  margin-bottom: 4px;
}
.fact-label {
  font-size: .82rem;
  letter-spacing: .04em;
  opacity: .9;
}

/* ---------- Rooms ---------- */
.habitaciones { background: var(--crema-alt); }
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.room-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
}
.room-card-big { grid-column: span 3; flex-direction: row; }
.room-card-big img { width: 48%; height: auto; object-fit: cover; }
.room-card-big .room-info { width: 52%; display: flex; flex-direction: column; justify-content: center; }
.room-card img { width: 100%; height: 230px; object-fit: cover; }
.room-info { padding: 30px; }
.room-tag {
  display: inline-block;
  background: var(--terracota);
  color: #fff;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.room-info h3 { font-size: 1.3rem; }
.room-info p { color: #5a5748; font-size: .95rem; }
.room-features { margin-top: 14px; }
.room-features li {
  position: relative;
  padding-left: 20px;
  font-size: .9rem;
  color: var(--verde-selva);
  font-weight: 500;
  margin-bottom: 6px;
}
.room-features li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--terracota);
}

/* ---------- Piscinas ---------- */
.piscinas { background: var(--verde-selva); color: #fff; }
.piscinas h2 { color: #fff; }
.piscinas .section-sub { color: rgba(255,255,255,0.8); margin: 0 auto; }
.pool-callout {
  background: var(--terracota);
  padding: 28px 36px;
  border-radius: 18px;
  margin: 46px 0 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.pool-callout h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.pool-callout p { color: rgba(255,255,255,0.92); font-size: .92rem; margin: 0; }

/* ---------- Gallery carousel (fotos) ---------- */
.gallery-carousel { position: relative; padding: 0 56px; }
.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
  flex: 0 0 auto;
  width: 300px;
  height: 340px;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--sombra);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Restaurante ---------- */
.restaurante { background: var(--crema); }
.restaurante-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.restaurante-img img { border-radius: 20px; box-shadow: var(--sombra); }
.restaurante-text p { color: #4a4738; }
.plato-slider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.slider-frame {
  flex: 1;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  border: none;
  cursor: pointer;
  position: relative;
  box-shadow: var(--sombra);
}
.slider-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.slider-frame:hover img { transform: scale(1.04); }
.slider-frame::after {
  content: "⤢";
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
}
.slider-arrow {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--borde);
  background: #fff;
  color: var(--verde-selva-dark);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.slider-arrow:hover { background: var(--terracota); color: #fff; }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--borde);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.slider-dot.active { background: var(--terracota); transform: scale(1.3); }

/* ---------- Experiencias ---------- */
.experiencias { background: var(--crema-alt); }
.exp-note { margin: -6px auto 0; font-size: .88rem; font-style: italic; }
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.exp-card {
  display: block;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  color: inherit;
}
.exp-card:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: var(--terracota); }
.exp-icon { font-size: 2rem; margin-bottom: 14px; }
.exp-card h3 { font-size: 1.1rem; }
.exp-card p { color: #5a5748; font-size: .9rem; margin: 0 0 14px; }
.exp-link {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--terracota);
}
.exp-card:hover .exp-link { text-decoration: underline; }

/* ---------- Opiniones ---------- */
.opiniones { background: var(--crema); }
.rating-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 36px 0 10px;
  flex-wrap: wrap;
}
.rating-badge {
  text-align: center;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 16px;
  padding: 20px 34px;
}
.rb-score {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--verde-selva-dark);
}
.rb-label { display: block; font-size: .82rem; color: #776f5c; margin-top: 4px; }
.review-carousel {
  position: relative;
  margin-top: 44px;
  padding: 0 56px;
}
.review-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 16px;
  padding: 26px;
  display: block;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra);
  border-color: var(--terracota);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-head > div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.review-head strong { font-size: .95rem; }
.review-meta { font-size: .78rem; color: #918a74; }
.review-head .stars { font-size: .85rem; align-self: flex-start; }
.g-badge {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--borde);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(20,42,31,0.08);
}
.review-card p { font-size: .92rem; color: #4a4738; margin: 0; }
.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--borde);
  background: #fff;
  color: var(--verde-selva-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sombra);
  z-index: 3;
  transition: background .2s ease, color .2s ease;
}
.review-arrow:hover { background: var(--terracota); color: #fff; }
.review-arrow-prev { left: 0; }
.review-arrow-next { right: 0; }

/* ---------- Ubicación ---------- */
.ubicacion { background: var(--crema-alt); }
.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.ubicacion-text p { color: #4a4738; }
.ubicacion-datos {
  margin: 24px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ubicacion-datos li { font-size: .95rem; color: var(--texto); }
.ubicacion-map {
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sombra);
}

/* ---------- Reservar ---------- */
.reservar { background: var(--verde-selva); color: #fff; }
.reservar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.reservar h2 { color: #fff; }
.reservar-text p { color: rgba(255,255,255,0.85); }
.reservar-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  margin-top: 20px;
}
.reservar-form {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--sombra);
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-row-split { flex-direction: row; gap: 16px; }
.form-row-split > div { flex: 1; display: flex; flex-direction: column; }
.reservar-form label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--verde-selva-dark);
  margin-bottom: 6px;
}
.reservar-form input, .reservar-form textarea {
  border: 1.5px solid var(--borde);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--texto);
  background: var(--crema);
}
.reservar-form input:focus, .reservar-form textarea:focus {
  outline: none;
  border-color: var(--terracota);
}
.form-error {
  color: var(--terracota-dark);
  font-size: .85rem;
  margin: 0 0 14px;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--verde-selva-dark); color: rgba(255,255,255,0.85); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.brand-footer { color: #fff; margin-bottom: 14px; }
.footer-tagline { font-size: .9rem; color: rgba(255,255,255,0.65); max-width: 280px; }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.site-footer a { display: block; font-size: .9rem; color: rgba(255,255,255,0.75); margin-bottom: 10px; transition: color .2s ease; }
.site-footer a:hover { color: var(--dorado); }
.site-footer p { font-size: .9rem; margin: 0 0 8px; color: rgba(255,255,255,0.75); }
.footer-bottom { padding: 22px 0; text-align: center; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,0.45); margin: 0; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  z-index: 200;
}
.wa-ring {
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-ring 2.2s infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: .8; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    width: 78%; max-width: 320px;
    height: 100vh;
    background: var(--verde-selva);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform .3s ease;
    gap: 22px;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: #fff; opacity: 1; }
  .nav-toggle { display: flex; }
  .intro-grid, .restaurante-grid, .ubicacion-grid, .reservar-grid { grid-template-columns: 1fr; }
  .restaurante-img { order: -1; }
  .room-card-big { flex-direction: column; }
  .room-card-big img, .room-card-big .room-info { width: 100%; }
  .room-grid { grid-template-columns: 1fr; }
  .room-card-big { grid-column: span 1; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row-split { flex-direction: column; gap: 18px; }
  .review-carousel, .gallery-carousel { padding: 0 8px; }
  .review-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
  .review-card { width: 78vw; }
  .gallery-item { width: 72vw; height: 280px; }
}
@media (max-width: 540px) {
  .exp-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
  .review-arrow { display: none; }
  .review-carousel, .gallery-carousel { padding: 0; }
  .slider-frame { height: 180px; }
}
