:root {
  --navy: #071a2b;
  --navy-deep: #051018;
  --steel: #2c5e73;
  --graphite: #2a3138;
  --slate: #5a636b;
  --line: #d6dbe0;
  --on-dark: #f7f4ef; /* light type on navy/photo only; never a page or section ground */
  --white: #ffffff;
  --gold: #c4a574;
  --error: #8a2a2a;
  --focus: #c4a574;
  --wrap: min(1320px, calc(100% - 80px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--graphite);
  background: var(--white);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 40;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 12px;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  color: var(--steel);
}

.wordmark {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--on-dark);
  text-decoration: none;
  white-space: nowrap;
}

header.site {
  position: relative;
  z-index: 4;
  background: transparent;
}

header.site.is-solid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(7, 26, 43, 0.94);
  backdrop-filter: blur(16px);
}

header.site.is-open {
  background: rgba(7, 26, 43, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 88px;
}

nav.primary {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 18px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

nav.primary a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
  color: rgba(247, 244, 239, 0.88);
}

nav.primary a:hover,
nav.primary a[aria-current="page"] { color: var(--gold); }

nav.primary .nav-icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(247, 244, 239, 0.55);
}

.lang button,
.lang a {
  background: none;
  border: 0;
  padding: 4px 0;
  color: rgba(247, 244, 239, 0.62);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: inherit;
}

.lang button[aria-pressed="true"],
.lang a[aria-current="page"] { color: var(--gold); }

.phone-block { text-align: right; }

.phone-block a {
  display: block;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--on-dark);
}

.phone-block small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.7);
  margin-top: 2px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(247, 244, 239, 0.4);
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 600;
}

/* —— Hero: full-bleed villa + overlay type —— */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--on-dark);
  background: var(--navy-deep);
}

.hero-cinema {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}

.hero-cinema > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 16, 24, 0.72) 0%, rgba(5, 16, 24, 0.22) 34%, rgba(5, 16, 24, 0.12) 52%, rgba(5, 16, 24, 0.62) 100%),
    linear-gradient(90deg, rgba(5, 16, 24, 0.42) 0%, rgba(5, 16, 24, 0.08) 46%, rgba(5, 16, 24, 0.28) 100%);
}

.hero-stage {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 9vh;
}

.hero-stage h1 {
  margin: 0 0 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--on-dark);
  text-shadow: 0 2px 28px rgba(5, 16, 24, 0.4);
}

.hero-stage h1 span {
  display: block;
  white-space: nowrap;
}

.hero .hero-actions { margin-bottom: 0; }

.hero .btn-line {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(247, 244, 239, 0.55);
}

.hero .btn-line:hover {
  background: rgba(247, 244, 239, 0.1);
}

.portrait-orb {
  position: absolute;
  right: clamp(20px, 5vw, 56px);
  bottom: clamp(28px, 7vh, 56px);
  z-index: 3;
  width: min(118px, 13vw);
  height: min(118px, 13vw);
  padding: 2px;
  border-radius: 50%;
  overflow: visible;
  background:
    linear-gradient(165deg, rgba(196, 165, 116, 0.95) 0%, rgba(44, 94, 115, 0.78) 58%, rgba(7, 26, 43, 0.9) 100%);
  box-shadow:
    0 0 0 1px rgba(247, 244, 239, 0.22),
    0 14px 28px rgba(5, 16, 24, 0.42);
}

.portrait-orb img {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 50%;
  background: transparent;
}

.portrait-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: inset 0 0 22px rgba(7, 26, 43, 0.16);
  background: linear-gradient(180deg, rgba(196, 165, 116, 0.06), rgba(7, 26, 43, 0.14));
}

.display-word {
  margin: 0;
  padding: 7vh 0 8vh;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(64px, 13.5vw, 168px);
  line-height: 0.78;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--navy);
  text-transform: uppercase;
}

/* —— Intro —— */
.intro {
  padding: 8vh 0 12vh;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}

.intro h2 {
  margin: 0 0 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.intro h2 span { display: block; }

.intro-lead {
  margin: 0 0 28px;
  max-width: 28rem;
  font-size: 18px;
  color: var(--slate);
}

.text-link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

.intro-portrait {
  background: var(--navy);
  overflow: hidden;
}

.intro-portrait img {
  width: 100%;
  height: min(78vh, 760px);
  object-fit: cover;
  object-position: 50% 8%;
}

/* —— Dark services —— */
.services {
  background: var(--navy);
  color: #e8eef1;
  padding: 12vh 0;
}

.services-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}

.services h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--white);
}

.services h2 span { display: block; }

.services-aside {
  margin: 0;
  text-align: right;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 500;
  color: var(--gold);
}

.services-aside small {
  display: block;
  margin-top: 12px;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b7c2c8;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 72px;
}

.service-list li {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.service-list li:nth-last-child(-n + 2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.service-list h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--white);
}

.service-list p {
  margin: 0;
  color: #b7c2c8;
  max-width: 34rem;
}

/* —— Listings page —— */
.listings-hero {
  position: relative;
  background: var(--navy);
  color: var(--on-dark);
  padding-bottom: 8vh;
}

.listings-hero-copy {
  padding-top: 6vh;
}

.listings-hero .eyebrow {
  color: var(--gold);
}

.listings-hero h1 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--on-dark);
}

.listings-disclaimer {
  margin: 0 0 28px;
  max-width: 40rem;
  font-size: 18px;
  color: #d7dee3;
}

.listings-broker {
  color: #b7c2c8;
}

.listings-hero .btn-line {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(247, 244, 239, 0.55);
}

.listings-hero .btn-line:hover {
  background: rgba(247, 244, 239, 0.1);
}

.listings-board {
  padding: 40px 0 12vh;
  background: var(--white);
}

.listings-filters {
  margin: 0 0 28px;
  padding: 0;
  background: var(--white);
  border: 0;
}

.listings-filters fieldset {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.filter-legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-control {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 10px 0 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
}

.filter-control label {
  display: block;
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--slate);
  white-space: nowrap;
}

.listings-filters select {
  width: auto;
  min-width: 4.25rem;
  max-width: 11.5rem;
  height: 38px;
  min-height: 0;
  margin: 0;
  padding: 0 16px 0 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232A3138' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 10px 6px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  field-sizing: content;
  appearance: none;
  cursor: pointer;
}

.listings-filters select:focus,
.listings-filters select:focus-visible {
  outline: none;
}

.filter-control:focus-within {
  border-color: var(--navy);
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.filter-clear {
  display: inline-flex;
  align-items: center;
  height: 40px;
  min-height: 0;
  margin: 0 0 0 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.filter-clear:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.listings-status {
  margin: 0 0 24px;
  min-height: 1.4em;
  color: var(--slate);
  font-size: 15px;
}

.listings-status:empty {
  margin-bottom: 0;
  min-height: 0;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
  padding-bottom: 12px;
}

nav.primary a[aria-current="page"] {
  color: var(--gold);
}

.listings-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.listings-stats:empty { display: none; }

.listings-stats li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #b7c2c8;
  font-size: 15px;
}

.listings-stats strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  color: var(--on-dark);
}

.tier-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 24px;
  border: 1px solid var(--line);
}

.tier-tab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 72px;
  padding: 14px 18px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 3px solid transparent;
  background: var(--white);
  color: var(--graphite);
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.tier-tab:last-child { border-right: 0; }

.tier-tab:hover { background: #f3f5f7; }

.tier-tab[aria-pressed="true"] {
  background: var(--navy);
  color: var(--on-dark);
  border-bottom-color: var(--gold);
}

.tier-tab-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}

.tier-tab-meta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.tier-tab[aria-pressed="true"] .tier-tab-meta { color: #b7c2c8; }

.filter-sort { margin-left: auto; }

.inventory-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.inventory-card:hover,
.inventory-card:focus-within {
  transform: translateY(-4px);
  border-color: #c3cad1;
  box-shadow: 0 18px 36px rgba(7, 26, 43, 0.14);
}

.inventory-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}

.inventory-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.inventory-card:hover .inventory-photo img { transform: scale(1.03); }

.inventory-photo.is-empty {
  background:
    linear-gradient(135deg, rgba(196, 165, 116, 0.18), transparent 60%),
    var(--navy);
}

.inventory-tier {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--steel);
}

.inventory-tier.tier-affordable { background: var(--graphite); }
.inventory-tier.tier-luxury { background: var(--navy); color: var(--gold); border: 1px solid var(--gold); }

.inventory-photo-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 9px;
  background: rgba(7, 26, 43, 0.82);
  color: var(--on-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.inventory-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 18px;
}

.inventory-price {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--navy);
}

.inventory-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--graphite);
}

.inventory-place {
  margin: 0;
  font-size: 14px;
  color: var(--slate);
}

.inventory-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 10px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 14px;
  color: var(--graphite);
}

.inventory-facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.inventory-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: auto 0 0;
  padding-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}

.inventory-view {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

button.listing-open {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--white);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.inventory-type {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel);
}

.listings-more-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.listings-more-row [hidden] { display: none; }

.listing-dialog[hidden] {
  display: none;
}

.listing-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 88px 24px 24px;
}

.listing-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 16, 24, 0.72);
}

.listing-dialog-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1040px, 100%);
  max-height: min(860px, calc(100dvh - 112px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--graphite);
}

.listing-dialog-toolbar {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
  padding: 12px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.listing-dialog-close {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 0;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
}

.listing-gallery-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.listing-dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: start;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  background: var(--white);
}

.listing-gallery {
  background: var(--navy);
}

.listing-gallery-stage {
  position: relative;
  background: var(--navy);
  aspect-ratio: 4 / 3;
}

.listing-gallery-stage img,
.listing-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-gallery-empty {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 28px;
  background: var(--navy);
  color: var(--on-dark);
  text-align: center;
}

.listing-gallery-empty p {
  margin: 0;
  max-width: 18rem;
  font-size: 16px;
}

.listing-gallery-nav {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.listing-gallery-nav button {
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 0;
  background: var(--navy);
  color: var(--on-dark);
  border: 1px solid rgba(247, 244, 239, 0.45);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.listing-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--navy-deep);
  overflow-x: auto;
}

.listing-thumbs button {
  width: 76px;
  height: 57px;
  padding: 0;
  border-radius: 0;
  border: 1px solid transparent;
  background: var(--navy);
  cursor: pointer;
  flex: 0 0 auto;
}

.listing-thumbs button[aria-current="true"] {
  border-color: var(--gold);
}

.listing-dialog-body {
  padding: 28px 28px 32px;
  background: var(--white);
}

.listing-dialog-body h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  color: var(--navy);
}

.listing-dialog-place,
.listing-dialog-facts {
  margin: 8px 0 0;
  font-size: 15px;
}

.listing-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.listing-facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 8px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--graphite);
  font-size: 14px;
}

.listing-fact-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--steel);
}

.listing-highlights {
  margin: 14px 0 0;
  padding-left: 1.1rem;
  color: var(--graphite);
}

.listing-videos {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.listing-videos iframe,
.listing-videos video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--navy);
}

.listing-dialog-place { color: var(--slate); }

.listing-dialog-price {
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}

.listing-dialog-facts { color: var(--graphite); }

.listing-dialog-description {
  margin: 18px 0 0;
  color: var(--graphite);
}

.listing-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.listing-contact-broker {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
}

.listing-agent {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.listing-dialog .portrait-orb {
  position: relative;
  right: auto;
  bottom: auto;
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
}

.listing-agent-name {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--navy);
}

.listing-agent-role {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--slate);
}

.listing-agent-broker {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
}

body.listing-open { overflow: hidden; }

body.listing-open header.site {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(7, 26, 43, 0.94);
  backdrop-filter: blur(16px);
}

body.listing-open header.site .wordmark,
body.listing-open header.site nav.primary,
body.listing-open header.site .phone-block,
body.listing-open header.site .menu-toggle {
  pointer-events: none;
}

/* —— Gallery —— */
.gallery {
  padding: 12vh 0;
}

.gallery h2 {
  margin: 0 0 48px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.gallery h2 span { display: block; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid figure {
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 4 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— Confianza —— */
.confianza {
  background: var(--navy);
  color: #e8eef1;
  padding: 12vh 0;
}

.confianza h2 {
  margin: 0 0 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--white);
}

.confianza h2 span { display: block; }

.confianza p {
  margin: 0;
  max-width: 28rem;
  color: #b7c2c8;
}

.confianza-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: end;
}

.trust-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-facts span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8fa0a8;
  margin-bottom: 10px;
}

.trust-facts strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
}

.trust-facts em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 13px;
  color: #b7c2c8;
}

/* —— Process —— */
.process {
  padding: 12vh 0;
}

.process h2 {
  margin: 0 0 64px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.process-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 48px;
  color: var(--steel);
  margin: 0 0 12px;
  line-height: 1;
}

.process h3 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
}

.process article p {
  margin: 0;
  color: var(--slate);
}

/* —— Closing —— */
.closing {
  padding: 4vh 0 0;
}

.closing .display-word { padding-bottom: 4vh; }

.closing-photo {
  width: 100%;
  height: min(64vh, 680px);
  overflow: hidden;
  background: var(--navy);
}

.closing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing-copy {
  padding: 8vh 0 10vh;
}

.closing-copy h2 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.closing-copy p {
  margin: 0 0 28px;
  max-width: 32rem;
  color: var(--slate);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  background: none;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover { filter: brightness(0.97); }

.btn-line {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.broker-line {
  font-size: 13px;
  color: var(--slate);
}

/* —— Contact —— */
.contact {
  padding: 0 0 12vh;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  font-weight: 500;
  color: var(--navy);
}

.contact-copy p { margin: 0 0 16px; color: var(--slate); max-width: 32rem; }

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-channels a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

form.lead {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px;
}

label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px;
}

input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: var(--white);
  color: var(--graphite);
}

textarea { min-height: 120px; resize: vertical; }

.field { margin-bottom: 16px; }

.hint, .error { font-size: 13px; margin: 6px 0 0; }
.hint { color: var(--slate); }
.error { color: var(--error); }

[aria-invalid="true"] { border-color: var(--error); }

.form-note {
  font-size: 14px;
  color: var(--slate);
  margin: 0 0 18px;
}

.form-status {
  margin-top: 14px;
  min-height: 1.4em;
}

.form-status.is-ok { color: var(--steel); }
.form-status.is-err { color: var(--error); }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* —— Footer —— */
footer.site {
  background: var(--navy-deep);
  color: #c5ced3;
  padding: 40px 0 28px;
}

footer.site .wordmark {
  color: var(--white);
  font-size: 20px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

footer.site a { color: var(--white); text-decoration: none; }

footer.site p { margin: 0 0 6px; font-size: 13px; }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}

.legal {
  font-size: 12px;
  color: #8fa0a8;
}

.legal p { margin: 0 0 10px; }

.hidden { display: none !important; }

@media (max-width: 1100px) {
  .listings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root { --wrap: min(1320px, calc(100% - 48px)); }

  .intro-grid,
  .services-head,
  .confianza-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-aside { text-align: left; }
  .service-list { grid-template-columns: 1fr; gap: 0; }
  .service-list li:nth-last-child(-n + 2) { border-bottom: 0; }
  .service-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-facts { grid-template-columns: 1fr; }
  .intro-portrait img { min-height: 420px; height: 520px; }
}

@media (max-width: 1280px) {
  .wordmark { font-size: 18px; letter-spacing: 0.1em; }
  .header-inner { min-height: 76px; }
  .header-actions { gap: 14px; }
  nav.primary,
  .phone-block { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }

  header.site.is-open .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 16px;
    padding: 12px 0 18px;
    min-height: 0;
  }

  header.site.is-open .header-actions { display: contents; }

  header.site.is-open .wordmark { grid-column: 1; grid-row: 1; }

  header.site.is-open .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  header.site.is-open nav.primary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: none;
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 2px;
    padding-top: 8px;
    font-size: 18px;
  }

  header.site.is-open nav.primary a { min-height: 48px; }

  header.site.is-open .lang {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }

  header.site.is-open .phone-block {
    display: block;
    grid-column: 1 / -1;
    grid-row: 4;
    text-align: left;
  }
}

@media (max-width: 860px) {
  :root { --wrap: min(1320px, calc(100% - 32px)); }

  .wordmark { font-size: 16px; letter-spacing: 0.08em; }

  .header-inner {
    display: flex;
    justify-content: space-between;
    min-height: 72px;
  }

  nav.primary,
  .phone-block { display: none; }

  .menu-toggle { display: inline-flex; align-items: center; }

  .hero-stage { padding-bottom: 7vh; }
  .hero-stage h1 span { white-space: normal; }
  .hero-stage h1 { margin-bottom: 22px; }
  .portrait-orb {
    width: 76px;
    height: 76px;
    right: 16px;
    bottom: 16px;
  }
  .listing-dialog { padding: 72px 12px 12px; }
  .listing-dialog-panel { max-height: calc(100dvh - 84px); }
  .listing-dialog-layout { grid-template-columns: 1fr; }
  .listing-dialog-body { padding: 22px 18px 28px; }
  .listing-dialog .portrait-orb {
    width: 76px;
    height: 76px;
    right: auto;
    bottom: auto;
  }
  .gallery-grid,
  .listings-grid,
  .process-grid { grid-template-columns: 1fr; }
  .tier-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-tab:nth-child(2) { border-right: 0; }
  .tier-tab:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .tier-tab[aria-pressed="true"] { border-bottom-color: var(--gold); }
  .filter-sort { margin-left: 0; }
  .listings-stats { gap: 10px 24px; }
  .listings-stats strong { font-size: 28px; }
  .filter-bar { gap: 8px; }
  .closing-photo { height: 48vh; }
  form.lead { padding: 24px 18px; }
  .intro, .services, .gallery, .confianza, .process { padding: 8vh 0; }
  .listings-board { padding: 32px 0 8vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .inventory-card,
  .inventory-card:hover,
  .inventory-card:focus-within,
  .inventory-photo img,
  .inventory-card:hover .inventory-photo img {
    transform: none;
    transition: none;
  }
}
