/* ===================== BASE ===================== */
:root {
  --navy: #0a2540;
  --navy-2: #122b4d;
  --gold: #be9a53;
  --gold-2: #b48f48;
  --text: #1a2236;
  --muted: #6b7385;
  --light: #f5f7fa;
  --line: #e6e9ef;
  --white: #ffffff;
  --red: #e63946;
  --green: #2ecc71;
  --shadow-sm: 0 2px 10px rgba(10,37,64,0.06);
  --shadow-md: 0 8px 28px rgba(10,37,64,0.10);
  --shadow-lg: 0 18px 48px rgba(10,37,64,0.18);
  --radius: 10px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: 0.25s; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.center { text-align: center; }

@supports (content-visibility: auto) {
  .listings,
  .why,
  .home-videos,
  .areas,
  .footer,
  .detail-wrap {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }

  .listings { contain-intrinsic-size: auto 1200px; }
  .areas { contain-intrinsic-size: auto 1000px; }
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

h2 { font-size: 38px; margin-bottom: 10px; }
.section-head h1 { font-size: 38px; margin-bottom: 10px; }
h4 { font-size: 18px; }

.eyebrow {
  letter-spacing: 3px;
  font-size: 12px;
  color: #7c5618;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: 0.25s;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.20);
}
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 14px 32px;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--gold); }

/* ===================== TOP BAR ===================== */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.topbar-left span, .topbar-left a { margin-right: 22px; }
.topbar-left i { color: var(--gold); margin-right: 6px; }
.topbar-left a:hover { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.topbar-right a { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.08); }
.topbar-right a:hover { background: var(--gold); }
.topbar-right .language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}
.topbar-right .language-option {
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  box-shadow: none;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.55s ease, background 0.55s ease, border-color 0.55s ease, color 0.55s ease, box-shadow 0.55s ease;
}
.topbar-right .language-option::before { content: none; }
.topbar-right .language-option:hover,
.topbar-right .language-option.is-active:hover {
  color: var(--navy);
  background: var(--gold);
  transform: translateY(-3px);
}
.topbar-right .language-option.is-active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

/* ===================== HEADER ===================== */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.logo-img {
  width: auto;
  height: 62px;
  object-fit: contain;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}
.logo-text small {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  color: #7c5618;
  font-weight: 600;
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.desktop-layout-menu {
  align-items: center;
}
.desktop-layout-menu :is(nav, .navbar, .navbar-collapse, .collapse, ul, .navbar-nav, .mr-auto, li) {
  all: unset;
  display: contents;
}

.desktop-layout-menu :is(.navbar-brand, .navbar-toggler) {
  display: none;
}

.desktop-layout-menu .dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 120;
  min-width: 220px;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.desktop-layout-menu .dropdown-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.desktop-layout-menu .dropdown-menu::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: var(--white);
  transform: translateX(-50%) rotate(45deg);
}
.desktop-layout-menu :is(.dropdown, .nav-item.dropdown) {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.desktop-layout-menu :is(.dropdown, .nav-item.dropdown):hover .dropdown-menu,
.desktop-layout-menu :is(.dropdown, .nav-item.dropdown):focus-within .dropdown-menu {
  display: grid;
  gap: 4px;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.desktop-layout-menu .dropdown-item {
  display: block;
  padding: 10px 16px;
  white-space: nowrap;
}
.desktop-layout-menu .dropdown-item:hover {
  background: var(--light);
}
.desktop-layout-menu .dropdown-item::after {
  display: none;
}
.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a:hover, .nav a.active { color: var(--navy); }

.mobile-menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--light);
  color: var(--navy);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mobile-menu-toggle.is-open {
  background: var(--navy);
  color: #fff;
}

.mobile-menu-toggle,
.mobile-nav {
  display: none;
}

.mobile-nav {
  position: sticky;
  top: 86px;
  z-index: 99;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav-inner {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 14px;
}

.mobile-layout-menu :is(nav, ul, li) {
  all: unset;
  display: contents;
}

.mobile-layout-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 700;
}

.mobile-layout-menu a:hover {
  background: var(--light);
  color: var(--navy);
}

@media (max-width: 860px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .header-inner .logo {
    justify-self: start;
    min-width: 0;
  }

  .header-cta {
    display: none !important;
  }

  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    justify-self: end;
    border: 1px solid rgba(10,37,64,.14);
    background: #fff;
    box-shadow: 0 10px 24px rgba(10,37,64,.08);
  }

  .mobile-menu-toggle:hover,
  .mobile-menu-toggle.is-open {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 12px 28px rgba(10,37,64,.22);
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }

  .mobile-nav {
    position: sticky;
    top: 80px;
    z-index: 99;
    padding: 10px 0 16px;
    border-top: 1px solid rgba(10,37,64,.08);
    border-bottom: 1px solid rgba(10,37,64,.1);
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 44px rgba(10,37,64,.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-nav-inner {
    display: flex;
    max-height: calc(100vh - 86px);
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .mobile-layout-menu :is(nav, .navbar, .navbar-collapse, .collapse, ul, .navbar-nav, .mr-auto) {
    all: unset;
    display: block;
  }

  .mobile-layout-menu :is(.navbar-brand, .navbar-toggler) {
    display: none;
  }

  .mobile-layout-menu .navbar-nav {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-layout-menu .nav-item {
    display: block;
  }

  .mobile-layout-menu :is(.nav-link, .dropdown-item) {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 13px 16px;
    border-radius: 8px;
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
  }

  .mobile-layout-menu :is(.nav-link, .dropdown-item):hover,
  .mobile-layout-menu :is(.nav-link, .dropdown-item).active {
    color: var(--navy);
    background: rgba(190,154,83,.18);
  }

  .mobile-layout-menu .dropdown-menu {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 6px 14px;
    padding: 4px 0 4px 12px;
    border: 0;
    border-left: 2px solid rgba(10,37,64,.12);
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-layout-menu .dropdown-item {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 700;
  }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(10,37,64,0.78), rgba(10,37,64,0.85)),
    url('background.webp') center/cover;
  color: #fff;
  padding: 90px 0 140px;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  letter-spacing: 4px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 64px;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0;
  line-height: 1.08;
  max-width: 980px;
  overflow-wrap: break-word;
}
.hero-sub { font-size: 18px; opacity: 0.85; margin-bottom: 40px; max-width: 760px; }

.hero-stats {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.hero-stats div,
.hero-stats a {
  display: flex;
  flex-direction: column;
}
.hero-stats a:hover strong,
.hero-stats a:hover span {
  color: #fff;
}
.hero-stats strong {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
}
.hero-stats span { font-size: 13px; opacity: 0.8; margin-top: 6px; letter-spacing: 1px; }

/* ===================== CATEGORIES ===================== */
.categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: -70px;
  position: relative;
  z-index: 5;
  margin-bottom: 90px;
}
.cat-card {
  background: #fff;
  padding: 28px 18px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
  cursor: pointer;
  border: 1px solid var(--line);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.cat-card i {
  font-size: 32px;
  color: var(--gold-2);
  margin-bottom: 12px;
}
.cat-card h3 { font-size: 15px; margin-bottom: 4px; font-family: 'Inter', sans-serif; }
.cat-card span { font-size: 12px; color: var(--muted); }

/* ===================== LISTINGS ===================== */
.listings { padding: 0 24px 100px; }
.is-sales-list-page .listings { padding-top: 72px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 24px;
}
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 10px 20px;
  background: var(--light);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: 0.25s;
}
.chip:hover { background: var(--gold); color: #fff; }
.chip.active { background: var(--navy); color: #fff; }

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

/* CARD */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.35s;
  cursor: pointer;
  border: 1px solid var(--line);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: 0.6s;
}
.card:hover .card-img img { transform: scale(1.08); }
.card-badges {
  position: absolute;
  top: 14px; left: 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.badge {
  padding: 5px 12px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid transparent;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  text-shadow: 0 1px 2px rgba(0,0,0,0.20);
}
.badge.satilik, .badge.for-sale { background: #12883f; }
.badge.kiralik, .badge.for-rent, .badge.daily-rental { background: #3498db; }
.badge.firsat { background: #e3242f; }
.badge.satildi { background: #111827; }
.card.is-sold .card-img img {
  filter: grayscale(0.35);
}
.card-ref {
  position: absolute;
  top: 14px; right: 14px;
  min-width: 44px;
  height: 38px;
  padding: 0 10px;
  background: rgba(255,255,255,0.95);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(10,37,64,0.16);
  z-index: 3;
}
.card-photos {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(10,37,64,0.85);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  display: flex; gap: 6px; align-items: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.20);
}

.card-body { padding: 22px 22px 24px; }
.card-price {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.card-price-sold {
  color: #C83C3C;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card-price span { font-size: 14px; color: var(--muted); font-weight: 500; font-family: 'Inter', sans-serif; margin-left: 6px; }
.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}
.card-loc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 6px;
}
.card-loc i { color: goldenrod; }

.card-features {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
}
.card-features div { display: flex; align-items: center; gap: 6px; }
.card-features i { color: goldenrod; }

.load-more { text-align: center; margin-top: 50px; }

/* ===================== AREAS ===================== */
.areas { padding: 90px 24px 100px; }
.areas .section-head {
  align-items: flex-start;
}
.areas .section-head > div {
  min-width: 0;
}
.areas-title-line {
  display: inline;
}
.section-intro {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}
.site-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: -8px 0 34px;
}
.site-overview div {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.site-overview i {
  color: goldenrod;
  font-size: 22px;
  margin-bottom: 12px;
}
.site-overview strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 4px;
}
.site-overview span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.area-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  min-height: 255px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}
.area-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.area-card:focus-visible {
  outline: 3px solid rgba(190,154,83,0.45);
  outline-offset: 4px;
}
.area-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.area-card h3 {
  font-size: 24px;
  letter-spacing: 0;
}
.area-card-top span {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  background: var(--light);
  color: #7c5618;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}
.area-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.area-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  max-width: 100%;
}
.area-tags i { color: goldenrod; }

/* ===================== HOME ABOUT ===================== */
.home-about {
  padding: 100px 0;
  background: #fff;
  scroll-margin-top: 110px;
}
.home-about-heading {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}
.home-about-heading h2 { margin-bottom: 18px; }
.home-about-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.home-about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.home-about-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 26px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.home-about-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 20px;
}
.home-about-item h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  margin: 1px 0 7px;
}
.home-about-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.home-about-offer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.home-about-fee {
  padding-right: 30px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.home-about-fee span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-about-fee strong {
  display: block;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px;
  line-height: 1.05;
}
.home-about-fee small {
  color: var(--gold);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
}
.home-about-offer p {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.7;
}
.home-about-offer .btn { white-space: nowrap; }

/* ===================== WHY ===================== */
.why { background: var(--light); padding: 90px 0; }
.why h2 { margin-bottom: 14px; }
.why-intro {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 30px;
}
.why-card {
  background: #fff;
  padding: 36px 28px;
  text-align: center;
  border-radius: var(--radius-lg);
  transition: 0.3s;
  border: 1px solid var(--line);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.icon-circle {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.why-card h3 { font-size: 18px; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 14px; }

/* ===================== VIDEOS ===================== */
.home-videos {
  padding: 90px 24px 100px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}
.video-frame-detail {
  overflow: hidden;
  border-radius: 12px;
}
.detail-section .video-frame-detail + .video-frame-detail {
  margin-top: 18px;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.youtube-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.youtube-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,37,64,0.28);
  transition: 0.25s;
}
.youtube-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.25s;
}
.youtube-placeholder:hover img {
  transform: scale(1.04);
}
.youtube-placeholder:hover::after {
  background: rgba(10,37,64,0.18);
}
.youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.20);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  font-size: 24px;
}
.youtube-play i {
  margin-left: 4px;
}
.video-body {
  padding: 20px 22px 22px;
}
.video-body span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7c5618;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.video-body h3 {
  font-size: 20px;
  margin-bottom: 16px;
}
.video-body a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.video-body a:hover {
  color: var(--gold-2);
}
.video-body .video-status-sold {
  display: inline-flex;
  align-items: center;
  margin: -4px 0 14px;
  padding: 8px 10px;
  border-radius: 4px;
  background: #C83C3C;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.service-model {
  max-width: 1080px;
  margin: 58px auto 0;
}
.service-model h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 32px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: 0;
}
.service-model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-model-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 16px 30px;
}
.service-model-card i {
  color: #0f8bd5;
  font-size: 18px;
  margin-bottom: 18px;
}
.service-model-card h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 6px;
}
.service-model-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

/* ===================== DETAIL VIEW ===================== */
.site-breadcrumb-wrap {
  padding-top: 22px;
}
.is-list-page:not(.is-sales-list-page) .site-breadcrumb-wrap {
  padding-bottom: 22px;
}
.site-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.site-breadcrumb a {
  color: #119bb2;
}
.site-breadcrumb a:hover {
  color: var(--gold);
}
.site-breadcrumb-separator,
.site-breadcrumb-current {
  color: var(--muted);
}

.detail-wrap { padding: 40px 24px 100px; }
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 24px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--light);
  transition: 0.25s;
}
.detail-back:hover { background: var(--navy); color: #fff; }

.detail-header {
  display: block;
  margin-bottom: 28px;
}
.detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.detail-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.detail-title-block {
  max-width: none;
  width: 100%;
  min-width: 0;
}
.detail-header h1 {
  font-size: 36px;
  margin-bottom: 18px;
  color: var(--navy);
}
.detail-loc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.detail-loc {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 15px;
}
.detail-loc i { color: var(--gold); }
.detail-price-wrap {
  text-align: left;
}
.detail-listing-no {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.detail-listing-no strong {
  color: var(--navy);
  font-size: 14px;
}
.detail-price {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
  text-align: left;
}
.detail-sold-status {
  color: #C83C3C;
  font-family: 'Inter', sans-serif;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.detail-price small { display: block; font-size: 13px; color: var(--muted); font-family: 'Inter', sans-serif; font-weight: 500; }

.detail-share-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 24px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.detail-share-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 19px;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.detail-share-list a:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

.gallery {
  display: block;
  position: relative;
  max-width: 100%;
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10,37,64,0.78);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 10px 24px rgba(10,37,64,0.24);
  transition: 0.25s;
  z-index: 4;
}
.gallery-nav:hover {
  background: var(--gold);
  transform: translateY(-50%) scale(1.05);
}
.gallery-nav-prev { left: 18px; }
.gallery-nav-next { right: 18px; }

.thumb-strip + .detail-body {
  margin-top: 34px;
}

.detail-body { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }

.detail-related {
  margin-top: 64px;
}

.detail-related .section-head {
  align-items: flex-start;
}

.detail-section {
  padding: 30px;
  margin-bottom: 24px;
}
.not-found-main {
  min-height: clamp(360px, 58vh, 680px);
  display: flex;
  align-items: center;
}
.not-found-wrap {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 80px;
}
.not-found-panel {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.not-found-panel h1 {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.12;
  margin-bottom: 12px;
  overflow-wrap: break-word;
}
.not-found-panel p {
  font-size: 16px;
  margin: 0;
}
.detail-section h3:not(.card-title) {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.detail-section p { color: var(--text); line-height: 1.8; }

.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 30px;
}
.specs div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.specs div span:first-child { color: var(--muted); font-weight: 500; }
.specs div span:last-child { color: var(--text); font-weight: 600; }

.features-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.features-list div {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  padding: 10px 14px;
  background: var(--light);
  border-radius: 8px;
}
.features-list i { color: var(--green); }

/* Sidebar */
.contact-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  position: sticky;
  top: 100px;
}
.contact-card h4 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.agent {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.agent-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
}
.agent-avatar img {
  width: 54px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18));
}
.agent-info strong { display: block; font-size: 16px; margin-bottom: 2px; }
.agent-info span { font-size: 12px; opacity: 0.7; letter-spacing: 1px; }

.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 14px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: 0.25s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.5); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); background: rgba(255,255,255,0.12); }
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form button { padding: 14px; }

.form-security-code {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0;
}
.form-security-code-image {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 102px;
  height: 37px;
  flex: 0 0 102px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8dee7;
  border-radius: 7px;
  background: #fff;
}
.form-security-code-image img {
  display: block;
  width: 100px;
  height: 35px;
  object-fit: cover;
  transition: opacity .2s ease;
}
.form-security-code .form-security-code-input {
  box-sizing: border-box;
  width: 90px !important;
  min-width: 90px;
  height: 40px;
  flex: 0 0 90px;
  padding: 8px 10px;
  border: 1px solid #cfd6e0;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  letter-spacing: .12em;
  text-align: center;
}
.form-security-code .form-security-code-input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(190,154,83,.16);
}
.form-security-code-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px !important;
  flex: 0 0 40px;
  padding: 0 !important;
  border: 1px solid #cfd6e0;
  border-radius: 8px;
  background: #f7f9fb;
  color: var(--navy);
  font-size: 15px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.form-security-code-refresh:hover,
.form-security-code-refresh:focus-visible {
  border-color: var(--gold);
  background: #fff;
  color: var(--gold-dark);
  outline: none;
}
.form-security-code-refresh:active { transform: rotate(35deg); }
.form-security-code-refresh:disabled { cursor: wait; opacity: .55; }
.form-security-code-feedback {
  display: block;
  width: 100%;
  flex: 1 0 100%;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.form-security-code-feedback:empty { display: none; }
.form-security-code.is-loading .form-security-code-image img { opacity: .35; }
.form-security-code.is-loading .form-security-code-refresh i { animation: fa-spin 1s infinite linear; }
.form-security-code.is-error .form-security-code-feedback { color: #a22931; font-weight: 700; }
.contact-card .form-security-code .form-security-code-input {
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.contact-card .form-security-code-refresh {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.contact-card .form-security-code-feedback { color: rgba(255,255,255,.72); }
.contact-card .form-security-code.is-error .form-security-code-feedback { color: #ffd0d0; }
.as-contact-page .form-security-code-refresh {
  width: 40px;
  min-width: 40px !important;
  border: 1px solid #cfd6e0;
  background: #f7f9fb;
  color: var(--navy);
}
.as-contact-page .form-security-code-refresh:hover,
.as-contact-page .form-security-code-refresh:focus-visible {
  border-color: var(--gold);
  background: #fff;
  color: var(--gold-dark);
}
.sell-property-form .form-security-code { margin: 16px 0 4px; }
.sell-property-form .form-security-code-refresh {
  width: 40px;
  min-width: 40px !important;
  padding: 0 !important;
}

.contact-direct {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.contact-direct a {
  flex: 1;
  text-align: center;
  padding: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: 0.25s;
}
.contact-direct a:hover { background: var(--gold); }
.contact-direct i { margin-right: 6px; }

.similar-sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 20px;
  margin-bottom: 22px;
}
.similar-sidebar-eyebrow {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}
.similar-sidebar h2 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}
.similar-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.similar-sidebar-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.similar-sidebar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(190,154,83,0.45);
  box-shadow: var(--shadow-sm);
}
.similar-sidebar-img {
  display: block;
  align-self: center;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 6px;
  background: var(--light);
  aspect-ratio: 4 / 3;
}
.similar-sidebar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.similar-sidebar-card:hover .similar-sidebar-img img {
  transform: scale(1.06);
}
.similar-sidebar-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.similar-sidebar-price {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}
.similar-sidebar-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.similar-sidebar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}
.similar-sidebar-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.similar-sidebar-meta i {
  color: var(--gold);
}
.similar-sidebar-all {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 11px 12px;
  background: var(--navy);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.similar-sidebar-all:hover {
  background: var(--gold);
  color: #fff;
}

/* ===================== FOOTER ===================== */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 50px;
  padding-bottom: 50px;
}
.footer h3 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  margin-bottom: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}
.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-logo {
  gap: 10px;
}
.footer-logo .logo-img {
  width: 58px;
  height: 58px;
  padding: 5px;
  background: #fff;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
}
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-text small { color: var(--gold); }
.footer-about { margin: 20px 0; font-size: 14px; line-height: 1.8; }
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: 0.25s;
}
.social a:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.contact-list i { color: var(--gold); margin-top: 4px; }
.contact-list a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  font-size: 13px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===================== WHATSAPP FAB ===================== */
.whatsapp-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px; height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: 0.3s;
  animation: pulse 2s infinite;
}
.whatsapp-fab:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===================== DYNAMIC PAGES ===================== */
@supports selector(:has(*)) {
  .content-page-wrap:has(.as-contact-page) {
    padding-top: 22px;
  }

  .content-page-wrap:has(.as-contact-page) > .content-page-head {
    padding: 32px 24px 26px;
    margin-bottom: 24px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  .content-page-wrap:has(.as-contact-page) > .content-page-head h1 {
    margin-bottom: 12px;
  }

  .content-page-wrap:has(.as-contact-page) > .content-page-head .seo-copy {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text);
    font-size: 15px;
    line-height: 1.75;
  }

  .content-page-body:has(.as-contact-page) {
    padding: 0;
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}

.content-page-wrap {
  padding-top: 58px;
  padding-bottom: 58px;
}

.content-page-head {
  text-align: center;
}

.content-page-head .seo-copy {
  margin-bottom: 0;
}

.content-page-images,
.page-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin: 22px 0 34px;
}

.content-page-images img,
.page-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.content-page-images img {
  width: 100%;
  height: clamp(220px, 28vw, 380px);
  object-fit: cover;
}

.content-page-body {
  font-size: 16px;
  line-height: 1.8;
}

.content-page-body :is(p, ul, ol, table, blockquote) {
  margin-bottom: 16px;
}

.content-page-body :is(h2, h3, h4) {
  margin: 22px 0 12px;
}

.content-page-body .as-contact-page :is(h2, h3, h4) {
  margin-top: 0;
}

.page-gallery-item {
  display: block;
  min-height: 170px;
  background: var(--navy);
}

.page-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}

.page-gallery-item:hover img {
  transform: scale(1.05);
  opacity: .88;
}

.sitemap-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.sitemap-links a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 700;
}

.sitemap-links a:hover {
  color: var(--gold);
  border-color: rgba(190,154,83,.45);
}

.content-contact-form {
  max-width: 720px;
}

.sell-property-form-section {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(10,37,64,.09);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #f8fafc 0%, #fff 68%);
  box-shadow: var(--shadow-sm);
}

.sell-property-form-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.sell-property-form-head h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 38px);
}

.sell-property-form-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.sell-property-form {
  max-width: 980px;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.sell-property-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sell-property-field {
  min-width: 0;
}

.sell-property-field-full {
  grid-column: 1 / -1;
}

.sell-property-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.sell-property-field label span,
.sell-property-form-note span {
  color: #a22931;
}

.sell-property-field input,
.sell-property-field textarea {
  width: 100%;
  border: 1px solid #cfd6e0;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 14px 15px;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.sell-property-field input::placeholder,
.sell-property-field textarea::placeholder {
  color: #8991a0;
}

.sell-property-field input:focus,
.sell-property-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(190,154,83,.16);
}

.sell-property-field textarea {
  min-height: 150px;
  resize: vertical;
}

.sell-property-form-note {
  margin: 16px 0 10px;
  color: var(--muted) !important;
  font-size: 13px;
}

.sell-property-form-status {
  min-height: 24px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
}

.sell-property-form-status.is-success { color: #17683a; }
.sell-property-form-status.is-error { color: #a22931; }

.sell-property-form button {
  justify-content: center;
  min-width: 250px;
  padding-block: 14px;
}

.home-gallery-section {
  padding-top: 28px;
  padding-bottom: 82px;
}

.home-gallery {
  border-top: 1px solid var(--line);
  padding-top: 46px;
}

.block-gallery-section .home-gallery {
  border-top: 0;
  padding-top: 0;
}

.home-gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.home-gallery-head-with-intro {
  align-items: flex-start;
  gap: 56px;
}

.home-gallery-head h2 {
  margin-bottom: 0;
}

.home-gallery-intro {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

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

.home-gallery-item {
  display: block;
  min-height: 190px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-sm);
}

.home-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}

.home-gallery-item:hover img {
  transform: scale(1.05);
  opacity: .9;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(5, 13, 24, .86);
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox-image {
  max-width: min(1120px, 92vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
}

.gallery-lightbox-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.gallery-lightbox-button {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-close { top: 22px; right: 22px; }
.gallery-lightbox-prev { left: 22px; }
.gallery-lightbox-next { right: 22px; }

body.gallery-lightbox-open {
  overflow: hidden;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .categories { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .site-overview { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .home-about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-about-item:last-child { grid-column: 1 / -1; }
  .home-about-offer { grid-template-columns: auto minmax(0, 1fr); }
  .home-about-offer .btn { grid-column: 1 / -1; justify-self: start; }
  .service-model-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-body { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .header-inner { gap: 12px; }
  .header-cta { display: none; }
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
}

@media (max-width: 700px) {
  .topbar-left { display: none; }
  .header-inner { gap: 12px; }
  .logo-img { height: 56px; }
  .logo-text { font-size: 21px; }
  .logo-text small { font-size: 10px; letter-spacing: 3px; }
  .nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .mobile-nav { top: 80px; }
  .site-breadcrumb-wrap { padding-top: 18px; }
  .is-list-page:not(.is-sales-list-page) .site-breadcrumb-wrap { padding-bottom: 18px; }
  .detail-wrap { max-width: 100%; overflow-x: hidden; }
  .detail-header > div { min-width: 0; }
  .detail-header h1 { overflow-wrap: break-word; }
  .is-sales-list-page .listings { padding-top: 42px; }
  .section-head,
  .section-head > div,
  .filter-chips,
  .grid,
  .card { min-width: 0; max-width: 100%; }
  .section-head h1,
  .section-head h2 { overflow-wrap: anywhere; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .card-features { flex-wrap: wrap; gap: 10px 18px; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: 1fr; }
  .areas-title-line { display: block; }
  .site-overview { grid-template-columns: 1fr; }
  .section-intro { max-width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .home-about { padding: 72px 0; }
  .home-about-heading { margin-bottom: 34px; }
  .home-about-lead { font-size: 16px; }
  .home-about-grid { grid-template-columns: 1fr; }
  .home-about-item:last-child { grid-column: auto; }
  .home-about-item { grid-template-columns: 46px minmax(0, 1fr); padding: 22px 18px; }
  .home-about-icon { width: 46px; height: 46px; font-size: 17px; }
  .home-about-offer { display: flex; align-items: stretch; flex-direction: column; gap: 18px; padding: 26px 22px; }
  .home-about-fee { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .home-about-offer .btn { justify-content: center; white-space: normal; text-align: center; }
  .service-model h3 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 60px 0 100px; }
  .hero h1 { font-size: clamp(32px, 9vw, 36px); max-width: 100%; }
  .hero-stats { gap: 30px; }
  .hero-stats strong { font-size: 32px; }
  .gallery img { height: 260px; }
  .gallery-nav {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .gallery-nav-prev { left: 10px; }
  .gallery-nav-next { right: 10px; }
  .content-page-wrap { padding-top: 36px; padding-bottom: 42px; }
  .content-page-images, .page-gallery-grid { grid-template-columns: 1fr; }
  .sell-property-form-grid { grid-template-columns: minmax(0, 1fr); }
  .sell-property-field-full { grid-column: auto; }
  .sell-property-form-section { padding: 26px 20px; }
  .sell-property-form button { width: 100%; min-width: 0; white-space: normal; text-align: center; }
  .home-gallery-head { display: block; }
  .home-gallery-intro { margin-top: 14px; max-width: none; }
  .home-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-lightbox { padding: 18px; }
  .gallery-lightbox-image { max-width: 94vw; max-height: 78vh; }
  .gallery-lightbox-button { width: 40px; height: 40px; }
  .gallery-lightbox-close { top: 14px; right: 14px; }
  .gallery-lightbox-prev { left: 12px; }
  .gallery-lightbox-next { right: 12px; }
  .specs, .features-list { grid-template-columns: 1fr; }
  h2,
  .section-head h1 { font-size: 28px; }
  .detail-header h1 { font-size: 26px; }
  .detail-price { font-size: 32px; }
  .detail-loc-row { gap: 12px; }
  .detail-share-list { gap: 18px; }
}

@media (max-width: 380px) {
  .header-inner { padding-inline: 16px; }
  .logo { gap: 8px; }
  .logo-img { height: 48px; }
  .logo-text { font-size: 19px; }
  .header-cta { padding: 11px 16px; }
}

@media (max-width: 860px) {
  .topbar {
    padding: 9px 0;
  }

  .topbar-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
  }

  .topbar-left {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .topbar-left a:first-child {
    display: inline-flex;
    align-items: center;
    margin-right: 0;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800;
  }

  .topbar-left a:not(:first-child),
  .topbar-left span {
    display: none;
  }

  .topbar-left i {
    margin-right: 6px;
  }

  .topbar-right {
    margin-left: auto;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
  }

  .topbar-right a {
    width: 28px;
    height: 28px;
  }

  .topbar-right .language-option {
    width: 30px;
    height: 30px;
  }

}

@media (max-width: 1100px) {
  .similar-sidebar-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .topbar-left { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-right { margin-left: 0; }
  .similar-sidebar {
    padding: 16px;
  }

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

  .similar-sidebar-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }
}
