/* ==========================================================================
   UrbanNest Realty — shared stylesheet
   Demo website by Pavan Rengade · https://pavan.rengade.in
   ========================================================================== */

:root {
  --navy: #0f2440;
  --navy-soft: #1c3a5e;
  --gold: #b08d57;
  --gold-deep: #94713d;
  --gold-tint: #f4ecdf;
  --ink: #23303f;
  --muted: #64707e;
  --line: #e6e1d7;
  --cream: #faf8f3;
  --white: #ffffff;
  --green: #1e7f5c;
  --green-tint: #e2f3ec;
  --amber-tint: #fdf1dc;
  --amber-ink: #8a5a13;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 36, 64, 0.08);
  --shadow-lift: 0 18px 44px rgba(15, 36, 64, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, .brand-name {
  font-family: "Marcellus", "Manrope", serif;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
}

a { color: var(--gold-deep); text-decoration: none; }

img { max-width: 100%; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---- Demo ribbon --------------------------------------------------------- */

.demo-ribbon {
  background: var(--navy);
  color: #e9e2d4;
  text-align: center;
  font-size: 0.82rem;
  padding: 8px 16px;
  letter-spacing: 0.01em;
}
.demo-ribbon a {
  color: #e8c98a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Header / nav -------------------------------------------------------- */

.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 60%, var(--gold) 130%);
  color: #f2e5c9;
  display: grid; place-items: center;
  font-size: 1.15rem;
}
.brand-name { font-size: 1.25rem; letter-spacing: 0.02em; }
.brand-name small {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.current { color: var(--navy); border-bottom-color: var(--gold); }

.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  padding: 12px 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(176, 141, 87, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(176, 141, 87, 0.45); }
.btn-navy { background: var(--navy); color: #f5efe2; }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }
.nav-cta { padding: 10px 18px; font-size: 0.88rem; }

/* ---- Hero ---------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(176, 141, 87, 0.16), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(28, 58, 94, 0.10), transparent 60%),
    linear-gradient(180deg, #fdfbf7 0%, var(--cream) 100%);
  padding: 72px 0 56px;
}
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; padding: 0 20px; }
.hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-tint);
  border: 1px solid #e8dcc3;
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--gold-deep); }
.hero-sub { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 0 auto 36px; }

/* ---- Quick search card --------------------------------------------------- */

.search-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  text-align: left;
  max-width: 880px;
  margin: 0 auto;
}
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.field select,
.field input,
.field textarea {
  width: 100%;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fdfcf9;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select:focus,
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.18);
}
.field textarea { resize: vertical; min-height: 110px; }

/* ---- Stats strip --------------------------------------------------------- */

.stats-strip { background: var(--navy); color: #f5efe2; padding: 34px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-num {
  font-family: "Marcellus", serif;
  font-size: 2.2rem;
  color: #e8c98a;
  line-height: 1.1;
}
.stat-label { font-size: 0.88rem; color: #c3cad6; margin-top: 4px; }

/* ---- Sections ------------------------------------------------------------ */

.section { padding: 68px 0; }
.section-alt { background: #f3efe6; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); }
.section-foot { text-align: center; margin-top: 40px; }

/* ---- Property cards ------------------------------------------------------ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.prop-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.prop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.prop-visual {
  position: relative;
  height: 185px;
  display: grid;
  place-items: center;
}
.prop-emoji {
  font-size: 4rem;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
  transition: transform 0.25s ease;
}
.prop-card:hover .prop-emoji { transform: scale(1.12); }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.badge-ready { background: var(--green-tint); color: var(--green); }
.badge-uc { background: var(--amber-tint); color: var(--amber-ink); }
.prop-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prop-body h3 { font-size: 1.12rem; }
.prop-loc { color: var(--muted); font-size: 0.88rem; }
.prop-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.prop-meta span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-soft);
  background: #eef1f5;
  border-radius: 7px;
  padding: 4px 10px;
}
.prop-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.prop-price {
  font-family: "Marcellus", serif;
  font-size: 1.35rem;
  color: var(--navy);
}
.view-link { font-size: 0.85rem; font-weight: 800; color: var(--gold-deep); }

/* ---- Why choose us / feature cards --------------------------------------- */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--gold-tint);
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.93rem; }

/* ---- Testimonials -------------------------------------------------------- */

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testi-stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.testi-card blockquote { font-size: 0.95rem; color: var(--ink); font-style: italic; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-soft), var(--gold));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: grid; place-items: center;
}
.testi-person strong { display: block; font-size: 0.92rem; color: var(--navy); }
.testi-person span { font-size: 0.8rem; color: var(--muted); }

/* ---- Listings page ------------------------------------------------------- */

.page-hero {
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(176, 141, 87, 0.18), transparent 60%),
    linear-gradient(180deg, #fdfbf7 0%, var(--cream) 100%);
  padding: 52px 0 36px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }

.filter-bar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}
.result-count {
  font-weight: 700;
  color: var(--navy);
  margin: 18px 2px 20px;
}
.result-count span { color: var(--gold-deep); }

.empty-state {
  text-align: center;
  background: var(--white);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 64px 24px;
  color: var(--muted);
}
.empty-state .empty-emoji { font-size: 3rem; display: block; margin-bottom: 12px; }
.empty-state h3 { margin-bottom: 6px; }

/* ---- Property detail page ------------------------------------------------- */

.crumbs { font-size: 0.85rem; color: var(--muted); margin: 26px 0 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-deep); }

.detail-visual {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.detail-visual .prop-emoji { font-size: 6.5rem; }
.detail-visual .badge { top: 18px; left: 18px; font-size: 0.78rem; }

.detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  align-items: start;
  margin-top: 30px;
}
.detail-title-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.detail-title-row h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.detail-price {
  font-family: "Marcellus", serif;
  font-size: 2rem;
  color: var(--gold-deep);
  white-space: nowrap;
}
.detail-loc { color: var(--muted); margin-bottom: 22px; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.spec-cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}
.spec-cell .spec-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.spec-cell .spec-value {
  font-weight: 800;
  color: var(--navy);
  font-size: 0.98rem;
}

.detail-section h2 { font-size: 1.35rem; margin-bottom: 14px; }
.detail-section { margin-bottom: 30px; }
.detail-section p { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}
.chip::before { content: "✓ "; color: var(--green); font-weight: 800; }

/* EMI calculator */
.emi-card {
  background: var(--navy);
  color: #e8ecf3;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-lift);
}
.emi-card h2 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.emi-card .emi-sub { font-size: 0.85rem; color: #a9b4c6; margin-bottom: 22px; }
.emi-row { margin-bottom: 20px; }
.emi-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.emi-row-head output { color: #e8c98a; font-weight: 800; }
input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
  height: 6px;
}
.emi-result {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(232, 201, 138, 0.35);
  border-radius: 12px;
  text-align: center;
  padding: 18px 14px;
  margin-top: 6px;
}
.emi-result .emi-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a9b4c6;
}
.emi-amount {
  font-family: "Marcellus", serif;
  font-size: 2.3rem;
  color: #e8c98a;
  line-height: 1.2;
  margin: 4px 0 2px;
}
.emi-amount small { font-size: 1rem; color: #c3cad6; }
.emi-breakup {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  color: #a9b4c6;
}
.emi-breakup strong { display: block; color: #fff; font-size: 0.92rem; }
.emi-note { font-size: 0.72rem; color: #8b97ab; margin-top: 14px; text-align: center; }

/* Enquiry / forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-top: 24px;
}
.form-card h2 { font-size: 1.3rem; margin-bottom: 4px; }
.form-card .form-sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }
.form-card .field { margin-bottom: 14px; }
.form-success {
  text-align: center;
  padding: 34px 18px;
}
.form-success .success-emoji { font-size: 3rem; display: block; margin-bottom: 10px; }
.form-success h3 { color: var(--green); margin-bottom: 8px; font-size: 1.25rem; }
.form-success p { color: var(--muted); font-size: 0.92rem; }

/* ---- Contact page -------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}
.info-card .feature-icon { margin: 0 auto 14px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: 0.92rem; }
.info-card a { font-weight: 700; }

.contact-two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}
.map-box {
  background:
    repeating-linear-gradient(45deg, #eef1f5 0 14px, #e6ebf2 14px 28px);
  border: 1.5px dashed #c8d0da;
  border-radius: var(--radius);
  height: 100%;
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 24px;
}
.map-box .map-pin { font-size: 3rem; display: block; margin-bottom: 8px; }
.map-box strong { color: var(--navy); }

.list-property-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 70%, #2b4a72 100%);
  border-radius: var(--radius);
  color: #eef2f8;
  padding: 42px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-lift);
}
.list-property-band h2 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.list-property-band p { color: #b9c4d4; max-width: 520px; font-size: 0.95rem; }

/* ---- Footer -------------------------------------------------------------- */

.site-footer {
  background: #0b1b30;
  color: #9aa7ba;
  padding: 54px 0 0;
  margin-top: 72px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 40px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #9aa7ba; }
.footer-grid a:hover { color: #e8c98a; }
.footer-about .brand-name { color: #fff; }
.footer-about p { margin-top: 12px; max-width: 300px; }
.footer-credit {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 20px;
  font-size: 0.82rem;
  color: #7e8ca0;
}
.footer-credit a { color: #e8c98a; font-weight: 700; }

/* ---- Responsive ---------------------------------------------------------- */

@media (max-width: 980px) {
  .cards-grid, .feature-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .search-card { grid-template-columns: 1fr 1fr; }
  .search-card .btn { grid-column: 1 / -1; }
  .filter-bar { grid-template-columns: repeat(3, 1fr); }
  .detail-grid, .contact-two-col { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-wrap { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .nav-links { gap: 18px; }
  .hero { padding: 48px 0 44px; }
  .cards-grid, .feature-grid, .testi-grid, .contact-grid { grid-template-columns: 1fr; }
  .search-card { grid-template-columns: 1fr; padding: 18px; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar .btn { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: 1fr; gap: 26px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-visual { height: 240px; }
  .detail-visual .prop-emoji { font-size: 4.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .list-property-band { padding: 30px 22px; }
  .detail-price { font-size: 1.6rem; }
}

@media (max-width: 400px) {
  body { font-size: 15px; }
  .filter-bar { grid-template-columns: 1fr; }
  .emi-card { padding: 20px 16px; }
  .emi-amount { font-size: 1.9rem; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.88rem; }
}

/* ==========================================================================
   Home page v2 — search-first architecture
   (additive styles only; shared classes above are untouched)
   ========================================================================== */

/* ---- Search-dominant hero ------------------------------------------------ */

.home-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 64px 20px 120px;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(232, 201, 138, 0.14), transparent 65%),
    radial-gradient(700px 380px at 8% 100%, rgba(43, 74, 114, 0.55), transparent 70%),
    linear-gradient(180deg, #0b1b30 0%, var(--navy) 55%, #16304f 100%);
}

/* Faint city-skyline silhouette drawn purely with gradients */
.hh-skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 210px;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    /* antennas */
    linear-gradient(rgba(140, 170, 205, 0.28), rgba(140, 170, 205, 0.28)),
    linear-gradient(rgba(140, 170, 205, 0.24), rgba(140, 170, 205, 0.24)),
    /* towers, tallest to shortest */
    linear-gradient(rgba(66, 98, 138, 0.34), rgba(66, 98, 138, 0.34)),
    linear-gradient(rgba(58, 88, 126, 0.30), rgba(58, 88, 126, 0.30)),
    linear-gradient(rgba(72, 104, 144, 0.32), rgba(72, 104, 144, 0.32)),
    linear-gradient(rgba(52, 80, 116, 0.30), rgba(52, 80, 116, 0.30)),
    linear-gradient(rgba(66, 98, 138, 0.28), rgba(66, 98, 138, 0.28)),
    linear-gradient(rgba(58, 88, 126, 0.32), rgba(58, 88, 126, 0.32)),
    linear-gradient(rgba(72, 104, 144, 0.28), rgba(72, 104, 144, 0.28)),
    linear-gradient(rgba(52, 80, 116, 0.32), rgba(52, 80, 116, 0.32)),
    linear-gradient(rgba(66, 98, 138, 0.30), rgba(66, 98, 138, 0.30)),
    linear-gradient(rgba(58, 88, 126, 0.28), rgba(58, 88, 126, 0.28)),
    linear-gradient(rgba(72, 104, 144, 0.30), rgba(72, 104, 144, 0.30)),
    /* lit windows: faint dotted texture over the whole band */
    repeating-linear-gradient(0deg, rgba(232, 201, 138, 0.05) 0 2px, transparent 2px 14px),
    /* ground haze */
    linear-gradient(0deg, rgba(11, 27, 48, 0.9), transparent);
  background-repeat: no-repeat;
  background-position:
    12.5% 100%, 63.5% 100%,
    3% 100%, 12% 100%, 21% 100%, 30% 100%, 39% 100%, 50% 100%,
    61% 100%, 71% 100%, 80% 100%, 89% 100%, 98% 100%,
    0 100%, 0 100%;
  background-size:
    3px 170px, 3px 190px,
    64px 96px, 74px 148px, 58px 76px, 82px 118px, 66px 60px, 92px 136px,
    70px 164px, 60px 88px, 84px 124px, 68px 72px, 76px 104px,
    100% 180px, 100% 100%;
}

.hh-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  text-align: center;
}
.hh-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e8c98a;
  border: 1px solid rgba(232, 201, 138, 0.35);
  border-radius: 999px;
  padding: 8px 20px;
  margin-bottom: 22px;
  background: rgba(232, 201, 138, 0.07);
}
.hh-title {
  color: #ffffff;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  margin-bottom: 34px;
  text-wrap: balance;
}
.hh-title em { font-style: normal; color: #e8c98a; }

/* The search panel — hero centerpiece */
.search-panel {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(4, 12, 24, 0.55);
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  overflow: hidden;
}
.sp-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 14px 0;
  border-bottom: 1px solid var(--line);
  background: #fbf9f4;
}
.sp-tab {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 12px 18px 14px;
  border-bottom: 3px solid transparent;
  border-radius: 8px 8px 0 0;
}
.sp-tab.is-active { color: var(--navy); border-bottom-color: var(--gold); }
.sp-tab[disabled] { cursor: default; }
.sp-soon {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-tint);
  border-radius: 999px;
  padding: 2px 8px;
  vertical-align: 2px;
}
.sp-form {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr auto;
  gap: 14px;
  align-items: end;
  padding: 20px 22px 8px;
}
.sp-submit { padding: 12px 26px; white-space: nowrap; }
.sp-hint {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0 22px 18px;
  margin-top: 6px;
}

/* ---- Trust ticker -------------------------------------------------------- */

.trust-ticker {
  background: #0b1b30;
  border-top: 1px solid rgba(232, 201, 138, 0.22);
  border-bottom: 1px solid rgba(232, 201, 138, 0.22);
  overflow: hidden;
  padding: 12px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-item {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #d8ceba;
  white-space: nowrap;
}
.ticker-sep { color: rgba(232, 201, 138, 0.55); font-size: 0.7rem; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-ticker:hover .ticker-track { animation-play-state: paused; }

/* ---- Featured carousel (scroll-snap) ------------------------------------- */

.carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.carousel-head .eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.carousel-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.drag-hint {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  animation: drag-nudge 2.4s ease-in-out infinite;
}
@keyframes drag-nudge {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(8px); opacity: 1; }
}

.hs-scroller {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4px;
  padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--gold) #eee6d6;
  scrollbar-width: thin;
}
.hs-scroller::-webkit-scrollbar { height: 8px; }
.hs-scroller::-webkit-scrollbar-track { background: #eee6d6; border-radius: 99px; }
.hs-scroller::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 99px; }
.hs-scroller:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.hs-scroller .prop-card {
  flex: 0 0 min(300px, 84vw);
  scroll-snap-align: start;
}
.hs-scroller .prop-visual { height: 165px; }

/* ---- Browse by locality tiles -------------------------------------------- */

.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.loc-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  min-height: 150px;
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.loc-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.loc-tile::after {
  content: "→";
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  font-size: 1.05rem;
  transition: transform 0.18s ease;
}
.loc-tile:hover::after { transform: translateX(4px); }
.loc-emoji {
  font-size: 2.1rem;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.3));
  margin-bottom: 6px;
}
.loc-name {
  font-family: "Marcellus", serif;
  font-size: 1.3rem;
  color: #ffffff;
  line-height: 1.2;
}
.loc-count {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.loc-baner     { background: linear-gradient(135deg, #16304f 0%, #2e5d8f 60%, #6fa3cf 130%); }
.loc-wakad     { background: linear-gradient(135deg, #1b3a4b 0%, #2f6f7e 60%, #7fbcb0 130%); }
.loc-kothrud   { background: linear-gradient(135deg, #3a5a40 0%, #588157 60%, #a3b18a 130%); }
.loc-viman     { background: linear-gradient(135deg, #5c2751 0%, #9a4c73 60%, #d98c8c 130%); }
.loc-hinjewadi { background: linear-gradient(135deg, #432818 0%, #99582a 60%, #d8a45f 130%); }
.loc-kharadi   { background: linear-gradient(135deg, #22333b 0%, #5e503f 60%, #c6ac8f 130%); }

/* ---- Why-us: numbered editorial list ------------------------------------- */

.why-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.why-intro .eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.why-intro h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.why-intro p { color: var(--muted); }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--gold);
}
.why-item:last-child { border-bottom: 1px solid var(--gold); }
.why-num {
  font-family: "Marcellus", serif;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.why-copy h3 { font-size: 1.2rem; margin-bottom: 6px; }
.why-copy p { color: var(--muted); font-size: 0.94rem; }

/* ---- Testimonials: asymmetric centerpiece -------------------------------- */

.testi-asym {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 22px;
}
.testi-asym figure { margin: 0; }
.testi-lead {
  grid-row: 1 / 3;
  position: relative;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 44px 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi-mark {
  position: absolute;
  top: 6px;
  left: 24px;
  font-family: "Marcellus", serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(232, 201, 138, 0.28);
  pointer-events: none;
}
.testi-lead .testi-stars { color: #e8c98a; }
.testi-lead blockquote {
  font-family: "Marcellus", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
  color: #f3ecdd;
}
.testi-lead .testi-person strong { color: #fff; }
.testi-lead .testi-person span { color: #a9b4c6; }
.testi-side {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testi-side blockquote { font-size: 0.92rem; font-style: italic; color: var(--ink); }

/* ---- Closing band: EMI teaser -------------------------------------------- */

.emi-band-section { padding-top: 0; }
.emi-band {
  background:
    radial-gradient(600px 260px at 90% -20%, rgba(232, 201, 138, 0.22), transparent 65%),
    linear-gradient(120deg, #0b1b30 0%, var(--navy) 55%, var(--navy-soft) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 46px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.emi-band-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e8c98a;
  margin-bottom: 10px;
}
.emi-band h2 { color: #ffffff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.emi-band-copy { max-width: 560px; }
.emi-band-copy p { color: #b9c4d4; font-size: 0.95rem; }
.emi-band-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.emi-band-figure {
  font-size: 3rem;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4));
}

/* ---- Home v2 responsive -------------------------------------------------- */

@media (max-width: 980px) {
  .sp-form { grid-template-columns: 1fr 1fr; }
  .sp-form .sp-submit { grid-column: 1 / -1; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-wrap { grid-template-columns: 1fr; gap: 26px; }
  .testi-asym { grid-template-columns: 1fr; grid-template-rows: none; }
  .testi-lead { grid-row: auto; }
}

@media (max-width: 640px) {
  .home-hero { min-height: 0; padding: 52px 16px 96px; }
  .hh-skyline { height: 140px; background-size:
    2px 110px, 2px 126px,
    44px 64px, 50px 98px, 40px 50px, 56px 78px, 44px 40px, 62px 90px,
    48px 108px, 40px 58px, 56px 82px, 46px 48px, 52px 70px,
    100% 120px, 100% 100%; }
  .sp-form { grid-template-columns: 1fr; padding: 16px 16px 6px; }
  .sp-hint { padding: 0 16px 14px; }
  .sp-tab { padding: 10px 12px 12px; font-size: 0.85rem; }
  .carousel-head { align-items: flex-start; flex-direction: column; }
  .why-item { grid-template-columns: 56px 1fr; gap: 14px; padding: 20px 0; }
  .why-num { font-size: 1.8rem; }
  .loc-grid { gap: 14px; }
  .loc-tile { min-height: 126px; padding: 16px; }
  .emi-band { padding: 32px 22px; }
}

@media (max-width: 400px) {
  .loc-grid { grid-template-columns: 1fr; }
  .testi-lead { padding: 36px 22px 26px; }
  .ticker-item { font-size: 0.78rem; }
}

/* Reduced motion: static trust row, no nudge animation */
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 16px;
    gap: 14px 22px;
  }
  .ticker-track > [aria-hidden="true"] { display: none; }
  .drag-hint { animation: none; }
  .prop-card:hover, .loc-tile:hover, .btn-gold:hover, .btn-navy:hover { transform: none; }
}
