/* ==========================================================================
   مهرگان املاک — Premium Real Estate Agency
   Font: Vazirmatn (the modern continuation of Vazir)
   Design: Deep navy + antique gold + cream, full RTL
   ========================================================================== */

/* ---------- 1. Fonts (Vazirmatn / Vazir) ---------- */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Thin.woff2") format("woff2");
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Black.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ---------- 2. Design tokens ---------- */
:root {
  --font: "Vazirmatn", "Vazir", "IRANSans", Tahoma, sans-serif;

  --bg: #f7f4ee;              /* warm cream */
  --surface: #ffffff;
  --ink: #16213a;             /* deep navy text */
  --ink-2: #47506b;
  --muted: #7b8499;

  --line: #e9e2d4;
  --navy: #141f38;
  --navy-2: #1c2b4f;
  --navy-3: #24365f;
  --gold: #b99044;
  --gold-2: #d3ab60;
  --gold-dark: #966f2c;
  --green: #1e7f5b;

  --shadow-sm: 0 2px 10px rgba(20, 31, 56, .06);
  --shadow-md: 0 14px 34px rgba(20, 31, 56, .10);
  --shadow-lg: 0 28px 64px rgba(20, 31, 56, .18);

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;

  --container: 1180px;
  --header-h: 72px;
}

/* ---------- 3. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--ink); }
[hidden] { display: none !important; }
::selection { background: rgba(185, 144, 68, .28); }

.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic[fill="currentColor"] { fill: currentColor; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

h1, h2, h3, h4 { line-height: 1.5; font-weight: 800; }
em { font-style: normal; color: var(--gold-2); }

.ltr { text-align: left; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 14px;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.4;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn .ic { width: 1.25em; height: 1.25em; }
.btn-sm { padding: 10px 22px; font-size: .88rem; border-radius: 12px; }
.btn-lg { padding: 15px 36px; font-size: 1rem; border-radius: 16px; }
.btn-block { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(185, 144, 68, .35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(185, 144, 68, .45); }

.btn-outline {
  background: var(--surface);
  color: var(--navy);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .45);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }

/* ---------- 5. Section scaffolding ---------- */
.section { padding: 96px 0; }

.sec-head { margin-bottom: 52px; }
.sec-head.center { text-align: center; }
.sec-head .kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-dark); font-weight: 700; font-size: .92rem; letter-spacing: .4px; margin-bottom: 14px; }
.sec-head.center .kicker::before { content: ""; width: 34px; height: 1.5px; background: linear-gradient(to left, transparent, var(--gold)); }
.sec-head.center .kicker::after { content: ""; width: 34px; height: 1.5px; background: linear-gradient(to right, transparent, var(--gold)); }

.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 900; color: var(--navy); }
.sec-head .sec-sub { color: var(--muted); max-width: 620px; margin: 14px auto 0; }

/* ---------- 6. Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  position: relative;
  z-index: 60;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; flex-wrap: wrap; padding-block: 6px; }
.topbar-contacts { display: flex; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar-item:hover { color: var(--gold-2); }
.topbar-item .ic { width: 15px; height: 15px; }
.topbar-socials { display: flex; gap: 6px; }
.topbar-socials a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; transition: background .2s, color .2s; }
.topbar-socials a:hover { background: rgba(211, 171, 96, .18); color: var(--gold-2); }
.topbar-socials .ic { width: 14px; height: 14px; }

/* ---------- 7. Navbar ---------- */
.navbar {
  position: absolute;
  inset-inline: 0;
  top: 40px;
  z-index: 55;
  transition: top .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled .navbar {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(20, 31, 56, .10);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-3), var(--navy));
  color: var(--gold-2);
  box-shadow: var(--shadow-sm);
}
.brand-mark .ic { width: 26px; height: 26px; }
.brand-text { font-size: 1.35rem; font-weight: 900; color: #fff; display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-size: .66rem; font-weight: 600; color: var(--gold-2); letter-spacing: 2px; }
.site-header.scrolled .brand-text { color: var(--navy); }

.nav-links { display: flex; gap: 6px; }
.nav-link {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 10px;
  color: rgba(255, 255, 255, .92);
  font-weight: 600;
  font-size: .94rem;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--gold-2); }
.nav-link.active { background: rgba(211, 171, 96, .16); color: var(--gold-2); }
.site-header.scrolled .nav-link { color: var(--ink-2); }
.site-header.scrolled .nav-link:hover { color: var(--gold-dark); }
.site-header.scrolled .nav-link.active { background: rgba(185, 144, 68, .12); color: var(--gold-dark); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255,255,255,.08); }
.nav-toggle span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle { color: #fff; }
.site-header.scrolled .nav-toggle { color: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  padding-top: 150px;
  padding-bottom: 110px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 31, 56, .72) 0%, rgba(20, 31, 56, .42) 45%, rgba(20, 31, 56, .88) 100%),
    radial-gradient(60% 60% at 85% 15%, rgba(211, 171, 96, .18), transparent 60%);
}
.hero-content { position: relative; z-index: 2; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 600; font-size: .95rem; color: var(--gold-2);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(211, 171, 96, .35);
  padding: 8px 20px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.kicker-line { width: 26px; height: 2px; background: var(--gold-2); border-radius: 2px; }

.hero-title {
  font-size: clamp(2rem, 5.4vw, 3.7rem);
  font-weight: 900;
  line-height: 1.4;
  margin: 26px 0 18px;
  max-width: 780px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}
.hero-sub {
  max-width: 640px;
  color: rgba(255, 255, 255, .85);
  font-size: 1.05rem;
  margin-bottom: 38px;
}

/* search card */
.search-card {
  background: rgba(255, 255, 255, .97);
  border-radius: var(--r-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 980px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .78rem; font-weight: 700; color: var(--muted); }
.select-wrap { position: relative; }
.select-wrap select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #f4f1ea;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.select-wrap select:focus { outline: none; border-color: var(--gold); background: #fff; }
.select-wrap .ic { position: absolute; top: 50%; left: 14px; transform: translateY(-50%) rotate(180deg); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search-btn { align-self: end; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 30px;
  margin-top: 34px;
  color: rgba(255, 255, 255, .9);
  font-size: .9rem;
}
.trust-item { display: inline-flex; align-items: center; gap: 10px; }
.trust-item .ic { width: 20px; height: 20px; color: var(--gold-2); }
.stars { color: var(--gold-2); letter-spacing: 2px; font-size: .9rem; }
.trust-item strong { color: #fff; }

/* ---------- 9. Stats ---------- */
.stats { margin-top: -70px; position: relative; z-index: 5; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat-num {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--muted); font-weight: 600; font-size: .92rem; }

/* ---------- 10. About ---------- */
.about { padding-top: 110px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }

.about-media { position: relative; }
.about-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; transition: transform 6s ease; }
.about-media:hover .about-img img { transform: scale(1.05); }

.about-badge {
  position: absolute;
  bottom: -26px;
  inset-inline-start: -26px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-dark));
  color: #fff;
  border-radius: 18px;
  padding: 18px 26px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg);
}
.about-badge-num { font-size: 2.1rem; font-weight: 900; line-height: 1; }
.about-badge-txt { font-size: .86rem; font-weight: 700; line-height: 1.6; }

.about-mini {
  position: absolute;
  top: -24px;
  inset-inline-end: -18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: .8rem; font-weight: 700; line-height: 1.5; color: var(--navy);
}
.about-mini .ic { width: 22px; height: 22px; color: var(--gold-dark); }

.about-body .sec-head { margin-bottom: 22px; }
.about-lead { color: var(--ink-2); margin-bottom: 26px; }

.check-list { display: grid; gap: 14px; margin-bottom: 34px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--ink-2); }
.check-list .ic { width: 22px; height: 22px; color: var(--green); background: rgba(30, 127, 91, .1); border-radius: 50%; padding: 4px; margin-top: 3px; }

.about-cta { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.about-sign { display: flex; flex-direction: column; line-height: 1.6; padding-inline-start: 22px; border-inline-start: 2px solid var(--gold); }
.about-sign strong { color: var(--navy); }
.about-sign span { color: var(--muted); font-size: .84rem; }

/* ---------- 11. Services ---------- */
.services { background: linear-gradient(180deg, var(--bg), #efe9dd); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute; inset-inline-start: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-dark));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(185, 144, 68, .4); }
.service-card:hover::after { transform: scaleY(1); }

.service-icon {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(211, 171, 96, .16), rgba(185, 144, 68, .07));
  color: var(--gold-dark);
  margin-bottom: 22px;
  transition: background .3s, color .3s, transform .3s;
}
.service-icon .ic { width: 30px; height: 30px; }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--gold-2), var(--gold-dark)); color: #fff; transform: rotate(-6deg) scale(1.05); }

.service-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--ink-2); font-size: .92rem; margin-bottom: 18px; flex: 1; }

.more-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .88rem; color: var(--gold-dark);
  transition: gap .25s ease, color .25s;
}
.more-link .ic { width: 18px; height: 18px; }
.more-link:hover { color: var(--navy); gap: 12px; }

/* ---------- 12. Properties ---------- */
.filter-bar { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.chip {
  padding: 10px 28px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink-2);
  transition: all .25s ease;
}
.chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.chip.active { background: linear-gradient(135deg, var(--gold-2), var(--gold-dark)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(185, 144, 68, .3); }

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

.prop-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prop-card.hidden { display: none; }

.prop-media { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.prop-card:hover .prop-media img { transform: scale(1.08); }

.prop-badge {
  position: absolute; top: 14px; inset-inline-start: 14px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-dark));
  color: #fff;
  font-size: .74rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.prop-deal {
  position: absolute; top: 14px; inset-inline-end: 14px;
  color: #fff;
  font-size: .74rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.prop-deal.sale { background: rgba(30, 127, 91, .85); }
.prop-deal.rent { background: rgba(150, 111, 44, .9); }

.prop-fav {
  position: absolute; bottom: 14px; inset-inline-end: 14px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92);
  border-radius: 50%;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
}
.prop-fav .ic { width: 20px; height: 20px; }
.prop-fav:hover { background: var(--navy); color: #e25555; transform: scale(1.1); }
.prop-fav.active { background: var(--navy); color: #e25555; }

.prop-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prop-top { margin-bottom: 14px; }
.prop-title { font-size: 1.06rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.prop-loc { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .84rem; }
.prop-loc .ic { width: 15px; height: 15px; color: var(--gold-dark); }

.prop-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.prop-price-val { font-size: 1.3rem; font-weight: 900; color: var(--gold-dark); }
.prop-price-unit { color: var(--muted); font-size: .82rem; font-weight: 600; }
.prop-price.rent { flex-direction: column; gap: 2px; align-items: flex-start; }
.prop-price.rent .prop-price-unit { color: var(--gold-dark); font-size: .9rem; font-weight: 700; }

.prop-feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  padding-block: 16px;
  border-block: 1px dashed var(--line);
  margin-bottom: 16px;
}
.prop-feats span { display: inline-flex; align-items: center; gap: 8px; font-size: .83rem; font-weight: 600; color: var(--ink-2); }
.prop-feats .ic { width: 17px; height: 17px; color: var(--gold-dark); }

.prop-details {
  display: inline-flex; align-items: center; justify-content: space-between;
  width: 100%;
  font-weight: 700; font-size: .88rem; color: var(--navy);
  transition: color .25s, gap .25s;
  gap: 8px;
}
.prop-details .ic { width: 19px; height: 19px; transition: transform .25s; }
.prop-details:hover { color: var(--gold-dark); }
.prop-details:hover .ic { transform: translateX(-5px); }

.props-more { text-align: center; margin-top: 48px; }

/* ---------- 13. Process ---------- */
.process { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.process::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(55% 80% at 15% 10%, rgba(211, 171, 96, .14), transparent 60%),
              radial-gradient(45% 70% at 90% 90%, rgba(28, 43, 79, .9), transparent 60%);
  pointer-events: none;
}
.process .sec-head h2 { color: #fff; }
.process .sec-head .kicker { color: var(--gold-2); }

.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-grid::before {
  content: "";
  position: absolute; top: 62px; inset-inline: 9%;
  height: 2px;
  background: repeating-linear-gradient(to left, rgba(211, 171, 96, .5) 0 8px, transparent 8px 16px);
}

.step { text-align: center; position: relative; padding-top: 8px; }
.step-num {
  position: absolute; top: 0; inset-inline-start: 50%;
  transform: translateX(50%);
  font-size: 4.2rem; font-weight: 900; line-height: 1;
  color: rgba(211, 171, 96, .16);
  font-family: inherit;
}
.step-icon {
  position: relative;
  width: 74px; height: 74px;
  margin: 44px auto 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-3), var(--navy-2));
  border: 2px solid rgba(211, 171, 96, .55);
  color: var(--gold-2);
  box-shadow: 0 0 0 8px rgba(211, 171, 96, .08);
  z-index: 2;
}
.step-icon .ic { width: 32px; height: 32px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.step p { color: rgba(255, 255, 255, .68); font-size: .88rem; max-width: 230px; margin-inline: auto; }

/* ---------- 14. Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.team-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.team-media { position: relative; aspect-ratio: 3/3.6; overflow: hidden; }
.team-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.team-card:hover .team-media img { transform: scale(1.07); }
.team-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 31, 56, .65));
  opacity: 0; transition: opacity .35s;
}
.team-card:hover .team-media::after { opacity: 1; }

.team-socials {
  position: absolute; inset-inline: 0; bottom: 16px;
  display: flex; justify-content: center; gap: 10px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
  z-index: 2;
}
.team-socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  border-radius: 50%;
  transition: all .25s;
}
.team-socials .ic { width: 18px; height: 18px; }
.team-socials a:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }
.team-card:hover .team-socials { opacity: 1; transform: translateY(0); }

.team-body { padding: 20px; text-align: center; }
.team-body h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 4px; }
.team-body span { color: var(--muted); font-size: .84rem; font-weight: 600; }

/* ---------- 15. Testimonials ---------- */
.testimonials { background: linear-gradient(180deg, #efe9dd, var(--bg)); }

.t-slider { position: relative; max-width: 820px; margin-inline: auto; }
.t-track { overflow: hidden; border-radius: var(--r-lg); }
.t-slide {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 56px 40px;
  text-align: center;
  position: relative;
}
.t-slide.active { display: block; animation: fadeSlide .55s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.t-quote {
  position: absolute; top: 6px; inset-inline-start: 26px;
  font-size: 7rem; font-weight: 900; line-height: 1;
  color: rgba(185, 144, 68, .18);
  font-family: serif;
}
.t-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 18px; font-size: 1.05rem; }
.t-slide blockquote {
  font-size: 1.08rem; font-weight: 600; color: var(--ink-2);
  margin-bottom: 26px;
  line-height: 2.1;
}
.t-slide figcaption { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.t-avatar {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--a-bg, var(--navy));
  color: #fff;
  font-weight: 800; font-size: 1.15rem;
  margin-bottom: 10px;
  border: 2px solid var(--gold-2);
}
.t-name { font-weight: 800; color: var(--navy); }
.t-role { color: var(--muted); font-size: .84rem; }

.t-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  box-shadow: var(--shadow-md);
  transition: all .25s ease;
  z-index: 3;
}
.t-nav .ic { width: 20px; height: 20px; }
.t-nav:hover { background: var(--gold); color: #fff; border-color: transparent; }
.t-prev { inset-inline-end: -24px; }
.t-next { inset-inline-start: -24px; }

.t-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.t-dots button { width: 9px; height: 9px; border-radius: 999px; background: rgba(20, 31, 56, .18); transition: all .3s; }
.t-dots button.active { width: 30px; background: var(--gold); }

/* ---------- 16. CTA ---------- */
.cta { position: relative; padding: 80px 0; background: var(--navy); overflow: hidden; }
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 90% at 80% 20%, rgba(211, 171, 96, .2), transparent 55%),
    radial-gradient(40% 80% at 10% 90%, rgba(28, 43, 79, .8), transparent 60%);
}
.cta-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 34px; flex-wrap: wrap;
}
.cta-text h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.cta-text p { color: rgba(255, 255, 255, .75); max-width: 520px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 17. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }

.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(211, 171, 96, .18), rgba(185, 144, 68, .08));
  color: var(--gold-dark);
}
.info-icon .ic { width: 24px; height: 24px; }
.info-item h4 { font-size: .98rem; color: var(--navy); margin-bottom: 2px; }
.info-item p { color: var(--ink-2); font-size: .92rem; }

.contact-map { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-img { width: 100%; height: 260px; object-fit: cover; display: block; }

.map-pin {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 2;
}
.map-pin-label {
  background: var(--navy);
  color: #fff;
  font-size: .74rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(20, 31, 56, .3);
  white-space: nowrap;
  margin-bottom: 12px;
}
.map-pin-dot {
  position: relative;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-dark));
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 12px 24px rgba(150, 111, 44, .45);
}
.map-pin-dot .ic { width: 22px; height: 22px; }
.map-pin-dot::before {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(185, 144, 68, .6);
  animation: pinPulse 1.9s ease-out infinite;
}
.map-pin-dot::after {
  content: "";
  position: absolute; bottom: -13px; left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid var(--gold-dark);
  filter: drop-shadow(0 3px 3px rgba(150, 111, 44, .35));
}
@keyframes pinPulse {
  0% { transform: scale(.55); opacity: .9; }
  100% { transform: scale(1.55); opacity: 0; }
}

.map-actions {
  position: absolute; bottom: 12px; inset-inline: 0;
  display: flex; justify-content: center; gap: 10px;
  flex-wrap: wrap; z-index: 3;
}
.map-actions .btn { padding: 9px 18px; font-size: .8rem; box-shadow: var(--shadow-md); }
.map-actions .btn .ic { width: 16px; height: 16px; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
}
.contact-form h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field label { font-size: .84rem; font-weight: 700; color: var(--ink-2); }
.form-field input,
.form-field textarea {
  width: 100%;
  background: #f6f3ec;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: .92rem;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.form-note { margin-top: 14px; font-size: .78rem; color: var(--muted); text-align: center; }

.form-success {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 16px;
  background: rgba(30, 127, 91, .1);
  color: var(--green);
  font-weight: 700; font-size: .9rem;
  padding: 14px; border-radius: 12px;
}
.form-success .ic { width: 22px; height: 22px; }

/* ---------- 18. Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding-top: 76px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 54px; }

.brand-light .brand-mark { background: linear-gradient(135deg, var(--navy-3), var(--navy-2)); box-shadow: none; border: 1px solid rgba(211, 171, 96, .35); }
.footer-desc { font-size: .9rem; margin: 18px 0 22px; max-width: 300px; color: rgba(255, 255, 255, .6); }

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .8);
  transition: all .25s;
}
.footer-socials .ic { width: 18px; height: 18px; }
.footer-socials a:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }

.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 2px; background: var(--gold); border-radius: 2px; }

.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: .9rem; color: rgba(255, 255, 255, .62); transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--gold-2); padding-inline-start: 6px; }

.footer-news p { font-size: .88rem; color: rgba(255, 255, 255, .6); margin-bottom: 16px; }
.news-form { display: flex; gap: 10px; }
.news-form input {
  flex: 1;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: .88rem;
}
.news-form input::placeholder { color: rgba(255, 255, 255, .4); }
.news-form input:focus { outline: none; border-color: var(--gold); }
.news-form .btn { padding: 12px 18px; }
.news-form .ic { width: 18px; height: 18px; }
.news-ok { color: #7fd6a9 !important; font-weight: 700; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .84rem; color: rgba(255, 255, 255, .5); }
.heart { color: #e25555; }

/* ---------- 19. Floating buttons ---------- */
.fab {
  position: fixed;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transition: transform .25s ease, opacity .3s ease, visibility .3s;
}
.fab .ic { width: 26px; height: 26px; }
.fab-wa {
  bottom: 26px; inset-inline-start: 26px;
  background: #25d366; color: #fff;
  animation: waPulse 2.6s infinite;
}
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.fab-wa:hover { transform: scale(1.08); }
.fab-tip {
  position: absolute; inset-inline-start: 66px; top: 50%;
  transform: translateY(-50%);
  background: var(--navy); color: #fff;
  font-size: .78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 8px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.fab-wa:hover .fab-tip { opacity: 1; }

.fab-top {
  bottom: 26px; inset-inline-end: 26px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-dark));
  color: #fff;
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
}
.fab-top.show { opacity: 1; visibility: visible; transform: none; }
.fab-top:hover { transform: translateY(-4px); }

/* ---------- 20. Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(13, 20, 38, .72); backdrop-filter: blur(6px); animation: fadeIn .3s ease; }
.modal-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  animation: popIn .35s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(28px) scale(.97); } }
.modal-close {
  position: absolute; top: 14px; inset-inline-end: 14px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  border-radius: 50%;
  z-index: 5;
  transition: all .25s;
}
.modal-close .ic { width: 20px; height: 20px; }
.modal-close:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }

.modal-media { position: relative; aspect-ratio: 16/8.5; overflow: hidden; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-media .prop-deal { top: 16px; }
.modal-media .prop-badge { top: 16px; }

.modal-body { padding: 30px 34px 36px; }
.modal-body h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 6px; }
.modal-price { font-size: 1.5rem; font-weight: 900; color: var(--gold-dark); margin: 16px 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.modal-price .unit { font-size: .9rem; color: var(--muted); font-weight: 600; }
.modal-desc { color: var(--ink-2); font-size: .94rem; margin-bottom: 22px; }
.modal-feats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 26px;
}
.modal-feats span {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f6f3ec;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: .85rem; font-weight: 700; color: var(--ink-2);
}
.modal-feats .ic { width: 18px; height: 18px; color: var(--gold-dark); }

/* ---------- 21. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

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

/* ---------- 22. Responsive ---------- */
@media (max-width: 1024px) {
  .search-card { grid-template-columns: repeat(2, 1fr); }
  .search-btn { grid-column: span 2; width: 100%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .props-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 72px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process-grid::before { display: none; }
  .t-prev { inset-inline-end: 0; }
  .t-next { inset-inline-start: 0; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset-inline: 0; top: 0; bottom: 0;
    background: rgba(20, 31, 56, .98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 80;
    transform: translateX(-110%);
    transition: transform .4s cubic-bezier(.2, .9, .3, 1);
    padding: 80px 20px;
  }
  [dir="rtl"] .nav-links { transform: translateX(110%); }
  .nav-links.open { transform: none; }
  .nav-link { font-size: 1.2rem; padding: 12px 24px; color: rgba(255, 255, 255, .9) !important; }
  .nav-toggle { display: flex; z-index: 85; }
  .nav-cta { display: none; }
  .topbar { display: none; }
  .navbar { top: 0; }
  .hero { padding-top: 110px; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .search-card { grid-template-columns: 1fr; padding: 18px; }
  .search-btn { grid-column: auto; }
  .stats { margin-top: -40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .services-grid, .props-grid, .team-grid { grid-template-columns: 1fr; }
  .about-badge { inset-inline-start: 12px; bottom: -20px; padding: 14px 18px; }
  .about-mini { inset-inline-end: 8px; top: -18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .t-slide { padding: 34px 22px 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; align-items: center; }
  .cta-actions { justify-content: center; }
  .modal-feats { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
}
