/* =========================================================
   MahadevProperty — Premium Real Estate Design System
   Buy · Sell · Rent | India | Karnal featured
   ========================================================= */

:root {
  /* Brand palette */
  --navy-900: #0b1437;
  --navy-800: #111d4a;
  --navy-700: #18265c;
  --indigo:   #2b3a86;
  --gold-600: #b7892f;
  --gold-500: #d4af37;
  --gold-400: #e6c65c;
  --saffron:  #ff7a1a;

  --ink:      #10162b;
  --slate:    #4a5568;
  --muted:    #7b8496;
  --line:     #e6e9f0;
  --bg:       #f6f7fb;
  --bg-soft:  #eef1f8;
  --white:    #ffffff;

  --green:    #12b76a;
  --red:      #f04438;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(16,22,43,.06), 0 1px 3px rgba(16,22,43,.08);
  --shadow:    0 10px 30px rgba(16,22,43,.10);
  --shadow-lg: 0 24px 60px rgba(16,22,43,.18);
  --shadow-gold: 0 12px 30px rgba(183,137,47,.30);

  --container: 1200px;
  --nav-h: 74px;

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: "Fraunces", "Georgia", serif;
}

/* -------- Reset & base -------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* -------- Utilities -------- */
.gold-text { color: var(--gold-600); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.section { padding: 84px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--navy-900); }
.section-head p { color: var(--slate); font-size: 1.05rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #241a02; box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(183,137,47,.42); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--navy-800); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-outline { background: #fff; color: var(--navy-900); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--gold-500); color: var(--gold-600); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* -------- Navbar -------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(16,22,43,.06);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 50%; flex: none; overflow: hidden;
  display: grid; place-items: center; background: #fff;
  box-shadow: 0 2px 10px rgba(16,22,43,.18), 0 0 0 1px rgba(16,22,43,.06);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-name { font-size: 1.18rem; color: var(--navy-900); letter-spacing: -.02em; line-height: 1; }
.brand-name b { color: var(--gold-600); }
.brand-name small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: .94rem; color: var(--slate);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy-900); background: var(--bg-soft); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; margin: 0 auto; position: relative; transition: .25s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* -------- Hero -------- */
.hero {
  position: relative; padding: calc(var(--nav-h) + 70px) 0 90px;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(43,58,134,.55), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(212,175,55,.16), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, #0a1030);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, transparent, #000 30%, transparent);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 8px;
  border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  font-size: .82rem; font-weight: 600; margin-bottom: 22px; backdrop-filter: blur(6px);
}
.hero-badge b { background: var(--gold-500); color: #241a02; padding: 3px 9px; border-radius: 999px; font-size: .72rem; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.06; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; font-family: var(--serif); font-weight: 600; color: var(--gold-400); }
.hero-sub { font-size: 1.12rem; color: rgba(255,255,255,.8); max-width: 520px; margin: 18px 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 1.8rem; font-weight: 800; font-family: var(--serif); color: var(--gold-400); }
.hero-stats .stat span { font-size: .85rem; color: rgba(255,255,255,.65); }

.hero-visual { position: relative; }
.hero-card-main {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14); position: relative; aspect-ratio: 4/3.4;
  background: linear-gradient(160deg, #33407a, #1a2350);
}
.hero-card-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute; background: rgba(255,255,255,.96); color: var(--ink);
  border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; backdrop-filter: blur(8px);
}
.hero-float .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; }
.hero-float b { display: block; font-size: 1.05rem; color: var(--navy-900); }
.hero-float small { color: var(--muted); font-size: .78rem; }
.hero-float.f1 { top: 24px; left: -26px; animation: float 5s ease-in-out infinite; }
.hero-float.f2 { bottom: 30px; right: -22px; animation: float 6s ease-in-out infinite .6s; }
.hero-float.f1 .ico { background: #eafaf1; }
.hero-float.f2 .ico { background: #fff4e5; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* -------- Search bar -------- */
.search-wrap { position: relative; z-index: 5; margin-top: -46px; }
.search {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 12px; border: 1px solid var(--line);
}
.search-tabs { display: flex; gap: 6px; padding: 4px; margin-bottom: 12px; }
.search-tab {
  padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--slate);
  transition: .2s;
}
.search-tab.active { background: var(--navy-900); color: #fff; box-shadow: var(--shadow); }
.search-fields { display: grid; grid-template-columns: 2fr 1.3fr 1.3fr 1.3fr auto; gap: 10px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; padding: 8px 14px; border-radius: var(--radius); background: var(--bg); }
.field label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.field input, .field select {
  border: none; background: transparent; font-size: .96rem; font-weight: 600; color: var(--ink);
  font-family: inherit; outline: none; padding: 2px 0;
}
.field select { cursor: pointer; }
.search .btn-search { height: 100%; min-height: 58px; padding: 0 26px; }

/* -------- Category strip -------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--radius-lg); padding: 30px; overflow: hidden;
  color: #fff; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,20,55,.15), rgba(11,20,55,.82)); z-index: 1; }
.cat-card > * { position: relative; z-index: 2; }
.cat-card .cat-ico { font-size: 1.8rem; margin-bottom: auto; }
.cat-card h3 { font-size: 1.5rem; }
.cat-card p { color: rgba(255,255,255,.82); font-size: .92rem; margin-bottom: 14px; }
.cat-card .cat-link { font-weight: 700; color: var(--gold-400); display: inline-flex; align-items: center; gap: 6px; }
.cat-buy { background: linear-gradient(160deg, #1f3a5f, #0b1437), url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=800&q=70") center/cover; }
.cat-rent { background: linear-gradient(160deg, #2b3a86, #0b1437), url("https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?w=800&q=70") center/cover; }
.cat-sell { background: linear-gradient(160deg, #7a5a13, #0b1437), url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&q=70") center/cover; }

/* -------- Property cards -------- */
.filters-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  margin-bottom: 30px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .86rem; color: var(--slate);
  background: #fff; border: 1px solid var(--line); transition: .2s;
}
.chip:hover { border-color: var(--gold-500); }
.chip.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.result-count { color: var(--muted); font-size: .9rem; font-weight: 600; }
.sort-select { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-family: inherit; color: var(--ink); cursor: pointer; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform .28s ease, box-shadow .28s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.07); }
.card-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; }
.tag {
  padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; backdrop-filter: blur(4px);
}
.tag-buy { background: rgba(18,183,106,.92); color: #fff; }
.tag-rent { background: rgba(43,58,134,.92); color: #fff; }
.tag-sell { background: rgba(240,68,56,.92); color: #fff; }
.tag-featured { background: rgba(212,175,55,.95); color: #241a02; }
.card-fav {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: grid; place-items: center; font-size: 1rem; color: var(--slate);
  transition: .2s; backdrop-filter: blur(4px);
}
.card-fav:hover { color: var(--red); transform: scale(1.1); }
.card-fav.active { color: var(--red); }
.card-price-badge {
  position: absolute; bottom: 12px; left: 14px; z-index: 2; background: rgba(11,20,55,.86);
  color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 1rem; backdrop-filter: blur(4px);
}
.card-price-badge small { font-weight: 600; opacity: .8; font-size: .72rem; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.12rem; color: var(--navy-900); margin-bottom: 4px; }
.card-loc { color: var(--muted); font-size: .88rem; display: flex; align-items: center; gap: 5px; margin-bottom: 14px; }
.card-specs {
  display: flex; gap: 4px; padding: 12px 0 0; margin-top: auto; border-top: 1px solid var(--line);
  color: var(--slate); font-size: .84rem; font-weight: 600;
}
.card-specs .spec { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.card-specs .spec span:first-child { font-size: 1rem; }
.card-specs .spec b { color: var(--navy-900); }
.card-specs .spec + .spec { border-left: 1px solid var(--line); }

.section-cta-row { text-align: center; margin-top: 44px; }

/* -------- Cities -------- */
.cities { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.city {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; color: #fff;
  display: flex; align-items: flex-end; padding: 16px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease; background: var(--navy-800);
}
.city:hover { transform: translateY(-5px); }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,20,55,.85)); }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.city span { position: relative; z-index: 2; font-weight: 700; font-size: .98rem; }
.city small { display: block; font-weight: 500; font-size: .74rem; opacity: .8; }
.city.karnal { outline: 2px solid var(--gold-500); outline-offset: -2px; }

/* -------- Feature / Why -------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature .f-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(150deg, var(--bg-soft), #fff); box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.feature h3 { font-size: 1.15rem; color: var(--navy-900); }
.feature p { color: var(--slate); font-size: .92rem; margin: 0; }

/* -------- Steps -------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 20px; }
.step-num {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--gold-500); line-height: 1;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.1rem; color: var(--navy-900); }
.step p { color: var(--slate); font-size: .9rem; margin: 0; }

/* -------- CTA band -------- */
.band {
  border-radius: var(--radius-xl); padding: 56px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(700px 400px at 90% 0%, rgba(212,175,55,.28), transparent 60%),
              linear-gradient(150deg, var(--navy-800), var(--indigo));
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; box-shadow: var(--shadow-lg);
}
.band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.band p { color: rgba(255,255,255,.82); margin: 0; }
.band-actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }

/* -------- Testimonials -------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.testi .stars { color: var(--gold-500); margin-bottom: 12px; letter-spacing: 2px; }
.testi p { color: var(--slate); font-size: .96rem; font-style: italic; }
.testi-user { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(150deg, var(--indigo), var(--navy-800)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.testi-user b { color: var(--navy-900); display: block; font-size: .95rem; }
.testi-user small { color: var(--muted); }

/* -------- Footer -------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 70px 0 26px; margin-top: 20px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand-name, .footer .brand-name small { color: #fff; }
.footer p { font-size: .92rem; margin: 18px 0; max-width: 320px; }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer-links a { display: block; padding: 6px 0; font-size: .92rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold-400); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--gold-500); color: #241a02; }
.foot-form { display: flex; gap: 8px; margin-top: 14px; }
.foot-form input { flex: 1; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; font-family: inherit; }
.foot-form input::placeholder { color: rgba(255,255,255,.5); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .86rem; flex-wrap: wrap; gap: 10px; }

/* -------- Page header -------- */
.page-head {
  padding: calc(var(--nav-h) + 56px) 0 60px; color: #fff; text-align: center;
  background: radial-gradient(800px 400px at 50% -20%, rgba(43,58,134,.6), transparent 60%),
              linear-gradient(160deg, var(--navy-900), var(--navy-800));
}
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-head p { color: rgba(255,255,255,.78); max-width: 560px; margin: 8px auto 0; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-400); }

/* -------- Property detail -------- */
.detail-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; }
.detail-gallery .main-img { aspect-ratio: 16/10; }
.detail-gallery .side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 36px; align-items: start; }
.detail-main .d-title { font-size: 2rem; color: var(--navy-900); }
.d-price { font-size: 2rem; font-weight: 800; color: var(--gold-600); font-family: var(--serif); }
.d-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0; }
.d-spec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.d-spec span { font-size: 1.4rem; }
.d-spec b { display: block; color: var(--navy-900); font-size: 1.1rem; margin-top: 6px; }
.d-spec small { color: var(--muted); font-size: .8rem; }
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amenities li { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--slate); font-weight: 600; }
.amenities li span { color: var(--green); }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); position: sticky; top: 94px; }
.agent { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.agent-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(150deg, var(--indigo), var(--navy-800)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.agent b { color: var(--navy-900); display: block; }
.agent small { color: var(--muted); }
.form-row { margin-bottom: 12px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
  font-family: inherit; font-size: .95rem; color: var(--ink); outline: none; transition: border .2s;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold-500); background: #fff; }
.form-row textarea { resize: vertical; min-height: 90px; }

/* -------- Contact -------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info-card { background: linear-gradient(160deg, var(--navy-800), var(--indigo)); color: #fff; border-radius: var(--radius-lg); padding: 40px; }
.contact-info-card h3 { color: #fff; }
.info-item { display: flex; gap: 14px; align-items: flex-start; margin: 22px 0; }
.info-item .ii-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.info-item b { display: block; }
.info-item small { color: rgba(255,255,255,.7); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* -------- About -------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.6; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box { text-align: center; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stat-box b { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--navy-900); }
.stat-box span { color: var(--muted); font-weight: 600; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* -------- Services page -------- */
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px 30px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600)); transform: scaleY(0); transform-origin: top; transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleY(1); }
.service-card .s-num {
  position: absolute; top: 20px; right: 26px; font-family: var(--serif); font-size: 3rem; font-weight: 700;
  color: var(--bg-soft); line-height: 1; transition: color .3s ease;
}
.service-card:hover .s-num { color: rgba(212,175,55,.28); }
.service-card .s-ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem;
  background: linear-gradient(150deg, var(--navy-800), var(--indigo)); color: #fff; margin-bottom: 18px; box-shadow: var(--shadow);
}
.service-card h3 { font-size: 1.25rem; color: var(--navy-900); }
.service-card p { color: var(--slate); font-size: .95rem; margin: 0 0 14px; }
.service-card .s-link { font-weight: 700; color: var(--gold-600); display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }

@media (max-width: 1024px) { .services-list { grid-template-columns: 1fr; } }

/* -------- Toast -------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--navy-900); color: #fff; padding: 14px 24px; border-radius: 999px; z-index: 200;
  box-shadow: var(--shadow-lg); font-weight: 600; opacity: 0; transition: transform .4s cubic-bezier(.2,.9,.3,1.3), opacity .3s;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast .t-ico { color: var(--gold-400); }

/* -------- Karnal / heritage page -------- */
.lead { font-size: 1.14rem; color: var(--slate); max-width: 820px; margin: 0 auto; }
.timeline { position: relative; max-width: 760px; margin: 6px auto 0; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--gold-500), var(--line)); }
.tl-item { position: relative; padding-bottom: 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gold-500); box-shadow: var(--shadow-sm);
}
.tl-year { font-family: var(--serif); font-weight: 700; color: var(--gold-600); font-size: 1.05rem; }
.tl-item h3 { font-size: 1.15rem; color: var(--navy-900); margin: 2px 0 5px; }
.tl-item p { color: var(--slate); margin: 0; }
.emblem-panel {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; display: grid; place-items: center;
  text-align: center; color: #fff; padding: 30px; overflow: hidden;
  background: radial-gradient(600px 300px at 70% 0%, rgba(212,175,55,.28), transparent 60%), linear-gradient(155deg, var(--navy-800), var(--indigo));
}
.emblem-panel .em-ico { font-size: 5rem; line-height: 1; margin-bottom: 10px; }
.emblem-panel h3 { font-family: var(--serif); color: var(--gold-400); font-size: 1.7rem; }
.emblem-panel p { color: rgba(255,255,255,.82); margin: 0; }

/* -------- Floating WhatsApp button -------- */
.wa-float {
  position: fixed; right: 22px; bottom: 24px; z-index: 150;
  display: flex; align-items: center; gap: 0; height: 60px; padding: 0 16px;
  border-radius: 999px; background: #25D366; color: #fff; font-weight: 700; font-size: .95rem;
  box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .2s ease, box-shadow .25s ease;
  overflow: hidden; white-space: nowrap; max-width: 60px;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; flex: none; }
.wa-float .wa-label { max-width: 0; opacity: 0; margin-left: 0; transition: max-width .3s ease, opacity .25s ease, margin-left .3s ease; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37,211,102,.55); max-width: 260px; }
.wa-float:hover .wa-label { max-width: 200px; opacity: 1; margin-left: 12px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px; z-index: -1;
  box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: wa-pulse 2.2s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 720px) { .wa-float { right: 16px; bottom: 18px; } }

/* -------- Reveal animation -------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); grid-column: 1 / -1; }
.empty-state .es-ico { font-size: 3rem; margin-bottom: 12px; }

/* -------- Mobile menu -------- */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; background: #fff; z-index: 99; padding: 24px;
  transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu.open { transform: none; }
.mobile-menu a { padding: 15px 18px; border-radius: 14px; font-weight: 700; font-size: 1.05rem; color: var(--navy-900); }
.mobile-menu a:hover { background: var(--bg-soft); }

/* -------- Responsive -------- */
@media (max-width: 1024px) {
  .grid, .why-grid, .steps, .testi-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .cities { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .band, .detail-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .band-actions { justify-content: flex-start; }
  .sidebar-card { position: static; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search .btn-search { grid-column: 1 / -1; }
  .cats, .grid, .why-grid, .steps, .testi-grid, .cities, .value-grid, .d-specs, .amenities, .form-2, .stat-band { grid-template-columns: 1fr; }
  .cities { grid-template-columns: repeat(2, 1fr); }
  .d-specs { grid-template-columns: repeat(2, 1fr); }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .band { padding: 36px 26px; }
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-gallery .side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .filters-bar { flex-direction: column; align-items: stretch; }
}
