/* ==========================================================================
   Luxury Sofa Studio (लक्जरी सोफा स्टूडियो) — Architectural Luxury Design System
   Palette: Deep Walnut Espresso (#1A1410), Warm Ivory (#FAF6F0),
            Travertine Sand (#F1EAE0), Brushed Brass (#C59B4F), Forest (#1C674E)
   ========================================================================== */

:root {
    --espresso: #1a1410;
    --espresso-soft: #261e18;
    --walnut: #3a2d24;
    --ivory: #faf6f0;
    --cream: #f2ebe0;
    --sand: #e5dac9;
    --white: #ffffff;
    --brass: #c59b4f;
    --brass-dark: #a67c32;
    --brass-light: #f6ecd7;
    --emerald: #1c674e;
    --whatsapp: #20b858;
    --text-main: #211a15;
    --text-muted: #65594f;
    --border: #e4d9c8;
    --shadow-sm: 0 4px 16px rgba(26, 20, 16, 0.05);
    --shadow-md: 0 14px 36px rgba(26, 20, 16, 0.09);
    --shadow-lg: 0 24px 60px rgba(26, 20, 16, 0.16);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1340px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: var(--font-sans);
    background-color: var(--ivory);
    color: var(--text-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    position: relative;
    padding-bottom: 68px; /* Space for mobile sticky conversion bar */
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

img, iframe, table {
    max-width: 100%;
}

img {
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 580px) {
    .container {
        padding: 0 16px;
    }
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, .serif-heading {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -0.01em;
    color: var(--espresso);
    overflow-wrap: break-word;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brass-dark);
    background: var(--brass-light);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(197, 155, 79, 0.32);
    margin-bottom: 14px;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
}

.eyebrow-dark {
    background: rgba(197, 155, 79, 0.16);
    color: #e8c682;
    border-color: rgba(197, 155, 79, 0.35);
}

.section-header {
    max-width: 760px;
    margin-bottom: 44px;
}

.section-header.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section {
    padding: 84px 0;
}

.section-cream {
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-dark {
    background: linear-gradient(145deg, var(--espresso) 0%, #241b15 100%);
    color: var(--ivory);
}

.section-dark h2, .section-dark h3 {
    color: var(--ivory);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.94rem;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brass) 0%, var(--brass-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(166, 124, 50, 0.32);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(166, 124, 50, 0.44);
}

.btn-dark {
    background: var(--espresso);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--walnut);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--espresso);
    color: var(--espresso);
}

.btn-outline:hover {
    background: var(--espresso);
    color: var(--white);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.32);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--espresso);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(32, 184, 88, 0.28);
}

.btn-whatsapp:hover {
    background: #1aa14c;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.85rem;
}

/* ==================== TOP GMB TRUST BAR & HEADER ==================== */
.top-trust-bar {
    background: var(--espresso);
    color: #e9dfd2;
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(197, 155, 79, 0.24);
}

.top-trust-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 18px;
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.gmb-stars {
    color: #fbbf24;
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--ivory);
    border-bottom: 1px solid var(--border);
}

@media (min-width: 992px) {
    .site-header {
        background: rgba(250, 246, 240, 0.97);
        backdrop-filter: blur(12px);
    }
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 18px;
    flex-wrap: nowrap;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-monogram {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--espresso) 0%, var(--walnut) 100%);
    border: 1.5px solid var(--brass);
    color: var(--brass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.38rem;
    font-weight: 700;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.brand-text strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.42rem;
    font-weight: 700;
    line-height: 1.08;
    color: var(--espresso);
    white-space: nowrap;
}

.brand-text span {
    display: block;
    font-size: 0.73rem;
    color: var(--brass-dark);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 2px;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
}

.main-nav a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--brass-dark);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--brass);
    border-radius: 2px;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--espresso);
    font-size: 1.05rem;
    line-height: 1;
    flex-shrink: 0;
}

@media (max-width: 1220px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        gap: 14px;
    }
    .main-nav.open {
        display: flex;
    }
    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .header-cta .hide-tablet {
        display: none;
    }
}

@media (max-width: 820px) {
    .hide-mobile-topbar {
        display: none;
    }
}

@media (max-width: 520px) {
    .nav-inner {
        height: 64px;
        gap: 10px;
    }
    .brand-monogram {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
    }
    .brand-text strong {
        font-size: 1.2rem;
    }
    .brand-text span {
        font-size: 0.68rem;
    }
    .header-cta .btn-primary {
        padding: 7px 13px;
        font-size: 0.78rem;
    }
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #17120e 0%, #261d17 58%, #34271e 100%);
    color: var(--ivory);
    padding: 68px 0 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(197, 155, 79, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 46px;
    align-items: center;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 4.5vw, 3.85rem);
    margin-bottom: 18px;
}

.hero-content h1 em {
    font-style: italic;
    color: #e6c27a;
}

.hero-lead {
    color: #d9cec0;
    font-size: 1.08rem;
    margin-bottom: 26px;
    max-width: 630px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-box strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.85rem;
    color: #e6c27a;
    line-height: 1.1;
}

.metric-box span {
    font-size: 0.78rem;
    color: #cabba9;
}

.hero-visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(197, 155, 79, 0.35);
    box-shadow: var(--shadow-lg);
    background: #120e0b;
}

.hero-visual-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.hero-floating-badge {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    background: rgba(23, 18, 14, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 155, 79, 0.4);
    border-radius: var(--radius-md);
    padding: 15px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.hero-floating-badge strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
}

.hero-floating-badge small {
    color: #d7c7b2;
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-visual-card img {
        height: 330px;
    }
}

/* ==================== QUICK USP STRIP ==================== */
.usp-strip {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.usp-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.usp-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--brass-light);
    color: var(--brass-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.usp-item strong {
    display: block;
    font-size: 0.94rem;
    color: var(--espresso);
}

.usp-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

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

/* ==================== SERVICE CARDS GRID ==================== */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.filter-tab {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--espresso);
    color: var(--white);
    border-color: var(--espresso);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brass);
}

.service-card-media {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.service-card:hover .service-card-media img {
    transform: scale(1.05);
}

.service-cat-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(26, 20, 16, 0.85);
    color: #f3d799;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
}

.service-price-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--white);
    color: var(--espresso);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

.service-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-body h3 {
    font-size: 1.42rem;
    margin-bottom: 9px;
}

.service-card-body p {
    color: var(--text-muted);
    font-size: 0.91rem;
    margin-bottom: 16px;
    flex: 1;
}

.service-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-bottom: 14px;
}

.service-card-actions {
    display: flex;
    gap: 10px;
}

.service-card-actions .btn {
    flex: 1;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== HYPERLOCAL SEO HUB (CITIES / SECTORS / APARTMENTS) ==================== */
.seo-tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.seo-tier-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.seo-tier-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.seo-tier-header h3 {
    font-size: 1.5rem;
}

.tier-count {
    background: var(--brass-light);
    color: var(--brass-dark);
    font-weight: 700;
    font-size: 0.76rem;
    padding: 4px 10px;
    border-radius: 999px;
}

.location-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.loc-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    background: var(--ivory);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--espresso);
}

.loc-pill:hover {
    background: var(--espresso);
    color: var(--white);
    border-color: var(--espresso);
}

@media (max-width: 992px) {
    .seo-tier-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== PORTFOLIO / BEFORE-AFTER & REVIEWS ==================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.portfolio-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.portfolio-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.portfolio-body {
    padding: 22px;
}

.portfolio-loc {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brass-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.portfolio-body h3 {
    font-size: 1.38rem;
    margin-bottom: 12px;
}

.ba-row {
    font-size: 0.86rem;
    padding: 9px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.ba-before {
    background: #f9f2eb;
    color: #6b5344;
}

.ba-after {
    background: #edf7f2;
    color: #19533d;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.review-stars {
    color: #f59e0b;
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
}

.review-card p {
    font-size: 0.93rem;
    color: var(--text-main);
    margin-bottom: 18px;
    flex: 1;
}

.reviewer-meta {
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.reviewer-meta strong {
    display: block;
    font-size: 0.94rem;
    color: var(--espresso);
}

.reviewer-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .portfolio-grid, .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .portfolio-grid, .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== CUSTOM SOFA CONFIGURATOR ==================== */
.configurator-wrap {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.calc-result-card {
    background: linear-gradient(155deg, var(--espresso) 0%, #2b211a 100%);
    color: var(--ivory);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(197, 155, 79, 0.35);
}

.calc-price-range {
    font-family: var(--font-serif);
    font-size: 2.55rem;
    font-weight: 700;
    color: #e8c47a;
    line-height: 1.1;
    margin: 10px 0;
}

@media (max-width: 960px) {
    .configurator-wrap {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

/* ==================== FORMS & INQUIRY CARD ==================== */
.inquiry-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.94rem;
    background: var(--ivory);
    color: var(--text-main);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--brass);
    background: var(--white);
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== PAGE BANNERS & BREADCRUMBS ==================== */
.page-hero {
    background: linear-gradient(135deg, var(--espresso) 0%, #2a2019 100%);
    color: var(--ivory);
    padding: 54px 0 60px;
    border-bottom: 1px solid rgba(197, 155, 79, 0.28);
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2.1rem, 3.8vw, 3.3rem);
    margin-bottom: 14px;
}

.page-hero p {
    color: #d6c8b6;
    font-size: 1.05rem;
    max-width: 760px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem;
    color: #c8b8a4;
    margin-bottom: 18px;
}

.breadcrumbs a:hover {
    color: #e8c47a;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 38px;
    align-items: start;
}

.sticky-sidebar {
    position: sticky;
    top: 98px;
}

@media (max-width: 992px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .sticky-sidebar {
        position: static;
    }
}

/* ==================== FAQ ACCORDION ==================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 22px;
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--espresso);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.faq-answer {
    display: none;
    padding: 0 22px 18px;
    color: var(--text-muted);
    font-size: 0.93rem;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ==================== FLASH ALERTS ==================== */
.flash-banner {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin: 18px 0;
    font-weight: 600;
    font-size: 0.94rem;
}

.flash-success {
    background: #e7f6ee;
    color: #145338;
    border: 1px solid #9fd8ba;
}

.flash-error {
    background: #fdecec;
    color: #8b1e1e;
    border: 1px solid #f5b5b5;
}

/* ==================== SEO RICH FOOTER & FLOATING CTA ==================== */
.site-footer {
    background: #140f0c;
    color: #cfc2b2;
    padding: 72px 0 36px;
    border-top: 3px solid var(--brass);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 34px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer h4 {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: #e8c47a;
}

.footer-seo-matrix {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.81rem;
}

.footer-seo-matrix strong {
    color: #e8c47a;
    display: block;
    margin-bottom: 8px;
}

.footer-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}

.footer-seo-links a {
    color: #a99b8a;
}

.footer-seo-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    font-size: 0.82rem;
    color: #9b8d7d;
}

@media (max-width: 992px) {
    .footer-top-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating Desktop WhatsApp & Sticky Mobile Conversion Bar */
.floating-cta-desktop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 880;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-sticky-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 920;
    background: var(--espresso);
    border-top: 1px solid rgba(197, 155, 79, 0.4);
    padding: 10px 14px;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 991px) {
    .floating-cta-desktop {
        display: none;
    }
    .mobile-sticky-bar {
        display: grid;
    }
}

/* ==========================================================================
   MOBILE-FIRST ZERO-OVERFLOW & RESPONSIVE HARDENING (320px – 992px)
   ========================================================================== */

/* Prevent CSS Grid children (<select>, <table>, long chips) from blowing out 1fr tracks */
.hero-grid > *,
.usp-grid > *,
.services-grid > *,
.seo-tier-grid > *,
.portfolio-grid > *,
.reviews-grid > *,
.configurator-wrap > *,
.form-grid > *,
.detail-layout > *,
.footer-top-grid > *,
.two-col-grid > *,
.inquiry-card,
.form-group {
    min-width: 0;
    max-width: 100%;
}

.form-control,
select.form-control,
input.form-control,
textarea.form-control {
    max-width: 100%;
    min-width: 0;
    text-overflow: ellipsis;
}

.loc-pill {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.35;
}

.btn {
    max-width: 100%;
}

.mobile-drawer-cta {
    display: none;
}

/* Reusable 2-Column Content Grid (Collapses to 1-Column on Mobile) */
.two-col-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* Responsive Rate Guide Table */
.responsive-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.rate-guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

@media (max-width: 991px) {
    .hero-grid,
    .detail-layout,
    .configurator-wrap,
    .seo-tier-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .btn {
        white-space: normal;
        text-align: center;
        line-height: 1.32;
    }
}

@media (max-width: 640px) {
    .services-grid,
    .portfolio-grid,
    .reviews-grid,
    .form-grid,
    .footer-top-grid,
    .two-col-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px;
    }

    .btn {
        padding: 12px 18px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section {
        padding: 54px 0;
    }

    .page-hero {
        padding: 40px 0 46px;
    }

    .inquiry-card,
    .configurator-wrap,
    .calc-result-card,
    .seo-tier-box {
        padding: 20px 16px;
    }

    .calc-price-range {
        font-size: 1.9rem;
    }

    .rate-guide-table {
        font-size: 0.82rem;
    }

    .rate-guide-table th,
    .rate-guide-table td {
        padding: 10px 11px !important;
    }

    .faq-question {
        padding: 15px 16px;
        font-size: 0.92rem;
    }

    .faq-answer {
        padding: 0 16px 15px;
    }
}

@media (max-width: 580px) {
    /* Top trust bar compact layout */
    .top-trust-bar {
        font-size: 0.72rem;
        padding: 6px 0;
    }
    .top-trust-inner {
        gap: 4px 10px;
    }
    .trust-pill {
        white-space: normal;
    }

    /* Header: keep brand on left & hamburger cleanly inside 320px-580px viewport */
    .nav-inner {
        height: 62px;
        gap: 8px;
    }
    .brand-monogram {
        width: 36px;
        height: 36px;
        font-size: 1.08rem;
    }
    .brand-text strong {
        font-size: 1.14rem;
    }
    .brand-text span {
        font-size: 0.65rem;
    }
    .header-cta .btn-primary {
        display: none;
    }
    .mobile-drawer-cta {
        display: inline-flex;
        width: 100%;
        margin-top: 6px;
    }

    /* Hero floating badge stack on narrow phones */
    .hero-floating-badge {
        flex-direction: column;
        align-items: flex-start;
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px 14px;
        gap: 10px;
    }
    .hero-floating-badge .btn {
        width: 100%;
    }
}
