:root {
  --ivory: #faf6ee;
  --ivory-2: #f4ecdb;
  --stone: #e6dccb;
  --stone-2: #d4c6ac;
  --charcoal: #26241f;
  --charcoal-soft: #3b3830;
  --muted: #6f685c;
  --olive: #6a7a4e;
  --olive-dark: #4d5a39;
  --terracotta: #b66a47;
  --gold: #b9874c;
  --line: #d8cdba;
  --shadow: 0 18px 48px -22px rgba(38, 36, 31, 0.35);
  --radius: 4px;
  --max-w: 1240px;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.005em; color: var(--charcoal); }
h1 { font-size: clamp(3rem, 7vw, 5.6rem); line-height: 1.02; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 0 0 1rem; }
h3 { font-size: 1.55rem; line-height: 1.2; margin: 0 0 .6rem; }
p { margin: 0 0 1rem; color: var(--charcoal-soft); }
em { font-style: italic; color: var(--olive-dark); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: .78rem;
  color: var(--olive);
  margin: 0 0 .9rem;
  font-weight: 500;
}
.eyebrow.centered, h2.centered, p.centered { text-align: center; }
.lede { font-size: 1.13rem; color: var(--charcoal-soft); }

/* ---------- layout ---------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-features { background: var(--ivory-2); }
.section-spaces { background: var(--ivory); }
.section-location { background: var(--ivory-2); }
.section-contact { background: var(--ivory); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  transition: background 280ms ease, box-shadow 280ms ease, color 280ms ease, padding 280ms ease;
  color: #fff;
}
.nav.scrolled {
  background: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--charcoal);
  padding: 12px 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; }
.brand-mark {
  display: inline-block;
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.nav.scrolled .brand-mark { box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.footer-brand .brand-mark { width: 56px; height: 56px; padding: 4px; margin-bottom: 6px; display: block; }
.brand-name { font-family: var(--display); font-size: 1.3rem; letter-spacing: .04em; }

.nav-links { display: flex; gap: 30px; align-items: center; font-size: .95rem; }
.lang-switch {
  display: inline-flex;
  align-items: stretch;
  margin-left: 4px;
  border: 1px solid currentColor;
  border-radius: 999px;
  overflow: hidden;
  font-size: .78rem;
  letter-spacing: .14em;
  opacity: 0.9;
}
.lang-btn {
  background: transparent;
  border: 0;
  padding: 6px 12px;
  min-width: 38px;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.lang-btn:hover { background: rgba(255,255,255,0.12); }
.lang-btn[aria-pressed="true"] {
  background: #fff;
  color: var(--charcoal);
}
.nav.scrolled .lang-btn:hover { background: rgba(38,36,31,0.08); }
.nav.scrolled .lang-btn[aria-pressed="true"] {
  background: var(--charcoal);
  color: var(--ivory);
}
.lang-sep { display: none; }
.nav-links a { position: relative; }
.nav-links a:not(.nav-cta):hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  border-bottom: 1px solid currentColor;
}
.nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 8px 18px;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.nav.scrolled .nav-cta { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.nav.scrolled .nav-cta:hover { background: var(--olive-dark); border-color: var(--olive-dark); }
.nav:not(.scrolled) .nav-cta:hover { background: rgba(255,255,255,0.15); }

.nav-toggle {
  display: none;
  background: transparent; border: 0; padding: 8px;
  flex-direction: column; gap: 5px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 1.5px; background: currentColor; transition: transform 200ms ease, opacity 200ms ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%);
}
.hero-inner {
  position: absolute; left: 0; right: 0; bottom: 14%;
  text-align: center;
  padding: 0 28px;
  animation: rise 1200ms cubic-bezier(.2,.7,.2,1) both;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: .82rem;
  margin: 0 0 18px;
  opacity: 0.92;
}
.hero-title {
  font-family: var(--display);
  font-weight: 300;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}
.hero-tagline {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  max-width: 36ch;
  margin: 14px auto 32px;
  color: rgba(255,255,255,0.92);
}
.hero-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.btn-primary { background: var(--charcoal); color: var(--ivory); }
.btn-primary:hover { background: var(--olive-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-block { display: block; width: 100%; }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 32px;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 14px;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px;
  width: 2px; height: 8px; background: #fff; border-radius: 1px;
  transform: translateX(-50%);
  animation: scrollHint 1800ms ease-in-out infinite;
}
@keyframes scrollHint {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 18px); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.two-col-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

/* ---------- features grid ---------- */
.features-grid {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 28px;
}
.features-grid li {
  text-align: left;
  padding: 28px 24px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.features-grid li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--stone-2);
}
.feature-icon {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ivory-2);
  color: var(--olive-dark);
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.features-grid h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.features-grid p { font-size: .94rem; margin: 0; color: var(--muted); }

/* ---------- spaces / split rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  max-width: var(--max-w);
  margin: clamp(60px, 8vw, 110px) auto 0;
  padding: 0 28px;
}
.split.reverse .split-media { order: 2; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-text h3 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin-bottom: 1rem;
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 56px 28px 0;
  max-width: 1440px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.gallery-item.tall { aspect-ratio: 3 / 4; grid-row: span 1; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.15));
  opacity: 0; transition: opacity 280ms ease;
}
.gallery-item:hover::after { opacity: 1; }

/* ---------- location ---------- */
.distances {
  list-style: none; padding: 0; margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.distances li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
}
.distances strong { font-weight: 500; color: var(--charcoal); }
.distances span { color: var(--muted); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--stone);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link {
  display: inline-block;
  margin-top: 16px;
  font-size: .92rem;
  color: var(--olive-dark);
  border-bottom: 1px solid var(--stone-2);
  padding-bottom: 2px;
}
.map-link:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* ---------- contact form ---------- */
.contact-form {
  margin-top: 40px;
  display: grid;
  gap: 16px;
}
.contact-form .row { display: grid; gap: 16px; }
.contact-form .row.two { grid-template-columns: 1fr 1fr; }
.contact-form label { display: block; }
.contact-form label > span {
  display: block;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 14px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--charcoal);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 180ms ease, background 180ms ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--olive-dark);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-block { margin-top: 8px; }
.form-note { min-height: 1.5em; margin: 8px 0 0; font-size: .92rem; text-align: center; }
.form-note.ok { color: var(--olive-dark); }
.form-note.err { color: var(--terracotta); }

/* ---------- footer ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.78);
  padding: 70px 0 50px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand .brand-mark,
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 12px; font-size: .9rem; color: rgba(255,255,255,0.6); letter-spacing: .08em; }
.footer-links { display: flex; gap: 28px; justify-content: flex-end; font-size: .95rem; }
.footer-links a { border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color 200ms ease, color 200ms ease; }
.footer-links a:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
.footer-fine {
  grid-column: 1 / -1;
  margin: 50px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: .82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: .04em;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 18, 14, 0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lb-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lb-figure img {
  max-width: min(92vw, 1500px);
  max-height: 82vh;
  width: auto; height: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
}
.lb-figure figcaption {
  color: rgba(255,255,255,0.78);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.lb-close { top: 20px; right: 20px; }
.lb-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); }

/* ---------- whatsapp ---------- */
.whatsapp-card {
  display: flex; align-items: center; gap: 16px;
  margin: 32px auto 12px;
  padding: 16px 20px;
  max-width: 460px;
  background: #25D366;
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 12px 30px -14px rgba(37, 211, 102, 0.6);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.whatsapp-card:hover {
  transform: translateY(-2px);
  background: #1faf54;
  box-shadow: 0 18px 36px -14px rgba(37, 211, 102, 0.7);
}
.whatsapp-icon {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  color: #fff;
  flex-shrink: 0;
}
.whatsapp-icon svg { display: block; }
.whatsapp-text { display: flex; flex-direction: column; line-height: 1.3; }
.whatsapp-line1 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.whatsapp-line2 {
  font-size: .9rem;
  opacity: 0.92;
  margin-top: 2px;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.or-divider {
  margin: 28px 0 4px;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.65), 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 200ms ease, background 200ms ease;
}
.whatsapp-float:hover { transform: translateY(-2px) scale(1.04); background: #1faf54; }
.whatsapp-float svg { display: block; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms ease, transform 800ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { padding: 14px 20px; }
  .nav.scrolled { padding: 10px 20px; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0;
    background: rgba(250, 246, 238, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    color: var(--charcoal);
    transform: translateY(-120%);
    transition: transform 280ms ease;
    box-shadow: 0 12px 24px -16px rgba(0,0,0,0.2);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; text-align: center; padding: 14px 20px; }
  .nav-links a.nav-cta { margin: 8px 28px; border-color: var(--charcoal); }
  .nav-toggle { display: inline-flex; }
  .two-col { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .two-col-media img, .split-media img, .map-frame { aspect-ratio: 4 / 3; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); padding: 40px 16px 0; }
  .gallery-item.tall { aspect-ratio: 4 / 3; }
  .contact-form .row.two { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .lb-close { top: 12px; right: 12px; }
  .lb-prev  { left: 8px; }
  .lb-next  { right: 8px; }
  .lang-switch { margin: 6px 0 8px; justify-content: center; }
  .whatsapp-card { gap: 14px; padding: 14px 16px; }
  .whatsapp-line1 { font-size: .95rem; }
  .whatsapp-line2 { font-size: .85rem; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
