/*
Theme Name: BoosterProfile Hello Child
Theme URI: https://boosterprofile.com/
Description: Lightweight Hello Elementor child theme for BoosterProfile client sites. Header, footer and mobile call bar read the business facts from the BoosterProfile Site Kit plugin; page bodies are Elementor.
Author: BoosterProfile
Template: hello-elementor
Version: 1.0.1
Text Domain: bp-hello-child
*/

/* ---------- Fonts (self-hosted, latin only) ---------- */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter-var.woff2") format("woff2"); }

/* ---------- Tokens (per-client colors live here and in the Elementor kit) ---------- */
:root {
	--bp-ink: #161616;
	--bp-text: #2e2a26;
	--bp-muted: #5e5750;
	--bp-accent: #a85a22;
	--bp-accent-dark: #8c4a1b;
	--bp-accent-soft: #e2b98f;
	--bp-cream: #f6f1ea;
	--bp-stone: #e8e1d6;
	--bp-line: #ddd5ca;
	--bp-dark: #22372c;
	--bp-white: #fff;
	--bp-radius: 10px;
	--bp-wrap: 1200px;
	--bp-head-font: "Barlow Condensed", "Arial Narrow", sans-serif;
	--bp-body-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--bp-shadow: 0 12px 32px rgba(22, 22, 22, 0.12);
}

body { font-family: var(--bp-body-font); color: var(--bp-text); background: var(--bp-white); -webkit-font-smoothing: antialiased; }
a { color: var(--bp-accent-dark); }
a:hover, a:focus { color: var(--bp-ink); }
html body .elementor-widget-text-editor a { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--bp-accent); outline-offset: 2px; }
.bp-wrap { max-width: var(--bp-wrap); margin: 0 auto; padding: 0 20px; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Buttons ---------- */
.bp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 6px; border: 2px solid transparent; font-family: var(--bp-head-font); font-weight: 700; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
html body .bp-btn.bp-btn--accent { background: var(--bp-accent); color: var(--bp-white); }
html body .bp-btn.bp-btn--accent:hover, html body .bp-btn.bp-btn--accent:focus { background: var(--bp-accent-dark); color: var(--bp-white); }
html body .bp-btn--ghost { border-color: currentColor; color: var(--bp-ink); background: transparent; }
.bp-btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.bp-topbar { background: var(--bp-ink); color: #d8d2ca; font-size: 14px; }
.bp-topbar .bp-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
html body .bp-topbar a { color: var(--bp-white); text-decoration: none; }
html body .bp-topbar a:hover { color: var(--bp-accent-soft); }
.bp-topbar__links { display: flex; gap: 20px; }
.bp-topbar__links a { display: inline-flex; align-items: center; gap: 6px; }
.bp-topbar svg { width: 15px; height: 15px; }

.bp-header { position: sticky; top: 0; z-index: 50; background: var(--bp-white); border-bottom: 1px solid var(--bp-line); }
.admin-bar .bp-header { top: 32px; }
.bp-header .bp-wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.bp-logo { display: block; flex: none; line-height: 0; }
.bp-logo img { width: 150px; height: auto; }
.bp-nav { margin-left: auto; }
.bp-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
html body .bp-nav a { color: var(--bp-ink); font-family: var(--bp-head-font); font-weight: 600; font-size: 19px; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
html body .bp-nav a:hover, html body .bp-nav a:focus { color: var(--bp-accent); border-color: var(--bp-accent); }
.bp-header__cta { display: flex; align-items: center; gap: 18px; }
html body .bp-header__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--bp-ink); font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; }
.bp-header__phone svg { width: 20px; height: 20px; color: var(--bp-accent); }
html body .bp-menu-toggle { display: none; background: transparent; border: 2px solid var(--bp-ink); border-radius: 6px; padding: 8px 12px; font-family: var(--bp-head-font); font-weight: 700; font-size: 17px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--bp-ink); cursor: pointer; }
html body .bp-menu-toggle:hover, html body .bp-menu-toggle:focus { background: var(--bp-ink); color: var(--bp-white); }

/* Services dropdown */
.bp-nav li { position: relative; }
.bp-nav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.bp-nav .bp-sub { display: none; position: absolute; top: 100%; left: -16px; z-index: 60; min-width: 270px; padding: 10px 0; background: var(--bp-white); border: 1px solid var(--bp-line); border-radius: var(--bp-radius); box-shadow: var(--bp-shadow); flex-direction: column; gap: 0; }
.bp-nav .has-sub:hover > .bp-sub, .bp-nav .has-sub:focus-within > .bp-sub { display: flex; }
html body .bp-nav .bp-sub a { display: block; padding: 8px 18px; border: 0; font-family: var(--bp-body-font); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; }
html body .bp-nav .bp-sub a:hover { background: var(--bp-cream); }
.bp-crumbs { font-size: 14px; color: #d9d2c9; }
html body .bp-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bp-crumbs span[aria-hidden] { margin: 0 8px; opacity: .7; }
.bp-service-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; justify-content: center; }
html body .bp-service-links a { display: inline-block; padding: 8px 14px; border: 1px solid var(--bp-line); border-radius: 999px; background: var(--bp-white); color: var(--bp-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
html body .bp-service-links a:hover { border-color: var(--bp-accent); color: var(--bp-accent-dark); }
.bp-types ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; }
.bp-types li { break-inside: avoid; padding: 7px 0 7px 26px; position: relative; color: var(--bp-ink); font-weight: 500; }
.bp-types li::before { content: ""; position: absolute; left: 0; top: 14px; width: 14px; height: 8px; border-left: 3px solid var(--bp-accent); border-bottom: 3px solid var(--bp-accent); transform: rotate(-45deg); }
@media (max-width: 600px) { .bp-types ul { columns: 1; } }
.bp-legal h2 { font-size: 30px; margin: 28px 0 8px; }
.bp-legal p, .bp-legal li { font-size: 17px; line-height: 1.7; }

@media (max-width: 1100px) {
	.bp-header__phone span { display: none; }
	.bp-nav ul { gap: 18px; }
}
@media (max-width: 960px) {
	.bp-topbar__area { display: none; }
	.bp-topbar .bp-wrap { justify-content: center; }
	.bp-header .bp-wrap { gap: 12px; min-height: 66px; flex-wrap: wrap; }
	.bp-logo img { width: 124px; }
	html body .bp-menu-toggle { display: block; order: 3; }
	.bp-header__cta { order: 2; margin-left: auto; }
	.bp-header__phone svg { width: 24px; height: 24px; }
	.bp-header__cta .bp-btn { display: none; }
	.bp-header__phone span { display: none; }
	.bp-nav { order: 4; flex-basis: 100%; margin: 0; display: none; padding-bottom: 12px; }
	/* Oct 29: the open menu scrolls inside itself. In the sticky header it grew to ~1,800px on phones and the
	   bottom half (service areas, About, Contact) could never be reached. The footer script sets an exact max-height. */
	.bp-nav.is-open { display: block; max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-bottom: 24px; }
	html.bp-nav-open, html.bp-nav-open body { overflow: hidden; }
	html.bp-nav-open .bp-callbar { display: none; }
	.bp-nav ul { flex-direction: column; gap: 0; }
	.bp-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--bp-line); }
	.bp-nav .bp-sub { display: flex; position: static; min-width: 0; padding: 0 0 0 14px; border: 0; box-shadow: none; }
	html body .bp-nav .bp-sub a { padding: 9px 0; border-bottom: 1px solid var(--bp-line); }
	.bp-nav .has-sub > a::after { display: none; }
}

/* ---------- Footer ---------- */
.bp-footer { background: var(--bp-ink); color: #cfc8bf; font-size: 15px; line-height: 1.6; }
html body .bp-footer a { color: #cfc8bf; text-decoration: none; }
html body .bp-footer a:hover, html body .bp-footer a:focus { color: var(--bp-white); text-decoration: underline; }
.bp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.bp-footer__logo img { width: 170px; height: auto; }
.bp-footer__title { margin: 0 0 14px; color: var(--bp-white); font-family: var(--bp-head-font); font-weight: 700; font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase; }
.bp-footer ul { list-style: none; margin: 0; padding: 0; }
.bp-footer li { margin: 0 0 6px; }
.bp-footer address { font-style: normal; }
.bp-footer__rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--bp-white) !important; font-weight: 600; }
.bp-stars { color: #f4b740; letter-spacing: 2px; }
.bp-social { display: flex; gap: 12px; margin-top: 18px; }
.bp-social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid #4a4540; border-radius: 50%; }
.bp-social a:hover { border-color: var(--bp-accent-soft); }
.bp-social svg { width: 18px; height: 18px; fill: currentColor; }
.bp-footer__bottom { border-top: 1px solid #2f2b28; font-size: 13px; }
.bp-footer__bottom .bp-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
@media (max-width: 960px) { .bp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bp-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; } .bp-footer { padding-bottom: 64px; } }

/* ---------- Mobile call bar ---------- */
.bp-callbar { display: none; }
@media (max-width: 767px) {
	.bp-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -4px 16px rgba(0,0,0,.18); }
	.bp-callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-family: var(--bp-head-font); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
	html body .bp-callbar__call { background: var(--bp-ink); color: var(--bp-white); }
	html body .bp-callbar__quote { background: var(--bp-accent); color: var(--bp-white); }
	.bp-callbar svg { width: 18px; height: 18px; }
}

/* ---------- Quote form ([bp_quote_form]) ---------- */
.bp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.bp-field { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 600; color: var(--bp-ink); }
.bp-field--full { grid-column: 1 / -1; }
.bp-form input[type=text], .bp-form input[type=tel], .bp-form input[type=email], .bp-form select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #cbc2b6; border-radius: 6px; background: var(--bp-white); font: 400 16px/1.3 var(--bp-body-font); color: var(--bp-ink); }
.bp-form input:focus, .bp-form select:focus { border-color: var(--bp-accent); outline: 2px solid var(--bp-accent); outline-offset: 0; }
.bp-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 400; color: var(--bp-muted); line-height: 1.45; }
.bp-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--bp-accent); flex: none; }
.bp-form .bp-btn { width: 100%; min-height: 54px; font-size: 20px; margin-top: 4px; }
.bp-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bp-form__error { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border-radius: 6px; background: #fbe9e7; color: #8a1f11; font-size: 14px; }
.bp-form-done { padding: 22px; border-radius: var(--bp-radius); background: var(--bp-cream); }
.bp-form-done__title { margin: 0 0 6px; font-family: var(--bp-head-font); font-size: 26px; font-weight: 700; color: var(--bp-ink); }
@media (max-width: 480px) { .bp-form { grid-template-columns: 1fr; } }
.bp-form--lead { grid-template-columns: 1fr; gap: 14px; }
.bp-form--lead .bp-btn { margin-top: 2px; }
.bp-opt { margin-left: 4px; font-style: normal; font-weight: 400; font-size: 12px; color: var(--bp-muted); }
.bp-form__note { margin: 0; font-size: 13px; color: var(--bp-muted); text-align: center; }

/* ---------- Elementor helpers (add these classes in Advanced > CSS Classes) ---------- */
.bp-eyebrow .elementor-heading-title { display: inline-block; padding: 6px 14px; border: 1px solid currentColor; border-radius: 999px; }
.bp-card { transition: transform .2s ease, box-shadow .2s ease; }
.bp-card:hover { transform: translateY(-4px); box-shadow: var(--bp-shadow); }
.bp-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.bp-card .elementor-image-box-img { width: 100% !important; margin-bottom: 0 !important; }
.bp-card .elementor-image-box-content { padding: 20px 22px 24px; }
.bp-gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--bp-radius); }
.bp-gallery figcaption, .bp-gallery .widget-image-caption { margin-top: 8px; font-size: 14px; color: var(--bp-muted); text-align: left; }
.bp-areas { columns: 2; gap: 24px; margin: 0; padding: 0; list-style: none; }
.bp-areas li { break-inside: avoid; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--bp-line); position: relative; font-weight: 600; color: var(--bp-ink); }
.bp-areas li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--bp-accent); }
.bp-map iframe { display: block; width: 100%; height: 460px; border: 0; border-radius: var(--bp-radius); }
@media (max-width: 767px) { .bp-map iframe { height: 320px; } }
.bp-answer p:first-child { font-size: 1.08em; }
.bp-checklist { padding: 22px 26px; border-left: 4px solid var(--bp-accent); border-radius: var(--bp-radius); background: var(--bp-cream); }
.bp-checklist p { margin: 0 0 6px; }
.bp-checklist ul { margin: 0; padding-left: 20px; }
.bp-checklist li { margin: 6px 0; }
.bp-faq .e-n-accordion-item { border-bottom: 1px solid var(--bp-line); }
.bp-faq .e-n-accordion-item-title-text { font-family: var(--bp-head-font) !important; }
.bp-step-num .elementor-heading-title { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--bp-accent); color: var(--bp-white) !important; }
.bp-hero-chips .elementor-icon-list-item { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 12px !important; }
