/* BreezeAway theme styles */

:root {
	--ba-ink: #0b2a3f;
	--ba-ink-2: #34505f;
	--ba-muted: #5d7381;
	--ba-brand: #0d9488;
	--ba-brand-dark: #0b766d;
	--ba-accent: #ffc23d;
	--ba-accent-dark: #f0ab00;
	--ba-sky: #eef8f6;
	--ba-line: #dce8e6;
	--ba-white: #ffffff;
	--ba-radius: 14px;
	--ba-shadow: 0 10px 30px rgba(11, 42, 63, .08);
	--ba-wrap: 1120px;
	--ba-gutter: clamp(16px, 4vw, 28px);
	--ba-font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--ba-white);
	color: var(--ba-ink-2);
	font-family: var(--ba-font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--ba-brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--ba-ink); }

h1, h2, h3, h4 {
	color: var(--ba-ink);
	line-height: 1.2;
	letter-spacing: -.01em;
	margin: 0 0 .6em;
	font-weight: 800;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.ba-skip {
	position: absolute; left: -9999px; top: 8px; z-index: 1000;
	background: var(--ba-ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.ba-skip:focus { left: 8px; }

.ba-container {
	max-width: var(--ba-wrap);
	margin-inline: auto;
	padding-inline: var(--ba-gutter);
}

/* ------------------------------------------------ buttons */

.ba-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4em;
	min-height: 48px;
	padding: .7em 1.4em;
	border-radius: 999px;
	border: 2px solid var(--ba-brand);
	background: var(--ba-brand);
	color: #fff !important;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s, transform .15s;
	cursor: pointer;
}
.ba-btn:hover,
.wp-block-button__link:hover {
	background: var(--ba-brand-dark);
	border-color: var(--ba-brand-dark);
	transform: translateY(-1px);
}
.ba-btn--ghost,
.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--ba-brand-dark) !important;
}
.ba-btn--ghost:hover,
.is-style-outline .wp-block-button__link:hover {
	background: var(--ba-sky);
	color: var(--ba-ink) !important;
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 1.2em 0 1.4em;
}
.wp-block-buttons .wp-block-button { margin: 0; }

.ba-btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ------------------------------------------------ top bar + header */

.ba-topbar {
	background: var(--ba-ink);
	color: #cfe3e8;
	font-size: .875rem;
}
.ba-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 18px;
	padding-block: 7px;
}
.ba-topbar a { color: #fff; text-decoration: none; margin-left: 18px; }
.ba-topbar a:first-child { margin-left: 0; }
.ba-topbar a:hover { color: var(--ba-accent); }

.ba-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--ba-line);
}
.admin-bar .ba-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ba-header { top: 0; } }

.ba-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 76px;
}

.ba-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ba-brand);
	flex-shrink: 0;
}
.ba-logo__icon { width: 42px; height: 42px; }
.ba-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.ba-logo__name { font-size: 1.45rem; font-weight: 800; color: var(--ba-ink); letter-spacing: -.02em; }
.ba-logo__name b { color: var(--ba-brand); }
.ba-logo__tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ba-muted); font-weight: 600; }
.custom-logo { max-height: 60px; width: auto; }

.ba-nav { display: flex; align-items: center; gap: 22px; }

.ba-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 4px;
}
.ba-menu > li { position: relative; }
.ba-menu a {
	display: block;
	padding: 10px 12px;
	color: var(--ba-ink);
	font-weight: 600;
	font-size: .97rem;
	text-decoration: none;
	border-radius: 8px;
}
.ba-menu a:hover,
.ba-menu .current-menu-item > a { color: var(--ba-brand-dark); background: var(--ba-sky); }
.ba-menu .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 7px; height: 7px;
	margin-left: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.ba-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: #fff;
	border: 1px solid var(--ba-line);
	border-radius: 12px;
	box-shadow: var(--ba-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.ba-menu li:hover > .sub-menu,
.ba-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ba-menu .sub-menu a { font-weight: 500; padding: 8px 12px; }

.ba-nav__cta { display: flex; gap: 10px; }
.ba-nav__cta .ba-btn { min-height: 44px; padding: .55em 1.1em; font-size: .95rem; }

.ba-nav-toggle {
	display: none;
	width: 48px; height: 48px;
	border: 1px solid var(--ba-line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	position: relative;
}
.ba-nav-toggle__bars,
.ba-nav-toggle__bars::before,
.ba-nav-toggle__bars::after {
	position: absolute;
	left: 13px;
	width: 22px; height: 2px;
	background: var(--ba-ink);
	border-radius: 2px;
	content: "";
	transition: transform .2s, opacity .2s;
}
.ba-nav-toggle__bars { top: 23px; }
.ba-nav-toggle__bars::before { left: 0; top: -7px; }
.ba-nav-toggle__bars::after { left: 0; top: 7px; }
.ba-nav-toggle[aria-expanded="true"] .ba-nav-toggle__bars { background: transparent; }
.ba-nav-toggle[aria-expanded="true"] .ba-nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.ba-nav-toggle[aria-expanded="true"] .ba-nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.ba-nav__cta .ba-btn--ghost { display: none; }
}

@media (max-width: 960px) {
	.ba-nav-toggle { display: block; }
	.ba-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		max-height: calc(100vh - 110px);
		overflow-y: auto;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 12px var(--ba-gutter) 24px;
		background: #fff;
		border-bottom: 1px solid var(--ba-line);
		box-shadow: var(--ba-shadow);
	}
	.ba-nav.is-open { display: flex; }
	.ba-menu { flex-direction: column; }
	.ba-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 0 14px;
		display: none;
	}
	.ba-menu li.is-open > .sub-menu { display: block; }
	.ba-menu .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
	.ba-nav__cta { flex-direction: column; }
	.ba-nav__cta .ba-btn--ghost { display: inline-flex; }
}

/* ------------------------------------------------ page content */

.ba-content > .wp-block-group,
.ba-hero {
	padding: clamp(44px, 7vw, 76px) var(--ba-gutter);
	margin: 0;
}
.ba-content > .wp-block-group > *,
.ba-hero > * {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}
.ba-content > .wp-block-group > .wp-block-table,
.ba-content > .wp-block-group > .wp-block-buttons { max-width: 860px; }

.ba-content > .ba-sec:nth-child(odd of .ba-sec) { background: var(--ba-sky); }
@supports not selector(:nth-child(1 of .x)) {
	.ba-content > .ba-sec:nth-child(even) { background: var(--ba-sky); }
}

.ba-content--plain { padding: 40px var(--ba-gutter) 64px; }
.ba-content--plain > * { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Hero */
.ba-hero {
	background:
		radial-gradient(1200px 400px at 85% -10%, rgba(255, 255, 255, .14), transparent 60%),
		linear-gradient(135deg, #0b2a3f 0%, #0d4f5c 55%, #0d9488 100%);
	color: #e3f2f1;
	text-align: left;
}
.ba-hero h1 { color: #fff; max-width: 860px; }
.ba-hero p { font-size: 1.12rem; }
.ba-hero a:not(.wp-block-button__link):not(.ba-btn) { color: #fff; }
.ba-hero strong { color: #fff; }
.ba-hero .wp-block-button__link,
.ba-hero .ba-btn {
	background: var(--ba-accent);
	border-color: var(--ba-accent);
	color: var(--ba-ink) !important;
}
.ba-hero .wp-block-button__link:hover,
.ba-hero .ba-btn:hover { background: var(--ba-accent-dark); border-color: var(--ba-accent-dark); }
.ba-hero .is-style-outline .wp-block-button__link,
.ba-hero .ba-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .7);
	color: #fff !important;
}
.ba-hero .is-style-outline .wp-block-button__link:hover,
.ba-hero .ba-btn--ghost:hover { background: rgba(255, 255, 255, .12); }

.ba-hero--home { padding-block: clamp(56px, 9vw, 104px); }
.ba-hero--home h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
.ba-hero--home > * { max-width: 960px; }

.ba-hero--plain { text-align: center; }
.ba-hero--plain h1 { margin-inline: auto; }

/* Check lists */
.ba-checks { list-style: none; padding: 0; margin: 1em auto 1.2em; }
.ba-checks li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.ba-checks li::before {
	content: "";
	position: absolute;
	left: 0; top: .2em;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--ba-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ba-hero .ba-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 28px; }
.ba-hero .ba-checks li::before { background-color: var(--ba-accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230b2a3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ba-hero .ba-checks li:last-child { grid-column: 1 / -1; }

/* Regular lists */
.ba-content ul:not(.ba-checks):not(.sub-menu) { padding-left: 1.25em; }
.ba-content ul:not(.ba-checks) li { margin-bottom: .4em; }
.ba-content li::marker { color: var(--ba-brand); }

/* FAQ questions */
.ba-q {
	font-size: 1.1rem;
	margin: 1.6em auto .35em;
	padding-left: 30px;
	position: relative;
}
.ba-q::before {
	content: "Q";
	position: absolute;
	left: 0; top: .05em;
	width: 22px; height: 22px;
	border-radius: 6px;
	background: var(--ba-ink);
	color: #fff;
	font-size: .75rem;
	display: grid;
	place-items: center;
}
.ba-q + p { padding-left: 30px; }

/* Call-outs */
.ba-callout {
	background: #fff;
	border: 1px solid var(--ba-line);
	border-left: 5px solid var(--ba-brand);
	border-radius: var(--ba-radius);
	padding: 18px 22px;
	margin-block: 1.4em;
	box-shadow: var(--ba-shadow);
}
.ba-callout p:last-child { margin-bottom: 0; }

/* Tables */
.wp-block-table { overflow-x: auto; margin: 1.4em auto; }
.wp-block-table table {
	width: 100%;
	min-width: 520px;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid var(--ba-line);
	border-radius: var(--ba-radius);
	overflow: hidden;
	font-size: .97rem;
}
.wp-block-table th,
.wp-block-table td { padding: 12px 16px; text-align: left; border: 0; border-bottom: 1px solid var(--ba-line); }
.wp-block-table thead th { background: var(--ba-ink); color: #fff; font-weight: 700; }
.wp-block-table tbody tr:last-child td { border-bottom: 0; }
.wp-block-table td:last-child { color: var(--ba-ink); font-weight: 600; }
.wp-block-table td:first-child { font-weight: 600; color: var(--ba-ink); }

/* CTA sections */
.ba-content > .ba-sec--cta {
	background: linear-gradient(135deg, #0b2a3f, #0d4f5c) !important;
	color: #d7ebea;
	text-align: center;
}
.ba-sec--cta h2 { color: #fff; }
.ba-sec--cta a:not(.wp-block-button__link) { color: #fff; }
.ba-sec--cta strong { color: #fff; }
.ba-sec--cta .wp-block-buttons { justify-content: center; }
.ba-sec--cta .wp-block-button__link { background: var(--ba-accent); border-color: var(--ba-accent); color: var(--ba-ink) !important; }
.ba-sec--cta .is-style-outline .wp-block-button__link { background: transparent; border-color: rgba(255,255,255,.7); color: #fff !important; }

.ba-cta-text { font-weight: 600; color: var(--ba-ink); margin-bottom: .2em; }
.ba-sec--cta .ba-cta-text { color: #fff; }

/* ------------------------------------------------ quote form */

.ba-sec--form > .ba-form-wrap { max-width: 860px; }
.ba-form {
	background: #fff;
	border: 1px solid var(--ba-line);
	border-radius: 18px;
	box-shadow: var(--ba-shadow);
	padding: clamp(20px, 4vw, 36px);
}
.ba-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.ba-form__field { display: flex; flex-direction: column; gap: 6px; }
.ba-form__field--full { grid-column: 1 / -1; }
.ba-form label,
.ba-form legend { font-weight: 700; color: var(--ba-ink); font-size: .98rem; }
.ba-form .req { color: #c2410c; }
.ba-form small { color: var(--ba-muted); font-size: .86rem; }
.ba-form input[type="text"],
.ba-form input[type="tel"],
.ba-form input[type="email"],
.ba-form input[type="date"],
.ba-form select,
.ba-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1.5px solid #c7d7d5;
	border-radius: 10px;
	background: #fff;
	font: inherit;
	font-size: 1rem;
	color: var(--ba-ink);
}
.ba-form textarea { min-height: 110px; resize: vertical; }
.ba-form input:focus,
.ba-form select:focus,
.ba-form textarea:focus { outline: 3px solid rgba(13, 148, 136, .25); border-color: var(--ba-brand); }
.ba-form fieldset { border: 0; padding: 0; margin: 0; }
.ba-form__checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 16px; margin-top: 8px; }
.ba-form__checks label { font-weight: 500; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.ba-form__checks input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ba-brand); flex-shrink: 0; }
.ba-form__drop {
	border: 2px dashed #9fcdc7;
	border-radius: 14px;
	background: var(--ba-sky);
	padding: 22px;
	text-align: center;
}
.ba-form__drop input[type="file"] { max-width: 100%; }
.ba-form__files { margin-top: 8px; font-size: .9rem; color: var(--ba-ink); }
.ba-form__hp { position: absolute !important; left: -9999px !important; }
.ba-form__submit { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ba-form__submit .ba-btn { font-size: 1.08rem; min-height: 54px; padding-inline: 1.8em; }
.ba-form__submit .ba-btn[disabled] { opacity: .6; cursor: wait; }
.ba-form__privacy { font-size: .88rem; color: var(--ba-muted); margin: 14px 0 0; }

.ba-notice {
	border-radius: 14px;
	padding: 18px 22px;
	margin-bottom: 18px;
	font-weight: 500;
}
.ba-notice--ok { background: #e7f8ef; border: 1px solid #9fdcb9; color: #0f5132; }
.ba-notice--error { background: #fff1ed; border: 1px solid #f5b8a5; color: #8a2a0c; }
.ba-notice strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }

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

/* ------------------------------------------------ blog */

.ba-posts { padding-block: 48px 64px; }
.ba-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.ba-card {
	background: #fff;
	border: 1px solid var(--ba-line);
	border-radius: var(--ba-radius);
	padding: 22px;
	box-shadow: var(--ba-shadow);
}
.ba-card__img img { border-radius: 10px; display: block; margin-bottom: 14px; }
.ba-card__title { font-size: 1.2rem; }
.ba-card__title a { color: var(--ba-ink); text-decoration: none; }
.ba-card__meta { color: var(--ba-muted); font-size: .9rem; }
.ba-hero .ba-card__meta { color: #cfe3e8; }
.ba-single__img { border-radius: var(--ba-radius); margin-bottom: 24px; }
.ba-single__cta { margin-top: 40px; }

/* ------------------------------------------------ footer */

.ba-footer {
	background: #082131;
	color: #b8cfd6;
	font-size: .95rem;
	padding-top: 56px;
}
.ba-footer a { color: #e6f3f2; text-decoration: none; }
.ba-footer a:hover { color: var(--ba-accent); }
.ba-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
	gap: 36px;
	padding-bottom: 40px;
}
.ba-footer__title {
	color: #fff;
	font-size: .85rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	margin-bottom: 14px;
}
.ba-footer ul { list-style: none; padding: 0; margin: 0 0 18px; }
.ba-footer li { margin-bottom: 7px; }
.ba-footer__areas { columns: 2; column-gap: 18px; }
.ba-footer .ba-logo__name { color: #fff; }
.ba-footer .ba-logo__tag { color: #8fb0b9; }
.ba-footer .ba-logo { margin-bottom: 16px; }
.ba-footer__contact span { color: #8fb0b9; }
.ba-footer .ba-btn { background: var(--ba-accent); border-color: var(--ba-accent); color: var(--ba-ink) !important; }
.ba-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 18px; font-size: .88rem; }
.ba-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }

@media (max-width: 900px) {
	.ba-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.ba-footer__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------ mobile bar */

.ba-mobilebar { display: none; }

@media (max-width: 767px) {
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); font-size: 16px; }
	.ba-topbar__hours { display: none; }
	.ba-topbar__inner { justify-content: center; }
	.ba-mobilebar {
		display: grid;
		grid-template-columns: 1fr 1fr 1.2fr;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 200;
		background: #fff;
		border-top: 1px solid var(--ba-line);
		box-shadow: 0 -6px 20px rgba(11, 42, 63, .1);
		padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
		gap: 8px;
	}
	.ba-mobilebar a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		min-height: 52px;
		border-radius: 12px;
		background: var(--ba-sky);
		color: var(--ba-ink);
		font-weight: 700;
		font-size: .88rem;
		text-decoration: none;
	}
	.ba-mobilebar a span { font-size: 1.15rem; line-height: 1; }
	.ba-mobilebar a.is-primary { background: var(--ba-brand); color: #fff; }
	.ba-header__inner { min-height: 66px; }
	.ba-logo__icon { width: 36px; height: 36px; }
	.ba-logo__name { font-size: 1.25rem; }
	.wp-block-buttons .wp-block-button { flex: 1 1 100%; }
	.wp-block-buttons .wp-block-button__link { width: 100%; }
}

/* Editor tweaks */
.editor-styles-wrapper .ba-hero h1,
.editor-styles-wrapper .ba-sec--cta h2 { color: #fff; }

/* ================================================= home hero + quote wizard */

.ba-xhero {
	position: relative;
	overflow: hidden;
	color: #e3f2f1;
	background:
		radial-gradient(900px 500px at 92% 8%, rgba(94, 234, 212, .22), transparent 60%),
		radial-gradient(700px 420px at -10% 110%, rgba(255, 194, 61, .14), transparent 60%),
		linear-gradient(140deg, #071d2c 0%, #0b2a3f 45%, #0d5560 100%);
}
.ba-xhero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='240' viewBox='0 0 600 240'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M0 60 C150 20 250 100 400 60 S560 30 600 50'/%3E%3Cpath d='M0 130 C120 100 260 170 420 130 S560 110 600 120'/%3E%3Cpath d='M0 200 C160 170 280 230 440 200 S560 180 600 190'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 600px 240px;
	animation: ba-breeze 40s linear infinite;
	pointer-events: none;
}
@keyframes ba-breeze { to { background-position: -600px 0; } }

.ba-xhero__inner {
	position: relative;
	max-width: var(--ba-wrap);
	margin: 0 auto;
	padding: clamp(36px, 6vw, 72px) var(--ba-gutter) clamp(28px, 4vw, 44px);
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}
.ba-xhero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .14);
	font-size: .9rem;
	font-weight: 600;
	color: #fff;
}
.ba-live {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: #4ade80;
	box-shadow: 0 0 0 0 rgba(74, 222, 128, .7);
	animation: ba-pulse 2s infinite;
}
@keyframes ba-pulse {
	70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
	100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.ba-xhero__title {
	color: #fff;
	font-size: clamp(2.3rem, 5.4vw, 3.9rem);
	line-height: 1.04;
	letter-spacing: -.025em;
	margin-bottom: 18px;
}
.ba-xhero__title span {
	display: block;
	background: linear-gradient(90deg, #ffc23d, #5eead4);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ba-xhero__lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 34em; color: #cfe6e6; }
.ba-xhero__steps {
	list-style: none;
	padding: 0;
	margin: 26px 0 22px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.ba-xhero__steps li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1);
	font-size: .92rem;
	line-height: 1.35;
}
.ba-xhero__steps b { font-size: 1.4rem; }
.ba-xhero__steps strong { color: #fff; }
.ba-xhero__alt { font-size: .95rem; color: #a9c7cc; margin: 0; }
.ba-xhero__alt a { color: #fff; font-weight: 700; }

.ba-xhero__ticker {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding: 12px var(--ba-gutter);
	font-size: .92rem;
}
.ba-xhero__ticker-label { color: #ffc23d; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; flex-shrink: 0; }
.ba-xhero__ticker-track {
	display: flex;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ba-xhero__ticker ul {
	list-style: none;
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0 14px;
	flex-shrink: 0;
	animation: ba-ticker 38s linear infinite;
}
.ba-xhero__ticker-track:hover ul { animation-play-state: paused; }
.ba-xhero__ticker a { color: #d8ecec; text-decoration: none; white-space: nowrap; }
.ba-xhero__ticker a:hover { color: #fff; text-decoration: underline; }
@keyframes ba-ticker { to { transform: translateX(-100%); } }

@media (prefers-reduced-motion: reduce) {
	.ba-xhero::before, .ba-xhero__ticker ul, .ba-live { animation: none; }
}

.ba-xhero__card { position: relative; }
.ba-xhero__card::after {
	content: "";
	position: absolute;
	inset: 18px -14px -14px 18px;
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(255, 194, 61, .55), rgba(94, 234, 212, .45));
	filter: blur(28px);
	opacity: .45;
	z-index: 0;
}
.ba-wiz {
	position: relative;
	z-index: 1;
	background: #fff;
	color: var(--ba-ink-2);
	border-radius: 22px;
	padding: clamp(20px, 3vw, 30px);
	box-shadow: 0 30px 60px rgba(3, 17, 27, .45);
	scroll-margin-top: 110px;
}
.ba-wiz__kicker { margin: 0 0 2px; color: var(--ba-brand-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.ba-wiz__title { font-size: 1.55rem; margin: 0 0 12px; }
.ba-wiz__progress { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 18px; }
.ba-wiz__progress li { flex: 1; height: 6px; border-radius: 6px; background: #e3eeec; transition: background .25s; }
.ba-wiz__progress li.is-on { background: var(--ba-brand); }

.ba-wiz__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.ba-wiz__step + .ba-wiz__step { margin-top: 22px; }
.js .ba-wiz__step { display: none; margin-top: 0; }
.js .ba-wiz__step.is-active { display: block; animation: ba-in .25s ease; }
@keyframes ba-in { from { opacity: 0; transform: translateX(12px); } }

.ba-wiz legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	font-weight: 800;
	color: var(--ba-ink);
	font-size: 1.08rem;
	margin-bottom: 14px;
	padding: 0;
}
.ba-wiz legend small { flex-basis: 100%; font-weight: 500; color: var(--ba-muted); font-size: .86rem; padding-left: 36px; margin-top: -4px; }
.ba-wiz__num {
	display: inline-grid;
	place-items: center;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--ba-ink);
	color: #fff;
	font-size: .85rem;
}

.ba-wiz__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.ba-tile {
	position: relative;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 92px;
	padding: 12px 6px;
	border: 2px solid #dfeae8;
	border-radius: 14px;
	background: #f7fbfa;
	text-align: center;
	transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
	user-select: none;
}
.ba-tile input { position: absolute; opacity: 0; pointer-events: none; }
.ba-tile:hover { border-color: #9fd6cf; transform: translateY(-2px); }
.ba-tile__icon { font-size: 1.75rem; line-height: 1; }
.ba-tile__label { font-size: .8rem; font-weight: 700; color: var(--ba-ink); line-height: 1.2; }
.ba-tile.is-on,
.ba-tile:has(input:checked) {
	border-color: var(--ba-brand);
	background: #e6f7f4;
	box-shadow: 0 0 0 3px rgba(13, 148, 136, .15);
}
.ba-tile.is-on::after,
.ba-tile:has(input:checked)::after {
	content: "✓";
	position: absolute;
	top: 6px; right: 8px;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--ba-brand);
	color: #fff;
	font-size: .72rem;
	font-weight: 800;
	display: grid;
	place-items: center;
}
.ba-tile:has(input:focus-visible) { outline: 3px solid rgba(13, 148, 136, .45); outline-offset: 2px; }

.ba-wiz__label { display: block; font-weight: 700; color: var(--ba-ink); margin: 0 0 6px; font-size: .95rem; }
.ba-wiz select,
.ba-wiz input[type="text"],
.ba-wiz input[type="tel"] {
	width: 100%;
	min-height: 52px;
	padding: 10px 14px;
	margin-bottom: 14px;
	border: 1.5px solid #c7d7d5;
	border-radius: 12px;
	font: inherit;
	font-size: 1.02rem;
	color: var(--ba-ink);
	background: #fff;
}
.ba-wiz select:focus,
.ba-wiz input:focus { outline: 3px solid rgba(13, 148, 136, .25); border-color: var(--ba-brand); }

.ba-wiz__photo { display: block; cursor: pointer; position: relative; }
.ba-wiz__photo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ba-wiz__photo-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 64px;
	border: 2px dashed #9fcdc7;
	border-radius: 14px;
	background: var(--ba-sky);
	font-weight: 700;
	color: var(--ba-ink);
	transition: background .15s, border-color .15s;
}
.ba-wiz__photo-btn small { font-weight: 500; color: var(--ba-muted); }
.ba-wiz__photo:hover .ba-wiz__photo-btn { background: #e1f4f1; border-color: var(--ba-brand); }
.ba-wiz__photo:has(input:focus-visible) .ba-wiz__photo-btn { outline: 3px solid rgba(13, 148, 136, .45); }
.ba-wiz__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.ba-wiz__thumbs img { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(11, 42, 63, .2); }
.ba-wiz__thumbs p { margin: 0; font-size: .88rem; color: #8a2a0c; }

.ba-wiz__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.ba-wiz__next { width: 100%; }
.ba-wiz__nav .ba-wiz__next,
.ba-wiz__nav .ba-btn { width: auto; flex: 1; max-width: 260px; }
.ba-wiz__back {
	background: none;
	border: 0;
	padding: 10px 4px;
	font: inherit;
	font-weight: 600;
	color: var(--ba-muted);
	cursor: pointer;
}
.ba-wiz__back:hover { color: var(--ba-ink); }
html:not(.js) .ba-wiz__back,
html:not(.js) .ba-wiz__next { display: none; }

.ba-btn--accent { background: var(--ba-accent); border-color: var(--ba-accent); color: var(--ba-ink) !important; }
.ba-btn--accent:hover { background: var(--ba-accent-dark); border-color: var(--ba-accent-dark); }

.ba-wiz__hint { color: #b4380f; font-weight: 600; font-size: .9rem; margin: -6px 0 10px; }
.ba-wiz__foot { margin: 16px 0 0; text-align: center; font-size: .85rem; color: var(--ba-muted); }
.ba-wiz .ba-notice { padding: 12px 14px; font-size: .92rem; }

.ba-wiz__done { text-align: center; padding: 18px 4px; }
.ba-wiz__tick {
	width: 72px; height: 72px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--ba-brand);
	color: #fff;
	font-size: 2.2rem;
	display: grid;
	place-items: center;
	animation: ba-pop .4s cubic-bezier(.2, 1.6, .5, 1);
}
@keyframes ba-pop { from { transform: scale(.3); opacity: 0; } }

@media (max-width: 900px) {
	.ba-xhero__inner { grid-template-columns: 1fr; gap: 18px; }
	.ba-xhero__pitch { display: contents; }
	.ba-xhero__eyebrow { order: 1; justify-self: start; margin-bottom: 0; }
	.ba-xhero__title { order: 2; margin-bottom: 0; }
	.ba-xhero__lede { order: 3; margin-bottom: 0; }
	.ba-xhero__card { order: 4; }
	.ba-xhero__steps { order: 5; margin: 0; }
	.ba-xhero__alt { order: 6; }
}
/* ================================================= landing pages (services + suburbs) */

.ba-xhero--page .ba-xhero__inner { padding-top: clamp(26px, 4vw, 48px); align-items: start; }
.ba-xhero__pitch--page { padding-top: 6px; }
.ba-xhero__pitch--page h1 {
	color: #fff;
	font-size: clamp(2rem, 4.2vw, 3.05rem);
	line-height: 1.08;
	letter-spacing: -.02em;
	margin: 0 0 16px;
}
.ba-xhero__pitch--page p { font-size: 1.08rem; color: #cfe6e6; }
.ba-xhero__pitch--page strong { color: #fff; }
.ba-xhero__pitch--page .ba-checks li::before { background-color: var(--ba-accent); }
.ba-xhero__pitch--page .wp-block-buttons { margin-bottom: 18px; }
/* The quote card replaces "Get a Free Quote" buttons in the hero. */
.ba-xhero__pitch--page .wp-block-button:has(a[href*="get-a-quote"]) { display: none; }
.ba-xhero__pitch--page .wp-block-button__link {
	background: transparent;
	border-color: rgba(255, 255, 255, .7);
	color: #fff !important;
}
.ba-xhero__pitch--page .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); }

.ba-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 14px;
	font-size: .88rem;
	color: #9cc1c6;
}
.ba-crumbs a { color: #d8ecec; text-decoration: none; }
.ba-crumbs a:hover { color: #fff; text-decoration: underline; }
.ba-crumbs [aria-current] { color: #ffc23d; font-weight: 600; }

/* Briefly highlight the card when a "Get a quote" link scrolls to it. */
.ba-wiz.is-flash { animation: ba-flash 1.2s ease; }
@keyframes ba-flash {
	0%, 100% { box-shadow: 0 30px 60px rgba(3, 17, 27, .45); }
	30% { box-shadow: 0 0 0 6px rgba(255, 194, 61, .85), 0 30px 60px rgba(3, 17, 27, .45); }
}

@media (max-width: 900px) {
	.ba-xhero__pitch--page { display: block; }
	.ba-xhero--page .ba-xhero__alt { display: none; }
}

/* ================================================= live booking status */

.ba-status { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.ba-status__dot {
	flex: 0 0 9px;
	width: 9px; height: 9px;
	border-radius: 50%;
	background: #4ade80;
}
.ba-status.is-am .ba-status__dot { animation: ba-pulse 2s infinite; }
.ba-status.is-closed .ba-status__dot { background: #fbbf24; }
.ba-status__text b { color: var(--ba-accent); font-weight: 800; font-variant-numeric: tabular-nums; }

.ba-status--bar { color: #e6f3f2; font-weight: 500; }
.ba-topbar:has(.ba-status.is-am) { background: linear-gradient(90deg, #0b2a3f, #0d4f5c); }

.ba-status--badge .ba-status__text b { color: #ffd772; }

@media (max-width: 767px) {
	.ba-topbar__links { display: none; }
	.ba-topbar__inner { justify-content: center; text-align: center; }
	.ba-status--bar { font-size: .8rem; line-height: 1.35; }
}
@media (prefers-reduced-motion: reduce) {
	.ba-status__dot { animation: none !important; }
}

/* ================================================= desktop → phone hand-off */

.ba-handoff { display: none; }
@media (hover: hover) and (pointer: fine) {
	.ba-handoff {
		display: flex;
		align-items: center;
		gap: 14px;
		margin: 12px 0 4px;
		padding: 12px;
		border-radius: 14px;
		background: linear-gradient(135deg, #fff7e3, #eaf8f5);
		border: 1px solid #f1dfae;
	}
	.ba-handoff__qr { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(11, 42, 63, .15); }
	.ba-handoff__qr svg { width: 100%; height: 100%; display: block; }
	.ba-handoff__text { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; line-height: 1.4; color: var(--ba-ink-2); }
	.ba-handoff__text strong { color: var(--ba-ink); font-size: .98rem; }
}

.ba-qrmodal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.ba-qrmodal[hidden] { display: none; }
.ba-qrmodal__backdrop { position: absolute; inset: 0; background: rgba(7, 29, 44, .72); backdrop-filter: blur(3px); animation: ba-fade .2s ease; }
.ba-qrmodal__box {
	position: relative;
	width: min(420px, 100%);
	background: #fff;
	border-radius: 22px;
	padding: 30px 28px 24px;
	text-align: center;
	box-shadow: 0 40px 80px rgba(3, 17, 27, .5);
	animation: ba-pop .3s cubic-bezier(.2, 1.4, .5, 1);
}
.ba-qrmodal__box h2 { font-size: 1.5rem; margin: 0 0 16px; }
.ba-qrmodal__qr { width: 220px; height: 220px; margin: 0 auto 18px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 6px var(--ba-sky), 0 6px 20px rgba(11, 42, 63, .12); }
.ba-qrmodal__qr svg { width: 100%; height: 100%; display: block; }
.ba-qrmodal__steps { text-align: left; margin: 0 auto 14px; padding-left: 1.3em; max-width: 300px; font-size: .95rem; }
.ba-qrmodal__steps li { margin-bottom: 4px; }
.ba-qrmodal__num { margin: 0; font-size: .9rem; color: var(--ba-muted); }
.ba-qrmodal__num strong { color: var(--ba-ink); }
.ba-qrmodal__close {
	position: absolute;
	top: 10px; right: 12px;
	width: 38px; height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--ba-sky);
	color: var(--ba-ink);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}
.ba-qrmodal__close:hover { background: #d9efec; }
@keyframes ba-fade { from { opacity: 0; } }

@media (max-width: 520px) {
	.ba-wiz__tiles { grid-template-columns: repeat(2, 1fr); }
	.ba-tile { flex-direction: row; justify-content: flex-start; min-height: 58px; padding: 10px 12px; gap: 10px; text-align: left; }
	.ba-tile__icon { font-size: 1.45rem; }
	.ba-xhero__steps { grid-template-columns: 1fr; }
	.ba-xhero__steps li { flex-direction: row; align-items: center; padding: 10px 14px; }
	.ba-xhero__steps b { font-size: 1.2rem; }
	.ba-wiz__nav .ba-btn { max-width: none; }
}
