:root {
  --black: #050505;
  --black-2: #0d0d0d;
  --panel: #111214;
  --panel-2: #171718;
  --gold: #c68a34;
  --gold-2: #f1c06b;
  --white: #f8f5ee;
  --muted: #b8b0a4;
  --line: rgba(198, 138, 52, 0.35);
  --soft-line: rgba(248, 245, 238, 0.12);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 10%, rgba(198, 138, 52, 0.18), transparent 28rem),
    radial-gradient(circle at 86% 34%, rgba(198, 138, 52, 0.12), transparent 34rem),
    var(--black);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-wrap: break-word;
}

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

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

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

.topbar {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: 50%;
  width: min(1220px, calc(100% - 28px));
  min-height: 72px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(198, 138, 52, 0.28);
  background: rgba(5, 5, 5, 0.54);
  backdrop-filter: blur(20px);
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.topbar.is-elevated {
  background: rgba(5, 5, 5, 0.9);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.36);
}

.brand img {
  width: 186px;
  height: 52px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  color: rgba(248, 245, 238, 0.8);
  font-size: 0.92rem;
  min-width: 0;
}

.nav a:hover,
.phone-link:hover {
  color: var(--gold-2);
}

.phone-link {
  padding: 13px 18px;
  border: 1px solid var(--line);
  color: var(--gold-2);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 132px clamp(18px, 5vw, 76px) 54px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
    url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1800&q=86")
      center / cover no-repeat;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0.36) 70%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.08) 55%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(340px, 520px);
  align-items: end;
  justify-content: space-between;
  gap: 34px;
}

.hero-logo {
  width: min(430px, 100%);
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  color: var(--gold-2);
  font-size: clamp(3rem, 7vw, 6.4rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4.35rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.hero-copy > p {
  max-width: 680px;
  color: rgba(248, 245, 238, 0.82);
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 20px;
  color: var(--white);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, #a96f24, #d9a24c);
}

.button.ghost,
.button.reset {
  border-color: var(--line);
  background: rgba(5, 5, 5, 0.35);
}

.hero-card {
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.62);
  box-shadow: var(--shadow);
}

.hero-card span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card a {
  display: block;
  margin: 12px 0 8px;
  color: var(--white);
  font-size: clamp(2.05rem, 2.6vw, 3rem);
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
  letter-spacing: 0;
}

.hero-card p {
  margin-bottom: 0;
  color: var(--gold-2);
}

.quick-search,
.section,
.statement,
.contact {
  padding: clamp(62px, 9vw, 118px) clamp(18px, 5vw, 76px);
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 74px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #080808, #101011);
}

.quick-search h2 {
  max-width: 680px;
}

.search-note,
.coverage-copy p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.65;
}

.search-panel,
.property-form,
.client-request-form,
.news-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.client-request-form {
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(198, 138, 52, 0.28);
  background: rgba(5, 5, 5, 0.42);
}

.request-intro {
  grid-column: 1 / -1;
}

.request-intro h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: 400;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(248, 245, 238, 0.74);
  font-size: 0.84rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(198, 138, 52, 0.28);
  border-radius: 0;
  color: var(--white);
  background: rgba(5, 5, 5, 0.55);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

select {
  color-scheme: dark;
}

input::placeholder,
textarea::placeholder {
  color: rgba(248, 245, 238, 0.36);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-2);
}

.wide {
  grid-column: span 2;
}

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

.coverage {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(198, 138, 52, 0.1), transparent 42%),
    #060606;
}

.coverage h2 {
  max-width: 740px;
}

.territory-title span {
  display: block;
}

.area-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-self: center;
}

.area-rail span {
  min-height: 58px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(198, 138, 52, 0.26);
  padding: 12px 14px;
  color: rgba(248, 245, 238, 0.82);
  background: rgba(17, 18, 20, 0.72);
}

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

.section-head p:last-child {
  color: var(--gold-2);
}

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

.news-section {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(5, 5, 5, 0.98)),
    radial-gradient(circle at 80% 20%, rgba(198, 138, 52, 0.1), transparent 28rem);
}

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

.news-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(198, 138, 52, 0.24);
  background: var(--panel);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}

.news-card img {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  background: #151515;
}

.news-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gold-2);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.14;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.property-card {
  overflow: hidden;
  border: 1px solid rgba(198, 138, 52, 0.24);
  background: var(--panel);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
}

.property-image-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.property-card img,
.property-image-button img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  background: #151515;
}

.property-body {
  padding: 20px;
}

.property-meta,
.property-tags,
.property-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-meta span,
.property-tags span,
.property-specs span {
  border: 1px solid rgba(198, 138, 52, 0.25);
  padding: 6px 9px;
  color: rgba(248, 245, 238, 0.76);
  font-size: 0.78rem;
}

.property-title {
  margin: 16px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.72rem;
  font-weight: 400;
}

.property-location {
  color: var(--gold-2);
}

.property-description {
  color: var(--muted);
  line-height: 1.55;
}

.property-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--soft-line);
}

.price {
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 700;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 44px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

.staff-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  background:
    linear-gradient(rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.96)),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1800&q=86")
      center / cover;
}

.staff-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.add-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.demo-credentials {
  display: inline-block;
  margin-top: 14px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--gold-2) !important;
}

.staff-panel,
.login-form,
.admin-dashboard,
.user-admin {
  border: 1px solid rgba(198, 138, 52, 0.3);
  background: rgba(5, 5, 5, 0.66);
  backdrop-filter: blur(14px);
}

.staff-panel {
  padding: clamp(18px, 3vw, 32px);
}

.login-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
}

.login-form h3,
.dashboard-head h3,
.property-form h3,
.user-admin h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.6vw, 2.7rem);
  font-weight: 400;
}

.login-message {
  min-height: 1.4em;
  margin: 0;
  color: var(--gold-2);
}

.admin-dashboard {
  display: grid;
  gap: 22px;
  padding: clamp(18px, 3vw, 30px);
}

.admin-dashboard.is-hidden,
.is-hidden {
  display: none;
}

.dashboard-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.property-form {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.66);
  backdrop-filter: blur(14px);
}

.news-form {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.66);
  backdrop-filter: blur(14px);
}

.user-admin {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.user-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.user-list {
  display: grid;
  gap: 10px;
}

.user-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(198, 138, 52, 0.22);
  padding: 12px;
}

.user-row strong,
.user-row span {
  display: block;
}

.user-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.team {
  background: #080808;
}

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

.team-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.48fr) minmax(0, 0.52fr);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

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

.team-card div {
  align-self: end;
  padding: clamp(22px, 4vw, 42px);
}

.team-card span {
  color: var(--gold-2);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-card h3 {
  margin-top: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  font-weight: 400;
  line-height: 1.12;
}

.team-card p {
  color: var(--muted);
  line-height: 1.6;
}

.statement {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #050505, #0e0e0f);
}

.statement p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.statement ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.statement li {
  border: 1px solid var(--line);
  padding: 14px;
  color: var(--gold-2);
}

.statement-panel {
  display: grid;
  gap: 18px;
  min-height: 460px;
  align-content: center;
  border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(145deg, rgba(198, 138, 52, 0.14), rgba(5, 5, 5, 0.88)),
    radial-gradient(circle at 80% 12%, rgba(241, 192, 107, 0.22), transparent 18rem),
    var(--panel);
  box-shadow: var(--shadow);
}

.statement-panel strong {
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
}

.statement-panel span {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: rgba(248, 245, 238, 0.82);
  font-size: clamp(1.12rem, 2vw, 1.48rem);
}

.proof {
  background: #090909;
}

.proof-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(280px, 0.38fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.proof-card img {
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.proof-card p {
  color: var(--muted);
  line-height: 1.68;
}

.contact {
  text-align: center;
  background:
    linear-gradient(rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.95)),
    url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1800&q=86")
      center / cover;
}

.contact > img {
  width: min(460px, 86vw);
  margin: 0 auto 24px;
}

.contact h2 {
  max-width: 920px;
  margin-inline: auto;
  color: var(--gold-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1120px;
  margin: 32px auto 0;
}

.contact-grid a,
.contact-grid span {
  border: 1px solid var(--line);
  padding: 18px 14px;
  color: rgba(248, 245, 238, 0.86);
}

.property-modal {
  width: min(1080px, calc(100% - 28px));
  max-height: calc(100svh - 40px);
  border: 1px solid var(--line);
  padding: 0;
  color: var(--white);
  background: rgba(8, 8, 8, 0.96);
  box-shadow: var(--shadow);
}

.property-modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.modal-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(280px, 0.42fr);
  max-height: calc(100svh - 40px);
  overflow: auto;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(0, 0, 0, 0.62);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.modal-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.modal-content {
  display: grid;
  align-content: center;
  padding: clamp(26px, 5vw, 56px);
}

.modal-content h2 {
  color: var(--gold-2);
}

.modal-location {
  color: var(--gold-2);
}

.modal-content p {
  color: var(--muted);
  line-height: 1.66;
}

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

.modal-specs span {
  border: 1px solid var(--line);
  padding: 12px;
  color: rgba(248, 245, 238, 0.88);
}

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

@media (max-width: 1050px) {
  .topbar {
    grid-template-columns: 180px 1fr auto;
  }

  .nav {
    gap: 12px;
    font-size: 0.84rem;
  }

  .hero-inner,
  .quick-search,
  .coverage,
  .staff-section,
  .statement,
  .proof-card {
    grid-template-columns: 1fr;
  }

  .client-request-form {
    grid-column: auto;
  }

  .property-grid,
  .news-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .modal-shell {
    grid-template-columns: 1fr;
  }

  .team-card img {
    height: 560px;
  }

  .modal-media img {
    min-height: 340px;
    max-height: 50svh;
  }
}

@media (max-width: 740px) {
  .topbar {
    top: 10px;
    grid-template-columns: 1fr auto;
    width: calc(100% - 20px);
  }

  .brand img {
    width: 162px;
  }

  .nav {
    display: none;
  }

  .phone-link {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 112px 18px 36px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem);
  }

  .hero-card a {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .search-panel,
  .property-form,
  .news-form,
  .client-request-form,
  .user-form,
  .property-grid,
  .news-grid,
  .team-grid,
  .area-rail,
  .statement ul,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: auto;
  }

  .section-head {
    display: block;
  }

  .team-card img {
    height: 460px;
  }

  .property-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-specs {
    grid-template-columns: 1fr;
  }
}
