:root {
  --ink: #171714;
  --text: #5d5d56;
  --gold: #b88b2f;
  --gold-dark: #976e1e;
  --gold-pale: #f5ecd8;
  --sage: #526b61;
  --sage-dark: #354b43;
  --sage-pale: #e5ebe7;
  --line: #ddd8cd;
  --paper: #f5f3ed;
  --surface: #fcfbf7;
  --soft: #ece9e1;
  --footer: #383c3d;
  --shadow: 0 16px 45px rgba(38, 30, 15, 0.1);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #fff;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: min(260px, 68vw);
  height: auto;
  object-fit: contain;
  animation: loaderPulse 1.1s ease-in-out infinite alternate;
}

@keyframes loaderPulse {
  to {
    opacity: 0.35;
    transform: scale(0.88) rotate(-5deg);
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 82px;
  border-bottom: 1px solid transparent;
  background: rgba(247, 245, 239, 0.96);
  transition: height 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  height: 68px;
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(25, 20, 12, 0.06);
}

.nav-wrap {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 154px;
  height: 56px;
  object-fit: contain;
}

.brand-mark {
  position: relative;
  color: var(--gold);
  font: 700 47px/0.8 "Cormorant Garamond", serif;
}

.brand-mark::after {
  position: absolute;
  right: -6px;
  bottom: -7px;
  width: 22px;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: rotate(-48deg);
  transform-origin: right center;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  letter-spacing: 3px;
}

.brand-copy small {
  margin-top: 7px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 5px;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 35px;
}

.desktop-nav a {
  position: relative;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transition: width 0.3s ease, left 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  left: 0;
  width: 100%;
}

.desktop-nav a.active {
  color: var(--gold-dark);
}

.phone-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--gold-dark);
  border: 1px solid #d9c9a4;
  font-size: 12px;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.phone-pill:hover {
  color: #fff;
  background: var(--sage-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 18px;
}

.hero {
  position: relative;
  min-height: 600px;
  margin-top: 82px;
  overflow: visible;
  background: #fbfaf7;
}

.hero-image {
  position: absolute;
  inset: 0 0 0 40%;
  z-index: 0;
  background-image: url("images/villa-exterior.jpg");
  background-position: center right;
  background-size: cover;
  will-change: transform;
}

.hero-image::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 27%;
  background: rgba(251, 250, 247, 0.78);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 600px;
  align-items: center;
}

.hero-content {
  width: 54%;
  max-width: 630px;
  padding: 25px 0 90px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 27px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.eyebrow i {
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-title {
  margin: 13px 0 15px;
  font: 700 66px/0.96 "Cormorant Garamond", serif;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: titleRise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.title-line:nth-child(2) {
  animation-delay: 0.16s;
}

@keyframes titleRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gold,
.section-row h2 span,
.about-content h2 span {
  color: var(--gold);
}

.hero-copy {
  margin: 0 0 18px;
  color: #2d2b27;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  color: #625e55;
  font-size: 9px;
  font-weight: 600;
}

.trust-points span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(221, 216, 205, 0.75);
  border-radius: 18px;
  background: rgba(252, 251, 247, 0.9);
  box-shadow: 0 5px 14px rgba(42, 36, 25, 0.05);
}

.trust-points i {
  margin-right: 6px;
  color: var(--gold);
  font-size: 11px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 27px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-dark {
  color: #fff;
  background: #14243a;
}

.btn-dark:hover {
  background: var(--gold-dark);
}

.btn-light {
  border-color: #d9cfbb;
  background: var(--surface);
}

.btn-light i,
.btn-outline {
  color: var(--gold);
}

.hero-arrow {
  position: absolute;
  top: 47%;
  z-index: 3;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: #3c403d;
  border: 1px solid rgba(221, 216, 205, 0.85);
  border-radius: 50%;
  background: rgba(252, 251, 247, 0.94);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.09);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
  color: #fff;
  background: var(--gold);
  transform: scale(1.06);
}

.hero-arrow-left {
  left: 18px;
}

.hero-arrow-right {
  right: 18px;
}

.property-search {
  position: absolute;
  right: 50%;
  bottom: -45px;
  z-index: 5;
  display: grid;
  width: min(calc(100% - 120px), 980px);
  min-height: 94px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 17px 42px rgba(38, 30, 15, 0.12);
  grid-template-columns: 1.05fr 1.05fr 0.9fr 0.8fr auto;
  transform: translateX(50%);
}

.property-search label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 16px;
  border-right: 1px solid var(--line);
}

.property-search label span {
  font-size: 10px;
  font-weight: 700;
}

.property-search select {
  min-width: 0;
  padding: 3px 24px 3px 0;
  color: #777067;
  border: 0;
  outline: 0;
  background: var(--surface);
  font-size: 11px;
}

.property-search button,
.contact-form button {
  align-self: center;
  min-height: 48px;
  margin-left: 16px;
  padding: 0 22px;
  color: #fff;
  border: 0;
  background: var(--gold);
  font-size: 11px;
  font-weight: 700;
  transition: background 0.25s ease, transform 0.25s ease;
}

.property-search button {
  min-height: 50px;
}

.property-search button:hover,
.contact-form button:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.section {
  padding: 92px 0;
}

.about {
  padding-top: 145px;
  padding-bottom: 82px;
  background: var(--paper);
}

.about-grid {
  display: grid;
  align-items: center;
  gap: clamp(58px, 7vw, 92px);
  grid-template-columns: minmax(430px, 0.95fr) minmax(0, 1.05fr);
}

.about-collage {
  position: relative;
  min-height: 405px;
  padding: 0 18px 40px 60px;
}

.about-main {
  position: relative;
  z-index: 2;
  height: 345px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  box-shadow: 0 17px 40px rgba(51, 43, 30, 0.12);
  object-fit: cover;
}

.about-small {
  position: absolute;
  bottom: 4px;
  left: 0;
  z-index: 3;
  width: 178px;
  height: 150px;
  border: 7px solid var(--paper);
  border-radius: 11px;
  box-shadow: 0 12px 30px rgba(41, 35, 25, 0.14);
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  right: -8px;
  bottom: 0;
  z-index: 4;
  display: flex;
  width: 132px;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 17px 12px;
  border: 1px solid rgba(221, 216, 205, 0.85);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(45, 38, 27, 0.14);
  text-align: center;
}

.experience-badge strong {
  color: #20221f;
  font: 700 39px/0.95 "Cormorant Garamond", serif;
}

.experience-badge small {
  margin-top: 9px;
  color: var(--text);
  font-size: 9px;
  font-weight: 600;
}

.dot-pattern {
  position: absolute;
  top: 42px;
  left: 4px;
  z-index: 1;
  width: 105px;
  height: 104px;
  opacity: 0.32;
  border-top: 6px dotted #9e895e;
  border-bottom: 6px dotted #9e895e;
}

.dot-pattern::before,
.dot-pattern::after {
  position: absolute;
  right: 0;
  left: 0;
  border-top: 6px dotted #9e895e;
  content: "";
}

.dot-pattern::before {
  top: 32px;
}

.dot-pattern::after {
  top: 72px;
}

.dot-pattern-right {
  top: auto;
  right: 0;
  bottom: 38px;
  left: auto;
  width: 80px;
  height: 92px;
}

.about-content {
  padding: 8px 0 0;
}

.about-content .section-kicker::before {
  display: none;
}

.about-content .section-kicker {
  margin-bottom: 7px;
  color: var(--gold-dark);
  font-size: 10px;
  letter-spacing: 1.8px;
}

.section-kicker {
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-kicker::before {
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-right: 8px;
  background: var(--gold);
  content: "";
  vertical-align: middle;
}

.section-kicker.centered {
  text-align: center;
}

.section-kicker.centered::after {
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-left: 8px;
  background: var(--gold);
  content: "";
  vertical-align: middle;
}

.about-content h2,
.section-heading h2,
.section-row h2,
.contact-section h2 {
  margin: 6px 0 17px;
  font: 700 41px/1.02 "Cormorant Garamond", serif;
}

.about-content h2 {
  margin: 0 0 17px;
  color: #20221f;
  font-size: 46px;
  line-height: 0.96;
}

.about-content > p {
  max-width: 590px;
  margin: 0 0 35px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.85;
}

.about-stats {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(4, 1fr);
}

.about-stats article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 18px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.about-stats article:first-child {
  border-left: 0;
}

.about-stat-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  place-items: center;
  color: var(--gold);
  border: 1px solid #d7bd84;
  border-radius: 50%;
  background: #f7f0df;
  box-shadow: 0 6px 15px rgba(136, 103, 33, 0.08);
  font-size: 20px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.about-stats article:hover .about-stat-icon {
  color: #fff;
  background: var(--gold);
  transform: translateY(-4px);
}

.review-stats i {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 25px;
}

.about-stats strong {
  color: #20221f;
  font-size: 18px;
  line-height: 1.25;
}

.about-stats small {
  margin-top: 3px;
  color: var(--text);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.45;
}

.commitment {
  padding: 28px 0 76px;
  background: #eff1ee;
}

.section-heading {
  margin-bottom: 25px;
  text-align: center;
}

.section-heading h2 {
  margin: 7px 0 0;
}

.commitment .section-kicker {
  color: var(--gold-dark);
  font-size: 9px;
  letter-spacing: 1.4px;
}

.commitment .section-kicker::before,
.commitment .section-kicker::after {
  width: 54px;
  background: #c9b98f;
}

.commitment .section-heading h2 {
  color: #20221f;
  font-size: 36px;
  line-height: 1;
}

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

.commitment-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 25px 16px 21px;
  border: 1px solid #dedfdc;
  border-radius: 6px;
  background: #fbfaf7;
  box-shadow: 0 5px 16px rgba(37, 42, 39, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.commitment-card:hover {
  position: relative;
  z-index: 2;
  border-color: #d8bf8b;
  box-shadow: 0 15px 28px rgba(40, 43, 41, 0.11);
  transform: translateY(-6px);
}

.icon-ring {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  margin: 0 auto 12px;
  place-items: center;
  color: var(--gold);
  border: 1px solid #d7c394;
  border-radius: 50%;
  background: #f8f2e4;
  box-shadow: inset 0 0 0 4px #fbfaf7;
  font-size: 17px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.commitment-card:hover .icon-ring {
  color: #fff;
  background: var(--gold);
  transform: rotate(-5deg) scale(1.04);
}

.commitment-card h3 {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  margin: 0 0 6px;
  color: #242724;
  font-size: 14px;
  line-height: 1.35;
}

.commitment-card p {
  max-width: 145px;
  margin: 0;
  color: var(--text);
  font-size: 9px;
  line-height: 1.6;
}

.properties-section {
  padding-top: 58px;
  background: var(--soft);
}

.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
}

.section-row h2 {
  margin-bottom: 0;
}

.btn-outline {
  min-height: 42px;
  border-color: #ddcfb3;
  background: var(--surface);
}

.btn-outline:hover {
  color: #fff;
  background: var(--gold);
}

.properties-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, 1fr);
}

.property-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #ebe6dc;
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(30, 25, 18, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.property-card:hover {
  box-shadow: 0 18px 34px rgba(30, 25, 18, 0.13);
  transform: translateY(-8px);
}

.property-card.filtered-out {
  display: none;
}

.property-media {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.property-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.property-card:hover .property-media img {
  transform: scale(1.08);
}

.property-label {
  position: absolute;
  top: 11px;
  left: 10px;
  padding: 3px 9px;
  color: #fff;
  border-radius: 3px;
  background: var(--gold);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.favorite {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: rgba(19, 19, 17, 0.33);
}

.favorite.is-favorite {
  color: #fff;
  background: #c94f4f;
}

.property-body {
  padding: 14px;
}

.property-body h3 {
  margin: 0 0 3px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-body > p {
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--text);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-body > p i {
  color: var(--gold);
}

.property-meta {
  display: flex;
  min-height: 25px;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  color: #706a60;
  border-bottom: 1px solid var(--line);
  font-size: 8px;
}

.property-meta i {
  color: var(--gold);
}

.price {
  font: 700 17px/1 "Cormorant Garamond", serif;
}

.no-results {
  display: none;
  padding: 60px 20px;
  color: var(--text);
  text-align: center;
}

.no-results.show {
  display: block;
}

.no-results i {
  color: var(--gold);
  font-size: 34px;
}

.category-section {
  padding: 22px 0 45px;
  background: #f7f4ec;
}

.line-title {
  margin-bottom: 25px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}

.category-grid a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-right: 1px solid var(--line);
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  transition: color 0.25s ease, transform 0.25s ease;
}

.category-grid a:last-child {
  border-right: 0;
}

.category-grid a:hover {
  color: var(--gold-dark);
  transform: translateY(-5px);
}

.category-grid i {
  color: var(--gold);
  font-size: 24px;
}

.premium-gallery {
  position: relative;
  padding: 29px 0 50px;
  overflow: hidden;
  background: #e8ecea;
}

.spaced-title {
  margin-bottom: 23px;
  letter-spacing: 5px;
}

.gallery-track-wrap {
  width: min(calc(100% - 90px), 1300px);
  margin-inline: auto;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 13px;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-track figure {
  position: relative;
  flex: 0 0 calc((100% - 91px) / 8);
  min-width: 120px;
  height: 168px;
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  cursor: zoom-in;
  outline: 0;
}

.gallery-track figure:focus-visible {
  box-shadow: 0 0 0 3px rgba(184, 139, 47, 0.42);
}

.gallery-track figure::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0);
  content: "\f00e";
  font: 900 14px/1 "Font Awesome 6 Free";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.gallery-track figure:hover::after {
  background: rgba(20, 18, 14, 0.35);
  opacity: 1;
}

.gallery-track img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-track figure:hover img {
  transform: scale(1.09);
}

.gallery-arrow {
  position: absolute;
  top: 57%;
  z-index: 4;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--gold-dark);
  border: 1px solid #dbc897;
  border-radius: 50%;
  background: var(--surface);
}

.gallery-prev {
  left: 19px;
}

.gallery-next {
  right: 19px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  padding: 32px;
  place-items: center;
  background: rgba(18, 21, 20, 0.9);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox.is-open {
  opacity: 1;
}

.lightbox-dialog {
  position: relative;
  width: min(1120px, 92vw);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  background: #171b1a;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-lightbox.is-open .lightbox-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lightbox-media {
  display: grid;
  min-height: 320px;
  max-height: 76vh;
  place-items: center;
  overflow: hidden;
  background: #101312;
}

.lightbox-media img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.lightbox-media img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(21, 26, 24, 0.76);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  color: #fff;
  background: var(--gold);
}

.lightbox-close {
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  font-size: 18px;
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  font-size: 15px;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-info {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 22px;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #202523;
}

.lightbox-info div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.lightbox-info small {
  color: #c9a85f;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.lightbox-info strong {
  overflow: hidden;
  font: 600 22px/1.2 "Cormorant Garamond", serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-counter {
  flex: 0 0 auto;
  color: #c9cfcc;
  font-size: 11px;
  font-weight: 600;
}

.reviews-section {
  padding-top: 35px;
  background: #eeeae1;
}

.reviews-grid {
  display: grid;
  align-items: center;
  gap: 42px;
  grid-template-columns: 0.95fr 1.4fr;
}

.review-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.review-stats article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 5px 10px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.review-stats article:last-child {
  border: 0;
}

.review-stats strong {
  font: 700 27px/1.1 "Cormorant Garamond", serif;
}

.review-stats small {
  color: var(--text);
  font-size: 8px;
}

.testimonial-panel .section-kicker {
  margin-bottom: 10px;
  text-align: center;
}

.testimonial-shell {
  position: relative;
  min-height: 140px;
  padding: 22px 48px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(25, 20, 12, 0.05);
}

.testimonials {
  position: relative;
  min-height: 92px;
}

.testimonial {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  gap: 20px;
  grid-template-columns: 66px 1fr;
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.testimonial.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.testimonial img {
  width: 66px;
  height: 66px;
  border: 3px solid var(--gold-pale);
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-head strong {
  font-size: 11px;
}

.testimonial-head small {
  color: var(--text);
  font-size: 8px;
}

.testimonial p {
  margin: 5px 0;
  color: var(--text);
  font-size: 9px;
  line-height: 1.6;
}

.stars {
  color: var(--gold);
  font-size: 9px;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  transform: translateY(-50%);
}

.testimonial-prev {
  left: -16px;
}

.testimonial-next {
  right: -16px;
}

.contact-section {
  padding-top: 55px;
  background: #f7f5ef;
}

.contact-section h2 {
  font-size: 29px;
}

.contact-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: 0.8fr 1.5fr 0.95fr;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 3px;
}

.contact-details > a,
.contact-details > p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--text);
  font-size: 11px;
}

.contact-details > a i,
.contact-details > p i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--gold);
  border: 1px solid #e3d6b9;
  border-radius: 50%;
  font-size: 10px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 7px;
}

.socials a {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #142137;
  font-size: 11px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.socials a:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.contact-form {
  display: grid;
  gap: 11px;
  grid-template-columns: 1fr 1fr;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid var(--line);
  outline: 0;
  background: var(--surface);
  font-size: 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 139, 47, 0.1);
}

.contact-form textarea {
  min-height: 82px;
  padding-top: 12px;
  resize: vertical;
}

.contact-form textarea,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form button {
  width: max-content;
  min-height: 40px;
  margin: 0;
  justify-self: center;
}

.map-card {
  position: relative;
  display: flex;
  min-height: 188px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background-color: #f3f1ec;
  text-align: center;
}

.map-card::before,
.map-card::after {
  position: absolute;
  width: 130%;
  height: 1px;
  background: #dcd8cf;
  content: "";
  transform: rotate(-18deg);
}

.map-card::before {
  top: 34%;
}

.map-card::after {
  bottom: 28%;
  transform: rotate(21deg);
}

.map-card > i {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 40px;
  filter: drop-shadow(0 5px 4px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
}

.map-card:hover > i {
  transform: translateY(-5px) scale(1.08);
}

.map-card strong {
  position: relative;
  z-index: 1;
  font-size: 11px;
}

.map-card span,
.map-card small {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 8px;
}

.map-card small {
  margin-top: 4px;
  color: var(--gold-dark);
}

.site-footer {
  padding: 34px 0 0;
  color: #f5f3ed;
  border-top: 1px solid #4a4f50;
  background: var(--footer);
}

.site-footer .brand-mark::after {
  background: #ddd8cd;
}

.site-footer .brand-copy strong,
.site-footer .footer-grid h3 {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 30px;
  grid-template-columns: 1.2fr repeat(3, 0.8fr);
}

.footer-brand {
  width: max-content;
  margin-bottom: 13px;
  padding: 5px 8px;
  border-radius: 4px;
  /* background: #f4f2eb; */
}

.footer-brand .brand-logo {
  width: 188px;
  height: 68px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 5px 0;
  color: #c9ccca;
  font-size: 9px;
}

.footer-grid h3 {
  margin: 0 0 11px;
  font-size: 11px;
}

.footer-grid .socials a {
  display: grid;
  color: #fff;
  background: #525758;
}

.footer-grid .socials a:hover {
  background: var(--gold);
}

.footer-bottom {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  color: #aeb2b0;
  border-top: 1px solid #555a5b;
  font-size: 8px;
}

.back-to-top {
  position: fixed;
  right: 27px;
  bottom: 148px;
  z-index: 20;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 8px 22px rgba(65, 45, 10, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.quick-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-contact-btn {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(31, 37, 34, 0.24);
  font-size: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-contact-btn::before {
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.22;
  animation: contactPulse 2.2s ease-out infinite;
}

.quick-contact-btn:hover {
  box-shadow: 0 12px 28px rgba(31, 37, 34, 0.32);
  transform: translateY(-3px) scale(1.04);
}

.call-btn {
  background: var(--sage-dark);
}

.whatsapp-btn {
  background: #25a866;
}

@keyframes contactPulse {
  0% {
    opacity: 0.3;
    transform: scale(0.86);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.toast {
  position: fixed;
  right: 88px;
  bottom: 78px;
  z-index: 100;
  max-width: 330px;
  padding: 14px 20px;
  color: #fff;
  background: #152337;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-up {
  transform: translateY(42px);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0);
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 21px;
  }

  .hero-title {
    font-size: 55px;
  }

  .properties-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .property-media {
    height: 220px;
  }

  .commitment-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-track figure {
    flex-basis: calc((100% - 65px) / 6);
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-header.scrolled {
    height: 70px;
  }

  .desktop-nav {
    position: fixed;
    inset: 70px 0 0 auto;
    z-index: 20;
    display: flex;
    width: min(330px, 86vw);
    height: calc(100vh - 70px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px;
    background: var(--surface);
    box-shadow: -15px 20px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .desktop-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .desktop-nav a {
    display: block;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }

  .desktop-nav a::after {
    display: none;
  }

  .phone-pill {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero {
    min-height: 740px;
    margin-top: 70px;
  }

  .hero-image {
    inset: 0;
    height: 360px;
  }

  .hero-image::before {
    display: none;
  }

  .hero-image::after {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    content: "";
  }

  .hero-inner {
    min-height: 740px;
    align-items: flex-end;
  }

  .hero-content {
    width: 100%;
    padding: 40px 0 130px;
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-arrow {
    top: 165px;
  }

  .property-search {
    bottom: -160px;
    width: min(calc(100% - 48px), 680px);
    grid-template-columns: 1fr 1fr;
  }

  .property-search label:nth-of-type(2) {
    border-right: 0;
  }

  .property-search label {
    min-height: 65px;
    border-bottom: 1px solid var(--line);
  }

  .property-search button {
    margin: 12px 0 0;
    grid-column: 1 / -1;
  }

  .about {
    padding-top: 245px;
  }

  .about-grid,
  .reviews-grid {
    gap: 55px;
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 0.8fr 1.5fr;
  }

  .map-card {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .phone-pill span {
    display: none;
  }

  .phone-pill {
    width: 42px;
    justify-content: center;
    padding: 0;
  }

  .brand-copy strong {
    font-size: 21px;
  }

  .brand-copy small {
    letter-spacing: 3px;
  }

  .brand-logo {
    width: 125px;
    height: 45px;
  }

  .hero {
    min-height: 770px;
  }

  .hero-image {
    height: 320px;
  }

  .hero-inner {
    min-height: 770px;
  }

  .hero-content {
    padding-bottom: 188px;
  }

  .hero-title {
    font-size: 45px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .trust-points {
    gap: 7px 14px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .btn {
    padding-inline: 20px;
  }

  .hero-arrow {
    top: 140px;
    width: 36px;
    height: 36px;
  }

  .property-search {
    bottom: -215px;
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .property-search label {
    min-height: 55px;
    border-right: 0;
  }

  .about {
    padding-top: 285px;
  }

  .section {
    padding-block: 70px;
  }

  .about.section {
    padding-top: 285px;
    padding-bottom: 64px;
  }

  .about-grid {
    gap: 42px;
  }

  .about-collage {
    min-height: 350px;
    padding-right: 12px;
    padding-left: 30px;
  }

  .about-main {
    height: 295px;
  }

  .about-small {
    width: 145px;
    height: 125px;
  }

  .experience-badge {
    right: 0;
    width: 128px;
  }

  .about-content h2,
  .section-heading h2,
  .section-row h2 {
    font-size: 35px;
  }

  .about-stats {
    gap: 20px 0;
    grid-template-columns: 1fr 1fr;
  }

  .about-stats article {
    padding-inline: 12px;
  }

  .about-stats article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .about-stats article:nth-child(n + 3) {
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .commitment {
    padding-top: 10px;
  }

  .commitment-grid {
    grid-template-columns: 1fr 1fr;
  }

  .commitment-card {
    border: 1px solid var(--line) !important;
  }

  .section-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .properties-grid {
    grid-template-columns: 1fr 1fr;
  }

  .property-media {
    height: 180px;
  }

  .category-grid {
    gap: 24px 0;
    grid-template-columns: repeat(4, 1fr);
  }

  .category-grid a:nth-child(4) {
    border-right: 0;
  }

  .gallery-track figure {
    flex-basis: calc((100% - 26px) / 3);
    height: 155px;
  }

  .gallery-lightbox {
    padding: 16px;
  }

  .lightbox-dialog {
    width: 100%;
  }

  .lightbox-media {
    min-height: 260px;
    max-height: 72vh;
  }

  .lightbox-media img {
    max-height: 72vh;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-info {
    min-height: 68px;
    padding: 12px 16px;
  }

  .lightbox-info strong {
    font-size: 19px;
  }

  .review-stats {
    gap: 22px 0;
    grid-template-columns: 1fr 1fr;
  }

  .review-stats article:nth-child(2) {
    border-right: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-card {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .quick-contact {
    right: 15px;
    bottom: 16px;
  }

  .quick-contact-btn {
    width: 47px;
    height: 47px;
    font-size: 18px;
  }

  .back-to-top {
    right: 18px;
    bottom: 130px;
  }

  .toast {
    right: 70px;
    bottom: 70px;
    max-width: calc(100vw - 100px);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 39px;
  }

  .hero-copy br {
    display: none;
  }

  .trust-points span {
    width: calc(50% - 10px);
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 145px;
  }

  .about-main {
    height: 260px;
  }

  .about-collage {
    min-height: 315px;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .property-media {
    height: 230px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid a:nth-child(even) {
    border-right: 0;
  }

  .gallery-track figure {
    flex-basis: calc((100% - 13px) / 2);
  }

  .testimonial-shell {
    min-height: 240px;
    padding: 24px 36px;
  }

  .testimonials {
    min-height: 190px;
  }

  .testimonial {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .testimonial img {
    margin-inline: auto;
  }

  .testimonial-head {
    justify-content: center;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form textarea,
  .contact-form button {
    grid-column: auto;
  }
}

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