:root {
  --sand: #f7f1e8;
  --paper: #fffcf7;
  --wood: #8a5a32;
  --wood-dark: #5e3b1f;
  --sea: #3e6b66;
  --sea-dark: #2c4f4b;
  --sunrise: #e2873b;
  --ink: #2c2621;
  --muted: #6c6258;
  --line: #e6dccd;
  --wa: #25d366;
  --radius: 14px;
  --serif: "Marcellus", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--sans);
  color: var(--ink);
  background: var(--sand);
}
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--wood-dark); }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; flex: none; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 10vw, 112px) 0; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sunrise); margin-bottom: .75em;
}
.two-col { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.1fr 1fr; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.3em; height: 1.3em; }
.btn-wa { background: var(--wa); color: #073b1c; box-shadow: 0 6px 20px rgb(0 0 0 / .18); }
.btn-wa:hover { background: #2ee575; }
.btn-ghost { color: #fff; border: 1.5px solid rgb(255 255 255 / .75); }
.btn-ghost:hover { background: rgb(255 255 255 / .12); }
.btn-outline { color: var(--sea); border: 1.5px solid var(--sea); margin-top: .5em; }
.btn-outline:hover { background: var(--sea); color: #fff; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 max(16px, calc((100% - 1120px) / 2));
  color: #fff;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgb(255 252 247 / .94); color: var(--wood-dark);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; margin-right: auto; }
.brand-mark { width: 46px; height: 38px; }
.brand-word { font-family: var(--serif); font-size: 1.35rem; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }
.brand-word small { display: block; font-size: .55em; letter-spacing: .3em; margin-bottom: 2px; }
.site-header:not(.scrolled) .brand, .site-header:not(.scrolled) .nav a { text-shadow: 0 1px 8px rgb(0 0 0 / .35); }
.site-header:not(.scrolled) .brand-mark { filter: drop-shadow(0 1px 6px rgb(0 0 0 / .35)); }

.nav { display: none; gap: 26px; }
.nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--sunrise); }
@media (min-width: 860px) { .nav { display: flex; } }

.lang { display: flex; border: 1.5px solid currentColor; border-radius: 999px; overflow: hidden; }
.lang button {
  font: 700 .78rem/1 var(--sans); letter-spacing: .06em;
  padding: .55em .8em; border: 0; background: transparent; color: inherit; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--wood-dark); }
.site-header.scrolled .lang button[aria-pressed="true"] { background: var(--wood-dark); color: #fff; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: #fff; overflow: hidden; background: #3a3530;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgb(0 0 0 / .35), transparent 30%, transparent 45%, rgb(20 14 8 / .7));
}
.hero-inner { position: relative; z-index: 1; width: min(1120px, 100% - 32px); margin: 0 auto; padding-bottom: clamp(48px, 10vh, 96px); }
.hero .eyebrow { color: #ffd9b3; }
.hero h1 { font-size: clamp(3rem, 10vw, 6.5rem); letter-spacing: .02em; margin-bottom: .2em; text-shadow: 0 2px 20px rgb(0 0 0 / .3); }
.hero-tag { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.2; margin-bottom: .4em; text-shadow: 0 1px 12px rgb(0 0 0 / .45); }
.hero-lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 34em; text-shadow: 0 1px 10px rgb(0 0 0 / .4); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* Facts */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.facts li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; display: grid; gap: 4px;
}
.facts svg { width: 28px; height: 28px; color: var(--sea); margin-bottom: 6px; }
.facts strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--wood-dark); }
.facts span { color: var(--muted); font-size: .95rem; line-height: 1.3; }

/* Amenities */
.amenities { background: var(--paper); border-block: 1px solid var(--line); }
.amen-groups { display: grid; gap: 28px; margin-top: 1.5em; }
@media (min-width: 760px) { .amen-groups { grid-template-columns: repeat(3, 1fr); gap: 36px 48px; } }
.amen-group { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); }
.amen-group li { display: flex; align-items: flex-start; gap: 14px; padding: 8px 0; }
.amen-group svg { width: 26px; height: 26px; color: var(--sea); margin-top: 1px; }

/* Gallery */
.gallery { margin-top: 1.5em; display: flex; align-items: flex-start; gap: 10px; }
@media (min-width: 860px) { .gallery { gap: 14px; } }
.gallery-col { flex: 1; min-width: 0; }
.gallery button {
  display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; border-radius: 10px;
  overflow: hidden; cursor: zoom-in; background: var(--line);
}
@media (min-width: 860px) { .gallery button { margin-bottom: 14px; } }
.gallery img { width: 100%; height: auto; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button:focus-visible { outline: 3px solid var(--sunrise); outline-offset: 2px; }

/* Location */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3.2; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Contact */
.contact { background: var(--sea-dark); color: #eef4f2; text-align: center; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: #ffc48f; }
.contact-mark { width: 96px; height: 80px; color: #d9b48f; margin: 0 auto 20px; display: block; }
.contact-lead { max-width: 32em; margin-inline: auto; opacity: .9; }
.contact-cards { display: grid; gap: 16px; margin-top: 2em; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: 1fr 1fr; max-width: 780px; margin-inline: auto; } }
.card {
  display: grid; justify-items: center; gap: 4px; padding: 28px 20px;
  background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .16); border-radius: var(--radius);
  color: #fff; text-decoration: none; transition: background-color .15s ease, transform .15s ease;
}
.card:hover { background: rgb(255 255 255 / .13); transform: translateY(-2px); }
.card svg { width: 34px; height: 34px; margin-bottom: 6px; color: #ffc48f; }
.card-label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.card-main { font-family: var(--serif); font-size: clamp(1.25rem, 4.5vw, 1.6rem); overflow-wrap: anywhere; }
.card-sub { font-size: .92rem; opacity: .8; }

.site-footer { background: #22403d; color: rgb(255 255 255 / .6); text-align: center; font-size: .85rem; padding: 22px 16px 90px; }
.site-footer p { margin: 0; }
@media (min-width: 700px) { .site-footer { padding-bottom: 22px; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / .25);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float svg { width: 32px; height: 32px; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(15 12 10 / .94); color: #fff;
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; height: 100dvh; display: grid; grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); padding: 56px 0 16px; min-width: 0; }
.lightbox img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lightbox figcaption { padding-top: 12px; font-size: .95rem; opacity: .85; text-align: center; }
.lb-close, .lb-nav { background: none; border: 0; color: #fff; cursor: pointer; font: 300 2.8rem/1 var(--sans); padding: 12px 14px; opacity: .8; }
.lb-close:hover, .lb-nav:hover { opacity: 1; }
.lb-close { position: absolute; top: 4px; right: 8px; z-index: 1; }
@media (max-width: 600px) {
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: 8px; z-index: 1; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lightbox figure { padding: 56px 0 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
