:root {
  color-scheme: light;
  --navy: #081420;
  --navy-deep: #060f19;
  --ink: #14202b;
  --ivory: #f6f2e9;
  --gold: #ddbd85;
  --muted: #5b615f;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 500 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #b37e32; outline-offset: 5px; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { font-family: var(--serif); font-weight: 400; line-height: .98; }
.wrap { width: min(100% - clamp(2.5rem, 10vw, 10rem), 85rem); margin-inline: auto; }
.header { position: absolute; z-index: 2; inset: 0 0 auto; background: #12223585; color: var(--ivory); border-bottom: 1px solid #ffffff2b; backdrop-filter: blur(12px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 5.5rem; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.brand img { width: 3.35rem; height: auto; flex-shrink: 0; }
.brand span { font: 400 1.55rem/.95 var(--serif); white-space: nowrap; }
.brand small { display: block; font: 600 .59rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #d9c7a8; margin-top: .48rem; }
nav { display: flex; gap: clamp(1.5rem, 4vw, 4rem); font-size: .84rem; }
nav a:hover { color: var(--gold); }
.menu-toggle { display: none; }
.button { align-items: center; justify-content: center; display: inline-flex; gap: 1.25rem; min-height: 3.4rem; padding: .6rem 1.3rem; font-size: .84rem; font-weight: 700; transition: background .2s, color .2s; white-space: nowrap; }
.button span { font-size: 1.1rem; }
.button-outline { color: var(--ivory); border: 1px solid #dfbd8299; min-height: 2.75rem; }
.button-outline:hover { background: var(--gold); color: var(--navy); }
.button-gold { background: var(--gold); color: var(--navy); }
.button-gold:hover { background: #f0d7a5; }
.hero { isolation: isolate; position: relative; min-height: clamp(41rem, 92svh, 58rem); display: flex; align-items: center; background: var(--navy); color: var(--ivory); overflow: hidden; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 70% center; z-index: -2; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg,#102237d9 0%,#102237a8 24%,#10223738 53%,transparent 76%), linear-gradient(0deg,#10223775,transparent 22%); }
.hero-inner { padding-block: 8rem 4.5rem; }
.eyebrow { font-size: .66rem; line-height: 1.4; font-weight: 700; letter-spacing: .21em; text-transform: uppercase; }
.location { color: #f0ce95; display: flex; align-items: center; gap: .8rem; margin-bottom: 1.65rem; }
.location::before { content: ""; background: currentColor; width: 1.9rem; height: 1px; }
h1 { font-size: clamp(4rem, 7.9vw, 8.6rem); letter-spacing: -.035em; }
h1 em, .about em { color: var(--gold); font-weight: 400; }
.hero-copy { color: #ede6da; margin: 1.6rem 0 2rem; max-width: 23rem; font-size: clamp(.95rem, 1.2vw, 1.12rem); }
.properties { padding-block: clamp(4rem, 8vw, 8rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; padding-bottom: 1.65rem; border-bottom: 1px solid #9e89665e; margin-bottom: 2rem; }
h2 { font-size: clamp(3rem, 5.8vw, 5.7rem); letter-spacing: -.024em; }
.section-heading p { font-size: .78rem; color: var(--muted); flex-shrink: 0; padding-bottom: .22rem; }
.property-grid { display: grid; grid-template-columns: repeat(3,minmax(0, 1fr)); gap: clamp(1rem, 2.6vw, 2.8rem); }
.property { padding-bottom: 1.25rem; border-bottom: 1px solid #9e89665e; min-width: 0; }
.property-photo { padding: 0; border: 0; display: block; position: relative; width: 100%; cursor: pointer; background: #d1c3ad; overflow: hidden; }
.property-photo img { width: 100%; height: auto; aspect-ratio: 7 / 6; object-fit: cover; transition: transform .4s; }
.property-photo:hover img { transform: scale(1.045); }
.property-photo .property-arrow { position: absolute; bottom: .8rem; right: .8rem; background: var(--ivory); color: var(--navy); width: 2.5rem; height: 2.5rem; display: grid; place-items: center; }
.property .eyebrow { color: #745b34; margin-top: 1.4rem; margin-bottom: .5rem; }
.property h3 { font-size: clamp(1.9rem, 3.05vw, 3.15rem); }
.about { background: var(--navy); color: var(--ivory); }
.about-inner { padding-block: clamp(3rem, 7vw, 6rem); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(2rem, 6vw, 6rem); row-gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.about .eyebrow { color: var(--gold); margin-bottom: 1rem; }
.about-credential { color: var(--gold); font-size: .83rem; margin-top: .9rem; }
.about-lead { color: var(--ivory); font: 400 clamp(1.55rem, 2.7vw, 2.3rem)/1.18 var(--serif); margin-top: 1.5rem; max-width: 30rem; }
.about-story, .about-values { color: #e4ded2; }
.about-story { max-width: 65ch; }
.about-story p + p, .about-values p + p { margin-top: 1rem; }
.about-values { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); margin-top: 1rem; padding-top: 2rem; border-top: 1px solid #ddbd8547; }
.about-values h3 { font-size: clamp(2.1rem, 3.6vw, 3.3rem); color: var(--ivory); margin-bottom: 1rem; }
.about-values .about-signature { margin-top: 1.5rem; padding-left: 1rem; border-left: 1px solid var(--gold); color: var(--gold); font: italic 400 clamp(1.4rem, 2.4vw, 2rem)/1.25 var(--serif); }
.contact { padding-block: clamp(4rem, 8vw, 8rem); display: flex; gap: 2rem; justify-content: space-between; align-items: center; }
.contact p { margin-top: 1rem; color: var(--muted); max-width: 62ch; }
.contact .button { flex-shrink: 0; }
footer { background: var(--navy-deep); color: var(--ivory); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 2rem; }
address,.footer-phone { font: 500 .82rem/1.6 var(--sans); }
address { color: #ddd3c2; }
.footer-phone { color: var(--gold); white-space: nowrap; }
dialog { padding: 0; border: 0; width: min(calc(100% - 2rem), 39rem); max-height: calc(100% - 2rem); background: var(--ivory); color: var(--ink); }
dialog::backdrop { background: #050c16c9; }
dialog img { width: 100%; height: clamp(10rem, 32vh, 20rem); object-fit: cover; }
.dialog-content { padding: clamp(1.3rem, 5vw, 2.5rem); }
.dialog-content h2 { font-size: clamp(2.5rem,5vw,4rem); margin-top: .6rem; }
.dialog-content h2 + p { margin-block: .9rem 1.25rem; }
.close { position: absolute; top: .7rem; right: .7rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 0; background: var(--ivory); color: var(--ink); font-size: 1.75rem; line-height: 1; cursor: pointer; }
@media (max-width: 43rem) {
  .header-inner { min-height: 4.5rem; gap: .75rem; }
  .brand img { width: 2.6rem; }
  .header-contact { display: none; }
  .menu-toggle:not([hidden]) { display: inline-flex; gap: .4rem; align-items: center; background: transparent; color: var(--ivory); border: 1px solid #dfbd8299; padding: .38rem .6rem; font-size: .76rem; cursor: pointer; }
  .header nav { position: absolute; top: 100%; right: 0; left: 0; background: var(--navy); justify-content: center; padding: 1.25rem; }
  .menu-toggle[aria-expanded="false"]:not([hidden]) + nav { display: none; }
  .hero { min-height: 45rem; align-items: end; }
  .hero-image { object-position: 93% 18%; height: 78%; }
  .hero::after { background: linear-gradient(0deg,#081420 5%,#081420 20%,#081420c9 41%,#08142018 70%); }
  .hero-inner { padding-block: 17rem 3rem; }
  h1 { font-size: clamp(3.2rem,10.8vw,5rem); }
  .location { margin-bottom: 1.2rem; }
  .hero-copy { margin-block: 1rem 1.4rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .55rem; }
  .property-grid { grid-template-columns: 1fr; gap: 2rem; }
  .property-photo img { aspect-ratio: 4 / 3; }
  .about-inner,.about-values { grid-template-columns: 1fr; }
  .contact,.footer-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
[hidden] { display: none !important; }
.catalog-status:empty, #dialog-description:empty { display: none; }
.catalog-status { font-size: .95rem; color: var(--muted); }
.property-photo { aspect-ratio: 7 / 6; background: var(--navy); }
.property-photo img { height: 100%; }
.property-location { font-size: .83rem; color: var(--muted); margin-top: .6rem; }
.property-price { color: #745b34; font-size: 1rem; font-weight: 700; margin-top: .35rem; }
#catalog-more { margin-top: 1.75rem; }
.button-light { border: 1px solid #98815b; background: transparent; color: var(--ink); cursor: pointer; }
.button-light:hover { background: #eadcc4; }
.dialog-content #dialog-description { white-space: pre-wrap; margin: .75rem 0; overflow-wrap: anywhere; }
.dialog-content .button { margin-top: 1rem; }
@media (max-width: 43rem) { .property-photo { aspect-ratio: 4 / 3; } }

.header-contact { color: var(--gold); font-variant-numeric: tabular-nums; }
.contact-phone { display: inline-block; margin-top: 1rem; color: var(--ink); font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 700; }
.contact-phone:hover { text-decoration: underline; text-underline-offset: .15em; }
.footer-phone { font-size: 1rem; font-weight: 700; }
.whatsapp-float {
  position: fixed;
  z-index: 5;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  padding: .55rem .95rem .55rem .6rem;
  border-radius: 999px;
  background: #106548;
  color: #fff;
  box-shadow: 0 .25rem 1.25rem #08142045;
  line-height: 1.2;
}
.whatsapp-float:hover { background: #0a5038; }
.whatsapp-float small, .whatsapp-float strong { display: block; }
.whatsapp-float small { font-size: .66rem; margin-bottom: .16rem; }
.whatsapp-float strong { font-size: .84rem; }
.whatsapp-symbol { border: 1px solid #ffffff8c; border-radius: 50%; display: grid; place-items: center; width: 2rem; height: 2rem; font-size: 1.05rem; }
body:has(.whatsapp-float) footer { padding-bottom: 3.75rem; }
#property-dialog .close { z-index: 1; }
.dialog-gallery { background: var(--navy); }
.dialog-gallery img { object-fit: contain; }
.gallery-controls { display: flex; justify-content: center; align-items: center; gap: .85rem; color: var(--ivory); padding: .45rem; }
.gallery-controls button { border: 1px solid #ffffff73; background: transparent; color: var(--ivory); width: 2.75rem; height: 2.75rem; padding: 0; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.gallery-controls button:hover { background: #ffffff24; }
.gallery-controls span { min-width: 3.4em; text-align: center; font-size: .8rem; }
.dialog-photo-error { padding: 4rem 1rem; text-align: center; color: var(--ivory); }

.public-site {
  --display: Impact, "Barlow Condensed", "Arial Narrow", sans-serif;
  --navy: #122131;
  --navy-deep: #101c28;
  --ink: #23313e;
}
.public-site :where(.hero, .properties, #property-dialog) :is(h1, h2, h3, .button, .eyebrow, .property-price) {
  font-family: var(--display);
  font-weight: 800;
  font-synthesis: none;
  text-transform: uppercase;
}
.public-site :where(.hero, .properties, #property-dialog) :is(h1, h2, h3) { letter-spacing: .005em; line-height: 1.02; }
.public-site .hero h1 em { font-style: normal; font-weight: inherit; }
.public-site .hero h1 { font-size: clamp(3.4rem, 6.45vw, 7.2rem); }
.public-site .properties h2 { font-size: clamp(2.55rem, 5.35vw, 5.1rem); }
.public-site :where(.hero, .properties, #property-dialog) .button { letter-spacing: .06em; }
.public-site .properties h3 { font-size: clamp(1.75rem, 3.2vw, 3.05rem); overflow-wrap: anywhere; }
.public-site :where(.properties, #property-dialog) .property-price { font-size: 1.3rem; letter-spacing: .025em; }
@media (max-width: 43rem) {
  .public-site .hero h1 { font-size: clamp(2.65rem, 9.2vw, 4.3rem); }
  .public-site .hero::after { background: linear-gradient(0deg,var(--navy) 5%,var(--navy) 20%,#122131bd 41%,#12213118 70%); }
}
