:root {
  --bg: #f7f3ec;
  --surface: #ffffff;
  --surface-alt: #efe8dc;
  --text: #1d2420;
  --muted: #5b655f;
  --line: #e2d9ca;
  --forest: #1f4d3a;
  --forest-2: #2c6b50;
  --clay: #b8612f;
  --wa: #1f8f4e;
  --wa-hover: #187a42;
  --on-dark: #f7f3ec;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(29 36 32 / 0.06), 0 8px 24px rgb(29 36 32 / 0.06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111613;
    --surface: #18201b;
    --surface-alt: #151c18;
    --text: #e9ede9;
    --muted: #a3ada6;
    --line: #2a342e;
    --forest: #16372a;
    --forest-2: #7ccaa3;
    --clay: #e0915f;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--forest-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; }

/* ── Botones ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2;
  transition: background-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-large { padding: 14px 26px; font-size: 1.05rem; }
.btn-small { padding: 8px 14px; font-size: 0.92rem; }
.wa-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ── Encabezado ──────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--forest-2); }
.menu-toggle { display: none; }

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex; font: inherit; font-weight: 600; background: transparent; color: var(--text);
    border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer;
  }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
}

/* ── Portada ─────────────────────────────── */
.hero {
  position: relative; color: var(--on-dark); overflow: hidden;
  background: var(--forest) url("/sitio/img/paisaje.svg") center bottom / cover no-repeat;
  padding: clamp(72px, 14vw, 150px) 0 clamp(96px, 16vw, 180px);
}
.hero-inner { max-width: 760px; margin-left: max(16px, calc((100% - 1120px) / 2)); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; opacity: 0.85; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 60ch; opacity: 0.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero .btn-ghost { color: var(--on-dark); }
.hero-note { font-size: 0.92rem; opacity: 0.85; }

/* ── Secciones ───────────────────────────── */
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ── Tarjetas de glampings ───────────────── */
/* 2 columnas en escritorio (4 glampings = 2 × 2), 1 en celular */
.units { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.unit {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.unit-media { aspect-ratio: 16 / 10.5; background: var(--surface-alt); }
.unit-media img { width: 100%; height: 100%; object-fit: cover; }
.unit-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.unit-desc { color: var(--muted); }
.unit-facts { list-style: none; padding: 0; margin: 0 0 18px; font-size: 0.95rem; display: grid; gap: 6px; }
.fact-label { display: inline-block; min-width: 86px; font-weight: 600; color: var(--text); }
.unit-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.price { margin: 0; color: var(--muted); font-size: 0.92rem; }
.price strong { color: var(--text); font-size: 1.3rem; font-family: var(--serif); }

/* ── Experiencia ─────────────────────────── */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature-num { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--clay); margin-bottom: 10px; font-weight: 600; }
.feature p { color: var(--muted); margin: 0; }

/* ── Ubicación ───────────────────────────── */
.location { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr; align-items: start; }
@media (max-width: 760px) { .location { grid-template-columns: 1fr; } }
.hours { margin: 0; display: grid; gap: 12px; }
.hours div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.hours dt { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.hours dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.5rem; }

/* ── Preguntas ───────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--clay); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ── Llamado final y pie ─────────────────── */
.cta { background: var(--forest); color: var(--on-dark); padding: clamp(56px, 9vw, 88px) 0; text-align: center; }
.cta-inner { max-width: 640px; }
.cta p { opacity: 0.9; margin-bottom: 26px; }
.site-footer { padding: 32px 0 96px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.footer-inner p { margin: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 18px; }

/* ── Botón flotante de WhatsApp ──────────── */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgb(0 0 0 / 0.25);
  transition: transform 0.15s, background-color 0.15s;
}
.wa-float:hover { transform: scale(1.06); background: var(--wa-hover); }
.wa-float .wa-icon { width: 32px; height: 32px; }
