/* ============================================================
   ANIKRAT REALTY — Design System
   Light & Clean | Navy + Gold | Inter
   ============================================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --bg:          #FAFAF8;
  --surface:     #FFFFFF;
  --border:      #E8E5DC;
  --border-soft: #F0EDE4;

  --text:        #1A1A1A;
  --text-muted:  #706B5F;
  --text-light:  #A09890;

  --navy:        #1A2E4A;
  --navy-dark:   #0F1E32;
  --navy-mid:    #243D5E;

  --gold:        #C9A84C;
  --gold-hover:  #B8942A;
  --gold-light:  rgba(201,168,76,0.12);
  --gold-border: rgba(201,168,76,0.3);

  --green:       #22C55E;

  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow:      0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl:   0 24px 80px rgba(0,0,0,0.14);

  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --trans:       0.22s var(--ease);
  --trans-slow:  0.4s var(--ease);

  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --max-w:       1200px;
  --nav-h:       72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent horizontal scroll on all viewports */
  max-width: 100vw;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: var(--font); }

/* ---------- Layout Helpers ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5rem 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-hover);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-header { margin-bottom: 3.5rem; }

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.15;
}

.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
  white-space: nowrap;
  font-family: var(--font);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-border);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250,250,248,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  background: rgba(250,250,248,0.96);
}

.navbar .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin: 0 auto;
}

.nav-links a {
  padding: 0.45rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color var(--trans), background var(--trans);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: rgba(26,46,74,0.06);
}

.nav-links a.active { font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 100vh;
  padding-top: var(--nav-h);
}

.hero-content {
  display: flex;
  align-items: center;
  padding: 5rem 0;
}

.hero-inner {
  max-width: 560px;
  margin-left: auto;
  padding: 0 3rem 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-hover);
  margin-bottom: 1.75rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.8);
}

.hero-visual::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(to right, var(--bg), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero-float-card {
  position: absolute;
  bottom: 2.5rem;
  left: -1.5rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 2;
  min-width: 160px;
}

.hero-float-card .fc-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.hero-float-card .fc-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.hero-float-card .fc-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--navy);
  padding: 3.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat:last-child { border-right: none; }

.stat-value {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ---------- Service Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  transition: all var(--trans-slow);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.service-card:hover::after { transform: scaleX(1); }

.service-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.service-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ---------- Market Insights ---------- */
.market-section { background: var(--navy); color: #fff; }

.market-section .section-label { color: rgba(255,255,255,0.45); }
.market-section .section-label::before { background: rgba(255,255,255,0.25); }
.market-section h2 { color: #fff; }

.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.market-desc {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.75;
  margin: 1rem 0 2rem;
  max-width: 440px;
}

.market-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.market-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}

.market-stat-val {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.market-stat-lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

.market-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.market-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.6);
}

/* ---------- Property Cards ---------- */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.prop-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--trans-slow);
}

.prop-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.prop-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.prop-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.prop-tag {
  position: absolute;
  top: 0.875rem; left: 0.875rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.prop-status {
  position: absolute;
  top: 0.875rem; right: 0.875rem;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.prop-body { padding: 1.5rem; }

.prop-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.prop-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.prop-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.prop-feature {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 0.2rem 0.55rem;
}

.prop-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

.prop-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

.prop-area {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
}

.empty-state-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.4; }

.empty-state h3 {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.empty-state p { font-size: 0.875rem; color: var(--text-light); }

/* ---------- Process ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 23px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 1px;
  background: linear-gradient(to right, var(--gold), var(--border), var(--gold));
}

.process-step { text-align: center; position: relative; }

.process-num {
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 14px rgba(201,168,76,0.35);
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.process-step p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2rem;
  position: relative;
  transition: all var(--trans-slow);
}

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

.testi-quote-icon {
  font-size: 4.5rem;
  line-height: 1;
  color: var(--border-soft);
  font-family: Georgia, serif;
  position: absolute;
  top: 0.75rem;
  right: 1.5rem;
  user-select: none;
  pointer-events: none;
}

.testi-stars {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.testi-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testi-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 700;
}

.testi-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--navy);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  max-width: 440px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  margin: 1rem 0 1.75rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--trans);
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--trans);
}

.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom a { color: rgba(255,255,255,0.28); }
.footer-bottom a:hover { color: var(--gold); }

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* ---------- WhatsApp Float ---------- */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px; height: 54px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 99;
  transition: all var(--trans);
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner { display: flex; flex-direction: column; gap: 0.75rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { opacity: 0.4; }

.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

/* ---------- Properties Page ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  padding: 1.125rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.475rem 1.1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: all var(--trans);
  font-family: var(--font);
}

.filter-btn:hover { border-color: var(--gold); color: var(--navy); }

.filter-btn.active {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  font-weight: 600;
}

.filter-sep {
  width: 1px; height: 20px;
  background: var(--border);
}

.filter-count {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sort-select {
  padding: 0.475rem 0.875rem;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  font-family: var(--font);
  color: var(--text-muted);
  cursor: pointer;
  outline: none;
  background: white;
}

.sort-select:focus { border-color: var(--gold); }

/* ---------- Services Page ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child { border-bottom: none; }

.service-detail.reverse .detail-content { order: 2; }
.service-detail.reverse .detail-img    { order: 1; }

.detail-num {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-hover);
  margin-bottom: 0.75rem;
}

.service-detail h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 1.1rem;
}

.service-detail p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.detail-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.detail-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.detail-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.detail-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.95);
  transition: filter var(--trans-slow);
}

.detail-img:hover img { filter: saturate(1) brightness(1); }

/* ---------- About Page ---------- */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-story-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-story-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.95);
}

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.vm-card {
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.vm-card h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-hover);
  margin-bottom: 0.6rem;
}

.vm-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-slow);
}

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

.team-photo { height: 250px; overflow: hidden; }

.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(1.05);
  transition: filter var(--trans-slow);
}

.team-card:hover .team-photo img {
  filter: saturate(0.85) brightness(1);
}

.team-info { padding: 1.5rem; }

.team-info strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.team-info span { font-size: 0.83rem; color: var(--text-muted); }

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.advantage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all var(--trans);
}

.advantage-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.advantage-icon { font-size: 2rem; margin-bottom: 0.875rem; }

.advantage-card h4 {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.advantage-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-info-header {
  background: var(--navy);
  padding: 2rem;
  color: white;
}

.contact-info-header h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.contact-info-header p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.contact-info-body { padding: 0 2rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.contact-item:last-child { border-bottom: none; }

.contact-icon {
  width: 38px; height: 38px;
  background: var(--gold-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-text strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.contact-text p, .contact-text a {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}

.contact-text a:hover { color: var(--gold); }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  background: #fff;
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: #15803D;
}

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ============================================================
   RESPONSIVE — Comprehensive Mobile-First
   ============================================================ */

/* ---- Tablet (≤1024px) ---- */
@media (max-width: 1024px) {
  .hero                { grid-template-columns: 55% 45%; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .advantages-grid     { grid-template-columns: repeat(2, 1fr); }
  .service-detail      { gap: 3rem; }
  .about-story-grid    { gap: 3rem; }
  .market-grid         { gap: 3rem; }
  .contact-grid        { gap: 2.5rem; grid-template-columns: 1fr 1.1fr; }
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
  :root { --nav-h: 62px; }

  /* --- Navbar --- */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle          { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: #fff;
    padding: 1rem 1.25rem 1.75rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    border-top: 1px solid var(--border);
    z-index: 99;
    gap: 0.2rem;
  }

  .nav-links.open a {
    display: block;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    min-height: 44px; /* accessible tap target */
  }

  /* --- Hero --- */
  .hero {
    display: block;         /* drop the grid entirely */
    min-height: auto;
    padding-top: var(--nav-h);
  }

  .hero-visual { display: none; }

  .hero-content {
    padding: 3rem 0 3.5rem;
    display: block;
  }

  .hero-inner {
    max-width: 100%;
    margin: 0;
    padding: 0 1.5rem;
  }

  .hero h1          { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-desc        { font-size: 0.95rem; max-width: 100%; margin-bottom: 2rem; }
  .hero-badge       { font-size: 0.7rem; padding: 0.35rem 0.85rem; }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 50px;       /* bigger tap target */
    font-size: 0.95rem;
  }

  /* --- Stats strip --- */
  .stats-strip { padding: 2.5rem 0; }
  .stats-grid  {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0.75rem;
  }
  .stat:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-child(3),
  .stat:nth-child(4)    { border-bottom: none; }
  .stat-value           { font-size: 1.8rem; }
  .stat-label           { font-size: 0.72rem; }

  /* --- General sections --- */
  section              { padding: 3.5rem 0; }
  .section-header      { margin-bottom: 2rem; }
  .section-header h2   { font-size: clamp(1.6rem, 5vw, 2rem); }

  /* --- Service cards --- */
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card  { padding: 1.75rem 1.5rem; }

  /* --- Market section --- */
  .market-grid     { grid-template-columns: 1fr; gap: 2rem; }
  .market-image img{ height: 240px; }
  .market-stats    { grid-template-columns: 1fr 1fr; }
  .market-desc     { max-width: 100%; }
  .market-section  { padding: 3.5rem 0; }

  /* --- Properties grid --- */
  .properties-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Filter bar — horizontal scroll on mobile */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    scrollbar-width: none;
    margin-bottom: 1.5rem;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn  { flex-shrink: 0; min-height: 38px; }
  .filter-sep,
  .filter-count{ display: none; }
  .sort-select { flex-shrink: 0; }

  /* --- Process --- */
  .process-steps       { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .process-steps::before { display: none; }

  /* --- Testimonials --- */
  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* --- CTA banner --- */
  .cta-banner   { padding: 4rem 0; }
  .cta-banner h2{ font-size: clamp(1.6rem, 5vw, 2rem); }
  .cta-banner p { font-size: 0.9rem; margin-bottom: 1.75rem; }
  .cta-banner .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* --- Services page detail --- */
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
  }
  .service-detail.reverse .detail-content,
  .service-detail.reverse .detail-img { order: unset; }
  .detail-img img { height: 240px; border-radius: var(--radius-lg); }

  /* --- About page --- */
  .about-story-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .about-story-img img{ height: 260px; }
  .vision-mission    { grid-template-columns: 1fr; gap: 0.875rem; }
  .team-grid         { grid-template-columns: 1fr; gap: 1rem; }
  .team-photo        { height: 220px; }
  .advantages-grid   { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .advantage-card    { padding: 1.5rem 1.25rem; }

  /* --- Contact page --- */
  .contact-grid      { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info-card { margin-bottom: 0; }
  .form-row          { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.75rem 1.5rem; }

  /* --- Page hero (inner pages) --- */
  .page-hero   { padding: calc(var(--nav-h) + 2rem) 0 2rem; }
  .page-hero h1{ font-size: clamp(1.75rem, 6vw, 2.25rem); }

  /* --- Footer --- */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ---- Small mobile (≤480px) ---- */
@media (max-width: 480px) {
  .container   { padding: 0 1.125rem; }
  section      { padding: 3rem 0; }

  /* Typography */
  .hero h1           { font-size: clamp(1.8rem, 8.5vw, 2.2rem); }
  .section-header h2 { font-size: 1.5rem; }
  .cta-banner h2     { font-size: 1.6rem; }

  /* Hero badge smaller */
  .hero-badge { padding: 0.3rem 0.7rem; font-size: 0.66rem; }

  /* Stats */
  .stat-value { font-size: 1.6rem; }

  /* Market stats stacked */
  .market-stats { grid-template-columns: 1fr 1fr; }
  .market-image img { height: 200px; }

  /* Process single column */
  .process-steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .process-step  { display: flex; align-items: flex-start; gap: 1rem; text-align: left; }
  .process-num   { flex-shrink: 0; margin: 0; }

  /* Advantages single column */
  .advantages-grid { grid-template-columns: 1fr; }

  /* Team */
  .team-photo { height: 200px; }

  /* Footer single column */
  .footer-grid         { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .footer              { padding: 3.5rem 0 2rem; }

  /* Contact */
  .contact-form-card { padding: 1.25rem; }

  /* Detail images shorter */
  .detail-img img      { height: 200px; }
  .about-story-img img { height: 220px; }

  /* Services cards */
  .service-card { padding: 1.5rem 1.25rem; }

  /* Prop card features — wrap better */
  .prop-features { gap: 0.3rem; }
  .prop-feature  { font-size: 0.68rem; }

  /* WhatsApp float — smaller + lower */
  .wa-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}
