/* ===========================================
   SHARED HOUSING SOCIETY COMPONENTS
   Used by all housing-society pages.
   Colors controlled via --hs-* CSS variables
   set in each society's own CSS file.
   =========================================== */

/* ── Color Defaults (override in society CSS) ─────────────────── */
:root {
  --hs-primary:       var(--primary-color);
  --hs-primary-dark:  #1e3a5f;
  --hs-accent:        var(--accent-dark);
  --hs-accent-mid:    var(--accent-color);
  --hs-accent-light:  var(--accent-light);
  --hs-hero-ov1:      rgba(15, 37, 87, 0.70);
  --hs-hero-ov2:      rgba(6,  95, 70, 0.45);
}

/* ── Shared Hero Text ─────────────────────────────────────────── */
.society-hero {
  min-height: 58vh;
  padding-top: 100px;
  padding-bottom: 3rem;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.society-hero .section-title h1,
.society-hero .section-title p {
  color: var(--white);
}

.society-hero .section-title h1 {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.society-hero .section-title p {
  font-size: 1.1rem;
  opacity: 0.92;
}

/* ── Trust Badges (hero pills) ────────────────────────────────── */
.hero-trust-badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.trust-badge i {
  margin-right: 5px;
  color: var(--hs-accent-light);
}

/* ── Stats Strip ─────────────────────────────────────────────── */
.hs-stats-strip {
  background: linear-gradient(135deg, var(--hs-primary) 0%, var(--hs-primary-dark) 100%);
  padding: 1.75rem 0;
  position: relative;
  overflow: hidden;
}

.hs-stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
}

.hs-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}

.hs-stat-item {
  text-align: center;
  color: var(--white);
  padding: 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

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

.hs-stat-icon {
  font-size: 1.4rem;
  color: var(--hs-accent-light);
  margin-bottom: 0.4rem;
  display: block;
}

.hs-stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.hs-stat-label {
  font-size: 0.72rem;
  opacity: 0.78;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
  display: block;
}

/* ── Highlights / Amenities Grid ──────────────────────────────── */
.hs-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hs-highlight-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hs-highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--hs-accent-mid);
}

.hs-highlight-icon {
  font-size: 1.75rem;
  color: var(--hs-accent-mid);
  margin-bottom: 0.6rem;
  display: block;
}

.hs-highlight-title {
  font-weight: 600;
  color: var(--hs-primary);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* ── Block / Zone Cards ───────────────────────────────────────── */
.hs-blocks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.hs-block-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.hs-block-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hs-primary), var(--hs-primary-dark));
}

.hs-block-card.special::before {
  background: linear-gradient(90deg, var(--hs-accent-mid), var(--hs-accent));
}

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

.hs-block-icon {
  font-size: 1.75rem;
  color: var(--hs-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.hs-block-card.special .hs-block-icon {
  color: var(--hs-accent-mid);
}

.hs-block-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hs-primary);
  margin-bottom: 0.3rem;
}

.hs-block-size {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--accent-text);
  background: var(--success-bg);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.hs-block-desc {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* ── Route / Access Cards ─────────────────────────────────────── */
.hs-routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.hs-route-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--hs-primary);
  box-shadow: var(--shadow-sm);
}

.hs-route-card.active   { border-left-color: var(--hs-accent-mid); }
.hs-route-card.building { border-left-color: var(--accent-gold); }
.hs-route-card.soon     { border-left-color: var(--text-muted); }

.hs-route-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.hs-route-card.active   .hs-route-status { color: var(--accent-text); }
.hs-route-card.building .hs-route-status { color: var(--accent-gold); }
.hs-route-card.soon     .hs-route-status { color: var(--text-muted); }

.hs-route-title {
  font-weight: 600;
  color: var(--hs-primary);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.hs-route-desc {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* ── Step Cards (Booking Process) ────────────────────────────── */
.hs-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .hs-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hs-steps-grid {
    grid-template-columns: 1fr;
  }
}

.hs-step-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--hs-primary);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.hs-step-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--hs-accent-mid);
  border-top-color: var(--hs-accent-mid);
}

.hs-step-card h3 {
  font-weight: 700;
  color: var(--hs-primary);
  font-size: 0.97rem;
  line-height: 1.4;
  margin: 0;
}

.hs-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hs-step-header h3 {
  margin: 0;
  font-size: 0.97rem !important;
}

.hs-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hs-step-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.5;
}

.hs-step-list li i {
  color: var(--hs-accent-mid);
  font-size: 0.78rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.hs-step-number {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: linear-gradient(135deg, var(--hs-primary), var(--hs-accent));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hs-step-title {
  font-weight: 700;
  color: var(--hs-primary);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.hs-step-desc {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* ── Amenity Cards (with descriptions) ──────────────────────── */
.hs-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.hs-amenity-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

.hs-amenity-icon {
  font-size: 2rem;
  color: var(--hs-accent-mid);
  margin-bottom: 0.75rem;
  display: block;
}

.hs-amenity-title {
  font-weight: 700;
  color: var(--hs-primary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.hs-amenity-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* ── Distances Grid ──────────────────────────────────────────── */
.hs-distances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.hs-distance-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.hs-distance-icon {
  font-size: 1.2rem;
  color: var(--hs-accent-mid);
  margin-top: 2px;
  flex-shrink: 0;
}

.hs-distance-dest {
  font-weight: 600;
  color: var(--hs-primary);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.hs-distance-val {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Legal Fact Badges ────────────────────────────────────────── */
.hs-legal-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.hs-legal-badge {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--hs-accent-mid);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  box-shadow: var(--shadow-sm);
}

.hs-legal-badge-icon {
  font-size: 1rem;
  color: var(--hs-accent-mid);
  margin-bottom: 0.2rem;
}

.hs-legal-badge-label {
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.hs-legal-badge-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hs-primary);
}

/* ── Reasons Grid (Why Invest) ───────────────────────────────── */
.hs-reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.hs-reason-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.hs-reason-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--hs-accent-mid);
}

.hs-reason-num-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.hs-reason-icon {
  font-size: 1rem;
  color: var(--hs-accent-mid);
}

.hs-reason-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, var(--hs-primary), var(--hs-accent));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hs-reason-content h3 {
  font-weight: 700;
  color: var(--hs-primary);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.hs-reason-content p {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
}

/* ── Step Cards (new class variant) ─────────────────────────── */
.hs-step-num {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: linear-gradient(135deg, var(--hs-primary), var(--hs-accent));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.hs-step-content h3 {
  font-weight: 700;
  color: var(--hs-primary);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.hs-step-content p {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
}

/* ── Developer Cards ─────────────────────────────────────────── */
.hs-dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.hs-dev-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

.hs-dev-icon-wrap {
  background: linear-gradient(135deg, var(--hs-primary) 0%, var(--hs-accent) 100%);
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hs-dev-icon {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hs-dev-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.hs-dev-badge {
  display: inline-block;
  background: var(--hs-accent-light, #e8f5e9);
  color: var(--hs-accent-mid);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
}

.hs-dev-body h3 {
  font-size: 1.05rem;
  color: var(--hs-primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hs-dev-body p {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.hs-dev-body p:last-child { margin-bottom: 0; }

/* ── FAQ Accordion (button-based) ────────────────────────────── */
.hs-faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hs-faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hs-faq-item.hs-faq-open {
  border-color: var(--hs-accent-mid);
  box-shadow: var(--shadow-md);
}

.hs-faq-question {
  width: 100%;
  background: none;
  border: none;
  font-weight: 600;
  color: var(--hs-primary);
  font-size: 0.95rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  transition: background 0.15s ease;
}

.hs-faq-question:hover {
  background: var(--bg-light, #f8f9fc);
}

.hs-faq-item.hs-faq-open .hs-faq-question {
  background: var(--bg-light, #f8f9fc);
  border-bottom: 1px solid var(--border-color);
}

.hs-faq-q-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: linear-gradient(135deg, var(--hs-primary), var(--hs-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hs-faq-q-icon i {
  font-size: 0.75rem;
  color: var(--white);
}

.hs-faq-q-text {
  flex: 1;
  line-height: 1.4;
}

.hs-faq-chevron {
  flex-shrink: 0;
  color: var(--hs-accent-mid);
  transition: transform 0.25s ease;
}

.hs-faq-chevron i {
  font-size: 0.8rem;
}

.hs-faq-item.hs-faq-open .hs-faq-chevron {
  transform: rotate(180deg);
}

.hs-faq-answer {
  padding: 1rem 1.25rem 1.1rem 1.25rem;
}

.hs-faq-answer p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

/* ── CTA Section ─────────────────────────────────────────────── */
.hs-cta-section {
  background: linear-gradient(135deg, var(--hs-primary) 0%, var(--hs-primary-dark) 50%, var(--hs-accent) 100%);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hs-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
}

.hs-cta-section .section-title,
.hs-cta-section .section-title h2,
.hs-cta-section .section-title p {
  color: var(--white);
  position: relative;
}

.hs-cta-section .section-title p {
  opacity: 0.85;
}

.hs-contact-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  max-width: 580px;
  margin: 0 auto 2rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  position: relative;
}

.hs-contact-box h3 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hs-contact-item {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hs-contact-item i {
  color: var(--hs-accent-light);
  width: 18px;
}

.hs-contact-item a {
  color: var(--hs-accent-light);
  font-weight: 600;
}

.hs-contact-item a:hover {
  color: var(--white);
}

.hs-office-hours {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.75rem;
}

.hs-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 1.5rem;
}

.hs-cta-buttons .cta-button {
  padding: 13px 28px;
  font-size: 0.92rem;
  min-width: 150px;
  text-align: center;
}

.hs-cta-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-style: italic;
  position: relative;
}

/* ── CTA Buttons ─────────────────────────────────────────────── */
.btn-call {
  background: var(--white) !important;
  color: var(--hs-primary) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.btn-call:hover {
  background: var(--light-bg) !important;
  color: var(--hs-primary) !important;
  filter: none !important;
}

.btn-wa {
  background: var(--whatsapp-color) !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3) !important;
}

.btn-inquiry {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: none !important;
}

.btn-inquiry:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  filter: none !important;
}

/* ── Property Cards (page-level overrides) ───────────────────── */
.hs-properties .property-card {
  border-radius: var(--radius-xl);
}

.hs-properties .property-card img {
  height: 170px;
}

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

.property-location-tag i {
  color: var(--hs-accent-mid);
  font-size: 0.75rem;
}

/* ── About Highlights Strip ──────────────────────────────────── */
.hs-about-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1rem;
  margin: 1.25rem 0 1.5rem;
}

.hs-about-hl {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, var(--success-bg, #ecfdf5), #d1fae5);
  border: 1px solid rgba(6, 95, 70, 0.18);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-text, #065f46);
  white-space: nowrap;
}

.hs-about-hl i {
  color: var(--hs-accent-mid);
  font-size: 0.8rem;
}
/* ── About Section Image ────────────────────────────────── */
.hs-about-img-wrap {
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hs-about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 420px;
}

/* ── Pricing Table Wrapper ───────────────────────────────────── */
.hs-table-wrap {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 460px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* Remove top margin inside scroll container */
.hs-table-wrap .property-table {
  margin: 0;
}

.hs-table-wrap .property-table th,
.hs-table-wrap .property-table td {
  padding: 11px 16px;
}

.hs-table-wrap .property-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  /* Box-shadow replaces bottom border that breaks with sticky + border-collapse */
  box-shadow: 0 2px 0 rgba(26, 54, 93, 0.25);
}

.hs-table-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.hs-table-note i {
  color: var(--hs-accent-mid);
  margin-right: 4px;
}

/* ── Available Properties Grid ───────────────────────────────── */
.hs-prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Center a lone last card when it starts a new row (e.g. 4th card in 3-col grid) */
.hs-prop-grid > *:last-child:nth-child(3n + 1) {
  grid-column: 2;
}


/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .society-hero {
    min-height: 42vh;
    padding-top: 80px;
  }

  .hs-amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hs-distances-grid {
    grid-template-columns: 1fr;
  }

  .hs-legal-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .hs-reasons-grid {
    grid-template-columns: 1fr;
  }

  .hs-dev-grid {
    grid-template-columns: 1fr;
  }

  .hs-prop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hs-about-highlights {
    gap: 0.5rem 0.75rem;
  }

  .hs-faq-question {
    font-size: 0.88rem;
    padding: 0.9rem 1rem;
    gap: 0.65rem;
  }

  .hs-faq-q-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .hs-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .hs-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
  }

  .hs-stat-item:last-child,
  .hs-stat-item:nth-child(3) {
    border-bottom: none;
  }

  .hs-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hs-cta-buttons .cta-button {
    width: 100%;
    max-width: 280px;
  }

  .hero-trust-badges {
    gap: 0.5rem;
  }

  .trust-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
  }
}

@media (max-width: 480px) {
  .hs-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hs-stat-item:nth-child(3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hs-amenities-grid {
    grid-template-columns: 1fr;
  }

  .hs-legal-badges {
    grid-template-columns: 1fr;
  }

  .hs-prop-grid {
    grid-template-columns: 1fr;
  }

  .hs-about-hl {
    font-size: 0.76rem;
    padding: 4px 10px;
  }
}
