/* ============================================================
   OWNIT9JA PROPERTIES & INTERIOR LTD — Main Stylesheet
   Build order: tokens → reset → base → layout → utilities
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
  /* --- Colors --- */
  --green:        #0D9360;
  --green-dark:   #0A7A4F;
  --green-light:  #E6F5EE;
  --black:        #111111;
  --black-soft:   #1A1A1A;
  --cream:        #F7F4EF;
  --cream-dark:   #EEEAE3;
  --white:        #FFFFFF;
  --text:         #1A1A1A;
  --text-muted:   #6B6B6B;
  --text-light:   #9A9A9A;
  --border:       #E0DDD8;
  --border-dark:  #C8C4BE;

  /* --- Typography --- */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs:      13px;
  --text-sm:      14px;
  --text-base:    16px;
  --text-md:      18px;
  --text-lg:      20px;
  --text-xl:      24px;
  --text-2xl:     32px;
  --text-3xl:     40px;
  --text-4xl:     48px;
  --text-hero:    60px;

  --lh-tight:     1.1;
  --lh-snug:      1.25;
  --lh-normal:    1.4;
  --lh-relaxed:   1.6;

  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;

  /* --- Spacing --- */
  --sp-4:    4px;
  --sp-8:    8px;
  --sp-12:   12px;
  --sp-16:   16px;
  --sp-20:   20px;
  --sp-24:   24px;
  --sp-32:   32px;
  --sp-40:   40px;
  --sp-48:   48px;
  --sp-64:   64px;
  --sp-80:   80px;
  --sp-100:  100px;
  --sp-120:  120px;

  /* --- Layout --- */
  --max-w:        1200px;
  --page-pad:     40px;
  --section-gap:  100px;

  /* --- Borders --- */
  --radius-sm:  4px;
  --radius-md:  8px;

  /* --- Transitions --- */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --duration:    240ms;
  --duration-lg: 400ms;
}

/* ============================================================
   2. RESET & BOX MODEL
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font);
  font-size: var(--text-base);
}

/* ============================================================
   3. BASE TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--text);
}

h1 { font-size: var(--text-hero);   font-weight: var(--fw-extrabold); }
h2 { font-size: var(--text-3xl);    font-weight: var(--fw-bold); }
h3 { font-size: var(--text-2xl);    font-weight: var(--fw-bold); }
h4 { font-size: var(--text-xl);     font-weight: var(--fw-semibold); }
h5 { font-size: var(--text-lg);     font-weight: var(--fw-semibold); }
h6 { font-size: var(--text-base);   font-weight: var(--fw-semibold); }

p {
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
}

/* ============================================================
   4. LAYOUT HELPERS
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.section--cream  { background-color: var(--cream); }
.section--white  { background-color: var(--white); }
.section--black  { background-color: var(--black); }

/* ============================================================
   5. ANNOUNCEMENT BAR
   ============================================================ */

.announcement-bar {
  background-color: var(--green);
  color: var(--white);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  padding: 0 var(--sp-16);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.01em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

.announcement-bar a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--duration) var(--ease);
}

.announcement-bar a:hover { opacity: 0.8; }

/* ============================================================
   6. NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-20) var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              padding var(--duration) var(--ease);
}

/* Transparent state — over hero */
.nav--transparent {
  background-color: transparent;
}

/* Scrolled state */
.nav.scrolled {
  background-color: var(--white);
  box-shadow: 0 1px 0 var(--border);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
}

/* On inner pages (no hero) — always solid */
.nav--solid {
  position: sticky;
  background-color: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

/* Logo / Wordmark */
.nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  font-size: var(--text-xl);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav__logo {
  height: 42px;
  width: auto;
  display: block;
}

.nav__brand-ownit {
  color: var(--white);
  transition: color var(--duration) var(--ease);
}

.nav__brand-9ja {
  color: var(--green);
}

.nav.scrolled .nav__brand-ownit,
.nav--solid .nav__brand-ownit {
  color: var(--black);
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-24);
  margin-left: auto;
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--duration) var(--ease);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--green);
  transition: width var(--duration) var(--ease);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav.scrolled .nav__links a,
.nav--solid .nav__links a {
  color: var(--text);
  text-shadow: none;
}

.nav.scrolled .nav__brand,
.nav--solid .nav__brand {
  text-shadow: none;
}

/* Nav CTA button */
.nav__cta {
  margin-left: var(--sp-16);
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 7px;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  background: none;
  border: none;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
  transition: opacity var(--duration) var(--ease);
}

.nav__cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
  color: var(--green);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}

.nav__cta:hover { opacity: 0.8; color: var(--white); }

.nav.scrolled .nav__links .nav__cta,
.nav--solid .nav__links .nav__cta,
.nav.scrolled .nav__cta,
.nav--solid .nav__cta {
  background: none;
  color: var(--black);
  text-shadow: none;
}

.nav.scrolled .nav__cta svg,
.nav--solid .nav__cta svg {
  filter: none;
}

.nav.scrolled .nav__cta:hover,
.nav--solid .nav__cta:hover {
  opacity: 0.7;
  color: var(--black);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: var(--sp-4);
  cursor: pointer;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--white);
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease),
              background-color var(--duration) var(--ease);
  transform-origin: center;
}

.nav.scrolled .nav__hamburger span,
.nav--solid .nav__hamburger span {
  background-color: var(--black);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile menu close button */
.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: var(--page-pad);
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--black);
  line-height: 1;
}
.mobile-menu__close svg {
  display: block;
  width: 28px;
  height: 28px;
}

/* Mobile menu */
.mobile-menu {
  position: relative;
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--white);
  z-index: 99;
  padding: 100px var(--page-pad) var(--sp-48);
  flex-direction: column;
  gap: var(--sp-32);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--duration-lg) var(--ease),
              transform var(--duration-lg) var(--ease);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a:not(.nav__cta) {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--sp-20);
  transition: color var(--duration) var(--ease);
}

.mobile-menu a:not(.nav__cta):hover { color: var(--green); }

.mobile-menu .nav__cta svg {
  color: var(--white);
  filter: none;
}

.mobile-menu .nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  background-color: var(--green);
  border: none;
  color: var(--white);
  font-size: var(--text-base);
  padding: 12px 24px;
  margin-top: var(--sp-8);
}

/* ============================================================
   7. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  transition: background-color var(--duration) var(--ease),
              color var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

/* Shared eyebrow label */
.section-eyebrow {
  font-size: 20px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green) !important;
}

/* Solid green */
.btn--green {
  background-color: var(--green);
  color: var(--white);
  border: 1.5px solid var(--green);
}
.btn--green:hover {
  background-color: var(--green-dark);
  border-color: var(--green-dark);
}

/* Outlined black */
.btn--outline-black {
  background-color: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn--outline-black:hover {
  background-color: var(--black);
  color: var(--white);
}

/* Outlined white — for dark/hero sections */
.btn--outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}
.btn--outline-white:hover {
  background-color: var(--white);
  color: var(--black);
}

/* Outlined green */
.btn--outline-green {
  background-color: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}
.btn--outline-green:hover {
  background-color: var(--green);
  color: var(--white);
}

/* Large size */
.btn--lg {
  font-size: var(--text-base);
  padding: 16px 36px;
}

/* ============================================================
   8. SECTION LABELS (eyebrow text)
   ============================================================ */

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--sp-12);
}

.section-label--white {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-base);
}

/* ============================================================
   9. FOOTER
   ============================================================ */

.footer {
  background-color: var(--black);
  padding: var(--sp-80) 0 var(--sp-40);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-64);
  padding-bottom: var(--sp-64);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--sp-40);
}

.footer__brand-name {
  font-size: 20px;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-12);
}

.footer__brand-name .ownit  { color: var(--white); }
.footer__brand-name .nine   { color: var(--green); }

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--lh-relaxed);
  max-width: 280px;
  margin-bottom: var(--sp-24);
}

.footer__socials {
  display: flex;
  gap: var(--sp-16);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: border-color var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.footer__social-link:hover {
  border-color: var(--green);
  color: var(--green);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-20);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration) var(--ease);
}

.footer__links a:hover { color: var(--white); }

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-16);
}

.footer__contact-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.footer__contact-value {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--duration) var(--ease);
}

.footer__contact-value a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--duration) var(--ease);
}

.footer__contact-value a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   10. PROPERTY CARD (shared — listings page + homepage grid)
   ============================================================ */

.prop-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  transition: transform var(--duration-lg) var(--ease);
}

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

.prop-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--cream-dark);
}

.prop-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-lg) var(--ease);
}

.prop-card:hover .prop-card__img-wrap img {
  transform: scale(1.04);
}

.prop-card__badge {
  position: absolute;
  top: var(--sp-12);
  left: var(--sp-12);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  background-color: var(--green);
  color: var(--white);
}

.prop-card__badge--sold {
  background-color: var(--black-soft);
}

.prop-card__body {
  padding: var(--sp-20) 0 var(--sp-8);
}

.prop-card__type {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--sp-8);
}

.prop-card__name {
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin-bottom: var(--sp-8);
  line-height: var(--lh-snug);
}

.prop-card__location {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-12);
}

.prop-card__location svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--text-light);
}

.prop-card__price {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-bottom: var(--sp-12);
}

.prop-card__link {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease);
  padding-bottom: 1px;
}

.prop-card__link:hover { border-color: var(--green); }

.prop-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration) var(--ease);
}

.prop-card:hover .prop-card__link svg {
  transform: translateX(3px);
}

/* Placeholder image (during build — before real photos) */
.prop-card__placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prop-card__placeholder span {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ============================================================
   11. HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Subtle gradient at bottom so text is always readable */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.18) 40%,
    transparent 70%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 var(--page-pad) var(--sp-64);
  max-width: 680px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5dffb0;
  margin-bottom: var(--sp-20);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--green);
  flex-shrink: 0;
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  color: var(--white);
  margin-bottom: var(--sp-20);
  letter-spacing: -0.02em;
}

/* 4-line tagline: scale with screen height on desktop so short laptop screens keep space under the nav */
@media (min-width: 769px) {
  .hero { padding-top: 120px; }
  .hero__title { font-size: clamp(38px, 7.4vh, 60px); }
}

.hero__brand {
  color: var(--green);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero__sub {
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  color: var(--white);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-32);
  max-width: 520px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-32);
  right: var(--page-pad);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

@media (max-width: 768px) {
  .hero__content {
    padding-bottom: var(--sp-48);
    max-width: 100%;
  }
  .hero__scroll { display: none; }
}

/* ============================================================
   12. BROWSE BY TYPE SECTION
   ============================================================ */

.browse__header {
  margin-bottom: var(--sp-48);
  text-align: center;
}

.browse__title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin-top: var(--sp-8);
}

.browse--tight {
  padding-top: var(--sp-48);
}

/* Grid — 3 col desktop */
/* 2 columns while there's no Apartments card; set back to 3 when it returns */
.browse__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-32);
}

/* Card */
.browse-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Image area */
.browse-card__img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--cream-dark);
  margin-bottom: var(--sp-20);
  position: relative;
}

.browse-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-lg) var(--ease);
}

.browse-card:hover .browse-card__img img {
  transform: scale(1.04);
}

/* Placeholder */
.browse-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cream-dark);
  transition: background-color var(--duration-lg) var(--ease);
}

.browse-card:hover .browse-card__placeholder {
  background-color: #e0dbd2;
}

.browse-card__placeholder span {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Body */
.browse-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.browse-card__name {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  line-height: var(--lh-snug);
}

.browse-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-4);
}

.browse-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--green);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--duration) var(--ease),
              gap var(--duration) var(--ease);
  width: fit-content;
}

.browse-card__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
}

.browse-card:hover .browse-card__link {
  border-color: var(--green);
  gap: var(--sp-12);
}

.browse-card:hover .browse-card__link svg {
  transform: translateX(3px);
}

/* Tablet — 2 col + 1 card full width */
@media (max-width: 900px) {
  .browse__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-24);
  }

  .browse__grid .browse-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .browse__grid .browse-card:nth-child(3) .browse-card__img {
    aspect-ratio: 16 / 7;
  }
}

/* Mobile — single column, landscape images */
@media (max-width: 600px) {
  .browse__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-32);
  }

  .browse__grid .browse-card:nth-child(3) {
    grid-column: auto;
  }

  .browse-card__img,
  .browse__grid .browse-card:nth-child(3) .browse-card__img {
    aspect-ratio: 4 / 3;
  }

  .browse__header {
    margin-bottom: var(--sp-32);
  }
}

/* ============================================================
   13. BRAND STATEMENT SECTION
   ============================================================ */

.brand-stmt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.brand-stmt__img {
  position: relative;
  overflow: hidden;
}

.brand-stmt__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--duration-lg) var(--ease);
}

.brand-stmt:hover .brand-stmt__img img {
  transform: scale(1.03);
}

.brand-stmt__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--sp-80) var(--sp-64);
  gap: var(--sp-24);
  background-color: var(--cream);
}

.brand-stmt__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--black);
  line-height: var(--lh-snug);
  letter-spacing: -0.02em;
}

.brand-stmt__body {
  font-size: var(--text-md);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  max-width: 440px;
}

/* Tablet */
@media (max-width: 900px) {
  .brand-stmt {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .brand-stmt__img {
    height: 340px;
  }

  .brand-stmt__content {
    padding: var(--sp-48) var(--sp-40);
  }

  .brand-stmt__title {
    font-size: var(--text-2xl);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .brand-stmt__img {
    height: 260px;
  }

  .brand-stmt__content {
    padding: var(--sp-40) var(--sp-20);
    gap: var(--sp-20);
  }

  .brand-stmt__title {
    font-size: var(--text-xl);
  }

  .brand-stmt__body {
    font-size: var(--text-base);
  }
}

/* ============================================================
   14. FEATURED LISTINGS — Editorial staggered layout
   ============================================================ */

.featured {
  padding: var(--sp-100) 0;
  background-color: var(--cream);
}

.featured__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--sp-64);
  gap: var(--sp-32);
}

.featured__header-text { flex: 1; }

.featured__title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--black);
  letter-spacing: -0.02em;
  margin-top: var(--sp-8);
}

/* Two-column staggered editorial grid */
.featured__editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--sp-48);
  align-items: start;
}

.featured__col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-64);
}

.featured__col--right {
  margin-top: 100px;
}

/* Individual listing item — no box, raw image */
.prop-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.prop-item__img {
  position: relative;
  overflow: hidden;
  background-color: var(--cream-dark);
  display: block;
}

.prop-item__img--tall  { aspect-ratio: 3 / 4; }
.prop-item__img--wide  { aspect-ratio: 4 / 3; }

.prop-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.prop-item:hover .prop-item__img img {
  transform: scale(1.04);
}

.prop-item__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prop-item__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  background-color: var(--green);
  color: var(--white);
}

.prop-item__badge--sold { background-color: var(--black); }

.prop-item__info {
  padding-top: var(--sp-16);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prop-item__type {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.prop-item__name {
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  color: var(--black);
  line-height: var(--lh-normal);
}

.prop-item__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  margin-top: 2px;
}

.prop-item__location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.prop-item__location svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.prop-item__price {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--black);
}

.prop-item__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--green);
  margin-top: var(--sp-8);
  transition: gap var(--duration-fast) var(--ease);
}

.prop-item:hover .prop-item__link { gap: 10px; }

.prop-item__link svg { width: 16px; height: 16px; }

.featured__cta {
  margin-top: var(--sp-80);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .featured__header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: var(--sp-48);
  }

  .featured__editorial {
    grid-template-columns: 1fr;
    gap: var(--sp-48);
  }

  .featured__col--right {
    margin-top: 0;
  }

  .featured__col {
    gap: var(--sp-48);
  }

  .prop-item__img--tall,
  .prop-item__img--wide {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 600px) {
  .featured {
    padding: var(--sp-64) 0;
  }

  .featured__title {
    font-size: var(--text-xl);
  }

  .featured__col {
    gap: var(--sp-40);
  }
}

/* ============================================================
   15. WHY OWNIT9JA — Dark 2-col with stacked pills
   ============================================================ */

.why {
  padding: var(--sp-100) 0;
  background-color: var(--black);
}

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
  align-items: center;
}

.why__left {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
}

.why__heading {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.why__heading span {
  color: var(--green);
}

.why__sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.5);
  line-height: var(--lh-relaxed);
  max-width: 360px;
}

.why__right {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

.why__pill {
  display: flex;
  align-items: center;
  gap: var(--sp-20);
  padding: var(--sp-24) var(--sp-32);
  border-radius: 100px;
}

.why__pill--green {
  background-color: var(--green);
}

.why__pill--cream {
  background-color: var(--cream);
}

.why__pill-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.why__pill--green .why__pill-icon  { color: rgba(255,255,255,0.9); }
.why__pill--cream .why__pill-icon  { color: var(--green); }

.why__pill-text { flex: 1; }

.why__pill-title {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
}

.why__pill--green .why__pill-title { color: var(--white); }
.why__pill--cream .why__pill-title { color: var(--black); }

.why__pill-desc {
  font-size: var(--text-sm);
  margin-top: 3px;
  line-height: 1.4;
}

.why__pill--green .why__pill-desc { color: rgba(255,255,255,0.75); }
.why__pill--cream .why__pill-desc { color: var(--text-muted); }

.why__pill-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.6;
}

.why__pill--green .why__pill-arrow { color: var(--white); }
.why__pill--cream .why__pill-arrow { color: var(--black); }

@media (max-width: 768px) {
  .why__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-48);
  }

  .why__heading {
    font-size: var(--text-3xl);
  }

  .why__pill {
    padding: var(--sp-20) var(--sp-24);
  }
}

@media (max-width: 480px) {
  .why {
    padding: var(--sp-64) 0;
  }

  .why__pill {
    border-radius: 20px;
  }
}

/* ============================================================
   16. TESTIMONIALS — Stacked card carousel
   ============================================================ */

.testi {
  padding: var(--sp-100) 0;
  background-color: var(--cream);
  overflow: hidden;
}

.testi__header {
  margin-bottom: var(--sp-64);
}

.testi__title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--black);
  letter-spacing: -0.02em;
  margin-top: var(--sp-8);
}

.testi__stack-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-32);
}

.testi__stack {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 280px;
}

.testi__card {
  position: absolute;
  inset: 0;
  background-color: var(--white);
  padding: var(--sp-48);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s ease, z-index 0s;
  will-change: transform, opacity;
  cursor: default;
}

/* Stack depth states */
.testi__card[data-pos="0"] {
  transform: translateY(0) scale(1);
  opacity: 1;
  z-index: 3;
}
.testi__card[data-pos="1"] {
  transform: translateY(18px) scale(0.97);
  opacity: 0.7;
  z-index: 2;
}
.testi__card[data-pos="2"] {
  transform: translateY(34px) scale(0.94);
  opacity: 0.4;
  z-index: 1;
}
.testi__card[data-pos="hidden"] {
  transform: translateY(-40px) scale(1.02);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.testi__quote {
  font-size: var(--text-md);
  color: var(--text);
  line-height: var(--lh-relaxed);
  font-style: italic;
}

.testi__quote::before {
  content: '\201C';
  font-size: 2.5em;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--green);
  margin-right: 4px;
  font-style: normal;
}

.testi__author {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  margin-top: var(--sp-24);
}

.testi__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--green);
  flex-shrink: 0;
}

.testi__name {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--black);
}

.testi__meta {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Dots */
.testi__dots {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: var(--sp-16);
}

.testi__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-dark);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.testi__dot.active {
  background-color: var(--green);
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .testi__stack {
    height: 320px;
  }

  .testi__card {
    padding: var(--sp-32);
  }

  .testi__quote {
    font-size: var(--text-base);
  }
}

@media (max-width: 480px) {
  .testi {
    padding: var(--sp-64) 0;
  }

  .testi__stack {
    height: 360px;
  }
}

/* ============================================================
   17. BOTTOM CTA BAND
   ============================================================ */

.cta-band {
  padding: var(--sp-100) 0;
  background-color: var(--black);
  text-align: center;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-24);
  max-width: 680px;
  margin: 0 auto;
}

.cta-band__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: var(--lh-snug);
  letter-spacing: -0.02em;
}

.cta-band__sub {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.55);
  line-height: var(--lh-relaxed);
}

.cta-band__actions {
  display: flex;
  gap: var(--sp-16);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--sp-8);
}

@media (max-width: 480px) {
  .cta-band {
    padding: var(--sp-64) 0;
  }

  .cta-band__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-band__actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================
   18. FOOTER
   ============================================================ */

.footer {
  background-color: var(--black);
  padding-top: var(--sp-48);
  overflow: hidden;
}

/* ==============================================
   PAGE HERO (listings / about / contact inner pages)
   ============================================== */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--black);
}

.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--sp-40) var(--sp-48);
}

.page-hero__banner {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: var(--fw-bold);
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.page-hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: var(--fw-extrabold);
  color: var(--white);
  line-height: 1.1;
  margin-top: var(--sp-8);
}

.page-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.82);
  margin-top: var(--sp-12);
  font-weight: var(--fw-medium);
}

/* ==============================================
   FILTER BAR
   ============================================== */
.filter-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 90;
  height: 52px;
}

.filter-bar__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 100%;
  gap: 0;
}

.filter-bar__left {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  min-width: 0;
}

/* Grid density toggles */
.grid-toggle {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 0 var(--sp-20);
}

.grid-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.grid-toggle__btn svg {
  width: 16px;
  height: 12px;
  display: block;
}

.grid-toggle__btn[data-cols="4"] svg {
  width: 20px;
  height: 14px;
}

.grid-toggle__btn:hover {
  border-color: var(--black);
  color: var(--black);
}

.grid-toggle__btn.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* Grid column modifiers */
.listings-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.listings-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.listings-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Right side controls */
.filter-bar__right {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
}

/* Sort By */
.sortby {
  position: relative;
}

.sortby__btn {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding: 0 var(--sp-20);
  height: 44px;
  border: none;
  border-right: 1px solid var(--border);
  background: transparent;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
}

.sortby__chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
}

.sortby__btn[aria-expanded="true"] .sortby__chevron {
  transform: rotate(180deg);
}

.sortby__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  list-style: none;
  z-index: 200;
  padding: var(--sp-8) 0;
}

.sortby__dropdown.open {
  display: block;
}

.sortby__option {
  padding: 10px var(--sp-20);
  font-size: var(--text-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--duration) var(--ease);
}

.sortby__option:hover { color: var(--black); }

.sortby__option.active {
  color: var(--black);
  font-weight: var(--fw-semibold);
}

/* Filter button */
.filter-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 var(--sp-20);
  height: 44px;
  border: none;
  background: transparent;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font);
}

.filter-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Filter drawer */
.filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.filter-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.filter-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}

.filter-drawer.open .filter-drawer__panel {
  transform: translateX(0);
}

.filter-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-24) var(--sp-32);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.filter-drawer__title {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
}

.filter-drawer__sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.filter-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text);
}

.filter-drawer__close svg { width: 20px; height: 20px; }

.filter-drawer__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 var(--sp-32);
}

/* Filter groups */
.filter-group {
  border-bottom: 1px solid var(--border);
}

.filter-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--sp-20) 0;
  border: none;
  background: transparent;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--black);
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
}

.filter-group__header svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
}

.filter-group__header[aria-expanded="false"] svg {
  transform: rotate(0deg);
}

.filter-group__header[aria-expanded="true"] svg {
  transform: rotate(90deg);
}

.filter-group__options {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  padding-bottom: var(--sp-20);
  overflow: hidden;
}

.filter-group__options.collapsed {
  display: none;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  font-size: var(--text-sm);
  color: var(--text);
  cursor: pointer;
}

.filter-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--black);
  cursor: pointer;
  flex-shrink: 0;
}

/* Drawer footer */
.filter-drawer__foot {
  display: flex;
  gap: var(--sp-12);
  padding: var(--sp-24) var(--sp-32);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.filter-drawer__remove,
.filter-drawer__apply {
  flex: 1;
  height: 48px;
  border: 1.5px solid var(--black);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.filter-drawer__remove {
  background: var(--white);
  color: var(--black);
}

.filter-drawer__remove:hover {
  background: var(--black);
  color: var(--white);
}

.filter-drawer__apply {
  background: var(--black);
  color: var(--white);
}

.filter-drawer__apply:hover {
  background: var(--green);
  border-color: var(--green);
}

/* ==============================================
   LISTINGS SECTION + GRID
   ============================================== */
.listings-section {
  background: var(--white);
  padding: var(--sp-48) 0 var(--sp-80);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24) var(--sp-20);
}

/* ==============================================
   PROPERTY CARD
   ============================================== */
.prop-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.prop-card__img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--border);
}

.prop-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.prop-card:hover .prop-card__img { transform: scale(1.05); }

.prop-card__badge {
  position: absolute;
  top: var(--sp-12);
  left: var(--sp-12);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.prop-card__badge--available {
  background: var(--green);
  color: var(--white);
}

.prop-card__badge--sold {
  background: rgba(0,0,0,0.65);
  color: var(--white);
}

.prop-card__body {
  padding: var(--sp-12) 0 var(--sp-20);
  display: flex;
  flex-direction: column;
}

.prop-card__type {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.prop-card__name {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 6px;
}

.prop-card__location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
}

.prop-card__location svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--green);
}

.prop-card__price {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--black);
}

.prop-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--green);
  text-decoration: none;
  margin-top: var(--sp-8);
  transition: gap var(--duration) var(--ease);
}

.prop-card__link svg {
  width: 13px;
  height: 13px;
  transition: transform var(--duration) var(--ease);
}

.prop-card__link:hover { gap: 8px; }
.prop-card__link:hover svg { transform: translateX(2px); }

/* ==============================================
   EMPTY STATE
   ============================================== */
.listings-empty {
  text-align: center;
  padding: var(--sp-80) var(--sp-24);
}

.listings-empty__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--black);
  margin-bottom: var(--sp-8);
}

.listings-empty__sub {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--sp-32);
}

/* ==============================================
   RESPONSIVE — LISTINGS
   ============================================== */
@media (max-width: 1100px) {
  .listings-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .listings-grid,
  .listings-grid.cols-2,
  .listings-grid.cols-3,
  .listings-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .page-hero__content { padding: 0 var(--sp-20) var(--sp-40); }
  .filter-bar { top: 64px; }
  .grid-toggle { display: none; }
  .filter-bar__right { border-left: none; }
  .sortby__btn { padding: 0 var(--sp-12); font-size: var(--text-xs); }
  .filter-btn { padding: 0 var(--sp-12); font-size: var(--text-xs); }
}

@media (max-width: 480px) {
  .listings-grid,
  .listings-grid.cols-2,
  .listings-grid.cols-3,
  .listings-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: var(--sp-16) var(--sp-12); }
}

/* ============================================== */

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--sp-48);
  padding-bottom: var(--sp-40);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}

.footer__brand {}

.footer__logo {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: var(--sp-20);
}

.footer__brand-icon {
  width: 52px;
  height: 52px;
  color: var(--green);
  margin-bottom: 4px;
  display: block;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  line-height: var(--lh-relaxed);
  max-width: 260px;
}

.footer__socials {
  display: flex;
  gap: var(--sp-16);
  margin-top: var(--sp-24);
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: border-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}

.footer__social-link:hover {
  border-color: var(--green);
  color: var(--green);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--sp-20);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

.footer__links a {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color var(--duration-fast) var(--ease);
}

.footer__links a:hover { color: var(--green); }

.footer__follow-link {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}

.footer__follow-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Giant wordmark */
.footer__wordmark {
  font-size: clamp(56px, 12vw, 160px);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: var(--sp-32);
  padding-bottom: var(--sp-24);
  overflow: hidden;
  user-select: none;
  text-align: center;
}

.footer__wordmark span { color: var(--green); }

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--sp-20) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

.footer__bottom-links {
  display: flex;
  gap: var(--sp-24);
}

.footer__bottom-links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* Responsive */
@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-40);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__wordmark {
    font-size: clamp(48px, 18vw, 120px);
  }
}

@media (max-width: 480px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-32);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-8);
  }

  .footer__wordmark {
    font-size: 18vw;
  }
}

/* ============================================================
   19. SCROLL REVEAL ANIMATION
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   12. RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 1024px) {
  :root {
    --page-pad:   28px;
    --section-gap: 80px;
    --text-hero:  48px;
    --text-3xl:   36px;
    --text-2xl:   28px;
  }
}

@media (max-width: 768px) {
  :root {
    --page-pad:    20px;
    --section-gap: 64px;
    --text-hero:   40px;
    --text-3xl:    32px;
    --text-2xl:    24px;
    --text-xl:     20px;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-40);
  }

  .footer__grid > *:first-child {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --text-hero: 36px;
    --text-3xl:  28px;
  }

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


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-hero {
  position: relative;
  height: 34vw;
  min-height: 260px;
  max-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a2b36;
}

.contact-hero__img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: 52%;
  object-fit: contain;
  object-position: right bottom;
  display: block;
}

.contact-hero__fade {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  background: linear-gradient(to right, #1a2b36 0%, #1a2b36 15%, transparent 65%);
  pointer-events: none;
}

.contact-hero__content {
  position: relative;
  z-index: 2;
  padding: var(--sp-48) 0;
  width: 100%;
  margin-right: auto;
  margin-left: 0;
}

.contact-hero__heading {
  font-size: clamp(36px, 6.5vw, 96px);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.contact-hero__heading {
  white-space: nowrap;
}

.contact-hero__heading br {
  display: none;
}

@media (max-width: 768px) {
  .contact-hero__heading br {
    display: block;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 340px;
    align-items: flex-end;
  }
  .contact-hero__img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .contact-hero__fade {
    width: 100%;
    background: rgba(26,43,54,0.65);
  }
  .contact-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 0;
    padding-bottom: var(--sp-32);
    width: 100%;
  }
}

/* ============================================================
   CONTACT CHANNELS
   ============================================================ */

.contact-channels {
  background: var(--cream);
  padding: var(--sp-40) 0 var(--sp-64);
}

.contact-channels__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
}

.contact-channel {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  padding: var(--sp-32) var(--sp-24);
  background: transparent;
  border-right: 1px solid rgba(0,0,0,0.12);
  text-decoration: none;
  color: var(--black);
}

.contact-channel:last-child {
  border-right: none;
}

.contact-channel--static {
  cursor: default;
}

.contact-channel__icon {
  width: 32px;
  height: 32px;
  color: var(--green);
  margin-bottom: var(--sp-8);
}

.contact-channel__icon svg {
  width: 100%;
  height: 100%;
}

.contact-channel__label {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.contact-channel__value {
  font-size: 15px;
  font-weight: var(--fw-bold);
  color: var(--black);
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.contact-channel__action {
  font-size: 13px;
  color: var(--muted);
  margin-top: auto;
}

@media (max-width: 768px) {
  .contact-channels__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-channels {
    padding: var(--sp-48) 0;
  }
  .contact-channel {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.12);
  }
  .contact-channel:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   CONTACT TAGLINE
   ============================================================ */

.contact-tagline {
  background: var(--cream);
  padding: var(--sp-64) 0 var(--sp-48);
  border-top: 1px solid rgba(0,0,0,0.1);
}

.contact-tagline__heading {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: var(--fw-bold);
  color: var(--black);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-20);
  max-width: 680px;
}

.contact-tagline__body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ============================================================
   CONTACT FORM + QUICK ACTIONS
   ============================================================ */

.contact-main {
  background: var(--cream);
  padding: var(--sp-48) 0 var(--sp-80);
}

.contact-main__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
  align-items: start;
}

/* Form */
.contact-form-wrap {
  display: flex;
  flex-direction: column;
}

.contact-form__eyebrow {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: var(--sp-8);
}

.contact-form__sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: var(--sp-32);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.contact-form__field label {
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--black);
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.18);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--black);
  outline: none;
  transition: border-color var(--duration-md) var(--ease);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--muted);
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--green);
}

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

.contact-form__note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form__btn {
  align-self: flex-start;
  padding: 14px 32px;
  background: var(--black);
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--duration-md) var(--ease);
}

.contact-form__btn:hover {
  background: var(--green);
}

/* Quick actions */
.contact-quick {
  display: flex;
  flex-direction: column;
}

.contact-quick__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  padding: var(--sp-24);
  border: 1px solid rgba(0,0,0,0.12);
  margin-bottom: var(--sp-12);
  text-decoration: none;
  color: var(--black);
}

.contact-quick__item:last-child {
  margin-bottom: 0;
}

.contact-quick__item--static {
  cursor: default;
}

.contact-quick__title {
  font-size: 16px;
  font-weight: var(--fw-semibold);
  color: var(--black);
  margin-bottom: var(--sp-4);
}

.contact-quick__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-quick__link {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--black);
  margin-top: var(--sp-4);
}

@media (max-width: 768px) {
  .contact-main__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-48);
  }
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Hero */
.about-hero {
  background: var(--black);
  padding: 100px 0 var(--sp-48);
}
.about-hero__eyebrow {
  font-size: 14px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: var(--sp-20);
}
.about-hero__heading {
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-24);
  max-width: 760px;
}
.about-hero__sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.6;
}

/* About mission + vision */
.about-mv {
  background: var(--black);
  padding: var(--sp-80) 0;
}
.about-mv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.about-mv__item { padding-right: var(--sp-48); }
.about-mv__item + .about-mv__item {
  padding: 0 0 0 var(--sp-48);
  border-left: 1px solid rgba(255,255,255,0.15);
}
.about-hero__eyebrow,
.about-what .section-eyebrow,
.about-story__body .section-eyebrow,
.about-mv .section-eyebrow {
  font-size: clamp(24px, 2.4vw, 32px);
  margin-bottom: var(--sp-16);
}
.about-mv__text {
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 768px) {
  .about-mv { padding: var(--sp-48) 0; }
  .about-mv__grid { grid-template-columns: 1fr; }
  .about-mv__item { padding: 0; }
  .about-mv__item + .about-mv__item {
    padding: var(--sp-32) 0 0;
    margin-top: var(--sp-32);
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
}

/* About profile (photo + story combined) */
.about-profile {
  background: var(--white);
  padding: var(--sp-64) 0 var(--sp-80);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.about-profile__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--sp-64);
  align-items: start;
}

/* Photo column */
.about-photo__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-photo__img {
  display: block;
  width: 100%;
  height: auto;
}
.about-photo__tag {
  margin-top: var(--sp-16);
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  text-align: center;
}
.about-photo__role {
  margin-top: var(--sp-4);
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  text-align: center;
}

/* Story column */
.about-story__heading {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-24);
}
.about-story__body p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(17,17,17,0.72);
  margin-bottom: var(--sp-16);
}
.about-story__body p:last-child { margin-bottom: 0; }

/* What We Do */
.about-what {
  background: var(--cream);
  padding: var(--sp-80) 0;
}
.about-what__heading {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  margin: var(--sp-16) 0 var(--sp-48);
  max-width: 640px;
}
.about-what__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.about-what__item {
  padding: var(--sp-40) var(--sp-32);
  border-right: 1px solid rgba(0,0,0,0.12);
}
.about-what__item:nth-child(3n+1) { padding-left: 0; }
.about-what__item:nth-child(3n),
.about-what__item:last-child { border-right: none; }
.about-what__item:nth-child(-n+3) { border-bottom: 1px solid rgba(0,0,0,0.12); }
.about-what__icon {
  width: 36px;
  height: 36px;
  color: var(--green);
  margin-bottom: var(--sp-16);
}
.about-what__icon svg {
  width: 100%;
  height: 100%;
}
.about-what__num {
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: var(--sp-20);
}
.about-what__title {
  font-size: 18px;
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-12);
}
.about-what__desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(17,17,17,0.65);
}

/* Why Choose Us */
.about-why {
  background: var(--white);
  padding: var(--sp-80) 0;
}
.about-why__top {
  margin-bottom: var(--sp-48);
}
.about-why__heading {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  margin-top: var(--sp-16);
  max-width: 560px;
}
.about-why__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.about-why__card {
  padding: var(--sp-32);
  border-right: 1px solid rgba(0,0,0,0.12);
}
.about-why__card:last-child { border-right: none; }
.about-why__icon {
  width: 36px;
  height: 36px;
  color: var(--green);
  margin-bottom: var(--sp-20);
}
.about-why__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.about-why__card-title {
  font-size: 16px;
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-12);
}
.about-why__card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(17,17,17,0.65);
}

/* CTA */
.about-cta {
  background: var(--green);
  padding: var(--sp-80) 0;
  text-align: center;
}
.about-cta__heading {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-16);
}
.about-cta__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--sp-40);
}
.home-cta__sub {
  max-width: 620px;
  margin: 0 auto var(--sp-12);
}
.about-cta__actions {
  display: flex;
  gap: var(--sp-16);
  justify-content: center;
  flex-wrap: wrap;
}
.btn--white {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--white);
}
.btn--white:hover {
  background: transparent;
  color: var(--white);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  border-color: var(--white);
}

/* About — mobile */
@media (max-width: 768px) {
  .about-hero { padding: 120px 0 var(--sp-48); }
  .about-photo__tag { font-size: 18px; font-weight: 800; }
  .about-profile__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-40);
  }
  .about-photo__wrap { padding: 0 var(--sp-20); }

  .about-story__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-24);
  }
  .about-what__grid {
    grid-template-columns: 1fr;
  }
  .about-what__item {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    padding: var(--sp-32) 0;
  }
  .about-what__item:first-child { padding-top: 0; }
  .about-what__item:last-child { border-bottom: none; }
  .about-why__grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-why__card:nth-child(2n) { border-right: none; }
  .about-why__card:nth-child(n+3) {
    border-top: 1px solid rgba(0,0,0,0.12);
  }
  .about-cta__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .about-why__grid { grid-template-columns: 1fr; }
  .about-why__card {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    padding: var(--sp-24) 0;
  }
  .about-why__card:nth-child(n+3) { border-top: none; }
  .about-why__card:last-child { border-bottom: none; }
}

/* ============================================================
   LEGAL PAGE
   ============================================================ */

.legal-hero {
  position: relative;
  height: 42vw;
  min-height: 280px;
  max-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.legal-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.legal-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.legal-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: var(--sp-48);
}
.legal-hero__heading {
  font-size: clamp(48px, 8vw, 112px);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* Horizontal nav bar */
.legal-nav {
  border-bottom: 1px solid rgba(0,0,0,0.10);
  background: var(--white);
}
.legal-nav .container {
  display: flex;
}
.legal-nav__link {
  flex: 1;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(17,17,17,0.45);
  text-decoration: none;
  padding: var(--sp-20) var(--sp-32);
  text-align: center;
  transition: color var(--duration) var(--ease);
}
.legal-nav__link:first-child { border-right: 1px solid rgba(0,0,0,0.10); }
.legal-nav__link:hover { color: var(--black); }
.legal-nav__link.active { color: var(--green); }

/* Body layout */
.legal-body {
  padding-top: var(--sp-64);
  padding-bottom: var(--sp-80);
  display: flex;
  justify-content: center;
}

/* Content */
.legal-content {
  width: 100%;
  max-width: 720px;
}
.legal-section {
  margin-bottom: var(--sp-64);
}
.legal-section__title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-8);
}
.legal-section__updated {
  font-size: 13px;
  color: rgba(17,17,17,0.45);
  margin-bottom: var(--sp-32);
}
.legal-section p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(17,17,17,0.72);
  margin-bottom: var(--sp-16);
}
.legal-section h3 {
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--black);
  margin-top: var(--sp-32);
  margin-bottom: var(--sp-8);
}
.legal-section ul {
  padding-left: var(--sp-20);
  margin-bottom: var(--sp-16);
}
.legal-section ul li {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(17,17,17,0.72);
  margin-bottom: var(--sp-8);
}
.legal-section a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-divider {
  height: 1px;
  background: rgba(0,0,0,0.10);
  margin-bottom: var(--sp-64);
}

/* Legal — mobile */
@media (max-width: 768px) {
  .legal-hero { min-height: 240px; }
  .legal-hero__heading { font-size: clamp(40px, 12vw, 72px); }
  .legal-body {
    padding-top: var(--sp-40);
  }
  .legal-nav__link {
    padding: var(--sp-16) var(--sp-20);
    font-size: 11px;
  }
}

/* ============================================================
   AGENTS PAGE
   ============================================================ */

.agents-hero {
  background: var(--green);
  padding: 160px 0 var(--sp-80);
}

.agents-hero__eyebrow {
  font-size: 14px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-16);
}

.agents-hero__heading {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-24);
}

.agents-hero__sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 520px;
}

/* Benefits */
.agents-benefits {
  background: var(--cream);
  padding: var(--sp-80) 0;
}

.agents-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-32);
}

.agents-benefit {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  padding: 0 var(--sp-32);
  border-right: 1px solid rgba(0,0,0,0.12);
}
.agents-benefit:first-child {
  padding-left: 0;
}
.agents-benefit:last-child {
  border-right: none;
}

.agents-benefit__icon {
  width: 36px;
  height: 36px;
  color: var(--green);
  margin-bottom: var(--sp-8);
}

.agents-benefit__icon svg {
  width: 100%;
  height: 100%;
}
.agents-benefit:last-child .agents-benefit__icon {
  width: 42px;
  height: 42px;
}

.agents-benefit__title {
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--black);
}

.agents-benefit__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Form section */
.agents-form-section {
  background: var(--white);
  padding: var(--sp-80) 0;
}

.agents-form-wrap {
  max-width: 640px;
}

.agents-form__eyebrow {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: var(--sp-12);
}

.agents-form__heading {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: var(--fw-bold);
  color: var(--black);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-12);
}

.agents-form__sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--sp-40);
}

.agents-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
}

.agents-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
}

.agents-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.agents-form__field label {
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--black);
}

.agents-form__field input,
.agents-form__field select,
.agents-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.18);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--black);
  outline: none;
  transition: border-color var(--duration-md) var(--ease);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.agents-form__field input::placeholder,
.agents-form__field textarea::placeholder {
  color: var(--muted);
}

.agents-form__field input:focus,
.agents-form__field select:focus,
.agents-form__field textarea:focus {
  border-color: var(--green);
}

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

.agents-form__note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.agents-form__btn {
  align-self: flex-start;
  padding: 14px 40px;
  background: var(--green);
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--duration-md) var(--ease);
}

.agents-form__btn:hover {
  background: var(--black);
}

@media (max-width: 768px) {
  .agents-benefits__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .agents-benefit {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    padding: var(--sp-32) 0;
  }
  .agents-benefit:first-child {
    padding-top: 0;
  }
  .agents-benefit:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .agents-form__row {
    grid-template-columns: 1fr;
  }
  .agents-hero {
    padding: 100px 0 var(--sp-64);
  }
}

/* ============================================================
   PROPERTY DETAIL PAGE
   ============================================================ */

/* --- Nav solid override for detail page --- */
.nav--solid {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

/* --- Gallery --- */
.prop-gallery {
  background: var(--white);
}

.prop-gallery__main {
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 560px;
  background: var(--cream);
  overflow: hidden;
}

.prop-gallery__hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Phone videos are usually portrait, so letterbox instead of cropping */
.prop-gallery__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--black);
  display: block;
}

.prop-gallery__thumb--video,
.lb-thumb--video { position: relative; }
.prop-gallery__thumb--video::after,
.lb-thumb--video::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.prop-gallery__thumbs {
  display: flex;
  gap: var(--sp-8);
  padding: var(--sp-12) var(--sp-32);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.prop-gallery__thumbs::-webkit-scrollbar { display: none; }

.prop-gallery__thumb {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  overflow: hidden;
  transition: border-color 0.2s;
}
.prop-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prop-gallery__thumb.active,
.prop-gallery__thumb:hover {
  border-color: var(--green);
}

/* --- Body layout --- */
.prop-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-48);
  align-items: start;
  padding-top: var(--sp-48);
  padding-bottom: var(--sp-80);
}

/* --- Breadcrumb bar --- */
.prop-breadcrumb-bar {
  background: var(--white);
  padding: 8px 0 2px;
}

/* --- Breadcrumb --- */
.prop-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 0;
  overflow: hidden;
}
.prop-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.prop-breadcrumb a:hover { color: var(--green); }
.prop-breadcrumb svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.prop-breadcrumb span {
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

@media (max-width: 480px) {
  .prop-breadcrumb { font-size: 11px; }
}

/* --- Header --- */
.prop-header { margin-bottom: var(--sp-32); }

.prop-header__top {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

.prop-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.prop-badge--available {
  background: var(--green-light);
  color: var(--green-dark);
}
.prop-badge--sold {
  background: #FEE2E2;
  color: #991B1B;
}

.prop-type-tag {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.prop-title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--black);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-12);
}

.prop-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.prop-location svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- Specs bar --- */
.prop-specs {
  display: flex;
  align-items: center;
  gap: 0;
  padding: var(--sp-20) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-40);
}

.prop-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 var(--sp-24);
}
.prop-spec svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  margin-bottom: 2px;
}
.prop-spec__value {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--black);
  line-height: 1;
}
.prop-spec__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.prop-spec__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* --- Sections --- */
.prop-section {
  margin-bottom: var(--sp-48);
}

.prop-section__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--black);
  margin-bottom: var(--sp-20);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--border);
}

.prop-description p {
  font-size: var(--text-base);
  color: var(--text);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-16);
}
.prop-description p:last-child { margin-bottom: 0; }

/* --- Features --- */
.prop-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12) var(--sp-24);
}

.prop-feature {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  font-size: var(--text-sm);
  color: var(--text);
}
.prop-feature svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

/* --- Map --- */
.prop-map__leaflet {
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.prop-map__pin {
  width: 40px;
  height: 40px;
  color: var(--green);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}
.prop-map__pin svg {
  width: 40px;
  height: 40px;
}
.leaflet-popup-content-wrapper {
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.leaflet-popup-content strong {
  color: var(--black);
}

/* --- Sidebar --- */
/* Not sticky: with the booking form the sidebar is taller than most screens */
.prop-sidebar {
  position: static;
}

.prop-book {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  margin-bottom: var(--sp-20);
  padding-top: var(--sp-20);
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(72px + var(--sp-16));
}
.prop-book__title {
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  color: var(--black);
}
.prop-book__for {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: calc(-1 * var(--sp-8));
}
.prop-book__property { font-weight: var(--fw-semibold); color: var(--black); }
.prop-book .contact-form__row { gap: var(--sp-8); }
.prop-book .contact-form__field input,
.prop-book .contact-form__field select {
  padding: 10px 12px;
  font-size: 16px;
}
.prop-book__btn {
  margin-top: var(--sp-4);
  padding: 13px 16px;
  background: var(--green);
  color: var(--white);
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}
.prop-book__btn:hover { background: var(--green-dark); }
.prop-book__btn:disabled { opacity: 0.6; cursor: wait; }

.form-status { font-size: 13px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status--ok { color: var(--green-dark); }
.form-status--err { color: #b91c1c; }
.form-status a { text-decoration: underline; }

.prop-sidebar__inner {
  border: 1px solid var(--border);
  padding: var(--sp-20) var(--sp-16);
  background: var(--white);
}

.prop-sidebar__price-block {
  margin-bottom: var(--sp-24);
  padding-bottom: var(--sp-24);
  border-bottom: 1px solid var(--border);
}

.prop-sidebar__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  margin-bottom: var(--sp-8);
}

.prop-sidebar__price {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--black);
  margin-bottom: var(--sp-8);
}

.prop-sidebar__badge {
  display: inline-flex;
  padding: 4px 10px;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--green-light);
  color: var(--green-dark);
}

.prop-sidebar__details {
  margin-bottom: var(--sp-24);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.prop-sidebar__detail {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

.prop-sidebar__btns {
  display: flex;
  flex-direction: row;
  gap: var(--sp-8);
  margin-bottom: var(--sp-20);
}

.prop-sidebar__whatsapp,
.prop-sidebar__contact {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  padding: 8px 6px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.prop-sidebar__whatsapp {
  background: var(--green);
  color: var(--white);
}
.prop-sidebar__whatsapp svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.prop-sidebar__whatsapp:hover { background: var(--green-dark); }

.prop-sidebar__contact {
  background: transparent;
  border: 1.5px solid var(--black);
  color: var(--black);
}
.prop-sidebar__contact:hover {
  background: var(--black);
  color: var(--white);
}

.prop-sidebar__note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prop-sidebar__note svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* --- Related section --- */
.related-section {
  background: var(--white);
  padding: var(--sp-64) 0;
  border-top: 1px solid var(--border);
}

.related-section__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--black);
  margin-bottom: var(--sp-40);
}

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

/* ---- Property page responsive ---- */
@media (max-width: 1024px) {
  .prop-body {
    grid-template-columns: 1fr;
  }
  .prop-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .prop-gallery__main { aspect-ratio: 4 / 3; max-height: 300px; }

  .prop-gallery__thumbs {
    padding: var(--sp-8) var(--sp-16);
    gap: var(--sp-6);
  }
  .prop-gallery__thumb {
    width: 80px;
    height: 56px;
  }

  .prop-title { font-size: var(--text-2xl); }

  .prop-specs {
    flex-wrap: wrap;
    gap: var(--sp-16) 0;
    border-top: none;
    border-bottom: none;
  }
  .prop-spec { padding: 0 var(--sp-16); }
  .prop-spec__divider { height: 32px; }
  .prop-spec__divider:nth-of-type(even) { display: none; }

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

  .related-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 480px) {
  .related-grid {
    grid-template-columns: 1fr !important;
  }
  .prop-body {
    padding-top: var(--sp-32);
  }
}


/* ==============================================
   PROJECTS PAGE
   ============================================== */

.projects-hero {
  padding: calc(72px + var(--sp-48)) 0 var(--sp-48);
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.projects-hero__eyebrow {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--green);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-12);
}
.projects-hero__heading {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--black);
  margin-bottom: var(--sp-16);
}
.projects-hero__sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 480px;
}

.projects-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-16) 0;
  position: sticky;
  top: 72px;
  z-index: 10;
}
.projects-filters { display: flex; gap: var(--sp-8); flex-wrap: wrap; }
.projects-filter {
  padding: 6px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.projects-filter:hover { border-color: var(--green); color: var(--green); }
.projects-filter--active { background: var(--green); border-color: var(--green); color: var(--white); }

.projects-section { padding: var(--sp-48) 0 var(--sp-80); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-32); }
.projects-empty { text-align: center; padding: var(--sp-48) 0; color: var(--text-muted); }

.proj-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s;
}
.proj-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.10); transform: translateY(-3px); }
.proj-card__img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.proj-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.proj-card:hover .proj-card__img { transform: scale(1.04); }
.proj-card__tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0,0,0,.55);
  color: var(--white);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}
.proj-card__overlay {
  position: absolute; inset: 0;
  background: rgba(13,147,96,.82);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--white);
  opacity: 0; transition: opacity 0.25s;
}
.proj-card:hover .proj-card__overlay { opacity: 1; }
.proj-card__overlay svg { width: 28px; height: 28px; }
.proj-card__overlay span { font-size: var(--text-sm); font-weight: var(--fw-semibold); letter-spacing: .04em; }
.proj-card__body { padding: var(--sp-20) var(--sp-24); }
.proj-card__outcome {
  font-size: 11px; font-weight: var(--fw-semibold);
  color: var(--green); letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: var(--sp-6);
}
.proj-card__name { font-size: var(--text-lg); font-weight: var(--fw-semibold); color: var(--black); margin-bottom: var(--sp-8); }
.proj-card__location {
  display: flex; align-items: center; gap: 5px;
  font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--sp-12);
}
.proj-card__location svg { width: 13px; height: 13px; flex-shrink: 0; }
.proj-card__summary {
  font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6;
  margin-bottom: var(--sp-16);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.proj-card__photos-count { font-size: 12px; color: var(--text-muted); }

.projects-cta { background: var(--black); padding: var(--sp-64) 0; text-align: center; }
.projects-cta__heading { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: var(--fw-bold); color: var(--white); margin-bottom: var(--sp-12); }
.projects-cta__sub { font-size: var(--text-base); color: rgba(255,255,255,.65); margin-bottom: var(--sp-32); max-width: 440px; margin-left: auto; margin-right: auto; }
.projects-cta__btn {
  display: inline-block; padding: 14px 36px;
  background: var(--green); color: var(--white);
  border-radius: 6px; font-weight: var(--fw-semibold);
  font-size: var(--text-base); text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.projects-cta__btn:hover { background: #0b7d52; transform: translateY(-1px); }

/* Lightbox */
.lb-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.93);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  outline: none;
}
.lb-overlay[hidden] { display: none; }
.lb-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12); border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--white); transition: background 0.2s; z-index: 2;
}
.lb-close:hover { background: rgba(255,255,255,.22); }
.lb-close svg { width: 20px; height: 20px; }
.lb-main {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 80px 16px; width: 100%; max-width: 960px; min-height: 0;
}
.lb-img,
.lb-video { max-width: 100%; max-height: calc(100vh - 220px); object-fit: contain; border-radius: 6px; display: block; }
.lb-video { background: var(--black); }
.lb-info { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: var(--sp-12); gap: var(--sp-16); }
.lb-title { color: rgba(255,255,255,.7); font-size: var(--text-sm); }
.lb-counter { color: rgba(255,255,255,.5); font-size: var(--text-sm); white-space: nowrap; }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.12); border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--white); transition: background 0.2s; z-index: 2;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }
.lb-prev svg, .lb-next svg { width: 22px; height: 22px; }
.lb-thumbs {
  display: flex; gap: 8px;
  padding: 0 var(--sp-20) var(--sp-20);
  overflow-x: auto; scrollbar-width: none;
  max-width: 960px; width: 100%;
}
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumb {
  flex-shrink: 0; width: 64px; height: 48px;
  border-radius: 4px; overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer; padding: 0; background: none;
  transition: border-color 0.2s, opacity 0.2s; opacity: .55;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb--active { border-color: var(--green); opacity: 1; }
.lb-thumb:hover { opacity: .85; }

@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr; }
  .lb-main { padding: 60px 16px 12px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-prev, .lb-next { width: 40px; height: 40px; }
  .lb-thumb { width: 52px; height: 40px; }
}
