:root {
  --blue-950: #003b5f;
  --blue-900: #004e7b;
  --blue-800: #005f92;
  --blue-700: #0876ad;
  --gold: #f3c400;
  --gold-dark: #d8ad00;
  --green: #25d366;
  --ink: #121826;
  --muted: #5f6978;
  --line: #dfe5ea;
  --surface: #f5f6f7;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(0, 28, 51, 0.18);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

i[data-lucide] {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

i[data-lucide] svg {
  width: 100%;
  height: 100%;
}

[hidden] {
  display: none !important;
}

.content-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.main-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 26px 0;
  color: var(--white);
}

.brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  min-width: 0;
}

.brand-mark {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: grid;
  gap: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.header-tools {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.currency-control {
  display: grid;
  gap: 4px;
  background: #0b67bf;
  color: var(--white);
  padding: 6px 12px 10px;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.currency-control select {
  min-width: 126px;
  border: 0;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.language-toggle,
.menu-toggle {
  color: var(--white);
  border: 0;
  background: transparent;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav > a,
.main-nav > button,
.nav-item > button {
  color: var(--white);
  border: 0;
  background: transparent;
  padding: 9px 0;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.login-link {
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  padding: 7px 13px !important;
}

.phone-link {
  font-size: 1rem;
}

.nav-item {
  position: relative;
}

.nav-item > button::after {
  content: "⌄";
  margin-left: 5px;
  font-size: 0.8rem;
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 250px;
  padding: 0;
  background: var(--blue-900);
  color: var(--white);
  box-shadow: var(--shadow);
}

.wide-menu {
  min-width: 316px;
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  display: block;
}

.nav-menu a {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a:focus {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.menu-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.menu-columns > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.hero {
  min-height: 82vh;
  padding: 210px 20px 56px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(0, 34, 62, 0.42), rgba(0, 24, 42, 0.18) 42%, rgba(0, 0, 0, 0.34)),
    url("https://images.unsplash.com/photo-1510414842594-a61c69b5ae57?auto=format&fit=crop&w=2200&q=85") center / cover;
  color: var(--white);
}

.hero-content {
  width: min(820px, calc(100% - 20px));
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-style: italic;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.hero h1 {
  margin: 0 0 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.85rem;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.42);
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 28px;
  background: var(--blue-950);
  box-shadow: var(--shadow);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--muted);
  padding: 0 16px;
  min-height: 52px;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  min-height: 52px;
}

.accent-button,
.primary-button,
.outline-button,
.ghost-button,
.outline-light,
.ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 0;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.accent-button {
  background: var(--gold);
  color: #111;
}

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

.primary-button {
  background: var(--blue-700);
  color: var(--white);
}

.primary-button:hover {
  background: var(--blue-900);
}

.outline-button {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
}

.ghost-button {
  background: var(--white);
  color: var(--blue-900);
  border-color: var(--line);
}

.outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
}

.ghost-light {
  background: transparent;
  color: var(--white);
  border: 0;
  padding-left: 0;
}

.contact-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 32px;
  border: 1px solid var(--line);
  text-align: center;
}

.contact-strip h2 {
  margin: 0;
  padding: 16px 18px;
  color: var(--white);
  background: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.45rem;
  font-weight: 600;
}

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

.contact-numbers a {
  padding: 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  border-right: 1px solid var(--line);
}

.contact-numbers a:last-child {
  border-right: 0;
}

.zones-band {
  background: var(--blue-900);
  color: var(--white);
  padding: 54px 0 48px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.section-heading h2,
.center-heading h2,
.welcome-section h2,
.properties-section h2,
.team-section h2,
.sell-cta h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 600;
}

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

.zone-card,
.type-tile,
.more-grid button {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  color: var(--white);
  background: #0b2940;
  text-align: left;
}

.zone-card img,
.type-tile img,
.more-grid img {
  width: 100%;
  height: 214px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.zone-card::after,
.more-grid button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58));
}

.zone-card span {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.zone-card:hover img,
.type-tile:hover img,
.more-grid button:hover img {
  transform: scale(1.04);
}

.welcome-section,
.type-section,
.properties-section,
.more-section,
.team-section {
  padding: 64px 0;
}

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

.welcome-section p {
  max-width: 1120px;
  margin: 0 0 34px;
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--surface);
  margin-top: 42px;
}

.feature-split img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.feature-copy {
  display: grid;
  align-content: center;
  padding: 48px 40px;
}

.feature-copy h3,
.presale-feature h3 {
  margin: 0 0 20px;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.7rem;
  line-height: 1.1;
  font-weight: 600;
}

.feature-copy h3::after,
.presale-feature h3::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  margin-top: 18px;
  background: var(--blue-700);
}

.feature-copy p,
.presale-feature p {
  margin: 0 0 20px;
}

.center-heading {
  margin-bottom: 36px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

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

.type-tile {
  color: var(--blue-900);
  background: transparent;
}

.type-tile span {
  display: block;
  margin-bottom: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.1;
}

.type-tile img {
  height: 270px;
}

.presale-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  margin-top: 48px;
  background: var(--surface);
}

.presale-feature > div {
  display: grid;
  align-content: center;
  padding: 44px 40px;
}

.presale-feature img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.properties-section {
  background: #fbfbfb;
}

.properties-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.property-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #f0f2f4;
}

.property-toolbar label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
}

.property-toolbar select {
  border: 1px solid var(--blue-700);
  background: var(--white);
  color: var(--blue-900);
  padding: 8px 12px;
}

.result-count {
  color: var(--muted);
  font-weight: 700;
}

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

.property-card {
  background: var(--white);
  border: 1px solid transparent;
}

.property-card:hover {
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(0, 31, 55, 0.1);
}

.property-image {
  position: relative;
  height: 216px;
  overflow: hidden;
  background: var(--surface);
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-row {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  background: var(--blue-700);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge.gold {
  background: var(--gold);
  color: #111;
}

.property-body {
  padding: 12px 0 0;
}

.property-price {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 500;
}

.property-title {
  margin: 4px 0 2px;
  color: #071426;
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.35;
}

.property-meta {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.property-description {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.property-actions {
  display: flex;
  gap: 8px;
}

.mini-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-900);
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-button.primary {
  border-color: var(--blue-700);
  background: var(--blue-700);
  color: var(--white);
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 14px;
}

.more-grid button {
  color: var(--ink);
  background: transparent;
}

.more-grid span {
  display: block;
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.1;
}

.more-grid img {
  height: 122px;
}

.more-grid button::after {
  top: auto;
  height: 122px;
  background: rgba(0, 0, 0, 0.16);
}

.team-section {
  padding-top: 26px;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 2rem;
}

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

.team-grid article {
  border: 1px solid var(--line);
  background: var(--white);
}

.team-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-grid h3 {
  margin: 16px 16px 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
}

.team-grid p {
  margin: 0 16px 18px;
  color: var(--muted);
}

.sell-cta {
  background: var(--surface);
  padding: 42px 0;
}

.sell-cta .content-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sell-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.sell-cta p {
  margin: 0;
  max-width: 710px;
}

.footer {
  background: var(--blue-900);
  color: var(--white);
  padding: 38px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.2fr 1.1fr 1.5fr;
  gap: 28px;
}

.footer .brand-mark {
  width: 62px;
  height: 62px;
}

.footer .brand-copy {
  font-size: 1.45rem;
}

.footer h3 {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.footer a,
.footer button {
  display: block;
  margin: 0 0 10px;
  color: var(--white);
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer p {
  margin: 0;
  font-size: 0.83rem;
}

.footer-location {
  margin-top: 24px !important;
}

.footer-note {
  margin-top: 38px;
  display: grid;
  gap: 18px;
}

.footer-note p:first-child {
  max-width: 950px;
}

.whatsapp-float {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #222;
}

.whatsapp-float span {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  padding: 8px 12px;
}

.whatsapp-float svg {
  width: 54px;
  height: 54px;
  padding: 12px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  stroke-width: 2.5;
}

.modal-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 18, 31, 0.62);
}

.auth-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--white);
  padding: 30px;
  box-shadow: var(--shadow);
}

.auth-modal h2 {
  margin: 0 0 18px;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--white);
}

.modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}

.modal-tabs button {
  min-height: 44px;
  border: 0;
  background: var(--white);
  color: var(--blue-900);
  font-weight: 800;
  text-transform: uppercase;
}

.modal-tabs button.active {
  background: var(--blue-900);
  color: var(--white);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: grid;
  gap: 14px;
}

.stacked-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-row:has(> label:nth-child(3)) {
  grid-template-columns: repeat(3, 1fr);
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
  outline-color: var(--blue-700);
}

textarea {
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: auto;
}

.form-message {
  margin: 0;
  color: var(--blue-900);
  font-weight: 700;
}

.form-message.error {
  color: #b42318;
}

.text-button {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--blue-900);
  padding: 4px 0;
  font-weight: 800;
}

.panel-view {
  min-height: 100vh;
  background: #eef2f5;
}

.panel-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 32px min(5vw, 70px) 44px;
  background:
    linear-gradient(180deg, rgba(0, 47, 76, 0.9), rgba(0, 73, 112, 0.86)),
    url("https://images.unsplash.com/photo-1510414842594-a61c69b5ae57?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: var(--white);
}

.panel-badge {
  display: inline-flex;
  margin: 18px 0 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.75rem;
}

.panel-hero h1 {
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  line-height: 1.1;
}

.panel-hero p {
  max-width: 800px;
  margin: 0;
}

.dashboard {
  width: min(1280px, calc(100% - 40px));
  margin: -22px auto 0;
  padding-bottom: 60px;
}

.admin-command-bar {
  position: sticky;
  z-index: 8;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(0, 31, 55, 0.08);
  backdrop-filter: blur(10px);
}

.admin-command-bar h2 {
  margin: 0 0 4px;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.1;
}

.admin-command-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-command-actions .ghost-button,
.admin-command-actions .primary-button {
  min-height: 40px;
  padding: 0 13px;
  font-size: 0.78rem;
}

.admin-insights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.insight-card {
  min-height: 142px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0, 31, 55, 0.06);
}

.insight-card.priority {
  border-color: rgba(8, 118, 173, 0.36);
  background: linear-gradient(180deg, #ffffff, #eef8fc);
}

.insight-card > span,
.panel-card-subhead span,
.detail-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.insight-card strong {
  display: block;
  margin: 6px 0;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.05;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.zone-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0 10px;
}

.zone-pill-row small,
.listing-facts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 4px 8px;
  background: #eef3f7;
  color: var(--blue-900);
  font-size: 0.76rem;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.dashboard-grid.admin-layout {
  grid-template-columns: minmax(360px, 0.82fr) minmax(560px, 1.4fr);
}

.panel-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 31, 55, 0.08);
}

.panel-card h2 {
  margin: 0 0 18px;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;
}

.panel-card-subhead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: -8px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.panel-card-subhead span:last-child {
  color: #697586;
  text-transform: none;
}

.listings-subhead {
  margin-top: 22px;
}

.request-list,
.admin-listings {
  display: grid;
  gap: 12px;
}

.admin-requests-card .request-list,
.admin-listings-card .admin-listings {
  max-height: 720px;
  overflow: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-700) #edf2f6;
}

.request-admin-entry {
  display: grid;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.request-admin-entry:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.request-item,
.listing-item,
.stat-card {
  border: 1px solid var(--line);
  background: #fbfcfd;
  padding: 14px;
}

.detailed-request,
.detailed-listing {
  background: var(--white);
}

.request-item-header,
.listing-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.request-item-header > strong,
.listing-heading > strong {
  color: var(--blue-900);
  font-size: 0.98rem;
  text-align: right;
  white-space: nowrap;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-grid > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  background: #f4f7f9;
}

.detail-grid strong,
.detail-grid small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.request-description {
  margin-top: 12px !important;
}

.request-date {
  font-weight: 800;
}

.detailed-listing {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 14px;
}

.detailed-listing > img {
  width: 100%;
  height: 126px;
  object-fit: cover;
}

.listing-content {
  min-width: 0;
}

.listing-heading {
  margin-bottom: 6px;
}

.listing-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0;
}

.request-item h3,
.listing-item h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.request-item p,
.listing-item p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #e8eef4;
  color: var(--blue-900);
}

.status.pending {
  background: #fff4cf;
  color: #7b5a00;
}

.status.approved {
  background: #dcfce7;
  color: #166534;
}

.status.rejected {
  background: #fee2e2;
  color: #991b1b;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.stat-card {
  background: var(--white);
}

.stat-card strong {
  display: block;
  color: var(--blue-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1160px) {
  .main-nav {
    gap: 12px;
    font-size: 0.76rem;
  }

  .brand-copy {
    font-size: 1.65rem;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 980px) {
  .main-header {
    padding: 14px 16px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-tools {
    align-items: center;
  }

  .currency-control {
    font-size: 0.72rem;
    padding: 5px 8px 8px;
  }

  .language-toggle {
    display: none;
  }

  .main-nav {
    display: none;
    margin-top: 14px;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: rgba(0, 79, 123, 0.96);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a,
  .main-nav > button,
  .nav-item > button {
    width: 100%;
    text-align: left;
    padding: 12px !important;
  }

  .nav-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    background: rgba(0, 55, 86, 0.95);
  }

  .nav-item:hover .nav-menu,
  .nav-item:focus-within .nav-menu {
    display: block;
  }

  .hero {
    min-height: 78vh;
    padding-top: 180px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-kicker {
    font-size: 1.25rem;
  }

  .section-heading,
  .properties-title-row,
  .sell-cta .content-wrap,
  .admin-command-bar,
  .panel-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .property-grid,
  .zone-grid,
  .type-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .feature-split,
  .presale-feature,
  .dashboard-grid,
  .dashboard-grid.admin-layout {
    grid-template-columns: 1fr;
  }

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

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

  .admin-command-actions {
    justify-content: flex-start;
  }

  .admin-requests-card .request-list,
  .admin-listings-card .admin-listings {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

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

@media (max-width: 680px) {
  .content-wrap,
  .dashboard,
  .contact-strip {
    width: min(100% - 24px, 1180px);
  }

  .brand-row {
    align-items: center;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-copy {
    font-size: 1.1rem;
  }

  .header-tools {
    gap: 6px;
  }

  .currency-control {
    max-width: 150px;
  }

  .currency-control select {
    min-width: 0;
    width: 100%;
  }

  .hero {
    min-height: 74vh;
    padding: 150px 12px 36px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .contact-strip h2,
  .section-heading h2,
  .center-heading h2,
  .welcome-section h2,
  .properties-section h2,
  .sell-cta h2 {
    font-size: 2.05rem;
  }

  .contact-numbers,
  .property-grid,
  .zone-grid,
  .type-grid,
  .team-grid,
  .more-grid,
  .admin-insights,
  .stats-grid,
  .footer-grid,
  .form-row,
  .form-row:has(> label:nth-child(3)),
  .detail-grid,
  .detailed-listing {
    grid-template-columns: 1fr;
  }

  .admin-command-bar {
    position: static;
    padding: 16px;
  }

  .admin-command-actions {
    width: 100%;
  }

  .admin-command-actions .ghost-button,
  .admin-command-actions .primary-button {
    width: 100%;
  }

  .panel-card-subhead {
    flex-direction: column;
  }

  .detailed-listing > img {
    height: 190px;
  }

  .request-item-header,
  .listing-heading {
    flex-direction: column;
  }

  .request-item-header > strong,
  .listing-heading > strong {
    text-align: left;
  }

  .contact-numbers a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.35rem;
  }

  .contact-numbers a:last-child {
    border-bottom: 0;
  }

  .welcome-section,
  .type-section,
  .properties-section,
  .more-section,
  .team-section {
    padding: 42px 0;
  }

  .feature-copy,
  .presale-feature > div,
  .panel-card,
  .auth-modal {
    padding: 20px;
  }

  .feature-copy h3,
  .presale-feature h3 {
    font-size: 2rem;
  }

  .property-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .property-toolbar label {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-hero h1 {
    font-size: 2.25rem;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-float span {
    display: none;
  }
}
