/* Layout: single centered column, generous rhythm, accent reserved for direction cues */
:root {
  --bg: #FCFCFA;
  --surface: #F2F1EC;
  --fg: #1B2426;
  --fg-soft: #5A6769;
  --accent: #2E7D89;
  --accent-ink: #1F5A63;
  --accent-soft: #E3EFF0;
  --line: #E2E1DA;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --measure: 36rem;
  --wide: 62rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121819;
    --surface: #1B2324;
    --fg: #E9E8E3;
    --fg-soft: #9BA7A8;
    --accent: #6CBFC9;
    --accent-ink: #8FD3DB;
    --accent-soft: #1E3033;
    --line: #2A3435;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #121819;
  --surface: #1B2324;
  --fg: #E9E8E3;
  --fg-soft: #9BA7A8;
  --accent: #6CBFC9;
  --accent-ink: #8FD3DB;
  --accent-soft: #1E3033;
  --line: #2A3435;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--bg);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); }
h3 { font-size: 1.1875rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; }

p { margin: 0; }
a { color: var(--accent-ink); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.col { max-width: var(--measure); }

/* ---- nav ---- */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 11;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: transform 0.25s ease;
}

.nav.nav-hidden { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px) - 2px)); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 0.85rem;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-mark { display: block; height: 30px; width: auto; }

.nav-links {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
  font-size: 0.9375rem;
}

.nav-links a {
  color: var(--fg-soft);
  text-decoration: none;
}

.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: opacity 0.15s ease;
}

:root[data-theme="dark"] .btn,
:root:not([data-theme="light"]) .btn { color: #0E1516; }

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .btn { color: #fff; }
}

.btn:hover { opacity: 0.88; }

.btn-quiet {
  background: transparent;
  color: var(--accent-ink);
  border-color: var(--line);
}

:root[data-theme="dark"] .btn-quiet,
:root:not([data-theme="light"]) .btn-quiet { color: var(--accent-ink); }

/* ---- sections ---- */
section { padding-block: clamp(3rem, 7vw, 5rem); }
section + section { border-top: 1px solid var(--line); }
.hero + section { border-top: 0; }
.tint { background: var(--surface); }

.eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.lead { font-size: clamp(1.125rem, 2.4vw, 1.3125rem); color: var(--fg-soft); line-height: 1.55; }

.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2.25rem; }

/* ---- hero ---- */
.hero {
  position: relative;
  margin-top: calc(-1 * env(safe-area-inset-top, 0px));
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(3.5rem, 9vw, 6rem));
  padding-bottom: clamp(3rem, 7vw, 4.5rem);
  background:
    radial-gradient(90rem 40rem at 12% -10%, var(--accent-soft) 0%, transparent 62%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 88%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -14rem;
  bottom: -22rem;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.16;
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero h1 span { color: var(--accent-ink); }

/* ---- panorama ---- */
.pano { margin: 0; }

.pano img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: var(--surface);
}

.pano figcaption {
  margin-top: 0.7rem;
  font-size: 0.875rem;
  color: var(--fg-soft);
}

/* ---- photo strip ---- */
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
}

.shot {
  min-width: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  background: var(--surface);
}

.shot-slot {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--fg-soft);
  font-size: 0.8125rem;
  border: 1px dashed var(--line);
  padding: 0.75rem;
}

/* ---- room photos ---- */
.rooms { margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }

.rooms-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0.75rem;
}

.rooms-grid img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface);
}

.rooms-grid .main { aspect-ratio: 4 / 3; height: auto; }

.rooms-side { position: relative; min-width: 0; }

.rooms-side-inner {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
}

.rooms-side-inner img { height: 100%; min-height: 0; }

.rooms figcaption { font-size: 0.875rem; color: var(--fg-soft); }

@media (max-width: 42rem) {
  .rooms-grid { grid-template-columns: minmax(0, 1fr); }
  .rooms-side-inner { position: static; display: flex; flex-direction: column; }
  .rooms-side-inner img { height: auto; }
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9375rem;
  color: var(--fg-soft);
  text-decoration: none;
}

.rating b { color: var(--fg); font-variant-numeric: tabular-nums; }

.star { color: #E8A23B; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---- grids ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem 2.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.pillar { min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; }

.pillar .mark {
  width: 1.75rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 0.65rem;
}

/* ---- service links ---- */
.service {
  display: block;
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: var(--bg);
  transition: border-color 0.15s ease;
}

.service:hover { border-color: var(--accent); }
.service h3 { margin-bottom: 0.4rem; }
.service p { color: var(--fg-soft); font-size: 0.9875rem; }

.service .go {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ---- preguntas ---- */
.qa { display: flex; flex-direction: column; gap: 1.6rem; max-width: var(--measure); }
.qa > div { min-width: 0; }
.qa dt { font-weight: 600; margin-bottom: 0.35rem; }
.qa dd { margin: 0; color: var(--fg-soft); }
.qa dd ul { margin: 0 0 0.5rem; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; }
.qa dd strong { color: var(--fg); font-weight: 600; }

.more-link { color: var(--fg-soft); }

/* ---- facts ---- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem 2rem; }
.fact { min-width: 0; }
.fact dt { font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 0.3rem; }
.fact dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.fact dd small { display: block; font-weight: 400; color: var(--fg-soft); font-size: 0.875rem; }

/* ---- portrait ---- */
.portrait {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  background: var(--surface);
}

.portrait-slot {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--fg-soft);
  font-size: 0.875rem;
  border: 1px dashed var(--line);
  padding: 1rem;
}

.about { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 2.5rem; align-items: start; }

@media (max-width: 42rem) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 18rem; }
}

/* ---- credentials ---- */
.creds { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.creds li { padding-left: 1.1rem; position: relative; color: var(--fg-soft); }
.creds li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.4rem; height: 1px; background: var(--accent); }

/* ---- closing band ---- */
.band { background: var(--surface); }
.band .wrap { padding-block: clamp(3rem, 7vw, 4.5rem); }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); color: var(--fg-soft); font-size: 0.9375rem; }
footer .wrap { padding-block: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: space-between; }
footer a { color: var(--fg-soft); }

/* ---- floating whatsapp ---- */
.wa-float {
  position: fixed;
  right: calc(1.25rem + env(safe-area-inset-right, 0px));
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.wa-float svg { width: 2rem; height: 2rem; fill: #fff; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
