:root {
  --navy: #2f3c69;
  --navy-dark: #17203d;
  --blue: #536de5;
  --green: #34d754;
  --green-dark: #19aa36;
  --white: #ffffff;
  --paper: #f5f6f8;
  --ice: #edf0f6;
  --line: #dde2eb;
  --ink: #18213b;
  --muted: #667188;
  --shadow: 0 16px 44px rgba(23, 32, 61, .11);
  --shadow-strong: 0 28px 80px rgba(15, 23, 46, .25);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { border: 0; }
button, select { cursor: pointer; }
img { display: block; max-width: 100%; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(52, 215, 84, .72); outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 500;
  top: 10px;
  left: 10px;
  padding: 11px 16px;
  background: var(--white);
  color: var(--navy-dark);
  border-radius: 5px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.contact-bar { min-height: 36px; display: flex; align-items: center; background: var(--navy-dark); color: rgba(255, 255, 255, .76); }
.contact-bar__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; }
.contact-bar__inner > span { letter-spacing: .025em; }
.contact-bar__inner > div { display: flex; align-items: center; gap: 26px; }
.contact-bar a { transition: color .16s ease; }
.contact-bar a:hover { color: var(--green); }

.site-header { background: var(--navy); }
.masthead { min-height: 104px; display: flex; align-items: center; gap: clamp(28px, 5vw, 70px); }
.brand { flex: 0 0 224px; width: 224px; }
.brand img { width: 100%; height: auto; }
.masthead-copy { display: flex; flex-direction: column; gap: 3px; margin-left: auto; color: rgba(255, 255, 255, .72); }
.masthead-copy small { color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.masthead-copy strong { color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 500; }
.header-contact {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
  transition: background .16s ease, transform .16s ease;
}
.header-contact:hover { background: #128e2c; transform: translateY(-1px); }
.header-contact svg { flex: 0 0 18px; width: 18px !important; height: 18px !important; fill: #fff !important; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  place-content: center;
  gap: 5px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: var(--navy-dark);
}
.menu-button span { width: 19px; height: 2px; background: var(--white); }

.nav-wrap { position: relative; z-index: 80; background: var(--navy); color: var(--white); }
.nav-inner { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 38px); }
.main-nav a, .nav-mail { position: relative; padding: 17px 0; color: rgba(255, 255, 255, .79); font-size: 11px; font-weight: 800; letter-spacing: .035em; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 10px; left: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
.main-nav a:hover, .nav-mail:hover { color: var(--white); }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-mail { margin-left: auto; color: var(--green); }

.hero {
  position: relative;
  min-height: 510px;
  display: grid;
  align-items: center;
  background: var(--navy-dark);
  color: var(--white);
}
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { background: url("primera-hero.webp") center right / cover no-repeat; }
.hero-overlay {
  background: linear-gradient(90deg, rgba(18, 27, 53, .94) 0%, rgba(28, 40, 76, .82) 48%, rgba(28, 40, 76, .16) 82%),
    linear-gradient(0deg, rgba(12, 19, 39, .34), transparent 54%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-block: 72px 80px; }
.hero-copy { width: min(620px, 58%); }
.kicker { margin: 0 0 12px; color: var(--blue); font-size: 10px; line-height: 1.2; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.kicker--light { color: var(--green); }
.hero h1, .section-heading h2, .about h2, .contact h2, .property-detail h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.028em;
}
.hero h1 { max-width: 610px; margin: 0; font-size: clamp(42px, 4.8vw, 62px); line-height: 1.04; }
.hero-copy > p:not(.kicker) { max-width: 570px; margin: 20px 0 0; color: rgba(255, 255, 255, .79); font-size: 17px; line-height: 1.7; }

.hero-search {
  position: absolute;
  z-index: 40;
  right: 24px;
  bottom: -128px;
  left: 24px;
  width: min(1120px, calc(100% - 48px));
  min-height: 92px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(330px, 1.12fr) minmax(220px, .72fr) auto;
  align-items: stretch;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}
.hero-search label { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 18px 24px; border-right: 1px solid var(--line); }
.hero-search label > span { margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero-search select { width: 100%; min-width: 0; padding: 0 28px 0 0; outline: none; background: transparent; color: var(--navy-dark); font-size: 15px; font-weight: 800; }
.hero-search > button { min-width: 200px; padding: 16px 24px; background: var(--green); color: #103b19; border-radius: 0 var(--radius) var(--radius) 0; font-size: 12px; font-weight: 900; transition: background .16s ease; }
.hero-search > button:hover { background: #49e467; }

.property-type-control { position: relative; min-width: 0; border-right: 1px solid var(--line); }
.property-type-trigger {
  width: 100%;
  height: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 4px 16px;
  padding: 18px 24px;
  background: var(--white);
  color: var(--navy-dark);
  text-align: left;
}
.property-type-trigger > span { grid-column: 1; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.property-type-trigger > strong { grid-column: 1; min-width: 0; font-size: 15px; line-height: 1.35; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.property-type-trigger svg { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--blue); transition: transform .18s ease; }
.property-type-control.is-open .property-type-trigger svg { transform: rotate(180deg); }

.property-type-panel {
  position: absolute;
  z-index: 60;
  top: calc(100% + 12px);
  left: 0;
  width: min(860px, calc(100vw - 48px));
  max-height: min(72vh, 650px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(15, 23, 46, .24);
}
.property-type-panel__heading { position: sticky; z-index: 2; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 22px 26px 19px; background: var(--white); border-bottom: 1px solid var(--line); }
.property-type-panel__heading span { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.property-type-panel__heading h2 { margin: 4px 0 0; color: var(--navy-dark); font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.15; font-weight: 500; }
.property-type-panel__close { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 50%; background: var(--paper); color: var(--navy); font-size: 24px; line-height: 1; }
.property-type-panel__close:hover { background: var(--ice); }
.property-type-groups { padding: 2px 26px 4px; }
.property-type-group { min-width: 0; margin: 0; padding: 21px 0 23px; border: 0; border-bottom: 1px solid var(--line); }
.property-type-group:last-child { border-bottom: 0; }
.property-type-group legend { width: 100%; margin: 0 0 15px; padding: 0; color: var(--navy-dark); font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 500; }
.property-type-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 28px; }
.property-type-options label { min-width: 0; min-height: 34px; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 11px; padding: 0; border: 0; color: var(--ink); font-size: 13px; line-height: 1.35; cursor: pointer; }
.property-type-options input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  display: grid;
  place-content: center;
  margin: 0;
  border: 1.5px solid #c9cfda;
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
}
.property-type-options input::before { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) scale(0); transition: transform .12s ease; }
.property-type-options input:checked { border-color: var(--blue); background: var(--blue); }
.property-type-options input:checked::before { transform: rotate(-45deg) scale(1); }
.property-type-options label:hover span { color: var(--blue); }
.property-type-panel__actions { position: sticky; z-index: 2; bottom: 0; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 16px 26px; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); }
.property-type-panel__actions button { min-height: 42px; padding: 10px 17px; border-radius: 5px; font-size: 11px; font-weight: 900; }
#property-type-clear { background: var(--paper); color: var(--muted); }
#property-type-clear:hover { color: var(--navy); }
#property-type-apply { min-width: 112px; background: var(--blue); color: var(--white); }
#property-type-apply:hover { background: var(--navy); }

.section { padding: 88px 0; }
.properties { padding-top: 132px; background: var(--white); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); align-items: end; gap: clamp(36px, 7vw, 92px); margin-bottom: 34px; }
.section-heading h2, .about h2, .contact h2 { margin: 0; color: var(--navy-dark); font-size: clamp(36px, 4vw, 50px); line-height: 1.05; }
.section-heading > p { max-width: 500px; margin: 0 0 2px; color: var(--muted); font-size: 14px; line-height: 1.72; }
.section-heading--center { display: flex; flex-direction: column; align-items: center; gap: 13px; text-align: center; }
.section-heading--center > p { margin: 0; }

.property-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.property-filters { display: inline-flex; align-items: center; gap: 2px; }
.property-filters button { min-height: 38px; padding: 9px 16px; background: transparent; color: var(--muted); border-bottom: 2px solid transparent; font-size: 11px; font-weight: 850; white-space: nowrap; }
.property-filters button:hover { color: var(--navy); }
.property-filters button.is-active { color: var(--navy); border-bottom-color: var(--green); }
.property-count { margin: 0; color: var(--muted); font-size: 11px; font-weight: 750; }
.properties-status { min-height: 110px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 28px; background: var(--paper); color: var(--muted); text-align: center; }
.properties-status--error { flex-direction: column; }
.properties-status--error strong { color: var(--navy-dark); font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.properties-status--error span { max-width: 560px; font-size: 13px; line-height: 1.65; }
.spinner { flex: 0 0 22px; width: 22px; height: 22px; border: 3px solid rgba(83, 109, 229, .16); border-top-color: var(--blue); border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.properties-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.property-card { min-width: 0; width: 100%; display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .18s ease, box-shadow .18s ease; }
.property-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.property-card__media { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy); }
.property-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .32s ease; }
.property-card:hover .property-card__media > img { transform: scale(1.025); }
.property-card__badge { position: absolute; top: 13px; left: 13px; padding: 6px 9px; background: var(--navy); color: var(--white); font-size: 8px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.property-placeholder { width: 100%; height: 100%; display: grid; place-items: center; padding: 34px; background: var(--navy); }
.property-placeholder img, .property-image-fallback { width: min(175px, 68%) !important; height: auto !important; margin: auto; object-fit: contain !important; transform: none !important; }
.property-card__body { min-width: 0; flex: 1; display: flex; flex-direction: column; padding: 18px 19px 17px; }
.property-card__price { margin: 0 0 9px; color: var(--navy); font-size: 17px; line-height: 1.35; font-weight: 900; overflow-wrap: anywhere; }
.property-card h3 { min-height: 48px; margin: 0; color: var(--navy-dark); font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.25; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.property-card__location { min-height: 34px; margin: 9px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; font-weight: 700; text-transform: uppercase; letter-spacing: .035em; overflow-wrap: anywhere; }
.property-card__facts { display: flex; flex-wrap: wrap; gap: 6px 12px; min-height: 34px; margin-top: 12px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.45; }
.property-card__facts span { min-width: 0; overflow-wrap: anywhere; }
.property-card__facts strong { color: var(--ink); }
.property-card__action { width: 100%; min-height: 37px; margin-top: auto; padding: 13px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: transparent; color: var(--blue); font-size: 10px; font-weight: 900; text-align: left; text-transform: uppercase; letter-spacing: .06em; }
.property-card__action:hover { color: var(--navy); }
.property-card__action span { font-size: 17px; transition: transform .16s ease; }
.property-card__action:hover span { transform: translateX(4px); }
.properties-more { display: flex; justify-content: center; margin-top: 34px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 4px; font-size: 11px; font-weight: 900; text-align: center; transition: transform .16s ease, background .16s ease, color .16s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--green); color: #103b19; }
.button--primary:hover { background: #49e467; }
.button--outline { background: var(--white); color: var(--navy); border: 1px solid var(--navy); }
.button--outline:hover { background: var(--navy); color: var(--white); }
.button[disabled] { cursor: wait; opacity: .56; transform: none; }

.about { padding: 86px 0; background: var(--paper); border-block: 1px solid var(--line); }
.about-inner { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(50px, 10vw, 130px); align-items: start; }
.about-heading { padding-left: 22px; border-left: 4px solid var(--green); }
.about-copy { max-width: 720px; }
.about-copy p { color: var(--muted); font-size: 14px; line-height: 1.82; }
.about-copy .about-lead { margin: 0 0 15px; color: var(--navy-dark); font-family: Georgia, serif; font-size: clamp(22px, 2.6vw, 31px); line-height: 1.36; }
.about-values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.about-values span { padding: 8px 12px; background: var(--white); border: 1px solid var(--line); color: var(--navy); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }

.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { min-width: 0; min-height: 260px; padding: 28px; display: flex; flex-direction: column; background: var(--paper); border-top: 3px solid var(--blue); }
.service-card--accent { background: var(--navy); border-top-color: var(--green); color: var(--white); }
.service-number { color: var(--green-dark); font-size: 10px; font-weight: 950; letter-spacing: .1em; }
.service-card--accent .service-number { color: var(--green); }
.service-card h3 { margin: 24px 0 0; color: var(--navy-dark); font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.service-card--accent h3 { color: var(--white); }
.service-card p { margin: 10px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.72; }
.service-card--accent p { color: rgba(255, 255, 255, .68); }
.service-card a { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; color: var(--blue); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.service-card--accent a { color: var(--green); }

.contact { padding: 86px 0; background: var(--navy-dark); color: var(--white); }
.contact-panel { display: grid; grid-template-columns: minmax(0, .95fr) minmax(400px, 1.05fr); align-items: center; gap: clamp(50px, 9vw, 110px); }
.contact h2 { color: var(--white); }
.contact-panel > div:first-child > p:not(.kicker) { max-width: 570px; margin: 17px 0 0; color: rgba(255, 255, 255, .68); font-size: 14px; line-height: 1.75; }
.contact-actions { display: grid; gap: 10px; }
.contact-action { position: relative; min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; padding: 18px 20px; background: rgba(255, 255, 255, .075); border: 1px solid rgba(255, 255, 255, .13); transition: background .16s ease; }
.contact-action:hover { background: rgba(255, 255, 255, .12); }
.contact-action small, .contact-action strong { min-width: 0; display: block; grid-column: 1; overflow-wrap: anywhere; }
.contact-action small { color: rgba(255, 255, 255, .55); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-action strong { color: var(--white); font-size: 13px; }
.contact-action > span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--green); font-size: 20px; }
.contact-action--whatsapp { border-left: 3px solid var(--green); }

.property-modal { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 26px; }
.property-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(8, 14, 30, .86); backdrop-filter: blur(5px); }
.property-modal__dialog { position: relative; z-index: 1; width: min(1060px, 100%); max-height: min(92vh, 900px); overflow: auto; overscroll-behavior: contain; background: var(--white); border-radius: var(--radius); box-shadow: 0 34px 100px rgba(0, 0, 0, .42); }
.property-modal__close { position: sticky; z-index: 5; top: 12px; float: right; width: 42px; height: 42px; margin: 12px 12px -54px 0; display: grid; place-items: center; border-radius: 50%; background: rgba(23, 32, 61, .94); color: var(--white); font-size: 27px; line-height: 1; }
.property-modal__close:hover { background: var(--green-dark); }
.property-modal__content { min-height: 310px; }
.property-modal__loading, .property-modal__error { min-height: 310px; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 48px; color: var(--muted); text-align: center; }
.property-modal__loading p, .property-modal__error p { margin: 0; line-height: 1.7; }
.property-modal__error h2 { margin: 0; color: var(--navy-dark); font-family: Georgia, serif; font-size: 29px; font-weight: 500; }
.property-detail__gallery { height: 390px; display: grid; gap: 3px; overflow: hidden; background: var(--navy-dark); border-radius: var(--radius) var(--radius) 0 0; }
.property-detail__gallery--single, .property-detail__gallery--1 { grid-template-columns: 1fr; }
.property-detail__gallery--2 { grid-template-columns: 1.45fr 1fr; }
.property-detail__gallery--3 { grid-template-columns: 1.55fr .72fr .72fr; }
.property-detail__gallery img { width: 100%; height: 100%; object-fit: cover; }
.property-detail__gallery img.property-image-fallback { padding: 40px; background: var(--navy); }
.property-detail__no-image { height: 100%; display: grid; place-items: center; padding: 44px; background: var(--navy); }
.property-detail__no-image img { width: min(240px, 66%); }
.property-detail__body { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(260px, .62fr); gap: 42px; padding: 38px; }
.property-detail__main { min-width: 0; }
.property-detail__eyebrow { margin: 0 0 8px; color: var(--blue); font-size: 9px; line-height: 1.5; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; overflow-wrap: anywhere; }
.property-detail h2 { margin: 0; color: var(--navy-dark); font-size: clamp(30px, 3.7vw, 44px); line-height: 1.07; overflow-wrap: anywhere; }
.property-detail__price { margin: 16px 0 0; color: var(--navy); font-size: 19px; line-height: 1.4; font-weight: 900; overflow-wrap: anywhere; }
.property-detail__facts { display: flex; flex-wrap: wrap; gap: 7px; margin: 21px 0; }
.property-detail__facts span { min-width: 0; padding: 8px 10px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.property-detail__facts strong { color: var(--ink); }
.property-detail__description { color: var(--muted); font-size: 12px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.property-detail__features { padding-top: 21px; margin-top: 21px; border-top: 1px solid var(--line); }
.property-detail__features h3, .property-detail__aside h3 { margin: 0 0 13px; color: var(--navy-dark); font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.property-detail__features ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 17px; padding: 0; margin: 0; list-style: none; }
.property-detail__features li { position: relative; min-width: 0; padding-left: 15px; color: var(--muted); font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.property-detail__features li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.property-detail__aside { align-self: start; min-width: 0; padding: 23px; background: var(--navy); color: var(--white); }
.property-detail__id { display: block; margin-bottom: 17px; color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; overflow-wrap: anywhere; }
.property-detail__aside h3 { color: var(--white); }
.property-detail__aside p { margin: 0 0 17px; color: rgba(255, 255, 255, .67); font-size: 11px; line-height: 1.68; }
.property-detail__aside .button { width: 100%; }
.property-detail__email { display: block; margin-top: 9px; padding: 10px; border: 1px solid rgba(255, 255, 255, .22); color: var(--white); font-size: 10px; font-weight: 800; text-align: center; }
.property-detail__email:hover { background: rgba(255, 255, 255, .08); }
body.modal-open { overflow: hidden; }

.floating-whatsapp {
  position: fixed;
  z-index: 120;
  right: max(17px, env(safe-area-inset-right));
  bottom: max(17px, env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  line-height: 0;
  box-shadow: 0 10px 28px rgba(15, 23, 46, .24);
  transition: transform .16s ease, background .16s ease;
}
.floating-whatsapp:hover { transform: translateY(-2px); background: #128e2c; }
.floating-whatsapp svg { flex: 0 0 22px; width: 22px !important; height: 22px !important; max-width: 22px !important; max-height: 22px !important; fill: #fff !important; }

.site-footer { padding: 34px 0 20px; background: #10182e; color: rgba(255, 255, 255, .64); }
.footer-main { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 32px; padding-bottom: 26px; }
.footer-brand { width: 180px; display: block; }
.footer-brand img { width: 100%; height: auto; aspect-ratio: 1000 / 420; object-fit: contain; }
.footer-main p { margin: 0; font-size: 11px; }
.footer-main nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 19px; }
.footer-main nav a { color: rgba(255, 255, 255, .75); font-size: 10px; font-weight: 750; }
.footer-main nav a:hover { color: var(--green); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom small { font-size: 8px; }

@media (max-width: 1040px) {
  .masthead-copy { display: none; }
  .header-contact { margin-left: auto; }
  .properties-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel { grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr); gap: 44px; }
}

@media (max-width: 820px) {
  .contact-bar { display: none; }
  .site-header { position: sticky; z-index: 100; top: 0; background: var(--navy); box-shadow: 0 5px 18px rgba(18, 28, 55, .2); }
  .masthead { min-height: 74px; }
  .brand { flex-basis: 170px; width: 170px; }
  .header-contact { margin-left: auto; }
  .menu-button { display: grid; margin-left: 0; }
  .nav-wrap { position: absolute; top: 74px; right: 0; left: 0; box-shadow: 0 18px 35px rgba(12, 18, 36, .22); }
  .nav-inner { min-height: 0; width: 100%; }
  .main-nav { width: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 17px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 3px; font-size: 12px; }
  .main-nav a::after { display: none; }
  .nav-mail { display: none; }

  .hero { min-height: 530px; }
  .hero-media { background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(18, 27, 53, .93), rgba(25, 36, 70, .67)); }
  .hero-copy { width: min(650px, 88%); }
  .hero h1 { font-size: 52px; }
  .hero-search { grid-template-columns: minmax(260px, 1.05fr) minmax(220px, .75fr); }
  .hero-search > button { grid-column: 1 / -1; min-height: 52px; border-radius: 0 0 var(--radius) var(--radius); }

  .section-heading { grid-template-columns: 1fr; gap: 15px; }
  .about-inner, .contact-panel { grid-template-columns: 1fr; }
  .about-copy { max-width: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .contact-panel > div:first-child { max-width: 650px; }
  .contact-actions { max-width: 650px; width: 100%; }

  .property-detail__gallery { height: 330px; }
  .property-detail__body { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .property-detail__aside { width: 100%; }
  .footer-main { grid-template-columns: 180px 1fr; }
  .footer-main nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 30px, 1180px); }
  html { scroll-padding-top: 82px; }
  .masthead { min-height: 70px; }
  .brand { flex-basis: 158px; width: 158px; }
  .header-contact { display: none; }
  .menu-button { margin-left: auto; }
  .nav-wrap { top: 70px; }

  .hero { min-height: 560px; }
  .hero-inner { padding-block: 64px 102px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(39px, 11.6vw, 48px); }
  .hero-copy > p:not(.kicker) { font-size: 15px; line-height: 1.65; }
  .hero-search { right: 15px; bottom: -126px; left: 15px; width: calc(100% - 30px); min-height: 0; grid-template-columns: 1fr; }
  .property-type-control { min-height: 77px; border-right: 0; border-bottom: 1px solid var(--line); }
  .property-type-trigger { min-height: 77px; padding: 15px 18px; }
  .hero-search label { min-height: 77px; padding: 15px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-search > button { grid-column: auto; min-height: 52px; border-radius: 0 0 var(--radius) var(--radius); }
  body.property-types-open { overflow: hidden; }
  .property-type-panel { position: fixed; z-index: 250; top: max(84px, calc(env(safe-area-inset-top) + 74px)); right: 15px; bottom: max(15px, env(safe-area-inset-bottom)); left: 15px; width: auto; max-height: none; border-radius: 9px; }
  .property-type-panel__heading { padding: 18px; }
  .property-type-panel__heading h2 { font-size: 22px; }
  .property-type-groups { padding-inline: 18px; }
  .property-type-group { padding-block: 19px 21px; }
  .property-type-options { grid-template-columns: 1fr; gap: 8px; }
  .property-type-options label { min-height: 38px; font-size: 14px; }
  .property-type-panel__actions { justify-content: space-between; padding: 13px 18px; }
  #property-type-apply { min-width: 108px; }

  .section { padding-block: 72px; }
  .properties { padding-top: 100px; }
  .section-heading { margin-bottom: 27px; }
  .section-heading h2, .about h2, .contact h2 { font-size: 37px; }
  .section-heading > p { font-size: 13px; }
  .property-toolbar { align-items: stretch; flex-direction: column; gap: 8px; }
  .property-filters { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .property-filters::-webkit-scrollbar { display: none; }
  .property-filters button { flex: 1 0 auto; padding-inline: 13px; }
  .property-count { min-height: 17px; }
  .properties-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .property-card__body { padding: 17px; }
  .property-card h3 { min-height: 0; font-size: 20px; -webkit-line-clamp: 3; }
  .property-card__location { min-height: 0; }

  .about { padding-block: 70px; }
  .about-inner { gap: 31px; }
  .about-heading { padding-left: 16px; }
  .about-copy .about-lead { font-size: 24px; }
  .service-card { padding: 25px; }
  .contact { padding-block: 70px; }
  .contact-panel { gap: 32px; }
  .contact-action { padding: 16px; }
  .contact-action strong { font-size: 11px; }

  .property-modal { padding: 0; place-items: stretch; }
  .property-modal__dialog { width: 100%; min-height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .property-modal__close { top: max(11px, env(safe-area-inset-top)); margin-top: max(11px, env(safe-area-inset-top)); }
  .property-detail__gallery { height: 250px; grid-template-columns: 1fr; border-radius: 0; }
  .property-detail__gallery img:not(:first-child) { display: none; }
  .property-detail__body { padding: 26px 18px max(40px, env(safe-area-inset-bottom)); }
  .property-detail h2 { font-size: 31px; }
  .property-detail__features ul { grid-template-columns: 1fr; }
  .property-modal__loading, .property-modal__error { min-height: 100dvh; padding-inline: 22px; }

  .floating-whatsapp { width: 44px; height: 44px; }
  .floating-whatsapp svg { width: 21px !important; height: 21px !important; max-width: 21px !important; max-height: 21px !important; }
  .footer-main { grid-template-columns: 1fr; align-items: start; gap: 17px; }
  .footer-main nav { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}

@media (max-width: 360px) {
  .shell { width: min(100% - 24px, 1180px); }
  .brand { flex-basis: 145px; width: 145px; }
  .hero h1 { font-size: 37px; }
  .property-card__body { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
