/* Buy India Property — base site styles */

:root {
  --accent: #0a5cff;
  --accent-dark: #0846c4;
  --text: #14161a;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --border: #e8eaed;
  --surface: #f6f7f9;
  --surface-2: #eef1f5;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
  --shadow-hover: 0 8px 20px rgba(16,24,40,.10), 0 2px 6px rgba(16,24,40,.06);
}

* { box-sizing: border-box; }

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  margin: 0;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
  gap: 24px;
}
.logo {
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.main-nav {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  flex: 1;
}
.main-nav a {
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover { color: var(--text); border-color: var(--border); }

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .15s ease, opacity .15s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.main-nav .nav-cta {
    display: none;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, transform .05s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
  padding: 56px 24px 40px;
  border-bottom: 1px solid var(--border);
}
.hero.has-banner {
  padding: 90px 24px 56px;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}
.hero.has-banner .container { width: 100%; }
.hero-panel {
  border-radius: var(--radius);
}
.hero.has-banner .hero-panel {
  max-width: 640px;
  width: 100%;
  padding: 34px 40px;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.35),
    rgba(0,0,0,.15)
  );
  backdrop-filter: blur(4px);
}
.hero.has-banner.text-dark .hero-panel {
  background: rgba(255,255,255,.82);
}
.hero h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -.02em;
  font-weight: 800;
}
.hero p {
  color: var(--text-muted);
  margin: 0 0 24px;
  font-size: 16px;
}
.search-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: #fff;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 900px;
}
.search-form select, .search-form input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
}
.search-form select { color: var(--text); background: #fff; }
.search-form input[type="text"] { flex: 1; min-width: 200px; }
.search-form input:focus, .search-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.stats-row {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.stat b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.stat span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.hero.has-banner {
  color: #fff;
}
.hero.has-banner h1,
.hero.has-banner p {
  color: #fff;
}
.hero.has-banner {
  border-bottom: none;
}
.hero-pill {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 14px;
  backdrop-filter: blur(4px);
}
.hero.has-banner .stat b,
.hero.has-banner .stat span {
  color: #fff;
}
.hero.has-banner.text-dark h1,
.hero.has-banner.text-dark p,
.hero.has-banner.text-dark .stat b,
.hero.has-banner.text-dark .stat span {
  color: var(--text);
}
.hero.has-banner.text-dark .hero-pill {
  background: rgba(255,255,255,.75);
  border-color: var(--border);
  color: var(--text);
}
.hero.has-banner.text-dark .search-form {
  box-shadow: var(--shadow-hover);
}

/* Sections */
.section { padding: 40px 24px; }
.section h2 {
  font-size: 20px;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.section-head h2 { margin: 0; }
.section-head a {
  font-size: 13.5px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.section-head a:hover { text-decoration: underline; }

/* Category tiles */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}
.type-tile {
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 20px 10px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.type-tile:hover {
  border-color: var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.type-tile .icon {
  font-size: 26px;
  display: block;
  margin-bottom: 8px;
}

/* Project cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
  background: #fff;
  transition: box-shadow .18s ease, transform .12s ease, border-color .18s ease;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: transparent;
}
.card .thumb-wrap { position: relative; }
.card .thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--surface);
  display: block;
}
.card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(20,22,26,.78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.badge-new-launch { background: rgba(10,92,255,.9); }
.badge-under-construction { background: rgba(217,119,6,.9); }
.badge-ready-to-move { background: rgba(21,128,61,.9); }
.badge-status { background: rgba(20,22,26,.78); }

.offer-card { border-color: #f0d97a; }
.offer-card:hover { border-color: transparent; }
.offer-expiry { background: rgba(217,4,41,.88); left: auto; right: 10px; }
.offer-text {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 12.5px;
  margin: 0 0 4px;
  white-space: normal;
}
.card .body { padding: 14px 16px 16px; }
.card h3 {
  font-size: 15px;
  margin: 0 0 4px;
  font-weight: 700;
  letter-spacing: -.005em;
}
.card p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0 0 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card .price {
  font-size: 14px;
  color: var(--text);
  margin-top: 10px;
  font-weight: 700;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.card .price small {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 11.5px;
}
/* Similar-listings carousel */
.carousel { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform .35s ease;
}
.carousel-card { flex: 0 0 224px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.carousel-dot.active { background: var(--accent); transform: scale(1.2); }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 16px;
}
.amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.amenity img { width: 32px; height: 32px; object-fit: contain; }
.amenity-emoji { font-size: 28px; line-height: 1; }
.amenity span:last-child { font-size: 12px; color: var(--text-muted); }

/* Pagination */
.pagination { display: flex; gap: 10px; margin-top: 28px; }
.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: all .15s ease;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.page-btn.primary:hover { background: var(--accent-dark); color: #fff; box-shadow: var(--shadow-hover); }

/* Search filter sidebar */
.search-layout { display: flex; gap: 24px; align-items: flex-start; }
.filter-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.filter-sidebar .filter-label {
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
  color: var(--text);
}
.filter-sidebar select,
.filter-sidebar input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  box-sizing: border-box;
  margin-bottom: 14px;
  font-family: inherit;
}
.filter-sidebar select:focus, .filter-sidebar input:focus { outline: none; border-color: var(--accent); }
.filter-sidebar .btn { width: 100%; }

/* Loan / Interiors landing pages */
.lead-hero {
  padding: 56px 24px;
  color: #fff;
}
.lead-hero .container { max-width: 760px; }
.lead-hero-loans { background: linear-gradient(135deg, #0a5cff 0%, #0846c4 100%); }
.lead-hero-interiors { background: linear-gradient(135deg, #7c5a2e 0%, #4a3418 100%); }
.lead-hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.lead-hero h1 { font-size: 30px; font-weight: 800; margin: 0 0 10px; letter-spacing: -.01em; line-height: 1.2; }
.lead-hero p { font-size: 15px; opacity: .92; margin: 0 0 20px; max-width: 560px; }
.lead-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.lead-hero-badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}

.lead-page { padding: 32px 20px 60px; }
.lead-form-card { max-width: 640px; margin: -28px auto 0; box-shadow: var(--shadow-hover); }
.lead-form-sub { color: var(--text-muted); font-size: 13.5px; margin: 0 0 18px; }

/* Post property page */
.post-property-page { padding: 40px 20px 60px; }
.post-property-page h1 { font-size: 26px; margin: 0 0 8px; font-weight: 800; letter-spacing: -.01em; }
.post-property-page .content-card { max-width: 720px; }
.post-property-page h2 { font-size: 15px; margin: 24px 0 12px; font-weight: 700; }
.post-property-page h2:first-of-type { margin-top: 0; }
.post-success h1 { font-size: 20px; }
.post-success p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 20px; }
.post-errors ul { margin: 0; padding-left: 18px; color: #d1242f; font-size: 13.5px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 16px;
}
.post-property-page label { font-size: 12.5px; font-weight: 600; display: block; }
.post-property-page input,
.post-property-page select,
.post-property-page textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  margin-top: 5px;
}
.post-property-page textarea { height: 90px; resize: vertical; }
.post-property-page input:focus,
.post-property-page select:focus,
.post-property-page textarea:focus { outline: none; border-color: var(--accent); }

/* Contact page */
.contact-page { padding: 40px 20px 60px; }
.contact-page h1 { font-size: 26px; margin: 0 0 8px; font-weight: 800; letter-spacing: -.01em; }
.contact-subtitle { color: var(--text-muted); font-size: 14.5px; margin: 0 0 28px; max-width: 560px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.contact-row:last-child { border-bottom: none; }
.contact-icon { font-size: 18px; line-height: 1.4; }
.contact-row a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contact-row a:hover { text-decoration: underline; }

.contact-map-card { padding: 0; overflow: hidden; }
.contact-map-card .embed-wrap { margin: 0; border-radius: var(--radius); }

.contact-form-card label {
  font-size: 12.5px;
  font-weight: 600;
  display: block;
  color: var(--text);
}
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  margin-top: 5px;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus { outline: none; border-color: var(--accent); }
.contact-form-card textarea { height: 90px; resize: vertical; }
.contact-form-card .optional-tag { font-weight: 400; color: var(--text-muted); }

.contact-form-msg { font-size: 13px; display: none; padding: 10px 12px; border-radius: 8px; }
.contact-form-msg.success { display: block; background: #e6f4ea; color: #1a7f37; }
.contact-form-msg.error { display: block; background: #fde8e8; color: #d1242f; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px 32px;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 20px;
  background: var(--surface);
}

.footer-links {
  margin-bottom: 32px;
  padding-top: 4px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer-links h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
}
.footer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.footer-tab {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.footer-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.footer-tab-panel {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.footer-tab-panel.active { display: grid; }
.footer-link-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.footer-link-col a {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 6px;
}
.footer-link-col a:hover { color: var(--accent); text-decoration: underline; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-contact-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease;
}
.footer-contact-btn:hover { background: var(--accent-dark); }

.footer-promos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.footer-promo {
  border-radius: var(--radius);
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  min-height: 140px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.footer-promo.theme-navy { background-color: #0c1730; }
.footer-promo.theme-gradient { background-color: #4f46e5; }
.footer-promo-text {
  width: 100%;
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  background: linear-gradient(180deg, rgba(10,15,30,0) 0%, rgba(10,15,30,.35) 40%, rgba(10,15,30,.82) 100%);
}
.footer-promo h3 { font-size: 17px; margin: 0; font-weight: 700; }
.footer-promo p { font-size: 13px; margin: 0; opacity: .9; line-height: 1.5; }
.footer-promo .footer-btn {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.4);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 4px;
}

/* Property detail page */
.property-page { padding: 24px 20px 60px; }

.property-gallery { margin-bottom: 24px; }
.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
}
.gallery-main img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.gallery-expand {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(20,22,26,.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  pointer-events: none;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.gallery-thumbs img {
  width: 90px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: .6;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: opacity .15s ease, border-color .15s ease;
}
.gallery-thumbs img:hover { opacity: .9; }
.gallery-thumbs img.active { opacity: 1; border-color: var(--accent); }

.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,10,12,.94);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 86vh; border-radius: 6px; }
.lightbox-close, .lightbox-arrow {
  position: absolute;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
  padding: 10px;
}
.lightbox-close { top: 18px; right: 28px; font-size: 34px; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); font-size: 22px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-arrow:hover, .lightbox-close:hover { color: var(--accent); }

.property-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.property-main { flex: 1; min-width: 0; }
.property-title { font-size: 22px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.01em; }
.property-address { color: var(--text-muted); font-size: 14px; margin: 0 0 16px; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 16px; padding-bottom: 2px; }
.tabs a { padding: 8px 14px; text-decoration: none; color: var(--text-muted); font-size: 13.5px; font-weight: 600; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.tabs a span { color: var(--text-faint); font-weight: 500; }
.tabs a.active { color: var(--accent); border-bottom: 2px solid var(--accent); }

.facts { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 20px; }
.fact { background: var(--surface); border-radius: var(--radius-sm); padding: 10px 16px; font-size: 12.5px; color: var(--text-muted); }
.fact b { display: block; font-size: 15px; color: var(--text); }

.price-large { font-size: 26px; font-weight: 800; color: var(--text); }

.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 18px;
}
.content-card h2 { font-size: 16px; margin: 0 0 12px; font-weight: 700; }
.content-card .prose { font-size: 14.5px; line-height: 1.7; color: var(--text); }
.content-card .prose p { margin: 0 0 12px; }

.embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}
.embed-wrap:last-child { margin-bottom: 0; }
.embed-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.embed-wrap.embed-map { padding-top: 42%; }

.property-sidebar { width: 280px; flex-shrink: 0; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 84px;
  box-shadow: var(--shadow);
}
.rera-badge {
  display: inline-block;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 6px;
}

.share-block { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.share-block-inline { margin-top: 0; margin-bottom: 20px; padding-top: 0; border-top: none; }
.share-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.share-icons { display: flex; gap: 8px; }
.share-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  color: var(--text-muted);
  transition: background .15s ease, color .15s ease;
}
.share-icon:hover { color: #fff; }
.share-fb:hover { background: #1877f2; }
.share-x:hover { background: #14161a; }
.share-li:hover { background: #0a66c2; }
.share-ig:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }

@media (max-width: 760px) {
  .property-layout { flex-direction: column; }
  .property-sidebar { width: 100%; }
  .sidebar-card { position: static; }
}

/* Mobile sticky Call/WhatsApp bar */
.mobile-contact-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  height: 52px;
}
.mobile-contact-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}
.mobile-contact-bar a span { font-size: 16px; }
.mobile-contact-call { background: #14161a; }
.mobile-contact-whatsapp { background: #25d366; }

@media (max-width: 720px) {
  .mobile-contact-bar { display: flex; }
  body { padding-bottom: 52px; }
}

/* Mobile header */
@media (max-width: 720px) {
  .site-header .row {
    padding: 12px 16px;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .logo { font-size: 16px; }

  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    padding: 8px 16px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
  }
  .main-nav a:last-of-type { border-bottom: none; }
  .main-nav .nav-cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .search-layout{
    display:block;
  }

  .filter-sidebar{
    width:100%;
    margin-bottom:20px;
  }

  .card-grid{
    grid-template-columns:1fr;
  }
}
