:root { --cream: #fefaf2; --ink: #134c8f; --gold: #f8c76b; --blue: #2e7bb6; --sky: #47ade1; --text: #344b60; --muted: #526679; --line: #d7dfe5; --serif: 'Italiana',Georgia,serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0px; background: var(--cream); color: var(--text); font: 15px / 1.6 "DM Sans", Arial, sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
svg { width: 22px; height: 22px; vertical-align: middle; flex-shrink: 0; }
img { max-width: 100%; display: block; }
button { border: 0px; background: none; }
h1, h2, h3, p { margin-top: 0px; }
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 400; line-height: 1.06; }
h1 { font-size: clamp(56px, 7.3vw, 112px); letter-spacing: -0.035em; }
h2 { font-size: clamp(40px, 4.5vw, 70px); letter-spacing: -0.025em; }
h3 { font-size: 32px; }
p { max-width: 65ch; }
.eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
.skip { position: fixed; top: -80px; z-index: 100; background: white; padding: 15px; }
.skip:focus { top: 0px; }
header { height: 112px; display: flex; align-items: center; justify-content: space-between; padding: 0px 4.5vw; position: absolute; top: 0px; left: 0px; width: 100%; z-index: 20; color: white; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.logo { width: 204px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a, .nav button { font-size: 13px; }
.nav button { display: flex; align-items: center; gap: 12px; }
.nav .inquire { border: 1px solid rgba(255, 255, 255, 0.44); padding: 11px 20px; }
.menu-toggle { display: none !important; }
.mega { position: absolute; top: 112px; left: 0px; width: 100%; padding: 40px 4.5vw; background: var(--cream); color: var(--ink); display: grid; grid-template-columns: 1fr 2.5fr; gap: 50px; box-shadow: rgba(19, 76, 143, 0.12) 0px 30px 40px; animation: 0.32s ease 0s 1 normal none running menuin; }
.mega[hidden] { display: none; }
.mega-links { display: flex; flex-direction: column; gap: 12px; }
.mega-links a { font-family: var(--serif); font-size: 28px; }
.mega-regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mega-regions img { height: 150px; width: 100%; object-fit: cover; margin-bottom: 12px; }
.mega-regions a { font-size: 14px; }
.hero { height: min(920px, 100svh); min-height: 690px; position: relative; color: white; display: flex; align-items: flex-end; padding: 180px 6vw 115px; isolation: isolate; }
.hero > img { position: absolute; inset: 0px; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0px; background: linear-gradient(rgba(12, 38, 65, 0.35), transparent 40%, rgba(10, 35, 62, 0.65)); z-index: -1; }
.hero h1 { margin: 18px 0px 25px; max-width: 830px; }
.hero h1 em { font-weight: 400; }
.hero-bottom { position: absolute; bottom: 32px; left: 6vw; right: 6vw; display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-cta { display: inline-flex; gap: 35px; align-items: center; padding: 15px 0px; border-bottom: 1px solid rgba(255, 255, 255, 0.667); font-size: 14px; }
.hero-aside { position: absolute; right: 6vw; bottom: 135px; max-width: 235px; font-size: 14px; }
.sun { width: 80px; height: 80px; margin-bottom: 20px; }
.section { padding: 100px 6vw; }
.intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12vw; align-items: center; }
.intro h2 { max-width: 650px; }
.intro p { color: var(--muted); }
.textlink { display: inline-flex; gap: 30px; align-items: center; border-bottom: 1px solid var(--ink); padding: 10px 0px; font-size: 13px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
.section-top h2 { margin: 12px 0px 0px; }
.destinations { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 18px; }
.destination { height: 440px; position: relative; overflow: hidden; color: white; display: flex; flex-direction: column; justify-content: end; padding: 25px; }
.destination img { position: absolute; inset: 0px; width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s; z-index: 0; }
.destination::after { content: ""; position: absolute; inset: 0px; background: linear-gradient(transparent 40%, rgba(10, 35, 62, 0.65)); }
.destination > :not(img) { position: relative; z-index: 1; }
.destination h3 { margin: 7px 0px; font-size: 35px; }
.destination:hover img, .card:hover img { transform: scale(1.045); }
.destination svg { position: absolute; bottom: 30px; right: 22px; }
.destination small { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; }
.collection { background: #f5eddf; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 25px; }
.card { position: relative; }
.card-photo { overflow: hidden; position: relative; aspect-ratio: 1.25 / 1; background: #e6f0f6; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.card .save { position: absolute; right: 14px; top: 14px; background: var(--cream); border-radius: 50%; height: 40px; width: 40px; display: grid; place-items: center; z-index: 2; }
.save.active { color: var(--ink); }
.save.active svg { fill: currentcolor; }
.card-info { padding: 20px 0px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.card h3 { font-size: 29px; margin: 7px 0px 0px; }
.card small { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; }
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 9vw; align-items: center; }
.story > img { height: 640px; width: 100%; object-fit: cover; }
.story h2 { margin-top: 25px; }
.story p { color: var(--muted); }
.journal { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; }
.journal img { aspect-ratio: 1.7 / 1; object-fit: cover; width: 100%; }
.journal h3 { font-size: 40px; }
.contact-band { background: var(--ink); color: var(--cream); text-align: center; padding: 90px 6vw; }
.contact-band h2 { max-width: 850px; margin: 18px auto 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 35px; padding: 17px 26px; border: 1px solid var(--ink); background: var(--ink); color: white; font-size: 13px; }
.button.light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
footer { padding: 65px 6vw 25px; background: #f5eddf; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.footer-grid a { display: block; margin: 8px 0px; font-size: 14px; }
.footer-grid img { width: 210px; margin-bottom: 25px;  }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 22px; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.small-hero { height: 500px; min-height: 500px; padding-bottom: 65px; }
.small-hero h1 { font-size: 80px; }
.filterbar { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 18px; padding: 28px 0px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 35px 0px 25px; }
.field label { display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; background: transparent; border: 1px solid #8b9dad; border-radius: 0px; color: var(--ink); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 38px; }
.select-wrap svg { position: absolute; right: 12px; top: 15px; width: 16px; height: 16px; pointer-events: none; }
.filterbar > button { align-self: end; height: 51px; border: 1px solid #8b9dad; padding: 0px 16px; }
.results-bar { display: flex; justify-content: space-between; font-size: 12px; margin: 0px 0px 30px; }
.loadmore { display: block; margin: 45px auto 0px; }
.empty { padding: 70px; text-align: center; grid-column: 1 / -1; }
.detail-head { padding: 160px 6vw 35px; }
.solid-header { background: var(--ink); }
.detail-head .eyebrow a { text-decoration: underline; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.title-row h1 { margin: 25px 0px; font-size: 80px; }
.detail-photo { margin: 0px 3vw; position: relative; }
.detail-photo > img { width: 100%; height: 70vh; object-fit: cover; }
.detail-photo button { position: absolute; bottom: 25px; right: 25px; }
.detail-layout { display: grid; grid-template-columns: minmax(0px, 2fr) minmax(260px, 1fr); gap: 8vw; }
.richtext { font-size: 16px; color: var(--text); }
.richtext h2, .richtext h3, .richtext h4, .richtext h5 { color: var(--ink); font-family: var(--serif); font-size: 33px; margin: 36px 0px 18px; }
.richtext p { margin-bottom: 22px; }
.richtext a { text-decoration: underline; }
.richtext img { margin: 25px 0px; max-height: 600px; object-fit: contain; }
.richtext ul { padding-left: 20px; }
.inquiry-box { position: sticky; top: 25px; height: max-content; padding: 30px; border: 1px solid var(--line); }
.inquiry-box h3 { font-size: 36px; }
.inquiry-box a { margin: 8px 0px; }
.documents { margin-top: 30px; }
.documents a { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 15px 0px; font-size: 13px; gap: 15px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.photo-grid button { padding: 0px; }
.photo-grid img { width: 100%; height: 280px; object-fit: cover; }
.photo-grid button:first-child { grid-column: span 2; }
.photo-grid button:first-child img { height: 280px; }
dialog { border: 0px; background: #102c4b; padding: 60px 70px; color: white; width: 95vw; max-width: 1500px; height: 90vh; max-height: 100vh; }
dialog::backdrop { background: rgba(10, 30, 52, 0.94); }
dialog > img { width: 100%; height: 100%; object-fit: contain; }
.close { position: absolute; top: 9px; right: 18px; font-size: 32px; color: white; }
.prev, .next { position: absolute; top: 48%; color: white; }
.prev { left: 20px; transform: rotate(180deg); }
.next { right: 20px; }
.count { position: absolute; bottom: 15px; left: 45%; font-size: 12px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.contact-layout form { display: grid; gap: 20px; }
.contact-layout .form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.notice { font-size: 12px; color: var(--muted); }
#toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: var(--ink); color: white; padding: 13px 25px; z-index: 100; display: none; }
.saved-filter.active { background: var(--ink); color: white; }
.article { max-width: 900px; margin: auto; }
.article > img { width: 100%; margin-bottom: 40px; }
.mobile-links { display: none; }
@keyframes menuin { 
  0% { opacity: 0; transform: translateY(-12px); }
  100% { opacity: 1; transform: none; }
}
@media (min-width: 1600px) {
  .section { padding-left: max(6vw, -750px + 50vw); padding-right: max(6vw, -750px + 50vw); }
}
@media (max-width: 1000px) {
  .nav { gap: 18px; }
  .nav .desktop-link { display: none; }
  .destinations { grid-template-columns: 1fr 1fr; }
  .destination { height: 380px; }
  .hero-aside { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .intro { gap: 6vw; }
  .mega { grid-template-columns: 1fr 2fr; }
  .mega-regions { grid-template-columns: 1fr 1fr; }
  .mega-regions img { height: 100px; }
  .story > img { height: 500px; }
  .filterbar { grid-template-columns: 2fr 1fr; }
  .detail-layout { gap: 35px; }
}
@media (max-width: 650px) {
  header { height: 85px; padding: 0px 6vw; }
  .logo { width: 165px; }
  .nav > a, .nav > #explore { display: none; }
  .menu-toggle { display: flex !important; }
  .mega { top: 85px; padding: 25px 6vw; max-height: calc(-85px + 100svh); overflow: auto; grid-template-columns: 1fr; gap: 25px; }
  .mega-links { gap: 8px; }
  .mega-links a { font-size: 26px; }
  .mega-regions img { height: 110px; }
  .hero { min-height: 720px; height: 95svh; padding: 170px 6vw 125px; }
  .hero h1 { font-size: 62px; }
  .hero-bottom { font-size: 9px; gap: 20px; }
  .hero-bottom span:last-child { display: none; }
  .section { padding: 65px 6vw; }
  .intro, .story, .journal, .detail-layout, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .section-top { align-items: start; flex-direction: column; gap: 20px; }
  .section-top h2 { font-size: 43px; }
  .destinations { gap: 12px; }
  .destination { height: 310px; padding: 18px; }
  .destination h3 { font-size: 29px; max-width: 125px; }
  .destination svg { right: 12px; bottom: 18px; width: 18px; }
  .cards { grid-template-columns: 1fr; gap: 30px; }
  .card-photo { aspect-ratio: 1.15 / 1; }
  .story > img { height: 440px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-bottom { gap: 20px; flex-direction: column; }
  .small-hero { min-height: 420px; height: 420px; padding-bottom: 45px; }
  .small-hero h1 { font-size: 58px; }
  .filterbar { grid-template-columns: 1fr 1fr; gap: 12px; }
  .filterbar > .field:first-child { grid-column: span 2; }
  .filterbar > button { grid-column: span 2; }
  .detail-head { padding-top: 120px; }
  .title-row { align-items: start; flex-direction: column; gap: 0px; }
  .title-row h1 { font-size: 56px; }
  .title-row button { margin-bottom: 15px; }
  .detail-photo > img { height: 55vh; }
  .detail-photo { margin: 0px; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid img, .photo-grid button:first-child img { height: 190px; }
  .inquiry-box { position: static; }
  .contact-band h2 { font-size: 46px; }
  dialog { width: 100vw; height: 100svh; max-width: none; padding: 50px 35px; }
  .prev { left: 4px; }
  .next { right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: auto ease 0s 1 normal none running none !important; transition: none !important; }
}
[hidden] { display: none !important; }
.team-profiles { display: grid; gap: 80px; }
.team-profile { display: grid; grid-template-columns: 1fr 1.4fr; gap: 65px; align-items: start; }
.team-profile > img { width:100%; height:auto; max-height:none; aspect-ratio:4 / 5; object-fit:cover; object-position:50% 15%; }
.team-profile > img[src*="agus1"] { object-position:50% 40%; }
.story > img { object-position:50% 15%; }
.team-profile h2 { font-size: 48px; }
.team-profile .richtext h4 { font-family: inherit; font-size: 16px; }
.team-profile:nth-child(2n) > img { order: 2; }
.richtext svg { stroke: currentcolor; }
.richtext blockquote { margin: 25px 0px; padding-left: 25px; border-left: 1px solid var(--gold); }
.richtext h2:first-child { margin-top: 0px; }
@media (max-width: 650px) {
  .team-profile { grid-template-columns: 1fr; gap: 25px; }
  .team-profile:nth-child(2n) > img { order: 0; }
}
header { position: fixed; transition: background 0.25s, height 0.25s; }
header.scrolled { background: var(--ink); height: 85px; }
header.scrolled .mega { top: 85px; }
.mega.closing { animation: 0.32s ease 0s 1 normal forwards running menuout; }
@keyframes menuout { 
  100% { opacity: 0; transform: translateY(-12px); }
}
/* Original Sun Escape palette: cream, sun yellow and Caribbean blues. */
header { background: transparent; color: white; border-bottom-color: rgba(255,255,255,.25); }
header .logo img { filter: brightness(0) invert(1); }
header.scrolled, header.solid-header, header.menu-open { background: var(--cream); color: var(--ink); border-bottom-color: var(--line); }
header.scrolled .logo img, header.solid-header .logo img, header.menu-open .logo img { filter: none; }

header:not(.scrolled):not(.solid-header):not(.menu-open) .nav a:hover,
header:not(.scrolled):not(.solid-header):not(.menu-open) .nav button:hover { color: var(--gold); }
header .mega { background: var(--cream); color: var(--ink); }
.nav .inquire { border-color: currentColor; }
.logo img { width: 100%; height: auto; }
.nav button[aria-controls="mega"] { position: relative; padding-inline: 8px 38px; min-height: 44px; }
.nav button[aria-controls="mega"] > svg { position: absolute; inset-inline-end: 12px; width: 16px; height: 16px; transition: transform .2s; }
.nav button[aria-expanded="true"] > svg { transform: rotate(180deg); }
.nav a:hover, .nav button:hover, .mega-links a:hover { color: var(--blue); }
.hero h1, .destination h3 { color: inherit; }
.hero h1 em, .hero .sun { color: var(--gold); }
.contact-band { background: #eee3d1; color: var(--ink); }
.contact-band .button.light { background: var(--ink); color: white; border-color: var(--ink); }
.button:hover { background: var(--blue); border-color: var(--blue); color: white; }
.button.light:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.card .save.active { background: var(--gold); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.hero a:focus-visible, .destination:focus-visible { outline-color: var(--gold); }
.field select option { color: var(--text); background: var(--cream); }
::selection { background: var(--gold); color: var(--ink); }

/* Fixed navigation clearance, shared interaction timing and quiet reveal motion. */
:root { --anchor-clearance: 101px; --motion-fast: 240ms; --motion-ease: cubic-bezier(.22,.61,.36,1); }
html { scroll-padding-top: var(--anchor-clearance); }
.inquiry-box { top: var(--anchor-clearance); max-height: calc(100dvh - var(--anchor-clearance) - 20px); overflow-y: auto; scrollbar-width: thin; }
.button, .nav .inquire, .save, .filterbar > button, .photo-grid button, .documents a, .nav button { transition: background-color var(--motion-fast), color var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast) var(--motion-ease); }
.textlink, .hero-cta { position: relative; transition: color var(--motion-fast), border-color var(--motion-fast); }
.textlink::after, .hero-cta::after { content: ''; position: absolute; inset: auto 0 -1px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--motion-ease); }
.button > svg, .nav .inquire > svg, .textlink > svg, .hero-cta > svg, .documents a > svg { transition: transform 300ms var(--motion-ease); }
:is(.button, .nav .inquire, .textlink, .hero-cta, .documents a):focus-visible > svg { transform: translateX(5px); }
:is(.textlink, .hero-cta):focus-visible::after { transform: scaleX(1); }
.nav .inquire:focus-visible { background: var(--ink); color: white; border-color: var(--ink); }
@media (hover: hover) {
  .nav .inquire:hover { background: var(--ink); color: white !important; border-color: var(--ink); }
  header:not(.scrolled):not(.solid-header):not(.menu-open) .nav .inquire:hover { background: var(--cream); color: var(--ink) !important; border-color: var(--cream); }
  :is(.button, .nav .inquire, .textlink, .hero-cta, .documents a):hover > svg { transform: translateX(5px); }
  :is(.textlink, .hero-cta):hover::after { transform: scaleX(1); }
  .textlink:hover, .documents a:hover { color: var(--blue); }
  .hero-cta:hover { color: var(--gold); }
  .save:hover { transform: translateY(-2px); box-shadow: 0 5px 14px #134c8f20; }
  .filterbar > button:hover { background: var(--ink); color: white; }
  .photo-grid button:hover { opacity: .9; }
  dialog button:hover { background: #ffffff18; }
}
.reveal-pending { opacity: 0; transform: translateY(16px); }
.reveal-ready { transition: opacity 650ms var(--motion-ease), transform 650ms var(--motion-ease); }
.reveal-ready:focus-within { opacity: 1; transform: none; }
@media (max-width: 650px) { .inquiry-box { max-height: none; overflow: visible; } }
@media (prefers-reduced-motion: reduce) {
  .reveal-pending { opacity: 1; transform: none; }
  .textlink::after, .hero-cta::after { transition: none; }
  :is(.button, .nav .inquire, .textlink, .hero-cta, .documents a) > svg { transform: none !important; }
}

/* Reveal the finished layout, rather than the temporary fallback markup. */
body > header, body > main, body > footer { transition: opacity 360ms ease; }
header { transition: opacity 360ms ease, background-color 250ms, height 250ms; }
.logo img, .footer-grid img { aspect-ratio: 1164 / 281; height: auto; }
@media (prefers-reduced-motion: reduce) { body > header, body > main, body > footer { transition: none; } }

/* One shared pace for the destination panel and its navigation bar. */
header, header.menu-open { transition: opacity 360ms ease, background-color 320ms ease, color 320ms ease, border-color 320ms ease, height 250ms ease; }
header .logo img { transition: filter 320ms ease; }
@media (prefers-reduced-motion: reduce) { header, header.menu-open, header .logo img { transition: none; } }

.discover-link { display: inline-flex; align-items: center; gap: 10px; }
.site-credit a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 651px) {
 .nav > a, .nav > button { text-transform: uppercase; font-size: 11px; letter-spacing: .065em; }
}
@media (max-width: 650px) {
 .hero-bottom { justify-content: flex-end; bottom: 24px; }
 .hero-bottom > span, .discover-link > span { display: none; }
 .discover-link { width: 44px; height: 44px; justify-content: center; border: 1px solid #ffffff66; border-radius: 50%; }
 .hero:not(.small-hero) { padding-bottom: 105px; }
 .site-credit { max-width: 32ch; line-height: 1.8; }
}

.property-price { color: var(--ink); font-size: 15px; font-weight: 500; margin: 16px 0 0; }
.inquiry-box .property-price { margin: 0 0 18px; }
.detail-head > .property-price { margin: 0 0 12px; font-size: 19px; }

.whatsapp-float { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #087f5b; color: white; box-shadow: 0 5px 20px #102c4b30; z-index: 15; transition: background-color 240ms, transform 240ms, box-shadow 240ms; }
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (hover: hover) { .whatsapp-float:hover { background: #066649; transform: translateY(-3px); box-shadow: 0 8px 24px #102c4b40; } }
body:has(dialog[open]) .whatsapp-float { visibility: hidden; }
footer { padding-bottom: 25px; }
.footer-bottom { padding-right:70px; }
@media (max-width: 650px) {
 .whatsapp-float { right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
 .hero-bottom { right: calc(6vw + 66px); }
 body:has(header.menu-open) .whatsapp-float { visibility: hidden; }
 #toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-float { transition: none; transform: none !important; } }

.detail-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.detail-save { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--ink); color: var(--ink); flex-shrink: 0; font-size: 12px; transition: background-color 240ms, color 240ms; }
.detail-save.active { background: var(--ink); color: white; }
.detail-save.active svg { fill: currentColor; }
@media (hover: hover) { .detail-save:hover { background: var(--ink); color: white; } }
@media (max-width: 650px) {
 .detail-topline { gap: 12px; }
 .detail-topline .eyebrow { line-height: 1.7; }
 .detail-save { width: 44px; height: 44px; padding: 10px; }
 .detail-save > span { display: none; }
}

/* Decode each property photograph before revealing it, including gallery changes. */
.detail-photo, .photo-grid button { background-color: #eee3d1; }
.property-image { opacity: 1; transition: opacity 550ms cubic-bezier(.22,.61,.36,1); }
.property-image.photo-loading { opacity: 0; transition: none; }
.card img.property-image { transition: opacity 550ms ease, transform 700ms ease; }
@media (prefers-reduced-motion: reduce) { .property-image, .card img.property-image { transition: none; } }
/* Editorial journal and deliberate WhatsApp handoff. */
.whatsapp-widget { position:fixed; right:max(24px,env(safe-area-inset-right)); bottom:calc(24px + env(safe-area-inset-bottom)); z-index:15; }
.whatsapp-widget .whatsapp-float { position:static; }
.whatsapp-panel { position:absolute; right:0; bottom:74px; width:min(320px,calc(100vw - 36px)); padding:28px 24px 22px; background:var(--cream); border:1px solid #dcd5c8; border-radius:18px; box-shadow:0 12px 45px #102c4b24; animation:contact-reveal 240ms ease both; }
.whatsapp-panel[hidden] { display:none; }
.whatsapp-panel p { font:30px/1.1 var(--serif);color:var(--ink);margin:15px 0 10px; }
.whatsapp-panel .eyebrow { font-size:9px;letter-spacing:.12em; }
.whatsapp-panel .button { display:flex;justify-content:space-between;gap:12px;margin-top:20px; }
.whatsapp-panel small { display:block;font-size:11px;margin-top:10px; }
.whatsapp-dismiss { position:absolute;right:2px;top:2px;width:38px;height:38px; }
.whatsapp-dismiss svg { width:17px;height:17px; }
body:has(dialog[open]) .whatsapp-widget { visibility:hidden; }
@keyframes contact-reveal { from {opacity:0;transform:translateY(8px)} to {opacity:1;transform:translateY(0)} }
.journal-heading { position:static;display:block;height:auto;color:var(--ink);padding:170px 8vw 55px;border:0;max-width:1350px;margin:auto; }
.journal-heading h1 { font-size:clamp(40px,5.4vw,78px);margin:30px 0 24px;line-height:1.08; }
.journal-subtitle { font-size:20px;max-width:54ch; }
.journal-meta { display:flex;flex-wrap:wrap;gap:12px 25px;font-size:12px;color:var(--muted); }
.journal-cover { margin:0 4.5vw; }
.journal-cover img { width:100%;aspect-ratio:16/9;object-fit:cover; }
.journal-cover figcaption { font-size:11px;color:var(--muted);padding-top:10px; }
.journal-body { display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,2.4fr);gap:6vw;max-width:1400px;margin:auto;align-items:start; }
.journal-contents { position:sticky;top:110px; }
.journal-body aside { position:sticky;top:110px;max-height:calc(100dvh - 140px);overflow:auto; }
.journal-contents summary { cursor:pointer;font-size:12px;text-transform:uppercase;letter-spacing:.12em;position:relative;padding:15px 38px 15px 0;list-style:none;border-bottom:1px solid var(--line); }
.journal-contents summary::-webkit-details-marker { display:none; }
.journal-contents summary svg { position:absolute;right:12px;top:15px;width:18px; }
.journal-contents[open] summary svg { transform:rotate(180deg); }
.journal-contents nav { display:grid;padding:16px 0;gap:12px; }
.journal-contents a { font-size:12px;line-height:1.5; }
.journal-contents a:hover { color:var(--blue);text-decoration:underline; }
.journal-body .richtext { max-width:760px;font-size:17px;line-height:1.85;min-width:0; }
.journal-body .richtext h2 { font-size:clamp(30px,3vw,43px);line-height:1.2;margin:52px 0 22px; }
.journal-body .richtext h3 { font-size:28px;line-height:1.25;margin-top:36px; }
.journal-body .richtext a { text-decoration:underline;text-underline-offset:4px; }
.journal-body .richtext li { margin:10px 0; }
.journal-body .richtext hr { border:0;border-top:1px solid var(--line);margin:38px 0; }
.table-scroll { max-width:100%;overflow-x:auto;margin:30px 0;border:1px solid var(--line); }
.table-scroll table { width:100%;border-collapse:collapse;font-size:14px;line-height:1.6; }
.table-scroll th,.table-scroll td { padding:16px;text-align:left;border-bottom:1px solid var(--line);min-width:125px;vertical-align:top; }
.table-scroll th { background:#eee3d1;color:var(--ink); }
.table-scroll tr:last-child td { border:0; }
.article-next { display:grid;gap:22px;border-top:1px solid var(--line);padding-top:35px;margin-top:50px; }
.journal-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px 30px; }
.journal-card img { aspect-ratio:16/10;width:100%;object-fit:cover;transition:filter 300ms; }
.journal-card:hover img { filter:brightness(.94); }
.journal-card .eyebrow { margin:23px 0 15px; }
.journal-card h3 { font-size:32px;line-height:1.15; }
@media(max-width:900px) { .journal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.journal-body { grid-template-columns:1fr;gap:35px; }.journal-body aside { position:static;max-height:none; }.journal-contents nav { grid-template-columns:1fr 1fr;gap:12px 25px; } }
@media(max-width:650px) { .whatsapp-widget {right:max(18px,env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom));}body:has(header.menu-open) .whatsapp-widget {visibility:hidden}.journal-heading {padding:140px 6vw 35px;}.journal-subtitle {font-size:17px}.journal-grid {grid-template-columns:1fr;}.journal-contents nav {grid-template-columns:1fr;}.journal-body .richtext {font-size:16px;}.journal-cover {margin:0 6vw}.journal-card h3 {font-size:32px;} }
@media(prefers-reduced-motion:reduce) { .whatsapp-panel {animation:none}.journal-card img {transition:none} }
/* A calmer scroll transition, with a shared dropdown pace. */
#header { --header-duration:500ms; transition:opacity 360ms ease,background-color var(--header-duration) var(--motion-ease),color var(--header-duration) ease,border-color var(--header-duration) ease,height var(--header-duration) var(--motion-ease),box-shadow var(--header-duration) ease; }
#header.menu-open { --header-duration:320ms; }
#header.scrolled { box-shadow:0 5px 24px #102c4b0d; }
#header .logo { transition:transform var(--header-duration) var(--motion-ease);transform-origin:left center; }
#header.scrolled .logo { transform:scale(.94); }
#header .logo img { transition:filter var(--header-duration) ease; }
#header.scrolled .logo img,#header.solid-header .logo img,#header.menu-open .logo img {filter:brightness(1) invert(0);}
#header .mega,#header.scrolled .mega { top:100%; }
#header .nav > a,#header .nav > button { transition:color var(--header-duration) ease,background-color 240ms ease,border-color var(--header-duration) ease; }
.detail-actions { display:flex;align-items:center;gap:10px; }
.detail-share { display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--ink);padding:10px 16px;min-height:44px;color:var(--ink);font-size:12px;transition:background-color 240ms,color 240ms; }
.detail-share:hover {background:var(--ink);color:var(--cream);}
.footer-share {display:inline-flex;align-items:center;gap:9px;padding:8px 0;font-size:12px;}
.footer-share:hover {text-decoration:underline;text-underline-offset:4px;}
#share-dialog { width:min(480px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 40px);padding:40px 30px 24px;background:var(--cream);color:var(--ink);border-radius:12px; }
#share-dialog::backdrop { background:#102c4b88; }
#share-dialog h2 {font-size:40px;margin:18px 0;}
.share-close {position:absolute;top:8px;right:8px;width:44px;height:44px;}
.share-links {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0;}
.share-links > * {border:1px solid var(--line);padding:13px;text-align:center;font-size:13px;}
.share-links > :hover {border-color:var(--ink);}
.share-links > [hidden] {display:none;}
#share-dialog label {display:block;font-size:12px;margin-bottom:7px;}
#share-url {width:100%;padding:12px;border:1px solid var(--line);background:transparent;color:var(--text);font-size:12px;}
#share-status {font-size:12px;min-height:20px;margin:12px 0 0;}
@media(max-width:650px){.detail-share {width:44px;height:44px;padding:10px;}.detail-share span {display:none}.detail-actions {gap:6px}.detail-topline {gap:8px}.footer-bottom {flex-wrap:wrap;}}
@media(prefers-reduced-motion:reduce){#header,#header .logo,#header .logo img,#header .nav>a,#header .nav>button,.detail-share {transition:none;}}
#header:has(.mega:not([hidden])) { --header-duration:320ms; }

.form-honeypot { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
#inquiry button:disabled { opacity:.65;cursor:wait; }

/* A distinct completion state replaces the form after confirmed submission. */
.inquiry-flow { min-width:0; }
#inquiry[hidden],.inquiry-success[hidden] { display:none; }
.inquiry-success { padding:clamp(28px,4vw,50px);background:#eee3d1;border:1px solid #d8cbb6;border-radius:4px;animation:contact-reveal 360ms ease both; }
.inquiry-success:focus { outline:none; }
.success-check { display:grid;place-items:center;width:64px;height:64px;margin-bottom:30px;border-radius:50%;background:var(--ink);color:var(--cream); }
.success-check svg {width:36px;height:36px;}
.inquiry-success .eyebrow {display:block;margin-bottom:18px;}
.inquiry-success h2 {font-size:clamp(38px,4.4vw,60px);margin-bottom:25px;}
.inquiry-success p {line-height:1.8;}
#inquiry-reply-email {overflow-wrap:anywhere;}
.success-note {font-size:13px;color:var(--muted);}
.success-actions {display:flex;align-items:flex-start;flex-direction:column;gap:24px;margin-top:30px;}
.success-actions .button {white-space:normal;text-align:left;}
.success-actions button {padding:0;font-size:13px;}
@media(prefers-reduced-motion:reduce){.inquiry-success{animation:none;}}
/* Bring the compact navigation in 100px earlier and make its trigger unmistakable. */
@media (max-width:750px) {
 #header {height:85px;padding-inline:6vw;}
 #header .logo {width:165px;}
 #header .nav > a,#header .nav > #explore {display:none;}
 #header .nav .menu-toggle {display:flex !important;min-height:40px;min-width:84px;padding:8px 38px 8px 8px;border:1px solid currentColor;border-radius:0;background:transparent;color:var(--navigation-color);font-size:11px;font-weight:500;letter-spacing:.065em;text-transform:uppercase;}

 #header .nav .menu-toggle:focus-visible {outline:2px solid currentColor;outline-offset:4px;}
 #header .mega {padding:25px 6vw;max-height:calc(100svh - 85px);overflow:auto;grid-template-columns:1fr;gap:25px;}
 #header .mega-links {gap:8px;}
 #header .mega-links a {font-size:26px;}
 #header .mega-regions img {height:110px;}
 body:has(#header.menu-open) .whatsapp-widget {visibility:hidden;}
}
/* Give every navigation item the same colour target; avoid chained inherited fades. */
#header { --navigation-color:#fff; }
#header.scrolled,#header.solid-header,#header.menu-open { --navigation-color:var(--ink); }
#header > .nav { color:var(--navigation-color); }
.footer-grid > div:nth-child(2) > a,.footer-share { text-transform:capitalize;letter-spacing:.02em;font-size:14px; }

/* Destination photography fills a balanced two-by-two menu grid. */
#header .mega {max-height:calc(100svh - 112px);overflow-y:auto;}
#header.scrolled .mega {max-height:calc(100svh - 85px);}
#header .mega-regions {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-self:start;}
#header .mega-regions > a {position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;height:clamp(170px,22svh,220px);padding:20px;color:white;}
#header .mega-regions img {position:absolute;inset:0;z-index:-2;width:100%;height:100%;margin:0;object-fit:cover;transition:transform 450ms var(--motion-ease);}
#header .mega-regions > a::after {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#102c4b08 15%,#102c4b40 45%,#102c4bd9 100%);}
.mega-region-label {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;font:clamp(24px,2.3vw,34px)/1.1 var(--serif);text-shadow:0 1px 8px #0005;}
.mega-region-label svg {width:22px;height:22px;transition:transform 300ms var(--motion-ease);}
#header .mega-regions > a:focus-visible {outline:3px solid var(--cream);outline-offset:-5px;}
#header .mega-regions > a:focus-visible img {transform:scale(1.04);}
@media(hover:hover){#header .mega-regions > a:hover img {transform:scale(1.04);}#header .mega-regions > a:hover svg {transform:translateX(4px);}}
@media(max-width:750px){#header .mega {max-height:calc(100svh - 85px);}#header .mega-regions {gap:12px;}#header .mega-regions > a {height:155px;padding:14px;}.mega-region-label {font-size:24px;gap:8px;}.mega-region-label svg {width:18px;height:18px;}}
@media(prefers-reduced-motion:reduce){#header .mega-regions img,.mega-region-label svg {transition:none;transform:none !important;}}

/* Square header controls and a compact, branded language disclosure. */
#header .nav>a,#header .nav>button{border-radius:0}
.language-selector{position:relative;width:64px;flex-shrink:0;color:var(--navigation-color);font-size:11px;font-weight:500;letter-spacing:.065em;transition:color var(--header-duration,500ms) ease}
.language-selector summary{position:relative;display:flex;align-items:center;min-height:40px;padding:8px 38px 8px 8px;list-style:none;border:0;border-radius:0;cursor:pointer;transition:background-color 240ms ease,border-color var(--header-duration,500ms) ease}
.language-selector summary::-webkit-details-marker{display:none}
.language-selector summary>svg{position:absolute;inset-inline-end:12px;width:14px;height:14px;transition:transform 240ms ease}
.language-selector[open] summary>svg{transform:rotate(180deg)}
.language-selector summary:focus-visible,.language-options a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.language-options{position:absolute;top:calc(100% + 12px);right:0;min-width:155px;padding:8px;background:var(--cream);border:1px solid #d8cbb6;box-shadow:0 10px 30px #134c8f18;color:var(--ink);animation:language-reveal 180ms ease both}
#header .language-options a{display:block;padding:11px 14px;font-size:12px;text-transform:none;letter-spacing:.02em;color:var(--ink);transition:background-color 180ms ease}
#header .language-options a[aria-current]{background:var(--sand);box-shadow:inset 2px 0 var(--ink)}
@media(hover:hover){
 #header .nav .menu-toggle:hover,.language-selector summary:hover{background:color-mix(in srgb,var(--navigation-color) 10%,transparent);color:var(--navigation-color)}
 #header .language-options a:hover{background:var(--sand);color:var(--ink)}
}
@keyframes language-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:751px) and (max-width:1150px){.nav>.desktop-link{display:none}}
@media(max-width:750px){#header .nav{gap:8px}#header .logo{width:140px}#header .logo img{width:100%}.language-selector{width:62px;font-size:10px}}
@media(max-width:360px){#header .logo{width:110px}#header .nav{gap:6px}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.language-selector,.language-selector summary,.language-selector svg,.language-options a{transition:none}.language-options{animation:none}}

.language-selector[open] summary{background:color-mix(in srgb,var(--navigation-color) 10%,transparent)}
.mobile-language{display:none}
#header .language-options a{font-family:"DM Sans",Arial,sans-serif}
@media(max-width:750px){.mobile-language{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding-top:14px;border-top:1px solid var(--line)}.mobile-language .language-selector{color:var(--ink)}.mobile-language .language-options{z-index:2}.mobile-language .eyebrow{margin:0}}

/* Homepage portraits share the team page's face-safe crop and reserve their space. */
.team-spotlight { min-width:0; }
.team-portraits { display:grid; aspect-ratio:4 / 5; overflow:hidden; background:var(--sand); }
.team-portrait { grid-area:1 / 1; position:relative; min-width:0; margin:0; opacity:0; visibility:hidden; transition:opacity 900ms ease,visibility 900ms; }
.team-portrait.is-active { opacity:1; visibility:visible; z-index:1; }
.team-portrait img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 15%; }
.team-portrait img[src*="agus1"] { object-position:50% 40%; }
.team-portrait figcaption { position:absolute; inset:auto 0 0; color:#fff; padding:50px 25px 22px; font-size:20px; background:linear-gradient(transparent,rgba(0,0,0,.65)); }
.team-portrait-controls { display:flex; align-items:center; justify-content:space-between; margin-top:8px; }
.team-portrait-dots { display:flex; }
.team-portrait-controls button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; background:transparent; color:var(--ink); cursor:pointer; transition:background 200ms; }
.team-portrait-controls button:hover { background:rgba(19,76,143,.08); }
.team-portrait-controls button:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.team-portrait-dots span { width:7px; height:7px; border:1px solid currentColor; border-radius:50%; }
.team-portrait-dots [aria-pressed="true"] span { background:currentColor; }
.team-rotation-toggle svg { width:20px; height:20px; }
.team-rotation-toggle[hidden] { display:none; }
@media(prefers-reduced-motion:reduce){.team-portrait,.team-portrait-controls button{transition:none;}}

/* One upright heading style, with natural wrapping on tablets and phones. */
:is(h1,h2,h3,h4,h5,h6), :is(h1,h2,h3,h4,h5,h6) * { font-style:normal !important; }
.responsive-break::after { content:"\A"; white-space:pre; }
@media(max-width:1050px){
 .responsive-break::after { content:none; }
 :is(h1,h2,h3,h4,h5,h6) { text-wrap:balance; }
}

/* Saved homes are a secondary option within the property menu. */
#header .mega-links .mega-saved { display:flex; align-items:center; gap:10px; padding:2px 0 8px 14px; margin-top:-6px; font-family:"DM Sans",Arial,sans-serif; font-size:11px; font-weight:500; letter-spacing:.2em; text-transform:uppercase; line-height:1.5; color:var(--muted); }
#header .mega-links .mega-saved svg { width:16px; height:16px; }
#header .mega-links .mega-saved:hover { color:var(--ink); }

.contact-emails {display:grid;justify-items:start;gap:10px;}
.contact-emails .textlink {max-width:100%;gap:12px;overflow-wrap:anywhere;}
.footer-grid p {font-size:14px;}
@media(max-width:750px){.footer-grid a{overflow-wrap:anywhere}}
/* The listed price and conversion controls form one quiet, unified panel. */
.currency-estimate {display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:22px 32px;align-items:end;max-width:680px;margin:24px 0 0;padding:25px 28px 20px;background:#f3eddf;border:1px solid var(--line);}
.currency-estimate .pricing-summary .eyebrow {font-size:10px;letter-spacing:.16em;}
.currency-estimate .property-price {font-size:25px;line-height:1.3;margin:10px 0 0;font-weight:500;}
.currency-estimate .field {margin:0;width:auto;}
.currency-estimate label {font-size:10px;letter-spacing:.16em;margin-bottom:9px;}
.currency-estimate select {min-height:44px;background:var(--cream);font-size:14px;padding:10px 38px 10px 14px;}
.currency-estimate .select-wrap svg {top:14px;}
.pricing-conversion {grid-column:1 / -1;border-top:1px solid var(--line);padding-top:14px;}
.currency-estimate .notice {font-size:12px;line-height:1.6;margin:0;}
@media(max-width:500px){.currency-estimate{padding:20px;gap:18px;grid-template-columns:1fr}.currency-estimate .property-price{font-size:23px}.currency-estimate .pricing-currency{display:flex;align-items:center;justify-content:space-between;gap:18px}.currency-estimate label{margin:0}.currency-estimate .select-wrap{width:112px;flex-shrink:0}}


.faq-section{max-width:1100px;margin:auto;padding-top:0}.faq-section details{border-top:1px solid var(--line);padding:20px 0}.faq-section summary{position:relative;padding-right:38px;cursor:pointer;list-style:none;color:var(--ink)}.faq-section summary::-webkit-details-marker{display:none}.faq-section summary svg{position:absolute;right:12px;top:2px;width:18px;height:18px;transition:transform .2s}.faq-section details[open] svg{transform:rotate(180deg)}.faq-section details p{margin:18px 0 0}
@media(max-width:500px){.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}}

.inquiry-actions {display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:20px 0;}
.inquiry-box .inquiry-actions > a {margin:0;max-width:100%;}
.inquiry-actions .button {white-space:normal;}
.property-price .pricing-link {font-size:13px;font-weight:400;}

.inquiry-box {padding:24px;}
.inquiry-box h3 {font-size:32px;line-height:1.15;margin-bottom:18px;}
.inquiry-box > p:not(.property-price) {font-size:14px;line-height:1.6;margin:0 0 16px;}
.inquiry-box .inquiry-actions {gap:10px;margin:16px 0;}
