/* ================================
   BUILDING ENVELOPE CONSULTING PAGE STYLES
   ================================ */

/* Minimal design - inherit main styles from main.css and energy-modeling-page.css */
/* This file contains only building envelope specific overrides */

/* Page-specific body styling */
[data-page="building-envelope"] {
    background-color: #FAFAFA;
}

/* ===== BUILDING ENVELOPE SPECIFIC CONTENT STYLING ===== */
/* Use existing energy modeling carousel styles - no custom overrides needed */

/* ===== BUILDING ENVELOPE SPECIFIC ADJUSTMENTS ===== */
/* Minimal overrides for building envelope context */

/* Building envelope benefits use standard carousel styling */

/* Process timeline uses standard page styling */

/* CTA section uses standard em-cta styling */

/* ===== MINIMAL RESPONSIVE OVERRIDES ===== */
/* Use existing responsive patterns from main site */

/* Building envelope page specific content adjustments only if needed */
@media (max-width: 768px) {
    /* Inherit responsive behavior from main styles */
}

/* ===== New minimal interactive sections ===== */
.be-trust .lead{max-width:980px;margin:0 auto 1.5rem;color:#374151;font-size:1.05rem}
.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.trust-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:1.2rem;box-shadow:0 6px 20px rgba(0,0,0,.04);transition:transform .2s ease, box-shadow .2s ease}
.trust-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(2,6,23,.14)}
.trust-card h3{margin:.25rem 0 .5rem}
.trust-card ul{margin:.5rem 0 0;padding-left:1.1rem}
.trust-card.accent{background:linear-gradient(135deg,var(--primary-dark),#0f172a);color:#fff;border-color:transparent}
.trust-card.accent .method-badges span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:#fff}
.method-badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}
.method-badges span{background:#f1f5f9;border:1px solid #e2e8f0;color:#0f172a;border-radius:999px;padding:.35rem .7rem;font-size:.85rem}
.method-notes{margin:.6rem 0 0;padding-left:1.1rem;opacity:.95}
.method-notes li{margin:.2rem 0}
.be-tabs .badge-grid{display:flex;flex-wrap:wrap;gap:.5rem}
.be-tabs .badge{background:#0f172a;color:#fff;border-radius:999px;padding:.4rem .75rem;font-size:.8rem;letter-spacing:.02em}
.deliv-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}
.deliv-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:.9rem}
.deliv-card h4{margin:.1rem 0 .35rem}
.muted{color:#6b7280}
.two-col{columns:2;column-gap:1.25rem}
.commitments{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;margin-top:.5rem}
.commitment{background:#0f172a;color:#fff;border-radius:16px;padding:1rem}
.commitment h4{margin:0 0 .25rem}
.be-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.be-intro-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: box-shadow .25s ease, transform .2s ease;
}
.be-intro-card:hover {
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25);
    transform: translateY(-2px);
}
.be-intro-card h4 { margin: 0 0 0.5rem; }
.be-intro-card p { margin: 0; color: #555; }

.be-faq details {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: .75rem 1rem;
    margin-bottom: .5rem;
}
.be-faq summary { cursor: pointer; font-weight: 600; }
.be-faq p { margin: .5rem 0 0; color: #555; }
.be-faq .more-toggle { margin-top: 1rem; }
.be-faq .more-faq details { margin-top: .5rem; }

/* Section container width override */
.be-expertise .container{max-width:1400px;padding:0 2rem}

/* Faint background pattern and vertical rhythm */
.be-expertise{position:relative;background:linear-gradient(180deg,#f8fbff 0%, #ffffff 60%)}
.be-expertise::before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle at 0 0, rgba(52,122,182,.05) 0, rgba(52,122,182,.05) 2px, transparent 2px),radial-gradient(circle at 25px 25px, rgba(52,122,182,.03) 0, rgba(52,122,182,.03) 2px, transparent 2px);background-size:50px 50px,50px 50px;pointer-events:none;opacity:.6}
.be-expertise .unified-section-header{margin-bottom:2rem}

.be-expertise .lead{max-width:980px;margin:0 auto 2rem;color:#374151;font-size:1.05rem}
.expertise-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;align-items:stretch}
.expertise-card{background:#fff;border:1px solid var(--gray-200);border-radius:24px;padding:2.25rem;text-align:center;box-shadow:0 12px 30px rgba(2,6,23,.06);transition:transform .2s ease,box-shadow .2s ease;display:flex;flex-direction:column;gap:.75rem;min-height:460px;position:relative;overflow:hidden}
.expertise-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}

/* Icon treatment */
.card-icon{font-size:1.25rem;margin:0 auto 1rem;color:var(--primary);width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(52,122,182,.12)}

/* Subtle top accent bars */
.expertise-card::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;border-top-left-radius:inherit;border-top-right-radius:inherit;background:rgba(52,122,182,.35)}
.expertise-card.theme-blue::before{background:linear-gradient(90deg,var(--primary),var(--primary-light))}
.expertise-card.theme-mint::before{background:linear-gradient(90deg,var(--success),#34d399)}
.expertise-card.theme-slate::before{background:linear-gradient(90deg,#94a3b8,#cbd5e1)}

/* Themed variants */
.expertise-card.theme-blue{background:#eef5ff;border-color:#d8e6ff}
.expertise-card.theme-mint{background:#eaf7f1;border-color:#cfeee0}
.expertise-card.theme-slate{background:#f1f5f9;border-color:#e2e8f0}

/* Typography */
.expertise-card h3{margin-top:0;margin-bottom:.5rem;color:var(--gray-900);font-size:1.75rem;letter-spacing:-0.01em;line-height:1.15}
.expertise-card p{color:var(--gray-700);margin-bottom:1rem;line-height:1.65;font-size:1rem}
.expertise-card ul{list-style:none;padding:0;margin:0;text-align:left;font-size:.98rem}
.expertise-card li{position:relative;padding-left:1.25rem;margin-bottom:.7rem;color:var(--gray-700);line-height:1.6}
.expertise-card li::before{content:"\f00c";font-family:"Font Awesome 5 Free";font-weight:900;color:var(--primary);position:absolute;left:0;top:2px}

/* Accent variant alignments */
.expertise-card.accent{background:#eef5ff;border-color:#d8e6ff;color:inherit;box-shadow:var(--shadow-sm)}
.expertise-card.accent .card-icon{color:var(--primary-dark)}
.expertise-card.accent h3{color:var(--gray-900)}
.expertise-card.accent p{color:var(--gray-700)}
.expertise-card.accent li::before{color:var(--primary)}

/* Notes */
.method-notes{text-align:left;font-size:.95rem}
.method-notes strong{color:inherit}

@media(min-width:1200px){
.be-expertise .container{max-width:1600px}
.expertise-grid{grid-template-columns:repeat(4,1fr)}
}

@media (max-width: 992px) {
    .expertise-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}
}
@media (max-width: 576px) {
    .expertise-grid{grid-template-columns:1fr;gap:1rem}
    .expertise-card{padding:1.75rem;border-radius:20px;min-height:unset}
    .expertise-card h3{font-size:1.45rem}
}
