:root {
  --forest: #213b30;
  --deep: #172f26;
  --ink: #25372e;
  --muted: #53665b;
  --cream: #f5f1e9;
  --white: #fffdfa;
  --bronze: #805e36;
  --line: #ddd5c7;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1rem/1.65 var(--sans); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, strong { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid #a07640; outline-offset: 4px; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link { position: fixed; z-index: 60; top: 8px; left: 8px; padding: 10px 16px; background: white; }
.container { width: min(1240px, calc(100% - 88px)); margin-inline: auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--bronze);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; flex: 0 0 24px; }
.section-title { margin: 0 0 24px; font: 500 clamp(2.2rem, 4.1vw, 3.65rem)/1.12 var(--serif); letter-spacing: -.04em; }
.section-title em { color: var(--bronze); font-weight: 400; }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--forest); }
.logo-mark svg { width: 30px; height: 30px; }
.logo-name { display: block; font: 600 1.23rem/1.15 var(--serif); }
.logo-caption { display: block; margin-top: 2px; color: var(--muted); font-size: .8125rem; }
nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 27px); }
nav a { font-size: .875rem; font-weight: 600; }
nav a:hover, .footer-row a:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 20px; }
.btn-primary { background: var(--forest); color: white; }
.btn-primary:hover { background: #315746; }
.btn-outline { color: var(--forest); border-color: #9caa9f; background: transparent; }
.btn-outline:hover { background: #e7ebe3; }
.btn-light { background: #fbf2e4; color: var(--deep); }
.btn-light:hover { background: #eadcc7; }
.btn-header { flex-shrink: 0; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--forest); min-width: 44px; min-height: 44px; cursor: pointer; }

.hero { padding-block: 48px; background: var(--cream); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 62px); align-items: center; }
.hero-copy { min-width: 0; padding-block: 16px; }
.hero h1 {
  margin: 0 0 23px;
  color: var(--deep);
  font: 500 clamp(2.9rem, 5.05vw, 5.15rem)/1.04 var(--serif);
  letter-spacing: -.055em;
}
.hero h1 em { display: block; color: var(--bronze); font-weight: 400; }
.hero-intro { max-width: 44ch; color: var(--muted); }
.hero-price { margin: 25px 0 23px; color: var(--forest); font-size: clamp(1.9rem, 3vw, 2.65rem); font-weight: 700; line-height: 1.1; letter-spacing: -.045em; }
.hero-price span { display: block; margin-bottom: 8px; color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin: 17px 0 0; color: var(--muted); font-size: .875rem; }
.hero-visual { position: relative; aspect-ratio: 1.22; border-radius: 5px 84px 5px 5px; overflow: hidden; background: #c8d0b6; box-shadow: 0 14px 36px #233b3026; }
.hero-visual img, .intro-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual img { object-position: center; }

.facts { background: var(--forest); color: white; }
.facts-inner { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); list-style: none; margin-block: 0; padding: 26px 0; }
.facts-inner li { padding: 4px 14px; text-align: center; }
.facts-inner li + li { border-left: 1px solid #ffffff36; }
.facts-inner strong { display: block; font: 500 clamp(1.125rem, 2.1vw, 1.7rem)/1.15 var(--serif); }
.facts-inner span { display: block; margin-top: 6px; color: #e3e7de; font-size: .8125rem; line-height: 1.4; }

.intro-section, .features-section, .gallery-section, .location-section, .closing-section { padding-block: clamp(54px, 7.5vw, 104px); }
.intro-grid, .location-grid, .closing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(25px, 7vw, 90px); align-items: center; }
.intro-grid p:not(.eyebrow), .location-grid .section-lead { color: var(--muted); max-width: 56ch; }
.intro-image { aspect-ratio: 1.45; overflow: hidden; border-radius: 5px 5px 5px 60px; background: #dbe1ce; }
.features-section { background: var(--cream); }
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-top: 32px; }
.feature { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 5px; }
.feature img { width: 100%; height: auto; aspect-ratio: 1.48; object-fit: cover; background: #dbe1ce; }
.feature div { padding: 20px; }
.feature h3, .location-marker h3, .contact-panel h3 { margin: 0 0 9px; font: 600 1.42rem/1.25 var(--serif); }
.feature p { margin: 0; color: var(--muted); }

.gallery-bar { margin-bottom: 25px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; }
.filter { min-height: 44px; padding: 7px 15px; border: 1px solid #b7c0b5; border-radius: 24px; background: transparent; color: var(--forest); font-size: .875rem; font-weight: 700; cursor: pointer; }
.filter:hover, .filter[aria-pressed="true"] { background: var(--forest); color: white; border-color: var(--forest); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.gallery-item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; background: #dbe1ce; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.05); }
.gcaption { position: absolute; inset: auto 0 0; padding: 18px 10px 7px; background: linear-gradient(transparent, #0c2119e8); color: white; font-size: .8125rem; font-weight: 700; line-height: 1.35; }
.zoom { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--deep); background: #fffef2eb; font-size: 1.25rem; line-height: 1; }
.gallery-foot { display: flex; justify-content: center; margin-top: 25px; }
.gallery-foot:has([hidden]) { display: none; }

.location-section { background: #e9eee5; }
.location-points { list-style: none; margin: 24px 0 0; padding: 0; }
.location-points li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #c9d3c7; }
.location-points svg { width: 21px; height: 21px; flex: 0 0 21px; color: var(--forest); }
.location-card { display: grid; place-items: center; min-height: 325px; padding: 22px; border-radius: 5px; background: repeating-radial-gradient(ellipse at 95% 15%, transparent 0 21px, #456b5116 22px 23px, transparent 24px 33px), #d7e2d3; }
.location-marker { width: min(100%, 350px); padding: 27px 16px; border-radius: 5px; background: var(--white); text-align: center; }
.pin { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 50%; background: var(--forest); color: white; }
.pin svg { width: 28px; height: 28px; }
.location-marker p { color: var(--muted); }
.location-marker a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; font-weight: 700; }

.closing-section { background: var(--deep); color: var(--white); }
.closing-section .eyebrow, .closing-section em { color: #e4c39a; }
.closing-section p { color: #dee6dc; }
.closing-section .btn { margin-block: 8px 14px; }
.contact-panel { padding: clamp(20px, 4vw, 42px); border: 1px solid #8b9e90; border-radius: 5px; background: #ffffff08; }
.contact-panel p:last-child { margin-bottom: 0; }
.contact-panel .contact-price { margin: 4px 0 16px; color: white; font-weight: 700; font-size: clamp(1.65rem, 3.4vw, 2.6rem); line-height: 1.2; }
.contact-sub { margin: 0; font-size: .875rem; }
footer { padding: 22px 0; color: #dee6dc; background: #10241c; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: .875rem; }
.footer-name { font: 600 1.12rem var(--serif); color: white; }
.whatsapp-float { position: fixed; z-index: 25; right: 18px; bottom: 18px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #246343; color: white; box-shadow: 0 8px 25px #10241c3b; }
.whatsapp-float:hover { background: var(--deep); }
.whatsapp-float svg { width: 22px; height: 22px; }
.mobile-sticky { display: none; }
@media (min-width: 966px) {
  .footer-row { padding-right: 52px; }
}

.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #101f19f5; color: white; }
.lightbox::backdrop { background: #101f19; }
.lightbox-body { position: relative; display: grid; align-items: center; justify-items: center; min-height: 100%; padding: 68px 72px; }
.lightbox-figure { display: grid; justify-items: center; gap: 12px; }
.lightbox-figure img { width: auto; height: auto; max-height: calc(100vh - 174px); max-height: calc(100dvh - 174px); object-fit: contain; }
.lightbox figcaption { font-size: .875rem; text-align: center; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid #ffffff70; background: #ffffff19; color: white; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: #ffffff33; }
.lightbox-close { top: 15px; right: 16px; }
.lightbox-count { position: absolute; top: 23px; left: 16px; font-size: .875rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

@media (max-width: 965px) {
  .container { width: min(100% - 48px, 880px); }
  .menu-toggle { display: inline-grid; place-items: center; }
  .btn-header { margin-left: auto; }
  nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 8px 24px 17px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 14px 18px #172f261a; }
  nav.open { display: grid; gap: 0; }
  nav a { display: flex; align-items: center; min-height: 44px; }
  .whatsapp-float { display: none; }
  .mobile-sticky { position: fixed; z-index: 25; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 16px max(8px, env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -5px 20px #172f261a; }
  .mobile-price { color: var(--muted); font-size: .8125rem; line-height: 1.25; }
  .mobile-price strong { display: block; color: var(--forest); font-size: 1rem; }
  footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: 83px; }
}

@media (max-width: 850px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 20px; }
  .facts-inner li:nth-child(5) { border-left: 0; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 710px) {
  .container { width: calc(100% - 32px); }
  .header-row { min-height: 65px; gap: 12px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-mark svg { width: 25px; height: 25px; }
  .logo-name { font-size: 1.06rem; }
  .logo-caption { font-size: .75rem; }
  .btn-header { display: none; }
  .hero { padding-block: 20px 32px; }
  .hero-layout, .intro-grid, .location-grid, .closing-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { gap: 25px; }
  .hero-visual { grid-row: 1; aspect-ratio: 1.65; border-top-right-radius: 45px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.55rem, 10vw, 4rem); }
  .hero-copy .eyebrow { margin-bottom: 10px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lightbox-body { padding: 66px 12px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; }
}

@media (max-width: 560px) {
  .hero-actions > * { width: 100%; }
  .features-grid { grid-template-columns: minmax(0, 1fr); }
  .facts-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; padding-block: 20px; }
  .facts-inner li:nth-child(odd) { border-left: 0; }
  .facts-inner li:last-child { grid-column: 1 / -1; border-top: 1px solid #ffffff36; padding-top: 13px; }
  .location-card { min-height: 266px; }
}

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