/* Premium real-estate system */
:root {
  --bg: #f6f3ee;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #111827;
  --text-soft: #5f6877;
  --line: rgba(17, 24, 39, 0.1);
  --navy: #0d1b2a;
  --navy-2: #13253a;
  --gold: #c8a45d;
  --gold-2: #e5c98d;
  --shadow-sm: 0 10px 24px rgba(13, 27, 42, 0.08);
  --shadow-md: 0 18px 40px rgba(13, 27, 42, 0.14);
  --shadow-lg: 0 30px 70px rgba(13, 27, 42, 0.2);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-full: 999px;
  --container: 1200px;
  --font-sans: Inter, "Segoe UI", sans-serif;
  --font-display: "Montserrat", Inter, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(200, 164, 93, 0.12), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(13, 27, 42, 0.08), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(13, 27, 42, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 27, 42, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.2), transparent 80%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}
#site-header.header-scrolled { box-shadow: var(--shadow-sm); }

#main-nav {
  max-width: var(--container);
  margin: 0 auto;
  min-height: 78px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
#logo {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--navy);
}
#nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
#nav-links a {
  position: relative;
  color: rgba(17, 24, 39, 0.72);
  font-size: .95rem;
  font-weight: 600;
  transition: color .25s var(--ease);
}
#nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--gold), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
#nav-links a:hover,
#nav-links a.nav-active { color: var(--navy); }
#nav-links a:hover::after,
#nav-links a.nav-active::after { transform: scaleX(1); }
#nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1;
}

section {
  padding: 6rem 1.25rem;
  position: relative;
}
section:nth-of-type(even) { background: rgba(255, 255, 255, 0.4); }

[data-ws-headline] {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-align: center;
}
[data-ws-subheadline] {
  max-width: 740px;
  margin: 0 auto 2.4rem;
  color: var(--text-soft);
  text-align: center;
  font-size: 1.05rem;
}

[data-ws-section="hero"] {
  overflow: hidden;
  padding: 0;
  background: var(--navy);
  color: #fff;
}
#hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: calc(100vh - 78px);
  align-items: center;
}
#hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 27, 42, 0.94) 0%, rgba(13, 27, 42, 0.88) 52%, rgba(13, 27, 42, 0.58) 100%),
    radial-gradient(circle at 20% 20%, rgba(229, 201, 141, 0.18), transparent 26%);
}
#hero-content,
#hero-visual {
  position: relative;
  z-index: 1;
}
#hero-content {
  max-width: 760px;
  padding: 6rem 1.25rem 6rem clamp(1.25rem, 4vw, 4rem);
}
#hero-badge {
  margin-bottom: 1rem;
}
[data-ws-badge] {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .9rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .92);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  backdrop-filter: blur(10px);
}
#hero-title {
  text-align: left;
  max-width: 14ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
  color: #fff;
}
#hero-subtitle {
  margin: 1rem 0 1.8rem;
  max-width: 60ch;
  color: rgba(255,255,255,.8);
  text-align: left;
  font-size: 1.08rem;
}
#hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 1.4rem;
}
[data-ws-cta] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .95rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(200, 164, 93, 0.24);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}
[data-ws-cta]:hover { transform: translateY(-2px); filter: saturate(1.05); box-shadow: 0 24px 50px rgba(200, 164, 93, 0.28); }
#hero-cta-secondary {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
}

.hero-search {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: .8rem;
  padding: .95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius-lg) + 2px);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}
.hero-search-group { display: grid; gap: .45rem; }
.hero-search label {
  color: rgba(255,255,255,.72);
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-search select {
  width: 100%;
  min-height: 50px;
  padding: 0 1rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(13, 27, 42, .55);
  color: #fff;
}
#hero-search-submit { white-space: nowrap; }

#hero-visual {
  height: 100%;
  min-height: 560px;
  padding: 1.25rem 1.25rem 1.25rem 0;
}
#hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px 0 0 34px;
  box-shadow: var(--shadow-lg);
}

#featured-properties-grid,
#why-us-grid,
#stats-grid,
#testimonial-track,
#team-grid,
#project-map-grid,
#footer-content {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}
#featured-properties-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#why-us-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#project-map-grid { grid-template-columns: .9fr 1.1fr; align-items: stretch; }

[data-ws-card] {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
[data-ws-card]:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 164, 93, .35);
}
[data-ws-card] h3 { margin: 0 0 .45rem; font-size: 1.15rem; line-height: 1.2; }
[data-ws-card] p { margin: 0; color: var(--text-soft); }

[data-ws-icon] {
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(200, 164, 93, .16), rgba(13, 27, 42, .08));
}

#featured-properties article img,
#team-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
#featured-properties article img { border-bottom: 1px solid rgba(17,24,39,.08); }
.property-card-body { padding: 1.1rem 1.1rem 1.2rem; }
.property-meta {
  display: grid;
  gap: .5rem;
  margin: 1rem 0 1.15rem;
  color: var(--text-soft);
  font-size: .95rem;
}
.property-meta strong { color: var(--text); }
#featured-properties [data-ws-badge] { color: var(--navy); border-color: rgba(13, 27, 42, .08); background: rgba(200, 164, 93, .14); }

#why-us [data-ws-card] { padding: 1.4rem; }

#stats { background: linear-gradient(180deg, rgba(13, 27, 42, .03), rgba(255,255,255, 0)); }
.stat-card {
  text-align: center;
  padding: 1.5rem;
}
.stat-number {
  margin: 0 0 .35rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-family: var(--font-display);
  letter-spacing: -0.05em;
  color: var(--navy);
}
.stat-card p { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; }

#testimonials { position: relative; }
#testimonial-controls {
  max-width: var(--container);
  margin: 0 auto 1rem;
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
}
#testimonial-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(17,24,39,.1);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
#testimonial-carousel {
  overflow: hidden;
}
#testimonial-track {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .25rem;
  scrollbar-width: none;
}
#testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 min(360px, 85vw);
  text-align: center;
  padding: 1.4rem;
}
.testimonial-card p:first-of-type {
  min-height: 112px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
}
.testimonial-card img {
  width: 72px;
  height: 72px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}
.testimonial-card h3 { margin-bottom: .2rem; }
.testimonial-card p:last-of-type { color: var(--text-soft); font-size: .9rem; }

#team-grid [data-ws-card] { text-align: center; }
#team-grid img { aspect-ratio: 1 / 1; }
#team-grid [data-ws-card] { padding-bottom: 1.35rem; }
#team-grid h3 { margin-top: 1rem; }
#team-grid p:nth-of-type(1) { color: var(--gold); font-weight: 700; }
#team-grid p:nth-of-type(2) { margin: .45rem 0 1rem; }

#faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item { border-bottom: 1px solid rgba(17,24,39,.08); }
.faq-item:first-child { border-top: 1px solid rgba(17,24,39,.08); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  text-align: left;
}
.faq-question::after {
  content: "+";
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .25s var(--ease);
}
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s var(--ease);
}
.faq-answer p { padding: 0 0 1.1rem; color: var(--text-soft); }
.faq-item.active .faq-answer { max-height: 220px; }

#cta-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(13, 27, 42, .98), rgba(19, 37, 58, .96)),
    radial-gradient(circle at top right, rgba(200, 164, 93, .22), transparent 30%);
  text-align: center;
}
#cta-section [data-ws-headline],
#cta-section [data-ws-subheadline] { color: #fff; }
#cta-section [data-ws-cta] {
  background: linear-gradient(135deg, var(--gold-2), #fff);
}

#contact {
  max-width: 780px;
  margin: 0 auto;
}
#contact-form {
  display: grid;
  gap: 1rem;
}
.form-field { display: grid; gap: .45rem; }
.form-field label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-soft);
}
#contact-form input,
#contact-form textarea,
.hero-search select {
  width: 100%;
  border: 1px solid rgba(17,24,39,.12);
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
#contact-form input,
#contact-form textarea {
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
}
#contact-form textarea { min-height: 150px; resize: vertical; }
#contact-form input:focus,
#contact-form textarea:focus,
.hero-search select:focus {
  border-color: rgba(200, 164, 93, .75);
  box-shadow: 0 0 0 4px rgba(200, 164, 93, .16);
}
#contact-submit { width: 100%; }
#contact-status { min-height: 1.25rem; color: var(--text-soft); }

#project-map-grid { grid-template-columns: .85fr 1.15fr; }
#project-map [data-ws-card] { padding: 1.5rem; }
#project-map iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: var(--radius-md);
}

#site-footer {
  padding: 4rem 1.25rem 2rem;
  background: var(--navy);
  color: rgba(255,255,255,.76);
}
#footer-content {
  grid-template-columns: 2fr 1.1fr 1fr 1fr;
  max-width: var(--container);
}
#footer-brand h3,
#footer-contact h4,
#footer-links h4,
#footer-social h4 {
  margin: 0 0 .8rem;
  color: #fff;
  font-family: var(--font-display);
}
#footer-brand p,
#footer-contact p,
#footer-links a,
#footer-social a { color: rgba(255,255,255,.72); }
#footer-links a,
#footer-social a { display: block; margin-bottom: .6rem; transition: color .25s var(--ease); }
#footer-links a:hover,
#footer-social a:hover { color: #fff; }
#footer-copy {
  max-width: var(--container);
  margin: 2rem auto 0;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  color: rgba(255,255,255,.48);
  font-size: .92rem;
}

.ws-animate { opacity: 0; transform: translateY(18px); }
.ws-animate.ws-visible { animation: fadeUp .75s var(--ease) forwards; }
.ws-delay-1 { animation-delay: .05s; }
.ws-delay-2 { animation-delay: .12s; }
.ws-delay-3 { animation-delay: .18s; }
.ws-delay-4 { animation-delay: .24s; }
.ws-delay-5 { animation-delay: .3s; }
.ws-delay-6 { animation-delay: .36s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ws-animate, .ws-animate.ws-visible { opacity: 1; transform: none; animation: none; }
  [data-ws-card]:hover, [data-ws-cta]:hover { transform: none; }
}

@media (max-width: 1100px) {
  #featured-properties-grid,
  #why-us-grid,
  #stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #team-grid,
  #project-map-grid,
  #footer-content,
  #hero { grid-template-columns: 1fr; }
  #hero-content { max-width: 100%; }
  #hero-title,
  #hero-subtitle { text-align: center; margin-left: auto; margin-right: auto; }
  #hero-actions { justify-content: center; }
  .hero-search { grid-template-columns: 1fr 1fr; }
  #hero-visual { min-height: 420px; padding: 0 1.25rem 1.25rem; }
  #hero-image { border-radius: 28px; }
}

@media (max-width: 768px) {
  #nav-toggle { display: block; }
  #nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: .9rem;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(17,24,39,.08);
    box-shadow: var(--shadow-md);
  }
  #nav-links.active { display: flex; }
  section { padding: 4.8rem 1.1rem; }
  #hero-content { padding-top: 4.3rem; }
  .hero-search { grid-template-columns: 1fr; }
  #testimonials-subtitle { margin-bottom: 1rem; }
  #testimonial-controls { justify-content: center; }
}

@media (max-width: 520px) {
  [data-ws-headline] { font-size: 2.05rem; }
  #featured-properties-grid,
  #why-us-grid,
  #stats-grid,
  #team-grid { grid-template-columns: 1fr; }
  #hero-actions { flex-direction: column; }
  #hero-actions a,
  .hero-search button { width: 100%; }
}
