:root {
  --ink: #171717;
  --muted: #6d6d6d;
  --gold: #c9a24a;
  --gold-dark: #9f7a2e;
  --cream: #f7f5ef;
  --line: #e7e2d7;
  --white: #fff;
  --max: 1200px;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(20, 20, 20, .08);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: auto
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #000000d8;
  backdrop-filter: blur(14px);
  /* border-bottom: 1px solid rgba(7, 6, 5, 0.85); */
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .02em
}

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

.brand span {
  font-family: Georgia, serif;
  font-size: 20px
}

.footer-brand img {
  width: 98px;
  height: 98px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px
}

.nav-links a {
  font-size: 14px;
  color: #f5f3f3;
  position: relative;
  padding: 28px 0
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  /* border: .2px solid var(--ink); */
  background: var(--gold);
  color: #000000;
  font-weight: 600;
  font-size: 14px;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  background: var(--gold-dark);
  color: white;
}

.btn.light {
  background: #fff;
  color: var(--i);
  border-color: #ddd
}

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

.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

.hero {
  min-height: 610px;
  display: grid;
  align-items: center;
  /* max-width: 100%; */
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .28)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=85") center/cover;
  color: #fff;
}

.hero-inner {
  max-width:100%;
  padding: 90px 0
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  margin: 0 0 18px
}

h1 {
  font-size: clamp(46px, 7vw, 82px);
  letter-spacing: -.035em
}

h2 {
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -.025em
}

h3 {
  font-size: 24px
}

.hero p {
  font-size: 18px;
  max-width: 650px;
  color: rgba(255, 255, 255, .85);
  margin: 0 0 30px
}

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

.search-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  box-shadow: var(--shadow);
  margin-top: -52px;
  position: relative;
  z-index: 2;
}

.search-card select,
.search-card input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
  background: #fff;
  min-width: 0;
}

.section {
  padding: 100px 0
}

.section.alt {
  background: var(--cream)
}

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

.section-head p {
  max-width: 560px;
  color: var(--muted);
  margin: 0
}

.kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 12px
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center
}

.image-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd
}

.image-card img {
  width: 100%;
  height: 560px;
  object-fit: cover
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px
}

.check {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff
}

.check strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px
}

.check span {
  font-size: 13px;
  color: var(--muted)
}

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

.properties-cards{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  /* max-height: 600px; */
  transition: transform .25s ease, box-shadow .25s ease
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow)
}

.card-img {
  height: 250px;
  overflow: hidden
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease
}

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

.card-body {
  padding: 24px
}

.card-body h3{
  font-size: 19px;
}

.card-body p {
  color: var(--muted);
  font-size: 14px
}

.card-body span{
  font-family: Arial, Helvetica, sans-serif;
  color: #9f7a2e;
  font-weight: 80px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--muted);
  font-size: 13px;
  margin: 18px 0
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line)
}

.services-about {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  /* background: var(--line); */
  border: 1px solid var(--line)
}


.service {
  background: #fff;
  padding: 32px;
  min-height: 210px
}

.service-num {
  font-size: 12px;
  color: var(--gold-dark);
  font-weight: 700;
}

.service p {
  color: var(--muted);
  font-size: 14px
}


.cta {
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
  padding: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta p {
  color: #cfcfcf;
  max-width: 620px
}

.page-hero {
  padding: 105px 0 90px;
  background: var(--cream);
  color: var(--cream);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .28)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=85") center/cover;
}

.page-hero p {
  max-width: 650px;
  color: var(--cream);
  font-size: 17px
}

.property-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px
}


.filter-btn {
  border: 1px solid var(--line);
  background: var(--cream);
  color: #0a0909;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

.blog-card .card-img {
  height: 230px
}

.article-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 30px
}

.contact-panel {
  background: var(--cream);
  padding: 38px;
  border-radius: var(--radius)
}

.contact-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line)
}

.contact-item:last-child {
  border-bottom: 0
}

.contact-item small {
  display: block;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 4px
}

.form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

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

.field label {
  font-size: 13px;
  font-weight: 600
}

.field input,
.field textarea,
.field select {
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 10px;
  outline: none
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold)
}

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

footer {
  background: #000000;
  color: #fff;
  padding: 65px 0 25px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px
}

footer p,
footer a {
  color: #aaa;
  font-size: 14px
}

footer h3 {
  font-size: 18px
}

.footer-bottom {
  border-top: 1px solid #2b2b2b;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 12px
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 2000;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: none
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--gold)
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(201, 162, 74, .75);
  transition: width .2s, height .2s
}

.cursor-ring.active {
  width: 48px;
  height: 48px
}

.reveal {
  opacity: 100%;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

@media (pointer:fine) {

  .cursor-dot,
  .cursor-ring {
    display: block
  }
}

@media (max-width:900px) {
  .nav-links {
    position: absolute;
    left: 60%;
    right: 0px;
    height: 100vh;
    top: 82px;
    background: #000000d8;
    /* border: 1px solid var(--line); */
    /* border-radius: 16px; */
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transition: transform .5s ease;
    /* box-shadow: var(--shadow) */
  }

  .nav-links.open {
    display: flex
  }

  .nav-links a {
    padding: 13px 14px;
    font-size: 17px;
    /* text-align: center; */
  }

  .nav-links a::after {
    display: none
  }

  .nav-cta {
    display: none
  }

  .menu-btn {
    display: block
  }

  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .cards {
    grid-template-columns: 1fr 1fr
  }

  .services,
  .services-about {
    grid-template-columns: 1fr 1fr
  }


  .search-card {
    grid-template-columns: 1fr 1fr
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .section-head {
    display: block;
    grid-template-columns: 1fr;
  }
  
.properties-cards{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px
}
}

@media (max-width:600px) {
  .container {
    width: min(calc(100% - 28px), var(--max))
  }

  .nav {
    /* min-height: 72px */
  }


  .brand img {
    width: 70px;
    height: 70px
  }

  .brand span {
    font-size: 17px
  }

  /* 
  .nav-links {
    top: 72px;
    left: 14px;
    right: 14px
  } */

  .nav-links {
    position: absolute;
    left: 20%;
    right: 0px;
    height: 100vh;
    top: 82px;
    background: #000000d8;
    /* border: 1px solid var(--line); */
    /* border-radius: 16px; */
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    transition: transform .5s ease;
    box-shadow: var(--shadow)
  }

  .nav-links.open {
    display: flex
  }

  .nav-links a {
    padding: 13px 14px;
    /* text-align: center; */
  }

  .nav-links a::after {
    display: none
  }

  .nav-cta {
    display: none
  }

  .hero {
    min-height: 420px
  }

  .hero-inner {
    padding: 70px 0
  }

  .hero p {
    font-size: 16px
  }

  .search-card {
    grid-template-columns: 1fr;
    margin-top: -35px
  }

  .section {
    padding: 72px 0
  }

  .section-head {
    display: block;
    grid-template-columns: 1fr;
  }

  .section-head p {
    margin-top: 14px
  }

  .cards,
  .services,
  .services-about {
    grid-template-columns: 1fr
  }

  .checks,
  .form-grid {
    grid-template-columns: 1fr
  }

  .field.full {
    grid-column: auto
  }

  .image-card img {
    height: 420px
  }

  .cta {
    padding: 34px 25px
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-bottom {
    display: block
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px
  }
  
.properties-cards{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 22px;

}
}


/* Stats Section */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.stat {
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);

  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    box-shadow 0.3s ease;
}

/* Reveal animation */
.stats.show .stat {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger effect */
.stats.show .stat:nth-child(1) {
  transition-delay: 0.1s;
}

.stats.show .stat:nth-child(2) {
  transition-delay: 0.25s;
}

.stats.show .stat:nth-child(3) {
  transition-delay: 0.4s;
}

.stats.show .stat:nth-child(4) {
  transition-delay: 0.55s;
}

/* Number */
.stat strong {
  display: block;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

/* Label */
.stat span {
  font-size: 15px;
  opacity: 0.75;
}

/* Hover */
.stat:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Mobile */
@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat {
    padding: 20px 12px;
  }

  .stat strong {
    font-size: 32px;
  }

  .stat span {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==============================
   PREMIUM PRELOADER
================================ */

#preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 1.5s ease, visibility 0.8s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  width: 280px;
  text-align: center;
}

/* Logo */

.preloader-logo {
  width: 150px;
  height: 150px;
  margin: 0 auto 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  animation: logoFloat 2.2s ease-in-out infinite;
}

.preloader-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;

  filter:
    drop-shadow(0 8px 18px rgba(159, 122, 46, 0.20));
}

/* Loading line */

.preloader-line {
  width: 180px;
  height: 2px;
  margin: 0 auto 16px;

  background: #e7e2d7;
  overflow: hidden;
  border-radius: 10px;
}

.preloader-line span {
  display: block;
  width: 45%;
  height: 100%;

  background: linear-gradient(90deg,
      #9f7a2e,
      #c9a24a,
      #f1d98b,
      #c9a24a,
      #9f7a2e);

  animation: loading 1.5s ease-in-out infinite;
}

/* Text */

.preloader-content p {
  margin: 0;

  font-family: Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;

  color: #6d6d6d;
}

/* Logo animation */

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-7px) scale(1.02);
  }
}

/* Loading animation */

@keyframes loading {

  0% {
    transform: translateX(-140%);
  }

  100% {
    transform: translateX(400%);
  }
}

/* =========================
   OUR AGENTS
========================= */

.agents-section {
  padding: 80px 20px;
  background: #f7f5ef;
  color: #171717;
  overflow: hidden;
}

.agents-container {
  width: min(1200px, 100%);
  margin: 0 auto;
}

/* Header */

.agents-header {
  max-width: 760px;
  margin: 0 auto 65px;
  text-align: center;
}

.agents-label {
  display: inline-block;
  margin-bottom: 16px;
  color: #9f7a2e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}

.agents-header h2 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.agents-header p {
  max-width: 680px;
  margin: 0 auto;
  color: #6d6d6d;
  font-size: 16px;
  line-height: 1.8;
}

/* Grid */

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

/* Card */

.agent-card {
  position: relative;
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.agent-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.10);
}

/* Image */

.agent-image {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: #e7e2d7;
}

.agent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.agent-card:hover .agent-image img {
  transform: scale(1.06);
}

/* Image Overlay */

.agent-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  justify-content: center;
  gap: 10px;

  padding: 25px;

  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.55),
      transparent);

  opacity: 0;
  transform: translateY(15px);
  transition: 0.4s ease;
}

.agent-card:hover .agent-overlay {
  opacity: 1;
  transform: translateY(0);
}

.agent-overlay a {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;

  color: #fff;
  text-decoration: none;
  font-size: 13px;

  transition: 0.3s ease;
}

.agent-overlay a:hover {
  background: #c9a24a;
  border-color: #c9a24a;
}

/* Content */

.agent-content {
  padding: 32px 35px 35px;
}

.agent-role {
  display: block;
  margin-bottom: 8px;

  color: #9f7a2e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.agent-content h3 {
  margin: 0 0 15px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 500;
}

.agent-content p {
  margin: 0 0 25px;

  color: #6d6d6d;
  font-size: 15px;
  line-height: 1.75;
}

/* Profile Link */

.agent-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: #171717;
  text-decoration: none;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;

  transition: 0.3s ease;
}

.agent-link span {
  color: #c9a24a;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.agent-link:hover {
  color: #9f7a2e;
}

.agent-link:hover span {
  transform: translate(4px, -4px);
}


/* =========================
   TABLET
========================= */

@media (max-width: 800px) {

  .agents-section {
    padding: 80px 20px;
  }

  .agents-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: auto;
  }

  .agent-image {
    height: 420px;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 500px) {

  .agents-section {
    padding: 70px 15px;
  }

  .agents-header {
    margin-bottom: 45px;
  }

  .agents-header h2 {
    font-size: 38px;
  }

  .agents-header p {
    font-size: 14px;
    line-height: 1.7;
  }

  .agents-grid {
    gap: 22px;
  }

  .agent-image {
    height: 360px;
  }

  .agent-content {
    padding: 25px;
  }

  .agent-content h3 {
    font-size: 28px;
  }

  /* Always show social icons on mobile */
  .agent-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}