/* Badya Palm Hills — Quiet Luxury, homepage only. */
body.home {
  --badya-home-quiet-border: #e9e3e5;
  --badya-home-paper: #faf8f8;
  --badya-home-text: #151318;
  --badya-home-muted: #64636b;
}
body.home main :is(h1,h2,h3) {
  text-wrap: balance;
  line-height: 1.3;
  letter-spacing: -.012em;
}
body.home main :is(p,li) {
  overflow-wrap: break-word;
}
body.home main :is(img,video) {
  max-width: 100%;
}
body.home main :is(a,button,input,select,textarea):focus-visible {
  outline: 3px solid #98002e;
  outline-offset: 3px;
}
body.home main :is(.elementor-button,.button,button[type="submit"]) {
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
@media (max-width: 767px) {
  body.home main :is(h1,h2,h3) {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home main :is(.elementor-button,.button,button[type="submit"]) {
    transition: none;
  }
}

/* Editorial composition: typography and breathing room, not content changes. */
body.home main :is(.elementor-section,.e-con) { min-width:0; }
body.home main h1 {font-size:clamp(2.2rem,4vw,3.6rem);line-height:1.16;letter-spacing:-.025em}
body.home main h2 {font-size:clamp(1.7rem,2.65vw,2.6rem);line-height:1.25;letter-spacing:-.018em}
body.home main h3 {line-height:1.35}
body.home main :is(p,li) {line-height:1.78}
body.home main :is(.elementor-widget-text-editor,.elementor-widget-heading) {min-width:0}
body.home main :is(.elementor-widget-image img,.elementor-image img) {display:block;max-width:100%}
body.home main :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
  border:1px solid var(--badya-home-quiet-border);
  border-radius:9px;
  box-shadow:none;
  min-height:46px;
}
body.home main :is(.elementor-button,button[type=submit]) {
  border-radius:9px;
  box-shadow:none;
  font-weight:600;
}
body.home main :is(.elementor-button,button[type=submit]):hover {transform:none}
body.home main .elementor-widget-image a {display:block}
@media(min-width:1025px) {
  body.home main :is(.elementor-section-boxed>.elementor-container,.e-con-boxed>.e-con-inner) {max-width:1350px}
}
@media(max-width:767px) {
  body.home main h1 {font-size:clamp(1.95rem,8.4vw,2.65rem);line-height:1.2}
  body.home main h2 {font-size:clamp(1.55rem,6vw,2.1rem)}
  body.home main :is(p,li) {line-height:1.7}
  body.home main :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {max-width:100%}
}

/* Editorial section rhythm: applies only to top-level homepage Elementor sections. */
body.home main .elementor > .elementor-section + .elementor-section {
  margin-block-start:clamp(38px,5vw,80px);
}
body.home main .elementor > .e-con.e-parent + .e-con.e-parent {
  margin-block-start:clamp(38px,5vw,80px);
}
body.home main .elementor-widget-heading + .elementor-widget-text-editor {
  margin-block-start:12px;
}
body.home main .elementor :is(.elementor-image-box-wrapper,.elementor-icon-box-wrapper) {
  box-shadow:none;
}
body.home main .elementor :is(.elementor-widget-image-box,.elementor-widget-icon-box) {
  min-width:0;
}
body.home main .elementor :is(.elementor-image-box-title,.elementor-icon-box-title) {
  line-height:1.4;
}
body.home main .elementor :is(.elementor-image-box-description,.elementor-icon-box-description) {
  color:var(--badya-home-muted);
}
body.home main :is(.elementor-button,.button) {
  box-shadow:none!important;
  text-decoration:none;
}
@media (max-width:767px) {
  body.home main .elementor > .elementor-section + .elementor-section,
  body.home main .elementor > .e-con.e-parent + .e-con.e-parent {
    margin-block-start:36px;
  }
}

/* V1.3: verified homepage widget selectors (Elementor page 2481). */
body.home #badya-ar-v19 {
  --quiet-ink:#151318;
  --quiet-line:#e9e3e5;
  --quiet-muted:#64636b;
}
body.home #badya-ar-v19 :is(.hero,.premium-summary,.visual-masterplan,.budget-section,.phases,.badya-progress,.october-pitch,.services-clean,.location-clean,.developer-section,.badya-gallery,.badya-offers,.faq) h2 {
  font-size:clamp(1.75rem,2.7vw,2.65rem);
  line-height:1.28;
  text-wrap:balance;
  letter-spacing:-.015em;
}
body.home #badya-ar-v19 .hero h1 {
  font-size:clamp(2.25rem,4.15vw,3.75rem);
  line-height:1.14;
  letter-spacing:-.025em;
  text-wrap:balance;
}
body.home #badya-ar-v19 .hero :is(p,.lead) {
  line-height:1.8;
  max-width:68ch;
}
body.home #badya-ar-v19 :is(.premium-summary,.visual-masterplan,.budget-section,.phases,.badya-progress,.services-clean,.location-clean,.developer-section,.badya-gallery,.faq) :is(p,li) {
  line-height:1.78;
}
body.home #badya-ar-v19 :is(.budget-section,.phases,.services-clean,.badya-offers) :is(article,.card) {
  box-shadow:none;
}
body.home #badya-ar-v19 :is(.budget-section,.phases,.services-clean,.badya-offers) :is(article,.card):hover {
  transform:none;
}
body.home #badya-ar-v19 :is(.faq,.badya-questions-add) details {
  border-color:var(--quiet-line);
}
body.home #badya-ar-v19 :is(.hero,.premium-summary,.visual-masterplan,.badya-gallery) img {
  max-width:100%;
  height:auto;
}
@media (max-width:767px) {
 body.home #badya-ar-v19 .hero h1 {font-size:clamp(1.95rem,8vw,2.65rem)}
 body.home #badya-ar-v19 :is(.hero,.premium-summary,.visual-masterplan,.budget-section,.phases,.badya-progress,.october-pitch,.services-clean,.location-clean,.developer-section,.badya-gallery,.badya-offers,.faq) h2 {font-size:clamp(1.6rem,6vw,2.15rem)}
}

/* v1.4 | Hero and conversion polish, preserving original HTML and content. */
body.home #badya-ar-v19 .hero {
  isolation:isolate;
}
body.home #badya-ar-v19 .hero h1 {
  max-width:19ch;
  margin-block:0 18px;
  line-height:1.15;
  letter-spacing:-.025em;
}
body.home #badya-ar-v19 .hero h1 + p {
  max-width:65ch;
  line-height:1.8;
}
body.home #badya-ar-v19 .hero :is(input,select,textarea) {
  min-height:48px;
  border-radius:8px;
  box-shadow:none;
}
body.home #badya-ar-v19 .hero :is(button,.btn,.button) {
  min-height:46px;
  border-radius:8px;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease;
}
body.home #badya-ar-v19 .hero :is(button,.btn,.button):hover {
  transform:none;
}
body.home #badya-ar-v19 .hero :is(img,picture,video) {
  max-width:100%;
}
body.home #badya-ar-v19 :is(.visual-masterplan,.location-clean,.badya-gallery) img {
  display:block;
  max-width:100%;
  object-fit:cover;
}
body.home #badya-ar-v19 :is(.budget-section,.phases,.services-clean) :is(h3,h4) {
  line-height:1.4;
  text-wrap:balance;
}
body.home #badya-ar-v19 :is(.budget-section,.phases,.services-clean) :is(p,li) {
  line-height:1.75;
}
body.home #badya-inventory-v19 :is(input,select,button) {
  min-height:44px;
}
@media(max-width:767px){
  body.home #badya-ar-v19 .hero h1 {max-width:none;margin-block-end:14px;}
  body.home #badya-ar-v19 .hero :is(button,.btn,.button) {min-height:48px;}
}

/* v1.5 — first visible structural redesign: verified hero-grid children. */
@media (min-width: 960px) {
 body.home #badya-ar-v19 .hero > .hero-grid {
   display:grid;
   grid-template-columns:minmax(0,1.45fr) minmax(315px,.85fr);
   align-items:center;
   gap:clamp(38px,5vw,82px);
 }
 body.home #badya-ar-v19 .hero > .hero-grid > .hero-content,
 body.home #badya-ar-v19 .hero > .hero-grid > .lead-card {
   min-width:0;
 }
}
body.home #badya-ar-v19 .hero > .hero-grid > .hero-content {
 text-align:start;
}
body.home #badya-ar-v19 .hero > .hero-grid > .lead-card {
 border:1px solid rgba(152,0,46,.13);
 border-radius:14px;
 box-shadow:0 14px 42px rgba(23,16,20,.055);
 padding:clamp(22px,2.4vw,38px);
 background:#fff;
}
body.home #badya-ar-v19 .hero > .hero-grid > .lead-card :is(input,select,textarea){
 border:1px solid #ded7da;
 border-radius:8px;
 background:#fff;
}
@media(max-width:959px){
 body.home #badya-ar-v19 .hero > .hero-grid {
   display:grid;
   grid-template-columns:minmax(0,1fr);
   gap:30px;
 }
 body.home #badya-ar-v19 .hero > .hero-grid > .lead-card {
   padding:clamp(18px,4vw,28px);
   box-shadow:0 7px 28px rgba(23,16,20,.04);
 }
}
