/* Dadhwal Realty clone — Agents menu fix only (Nov 23, 2026).
   The hero agent profiles (photo, name, phone) are built with the classes
   "hidden lg:flex", so they never appear below the lg breakpoint — on phones
   the Agents menu showed no profiles. Display them on small screens too.
   Only the two agent figures carry this exact class combo.
   The matching custom.js tags their wrapper with id="agents" so the menu
   link has a target to scroll to. */
@media (max-width:1023.98px){
  .animate-fade-up.hidden.lg\:flex{display:flex !important}
}

/* Cookie consent banner + settings (GDPR) */
#cookieBanner{position:fixed;left:12px;right:12px;bottom:12px;z-index:9999;background:#fff;color:#292524;border:1px solid #e7e5e4;border-radius:10px;box-shadow:0 12px 32px rgba(0,0,0,.25);padding:14px 16px;display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;font-family:inherit}
#cookieBanner .cb-text{flex:1 1 320px;font-size:.86rem;line-height:1.45}
#cookieBanner .cb-text strong{display:block;font-size:.95rem;margin-bottom:2px}
#cookieBanner .cb-policy{margin-top:8px;font-size:.8rem;color:#57534e}
#cookieBanner .cb-policy p{margin:0 0 6px}
.cb-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cb-btn{appearance:none;border-radius:6px;padding:9px 16px;font-size:.88rem;font-weight:600;cursor:pointer;border:1px solid #292524}
.cb-btn.cb-accept{background:#292524;color:#fff}
.cb-btn.cb-decline{background:#fff;color:#292524}
.cb-btn.cb-delete{background:#fff;color:#b91c1c;border-color:#b91c1c}
.cb-link{appearance:none;background:none;border:none;padding:8px 6px;font-size:.85rem;color:#78716c;text-decoration:underline;cursor:pointer}
#cookieSettings{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;padding:16px}
#cookieSettings .cs-card{background:#fff;color:#292524;border-radius:10px;max-width:560px;width:100%;max-height:88vh;overflow:auto;padding:22px 24px;font-size:.88rem;line-height:1.5}
#cookieSettings .cs-card h2{margin:0 0 8px;font-size:1.15rem}
#cookieSettings .cs-card p{margin:0 0 8px}
#cookieSettings .cs-status{font-weight:600}
#cookieSettingsLink{display:block;margin:14px auto 0;background:none;border:none;color:inherit;opacity:.75;font-size:.82rem;text-decoration:underline;cursor:pointer;padding:6px}
@media (min-width:768px){#cookieBanner{left:auto;max-width:640px;right:20px;bottom:20px}}

/* Mobile fit (Nov 23, 2026): stop any element (decorative blur circles,
   the agents row) from widening the page past the phone screen. */
html,body{overflow-x:hidden}
@supports (overflow:clip){ html,body{overflow-x:clip} }
img,video,canvas{max-width:100%}
@media (max-width:1023.98px){
  #agents{width:100%;max-width:100%;box-sizing:border-box}
  .animate-fade-up.hidden.lg\:flex{flex:1 1 0;min-width:0}
  .animate-fade-up.hidden.lg\:flex img{max-width:100%;height:auto;max-height:224px}
}

/* Floating contact button + popup form */
#contactFab{position:fixed;right:20px;bottom:20px;z-index:9998;display:flex;align-items:center;gap:9px;background:#292524;color:#fff;border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:0 18px;height:54px;box-shadow:0 10px 26px rgba(0,0,0,.35);cursor:pointer;font-family:inherit;transition:transform .15s ease,box-shadow .15s ease}
#contactFab:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.4)}
#contactFab .fab-label{font-size:.9rem;font-weight:600;letter-spacing:.01em}
#contactFab.open{background:#57534e}
@media (max-width:640px){#contactFab{padding:0;width:54px;justify-content:center}#contactFab .fab-label{display:none}}
#contactPanel{position:fixed;right:20px;bottom:20px;z-index:9998;width:190px;max-width:calc(100vw - 24px);background:#fff;color:#292524;border:1px solid #e7e5e4;border-radius:12px;box-shadow:0 18px 44px rgba(0,0,0,.35);overflow:hidden;font-family:inherit}
@media (max-width:640px){#contactPanel{right:20px;bottom:20px}}
#contactPanel .cp-head{position:relative;background:#292524;color:#fff;padding:16px 18px 14px}
#contactPanel .cp-head strong{display:block;font-size:1.05rem}
#contactPanel .cp-head span{font-size:.82rem;opacity:.85}
#contactPanel .cp-close{position:absolute;top:8px;right:10px;background:none;border:none;color:#fff;font-size:1.5rem;line-height:1;cursor:pointer;padding:4px 8px}
#contactPanel .cp-form{padding:14px 18px 18px;display:flex;flex-direction:column;gap:10px}
#contactPanel .cp-form label{display:flex;flex-direction:column;gap:4px;font-size:.83rem;font-weight:600}
#contactPanel .cp-form label em{font-weight:400;color:#78716c;font-style:normal}
#contactPanel .cp-form input,#contactPanel .cp-form textarea{border:1px solid #d6d3d1;border-radius:6px;padding:9px 10px;font-size:.92rem;font-family:inherit;font-weight:400;color:#292524;background:#fff}
#contactPanel .cp-form input:focus,#contactPanel .cp-form textarea:focus{outline:2px solid #b98a2f;outline-offset:0;border-color:transparent}
#contactPanel .cp-error{margin:0;font-size:.83rem;color:#b91c1c}
#contactPanel .cp-submit{background:#292524;color:#fff;border:none;border-radius:6px;padding:11px;font-size:.95rem;font-weight:600;cursor:pointer}
#contactPanel .cp-submit:disabled{opacity:.6;cursor:wait}
#contactPanel .cp-done{padding:20px 18px 24px;text-align:center}
#contactPanel .cp-done strong{display:block;font-size:1rem;margin-bottom:4px}
#contactPanel .cp-done span{font-size:.86rem;color:#57534e}

/* Agent name/contact sizing + alignment (Nov 23, 2026):
   bigger name and contact lines; Parveen's contact rows left-aligned,
   Neeta's right-aligned, under their (centred) names. */
#agents p.font-heading{font-size:1.8rem;line-height:1.15}
#agents .mt-3 a{font-size:1.02rem}
#agents .mt-3 a svg{width:15px;height:15px}
#agents .agent-first .mt-3{align-items:flex-start}
#agents .agent-second .mt-3{align-items:flex-end}
@media (max-width:1023.98px){
  #agents p.font-heading{font-size:1.35rem}
  #agents .mt-3 a{font-size:.88rem}
  #agents .mt-3 a svg{width:13px;height:13px}
}

/* Agent alignment v2: give the text block full width so contact rows align
   to the real edges of each agent block (works regardless of JS tagging). */
#agents>div>div:last-child{width:100%}
#agents>div:nth-child(1) .mt-3{align-items:flex-start}
#agents>div:nth-child(2) .mt-3{align-items:flex-end}

/* Names follow the same alignment as their contact rows:
   Parveen left, Neeta right. */
#agents>div:nth-child(1)>div:last-child{text-align:left}
#agents>div:nth-child(2)>div:last-child{text-align:right}
#agents .agent-first>div:last-child{text-align:left}
#agents .agent-second>div:last-child{text-align:right}

/* Align the name/contact column with the photo above it: same width as
   the photo box (12rem, 16rem on xl) and centred the same way, so the
   left/right text edges match the photo edges. */
#agents>div>div:last-child{width:12rem}
@media (min-width:1280px){ #agents>div>div:last-child{width:16rem} }
@media (min-width:1024px) and (max-width:1279.98px){ #agents p.font-heading{font-size:1.45rem} }

/* Precise photo alignment: each text column is sized to the VISIBLE photo
   (the image sits slightly inside its box), so Parveen's text starts at his
   photo's left edge and Neeta's ends at her photo's right edge. */
#agents>div>div:last-child{width:auto}
#agents .agent-first>div:last-child{width:11.6rem}
#agents .agent-second>div:last-child{width:10.4rem}
#agents p.font-heading{white-space:nowrap}
@media (min-width:1280px){
  #agents .agent-first>div:last-child{width:15.4rem}
  #agents .agent-second>div:last-child{width:13.9rem}
}

/* Hero logo (replaces the headline text) */
#top h1 img[data-hero-logo]{display:block;width:min(425px,78vw);height:auto;margin-inline:auto}

/* Hero composition (Nov 23, 2026): agents lowered to sit against the
   logo's middle; Neeta nudged left, logo nudged right. */
@media (min-width:1024px){
  #agents .agent-first, #agents .agent-second{position:relative;top:48px}
  #agents .agent-second{left:-24px}
  section#top h1 img[data-hero-logo]{transform:translateX(24px)}
}

/* Contact button: always show the "Contact Us" label (no icon-only state). */
@media (max-width:640px){
  #contactFab{width:auto;padding:0 18px;justify-content:center}
  #contactFab .fab-label{display:inline}
}

/* Agent text alignment — measured from the actual photo files:
   Parveen's visible figure starts 10.9% into his photo box;
   Neeta's ends 13.3% before her box's right edge. Align the text
   columns to those real edges. */
#agents .agent-first>div:last-child{width:auto;align-self:flex-start;margin-left:10.9%}
#agents .agent-second>div:last-child{width:auto;align-self:flex-end;margin-right:13.3%}

/* Mobile hero order (Nov 23, 2026): centre logo + text first, then
   Parveen and Neeta side by side below. */
@media (max-width:1023.98px){
  #agents{display:flex;flex-wrap:wrap;align-items:flex-start}
  #agents>div:not(.agent-first):not(.agent-second){order:-1;flex:0 0 100%;width:100%;text-align:center}
  #agents>div:not(.agent-first):not(.agent-second) p{margin-inline:auto}
  #agents .agent-first, #agents .agent-second{order:0;margin-top:1.5rem;flex:1 1 40%}
  #agents .agent-first>div:first-child, #agents .agent-second>div:first-child{width:10rem;height:10rem}
  #agents .agent-first>div:last-child{margin-left:0}
  #agents .agent-second>div:last-child{margin-right:0}
  #agents p.font-heading{font-size:1.2rem}
  #agents .mt-3 a{font-size:.8rem}
}

/* Same picture dimensions vertically (Nov 23, 2026): the app's head-alignment
   renders the two photos at different sizes (Parveen's has a 1.1x scale and
   more headroom in its canvas). Override both images so the visible figures
   have identical height, tops and bottoms: figure height = 92% of the photo
   box for both. Parveen canvas figure spans y .230..1.000 (77.0%);
   Neeta's spans .017..1.000 (98.3%). */
#agents .agent-first img{height:119.5% !important;width:auto !important;max-width:none !important;left:50% !important;top:-19.5% !important;transform:translateX(-50%)}
#agents .agent-second img{height:93.6% !important;width:auto !important;max-width:none !important;left:50% !important;top:6.4% !important;transform:translateX(-50%)}
/* Text columns follow the figures' new edges (Parveen figure now starts
   4.6% into the box; Neeta's ends 10.4% before the right edge). */
@media (min-width:1024px){
  #agents .agent-first>div:last-child{margin-left:4.6%}
  #agents .agent-second>div:last-child{margin-right:10.4%}
}

/* Map price pins (Nov 23, 2026) — professional pill style (Zillow/HouseSigma
   pattern): fully rounded, bold, soft shadow, small caret at the point.
   The app sets the pin colours inline (dark pin = selected listing), so
   shape/typography are overridden with !important and the caret inherits
   whatever background the pin currently has. */
.dadhwal-pin>div{position:relative;width:max-content;border-radius:999px !important;padding:6px 11px !important;font-size:12px !important;font-weight:700 !important;letter-spacing:.01em !important;border:1px solid rgba(15,23,42,.28) !important;box-shadow:0 1px 2px rgba(15,23,42,.30),0 6px 16px rgba(15,23,42,.22) !important;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}
.dadhwal-pin>div::after{content:'';position:absolute;left:50%;bottom:-4px;width:8px;height:8px;transform:translateX(-50%) rotate(45deg);background:inherit;border-right:1px solid rgba(15,23,42,.28);border-bottom:1px solid rgba(15,23,42,.28)}
.dadhwal-pin>div:hover{transform:translate(-50%,-100%) scale(1.1) !important;box-shadow:0 2px 4px rgba(15,23,42,.32),0 10px 22px rgba(15,23,42,.28) !important}

/* Contact menu (Nov 23, 2026): Contact Us opens Call / WhatsApp / form options */
#contactMenu{position:fixed;right:20px;bottom:20px;z-index:9998;width:190px;max-width:calc(100vw - 24px);background:#fff;color:#292524;border:1px solid #e7e5e4;border-radius:12px;box-shadow:0 18px 44px rgba(0,0,0,.35);overflow:hidden;font-family:inherit}
@media (max-width:640px){#contactMenu{right:20px;bottom:20px}}
#contactMenu .cp-head{position:relative;background:#292524;color:#fff;padding:16px 18px 14px}
#contactMenu .cp-head strong{display:block;font-size:1.05rem}
#contactMenu .cp-head span{font-size:.82rem;opacity:.85}
#contactMenu .cp-close{position:absolute;top:8px;right:10px;background:none;border:none;color:#fff;font-size:1.5rem;line-height:1;cursor:pointer;padding:4px 8px}
#contactMenu .cm-body{padding:12px 14px 16px;display:flex;flex-direction:column;gap:6px}
#contactMenu .cm-label{margin:8px 2px 2px;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#78716c}
#contactMenu .cm-label:first-child{margin-top:0}
#contactMenu .cm-row{display:flex;align-items:center;gap:11px;padding:10px;border:1px solid #e7e5e4;border-radius:8px;color:#292524;text-decoration:none}
#contactMenu .cm-row:hover{background:#fafaf9;border-color:#d6d3d1}
#contactMenu .cm-row svg{flex:0 0 auto;color:#44403c}
#contactMenu .cm-who{display:flex;flex-direction:column;line-height:1.25}
#contactMenu .cm-who strong{font-size:.93rem}
#contactMenu .cm-who span{font-size:.82rem;color:#78716c}
#contactMenu .cm-form-btn{margin-top:10px;display:flex;align-items:center;justify-content:center;gap:9px;background:#292524;color:#fff;border:none;border-radius:8px;padding:12px;font-size:.95rem;font-weight:600;cursor:pointer;font-family:inherit;width:100%}
#contactPanel .cp-backlink{align-self:flex-start;background:none;border:none;color:#57534e;font-size:.83rem;text-decoration:underline;cursor:pointer;padding:0}

/* Narrow popup adjustments (half-width panels) */
#contactMenu .cm-row{padding:9px 8px;gap:9px}
#contactMenu .cm-who strong{font-size:.88rem}
#contactPanel .cp-form{padding:12px 14px 16px}
#contactMenu .cp-head, #contactPanel .cp-head{padding:14px 14px 12px}

/* ================= Material Design 3 theme (Nov 24, 2026) =================
   Everything scoped under html.md — the class + theme variables are set
   by the activation block at the end of custom.js. Remove that block
   (or restore the pre-material backup) to revert completely. */
html.md section#top > div:nth-child(1){background:linear-gradient(180deg,#a8c7fa 0%,#d3e3fd 46%,#f8f9ff 100%)!important}
html.md section#top > div:nth-child(2){background:radial-gradient(95% 70% at 50% -10%,rgba(11,87,208,.16),transparent 62%)!important}
html.md section#top [class*="text-white"]{color:#191c20!important}
html.md section#top [class*="text-background"]{color:#191c20!important}
html.md section#top [class*="text-white/"]{color:rgba(25,28,32,.68)!important}
html.md section#top [class*="text-background/"]{color:rgba(25,28,32,.68)!important}
html.md section#top [class*="border-white"]{border-color:rgba(25,28,32,.32)!important}
html.md section#top .glass{background:#fff!important;border-color:#c4c6d0!important;border-radius:24px!important;box-shadow:0 8px 28px rgba(11,87,208,.14)!important}
html.md section#top [class*="bg-white/60"]{background:#e9eef7!important;border-color:#c4c6d0!important;border-radius:12px!important}
html.md section#top button[class*="bg-foreground"]{background:#0b57d0!important;color:#fff!important;border-radius:999px!important}
html.md button.group.bg-card{border-radius:20px!important;border-color:#c4c6d0!important;box-shadow:0 1px 2px rgba(16,24,40,.07),0 4px 16px rgba(16,24,40,.06)!important}
html.md button.group.bg-card:hover{box-shadow:0 2px 4px rgba(16,24,40,.08),0 12px 28px rgba(11,87,208,.16)!important}
html.md #contactFab{background:#0b57d0;box-shadow:0 6px 20px rgba(11,87,208,.45)}
html.md #contactMenu, html.md #contactPanel{border-radius:24px}
html.md #contactMenu .cp-head, html.md #contactPanel .cp-head{background:#0b57d0}
html.md #contactMenu .cm-form-btn{background:#0b57d0}
html.md #contactPanel .cp-submit{background:#0b57d0}

/* Search-by-city section removed (Nov 24, 2026): redundant — the hero
   search panel, its Popular city row, and Map Search already cover it. */
section#search-by-city{display:none}

/* Coverage text embedded at the top of the hero (Nov 24, 2026):
   centred, single column, spread wide so the hero stays compact
   and the search panel lands in view without scrolling. */
#coverageTop{max-width:64rem;margin:0 auto;border-top:none;padding:0 1rem;grid-template-columns:1fr;text-align:center}
#coverageTop p{margin-inline:auto;max-width:64rem}
html.md section#top>div:nth-child(3){padding-top:5.9rem!important}

/* Testimonial marquee strip in the hero (Nov 24, 2026): sits between
   the agents row and the Popular/search block. */
#testiMarquee{width:100%;margin-top:.4rem;display:flex;align-items:center;justify-content:center;text-align:center;padding:0 1rem}
#testiMarquee .tm-item{display:block;font-size:1.02rem;line-height:1.45;color:#44474f;transition:opacity .45s ease;max-width:62rem}
#testiMarquee .tm-item b{color:#191c20;font-weight:600}
#testiMarquee .tm-item.tm-fade{opacity:0}
#testiMarquee{height:4.35em}
@media (max-width:1023.98px){#testiMarquee .tm-item{font-size:.95rem}}
#coverageTop h3{margin-top:0}

/* Hero vertical rebalance (Nov 24, 2026): heading clears the fixed
   header, centre piece drops to the agents' contact line, stats
   strip pushed below the first screen. */
#coverageTop h3{font-size:1.9rem;line-height:1.12}
#coverageTop p{margin-top:.4rem}
#agents .agent-first>div:nth-child(2), #agents .agent-second>div:nth-child(2){margin-top:.5rem}
html.md section#top .glass{padding:.9rem}
#heroStats{margin-top:.25rem!important;margin-bottom:.5rem;column-gap:2rem;row-gap:.25rem;justify-content:center}
#heroStats .font-heading{font-size:1.3rem!important;line-height:1.1}
@media (min-width:1024px){
  #agents>div:not(.agent-first):not(.agent-second){position:relative;top:30px}
}
@media (min-width:1280px){
  #agents .agent-first>div:nth-child(1), #agents .agent-second>div:nth-child(1){width:14.5rem!important;height:14.5rem!important}
}

/* Section heading system (Nov 24, 2026): the small caps section
   labels become headline-sized, every section's main heading shares
   one size, and Power of Sale fills its fold so Exclusive Listings
   starts on the next screen. */
.sec-eyebrow{font-family:var(--font-heading);font-size:1.5rem!important;line-height:1.15;letter-spacing:.02em;text-transform:none;font-weight:500}
@media (min-width:1024px){
  .sec-eyebrow{font-size:1.9rem!important}
  main section h2{font-size:3.75rem!important}
}
section#power-of-sale{min-height:100svh}

/* Testimonials: bigger, full-size review cards (Nov 24, 2026) */
section#testimonials figure{padding:2.25rem!important;border-radius:20px}
section#testimonials figure blockquote{font-size:1.28rem;line-height:1.6}
section#testimonials figure figcaption span{font-size:1.45rem!important}
section#testimonials figure svg{width:1.35rem;height:1.35rem}
@media (min-width:1024px){
  section#testimonials .grid:has(>figure){grid-template-columns:repeat(2,1fr);gap:2rem}
}

/* Contact Us button: keep its own dark colour under Material (the
   Search button owns the blue), and step aside while the hero search
   panel is on screen so the two never overlap (Nov 24, 2026) */
html.md #contactFab{background:#292524;box-shadow:0 10px 26px rgba(0,0,0,.35)}

/* Search panel clears the floating Contact Us button on wide
   screens: the panel stops 150px short of the right edge so the
   two never overlap, and the button stays visible (Nov 24, 2026) */
@media (min-width:1024px){
  section#top .glass{margin-right:150px}
}
