/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:      #FFFFFF;
  --off-white:  #F7F6F2;
  --cream:      #EDE9E0;
  --dark:       #0E0E0E;
  --mid:        #4A4A46;
  --light-text: #888884;
  --teal:       #2AB5C6;
  --teal-light: #4DCAD8;
  --green:      #1E7049;
  --border:     #E2DED6;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1280px;
  --gutter: clamp(24px, 5vw, 80px);

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────────────────────── */
.serif { font-family: var(--font-serif); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }

p { font-size: 1rem; color: var(--mid); line-height: 1.75; }

.label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ── Layout ───────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 10vw, 120px); }
.section--cream { background: var(--off-white); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.6); }

/* ── Navigation ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--gutter);
  max-width: var(--max-w);
  margin-inline: auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav__logo-img {
  height: 52px;
  width: auto;
  display: block;
  transition: filter 0.3s var(--ease);
}

/* On transparent/dark hero: invert to white */
.nav--light:not(.scrolled) .nav__logo-img {
  filter: brightness(0) invert(1);
}

.nav__logo-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--dark);
  transition: color 0.3s;
}

.nav--light .nav__logo-main { color: var(--white); }
.nav.scrolled .nav__logo-main { color: var(--dark); }

.nav__logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.nav__link {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

/* ── Nav Dropdown ─────────────────────────────────────────────────────────── */
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  padding-top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  min-width: 220px;
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  z-index: 200;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  display: flex;
}
.nav__dropdown-item {
  display: block;
  padding: 11px 20px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.nav__dropdown-item:last-child { border-bottom: none; }
.nav__dropdown-item:hover { background: var(--off-white); color: var(--teal); }
.nav__dropdown-item--soon {
  color: var(--light-text);
  cursor: default;
  font-style: italic;
}
.nav__dropdown-item--soon:hover { background: none; color: var(--light-text); }

/* Mobile sub-links */
.nav__mobile-sub { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 12px 16px; }
.nav__mobile-sub-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--mid);
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s;
}
.nav__mobile-sub-link:hover { color: var(--teal); }
.nav__mobile-sub-link--soon { color: var(--light-text); font-style: italic; }

.nav--light .nav__link { color: rgba(255,255,255,0.85); }
.nav.scrolled .nav__link { color: var(--dark); }

.nav--light .nav__link:hover { color: var(--white); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dark);
  border: 1px solid currentColor;
  padding: 9px 20px;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav--light .nav__cta { color: var(--white); }
.nav.scrolled .nav__cta { color: var(--dark); }
.nav__cta:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--dark);
  transition: all 0.3s var(--ease);
}

.nav--light .nav__hamburger span { background: var(--white); }
.nav.scrolled .nav__hamburger span { background: var(--dark); }

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav__mobile.open { display: flex; }

.nav__mobile .nav__link {
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: none;
}

.nav__mobile-close {
  position: absolute;
  top: 24px;
  right: var(--gutter);
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
}

.nav__mobile .contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.nav__mobile .contact-links a {
  color: var(--teal);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

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

.btn--primary:hover { background: var(--teal); }

.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}

.btn--outline:hover { background: var(--dark); color: var(--white); }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn--outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

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

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

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  gap: 10px;
}

.btn--whatsapp:hover { background: #1DAA54; }

.btn--whatsapp svg { flex-shrink: 0; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1613977257592-4871e5fcd7c4?w=2000&q=85');
  background-size: cover;
  background-position: center 60%;
  transform: scale(1.04);
  transition: transform 8s var(--ease-out);
}

.hero__bg.loaded { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.2) 50%,
    rgba(0,0,0,0.05) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--gutter);
  padding-bottom: clamp(48px, 8vw, 96px);
  color: var(--white);
}

.hero__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin-bottom: 28px;
}

.hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 42ch;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Stats bar ────────────────────────────────────────────────────────────── */
.stats {
  background: var(--dark);
  padding: 40px var(--gutter);
}

.stats__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
}

.stat {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  padding-right: 32px;
}

.stat:last-child { border-right: none; }

.stat__number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ── Section header ───────────────────────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-header--center { text-align: center; }

.section-header .label { margin-bottom: 16px; }

.section-header h2 { margin-bottom: 20px; }

.section-header p {
  max-width: 56ch;
  font-size: 1.05rem;
}

.section-header--center p { margin-inline: auto; }

/* ── Property cards ───────────────────────────────────────────────────────── */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2px;
}

.property-card {
  position: relative;
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  display: block;
  transition: transform 0.4s var(--ease);
}

.property-card:hover { transform: translateY(-4px); }

.property-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.property-card:hover .property-card__image img { transform: scale(1.06); }

.property-card__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 5px 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--dark);
  border-radius: 1px;
}

.property-card__badge--rent { background: var(--teal); color: var(--white); }

.property-card__network {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.75);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.property-card__body {
  padding: 24px 28px 28px;
  border: 1px solid var(--border);
  border-top: none;
}

.property-card__type {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.property-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--dark);
  transition: color 0.3s;
}

.property-card:hover .property-card__title { color: var(--teal); }

.property-card__location {
  font-size: 0.8rem;
  color: var(--light-text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.property-card__specs {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}

.property-card__spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.property-card__spec-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.property-card__spec-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-text);
}

.property-card__price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--dark);
}

.property-card__price-note {
  font-size: 0.72rem;
  color: var(--light-text);
  font-family: var(--font-sans);
}

/* ── Featured property (full-width) ──────────────────────────────────────── */
.featured-property {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  border: 1px solid var(--border);
  margin-bottom: 2px;
}

.featured-property__image {
  position: relative;
  overflow: hidden;
}

.featured-property__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.featured-property:hover .featured-property__image img { transform: scale(1.04); }

.featured-property__body {
  padding: clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--off-white);
}

.featured-property__body .label { margin-bottom: 20px; }
.featured-property__body h3 { margin-bottom: 12px; }
.featured-property__body .location {
  font-size: 0.82rem;
  color: var(--light-text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.featured-property__body p {
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.featured-property__specs {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.featured-property__price {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 28px;
}

.featured-property__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── About section ────────────────────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.about-image-stack {
  position: relative;
  padding-bottom: 40px;
  padding-right: 40px;
}

.about-image-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-image-inset {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.about-content .label { margin-bottom: 16px; }
.about-content h2 { margin-bottom: 24px; }
.about-content p { margin-bottom: 20px; }
.about-content p:last-of-type { margin-bottom: 40px; }

.about-signature {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--teal);
  margin-top: 32px;
  font-style: italic;
}

/* ── Area section ─────────────────────────────────────────────────────────── */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.area-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: default;
}

.area-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.area-card:hover img { transform: scale(1.06); }

.area-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}

.area-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  color: var(--white);
}

.area-card__body h4 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.area-card__body p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ── Testimonial ──────────────────────────────────────────────────────────── */
.testimonial-section {
  padding-block: clamp(64px, 10vw, 120px);
  background: #1B3028;
}

.testimonial {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  padding-inline: var(--gutter);
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial__quote::before { content: '\201C'; color: var(--teal); }
.testimonial__quote::after  { content: '\201D'; color: var(--teal); }

.testimonial__author {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.testimonial__author strong {
  color: var(--teal);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* ── Contact strip ────────────────────────────────────────────────────────── */
.contact-strip {
  background: var(--off-white);
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  text-align: center;
}

.contact-strip h2 {
  margin-bottom: 16px;
}

.contact-strip p {
  margin-bottom: 40px;
  margin-inline: auto;
  max-width: 48ch;
}

.contact-strip__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Properties page ──────────────────────────────────────────────────────── */
.page-hero {
  padding-top: 140px;
  padding-bottom: 64px;
  background: var(--cream);
  color: var(--dark);
}

.page-hero__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-hero .label { color: var(--teal); margin-bottom: 16px; }

.page-hero h1 { color: var(--dark); }

/* ── Search & Filter Panel ────────────────────────────────────────────────── */
.search-panel {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px var(--gutter) 0;
}

.search-panel__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.search-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 140px;
}

.search-field--type { flex: 2; min-width: 260px; }
.search-field--price { flex: 2; min-width: 220px; }
.search-field--sm { flex: 0 0 110px; min-width: 100px; }

.search-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-text);
}

.search-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--off-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888884' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 9px 30px 9px 12px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--dark);
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
  width: 100%;
}

.search-select:focus { outline: none; border-color: var(--teal); }

.type-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.type-btn {
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--mid);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.type-btn:hover { border-color: var(--dark); color: var(--dark); }
.type-btn.active { background: var(--dark); border-color: var(--dark); color: var(--white); }

.price-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-range .search-select { flex: 1; }
.price-sep { color: var(--light-text); font-size: 0.8rem; flex-shrink: 0; }

.search-clear {
  padding: 9px 16px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--light-text);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  align-self: flex-end;
  transition: all 0.2s var(--ease);
}

.search-clear:hover { border-color: var(--dark); color: var(--dark); }

.search-features {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 0;
}

.search-features .search-label { flex-shrink: 0; }

.feat-check {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--mid);
  user-select: none;
}

.feat-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 1px solid var(--border);
  border-radius: 2px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
}

.feat-check input[type="checkbox"]:checked {
  background: var(--dark);
  border-color: var(--dark);
}

.feat-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 4px;
  width: 5px; height: 8px;
  border: 1.5px solid var(--white);
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

.search-results-bar {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 10px 0 12px;
  border-top: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--light-text);
}

.properties-list {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 48px var(--gutter);
}

.properties-list .properties-grid {
  border: 1px solid var(--border);
}

/* ── Property detail ──────────────────────────────────────────────────────── */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 260px);
  gap: 3px;
  height: 523px;
  overflow: hidden;
}

.property-gallery__main {
  grid-row: 1 / 3;
  overflow: hidden;
  cursor: zoom-in;
}

.property-gallery__main img,
.property-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.property-gallery__main:hover img,
.property-gallery__thumb:hover img { transform: scale(1.04); }

.property-gallery__thumb { overflow: hidden; cursor: zoom-in; }

.property-detail {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.property-detail__main .label { margin-bottom: 12px; }
.property-detail__main h1 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.5rem); }

.property-detail__location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--light-text);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.property-detail__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

.property-detail__spec {
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.property-detail__spec:last-child { border-right: none; }

.property-detail__spec-value {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}

.property-detail__spec-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-text);
}

.property-detail__description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 40px;
}

.property-detail__features h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 0.72rem;
  color: var(--dark);
}

.property-detail__description p { margin-bottom: 16px; }
.property-detail__description p:last-child { margin-bottom: 0; }

.property-detail__floorplan,
.property-detail__costs {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.property-detail__floorplan h3,
.property-detail__costs h3,
.property-detail__features h3 {
  font-size: 0.72rem;
  font-family: var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark);
}

.costs-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.cost-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cost-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-text);
}

.cost-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--mid);
}

.features-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Sidebar */
.property-sidebar {
  position: sticky;
  top: 96px;
}

.property-sidebar__price-card {
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 16px;
}

.property-sidebar__price {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 4px;
}

.property-sidebar__price-note {
  font-size: 0.78rem;
  color: var(--light-text);
  margin-bottom: 28px;
}

.property-sidebar__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.property-sidebar__actions .btn { justify-content: center; }

.property-sidebar__ref {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-text);
  text-align: center;
  margin-top: 16px;
}

/* ── Contact page ─────────────────────────────────────────────────────────── */
.contact-page {
  padding-top: 140px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 140px);
}

.contact-info {
  background: var(--dark);
  color: var(--white);
  padding: clamp(48px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info .label { color: var(--teal-light); margin-bottom: 20px; }
.contact-info h2 { color: var(--white); margin-bottom: 20px; }
.contact-info > p { color: rgba(255,255,255,0.6); margin-bottom: 48px; max-width: 40ch; }

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-method__icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

.contact-method__detail { display: flex; flex-direction: column; }

.contact-method__label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.contact-method__value {
  font-size: 1rem;
  color: var(--white);
  transition: color 0.3s;
}

.contact-method a:hover .contact-method__value { color: var(--teal); }

.contact-method__cta-row {
  margin-top: 12px;
}

.contact-form-panel {
  background: var(--off-white);
  padding: clamp(48px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-panel .label { margin-bottom: 16px; }
.contact-form-panel h3 { margin-bottom: 8px; }
.contact-form-panel > p { margin-bottom: 40px; }

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 13px 16px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--dark);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.25s var(--ease);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); }

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form__note {
  font-size: 0.72rem;
  color: var(--light-text);
}

.form-success {
  display: none;
  background: rgba(184,154,90,0.08);
  border: 1px solid var(--teal);
  padding: 16px 20px;
  border-radius: 2px;
  font-size: 0.88rem;
  color: var(--dark);
}

.form-success.visible { display: block; }

/* ── About page ───────────────────────────────────────────────────────────── */
.about-page-hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.about-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.about-page-hero__content {
  position: relative;
  z-index: 2;
  padding: var(--gutter);
  padding-top: 120px;
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
  color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.team-card__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 20px;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.4s, transform 0.5s var(--ease);
}

.team-card:hover .team-card__image img { filter: grayscale(0); transform: scale(1.04); }

.team-card__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.team-card__bio { font-size: 0.88rem; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: #1B3028;
  color: rgba(255,255,255,0.55);
  padding: 72px var(--gutter) 32px;
}

.footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer__brand .nav__logo-main { color: var(--white); font-size: 1.5rem; }
.footer__brand .nav__logo-sub { margin-bottom: 16px; }
.footer__brand p { font-size: 0.82rem; line-height: 1.7; margin-bottom: 24px; color: rgba(255,255,255,0.4); }

.footer__contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}

.footer__contact-link:hover { color: var(--teal); }

.footer__col h5 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 20px;
  font-family: var(--font-sans);
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }

.footer__link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.footer__link:hover { color: var(--white); }
.footer__link--soon { color: rgba(255,255,255,0.25); font-style: italic; cursor: default; }
.footer__link--soon:hover { color: rgba(255,255,255,0.25); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy { font-size: 0.72rem; color: rgba(255,255,255,0.25); }

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  transition: color 0.3s;
}

.footer__legal a:hover { color: rgba(255,255,255,0.5); }

/* ── Lightbox ─────────────────────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  padding: 16px;
  transition: color 0.2s;
}

.lightbox__close { top: 16px; right: 16px; font-size: 2rem; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { color: var(--white); }

/* ── Animations ───────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-up.visible { opacity: 1; transform: none; }

.fade-up:nth-child(1) { transition-delay: 0ms; }
.fade-up:nth-child(2) { transition-delay: 80ms; }
.fade-up:nth-child(3) { transition-delay: 160ms; }
.fade-up:nth-child(4) { transition-delay: 240ms; }
.fade-up:nth-child(5) { transition-delay: 320ms; }
.fade-up:nth-child(6) { transition-delay: 400ms; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-split { grid-template-columns: 1fr; }
  .about-image-stack { display: none; }

  .featured-property { grid-template-columns: 1fr; min-height: auto; }
  .featured-property__image { aspect-ratio: 16/9; }

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

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding: 48px var(--gutter); }
  .contact-form-panel { padding: 48px var(--gutter); }

  .property-detail { grid-template-columns: 1fr; }
  .property-sidebar { position: static; }

  .area-grid { grid-template-columns: 1fr 1fr; }
  .area-grid > :nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16/7; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

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

  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 24px; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat:last-child, .stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .area-grid { grid-template-columns: 1fr; }
  .area-grid > :nth-child(3) { grid-column: auto; aspect-ratio: 3/4; }

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

  .property-gallery { grid-template-columns: 1fr; grid-template-rows: 300px; height: auto; }
  .property-gallery__main { grid-row: auto; }
  .property-gallery__thumb { display: none; }
  .property-gallery__thumb:first-of-type { display: block; }

  .property-detail__specs { grid-template-columns: 1fr 1fr; }
  .property-detail__spec:nth-child(2) { border-right: none; }
  .property-detail__spec:nth-child(3) { border-top: 1px solid var(--border); }
  .property-detail__spec:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  .features-list { grid-template-columns: 1fr; }

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

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

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}
