/*
Theme Name: Bluestreak
Theme URI: https://example.com/bluestreak
Author: Bluestreak LLC
Description: A block theme for Bluestreak, residential cleaning in Alexandria, Virginia. Follows the Bluestreak Brand Kit (November 2026): its logo and artwork files, Blue / Navy / Sky / Mist / Ice / Deep Navy / Slate palette, Poppins type scale and 8 / 16 / 24 px corner radii. Includes a ready-made one-page homepage (survey invitation, services, how it works, service area, FAQ and contact) built from editable block patterns.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bluestreak
Tags: full-site-editing, block-patterns, one-column, custom-colors, editor-style, business
*/

/* ---------- base ---------- */
.wp-site-blocks > * + * { margin-block-start: 0; }
main.wp-block-group > .alignfull { margin-block-start: 0; margin-block-end: 0; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
:where(section[id], .wp-block-group[id]) { scroll-margin-top: 96px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #7FC4F5; outline-offset: 3px; }

.bs-eyebrow {
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #1E56D9;
	margin-bottom: 0 !important;
}
.bs-lede { color: #4A5B78; font-size: 1.125rem; line-height: 1.6; }
.bs-muted { color: #4A5B78; }
.bs-note { color: #4A5B78; font-size: 0.875rem; }

/* ---------- header ---------- */
.bs-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid #CFE5FA;
	backdrop-filter: saturate(1.4) blur(8px);
}
.admin-bar .bs-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bs-header { top: 46px; } }
.bs-header .bs-logo { margin: 0; }
.bs-header .bs-logo img { height: 40px; width: auto; display: block; }
.bs-header .wp-block-navigation { font-size: 0.9375rem; font-weight: 500; gap: 1.75rem; }
.bs-header .wp-block-navigation a { color: #0F2240; text-decoration: none; }
.bs-header .wp-block-navigation a:hover { color: #1E56D9; }
.bs-header .wp-block-button__link { padding: 12px 20px; font-size: 0.9375rem; }
@media (max-width: 640px) {
	.bs-header .bs-logo img { height: 32px; }
	.bs-header .bs-header-cta { display: none; }
}

/* ---------- buttons ---------- */
.wp-block-button__link { transition: background-color .15s ease, color .15s ease, border-color .15s ease; min-height: 44px; display: inline-flex; align-items: center; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: #1E56D9;
	border: 2px solid #1E56D9;
	padding: 14px 26px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #1E56D9; color: #fff; }
.bs-on-dark .wp-block-button__link { background: #7FC4F5; color: #0F2240; }
.bs-on-dark .wp-block-button__link:hover { background: #FFFFFF; color: #0F2240; }
.bs-on-dark .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: #FFFFFF; border-color: #7FC4F5; }
.bs-on-dark .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #7FC4F5; color: #0F2240; }

/* ---------- hero ---------- */
.bs-hero { background: #EEF4FB; overflow: hidden; }
.bs-hero h1 { max-width: 13ch; }
.bs-hero .bs-hero-art img { width: 100%; max-width: 520px; margin-inline: auto; display: block; }

.bs-checklist { list-style: none; padding-left: 0 !important; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; }
.bs-checklist li {
	position: relative;
	padding-left: 1.85rem;
	font-size: 0.9375rem;
	font-weight: 500;
}
.bs-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 1.25rem;
	height: 1.25rem;
	background: url(assets/icons/check.svg) center / contain no-repeat;
}
.bs-checklist.is-stacked { flex-direction: column; }

/* ---------- section wrappers ---------- */
.bs-section-ice { background: #EEF4FB; }
.bs-section-head { text-align: center; max-width: 680px; margin-inline: auto !important; }
.bs-section-head h2 { margin-top: 0.5rem; }

/* ---------- cards ---------- */
.bs-card {
	background: #EEF4FB;
	border: 0;
	border-radius: 16px;
	padding: clamp(1.5rem, 3vw, 2rem) !important;
	height: 100%;
	box-sizing: border-box;
}
.bs-card h3 { margin-top: 0.75rem; margin-bottom: 0.5rem; }
.bs-card p { margin-top: 0; }
.bs-card .bs-card-price { font-weight: 600; color: #1E56D9; margin-top: auto; }
.bs-card.is-featured { background: #FFFFFF; box-shadow: inset 0 0 0 2px #1E56D9; }
.bs-section-ice .bs-card { background: #FFFFFF; }
.bs-badge {
	display: inline-block;
	background: #1E56D9;
	color: #FFFFFF;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	border-radius: 8px;
	padding: 0.25rem 0.75rem;
	margin: 0 0 0.25rem !important;
}
.bs-icon { margin: 0 !important; }
.bs-icon img {
	width: 56px;
	height: 56px;
	padding: 14px;
	box-sizing: border-box;
	background: #FFFFFF;
	border-radius: 8px;
	display: block;
}
.bs-icon.is-small img { width: 44px; height: 44px; padding: 10px; }
.bs-section-ice .bs-icon img, .bs-card.is-featured .bs-icon img { background: #EEF4FB; }

/* ---------- steps ---------- */
.bs-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: #1E56D9;
	color: #FFFFFF;
	font-weight: 600;
	margin: 0 !important;
}
.bs-step h3 { margin-top: 0.75rem !important; margin-bottom: 0.4rem !important; }
.bs-step p { margin-top: 0; color: #4A5B78; }

/* ---------- pricing table ---------- */
.bs-price-table { margin: 0; }
.bs-price-table table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	background: #FFFFFF;
	border: 1px solid #CFE5FA;
	border-radius: 16px;
	overflow: hidden;
}
.bs-price-table th, .bs-price-table td { border: 0; border-bottom: 1px solid #EEF4FB; padding: 1rem 1.1rem; text-align: left; }
.bs-price-table thead th { background: #0F2240; color: #FFFFFF; font-weight: 500; font-size: 0.875rem; letter-spacing: 0.02em; border-bottom: 0; }
.bs-price-table tbody tr:last-child td { border-bottom: 0; }
.bs-price-table td:first-child { font-weight: 500; }
.bs-price-table td:nth-child(3) { background: #EEF4FB; color: #1E56D9; font-weight: 600; }
.bs-price-table thead th:nth-child(3) { background: #1E56D9; }
.bs-price-table figcaption { color: #4A5B78; font-size: 0.875rem; margin-top: 0.75rem; text-align: left; }
.bs-price-table.is-simple td:nth-child(2) { color: #1E56D9; font-weight: 600; background: transparent; }
.bs-price-table.is-simple table { background: #FFFFFF; border-radius: 8px; }
@media (max-width: 640px) {
	.bs-price-table { overflow-x: auto; }
	.bs-price-table table { min-width: 540px; }
	.bs-price-table.is-simple table { min-width: 0; }
}

/* ---------- add-ons ---------- */
.bs-addons { list-style: none; padding: 0 !important; margin: 0; }
.bs-addons li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid #CFE5FA;
}
.bs-addons li:last-child { border-bottom: 0; }
.bs-addons strong { color: #1E56D9; font-weight: 600; white-space: nowrap; }

/* ---------- offer band ---------- */
.bs-offer {
	background: #1E56D9;
	color: #FFFFFF;
	border-radius: 24px;
	padding: clamp(1.5rem, 4vw, 2.5rem) !important;
}
.bs-offer h3, .bs-offer p { color: #FFFFFF; margin: 0; }
.bs-offer .bs-offer-kicker { color: #CFE5FA; font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }

/* ---------- service area ---------- */
.bs-chips { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.bs-chips li {
	background: #FFFFFF;
	border: 1px solid #CFE5FA;
	color: #0F2240;
	font-weight: 500;
	border-radius: 8px;
	padding: 0.45rem 1rem;
	font-size: 0.9375rem;
}

/* ---------- FAQ ---------- */
.bs-faq .wp-block-details {
	border-bottom: 1px solid #CFE5FA;
	padding: 1.1rem 0;
	margin: 0;
}
.bs-faq .wp-block-details summary {
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 1.0625rem;
}
.bs-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.bs-faq .wp-block-details summary::after { content: "+"; color: #1E56D9; font-size: 1.5rem; line-height: 1; font-weight: 400; }
.bs-faq .wp-block-details[open] summary::after { content: "\2212"; }
.bs-faq .wp-block-details p { color: #4A5B78; margin: 0.75rem 0 0; }

/* ---------- app band ---------- */
.bs-app .bs-app-icon { margin: 0; }
.bs-app .bs-app-icon img { width: 112px; height: 112px; display: block; }

/* ---------- dark CTA + footer ---------- */
.bs-cta { background: #0F2240; color: #FFFFFF; }
.bs-footer { background: #0A1830; color: #FFFFFF; }
.bs-cta h2, .bs-cta h3, .bs-footer h2, .bs-footer h3 { color: #FFFFFF; }
.bs-cta p, .bs-footer p { color: #CFE5FA; }
.bs-cta a:not(.wp-block-button__link), .bs-footer a:not(.wp-block-button__link) { color: #7FC4F5; }
.bs-cta a:not(.wp-block-button__link):hover, .bs-footer a:not(.wp-block-button__link):hover { color: #FFFFFF; }
.bs-contact-line { display: flex; align-items: center; gap: 0.75rem; margin: 0 !important; }
.bs-contact-line img { width: 22px; height: 22px; filter: brightness(0) invert(1); opacity: 0.85; }
.bs-footer { border-top: 0; }
.bs-footer .bs-logo img { height: 34px; width: auto; }
.bs-footer .bs-footer-links { list-style: none; padding: 0 !important; margin: 0; }
.bs-footer .bs-footer-links li { margin: 0.35rem 0; }
.bs-footer .bs-fineprint { font-size: 0.8125rem; color: #CFE5FA; }
.bs-footer hr { border-color: #1B2E4E !important; opacity: 1; }

/* ---------- refinements ---------- */
.bs-step .bs-step-num { color: #FFFFFF; }
.bs-header .wp-block-navigation a,
.bs-header .wp-block-button__link { white-space: nowrap; }
.bs-app .bs-card > .wp-block-group { flex: 1 1 18rem; }
.bs-footer .bs-fineprint { max-width: 1160px !important; }
.bs-price-table td:first-child { min-width: 9rem; }
.bs-header .bs-logo { flex-shrink: 0; }
@media (max-width: 960px) { .bs-header .bs-header-cta { display: none; } }

/* ---------- brand kit elements ---------- */
/* Streaks used as a divider above a heading, always level and pointing right (p.9). */
.bs-streak-divider { margin: 0 0 0.5rem !important; }
.bs-streak-divider img { width: 64px; height: auto; display: block; }

/* ---------- survey call to action ---------- */
.bs-survey {
	background: #0F2240;
	color: #FFFFFF;
	border-radius: 24px;
	padding: clamp(1.75rem, 5vw, 3.5rem) !important;
	box-sizing: border-box;
}
.bs-survey h2 { color: #FFFFFF; margin-top: 0.5rem; }
.bs-survey p { color: #CFE5FA; }
.bs-survey .bs-eyebrow { color: #7FC4F5; }
.bs-survey a:not(.wp-block-button__link) { color: #7FC4F5; }
.bs-survey a:not(.wp-block-button__link):hover { color: #FFFFFF; }
.bs-survey .bs-survey-fine { font-size: 0.8125rem; margin-top: 1.25rem; }
.bs-qr {
	background: #FFFFFF;
	border-radius: 16px;
	padding: 1.5rem !important;
	text-align: center;
	max-width: 300px;
	margin-inline: auto;
}
.bs-qr figure { margin: 0 auto; }
.bs-qr img { width: 100%; max-width: 220px; display: block; margin-inline: auto; }
.bs-qr p { color: #4A5B78 !important; font-size: 0.875rem; margin: 0.75rem 0 0; line-height: 1.5; }
.bs-qr strong { color: #0F2240; font-weight: 600; }
