/* =========================================================
   Raaj Enterprises — Premium Real Estate Site
   Theme: white / dark navy / gold, glassmorphism, editorial serif + geometric sans
   ========================================================= */

:root {
  --navy-950: #071426;
  --navy-900: #0a1f3c;
  --navy-800: #12294c;
  --navy-700: #1c3a63;
  --gold-300: #f0d9a3;
  --gold-400: #dcb96b;
  --gold-500: #c9a44c;
  --gold-600: #9c7a2e;
  --white: #ffffff;
  --off-white: #f9f7f2;
  --ink: #16202e;
  --ink-soft: #4a5568;
  --line: rgba(10, 31, 60, 0.10);

  --bg: var(--off-white);
  --surface: var(--white);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow-soft: 0 20px 50px -25px rgba(10, 31, 60, 0.35);
  --shadow-lift: 0 30px 70px -30px rgba(10, 31, 60, 0.45);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --container: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(.22,.9,.32,1);
}

[data-theme="dark"] {
  --bg: #081120;
  --surface: #0e1c33;
  --text: #eef2f7;
  --text-soft: #b3c0d1;
  --line: rgba(255, 255, 255, 0.10);
  --glass-bg: rgba(18, 41, 76, 0.45);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 20px 50px -25px rgba(0, 0, 0, 0.6);
  --shadow-lift: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--navy-900); color: var(--white); padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(120% 120% at 50% 0%, var(--navy-800) 0%, var(--navy-950) 70%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; color: var(--white); }
.preloader-mark { width: 78px; height: 78px; }
.pl-outer { stroke-dasharray: 340; stroke-dashoffset: 340; animation: dash 1.6s var(--ease) forwards; }
.pl-inner { stroke-dasharray: 220; stroke-dashoffset: 220; animation: dash 1.6s .3s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.preloader-inner p {
  margin-top: 16px; font-family: var(--font-display); letter-spacing: 0.12em;
  font-size: 15px; text-transform: uppercase; color: var(--gold-400);
  opacity: 0; animation: fadeUp .8s .9s var(--ease) forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 14.5px; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 15.5px; }

.btn-gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--navy-950); box-shadow: 0 12px 30px -12px rgba(201,164,76,.6); }
.btn-gold:hover { box-shadow: 0 18px 38px -12px rgba(201,164,76,.75); }

.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-800); }

.btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }

.btn-outline-navy { border-color: var(--navy-700); color: var(--navy-900); }
[data-theme="dark"] .btn-outline-navy { color: var(--text); border-color: var(--gold-500); }
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

.btn-outline-light { border-color: rgba(255,255,255,.55); color: var(--white); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: var(--white); }

.btn-ghost { background: transparent; color: var(--text); }
.btn-whatsapp { background: #22c35e; color: var(--white); }
.btn-whatsapp:hover { background: #1ea852; }

.icon-btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--line); color: var(--text); background: var(--surface);
  transition: all .3s var(--ease);
}
.icon-btn:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(10,31,60,0.06);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
[data-theme="dark"] .site-header { background: rgba(8,17,32,0.72); border-color: rgba(255,255,255,.06); }
.site-header.is-scrolled { box-shadow: var(--shadow-soft); }

.header-inner { display: flex; align-items: center; gap: 20px; height: 84px; }
.brand-logo { height: 46px; width: auto; color: var(--navy-900); }
.logo-ink { fill: none; }
[data-theme="dark"] .brand-logo { color: var(--white); }

.main-nav { margin-left: 8px; flex: 1; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-size: 14.5px; font-weight: 600; color: var(--text-soft); position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold-500);
  transition: width .35s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-call span { margin-left: 2px; }

.hamburger { display: none; width: 42px; height: 42px; border: none; background: none; position: relative; }
.hamburger span {
  display: block; position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* search panel */
.search-panel {
  max-height: 0; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line);
  transition: max-height .45s var(--ease);
}
.search-panel.is-open { max-height: 160px; }
.search-panel-inner { padding: 20px 24px; }
#quickSearchForm { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 14px; }

/* ---------- Fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft); }
.field input, .field select, .field textarea {
  padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font-size: 14.5px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201,164,76,.18);
}
.field-wide { grid-column: 1 / -1; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; color: var(--white);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 8s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,20,38,.55) 0%, rgba(7,20,38,.35) 35%, rgba(7,20,38,.85) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 90px; padding-top: 160px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .16em;
  font-size: 13px; font-weight: 700; color: var(--gold-300); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; margin-bottom: 18px;
}
.hero h1 span { color: var(--gold-400); font-style: italic; }
.hero-subtitle { font-size: clamp(1.05rem, 2vw, 1.35rem); color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 40px; }
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-300); }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.75); }

.hero-dots { position: absolute; right: 30px; bottom: 40px; z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: transparent; padding: 0;
  transition: all .3s var(--ease);
}
.hero-dots button.is-active { background: var(--gold-400); border-color: var(--gold-400); transform: scale(1.3); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--gold-400); animation: scrollCue 1.8s infinite;
}
@keyframes scrollCue { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 20px; } 100% { opacity: 0; top: 6px; } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-kicker {
  text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 800; color: var(--gold-600);
  margin: 0 0 10px;
}
[data-theme="dark"] .section-kicker { color: var(--gold-400); }
.section h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); font-weight: 600; margin-bottom: 16px; }
.section-lead { max-width: 640px; color: var(--text-soft); font-size: 1.05rem; margin-bottom: 50px; }
.center-cta { text-align: center; margin-top: 48px; }

/* ---------- Categories ---------- */
.categories { background: var(--bg); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.category-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 210px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  background-image: linear-gradient(180deg, rgba(7,20,38,.05) 0%, rgba(7,20,38,.85) 100%), var(--img);
  background-size: cover; background-position: center; color: var(--white);
  box-shadow: var(--shadow-soft); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.category-icon {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3);
  margin-bottom: 14px; color: var(--gold-300); font-size: 18px;
}
.category-card h3 { font-size: 1.15rem; margin-bottom: 4px; color: var(--white); }
.category-card p { margin: 0; font-size: 13px; color: rgba(255,255,255,.75); }

/* ---------- Featured Properties ---------- */
.featured { background: var(--surface); }
.property-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.chip {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  font-size: 13.5px; font-weight: 700; color: var(--text-soft); transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--gold-500); color: var(--text); }
.chip.is-active { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.property-card {
  border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.property-card.is-hidden { display: none; }
.property-media { position: relative; height: 230px; overflow: hidden; }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.property-card:hover .property-media img { transform: scale(1.08); }
.tag {
  position: absolute; top: 16px; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 800;
  backdrop-filter: blur(6px);
}
.tag-featured { left: 16px; background: rgba(7,20,38,.75); color: var(--gold-300); }
.tag-price { right: 16px; background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--navy-950); }
.property-body { padding: 24px; }
.property-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.property-location { display: flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: 13.5px; margin: 0 0 16px; }
.property-location i { color: var(--gold-500); }
.property-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 14px; margin-bottom: 22px; }
.property-meta li { font-size: 13px; color: var(--text-soft); display: flex; align-items: center; gap: 8px; }
.property-meta i { color: var(--gold-600); width: 16px; text-align: center; }
.property-actions { display: flex; gap: 10px; }

/* ---------- Why Us ---------- */
.why-us { background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); }
.why-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.why-copy h2 { margin-bottom: 18px; }
.why-copy .section-lead { margin-bottom: 32px; }
.why-grid-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.glass-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(160%);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.glass-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.glass-card i { font-size: 26px; color: var(--gold-500); margin-bottom: 16px; display: block; }
.glass-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.glass-card p { margin: 0; color: var(--text-soft); font-size: 14px; }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  padding: 34px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  text-align: left; transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  transition: opacity .4s var(--ease); z-index: 0;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.service-card i, .service-card h3, .service-card p { position: relative; z-index: 1; transition: color .4s var(--ease); }
.service-card i { font-size: 24px; color: var(--gold-500); margin-bottom: 16px; display: block; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { margin: 0; color: var(--text-soft); font-size: 13.5px; }
.service-card:hover i { color: var(--gold-300); }
.service-card:hover h3, .service-card:hover p { color: var(--white); }

/* ---------- Reviews ---------- */
.reviews { background: var(--navy-950); color: var(--white); overflow: hidden; }
.reviews .section-kicker { color: var(--gold-400); }
.reviews h2, .reviews .section-lead { color: var(--white); }
.reviews .section-lead { color: rgba(255,255,255,.7); }

.reviews-track-wrap { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews-track { display: flex; gap: 20px; width: max-content; padding: 10px 24px 30px; animation: scrollReviews 90s linear infinite; }
.reviews-track:hover { animation-play-state: paused; }
@keyframes scrollReviews { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.review-card {
  width: 320px; flex: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 24px; backdrop-filter: blur(10px);
}
.review-stars { color: var(--gold-400); margin-bottom: 12px; font-size: 14px; letter-spacing: 2px; }
.review-card p { font-size: 14.5px; color: rgba(255,255,255,.85); margin: 0 0 20px; }
.review-person { display: flex; align-items: center; gap: 12px; }
.review-person img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-500); }
.review-person strong { display: block; font-size: 14px; }
.review-person span { font-size: 12px; color: rgba(255,255,255,.6); }

/* ---------- Forms ---------- */
.enquiry { background: var(--surface); }
.sell { background: var(--bg); }
.form-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.form-split-rev { grid-template-columns: 1.2fr 0.8fr; }
.form-copy h2 { margin-bottom: 16px; }
.form-copy p { color: var(--text-soft); margin-bottom: 22px; }
.form-points li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14.5px; }
.form-points i { color: var(--gold-500); }

.glass-form {
  position: relative; background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(160%); border-radius: 22px; padding: 36px; box-shadow: var(--shadow-soft);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.form-status { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--gold-600); }
.form-status.is-error { color: #c0392b; }

/* ---------- Contact ---------- */
.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); min-height: 420px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.contact-info { display: flex; flex-direction: column; justify-content: space-between; }
.contact-list li { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-list i { font-size: 20px; color: var(--gold-500); margin-top: 3px; }
.contact-list strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.contact-list span, .contact-list a { font-size: 14px; color: var(--text-soft); }
.contact-list a:hover { color: var(--gold-600); }
.quick-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.78); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 44px; margin-bottom: 18px; color: var(--white); }
.footer-brand p { font-size: 13.5px; max-width: 300px; margin-bottom: 20px; }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease);
}
.social-icons a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; font-family: var(--font-body); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 13.5px; }
.footer-col a:hover { color: var(--gold-400); }
.footer-address { font-size: 13.5px; margin: 0 0 10px; }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 22px 24px; font-size: 12.5px; }

/* ---------- Floating actions ---------- */
.fab {
  position: fixed; right: 26px; z-index: 400; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: var(--shadow-lift);
  border: none; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.fab:hover { transform: translateY(-4px) scale(1.05); }
.fab-whatsapp { bottom: 96px; background: #25d366; color: var(--white); }
.fab-call { bottom: 166px; background: var(--navy-900); color: var(--white); }
.fab-top { bottom: 26px; background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--navy-950);
  opacity: 0; pointer-events: none; transform: translateY(10px);
}
.fab-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 800; background: rgba(7,20,38,.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease); padding: 20px;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-box {
  position: relative; background: var(--surface); border-radius: 20px; padding: 40px; max-width: 460px; width: 100%;
  box-shadow: var(--shadow-lift); transform: translateY(20px) scale(.97); transition: transform .35s var(--ease);
}
.modal-overlay.is-open .modal-box { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 26px; color: var(--text-soft); }
.modal-price { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-600); margin: 8px 0 16px; }

/* ---------- Utility / animations ---------- */
[data-aos] { will-change: transform, opacity; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .form-split, .form-split-rev, .contact-grid { grid-template-columns: 1fr; }
  .form-split-rev { direction: rtl; }
  .form-split-rev > * { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav, .header-call { display: none; }
  .hamburger { display: block; }
  .header-actions .btn-gold { display: none; }
  #quickSearchForm { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .property-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .fab { width: 50px; height: 50px; font-size: 19px; right: 18px; }
  .fab-whatsapp { bottom: 86px; }
  .fab-call { bottom: 148px; }

  .main-nav {
    position: fixed; top: 84px; left: 0; right: 0; bottom: 0; background: var(--surface);
    display: flex; flex-direction: column; padding: 30px 24px; transform: translateX(100%);
    transition: transform .4s var(--ease); overflow-y: auto;
  }
  .main-nav.is-open { display: flex; transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .section { padding: 80px 0; }
  .category-grid, .services-grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 130px; padding-bottom: 60px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
  .glass-form { padding: 24px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
