/*
 * BinFresh — Contact + Commercial page styles (loaded on both slugs).
 * Strictly brand vars (blueprint.css + style.css). New classes prefixed
 * bf-comm-* (commercial) / bf-contact-*; shared form on .bf-lead-form.
 */

/* CRITICAL: GeneratePress gives .inside-article (the content wrapper) a WHITE
   background, which renders as a white box over every dark .bf-section band and
   hides the white text on top. The homepage fixes this in home-sections.css, but
   that only loads on the front page — these pages need their own copy. */
.bf-section .inside-article,
.bf-section .grid-container.inside-article {
    background: transparent;
}

/* ============================================================ SHARED */
.bf-comm-kicker,
.bf-contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-secondary);
    margin-bottom: 14px;
}
.bf-comm-kicker.on-dark,
.bf-contact-kicker.on-dark { color: var(--brand-accent); }

/* section heading helper (matches the inline homepage pattern) */
.bf-comm-head { max-width: 720px; margin: 0 0 44px; }
.bf-comm-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bf-comm-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--brand-primary); margin: 0 0 12px; line-height: 1.12; }
.bf-comm-head.on-dark h2 { color: #fff; }
.bf-comm-head p { font-size: 1.1rem; line-height: 1.6; color: var(--text-light); margin: 0; }
.bf-comm-head.on-dark p { color: #cbd5e1; }

/* honeypot */
.bf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---- shared lead form fields ---- */
.bf-lead-form .bf-field { position: relative; margin-bottom: 16px; }
.bf-lead-form label.bf-lbl { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.bf-lead-form input,
.bf-lead-form select,
.bf-lead-form textarea {
    width: 100%;
    font-family: 'Outfit', sans-serif;
    font-size: 16px; /* prevents iOS zoom */
    color: var(--text-dark);
    background: var(--bg-light, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 14px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.bf-lead-form textarea { min-height: 120px; resize: vertical; }
.bf-lead-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
}
.bf-lead-form input:focus,
.bf-lead-form select:focus,
.bf-lead-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 3px rgba(36, 179, 53, 0.22);
}
.bf-lead-form input.is-invalid,
.bf-lead-form .is-invalid { border-color: #ef4444; }
.bf-lead-form .bf-form-micro { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 0.82rem; color: var(--text-light); margin-top: 12px; }
.bf-lead-form .bf-form-micro i { color: var(--brand-secondary); }
.bf-lead-form button[type="submit"] { width: 100%; border: none; margin-top: 6px; }

/* success confirmation state */
.bf-lead-form--sent .bf-form-body { display: none; }
.bf-lead-form--sent::after {
    content: "✓ Thanks — we'll be in touch within one working day.";
    display: block;
    text-align: center;
    padding: 40px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-secondary);
    line-height: 1.5;
}

/* ============================================================ COMMERCIAL HERO */
.bf-comm-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(60px, 9vw, 110px) 20px; }
.bf-comm-hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background-image: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.90) 50%, rgba(15,23,42,0.72) 100%), url('assets/hero-bg.jpg');
    background-size: cover; background-position: center;
}
.bf-comm-hero::after {
    content: ""; position: absolute; top: -20%; right: -10%; width: 60%; height: 90%; z-index: 0;
    background: radial-gradient(circle, rgba(36,179,53,0.22) 0%, transparent 60%);
    pointer-events: none;
}
.bf-comm-hero .inside-article { position: relative; z-index: 2; }
.bf-comm-hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.bf-comm-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.05; margin: 0 0 18px; text-shadow: 0 2px 20px rgba(0,0,0,0.35); }
.bf-comm-hero .bf-comm-sub { font-size: 1.15rem; font-weight: 300; color: #eef2f7; line-height: 1.6; margin: 0 0 24px; max-width: 620px; text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.bf-comm-trustrail { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.bf-comm-trustchip {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    padding: 8px 14px; border-radius: 9999px; font-size: 0.85rem; font-weight: 600; color: #ffffff;
}
.bf-comm-trustchip i { color: var(--brand-secondary); }
.bf-comm-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* white-outline secondary button on dark bands */
.bf-comm-hero .btn-secondary,
.bf-comm-quote .btn-secondary,
.bf-cta .btn-secondary,
.bf-comm-finalcta .btn-secondary {
    background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,0.5);
    padding: 12px 26px; border-radius: 50px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: all 0.25s ease;
}
.bf-comm-hero .btn-secondary:hover,
.bf-comm-quote .btn-secondary:hover,
.bf-cta .btn-secondary:hover,
.bf-comm-finalcta .btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* hero photo */
.bf-comm-photo { position: relative; }
.bf-comm-photo img {
    display: block; width: 100%; height: auto; border-radius: var(--radius-xl, 20px);
    transform: rotate(-2deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.12);
}
.bf-comm-floatchip {
    position: absolute; display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 14px; font-weight: 800; font-size: 0.95rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25); z-index: 3;
}
.bf-comm-floatchip.price { top: -14px; left: -10px; background: var(--brand-accent); color: var(--brand-primary); }
.bf-comm-floatchip.stat { bottom: -14px; right: -10px; background: var(--brand-secondary); color: #fff; }
.bf-comm-floatchip.stat i { color: #fff; }

/* ============================================================ TRUST STRIP */
/* Customer showcase — who trusts us (Lovetts, Resorts World) */
.bf-comm-clients { background: var(--brand-surface, #fff); }
.bf-comm-clients-logos {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
    gap: 26px; margin: 8px auto 26px; max-width: 780px;
}
.bf-comm-client {
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius-lg, 14px); padding: 26px 44px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.06); min-width: 240px; min-height: 128px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.bf-comm-client:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(15,23,42,0.11); }
.bf-comm-client img {
    max-height: 74px; max-width: 210px; width: auto; height: auto; object-fit: contain;
    filter: grayscale(1) opacity(0.72); transition: filter .35s ease;
}
.bf-comm-client:hover img { filter: grayscale(0) opacity(1); }
.bf-comm-clients-rating {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    color: var(--text-dark); font-size: 1rem;
}
.bf-comm-clients-rating strong { color: var(--brand-primary); }
.bf-comm-stars { color: var(--brand-accent); letter-spacing: 2px; font-size: 0.95rem; }

/* ============================================================ PROOF BAND */
/* Full-bleed bands butt together — removes the 20px inter-section seam strip
   (most visible as a light line between the navy bands). pages.css only loads
   on the commercial + contact pages, so this is scoped to them. */
.bf-section { margin-bottom: 0; }
/* Stats sit on a white card floating on the light band — reads as a distinct
   "dashboard" and separates the (white) customer showcase from the Why band. */
.bf-comm-proof { background: var(--brand-background, #f8fafc); }
.bf-comm-proof-shelf {
    background: #fff; border: 1px solid var(--border-color, #e2e8f0); border-radius: var(--radius-xl, 20px);
    box-shadow: 0 20px 45px rgba(15,23,42,0.07), inset 0 2px 0 rgba(15,23,42,0.03);
    padding: 44px clamp(20px, 4vw, 50px);
}
.bf-comm-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bf-comm-stat { position: relative; text-align: center; padding: 10px 16px; border-left: 1px solid var(--border-color, #e2e8f0); }
.bf-comm-stat:first-child { border-left: none; }
.bf-comm-stat-num { display: inline-block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--brand-primary); line-height: 1; }
.bf-comm-stat-num::after {
    content: ""; display: block; height: 3px; width: 46px; margin: 8px auto 0; background: var(--brand-accent);
    border-radius: 3px; transform: scaleX(0); transform-origin: center; transition: transform 0.5s ease 0.4s;
}
.bf-comm-stat.done .bf-comm-stat-num::after { transform: scaleX(1); }
.bf-comm-stat-label { display: block; font-size: 0.92rem; color: var(--text-light); margin-top: 10px; line-height: 1.4; }
.bf-comm-ringwrap { position: relative; width: 118px; height: 118px; margin: 0 auto; }
.bf-comm-ring { transform: rotate(-90deg); }
.bf-comm-ring .track { fill: none; stroke: rgba(36,179,53,0.15); stroke-width: 9; }
.bf-comm-ring .bar { fill: none; stroke: var(--brand-secondary); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.4s ease; }
.bf-comm-ringwrap .bf-comm-ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; font-weight: 800; color: var(--brand-primary); }
.bf-comm-compliance { text-align: center; margin-top: 30px; font-size: 0.92rem; color: var(--text-light); }
.bf-comm-compliance i { color: var(--brand-secondary); margin-right: 6px; }

/* ============================================================ WHY (bento) */
.bf-comm-why { background: var(--brand-background, #f8fafc); }
.bf-comm-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 24px; }
.bf-comm-bento .bf-card { text-align: left; margin: 0; }
.bf-comm-bento-hero { grid-column: span 2; grid-row: span 2; background: var(--brand-primary) !important; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.bf-comm-bento-hero h3 { color: #fff !important; }
.bf-comm-bento-hero p { color: #cbd5e1 !important; }
.bf-comm-bento-big { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; line-height: 1; color: #fff; margin-top: 20px; }
.bf-comm-bento-big::after { content: ""; display: block; width: 70px; height: 4px; background: var(--brand-accent); border-radius: 4px; margin-top: 12px; }
.bf-comm-halo { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-lg, 14px); background: rgba(36,179,53,0.12); margin-bottom: 16px; }
.bf-comm-halo i { font-size: 1.5rem; color: var(--brand-secondary); }
.bf-comm-bento-hero .bf-comm-halo { background: rgba(36,179,53,0.2); }
.bf-comm-bento .bf-card { border-top: 3px solid transparent; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.bf-comm-bento .bf-card:not(.bf-comm-bento-hero):hover { transform: translateY(-5px); border-top-color: var(--brand-secondary); }
.bf-comm-bento .bf-card h3 { font-size: 1.2rem; margin: 0 0 8px; }
.bf-comm-bento .bf-card p { margin: 0; color: var(--text-light); }

/* ============================================================ SERVICES */
.bf-comm-services { background: var(--brand-surface, #fff); }
.bf-comm-tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.bf-comm-tier { display: flex; flex-direction: column; text-align: left; position: relative; overflow: hidden; }
.bf-comm-tier .bf-comm-halo { margin-bottom: 18px; }
.bf-comm-tier h3 { font-size: 1.5rem; color: var(--brand-primary); margin: 0 0 6px; }
.bf-comm-tier .bf-comm-tier-desc { color: var(--text-light); margin: 0 0 12px; }
.bf-comm-tier .bf-price { margin: 6px 0 4px; }
.bf-comm-tier-note { font-size: 0.9rem; color: var(--text-light); margin: 0 0 16px; }
.bf-comm-ticks { list-style: none; margin: 0 0 24px; padding: 0; }
.bf-comm-ticks li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; color: var(--text-dark); font-size: 0.98rem; }
.bf-comm-ticks li i { color: var(--brand-secondary); margin-top: 3px; }
.bf-comm-tier .btn-primary { margin-top: auto; text-align: center; }
.bf-comm-tier--featured { border: 2px solid var(--brand-accent); box-shadow: 0 24px 50px rgba(245,158,11,0.18); transform: scale(1.03); }
.bf-comm-ribbon {
    position: absolute; top: 16px; right: -42px; transform: rotate(45deg);
    background: var(--brand-accent); color: var(--brand-primary); font-weight: 800; font-size: 0.72rem;
    letter-spacing: 1px; padding: 6px 50px; box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.bf-comm-tier--featured .bf-price { color: var(--brand-secondary); }

/* Local / national tier tags */
.bf-comm-tier-tag {
    display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
    font-size: 0.76rem; font-weight: 700; letter-spacing: 0.02em;
    padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.bf-comm-tier-tag.is-local { background: rgba(36,179,53,0.12); color: #0f766e; }
.bf-comm-tier-tag.is-national { background: rgba(37,99,235,0.12); color: #1d4ed8; }
.bf-comm-tier-tag i { font-size: 0.82rem; }
.bf-comm-per { font-size: 0.9rem; font-weight: 600; color: var(--text-light); }

/* One-off "buy online" area gate */
.bf-comm-gate { margin-top: auto; }
.bf-comm-gate-form { display: flex; gap: 8px; }
.bf-comm-gate-input {
    flex: 1 1 auto; width: 100%; padding: 12px 14px; font-size: 1rem;
    border: 1.5px solid var(--border-color, #cbd5e1); border-radius: 12px;
    background: #fff; color: var(--text-dark); outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.bf-comm-gate-input::placeholder { color: #94a3b8; }
.bf-comm-gate-input:focus { border-color: var(--brand-secondary); box-shadow: 0 0 0 3px rgba(36,179,53,.18); }
.bf-comm-gate-btn { flex: 0 0 auto; white-space: nowrap; margin-top: 0 !important; }
.bf-comm-gate-result { margin-top: 12px; font-size: 0.95rem; line-height: 1.5; }
.bf-comm-gate-result:empty { margin-top: 0; }
.bf-comm-gate-result.loading { color: var(--text-light); }
.bf-comm-gate-result.err { color: #b91c1c; }
.bf-comm-gate-result.ok { color: #065f46; }
.bf-comm-gate-result.ok strong,
.bf-comm-gate-result.info strong { display: block; margin-bottom: 8px; }
.bf-comm-gate-result.no { color: #7c2d12; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 12px 14px; }
.bf-comm-gate-result.no strong { display: block; margin-bottom: 4px; }
.bf-comm-gate-result.no span,
.bf-comm-gate-result.info span { display: block; margin-top: 6px; font-size: 0.9rem; }
.bf-comm-gate-result.info { color: var(--text-light); }
.bf-comm-gate-result a:not(.btn-primary) { color: var(--brand-secondary); font-weight: 700; text-decoration: underline; }
.bf-comm-gate-buy { display: block; text-align: center; margin-top: 8px; }
.bf-lbl-opt { font-weight: 500; color: var(--text-light); font-size: 0.85em; }
@media (max-width: 480px) {
    .bf-comm-gate-form { flex-direction: column; }
    .bf-comm-gate-btn { width: 100%; }
}

/* ============================================================ STANDARD showcase */
.bf-comm-showcase { background: var(--brand-primary); color: #fff; overflow: hidden; }
.bf-comm-showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.bf-comm-showcase-photo { position: relative; }
.bf-comm-showcase-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-xl, 20px); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); }
.bf-comm-guarantee-pill {
    position: absolute; bottom: -16px; left: -12px; display: inline-flex; align-items: center; gap: 8px;
    background: var(--brand-accent); color: var(--brand-primary); font-weight: 800; font-size: 0.9rem;
    padding: 10px 18px; border-radius: 9999px; box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.bf-comm-showcase h2 { color: #fff; }
.bf-comm-showcase p { color: #cbd5e1; font-size: 1.05rem; line-height: 1.7; }
.bf-comm-showcase .bf-comm-ticks li { color: #e2e8f0; }

/* The BinFresh Standard — icon-led method band (replaces the repeated hero photo) */
.bf-comm-standard-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.bf-comm-standard-head h2 { color: #fff; margin: 0 0 12px; }
.bf-comm-standard-head p { color: #cbd5e1; font-size: 1.08rem; line-height: 1.7; margin: 0; }
.bf-comm-standard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bf-comm-standard-item {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg, 14px); padding: 30px 26px;
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.bf-comm-standard-item:hover { transform: translateY(-4px); border-color: rgba(36,179,53,0.5); background: rgba(255,255,255,0.08); }
.bf-comm-standard-item .bf-comm-halo { background: rgba(36,179,53,0.2); margin-bottom: 16px; }
.bf-comm-standard-item h3 { color: #fff; font-size: 1.2rem; margin: 0 0 8px; }
.bf-comm-standard-item p { color: #cbd5e1; margin: 0; font-size: 0.97rem; line-height: 1.6; }
@media (max-width: 768px) {
    .bf-comm-standard-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .bf-comm-clients-logos { gap: 18px; }
    .bf-comm-client { min-width: 0; width: 100%; max-width: 320px; padding: 22px 30px; }
}

/* ============================================================ QUOTE */
.bf-comm-quote { background: var(--brand-primary); color: #fff; scroll-margin-top: 120px; }
.bf-comm-quote-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.bf-comm-quote-panel h2 { color: #fff; }
.bf-comm-quote-panel > p { color: #cbd5e1; font-size: 1.05rem; line-height: 1.6; margin-bottom: 26px; }
.bf-comm-steps { list-style: none; margin: 0 0 24px; padding: 0; }
.bf-comm-steps li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.bf-comm-steps .n { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: rgba(36,179,53,0.15); color: var(--brand-secondary); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
.bf-comm-steps strong { display: block; color: #fff; font-size: 1rem; }
.bf-comm-steps span { color: #94a3b8; font-size: 0.9rem; }
.bf-comm-reassure { display: flex; align-items: center; gap: 8px; color: #cbd5e1; font-size: 0.92rem; margin-bottom: 16px; }
.bf-comm-reassure i { color: var(--brand-secondary); }
.bf-comm-talk { color: #94a3b8; font-size: 0.92rem; }
.bf-comm-talk a { color: #fff; margin: 0 6px; font-size: 1.15rem; }

.bf-comm-formcard { background: #fff; border-radius: var(--radius-lg, 16px); box-shadow: 0 30px 60px rgba(0,0,0,0.35); padding: clamp(24px, 3vw, 38px); }
.bf-comm-formcard h3 { color: var(--brand-primary); font-size: 1.35rem; margin: 0 0 4px; }
.bf-comm-formcard .bf-comm-formcard-sub { color: var(--text-light); font-size: 0.95rem; margin: 0 0 20px; }
.bf-comm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.bf-comm-form-grid .bf-field.full { grid-column: 1 / -1; }
/* segmented frequency control */
.bf-comm-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--bg-light, #f8fafc); border: 1px solid var(--border-color, #e2e8f0); border-radius: 12px; padding: 5px; }
.bf-comm-seg button { border: none; background: transparent; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--text-light); padding: 10px; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; }
.bf-comm-seg button.is-active { background: var(--brand-secondary); color: #fff; box-shadow: 0 4px 12px rgba(36,179,53,0.3); }
/* live estimate chip */
.bf-comm-estimate { display: flex; align-items: center; gap: 10px; margin-top: 4px; margin-bottom: 8px; padding: 12px 16px; background: rgba(36,179,53,0.08); border: 1px dashed var(--brand-secondary); border-radius: 12px; font-weight: 700; color: var(--brand-primary); }
.bf-comm-estimate i { color: var(--brand-secondary); }
.bf-comm-estimate.is-bespoke { background: rgba(245,158,11,0.1); border-color: var(--brand-accent); }
.bf-comm-estimate.is-bespoke i { color: var(--brand-accent); }
/* pulse when routed here */
.bf-comm-formcard.is-pulsing { animation: bf-pulse-ring 0.9s ease-out 1; }

/* ============================================================ FAQ */
.bf-comm-faq { background: var(--brand-background, #f8fafc); }
.bf-comm-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; align-items: start; }
.bf-comm-faq-head { position: sticky; top: 120px; }
.bf-comm-faq-head a { color: var(--brand-secondary); font-weight: 700; text-decoration: none; }
.bf-comm-acc { display: flex; flex-direction: column; gap: 14px; }
.bf-comm-acc details { background: #fff; border: 1px solid var(--border-color, #e2e8f0); border-radius: 12px; overflow: hidden; transition: border-color 0.25s ease; }
.bf-comm-acc details[open] { border-left: 4px solid var(--brand-secondary); }
.bf-comm-acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--brand-primary); font-size: 1.02rem; }
.bf-comm-acc summary::-webkit-details-marker { display: none; }
.bf-comm-acc summary .ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(36,179,53,0.12); color: var(--brand-secondary); display: inline-flex; align-items: center; justify-content: center; transition: transform 0.25s ease; }
.bf-comm-acc details[open] summary .ic { transform: rotate(45deg); }
.bf-comm-acc .bf-comm-acc-body { padding: 0 22px 20px; color: var(--text-light); line-height: 1.6; }
.bf-comm-pricetable { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 0.95rem; }
.bf-comm-pricetable td { padding: 9px 12px; border-bottom: 1px solid var(--border-color, #e2e8f0); color: var(--text-dark); }
.bf-comm-pricetable td:last-child { text-align: right; font-weight: 700; color: var(--brand-primary); }
.bf-comm-pricetable tr:nth-child(even) td { background: var(--bg-light, #f8fafc); }
.bf-comm-pricetable tr.is-commercial td { background: rgba(245,158,11,0.1); }

/* ============================================================ FINAL CTA */
.bf-comm-finalcta { background: var(--brand-primary); color: #fff; text-align: center; position: relative; overflow: hidden; }
.bf-comm-finalcta::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 70%; height: 160%; background: radial-gradient(circle, rgba(36,179,53,0.2) 0%, transparent 60%); animation: bf-glow-breathe 8s ease-in-out infinite; }
.bf-comm-finalcta .inside-article { position: relative; z-index: 2; }
.bf-comm-finalcta h2 { color: #fff; font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: 0 0 12px; }
.bf-comm-finalcta p { color: #cbd5e1; font-size: 1.1rem; margin: 0 0 26px; }
.bf-comm-finalcta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 22px; }
.bf-comm-finalcta-trust { color: #94a3b8; font-size: 0.9rem; }

/* ============================================================ STICKY conversion chrome */
.bf-comm-rail {
    position: fixed; right: 24px; bottom: 24px; z-index: 900;
    display: none; align-items: center; gap: 10px;
    background: var(--brand-secondary); color: #fff; font-weight: 800; text-decoration: none;
    padding: 14px 22px; border-radius: 9999px; box-shadow: 0 14px 34px rgba(36,179,53,0.4);
    transform: translateY(140%); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.bf-comm-rail.show { transform: translateY(0); animation: bf-rail-breathe 4s ease-in-out infinite 0.6s; }
.bf-comm-bottombar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: none;
    grid-template-columns: 1fr 1fr; gap: 0; background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,0.12);
    border-top: 1px solid var(--border-color, #e2e8f0);
}
.bf-comm-bottombar a { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 8px; text-decoration: none; font-weight: 700; font-size: 0.9rem; line-height: 1.2; }
.bf-comm-bottombar .buy { color: var(--brand-primary); background: #fff; }
.bf-comm-bottombar .buy small { color: var(--text-light); font-weight: 600; font-size: 0.72rem; }
.bf-comm-bottombar .quote { background: var(--brand-secondary); color: #fff; }

@media (min-width: 992px) { .bf-comm-rail { display: inline-flex; } }

/* ============================================================ CONTACT PAGE */
.bf-contact-hero { position: relative; color: #fff; text-align: center; padding: clamp(56px, 8vw, 90px) 20px; background: var(--brand-primary); }
.bf-contact-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 2px; }
.bf-contact-hero p { color: #e2e8f0; font-size: 1.1rem; line-height: 1.6; max-width: 640px; margin: 0 auto 22px; }
.bf-contact-hero p strong { color: #fff; }
.bf-contact-main { background: var(--brand-background, #f8fafc); }
.bf-contact-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.bf-contact-formcard { background: #fff; border-radius: var(--radius-lg, 16px); box-shadow: 0 20px 45px rgba(15,23,42,0.08); padding: clamp(24px, 3vw, 38px); }
.bf-contact-formcard h2 { color: var(--brand-primary); font-size: 1.6rem; margin: 0 0 6px; }
.bf-contact-formcard > p { color: var(--text-light); margin: 0 0 22px; }
.bf-contact-info .bf-card { text-align: left; margin-bottom: 20px; }
.bf-contact-info-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.bf-contact-info-row:last-child { margin-bottom: 0; }
.bf-contact-info-row .bf-comm-halo { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
.bf-contact-info-row .bf-comm-halo i { font-size: 1.2rem; }
.bf-contact-info-row h4 { margin: 0 0 4px; color: var(--brand-primary); font-size: 1.05rem; }
.bf-contact-info-row p { margin: 0; color: var(--text-light); font-size: 0.95rem; line-height: 1.5; }
.bf-contact-socials a { color: var(--brand-primary); font-size: 1.4rem; margin-right: 16px; transition: color 0.2s ease; }
.bf-contact-socials a:hover { color: var(--brand-secondary); }
.bf-contact-trustline { font-size: 0.88rem; color: var(--text-light); margin-top: 12px; }

/* ============================================================ RESPONSIVE */
@media (max-width: 991px) {
    .bf-comm-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .bf-comm-photo img { transform: rotate(0); }
    .bf-comm-quote-grid { grid-template-columns: 1fr; gap: 32px; }
    .bf-comm-faq-grid { grid-template-columns: 1fr; gap: 28px; }
    .bf-comm-faq-head { position: static; }
    .bf-comm-showcase-grid { grid-template-columns: 1fr; gap: 40px; }
    .bf-contact-layout { grid-template-columns: 1fr; gap: 28px; }
    .bf-comm-bottombar { display: grid; }
    body.page.full-width-content.bf-has-bottombar { padding-bottom: 66px; }
}
@media (max-width: 768px) {
    .bf-comm-proof-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
    .bf-comm-stat:nth-child(3) { border-left: none; }
    .bf-comm-bento { grid-template-columns: 1fr; }
    .bf-comm-bento-hero { grid-column: auto; grid-row: auto; }
    .bf-comm-tiers { grid-template-columns: 1fr; max-width: 460px; }
    .bf-comm-form-grid { grid-template-columns: 1fr; }
    .bf-comm-trust-group { border-left: none; padding: 0; }
    .bf-comm-trust-row { gap: 18px; }
    .bf-contact-hero h1 { letter-spacing: 1px; }
}

/* ============================================================ KEYFRAMES */
@keyframes bf-rail-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes bf-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(36,179,53,0.55); } 100% { box-shadow: 0 0 0 26px rgba(36,179,53,0); } }
@keyframes bf-glow-breathe { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .bf-comm-rail, .bf-comm-photo img, .bf-comm-finalcta::before { animation: none !important; }
    .bf-comm-stat-num::after, .bf-comm-ring .bar { transition: none !important; }
    .bf-comm-finalcta::before { opacity: 0.7; }
}
