:root {
  --navy: #0c2238;
  --navy-2: #16344f;
  --cream: #f6f1e8;
  --paper: #fffdf9;
  --gold: #c69a52;
  --gold-2: #e0bf86;
  --ink: #15212c;
  --muted: #697681;
  --line: #e5e0d8;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(12, 34, 56, 0.12);
  --radius: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; background: var(--white); padding: 10px 14px; z-index: 2000; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 34, 56, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark {
  width: 46px; height: 46px; border: 1px solid rgba(224,191,134,.75); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-2); font-family: "Playfair Display", serif;
  font-weight: 700; letter-spacing: -1px; position: relative;
}
.brand-mark::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(224,191,134,.22); border-radius: 50%; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: "Playfair Display", serif; font-size: 1.25rem; letter-spacing: .2px; }
.brand-copy small { margin-top: 6px; text-transform: uppercase; letter-spacing: .28em; font-size: .62rem; color: var(--gold-2); }
.main-nav { display: flex; align-items: center; gap: 24px; color: rgba(255,255,255,.88); font-size: .95rem; }
.main-nav > a:not(.btn) { position: relative; }
.main-nav > a:not(.btn)::after { content: ""; position: absolute; height: 1px; width: 0; left: 0; bottom: -8px; background: var(--gold-2); transition: width .2s ease; }
.main-nav > a:not(.btn):hover::after { width: 100%; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 6px; }
.menu-toggle span { width: 26px; height: 2px; background: var(--white); display: block; margin: 5px 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #102234; box-shadow: 0 12px 30px rgba(198,154,82,.25); }
.btn-primary:hover { background: var(--gold-2); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-outline { border-color: rgba(224,191,134,.7); color: var(--gold-2); background: transparent; }
.btn-sm { min-height: 40px; padding: 0 18px; }
.btn-block { width: 100%; }

.hero {
  min-height: 720px; position: relative; display: grid; align-items: center;
  background: url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2000&q=90") center/cover no-repeat;
  color: var(--white);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,24,41,.94) 0%, rgba(7,24,41,.73) 48%, rgba(7,24,41,.26) 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .65fr); gap: 70px; align-items: center; padding-block: 80px; }
.hero-copy { max-width: 700px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; font-weight: 700; color: var(--gold-2); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.dark { color: #8c6730; }
.hero h1, .section h2 { font-family: "Playfair Display", serif; line-height: 1.08; margin: 20px 0; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.3rem); max-width: 820px; letter-spacing: -0.035em; }
.hero-copy > p { font-size: 1.15rem; color: rgba(255,255,255,.8); max-width: 650px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 26px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; color: rgba(255,255,255,.72); font-size: .88rem; }
.search-card { background: rgba(255,253,249,.96); color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.search-card-head { display: grid; gap: 2px; margin-bottom: 22px; }
.search-card-head span { color: var(--muted); font-size: .87rem; }
.search-card-head strong { font-family: "Playfair Display", serif; font-size: 1.45rem; }
label { display: grid; gap: 8px; font-size: .88rem; font-weight: 700; color: #314150; }
.search-card form { display: grid; gap: 15px; }
input, select, textarea { width: 100%; border: 1px solid #d9dfe4; border-radius: 12px; background: var(--white); min-height: 50px; padding: 0 14px; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
textarea { padding-top: 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198,154,82,.13); }

.stats { background: var(--navy); color: var(--white); border-top: 1px solid rgba(255,255,255,.08); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 26px; }
.stats-grid > div { display: grid; text-align: center; border-right: 1px solid rgba(255,255,255,.11); }
.stats-grid > div:last-child { border-right: 0; }
.stats strong { font-family: "Playfair Display", serif; color: var(--gold-2); font-size: 1.45rem; }
.stats span { color: rgba(255,255,255,.66); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }

.section { padding: 100px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.section-heading.centered { display: grid; justify-items: center; text-align: center; max-width: 720px; margin-inline: auto; }
.section-heading h2, .about h2, .contact h2 { font-size: clamp(2.25rem, 4vw, 3.65rem); color: var(--navy); margin: 12px 0; }
.section-heading p { color: var(--muted); margin: 0; }
.filters { display: inline-flex; gap: 8px; background: #eee9e1; padding: 6px; border-radius: 999px; }
.filter-btn { border: 0; background: transparent; border-radius: 999px; padding: 10px 18px; color: #5b6873; font-weight: 700; }
.filter-btn.active { background: var(--white); color: var(--navy); box-shadow: 0 8px 20px rgba(12,34,56,.08); }
.property-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.property-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 34px rgba(12,34,56,.06); transition: transform .25s ease, box-shadow .25s ease; }
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.property-card.hidden { display: none; }
.property-media { position: relative; height: 300px; overflow: hidden; }
.property-media img { height: 100%; object-fit: cover; transition: transform .55s ease; }
.property-card:hover .property-media img { transform: scale(1.045); }
.property-badge { position: absolute; left: 18px; top: 18px; background: var(--navy); color: var(--white); padding: 7px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.property-badge.rent { background: #8a642b; }
.favorite { position: absolute; right: 18px; top: 18px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font-size: 1.45rem; display: grid; place-items: center; }
.favorite.active { color: #b84040; }
.property-body { padding: 24px; }
.property-location { color: #8c6730; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; }
.property-body h3 { margin: 8px 0 4px; font-size: 1.35rem; color: var(--navy); }
.property-price { font-family: "Playfair Display", serif; font-size: 1.45rem; margin: 8px 0 14px; font-weight: 700; }
.property-features { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .86rem; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.property-features span + span::before { content: "•"; margin-right: 10px; color: var(--gold); }
.property-link { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-weight: 700; color: var(--navy); }
.property-link span { color: var(--gold); font-size: 1.3rem; }
.empty-state { padding: 44px; border: 1px dashed #cfc7bb; border-radius: var(--radius); text-align: center; display: grid; justify-items: center; gap: 12px; color: var(--muted); }
.empty-state strong { color: var(--navy); font-size: 1.15rem; }

.services { background: var(--navy); color: var(--white); }
.services .section-heading h2 { color: var(--white); }
.services .section-heading p { color: rgba(255,255,255,.65); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); padding: 30px 26px; background: rgba(255,255,255,.035); min-height: 315px; }
.service-number { position: absolute; right: 22px; top: 18px; color: rgba(255,255,255,.14); font-family: "Playfair Display", serif; font-size: 3rem; }
.service-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(198,154,82,.15); color: var(--gold-2); font-size: 1.6rem; }
.service-card h3 { margin: 25px 0 10px; font-size: 1.18rem; }
.service-card p { color: rgba(255,255,255,.65); margin: 0; font-size: .92rem; }

.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-media > img { border-radius: 140px 20px 20px 20px; height: 610px; object-fit: cover; }
.about-quote { position: absolute; right: -32px; bottom: 34px; width: 290px; background: var(--white); padding: 24px; border-radius: 18px; box-shadow: var(--shadow); }
.about-quote > span { font-family: "Playfair Display", serif; font-size: 3rem; color: var(--gold); line-height: .6; }
.about-quote p { margin: 5px 0 0; font-family: "Playfair Display", serif; color: var(--navy); }
.about-copy > p { color: var(--muted); }
.check-list { list-style: none; padding: 0; display: grid; gap: 16px; margin: 28px 0; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #8c6730; font-weight: 700; }
.check-list strong { color: var(--navy); }

.process { background: var(--white); }
.process-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process-grid li { padding-top: 24px; border-top: 1px solid #cfc6b9; }
.process-grid li > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--gold); color: #8c6730; border-radius: 50%; font-weight: 700; }
.process-grid h3 { margin: 18px 0 8px; color: var(--navy); }
.process-grid p { color: var(--muted); margin: 0; font-size: .9rem; }

.testimonial-band { background: linear-gradient(135deg, #102d49, #07192b); color: var(--white); padding: 82px 0; }
.testimonial-content { max-width: 900px; text-align: center; }
.quote-mark { font-family: "Playfair Display", serif; color: var(--gold-2); font-size: 5rem; line-height: .5; }
blockquote { font-family: "Playfair Display", serif; font-size: clamp(1.7rem, 3.3vw, 3rem); line-height: 1.25; margin: 20px 0; }
.testimonial-content p { color: var(--gold-2); }

.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.contact-copy > p { color: var(--muted); }
.contact-details { margin-top: 32px; display: grid; gap: 12px; }
.contact-details > * { display: grid; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-details span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-details strong { color: var(--navy); }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--muted); }
.consent input { width: 18px; min-height: 18px; margin-top: 2px; }
.form-note { text-align: center; font-size: .78rem; color: var(--muted); margin: -5px 0 0; }

.floating-whatsapp { position: fixed; z-index: 900; right: 22px; bottom: 22px; background: #1f9d5a; color: var(--white); border-radius: 999px; padding: 13px 18px; box-shadow: 0 15px 35px rgba(0,0,0,.2); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.floating-whatsapp span { font-size: 1.2rem; }

.site-footer { background: #07192b; color: rgba(255,255,255,.7); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; padding-bottom: 50px; }
.footer-grid > div { display: grid; align-content: start; gap: 10px; }
.footer-grid > div:first-child p { max-width: 390px; }
.footer-grid h3 { color: var(--white); font-size: .95rem; margin: 0 0 8px; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 18px; font-size: .8rem; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: 10px; z-index: 1200; transition: .25s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .main-nav { gap: 15px; }
  .hero-grid { grid-template-columns: 1fr .72fr; gap: 30px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 45px; }
  .about-quote { right: -10px; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: 78px; left: 0; right: 0; background: rgba(12,34,56,.98); display: grid; padding: 24px 20px 30px; transform: translateY(-130%); transition: transform .25s ease; border-bottom: 1px solid rgba(255,255,255,.12); }
  .main-nav.open { transform: translateY(0); }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 70px; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .search-card { max-width: 600px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stats-grid > div:nth-child(2) { border-right: 0; }
  .property-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 620px; }
  .about-media > img { height: 520px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .nav-wrap { min-height: 70px; }
  .main-nav { top: 70px; }
  .brand-copy strong { font-size: 1.08rem; }
  .brand-mark { width: 42px; height: 42px; }
  .hero-grid { padding-block: 56px; }
  .hero h1 { font-size: 2.65rem; }
  .hero-copy > p { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { display: grid; gap: 8px; }
  .search-card { padding: 22px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .section-heading { display: grid; align-items: start; }
  .filters { justify-self: start; }
  .property-grid, .service-grid, .process-grid, .form-row { grid-template-columns: 1fr; }
  .property-media { height: 245px; }
  .about-media > img { height: 440px; border-radius: 80px 18px 18px 18px; }
  .about-quote { position: relative; right: auto; bottom: auto; margin: -40px 16px 0; width: auto; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { display: grid; }
  .floating-whatsapp { right: 14px; bottom: 14px; padding: 12px 15px; font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
