/* ==========================================================================
   Baldia Interior India Pvt. Ltd. — Inner pages
   Page hero, quick-answer box, feature cards, photo gallery + lightbox,
   floor-plan card, related links, blog listing/article, contact and legal.
   Loaded after components.css. Bootstrap rows/cols + Flexbox only (no Grid).
   ========================================================================== */

/* --- Page hero ---------------------------------------------------------- */
.ph {
  position: relative; overflow: hidden; background: var(--ivory);
  padding-block: clamp(2rem, 1.4rem + 2.5vw, 3.5rem) clamp(3rem, 2rem + 3vw, 4.5rem);
}
.ph::before {
  content: ""; position: absolute; right: -12%; top: -30%; width: 60%; height: 150%;
  background: radial-gradient(closest-side, rgba(252,81,13,.09), transparent); pointer-events: none;
}
.ph .container { position: relative; }
.ph h1 {
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.025em;
  color: var(--ink); margin-bottom: 1rem;
}
.ph .ph-lead { font-size: clamp(1.02rem, .98rem + .3vw, 1.14rem); color: var(--muted); max-width: 56ch; margin-bottom: 1.6rem; }
.ph-points { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.ph-points li { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.ph-points i { color: var(--brand-orange); }
.ph-visual { position: relative; max-width: 560px; margin-left: auto; padding: 0 0 1.8rem 1.8rem; }
.ph-img { position: relative; border-radius: 28px 28px 28px 120px; overflow: hidden; aspect-ratio: 5/4; background: var(--sand); box-shadow: var(--shadow-lg); }
.ph-img img { width: 100%; height: 100%; object-fit: cover; }
.ph-visual .v2-float { top: auto; bottom: 0; left: 0; }
.ph-visual .ph-dots {
  position: absolute; right: -14px; top: -14px; width: 120px; height: 120px; z-index: -1; opacity: .5;
  background-image: radial-gradient(var(--brand-orange) 1.6px, transparent 1.6px); background-size: 14px 14px;
}
.ph--compact { text-align: center; padding-block: clamp(2rem, 1.5rem + 2vw, 3.2rem) clamp(2.4rem, 1.8rem + 2.5vw, 3.8rem); }
.ph--compact .ph-lead { margin-inline: auto; margin-bottom: 0; }
.ph--compact .crumbs ol { justify-content: center; }
@media (max-width: 991.98px) {
  .ph-visual { margin: 1rem auto 0; padding-left: 1rem; }
}
@media (max-width: 575.98px) {
  .ph .v2-hero__actions .btn { width: 100%; }
  .ph-img { border-radius: 22px 22px 22px 70px; }
}

/* Breadcrumb */
.crumbs { margin-bottom: 1.2rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .84rem; font-family: var(--font-head); }
.crumbs li { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); }
.crumbs li + li::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: .62rem; color: var(--brand-orange); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-orange); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* --- Quick answer + key facts (answer-first block) ---------------------- */
.qa-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
  overflow: hidden; position: relative; z-index: 2; margin-top: -1.5rem;
}
.qa-card .qa-main { padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); height: 100%; }
.qa-card .qa-tag {
  display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-orange); margin-bottom: .7rem;
}
.qa-card h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); margin-bottom: .7rem; }
.qa-card .qa-main p { margin: 0; color: #3d4350; font-size: 1rem; line-height: 1.7; }
.qa-card .qa-facts { background: var(--navy); color: #fff; padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); height: 100%; }
.qa-card .qa-facts h3 { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 1rem; }
.qa-card dl { margin: 0; }
.qa-card dl div { display: flex; gap: 1rem; justify-content: space-between; padding: .6rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.qa-card dt { font-weight: 500; color: #9fadc6; flex: 0 0 auto; }
.qa-card dd { margin: 0; text-align: right; color: #fff; font-family: var(--font-head); font-weight: 600; }

/* --- Intro split -------------------------------------------------------- */
.intro-media { position: relative; }
.intro-media .im-main { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3.2; box-shadow: var(--shadow-lg); background: var(--sand); }
.intro-media .im-main img { width: 100%; height: 100%; object-fit: cover; }
.intro-media .im-sub {
  position: absolute; right: -1rem; bottom: -2rem; width: 42%; aspect-ratio: 1/1; border-radius: var(--radius-xl);
  overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); background: var(--sand);
}
.intro-media .im-sub img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) { .intro-media .im-sub { right: .5rem; bottom: -1.5rem; } }
.prose-lg p { color: var(--muted); }

/* --- Feature cards ------------------------------------------------------ */
.fcard {
  height: 100%; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.8rem 1.6rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.fcard .fi {
  width: 54px; height: 54px; border-radius: 15px; background: var(--brand-orange-050); color: var(--brand-orange);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.2rem; transition: all .3s var(--ease);
}
.fcard:hover .fi { background: var(--brand-orange); color: #fff; transform: rotate(-6deg); }
.fcard h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.fcard p { font-size: .93rem; color: var(--muted); margin: 0; }
.fcard .fn { font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .14em; color: var(--brand-orange); display: block; margin-bottom: .5rem; }
.bg-ivory .fcard, .bg-sand .fcard { border-color: transparent; }

/* Compact feature row (icon + text) */
.frow { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-top: 1px solid var(--border); }
.frow:last-child { border-bottom: 1px solid var(--border); }
.frow .fi { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.frow h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.frow p { margin: 0; font-size: .92rem; color: var(--muted); }

/* --- Comparison / spec table ------------------------------------------- */
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; font-size: .93rem; }
.spec-table th, .spec-table td { padding: .95rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.spec-table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .86rem; letter-spacing: .03em; }
.spec-table tbody th { font-family: var(--font-head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.spec-table td { color: #444a55; }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:nth-child(even) { background: var(--ivory); }
.table-scroll { overflow-x: auto; border-radius: var(--radius-xl); }

/* --- Floor-plan card ---------------------------------------------------- */
.plan-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.2rem; box-shadow: var(--shadow-md); margin: 0; }
.plan-card img { width: 100%; height: auto; border-radius: 10px; background: var(--ivory); }
.plan-card figcaption { font-size: .85rem; color: var(--muted); margin-top: .8rem; display: flex; gap: .5rem; align-items: flex-start; }
.plan-card figcaption i { color: var(--brand-orange); }

/* --- Photo gallery (Bootstrap cols) + lightbox --------------------------- */
.pgal .pg-item { display: block; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: var(--sand); }
.pgal .pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pgal .pg-item::after {
  content: "\F52A"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff; background: rgba(6,18,42,.45); opacity: 0; transition: opacity .3s var(--ease);
}
.pgal .pg-item:hover img { transform: scale(1.06); }
.pgal .pg-item:hover::after, .pgal .pg-item:focus-visible::after { opacity: 1; }
.pgal .pg-wide { aspect-ratio: auto; height: 100%; min-height: 260px; }
.pgal-note { font-size: .85rem; color: var(--muted); margin-top: 1.2rem; text-align: center; }

.lb { position: fixed; inset: 0; z-index: 2000; background: rgba(6,18,42,.94); display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 3.5rem 1rem 2rem; }
.lb[hidden] { display: none; }
.lb-open, .lb-open body { overflow: hidden; }
.lb-fig { margin: 0; max-width: min(1200px, 100%); flex: 0 1 auto; text-align: center; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto; margin: 0 auto; border-radius: 10px; }
.lb-fig figcaption { color: #cdd6e8; font-size: .88rem; margin-top: .8rem; }
.lb-btn {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  color: #fff; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lb-btn:hover { background: var(--brand-orange); border-color: var(--brand-orange); }
.lb-close { position: absolute; top: 1rem; right: 1rem; }
@media (max-width: 575.98px) {
  .lb-prev, .lb-next { position: absolute; bottom: 1rem; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}

/* Gallery page filter */
.site .gallery-filters { gap: .5rem; margin-bottom: 2.4rem; }
.site .filter-btn { padding: .55rem 1.2rem; font-weight: 600; }
.site .filter-btn.active { background: var(--navy); border-color: var(--navy); }

/* --- Related links ------------------------------------------------------ */
.rel-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.rel-links a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: 999px; background: #fff;
  border: 1px solid var(--border); font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); transition: all .2s var(--ease);
}
.rel-links a i { color: var(--brand-orange); transition: transform .2s var(--ease); }
.rel-links a:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.rel-links a:hover i { transform: translateX(3px); }

/* --- CTA band (compact) ------------------------------------------------- */
.cta-strip {
  position: relative; overflow: hidden; border-radius: 24px; background: var(--navy); color: #fff;
  padding: clamp(2rem, 1.5rem + 2.5vw, 3.4rem) clamp(1.6rem, 1rem + 3vw, 3.6rem);
}
.cta-strip::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(252,81,13,.4), transparent 70%); }
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); margin-bottom: .5rem; }
.cta-strip p { color: #b9c4d8; margin: 0; }
.cta-strip .cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: flex-end; }
@media (max-width: 991.98px) { .cta-strip .cta-actions { justify-content: flex-start; margin-top: 1.4rem; } }

/* --- Team / values ------------------------------------------------------ */
.value-band { background: var(--navy); color: #fff; border-radius: var(--radius-xl); padding: clamp(1.8rem, 1.4rem + 2vw, 3rem); }
.value-band h2, .value-band h3 { color: #fff; }
.value-band p { color: #b9c4d8; }

/* --- Blog --------------------------------------------------------------- */
.bcard { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.bcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.bcard .bm { aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.bcard .bm img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bcard:hover .bm img { transform: scale(1.05); }
.bcard .bb { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.bcard .bmeta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .8rem; color: var(--muted); margin-bottom: .6rem; }
.bcard .bmeta .cat { color: var(--brand-orange); font-weight: 700; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.bcard h2, .bcard h3 { font-size: 1.12rem; line-height: 1.35; margin-bottom: .5rem; }
.bcard p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.bcard .more { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--brand-orange); display: inline-flex; gap: .4rem; align-items: center; }
.bcard.featured { flex-direction: row; }
.bcard.featured .bm { flex: 0 0 55%; aspect-ratio: auto; min-height: 340px; }
.bcard.featured .bb { justify-content: center; padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem); }
.bcard.featured h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
@media (max-width: 767.98px) { .bcard.featured { flex-direction: column; } .bcard.featured .bm { min-height: 0; aspect-ratio: 16/10; } }

/* Article card: light border + shadow; cover image runs edge to edge at the top */
.article {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: 0 10px 34px -14px rgba(10,26,58,.16); overflow: hidden;
}
.article-hero-img { margin: 0; background: var(--sand); }
.article-hero-img img { width: 100%; height: auto; }
.article-inner { padding: clamp(1.5rem, 1rem + 2vw, 2.8rem); }
.article-inner .prose > :first-child { margin-top: 0; }
.post-info { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; justify-content: center; font-family: var(--font-head); font-size: .88rem; color: var(--muted); margin-top: 1.2rem; }
.post-info i { color: var(--brand-orange); margin-right: .3rem; }
.prose { font-size: 1.04rem; line-height: 1.8; color: #3a404b; }
.prose > * + * { margin-top: 0; }
.prose p { color: #3a404b; margin-bottom: 1.15rem; }
.prose h2 { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.85rem); margin: 2.4rem 0 .9rem; }
.prose h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); margin: 2rem 0 .7rem; }
.prose h4 { font-family: var(--font-head); font-size: 1.05rem; margin: 1.6rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose ul li::marker { color: var(--brand-orange); }
.prose a { color: var(--brand-orange-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--navy); }
.prose strong { color: var(--ink); }
.prose table { width: 100%; margin-bottom: 1.4rem; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: .6rem .8rem; }
.prose blockquote { border-left: 3px solid var(--brand-orange); padding-left: 1.2rem; color: var(--muted); }
.article-side { position: static; }
/* Recent articles: thumbnail + title, date and short description */
.side-recent { background: #fff; border: 1px solid var(--border); box-shadow: 0 10px 34px -14px rgba(10,26,58,.16); }
.side-card .rp { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 0; }
.side-card li:first-child .rp { padding-top: 0; }
.side-card .rp-img { flex: 0 0 92px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--sand); }
.side-card .rp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.side-card .rp:hover .rp-img img { transform: scale(1.08); }
.side-card .rp-body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.side-card .rp-title { font-family: var(--font-head); font-weight: 600; font-size: .9rem; line-height: 1.35; color: var(--ink); transition: color .2s; }
.side-card .rp:hover .rp-title { color: var(--brand-orange); }
.side-card .rp-date { font-size: .74rem; color: var(--muted); display: inline-flex; align-items: center; gap: .3rem; }
.side-card .rp-date i { color: var(--brand-orange); font-size: .7rem; margin: 0; }
.side-card .rp-desc { font-size: .8rem; color: var(--muted); line-height: 1.45; font-family: var(--font-body); font-weight: 400; }
.side-card { background: var(--ivory); border-radius: var(--radius-xl); padding: 1.5rem; margin-bottom: 1.5rem; }
.side-card h2 { font-size: .8rem; font-family: var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li + li { border-top: 1px solid var(--border); }
.side-card li a { display: flex; gap: .5rem; padding: .6rem 0; font-size: .92rem; color: var(--ink); font-family: var(--font-head); font-weight: 500; line-height: 1.4; }
.side-card li a:hover { color: var(--brand-orange); }
.side-card li a i { color: var(--brand-orange); font-size: .75rem; margin-top: .3rem; }
.side-cta { background: var(--navy); color: #fff; }
.side-cta h2 { color: #ff9a6b; }
.side-cta p { color: #b9c4d8; font-size: .92rem; }
.side-cta .btn { width: 100%; margin-top: .5rem; }
@media (max-width: 991.98px) { .article-side { position: static; margin-top: 3rem; } }

/* --- Contact page ------------------------------------------------------- */
.ctile { display: flex; flex-direction: column; gap: .4rem; height: 100%; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.6rem; color: var(--ink); transition: all .25s var(--ease); }
a.ctile:hover { border-color: var(--brand-orange); transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--ink); }
.ctile .ci { width: 50px; height: 50px; border-radius: 14px; background: var(--brand-orange-050); color: var(--brand-orange); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: .6rem; }
.ctile.wa .ci { background: rgba(37,211,102,.12); color: #1da851; }
.ctile small { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-head); font-weight: 600; }
.ctile b { font-family: var(--font-head); font-size: 1.02rem; word-break: break-word; }
.map-frame { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); background: var(--sand); line-height: 0; }
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* --- Areas we serve (home) ---------------------------------------------- */
.area-tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.area-tags span {
  display: inline-flex; align-items: center; gap: .45rem; background: #fff; border-radius: 999px; padding: .55rem 1rem;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); box-shadow: var(--shadow-sm);
}
.area-tags i { color: var(--brand-orange); font-size: .8rem; }

/* --- HTML sitemap ------------------------------------------------------- */
@media (min-width: 768px) { .sitemap-cols { column-count: 2; column-gap: 2.5rem; } }
@media (min-width: 1200px) { .sitemap-cols { column-count: 3; } }
.sitemap-cols li { break-inside: avoid; }

/* --- Legal pages -------------------------------------------------------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal .updated { font-size: .88rem; color: var(--muted); }

/* --- 404 ---------------------------------------------------------------- */
.nf-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 1; color: var(--brand-orange); letter-spacing: -.04em; }

/* ==========================================================================
   Hero height — shorter inner page hero (.ph) so the next section shows on laptop screens
   ========================================================================== */
.ph { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); }
.ph h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.ph .ph-lead { margin-bottom: 1.3rem; }
.ph-points { margin-top: 1.2rem; }
.ph-visual { max-width: 500px; padding: 0 0 1.4rem 1.4rem; }
.ph-img { aspect-ratio: 16 / 11; }

