/* =====================================================================
   House and Builder Ltd — design system
   Charcoal + Safety Amber. Industrial, high-trust, modern London builder.
   ===================================================================== */

:root {
	/* Brand — dark */
	--hb-charcoal:    #14181B;
	--hb-charcoal-2:  #1C2227;
	--hb-charcoal-3:  #262E34;
	--hb-steel:       #3A4550;

	/* Brand — accent (safety amber) */
	--hb-amber:       #F5A623;
	--hb-amber-deep:  #D98A00;
	--hb-amber-soft:  #FFF3DE;

	/* Ink / text */
	--hb-ink:         #16191C;
	--hb-ink-2:       #333B42;
	--hb-muted:       #6B747E;
	--hb-on-dark:     #EEF1F4;
	--hb-on-dark-mut: #9AA6B0;

	/* Surfaces */
	--hb-white:       #FFFFFF;
	--hb-surface:     #F5F7F8;
	--hb-surface-2:   #ECEFF2;

	/* Lines */
	--hb-line:        #DEE3E8;
	--hb-line-soft:   #E9EDF0;
	--hb-line-dark:   rgba(255,255,255,.10);

	/* Type */
	--hb-font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
	--hb-font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

	/* Shape */
	--hb-radius:      16px;
	--hb-radius-sm:   10px;
	--hb-radius-lg:   26px;
	--hb-container:   1240px;
	--hb-gutter:      clamp(18px, 4vw, 40px);
	--hb-shadow-sm:   0 2px 10px rgba(20,24,27,.06);
	--hb-shadow:      0 18px 44px -18px rgba(20,24,27,.30);
	--hb-shadow-amber:0 14px 30px -12px rgba(217,138,0,.55);
	--hb-header-h:    76px;
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
html, body { max-width: 100%; }
body {
	margin: 0;
	font-family: var(--hb-font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--hb-ink-2);
	background: var(--hb-surface);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--hb-amber-deep); text-decoration: none; }
a:hover { color: var(--hb-ink); }
button { font-family: inherit; }
h1, h2, h3, h4, h5 {
	font-family: var(--hb-font-display);
	color: var(--hb-ink);
	line-height: 1.1;
	letter-spacing: -.02em;
	margin: 0 0 .5em;
	font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p  { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--hb-amber); outline-offset: 2px; }

.hb-amber-text { color: var(--hb-amber); }

/* --------------------------------------------------------------- layout */
.hb-container { width: 100%; max-width: var(--hb-container); margin-inline: auto; padding-inline: var(--hb-gutter); }
.hb-section { padding-block: clamp(56px, 8vw, 104px); }
.hb-section--tight { padding-block: clamp(40px, 5vw, 64px); }
.hb-band-dark { background: var(--hb-charcoal); color: var(--hb-on-dark); }
.hb-band-dark h1, .hb-band-dark h2, .hb-band-dark h3 { color: #fff; }
.hb-band-alt { background: var(--hb-surface-2); }
.hb-section--surface { background: var(--hb-surface); }
.hb-section--white { background: var(--hb-white); }

/* --------------------------------------------------------------- eyebrow */
.hb-eyebrow {
	display: inline-flex; align-items: center; gap: .55em;
	font-family: var(--hb-font-body);
	font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
	color: var(--hb-amber-deep); margin: 0 0 .9rem;
}
.hb-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--hb-amber); display: inline-block; }
.hb-band-dark .hb-eyebrow { color: var(--hb-amber); }

/* --------------------------------------------------------------- buttons */
.hb-btn {
	--btn-bg: var(--hb-amber); --btn-fg: #1a1205; --btn-bd: var(--hb-amber);
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font-family: var(--hb-font-body); font-weight: 700; font-size: .98rem; line-height: 1;
	padding: 1em 1.55em; border-radius: 999px; cursor: pointer;
	background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
	transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
	white-space: nowrap;
}
.hb-btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.hb-btn--primary { box-shadow: var(--hb-shadow-amber); }
.hb-btn--primary:hover { --btn-bg: var(--hb-amber-deep); --btn-bd: var(--hb-amber-deep); }
.hb-btn--dark  { --btn-bg: var(--hb-charcoal); --btn-fg: #fff; --btn-bd: var(--hb-charcoal); }
.hb-btn--dark:hover { --btn-bg: var(--hb-charcoal-2); --btn-bd: var(--hb-charcoal-2); }
.hb-btn--ghost { --btn-bg: transparent; --btn-fg: var(--hb-ink); --btn-bd: var(--hb-line); }
.hb-btn--ghost:hover { --btn-bd: var(--hb-ink); }
.hb-band-dark .hb-btn--ghost, .hb-btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.hb-btn--ghost-light:hover { --btn-bd: #fff; background: rgba(255,255,255,.08); }
.hb-btn--lg { padding: 1.15em 1.9em; font-size: 1.05rem; }

/* --------------------------------------------------------------- top bar */
.hb-topbar { background: var(--hb-charcoal-2); color: var(--hb-on-dark-mut); font-size: .85rem; border-bottom: 1px solid var(--hb-line-dark); }
.hb-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.hb-topbar a { color: var(--hb-on-dark); }
.hb-topbar a:hover { color: var(--hb-amber); }
.hb-topbar__meta { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hb-topbar__meta span, .hb-topbar__meta a { display: inline-flex; align-items: center; gap: .45em; }
@media (max-width: 720px) { .hb-topbar { display: none; } }

/* --------------------------------------------------------------- header */
.hb-header { position: sticky; top: 0; z-index: 100; background: var(--hb-charcoal); color: #fff; transition: box-shadow .25s ease; }
.hb-header.is-stuck { box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.hb-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: var(--hb-header-h); }
.hb-logo { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--hb-font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.hb-logo:hover { color: #fff; }
.hb-header .custom-logo { max-height: 40px; width: auto; }
.custom-logo-link { display: inline-flex; align-items: center; }
.hb-logo__mark { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--hb-amber); color: #1a1205; font-weight: 800; font-size: 1.1rem; box-shadow: var(--hb-shadow-amber); font-family: var(--hb-font-display); flex: 0 0 auto; }
.hb-logo__word { line-height: 1.1; }
/* Stacked two-line wordmark ("House &" / "Builder") */
.hb-logo--stacked .hb-logo__word { display: flex; flex-direction: column; line-height: .98; }
.hb-logo__line1, .hb-logo__line2 { font-size: 1.16rem; font-weight: 800; letter-spacing: -.01em; font-family: var(--hb-font-display); }
.hb-logo__amp { color: var(--hb-amber); }

.hb-nav { margin-left: auto; }
.hb-menu { list-style: none; margin: 0; padding: 0; }
.hb-nav .hb-menu { display: flex; align-items: center; gap: .35rem; }
.hb-nav .hb-menu > li > a { display: inline-block; padding: .6rem .85rem; color: var(--hb-on-dark); font-weight: 600; font-size: .97rem; border-radius: 8px; }
.hb-nav .hb-menu > li > a:hover,
.hb-nav .hb-menu > .current-menu-item > a { color: #fff; background: rgba(255,255,255,.07); }
.hb-nav .hb-menu .sub-menu { display: none; }

.hb-header__actions { display: flex; align-items: center; gap: .8rem; }
.hb-header__phone { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: .45em; white-space: nowrap; }
.hb-header__phone:hover { color: var(--hb-amber); }
.hb-menu-toggle { display: none; }

@media (max-width: 1040px) {
	.hb-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); background: var(--hb-charcoal-2);
		transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.1,1); padding: calc(var(--hb-header-h) + 24px) 26px 26px; z-index: 120; box-shadow: -20px 0 50px rgba(0,0,0,.4); overflow-y: auto; }
	body.hb-nav-open .hb-nav { transform: translateX(0); }
	.hb-nav .hb-menu { flex-direction: column; align-items: stretch; gap: .1rem; }
	.hb-nav .hb-menu > li > a { display: block; padding: .95rem .6rem; font-size: 1.08rem; border-bottom: 1px solid var(--hb-line-dark); border-radius: 0; }
	.hb-menu-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: rgba(255,255,255,.08); border: 0; cursor: pointer; z-index: 130; }
	.hb-menu-toggle span, .hb-menu-toggle span::before, .hb-menu-toggle span::after { content: ""; display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: transform .25s ease, opacity .2s ease; }
	.hb-menu-toggle span::before { position: absolute; top: -7px; }
	.hb-menu-toggle span::after { position: absolute; top: 7px; }
	body.hb-nav-open .hb-menu-toggle span { background: transparent; }
	body.hb-nav-open .hb-menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
	body.hb-nav-open .hb-menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
	.hb-header__phone span.lbl { display: none; }
	.hb-nav-backdrop { position: fixed; inset: 0; background: rgba(10,12,14,.5); opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 110; }
	body.hb-nav-open .hb-nav-backdrop { opacity: 1; visibility: visible; }
}
@media (max-width: 640px) {
	.hb-header__phone { display: none; }
	.hb-header__actions .hb-btn { padding: .7rem .95rem; font-size: .85rem; }
	.hb-header__inner { gap: .5rem; }
	.hb-logo { font-size: 1rem; min-width: 0; }
	.hb-logo__mark { width: 36px; height: 36px; font-size: .95rem; }
	.hb-logo__line1, .hb-logo__line2 { font-size: 1.02rem; white-space: nowrap; }
}
@media (max-width: 380px) {
	.hb-logo__word { display: none; }
}

/* Elementor sections run full-bleed; inner content is centred by .hb-container. */
.elementor-section.elementor-section-boxed > .elementor-container,
.elementor-section > .elementor-container { max-width: 100% !important; width: 100%; }

main { display: block; }

/* =====================================================================
   HERO (split: copy left, image right)
   ===================================================================== */
.hb-hero {
	position: relative;
	background: var(--hb-charcoal);
	background-image:
		radial-gradient(120% 120% at 82% 0%, rgba(245,166,35,.14) 0%, rgba(245,166,35,0) 46%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04'%3E%3Cpath d='M0 15h60M0 30h60M0 45h60M15 0v60M30 0v60M45 0v60'/%3E%3C/g%3E%3C/svg%3E");
	color: var(--hb-on-dark);
	overflow: hidden;
}
.hb-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 68px); align-items: center; padding-block: clamp(52px, 7vw, 96px); }
.hb-hero__eyebrow { color: var(--hb-amber); }
.hb-hero__title { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.06; margin: 0 0 1rem; }
.hb-hero__title em { color: var(--hb-amber); font-style: normal; }
.hb-hero__lead { color: var(--hb-on-dark-mut); font-size: 1.12rem; max-width: 34em; margin: 0 0 1.5rem; }
.hb-hero__badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.7rem; }
.hb-chip { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--hb-line-dark); font-size: .86rem; font-weight: 600; color: #fff; }
.hb-chip svg { color: var(--hb-amber); }
.hb-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }
.hb-hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 4vw, 3rem); border-top: 1px solid var(--hb-line-dark); padding-top: 1.5rem; }
.hb-stat__num { font-family: var(--hb-font-display); font-weight: 800; font-size: 1.9rem; color: #fff; line-height: 1; }
.hb-stat__num span { color: var(--hb-amber); }
.hb-stat__label { font-size: .82rem; color: var(--hb-on-dark-mut); margin-top: .35rem; }

.hb-hero__media { position: relative; }
.hb-hero__img {
	position: relative; border-radius: var(--hb-radius-lg); overflow: hidden; min-height: 380px;
	background:
		linear-gradient(150deg, var(--hb-charcoal-3) 0%, var(--hb-steel) 100%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07'%3E%3Cpath d='M0 20h40M20 0v40'/%3E%3C/g%3E%3C/svg%3E");
	box-shadow: var(--hb-shadow);
	display: flex; align-items: center; justify-content: center; text-align: center;
	color: rgba(255,255,255,.7); font-family: var(--hb-font-display); font-weight: 600; padding: 2rem;
}
.hb-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-hero__badge {
	position: absolute; left: 20px; bottom: 20px; z-index: 2;
	background: var(--hb-amber); color: #1a1205; border-radius: 14px; padding: .8rem 1.1rem;
	font-family: var(--hb-font-display); box-shadow: var(--hb-shadow-amber);
}
.hb-hero__badge strong { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1; }
.hb-hero__badge span { font-size: .82rem; font-weight: 600; }

@media (max-width: 900px) {
	.hb-hero__grid { grid-template-columns: 1fr; }
	.hb-hero__media { order: -1; }
	.hb-hero__img { min-height: 260px; }
}

/* --------------------------------------------------------------- trust strip */
.hb-trustbar { background: var(--hb-charcoal); border-top: 1px solid var(--hb-line-dark); }
.hb-trustbar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; padding-block: 1.2rem; }
.hb-trustbar__item { display: inline-flex; align-items: center; gap: .55em; color: var(--hb-on-dark); font-weight: 600; font-size: .92rem; }
.hb-trustbar__item svg { color: var(--hb-amber); }

/* --------------------------------------------------------------- section head */
.hb-sec-head { max-width: 640px; margin: 0 auto 2.6rem; text-align: center; }
.hb-sec-head .hb-eyebrow { justify-content: center; }
.hb-sec-head p { color: var(--hb-muted); margin: .4rem 0 0; }

/* --------------------------------------------------------------- service cards */
.hb-grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.hb-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hb-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hb-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .hb-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .hb-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .hb-grid--3, .hb-grid--2, .hb-grid--4 { grid-template-columns: 1fr; } }

.hb-scard { position: relative; background: var(--hb-white); border: 1px solid var(--hb-line); border-radius: var(--hb-radius); overflow: hidden; box-shadow: var(--hb-shadow-sm); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.hb-scard:hover { transform: translateY(-6px); box-shadow: var(--hb-shadow); }
/* No overflow:hidden here — the card (.hb-scard) already clips the rounded top
   corners, and NOT clipping here means the icon badge is never cut off whether
   the markup places it inside or outside this box (old vs new page HTML). */
.hb-scard__img {
	position: relative; height: 200px; flex: 0 0 200px;
	background:
		linear-gradient(150deg, var(--hb-charcoal-3), var(--hb-steel)),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08'%3E%3Cpath d='M0 17h34M17 0v34'/%3E%3C/g%3E%3C/svg%3E");
	background-size: cover; background-position: center;
}
/* Explicit 200px height (not %) so the image can never overflow its box, with
   object-fit centring the crop. !important + extra specificity beats Elementor's
   global `img { height:auto }`, so it works without needing overflow:hidden. */
.hb-scard .hb-scard__img img { display: block; width: 100% !important; height: 200px !important; max-width: none; object-fit: cover; object-position: center; }
/* Badge at the image's bottom-left, hanging into the body. top:178px works the
   same whether the badge is a child of .hb-scard__img or of .hb-scard. */
.hb-scard__icon { position: absolute; left: 18px; top: 178px; z-index: 2; width: 48px; height: 48px; border-radius: 12px; background: var(--hb-amber); color: #1a1205; display: grid; place-items: center; box-shadow: var(--hb-shadow-amber); }
.hb-scard__body { padding: 2rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.hb-scard__body h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.hb-scard__body p { color: var(--hb-muted); font-size: .96rem; margin: 0 0 1rem; }
.hb-scard__more { margin-top: auto; color: var(--hb-amber-deep); font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: .4em; }
.hb-scard:hover .hb-scard__more { gap: .7em; }

/* --------------------------------------------------------------- split feature */
.hb-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hb-split__media {
	border-radius: var(--hb-radius-lg); overflow: hidden; min-height: 360px; box-shadow: var(--hb-shadow);
	background:
		linear-gradient(150deg, var(--hb-charcoal) 0%, var(--hb-steel) 100%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07'%3E%3Cpath d='M0 20h40M20 0v40'/%3E%3C/g%3E%3C/svg%3E");
	display: flex; align-items: center; justify-content: center; text-align: center; color: rgba(255,255,255,.7); font-family: var(--hb-font-display); font-weight: 600; padding: 2rem;
}
.hb-split__media img { width: 100%; height: 100%; object-fit: cover; }
.hb-checklist { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.hb-checklist li { display: flex; gap: .7em; align-items: flex-start; margin-bottom: .7rem; font-weight: 500; color: var(--hb-ink-2); }
.hb-checklist li svg { color: var(--hb-amber); flex: 0 0 auto; margin-top: .15em; }
@media (max-width: 820px) { .hb-split { grid-template-columns: 1fr; } .hb-split__media { min-height: 260px; } }

/* --------------------------------------------------------------- process */
.hb-step { background: var(--hb-white); border: 1px solid var(--hb-line); border-radius: var(--hb-radius); padding: 1.7rem 1.4rem; box-shadow: var(--hb-shadow-sm); position: relative; }
.hb-step__num { width: 42px; height: 42px; border-radius: 12px; background: var(--hb-amber); color: #1a1205; font-family: var(--hb-font-display); font-weight: 800; display: grid; place-items: center; margin-bottom: 1rem; box-shadow: var(--hb-shadow-amber); }
.hb-step h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.hb-step p { color: var(--hb-muted); font-size: .95rem; margin: 0; }

/* --------------------------------------------------------------- CTA band */
.hb-ctaband { background: linear-gradient(120deg, var(--hb-charcoal-2), var(--hb-charcoal)); color: #fff; }
.hb-ctaband__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.hb-ctaband h2 { color: #fff; margin: 0; max-width: 22ch; }
.hb-ctaband .hb-eyebrow { color: var(--hb-amber); }

/* --------------------------------------------------------------- footer */
.hb-footer { background: var(--hb-charcoal); color: var(--hb-on-dark-mut); }
.hb-footer a { color: var(--hb-on-dark); }
.hb-footer a:hover { color: var(--hb-amber); }
.hb-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: clamp(44px, 6vw, 72px); }
.hb-footer__brand .hb-logo { color: #fff; margin-bottom: 1rem; }
.hb-footer__brand p { color: var(--hb-on-dark-mut); font-size: .95rem; }
.hb-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.1rem; }
.hb-footer ul { list-style: none; margin: 0; padding: 0; }
.hb-footer li { margin-bottom: .6rem; }
.hb-footer__nap li { display: flex; gap: .6em; align-items: flex-start; }
.hb-footer__nap svg { color: var(--hb-amber); flex: 0 0 auto; margin-top: .2em; }
.hb-footer__legal { border-top: 1px solid var(--hb-line-dark); padding-block: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 860px) { .hb-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hb-footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- page hero (internal pages) */
.hb-pagehero {
	position: relative; background: var(--hb-charcoal); color: var(--hb-on-dark);
	background-image:
		radial-gradient(110% 130% at 85% 0%, rgba(245,166,35,.13) 0%, rgba(245,166,35,0) 46%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04'%3E%3Cpath d='M0 15h60M0 30h60M0 45h60M15 0v60M30 0v60M45 0v60'/%3E%3C/g%3E%3C/svg%3E");
	overflow: hidden;
}
.hb-pagehero__inner { padding-block: clamp(48px, 7vw, 88px); max-width: 760px; }
.hb-pagehero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.1rem); font-weight: 800; margin: 0 0 .6rem; }
.hb-pagehero p { color: var(--hb-on-dark-mut); font-size: 1.1rem; margin: 0; max-width: 46em; }
.hb-pagehero .hb-eyebrow { color: var(--hb-amber); }

/* --------------------------------------------------------------- contact cards */
.hb-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .hb-contact-grid { grid-template-columns: 1fr; } }
.hb-contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.hb-contact-list li { display: flex; gap: 1rem; align-items: flex-start; background: var(--hb-white); border: 1px solid var(--hb-line); border-radius: var(--hb-radius); padding: 1.1rem 1.3rem; box-shadow: var(--hb-shadow-sm); }
.hb-contact-list .hb-contact-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--hb-amber-soft); color: var(--hb-amber-deep); display: grid; place-items: center; }
.hb-contact-list .hb-contact-lbl { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--hb-muted); font-weight: 700; margin: 0 0 .15rem; }
.hb-contact-list .hb-contact-val { display: block; font-family: var(--hb-font-display); font-weight: 600; color: var(--hb-ink); font-size: 1.05rem; }
.hb-contact-list a.hb-contact-val:hover { color: var(--hb-amber-deep); }
.hb-form-card { background: var(--hb-white); border: 1px solid var(--hb-line); border-radius: var(--hb-radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--hb-shadow-sm); }
.hb-form-card > .hb-eyebrow { display: inline-flex; }
.hb-form-card h2 { margin: 0 0 .3rem; font-size: 1.5rem; }
.hb-form-card > p { color: var(--hb-muted); margin: 0 0 1.3rem; }

/* --------------------------------------------------------------- stat band */
.hb-statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 32px); }
@media (max-width: 720px) { .hb-statband { grid-template-columns: repeat(2, 1fr); } }
.hb-statband .hb-stat__num { color: var(--hb-ink); font-size: clamp(2rem, 4vw, 2.8rem); }
.hb-statband .hb-stat__num span { color: var(--hb-amber-deep); }
.hb-statband .hb-stat__label { color: var(--hb-muted); }

/* --------------------------------------------------------------- page (plain WP content) */
.hb-page { padding-block: clamp(40px, 6vw, 80px); }
.hb-page__container { max-width: var(--hb-container); margin-inline: auto; padding-inline: var(--hb-gutter); }
.hb-page-title { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 1rem; }

/* --------------------------------------------------------------- skip link */
.hb-skip-link { position: absolute; left: -9999px; top: 0; background: var(--hb-amber); color: #1a1205; padding: .75em 1.25em; z-index: 100000; font-weight: 700; }
.hb-skip-link:focus { left: .5em; top: .5em; }

/* =====================================================================
   Custom Elementor widgets (quote form, call/whatsapp, business map)
   ===================================================================== */

/* Call / WhatsApp widget (also used as floating FAB) */
.hb-call { display: flex; gap: .75rem; flex-wrap: wrap; }
.hb-call--floating { position: fixed; bottom: 20px; right: 20px; z-index: 90; flex-direction: column; }
.hb-call__phone-btn, .hb-call__whatsapp-btn {
	display: inline-flex; align-items: center; gap: .5em; text-decoration: none;
	padding: .8rem 1.3rem; border-radius: 999px; font-weight: 700; font-family: var(--hb-font-body);
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.hb-call__phone-btn { background: var(--hb-amber); color: #1a1205; box-shadow: var(--hb-shadow-amber); }
.hb-call__whatsapp-btn { background: #25D366; color: #fff; }
.hb-call__phone-btn:hover, .hb-call__whatsapp-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.hb-call__icon { margin-right: 4px; }
@media (max-width: 720px) { .hb-call--floating { flex-direction: row; bottom: 14px; right: 14px; left: 14px; } .hb-call--floating a { flex: 1; justify-content: center; } }

/* Quote form widget */
.hb-quote__notice { padding: .85rem 1.1rem; border-radius: var(--hb-radius-sm); margin-bottom: 1rem; font-weight: 600; }
.hb-quote__notice--success { background: #E4F4EA; color: #1E6B41; }
.hb-quote__notice--error { background: #FBE4E4; color: #A02020; }
.hb-quote__form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.hb-quote__field--full { grid-column: 1 / -1; }
.hb-quote__label { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .92rem; color: var(--hb-ink); }
.hb-quote__input, .hb-quote__textarea, .hb-quote__select {
	width: 100%; padding: .85rem 1rem; font: inherit; color: var(--hb-ink);
	background: var(--hb-white); border: 1.5px solid var(--hb-line); border-radius: var(--hb-radius-sm);
	transition: border-color .18s ease, box-shadow .18s ease; box-sizing: border-box;
}
.hb-quote__input:focus, .hb-quote__textarea:focus, .hb-quote__select:focus { border-color: var(--hb-amber); box-shadow: 0 0 0 4px var(--hb-amber-soft); outline: none; }
.hb-quote__textarea { min-height: 130px; resize: vertical; }
.hb-quote__submit { grid-column: 1 / -1; justify-self: start; background: var(--hb-amber); color: #1a1205; border: none; padding: 1em 2em; border-radius: 999px; font-weight: 700; font-family: var(--hb-font-body); cursor: pointer; box-shadow: var(--hb-shadow-amber); transition: transform .15s ease, filter .15s ease; }
.hb-quote__submit:hover { transform: translateY(-2px); filter: brightness(1.05); }
@media (max-width: 560px) { .hb-quote__form { grid-template-columns: 1fr; } }

/* Business info / map widget */
.hb-info__title { margin: 0 0 1rem; }
.hb-info__address { margin-bottom: 1rem; }
.hb-info__hours { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.hb-info__hours td { padding: .6rem .75rem; border-bottom: 1px solid var(--hb-line); }
.hb-info__map { border-radius: var(--hb-radius); overflow: hidden; box-shadow: var(--hb-shadow-sm); }
.hb-info__map iframe { display: block; height: 380px; width: 100%; border: 0; }

/* --------------------------------------------------------------- quote modal (split, premium) */
.hb-modal { position: fixed; inset: 0; z-index: 100000; display: none; }
/* Flex + margin:auto centres when the dialog fits and lets the overlay scroll
   (top reachable) when it is taller than the screen — the small-mobile case. */
.hb-modal.is-open {
	display: flex; overflow-y: auto; -webkit-overflow-scrolling: touch;
	overscroll-behavior: contain; padding: clamp(12px, 4vh, 40px) 16px;
}
/* Lock the page behind the modal + hide the floating call bar so nothing
   overlaps the dialog (the FAB widget sets its own high z-index). */
html.hb-modal-open, body.hb-modal-open { overflow: hidden !important; }
/* Hide the floating call bar whenever the modal is open — via the body class
   (JS) AND via :has() on the modal itself (works even if the JS class is
   missed), so nothing can overlap the dialog. */
body.hb-modal-open .hb-call--floating,
body:has( #hb-quote-modal.is-open ) .hb-call--floating { display: none !important; }
.hb-modal__backdrop { position: absolute; inset: 0; background: rgba(8,10,12,.66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: hb-fade .22s ease; }
.hb-modal__dialog {
	position: relative; z-index: 1; width: min(940px, 100%); margin: auto;
	background: var(--hb-white); border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
	overflow: hidden;
	display: grid; grid-template-columns: .82fr 1.18fr;
	animation: hb-pop .26s cubic-bezier(.2,.7,.2,1);
}
@keyframes hb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hb-pop { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

/* Left brand panel */
.hb-modal__aside {
	position: relative; color: #fff; padding: clamp(1.8rem, 3vw, 2.6rem);
	display: flex; flex-direction: column; gap: 1.1rem;
	background-color: var(--hb-charcoal);
}
.hb-modal__aside::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background:
		linear-gradient(165deg, rgba(20,24,27,.82) 0%, rgba(20,24,27,.93) 70%, rgba(14,20,18,.97) 100%),
		var(--hb-modal-img, none) center/cover no-repeat, var(--hb-charcoal);
}
.hb-modal__aside > * { position: relative; z-index: 1; }
.hb-modal__aside .hb-eyebrow { color: var(--hb-amber); }
.hb-modal__aside h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin: 0; line-height: 1.12; }
.hb-modal__aside p { color: rgba(255,255,255,.72); margin: 0; font-size: .96rem; }
.hb-modal__trust { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: .7rem; }
.hb-modal__trust li { display: flex; gap: .6em; align-items: center; color: rgba(255,255,255,.9); font-weight: 500; font-size: .95rem; }
.hb-modal__trust svg { color: var(--hb-amber); flex: 0 0 auto; }
.hb-modal__aside-call { display: inline-flex; align-items: center; gap: .5em; color: #fff; font-weight: 700; font-family: var(--hb-font-display); font-size: 1.15rem; }
.hb-modal__aside-call:hover { color: var(--hb-amber); }
.hb-modal__aside-call svg { color: var(--hb-amber); }

/* Right form panel */
.hb-modal__main { position: relative; padding: clamp(1.7rem, 3vw, 2.6rem); overflow-y: auto; }
.hb-modal__main h3 { margin: 0 0 .3rem; font-size: 1.5rem; }
.hb-modal__main > p.hb-modal__sub { margin: 0 0 1.3rem; color: var(--hb-muted); font-size: .96rem; }
.hb-modal__close {
	position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; cursor: pointer; z-index: 3;
	background: var(--hb-surface); color: var(--hb-ink); border-radius: 999px; font-size: 1.5rem; line-height: 1;
	display: grid; place-items: center; transition: background .15s ease, transform .15s ease;
}
.hb-modal__close:hover { background: var(--hb-surface-2); transform: rotate(90deg); }
.hb-modal .hb-quote__submit { width: 100%; justify-self: stretch; text-align: center; justify-content: center; }

@media (max-width: 720px) {
	.hb-modal__dialog { grid-template-columns: 1fr; }
	.hb-modal__aside { display: none; }
}

/* Legacy hero widget (kept working, restyled to tokens) */
.hb-hero__overlay { position: absolute; inset: 0; background: rgba(20,24,27,.45); }
.hb-hero__content { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; padding: 4rem 1.5rem; }
.hb-hero__heading { color: #fff; font-size: clamp(2.2rem,5vw,3.4rem); font-weight: 800; }
.hb-hero__subheading { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 1.6rem; }
.hb-hero__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hb-hero__cta { display: inline-flex; align-items: center; gap: .5em; background: var(--hb-amber); color: #1a1205; text-decoration: none; padding: 1em 2em; border-radius: 999px; font-weight: 700; box-shadow: var(--hb-shadow-amber); }
