/* =============================================================
   Dream Buildwell — Design System
   Mobile-first. No framework dependency — plain CSS with custom
   properties for tokens, so brand colors/fonts can be swapped in
   one place once client assets are supplied.
   ============================================================= */

:root {
    --ink: #152420;
    --ink-light: #233a34;
    --ink-soft: #4a5c56;
    --stone: #f4f2ec;
    --stone-dark: #eae6da;
    --clay: #9c5a34;
    --clay-dark: #7c4527;
    --brass: #b08d57;
    --brass-light: #d3b788;
    --line: #dad5c8;
    --white: #ffffff;
    --green: #1f7a52;

    --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

    --radius: 4px;
    --container-max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body {
    margin: 0;
    background: var(--stone);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 2rem; } }

.section { padding: 3.5rem 0; }
@media (min-width: 640px) { .section { padding: 5rem 0; } }
.section-white { background: var(--white); }

.page-header { padding: 2.5rem 0 1rem; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 100;
    background: var(--ink); color: var(--stone); padding: .6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { left: 1rem; top: 1rem; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--clay); outline-offset: 2px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    border-radius: var(--radius); padding: .8rem 1.5rem; font-size: .9rem; font-weight: 600;
    border: 1px solid transparent; cursor: pointer; transition: all .15s ease;
}
.btn-primary { background: var(--clay); color: var(--stone); }
.btn-primary:hover { background: var(--clay-dark); }
.btn-secondary { background: transparent; border-color: rgba(21,36,32,.2); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.btn-ghost-onDark { background: transparent; border-color: rgba(244,242,236,.4); color: var(--stone); }
.btn-ghost-onDark:hover { background: var(--stone); color: var(--ink); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244,242,236,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.brand { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.brand-sub { display: block; font-family: var(--font-body); font-size: .625rem; font-weight: 500; letter-spacing: .05em; color: var(--ink-soft); }
.brand-onDark { color: var(--stone); }
.brand-onDark .brand-sub { color: rgba(244,242,236,.6); }
.main-nav { display: none; gap: 1.5rem; align-items: center; }
.main-nav a { font-size: .88rem; color: var(--ink-soft); }
.main-nav a:hover { color: var(--ink); }
.nav-item-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: .3rem; }
.nav-caret { font-size: .6rem; position: relative; top: 1px; }
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 16px 32px rgba(20,20,20,.12); padding: .5rem; min-width: 13rem;
    display: flex; flex-direction: column; gap: .1rem;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, transform .15s ease;
    z-index: 50;
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(2px);
}
.nav-dropdown-menu a { padding: .55rem .75rem; border-radius: 6px; font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }
.nav-dropdown-menu a:hover { background: var(--stone); color: var(--ink); }
.header-ctas { display: none; gap: .75rem; }
.mobile-nav-sublink { padding-left: 1.5rem !important; font-size: .9rem !important; color: var(--ink-soft); }
@media (min-width: 1024px) {
    .main-nav { display: flex; }
    .header-ctas { display: flex; }
    .mobile-menu-toggle { display: none; }
}
.mobile-menu-toggle {
    width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius);
    background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.mobile-menu-toggle span { width: 20px; height: 1.5px; background: var(--ink); }
.mobile-nav { border-top: 1px solid var(--line); background: var(--stone); padding: .5rem 1.25rem 1.5rem; display: flex; flex-direction: column; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.mobile-nav-ctas { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.mobile-nav-ctas .btn { width: 100%; }

/* ---- Hero ---- */
.hero { background: var(--ink); color: var(--stone); overflow: hidden; }
.hero-inner { display: grid; gap: 2.5rem; padding: 4rem 0; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1fr 1fr; align-items: center; padding: 7rem 0; } }
.eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .04em; color: var(--clay); text-transform: uppercase; }
.eyebrow-onDark { color: var(--brass-light); }
.hero-copy h1 { margin-top: .75rem; }
.hero-lead { margin-top: 1.5rem; max-width: 32rem; font-size: 1.05rem; color: rgba(244,242,236,.75); }
.hero-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-stats { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 28rem; border-top: 1px solid rgba(244,242,236,.15); padding-top: 1.5rem; }
.hero-stats dt { font-size: .75rem; color: rgba(244,242,236,.6); }
.hero-stats dd { margin: .25rem 0 0; font-family: var(--font-display); font-size: 1.25rem; }
.hero-stats-note { margin-top: .75rem; font-size: .68rem; color: rgba(244,242,236,.45); }
.hero-image { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(244,242,236,.1); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Section heading ---- */
.section-heading { max-width: 42rem; }
.section-heading-center { margin: 0 auto; text-align: center; }
.section-heading h2 { margin-top: .5rem; }
.section-description { margin-top: 1rem; color: var(--ink-soft); }
.section-header-row { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .section-header-row { flex-direction: row; align-items: flex-end; } }
.section-header-row .section-heading { margin-bottom: 0; }

/* ---- Grids ---- */
.grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Project card ---- */
.project-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease; }
.project-card:hover { box-shadow: 0 12px 24px rgba(21,36,32,.08); }
.project-card-image { position: relative; aspect-ratio: 4/3; background: var(--stone-dark); overflow: hidden; }
.project-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-card-image img { transform: scale(1.05); }
.project-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.project-card-location { font-size: .75rem; font-weight: 500; color: var(--clay); }
.project-card-name { font-family: var(--font-display); font-size: 1.15rem; margin-top: .35rem; }
.project-card-tagline { margin-top: .35rem; font-size: .875rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.project-card-tags { margin-top: .75rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { border: 1px solid var(--line); border-radius: var(--radius); padding: .15rem .5rem; font-size: .7rem; color: var(--ink-soft); }
.project-card-cta { margin-top: 1rem; font-size: .875rem; font-weight: 600; }

/* ---- Badges ---- */
.badge { display: inline-flex; align-items: center; border-radius: var(--radius); padding: .25rem .6rem; font-size: .7rem; font-weight: 500; }
.badge-upcoming { background: rgba(176,141,87,.15); color: var(--brass); }
.badge-ongoing { background: rgba(156,90,52,.1); color: var(--clay-dark); }
.badge-ready { background: rgba(31,122,82,.1); color: var(--green); }
.badge-sold { background: rgba(21,36,32,.1); color: var(--ink-soft); }

/* ---- Location card ---- */
.location-grid { margin-top: 2.5rem; }
.location-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.location-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; z-index: 0; }
.location-card:hover img { transform: scale(1.05); }
.location-card-overlay { position: relative; z-index: 1; padding: 1rem; padding-top: 4rem; background: linear-gradient(to top, rgba(21,36,32,.85), rgba(21,36,32,.2) 60%, transparent); }
.location-card-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--stone); }
.location-card-region { font-size: .7rem; color: rgba(244,242,236,.7); }

/* ---- Service card ---- */
.service-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--white); display: flex; flex-direction: column; }
.service-card p { margin-top: .5rem; font-size: .9rem; color: var(--ink-soft); flex: 1; }
.service-card-tall { min-height: 100%; }
.link-arrow { display: inline-block; margin-top: 1rem; font-size: .875rem; font-weight: 600; color: var(--clay); }
.link-arrow:hover { text-decoration: underline; }

/* ---- Trust badges ---- */
.trust-badge-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2.5rem; }
@media (min-width: 640px) { .trust-badge-strip { grid-template-columns: repeat(4, 1fr); } }
.trust-badge { background: var(--white); padding: 1.25rem; }
.trust-badge-label { font-family: var(--font-display); font-size: 1rem; }
.trust-badge-detail { margin-top: .35rem; font-size: .75rem; color: var(--ink-soft); }

/* ---- Testimonial card ---- */
.testimonial-card { display: flex; flex-direction: column; justify-content: space-between; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 1.5rem; }
.testimonial-card blockquote { margin: 0; font-size: .9rem; line-height: 1.6; }
.testimonial-card figcaption { margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.testimonial-name { font-size: .875rem; font-weight: 600; }
.testimonial-meta { font-size: .75rem; color: var(--ink-soft); text-transform: capitalize; }
.testimonial-rating { font-size: .75rem; color: var(--brass); }

/* ---- Blog card ---- */
.blog-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease; }
.blog-card:hover { box-shadow: 0 12px 24px rgba(21,36,32,.08); }
.blog-card-image { position: relative; aspect-ratio: 16/10; background: var(--stone-dark); overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-category { font-size: .75rem; font-weight: 500; color: var(--clay); }
.blog-card-title { font-family: var(--font-display); font-size: 1.1rem; margin-top: .35rem; line-height: 1.3; }
.blog-card-excerpt { margin-top: .5rem; font-size: .875rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-date { margin-top: 1rem; font-size: .7rem; color: rgba(74,92,86,.7); }

/* ---- CTA section ---- */
.cta-section { padding: 3.5rem 0; }
.cta-dark { background: var(--ink); color: var(--stone); }
.cta-light { background: var(--stone-dark); color: var(--ink); }
.cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
@media (min-width: 640px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-copy { max-width: 34rem; }
.cta-copy p { margin-top: .75rem; font-size: .95rem; }
.cta-dark .cta-copy p { color: rgba(244,242,236,.75); }
.cta-light .cta-copy p { color: var(--ink-soft); }
.cta-actions { display: flex; flex-direction: column; gap: .75rem; width: 100%; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; width: auto; } }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: var(--stone); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid h3 { font-size: .875rem; font-weight: 600; color: var(--stone); }
.footer-grid ul { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-grid a, .footer-grid li { font-size: .875rem; color: rgba(244,242,236,.75); }
.footer-grid a:hover { color: var(--stone); }
.footer-tagline { margin-top: 1rem; max-width: 20rem; font-size: .875rem; color: rgba(244,242,236,.75); }
.footer-legal { border-top: 1px solid rgba(244,242,236,.15); }
.footer-legal .container { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.disclaimer-text { font-size: .7rem; color: rgba(244,242,236,.55); margin-bottom: .5rem; }
.footer-bottom { display: flex; flex-direction: column; gap: .75rem; margin-top: .75rem; font-size: .7rem; color: rgba(244,242,236,.55); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-legal-links { display: flex; gap: 1.25rem; }
.footer-legal-links a:hover { color: var(--stone); }

/* ---- Sticky mobile actions ---- */
.sticky-mobile-actions { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; display: flex; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
.sticky-action { flex: 1; display: flex; align-items: center; justify-content: center; padding: 1rem; font-size: .875rem; font-weight: 600; color: var(--stone); }
.sticky-whatsapp { background: var(--green); }
.sticky-call { background: var(--ink); }
@media (min-width: 1024px) { .sticky-mobile-actions { display: none; } }
body { padding-bottom: 4rem; }
@media (min-width: 1024px) { body { padding-bottom: 0; } }

/* ---- Forms ---- */
.form-field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-field label { font-size: .875rem; font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
    width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: .65rem 1rem;
    font-size: .9rem; font-family: var(--font-body); color: var(--ink); background: var(--white);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--clay); outline: none; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-consent { display: flex; align-items: flex-start; gap: .5rem; font-size: .75rem; color: var(--ink-soft); margin-bottom: 1rem; }
.form-consent input { margin-top: 2px; }
.form-consent a { text-decoration: underline; }
.field-error { display: block; font-size: .75rem; color: var(--clay-dark); min-height: 1em; }
.form-alert-error { border: 1px solid rgba(156,90,52,.4); background: rgba(156,90,52,.05); color: var(--clay-dark); border-radius: var(--radius); padding: .6rem 1rem; font-size: .85rem; margin-bottom: 1rem; }
.form-alert-error[hidden] { display: none; }
.form-success { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 1.5rem; }
.form-success-title { font-family: var(--font-display); font-size: 1.1rem; }
.form-success-message { margin-top: .5rem; font-size: .875rem; color: var(--ink-soft); }

/* ---- Project filter bar ---- */
.project-filter-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 1rem; margin: 0; }
@media (min-width: 640px) { .project-filter-bar { grid-template-columns: repeat(4, 1fr); } }
.project-filter-bar .form-field { margin-bottom: 0; }
.project-filter-bar label { font-size: .75rem; color: var(--ink-soft); }
.filter-result-count { margin-top: 1rem; font-size: .875rem; color: var(--ink-soft); }
.empty-state { margin-top: 1.5rem; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 2.5rem; text-align: center; }
.empty-state-title { font-family: var(--font-display); font-size: 1.1rem; }
.empty-state p { margin-top: .5rem; font-size: .875rem; color: var(--ink-soft); }

/* ---- Internal page hero media (Projects, Locations/Investment Opportunities) ----
   Shared 16:9 container so every internal page's hero image is the same
   shape and never shows as a raw broken/empty image. Deliberately NOT
   used by the homepage hero (.hero-banner / .hero-banner-slide), which
   is a separate component and must stay untouched. */
.internal-page-hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eae6da;
}
.internal-page-hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* ---- Project detail ---- */
.project-hero { position: relative; }
.project-hero-image { position: relative; }
.project-hero-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,36,32,.8), rgba(21,36,32,.1) 60%, transparent); }
.project-hero-card { position: relative; z-index: 1; margin-top: -6rem; background: var(--white); border-radius: var(--radius) var(--radius) 0 0; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.project-hero-row { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
@media (min-width: 640px) { .project-hero-row { flex-direction: row; align-items: flex-end; } }
.project-hero-meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.project-hero-location { font-size: .875rem; color: var(--ink-soft); }
.project-hero-tagline { margin-top: .5rem; max-width: 36rem; color: var(--ink-soft); }
.project-hero-actions { display: flex; flex-direction: column; gap: .5rem; flex-shrink: 0; }
@media (min-width: 640px) { .project-hero-actions { flex-direction: row; } }

.project-detail-layout { display: grid; gap: 3rem; padding: 3rem 0; }
@media (min-width: 1024px) { .project-detail-layout { grid-template-columns: 1fr 22rem; gap: 4rem; } }
.project-detail-main section { margin-bottom: 3.5rem; }
.project-detail-main section > p { margin-top: 1rem; color: var(--ink-soft); line-height: 1.7; }
.highlight-list, .advantage-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .5rem; }
@media (min-width: 640px) { .highlight-list { grid-template-columns: repeat(2, 1fr); } }
.highlight-list li { display: flex; gap: .5rem; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: .75rem 1rem; font-size: .875rem; }
.advantage-list li { display: flex; gap: .5rem; font-size: .875rem; color: var(--ink-soft); }
.map-embed { margin-top: 1.5rem; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-embed-placeholder { margin-top: 1.5rem; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line); background: var(--stone-dark); font-size: .875rem; color: var(--ink-soft); border-radius: var(--radius); }
.table-wrap { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
thead { background: var(--stone-dark); }
th, td { text-align: left; padding: .75rem 1rem; }
tbody tr { border-top: 1px solid var(--line); background: var(--white); }
.fine-print { margin-top: .75rem; font-size: .7rem; color: rgba(74,92,86,.7); }
.amenities-grid { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 640px) { .amenities-grid { grid-template-columns: repeat(3, 1fr); } }
.amenity-pill { text-align: center; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: .75rem 1rem; font-size: .875rem; }
.plan-image { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.plan-image img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.compliance-box { margin-top: 1.5rem; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 1.5rem; font-size: .875rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: .75rem; }
.faq-list { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq-list details { padding: 1.25rem; border-top: 1px solid var(--line); }
.faq-list details:first-child { border-top: none; }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
.faq-list p { margin-top: .75rem; font-size: .875rem; color: var(--ink-soft); line-height: 1.6; }

.project-detail-sidebar { height: fit-content; }
@media (min-width: 1024px) { .project-detail-sidebar { position: sticky; top: 7rem; } }
.enquiry-box { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.enquiry-box > p { margin-top: .25rem; margin-bottom: 1.25rem; font-size: .875rem; color: var(--ink-soft); }
.enquiry-alt-actions { display: flex; flex-direction: column; gap: .5rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; text-align: center; font-size: .875rem; }
.whatsapp-link { font-weight: 600; color: var(--green); }
.enquiry-alt-actions a:last-child { font-weight: 600; color: var(--ink); }

/* ---- Location detail hero ---- */
.location-hero { position: relative; }
.location-hero-overlay { position: absolute; inset: 0; background: rgba(21,36,32,.5); }
.location-hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 2rem; color: var(--stone); }
.location-hero-content h1 { color: var(--stone); margin-top: .5rem; }
.location-hero-content p { color: rgba(244,242,236,.8); font-size: .875rem; }

/* ---- About / Legal / Contact / Blog article ---- */
.about-hero { padding: 2.5rem 0 4rem; }
.about-hero-grid { display: grid; gap: 2.5rem; margin-top: 1rem; }
@media (min-width: 1024px) { .about-hero-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.about-copy { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; font-size: .9rem; color: var(--ink-soft); line-height: 1.7; }
.about-hero-image { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.about-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.about-hero-grid-narrow { grid-template-columns: 1fr; max-width: 42rem; }
.page-story-copy { max-width: 46rem; }

/* ---- Page CMS: Stats ---- */
.page-stats-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; border-top: 1px solid var(--line); padding-top: 2rem; }
@media (min-width: 640px) { .page-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.page-stat dd { margin: 0; font-family: var(--font-display); font-size: 2rem; color: var(--clay); }
.page-stat dt { margin-top: .35rem; font-size: .8rem; color: var(--ink-soft); }

/* ---- Page CMS: Team ---- */
.team-card { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 1.75rem 1.25rem; }
.team-card-photo { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; }
.team-card-avatar { width: 5.5rem; height: 5.5rem; border-radius: 50%; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--stone); font-family: var(--font-display); font-size: 1.4rem; }
.team-card h3 { margin-top: .25rem; }
.team-card-role { margin-top: .25rem; font-size: .8rem; font-weight: 500; color: var(--clay); }
.team-card-bio { margin-top: .6rem; font-size: .85rem; color: var(--ink-soft); }

.contact-layout { display: grid; gap: 2.5rem; padding: 2.5rem 0 4rem; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1fr 1fr; } }
.contact-form-box { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 1.5rem; }
@media (min-width: 640px) { .contact-form-box { padding: 2rem; } }
.contact-details { display: flex; flex-direction: column; gap: 2rem; }
.contact-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; font-size: .9rem; color: var(--ink-soft); }
.contact-list a:hover { text-decoration: underline; }

.legal-page { max-width: 48rem; padding: 2.5rem 0 4rem; display: flex; flex-direction: column; gap: 1rem; }
.legal-page h1 { margin-top: .5rem; }
.legal-page h2 { font-size: 1.1rem; margin-top: 1rem; }
.legal-page p { color: var(--ink-soft); line-height: 1.7; font-size: .9rem; }
.legal-notice { border: 1px dashed var(--line); background: var(--stone-dark); padding: 1rem; font-size: .75rem; border-radius: var(--radius); }

.blog-article { max-width: 48rem; padding: 2.5rem 0 4rem; }
.blog-article h1 { margin-top: 1rem; }
.blog-article-meta { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; font-size: .75rem; color: var(--ink-soft); }
.blog-article-cover { margin-top: 2rem; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.blog-article-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-article-content { margin-top: 2rem; font-size: .9rem; color: var(--ink-soft); line-height: 1.8; }

.thank-you-page, .not-found-page { text-align: center; padding: 6rem 0; display: flex; flex-direction: column; align-items: center; }
.thank-you-page p, .not-found-page p { margin-top: 1rem; max-width: 28rem; color: var(--ink-soft); }
.thank-you-page .btn, .not-found-actions { margin-top: 2rem; }
.not-found-actions { display: flex; gap: .75rem; }

/* ---- Payments (Razorpay) ---- */
.payment-section { margin-bottom: 3.5rem; }
.payment-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.payment-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.payment-modal[hidden] { display: none; }
.payment-modal-backdrop { position: absolute; inset: 0; background: rgba(21,36,32,.6); }
.payment-modal-box { position: relative; z-index: 1; background: var(--white); border-radius: var(--radius); padding: 1.75rem; max-width: 380px; width: 100%; }
.payment-modal-close { position: absolute; top: .75rem; right: .9rem; background: none; border: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.payment-modal-amount { margin-top: .5rem; margin-bottom: 1.25rem; font-weight: 600; color: var(--clay); }
.w-full { width: 100%; }
.breadcrumbs { font-size: .75rem; color: var(--ink-soft); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumbs li { display: flex; align-items: center; gap: .35rem; }
.breadcrumbs a:hover { text-decoration: underline; color: var(--ink); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* ============================================================
   Homepage CMS sections (Hero Banner, Search Widget, Logos,
   Team Leadership, Press, Assurance) — see page-sections types
   ============================================================ */

/* ---- Hero Banner (full-bleed bg image) ---- */
.hero-banner { position: relative; color: var(--stone); overflow: hidden; background: var(--ink); }
.hero-banner-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transition: opacity var(--hero-fade-duration, 1.2s) ease-in-out;
    transform: scale(1);
}
.hero-banner-slide.active {
    opacity: 1;
    animation: heroBannerKenBurns var(--hero-zoom-duration, 8s) ease-in-out forwards;
}
@keyframes heroBannerKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}
.hero-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,22,.55) 0%, rgba(10,22,22,.72) 65%, rgba(10,22,22,.85) 100%); }
.hero-banner-inner { position: relative; z-index: 1; padding: 4.5rem 0 3rem; max-width: 46rem; margin: 0 auto; text-align: center; }
.hero-banner-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem 1rem; border-radius: 999px; background: rgba(244,242,236,.14); border: 1px solid rgba(244,242,236,.25); backdrop-filter: blur(6px); font-size: .75rem; letter-spacing: .02em; }
.hero-banner h1 { margin-top: 1.5rem; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.08; }
.hero-banner-subtitle { margin-top: 1.15rem; font-size: 1.05rem; color: rgba(244,242,236,.85); max-width: 34rem; margin-left: auto; margin-right: auto; }
.hero-banner-actions { margin-top: 2rem; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) {
    .hero-banner-slide.active { animation: none; }
}
.hero-ticker { position: relative; z-index: 1; background: rgba(10,22,22,.55); border-top: 1px solid rgba(244,242,236,.12); overflow: hidden; white-space: nowrap; padding: .65rem 0; text-align: left; }
.hero-ticker-track { display: inline-flex; will-change: transform; animation: ticker-scroll 28s linear infinite; animation-delay: 0s; animation-fill-mode: none; }
.hero-ticker-track span { margin-right: 3rem; font-size: .78rem; color: rgba(244,242,236,.85); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero-ticker-track { animation: none; } }

/* ---- Project Search Widget ---- */
.search-widget-wrap { position: relative; z-index: 2; margin-top: -3.5rem; padding: 0 1rem; }
.search-widget { background: var(--white); border-radius: var(--radius); box-shadow: 0 24px 48px rgba(20,20,20,.18); padding: 1.5rem; max-width: 54rem; margin: 0 auto; }
.search-widget-tabs { display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.search-widget-tab { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: .82rem; font-weight: 500; color: var(--ink-soft); }
.search-widget-tab.active, .search-widget-tab:hover { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.search-widget-row { display: grid; grid-template-columns: 2fr 1fr auto; gap: .75rem; }
@media (max-width: 720px) { .search-widget-row { grid-template-columns: 1fr; } }
.search-widget-row select, .search-widget-row input { width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 8px; font-size: .88rem; background: var(--white); }
.search-widget-row button { white-space: nowrap; }

/* ---- Partner Logos (scrolling strip) ---- */
.logos-strip { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-strip-track { display: flex; gap: 3rem; align-items: center; width: max-content; animation: logos-scroll 32s linear infinite; }
.logos-strip:hover .logos-strip-track { animation-play-state: paused; }
.logos-strip-track img { height: 2.25rem; width: auto; max-width: 7rem; object-fit: contain; filter: grayscale(1); opacity: .65; transition: opacity .2s, filter .2s; }
.logos-strip-track img:hover { filter: none; opacity: 1; }
@keyframes logos-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos-strip-track { animation: none; flex-wrap: wrap; } }

/* ---- Team Leadership ---- */
.team-card-linkedin { margin-top: .6rem; display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; color: var(--clay); }
.founder-spotlight { display: grid; gap: 2rem; align-items: center; margin-bottom: 3rem; }
@media (min-width: 768px) { .founder-spotlight { grid-template-columns: 18rem 1fr; } }
.founder-spotlight-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; border: 1px solid var(--line); }
.founder-spotlight-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-spotlight-name { font-family: var(--font-display); font-size: 1.4rem; margin-top: .25rem; }
.founder-spotlight-role { color: var(--clay); font-weight: 500; font-size: .85rem; margin-top: .15rem; }
.founder-spotlight-bio { margin-top: .85rem; font-size: .9rem; color: var(--ink-soft); line-height: 1.7; }

/* ---- Press / Media Mentions ---- */
.press-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.press-card-image { aspect-ratio: 16/9; overflow: hidden; }
.press-card-image img { width: 100%; height: 100%; object-fit: cover; }
.press-card-body { padding: 1.25rem; }
.press-card-outlet { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--clay); margin-bottom: .5rem; }
.press-card-body p { font-size: .85rem; color: var(--ink-soft); line-height: 1.55; }
.press-card-link { margin-top: .65rem; display: inline-block; font-size: .8rem; font-weight: 500; }

/* ---- Assurance & Accreditations ---- */
.assurance-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .assurance-grid { grid-template-columns: 1fr 1fr; } }
.assurance-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 2.25rem 1.75rem; text-align: center; }
.assurance-card h3 { margin-top: .5rem; }
.assurance-card p { margin-top: .75rem; font-size: .85rem; color: var(--ink-soft); line-height: 1.65; }
.accreditation-badges { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.25rem; }
.accreditation-badge { border: 1px solid var(--line); border-radius: 8px; padding: .85rem .5rem; font-size: .8rem; font-weight: 600; color: var(--ink); text-align: center; }

/* ---- Site-wide popup modal ---- */
.site-popup-overlay {
    display: none; position: fixed; inset: 0; background: rgba(10, 22, 22, .6); z-index: 200;
    align-items: center; justify-content: center; padding: 1rem;
    opacity: 0; transition: opacity .25s ease;
}
.site-popup-overlay:not([hidden]) { display: flex; }
.site-popup-overlay.is-visible { opacity: 1; }
.site-popup {
    position: relative; background: var(--white); border-radius: var(--radius);
    max-width: 30rem; width: 100%; max-height: 90vh; overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0,0,0,.3);
    transform: translateY(12px) scale(.98); transition: transform .25s ease;
}
.site-popup-overlay.is-visible .site-popup { transform: translateY(0) scale(1); }
.site-popup-close {
    position: absolute; top: .6rem; right: .6rem; z-index: 1;
    width: 2rem; height: 2rem; border-radius: 50%; border: none;
    background: rgba(20,20,20,.55); color: var(--stone); font-size: 1.3rem; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.site-popup-close:hover { background: rgba(20,20,20,.75); }
.site-popup-image { width: 100%; max-height: 20rem; object-fit: cover; display: block; border-radius: var(--radius) var(--radius) 0 0; }
.site-popup-video { width: 100%; display: block; border-radius: var(--radius) var(--radius) 0 0; }
.site-popup-video-wrap { position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.site-popup-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.site-popup-body { padding: 1.5rem; text-align: center; }
.site-popup-body h3 { font-size: 1.3rem; }
.site-popup-body p { margin-top: .6rem; font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }
.site-popup-body .btn { margin-top: 1.1rem; }
@media (prefers-reduced-motion: reduce) {
    .site-popup-overlay, .site-popup { transition: none; }
}

/* ---- YouTube Gallery (home page) ---- */
.yt-grid { list-style: none; padding: 0; margin-top: 0; }
.yt-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.yt-card:hover { box-shadow: 0 10px 28px rgba(21,36,32,.1); transform: translateY(-2px); }
.yt-media { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.yt-play { display: block; position: absolute; inset: 0; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,36,32,0) 55%, rgba(21,36,32,.45)); }
.yt-play-icon { position: absolute; z-index: 1; top: 50%; left: 50%; width: 3.75rem; height: 3.75rem; margin: -1.875rem 0 0 -1.875rem; border-radius: 50%; background: var(--clay); box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .2s ease, background .2s ease; }
.yt-play-icon::before { content: ""; position: absolute; top: 50%; left: 50%; margin: -.7rem 0 0 -.4rem; border-style: solid; border-width: .7rem 0 .7rem 1.15rem; border-color: transparent transparent transparent var(--stone); }
.yt-play:hover .yt-play-icon, .yt-play:focus-visible .yt-play-icon { background: var(--clay-dark); transform: scale(1.08); }
.yt-play:focus-visible { outline: 3px solid var(--brass); outline-offset: -3px; }
.yt-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-body { padding: 1.1rem 1.25rem 1.4rem; }
.yt-title { font-size: 1.1rem; line-height: 1.3; }
.yt-desc { margin: .5rem 0 0; font-size: .9rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
    .yt-card, .yt-play-icon { transition: none; }
    .yt-card:hover { transform: none; }
}
