/*
Theme Name: Bradshaw Roofing
Theme URI: https://www.bradshawroofing.co.uk
Author: Footprint Digital
Description: Custom theme for Bradshaw Roofing Contractors LLP - family-run pitched roofing specialists in Colchester & Essex. Navy + amber brand, built from the approved Claude design.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: bradshaw-roofing
*/

/* ============================================================= TOKENS */
:root {
  --br-darkest: #0a1726;
  --br-navy: #102a44;
  --br-navy-2: #163a5c;
  --br-amber: #f4a523;
  --br-amber-dark: #e2900f;
  --br-grey-bg: #f4f6f9;
  --br-body: #52617a;
  --br-border: #e6eaf0;
  --br-border-2: #d7deea;
  --br-ink: #1e293b;
  --br-green: #16a34a;
  --br-muted: #9fb6cd;
  --br-star: #f5b50a;
  --br-max: 1200px;
}

/* ============================================================= BASE */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  color: var(--br-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: 'Archivo', system-ui, sans-serif; }
input, select, textarea, button { font-family: inherit; }
@keyframes brFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.br-container { max-width: var(--br-max); margin: 0 auto; padding: 0 24px; }
.br-section { padding: 84px 24px; }
.br-section--tight { padding: 60px 24px; }

/* Section heads / eyebrows */
.br-section__head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.br-eyebrow {
  font-weight: 700; font-size: 13.5px; letter-spacing: 0.16em;
  color: var(--br-amber); text-transform: uppercase; margin-bottom: 12px;
}
.br-h2 {
  font-size: 39px; font-weight: 800; color: var(--br-navy);
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px;
}
.br-lead { font-size: 17px; line-height: 1.6; color: var(--br-body); }

/* ============================================================= BUTTONS */
.br-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--br-amber); color: var(--br-navy);
  font-weight: 700; font-size: 16px; padding: 14px 24px;
  border: none; border-radius: 9px; cursor: pointer;
  box-shadow: 0 10px 24px rgba(244,165,35,0.4);
  transition: background 0.16s ease;
}
.br-btn:hover { background: var(--br-amber-dark); }
.br-btn--sm { font-size: 15px; padding: 12px 20px; border-radius: 8px; box-shadow: 0 6px 16px rgba(244,165,35,0.35); }
.br-btn--ghost {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.28);
  color: #fff; box-shadow: none;
}
.br-btn--ghost:hover { background: rgba(255,255,255,0.16); }
.br-btn--outline {
  background: #fff; border: 1px solid var(--br-border-2); color: var(--br-navy); box-shadow: none;
}
.br-btn--outline:hover { border-color: var(--br-navy); background: #fff; }

/* ============================================================= TOP BAR */
.br-topbar { background: var(--br-darkest); color: #cbd5e1; font-size: 13.5px; }
.br-topbar__inner {
  max-width: var(--br-max); margin: 0 auto; padding: 9px 24px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
}
.br-topbar__left { display: flex; align-items: center; gap: 8px; letter-spacing: 0.02em; }
.br-dot { display: inline-flex; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.br-topbar__right { display: flex; align-items: center; gap: 22px; }
.br-topbar a { color: #cbd5e1; display: flex; align-items: center; gap: 7px; }
.br-topbar a:hover { color: #fff; }
.br-topbar__phone { color: var(--br-amber); font-weight: 600; display: flex; align-items: center; gap: 7px; }

/* ============================================================= HEADER */
.br-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--br-border); box-shadow: 0 1px 0 rgba(15,23,42,0.02);
}
.br-header__inner {
  max-width: var(--br-max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.br-brand { display: flex; align-items: center; gap: 13px; }
.br-brand img { height: 68px; width: auto; display: block; }
.br-brand > span { line-height: 1.05; }
.br-brand__name { display: block; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 19px; color: var(--br-navy); letter-spacing: -0.01em; line-height: 1.05; white-space: nowrap; }
.br-brand__sub { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; color: var(--br-amber); line-height: 1.05; white-space: nowrap; }
.br-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; color: #334155; }
.br-nav a { color: #334155; white-space: nowrap; }
.br-nav a:hover { color: var(--br-amber); }
.br-nav a.current { color: var(--br-navy); }
.br-header__actions { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; flex-shrink: 0; }
.br-call { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.br-btn--sm { white-space: nowrap; }
.br-call__icon { width: 38px; height: 38px; border-radius: 50%; background: #eef3f8; display: flex; align-items: center; justify-content: center; }
.br-call__label { display: block; font-size: 11px; color: #64748b; font-weight: 500; }
.br-call__num { display: block; font-size: 16px; font-weight: 700; color: var(--br-navy); }

/* Mobile nav */
.br-burger { display: none; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; padding: 8px; margin-right: -4px; color: var(--br-navy); border-radius: 9px; line-height: 0; transition: background .15s ease, color .15s ease; }
.br-burger:hover { background: var(--br-grey-bg); }
.br-burger.is-active { color: var(--br-amber); background: var(--br-grey-bg); }
.br-mobile-nav {
  display: none; flex-direction: column; background: #fff;
  border-top: 1px solid var(--br-border); box-shadow: 0 20px 30px rgba(16,42,68,0.10);
  padding: 6px 20px 20px; max-height: calc(100dvh - 64px); overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.br-mobile-nav.open { display: flex; animation: brMnav .2s ease; }
@keyframes brMnav { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ============================================================= HERO (home) */
.br-hero { position: relative; background: linear-gradient(115deg,#0a1726 0%,#102a44 55%,#163a5c 100%); color: #fff; overflow: hidden; }
.br-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 440px at 86% 6%, rgba(244,165,35,0.18), transparent 62%), radial-gradient(760px 560px at -6% 108%, rgba(56,120,190,0.28), transparent 60%); }
.br-hero__inner { max-width: var(--br-max); margin: 0 auto; padding: 70px 24px 64px; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; position: relative; }
.br-hero__text { animation: brFade 0.6s ease both; }
.br-hero__badge { display: inline-flex; align-items: center; gap: 9px; background: rgba(244,165,35,0.14); border: 1px solid rgba(244,165,35,0.35); color: #f7c269; font-weight: 600; font-size: 13.5px; padding: 7px 14px; border-radius: 100px; margin-bottom: 22px; }
.br-hero h1 { font-size: 52px; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 20px; }
.br-hero__sub { font-size: 18.5px; line-height: 1.6; color: #c4d2e2; max-width: 540px; margin-bottom: 30px; }
.br-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.br-hero__cta .br-btn { font-size: 16.5px; padding: 16px 28px; }
.br-hero__rating { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.br-stars { color: var(--br-star); font-size: 19px; letter-spacing: 2px; }
.br-hero__rating-text { font-size: 14.5px; color: #c4d2e2; }
.br-hero__rating-text strong { color: #fff; }
.br-hero__media { animation: brFade 0.7s ease 0.1s both; }
.br-hero__card { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 30px 60px rgba(0,0,0,0.4); aspect-ratio: 4/3.4; background: linear-gradient(160deg,#1f486e,#13314e); }
.br-hero__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.br-hero__card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(10,23,38,0) 48%,rgba(10,23,38,0.55)); }
.br-hero__chip { position: absolute; left: 18px; bottom: 18px; right: 18px; background: rgba(10,23,38,0.78); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.12); border-radius: 11px; padding: 13px 16px; display: flex; align-items: center; gap: 13px; }
.br-hero__chip-icon { width: 42px; height: 42px; border-radius: 9px; background: var(--br-amber); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.br-hero__chip-title { font-weight: 700; font-size: 15px; color: #fff; }
.br-hero__chip-sub { font-size: 12.5px; color: var(--br-muted); }

/* ============================================================= TRUST BAR */
.br-trust { background: var(--br-navy); border-top: 1px solid rgba(255,255,255,0.06); }
.br-trust__grid { max-width: var(--br-max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); }
.br-trust__item { display: flex; align-items: center; gap: 13px; padding: 20px 18px; border-right: 1px solid rgba(255,255,255,0.07); }
.br-trust__icon { color: var(--br-amber); flex-shrink: 0; display: flex; }
.br-trust__title { font-weight: 700; font-size: 15px; color: #fff; line-height: 1.2; }
.br-trust__sub { font-size: 12.5px; color: var(--br-muted); }

/* ============================================================= SERVICES (home) */
.br-services__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(330px,1fr)); gap: 22px; }
.br-service-card { border: 1px solid var(--br-border); border-radius: 14px; padding: 28px 26px; background: #fff; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.br-service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(16,42,68,0.1); border-color: var(--br-border-2); }
.br-service-card__icon { width: 54px; height: 54px; border-radius: 12px; background: #eef3f8; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.br-service-card h3 { font-size: 20px; font-weight: 700; color: var(--br-navy); margin-bottom: 9px; }
.br-service-card p { font-size: 15px; line-height: 1.6; color: var(--br-body); margin-bottom: 16px; }
.br-learn { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; color: var(--br-navy); transition: gap 0.15s ease, color 0.15s ease; }
.br-learn:hover { gap: 11px; color: var(--br-amber); }

/* ============================================================= WHY US */
.br-why { background: var(--br-grey-bg); }
.br-why__inner { max-width: var(--br-max); margin: 0 auto; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 58px; align-items: center; }
.br-why__media { border-radius: 16px; overflow: hidden; border: 1px solid #e0e6ee; box-shadow: 0 24px 48px rgba(16,42,68,0.12); aspect-ratio: 4/3.2; }
.br-why__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.br-why h2 { font-size: 36px; font-weight: 800; color: var(--br-navy); letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 16px; }
.br-why p.br-why__copy { font-size: 16.5px; line-height: 1.65; color: var(--br-body); margin-bottom: 28px; }
.br-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.br-reason { display: flex; gap: 13px; align-items: flex-start; }
.br-reason__icon { width: 38px; height: 38px; border-radius: 9px; background: var(--br-navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.br-reason__title { font-weight: 700; font-size: 15.5px; color: var(--br-navy); margin-bottom: 3px; }
.br-reason__desc { font-size: 14px; line-height: 1.5; color: var(--br-body); }

/* ============================================================= PROCESS */
.br-process__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 22px; }
.br-step { position: relative; border: 1px solid var(--br-border); border-radius: 14px; padding: 30px 24px; background: #fbfcfe; }
.br-step__num { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 42px; color: #eef3f8; line-height: 1; margin-bottom: 8px; }
.br-step h3 { font-size: 18.5px; font-weight: 700; color: var(--br-navy); margin-bottom: 8px; }
.br-step p { font-size: 14.5px; line-height: 1.6; color: var(--br-body); }

/* ============================================================= WORK GALLERY */
.br-work { background: var(--br-grey-bg); border-top: 1px solid #e9edf3; }
.br-work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 36px; }
.br-work__head h2 { font-size: 39px; font-weight: 800; color: var(--br-navy); letter-spacing: -0.02em; line-height: 1.1; }
.br-work__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 14px; }
.br-work__cell { border-radius: 13px; overflow: hidden; aspect-ratio: 4/3; border: 1px solid #e0e6ee; background: #dde6f0; }
.br-work__cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.br-work__cell:hover img { transform: scale(1.06); }
.br-work__cell.is-zoomable { cursor: pointer; }
.br-work__cell.is-zoomable:focus-visible { outline: 3px solid var(--br-amber); outline-offset: 2px; }

/* Lightbox (click a gallery photo to enlarge) */
body.br-lb-lock { overflow: hidden; }
.br-lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(10,23,38,0.92); }
.br-lightbox.open { display: flex; animation: brLbFade .18s ease; }
@keyframes brLbFade { from { opacity: 0; } to { opacity: 1; } }
.br-lightbox__img { max-width: min(1100px, 92vw); max-height: 88vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.br-lightbox__close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background .15s ease; }
.br-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background .15s ease; }
.br-lightbox__close:hover, .br-lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.br-lightbox__prev { left: 20px; }
.br-lightbox__next { right: 20px; }
.br-lightbox--single .br-lightbox__nav { display: none; }
@media (max-width: 560px) {
  .br-lightbox__nav { width: 42px; height: 42px; font-size: 24px; }
  .br-lightbox__prev { left: 8px; }
  .br-lightbox__next { right: 8px; }
  .br-lightbox__close { top: 10px; right: 12px; }
}

/* Portfolio category nav + sections */
.br-portfolio-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 44px; max-width: 820px; }
.br-portfolio-nav__link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid #d7dfea; color: var(--br-navy); font-weight: 700; font-size: 15px; text-decoration: none; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.br-portfolio-nav__link:hover, .br-portfolio-nav__link:focus { background: var(--br-navy); border-color: var(--br-navy); color: #fff; }
.br-portfolio-nav__link span { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--br-amber); color: var(--br-navy); font-size: 12px; font-weight: 800; }
.br-portfolio-cat { scroll-margin-top: 110px; }
.br-portfolio-cat + .br-portfolio-cat { margin-top: 56px; }
.br-portfolio-cat__title { font-size: 30px; font-weight: 800; color: var(--br-navy); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid #e0e6ee; }

/* ============================================================= REVIEWS */
.br-reviews { background: var(--br-grey-bg); }
.br-reviews__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.br-reviews__head-left { display: flex; align-items: center; gap: 20px; }
.br-reviews__head h2 { font-size: 30px; font-weight: 800; color: var(--br-navy); letter-spacing: -0.02em; line-height: 1.1; }
.br-reviews__score { display: flex; align-items: center; gap: 12px; margin-top: 7px; }
.br-reviews__score b { font-weight: 800; font-size: 21px; color: var(--br-navy); }
.br-reviews__score .br-stars { font-size: 18px; letter-spacing: 1px; }
.br-reviews__score span { font-size: 14.5px; color: var(--br-body); }
.br-reviews__link { background: #fff; border: 1px solid var(--br-border-2); border-radius: 9px; padding: 12px 20px; font-weight: 700; font-size: 14.5px; color: var(--br-navy); display: flex; align-items: center; gap: 9px; box-shadow: 0 2px 8px rgba(16,42,68,0.05); }
.br-reviews__link:hover { border-color: var(--br-navy); }
.br-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(330px,1fr)); gap: 20px; }
.br-review-card { background: #fff; border: 1px solid var(--br-border); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(16,42,68,0.04); }
.br-review-card__head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.br-review-card__avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: #fff; flex-shrink: 0; }
.br-review-card__name { font-weight: 700; font-size: 15.5px; color: var(--br-navy); }
.br-review-card__date { font-size: 12.5px; color: #94a3b8; }
.br-review-card__stars { color: var(--br-star); font-size: 16px; letter-spacing: 1.5px; margin-bottom: 12px; }
.br-review-card p { font-size: 14.5px; line-height: 1.65; color: #3f4d63; }

/* ============================================================= AREAS */
.br-areas { background: var(--br-navy); color: #fff; position: relative; overflow: hidden; }
.br-areas::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 460px at 100% 0%, rgba(244,165,35,0.14), transparent 60%), radial-gradient(720px 520px at 0% 100%, rgba(56,120,190,0.22), transparent 62%); }
.br-areas__inner { max-width: var(--br-max); margin: 0 auto; position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: center; }
.br-areas h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 16px; }
.br-areas p { font-size: 16.5px; line-height: 1.65; color: #c4d2e2; margin-bottom: 26px; }
.br-areas__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.br-chip { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 100px; padding: 9px 16px; font-size: 14.5px; font-weight: 500; color: #dbe5f0; }
a.br-chip { transition: background 0.15s ease, border-color 0.15s ease; }
a.br-chip:hover { background: rgba(244,165,35,0.18); border-color: rgba(244,165,35,0.5); color: #fff; }

/* ============================================================= FAQ */
.br-faq__inner { max-width: 820px; margin: 0 auto; }
.br-faq__head { text-align: center; margin-bottom: 44px; }
.br-faq__list { display: flex; flex-direction: column; gap: 12px; }
.br-faq-item { border: 1px solid var(--br-border); border-radius: 12px; overflow: hidden; background: #fff; }
.br-faq-item button { width: 100%; text-align: left; background: transparent; border: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.br-faq-item__q { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 17px; color: var(--br-navy); }
.br-faq-item__sign { font-size: 22px; color: var(--br-amber); font-weight: 700; flex-shrink: 0; }
.br-faq-item__a { padding: 0 22px; font-size: 15px; line-height: 1.65; color: var(--br-body); max-height: 0; overflow: hidden; transition: max-height 0.28s ease, padding 0.28s ease; }
.br-faq-item.open { background: #fbfcfe; }
.br-faq-item.open .br-faq-item__a { padding: 0 22px 20px; max-height: 400px; }

/* ============================================================= CTA QUOTE (home) */
.br-cta-quote { background: linear-gradient(120deg,#f4a523,#e2900f); padding: 70px 24px; }
.br-cta-quote__inner { max-width: 1080px; margin: 0 auto; background: var(--br-darkest); border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; box-shadow: 0 30px 60px rgba(10,23,38,0.3); }
.br-cta-quote h2 { font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 14px; }
.br-cta-quote__copy { font-size: 16.5px; line-height: 1.6; color: #aebfd2; margin-bottom: 26px; }
.br-cta-contacts { display: flex; flex-direction: column; gap: 14px; }
.br-cta-contact { display: flex; align-items: center; gap: 13px; color: #fff; }
.br-cta-contact:hover { color: var(--br-amber); }
.br-cta-contact__icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(244,165,35,0.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.br-cta-contact__label { display: block; font-size: 12.5px; color: #7e93ab; }
.br-cta-contact__val { display: block; font-size: 18px; font-weight: 700; }
.br-form-card { background: #fff; border-radius: 14px; padding: 28px; }
.br-form-card__title { font-weight: 800; font-size: 18px; color: var(--br-navy); margin-bottom: 16px; font-family: 'Archivo', sans-serif; }

/* ============================================================= PAGE HERO (interior) */
.br-page-hero { background: linear-gradient(115deg,#0a1726,#102a44 60%,#163a5c); color: #fff; padding: 60px 24px 64px; position: relative; overflow: hidden; }
.br-page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 380px at 92% 0%, rgba(244,165,35,0.16), transparent 60%), radial-gradient(700px 500px at -8% 120%, rgba(56,120,190,0.26), transparent 60%); }
.br-page-hero__inner { max-width: var(--br-max); margin: 0 auto; position: relative; }
.br-crumb { font-size: 14px; color: var(--br-muted); margin-bottom: 14px; }
.br-crumb a:hover { color: var(--br-amber); }
.br-crumb span { margin: 0 8px; color: #5e7a9c; }
.br-page-hero h1 { font-size: 48px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; max-width: 780px; margin-bottom: 18px; }
.br-page-hero__sub { font-size: 18px; line-height: 1.6; color: #c4d2e2; max-width: 620px; }

/* ============================================================= SERVICE DETAIL ROWS */
.br-svc-rows { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 34px; }
.br-svc-row { display: grid; gap: 46px; align-items: center; border: 1px solid #e9edf3; border-radius: 18px; padding: 38px; background: #fbfcfe; grid-template-columns: 1.15fr 0.85fr; }
.br-svc-row--alt { grid-template-columns: 0.85fr 1.15fr; }
.br-svc-row--alt .br-svc-row__text { order: 2; }
.br-svc-row--alt .br-svc-row__media { order: 1; }
.br-svc-row__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.br-svc-row__icon { width: 54px; height: 54px; border-radius: 13px; background: var(--br-navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.br-svc-row__head h2 { font-size: 27px; font-weight: 800; color: var(--br-navy); letter-spacing: -0.01em; }
.br-svc-row__lead { font-size: 16px; line-height: 1.65; color: var(--br-body); margin-bottom: 20px; }
.br-svc-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 22px; margin-bottom: 24px; }
.br-svc-bullet { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: #334155; font-weight: 500; }
.br-svc-bullet svg { flex-shrink: 0; }
.br-svc-row__media { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--br-border-2); }
.br-svc-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================= GUARANTEES */
.br-guarantees { background: var(--br-grey-bg); }
.br-guarantees__inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.br-guarantees h2 { font-size: 34px; font-weight: 800; color: var(--br-navy); letter-spacing: -0.02em; margin-bottom: 38px; }
.br-guarantees__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 20px; }
.br-guarantee { background: #fff; border: 1px solid var(--br-border); border-radius: 14px; padding: 32px 26px; }
.br-guarantee__big { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 40px; color: var(--br-navy); line-height: 1; margin-bottom: 8px; }
.br-guarantee__title { font-weight: 700; font-size: 17px; color: var(--br-navy); margin-bottom: 6px; }
.br-guarantee__desc { font-size: 14.5px; line-height: 1.55; color: var(--br-body); }

/* ============================================================= CTA BAND (interior) */
.br-cta-band { background: linear-gradient(120deg,#0a1726,#163a5c); padding: 66px 24px; }
.br-cta-band__inner { max-width: 900px; margin: 0 auto; text-align: center; color: #fff; }
.br-cta-band h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.br-cta-band p { font-size: 17px; line-height: 1.6; color: #c4d2e2; max-width: 560px; margin: 0 auto 28px; }
.br-cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.br-cta-band__actions .br-btn { font-size: 16.5px; padding: 16px 28px; }

/* ============================================================= CONTACT */
.br-contact { background: var(--br-grey-bg); padding: 60px 24px 70px; }
.br-contact__inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 34px; align-items: start; }
.br-contact__info { display: flex; flex-direction: column; gap: 16px; }
.br-contact-card { background: #fff; border: 1px solid var(--br-border); border-radius: 14px; padding: 22px; display: flex; align-items: center; gap: 16px; box-shadow: 0 2px 10px rgba(16,42,68,0.04); transition: transform 0.15s ease, border-color 0.15s ease; }
.br-contact-card:hover { transform: translateX(3px); border-color: var(--br-border-2); }
.br-contact-card__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--br-navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.br-contact-card__label { display: block; font-size: 12.5px; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.br-contact-card__val { display: block; font-size: 16.5px; font-weight: 700; color: var(--br-navy); }
.br-contact-card__sub { display: block; font-size: 13.5px; color: var(--br-body); }
.br-hours { background: var(--br-navy); border-radius: 14px; padding: 24px; color: #fff; }
.br-hours__title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.br-hours__rows { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.br-hours__row { display: flex; justify-content: space-between; }
.br-hours__row span:first-child { color: var(--br-muted); }
.br-hours__row span:last-child { font-weight: 600; }
.br-hours__badges { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; gap: 10px; }
.br-contact__form { background: #fff; border: 1px solid var(--br-border); border-radius: 18px; padding: 36px; box-shadow: 0 14px 40px rgba(16,42,68,0.08); }
.br-contact__form h2 { font-size: 24px; font-weight: 800; color: var(--br-navy); margin-bottom: 6px; }
.br-contact__form-intro { font-size: 14.5px; color: var(--br-body); margin-bottom: 24px; }

/* Trust badges (footer + hours) */
.br-badge { background: #fff; border-radius: 8px; display: flex; align-items: center; }
.br-badge--checkatrade { padding: 9px 13px; }
.br-badge--checkatrade img { height: 22px; display: block; }
.br-badge--trustatrader { padding: 5px; }
.br-badge--trustatrader img { height: 36px; display: block; }
.br-badge--text { padding: 9px 13px; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 13px; color: var(--br-navy); letter-spacing: 0.01em; gap: 6px; }
.br-badge--text svg { color: var(--br-green); }
.br-badge--text strong { color: var(--br-amber-dark); }

/* ============================================================= MAP STRIP (contact) */
.br-map-strip { background: var(--br-navy); color: #fff; padding: 54px 24px; position: relative; overflow: hidden; }
.br-map-strip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 460px at 100% 0%, rgba(244,165,35,0.14), transparent 60%), radial-gradient(720px 520px at 0% 100%, rgba(56,120,190,0.22), transparent 62%); }
.br-map-strip__inner { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.br-map-strip__left { display: flex; align-items: center; gap: 18px; }
.br-map-strip__icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(244,165,35,0.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.br-map-strip__title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 22px; }
.br-map-strip__sub { font-size: 15px; color: #c4d2e2; margin-top: 4px; }

/* ============================================================= FOOTER */
.br-footer { background: var(--br-darkest); color: var(--br-muted); padding: 64px 24px 30px; }
.br-footer__top { max-width: var(--br-max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.br-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.br-footer__logo { width: 60px; height: 60px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 6px; }
.br-footer__logo img { max-width: 100%; max-height: 100%; display: block; }
.br-footer__name { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 17px; color: #fff; line-height: 1.05; }
.br-footer__name-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; color: var(--br-amber); line-height: 1.05; }
.br-footer__about { font-size: 14.5px; line-height: 1.65; max-width: 300px; margin-bottom: 18px; }
.br-footer__badges { display: flex; gap: 10px; align-items: center; }
.br-footer__col-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px; color: #fff; letter-spacing: 0.04em; margin-bottom: 16px; }
.br-footer__links { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.br-footer__links a:hover, .br-footer a:hover { color: var(--br-amber); }
.br-footer__contact { display: flex; flex-direction: column; gap: 13px; font-size: 14.5px; }
.br-footer__contact a, .br-footer__contact div { display: flex; align-items: center; gap: 9px; }
.br-footer__contact .br-footer__addr { align-items: flex-start; }
.br-footer__contact svg { flex-shrink: 0; }
.br-footer__bottom { max-width: var(--br-max); margin: 0 auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: #64748b; }
.br-footer__legal { display: flex; gap: 20px; }

/* ============================================================= CONTACT FORM 7 STYLING */
.br-form-card .wpcf7-form,
.br-contact__form .wpcf7-form { display: flex; flex-direction: column; gap: 12px; }
.br-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* CF7 wraps the quote form's two bare fields in a single auto <p>; unwrap it so
   each field span becomes a real grid item and fills its column (matches name). */
.br-form-row > p { display: contents; }
.br-form-row .wpcf7-form-control-wrap { display: block; width: 100%; }
.br-field-label { display: block; font-size: 13.5px; font-weight: 600; color: #334155; margin-bottom: 6px; }
.wpcf7-form input[type=text],
.wpcf7-form input[type=tel],
.wpcf7-form input[type=email],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%; border: 1px solid var(--br-border-2); border-radius: 10px;
  padding: 13px 14px; font-size: 15px; color: var(--br-navy); outline: none; background: #fff;
}
.br-form-card .wpcf7-form input,
.br-form-card .wpcf7-form select { border-radius: 9px; }
.wpcf7-form select { color: var(--br-body); }
.wpcf7-form textarea { resize: vertical; }
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { border-color: var(--br-amber); box-shadow: 0 0 0 3px rgba(244,165,35,0.15); }
.wpcf7-form .wpcf7-submit {
  background: var(--br-amber); color: var(--br-navy); font-weight: 700; font-size: 16.5px;
  padding: 16px; border: none; border-radius: 10px; cursor: pointer; width: 100%;
  box-shadow: 0 10px 24px rgba(244,165,35,0.4); transition: background 0.16s ease;
}
.br-form-card .wpcf7-form .wpcf7-submit { font-size: 16px; padding: 15px; border-radius: 9px; margin-top: 8px; }
.wpcf7-form .wpcf7-submit:hover { background: var(--br-amber-dark); }
.br-form-note { font-size: 12.5px; color: #94a3b8; text-align: center; }
.wpcf7-form .wpcf7-not-valid-tip { font-size: 12.5px; color: #dc2626; }
.wpcf7 form .wpcf7-response-output { border-radius: 9px; font-size: 13.5px; margin: 8px 0 0; padding: 10px 14px; }

/* ============================================================= ENTRY (page/post body) */
.br-entry { font-size: 16.5px; line-height: 1.7; color: #3f4d63; }
.br-entry > *:first-child { margin-top: 0; }
.br-entry h2 { font-size: 27px; font-weight: 800; color: var(--br-navy); letter-spacing: -0.01em; line-height: 1.2; margin: 38px 0 14px; }
.br-entry h3 { font-size: 20px; font-weight: 700; color: var(--br-navy); margin: 28px 0 10px; }
.br-entry p { margin: 0 0 16px; }
.br-entry a { color: var(--br-amber-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.br-entry a:hover { color: var(--br-navy); }
.br-entry ul, .br-entry ol { margin: 0 0 18px; padding-left: 0; list-style: none; }
.br-entry ul li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.br-entry ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--br-amber); transform: rotate(45deg); }
.br-entry ol { counter-reset: br; padding-left: 0; }
.br-entry ol li { position: relative; padding-left: 38px; margin-bottom: 12px; counter-increment: br; }
.br-entry ol li::before { content: counter(br); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 7px; background: var(--br-navy); color: #fff; font-family: 'Archivo',sans-serif; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.br-entry strong { color: var(--br-navy); }
.br-entry p.br-sub { margin: 0 0 9px; padding-left: 26px; }
.br-entry blockquote { margin: 0 0 18px; padding: 16px 20px; background: var(--br-grey-bg); border-left: 4px solid var(--br-amber); border-radius: 0 10px 10px 0; font-size: 16px; }
.br-entry table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.br-entry th, .br-entry td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--br-border); }
.br-entry th { background: var(--br-navy); color: #fff; font-family: 'Archivo',sans-serif; font-weight: 700; }
.br-entry tr:nth-child(even) td { background: #fbfcfe; }

/* ============================================================= NAV MENU (wp_nav_menu) */
.br-nav > ul { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.br-nav li { position: relative; }
.br-nav a { color: #334155; font-weight: 600; font-size: 15px; white-space: nowrap; display: block; padding: 6px 0; }
.br-nav a:hover { color: var(--br-amber); }
.br-nav .current-menu-item > a, .br-nav .current_page_item > a, .br-nav .current-menu-ancestor > a, .br-nav .current_page_parent > a { color: var(--br-navy); }
.br-nav .menu-item-has-children > a::after { content: "▾"; font-size: 9px; margin-left: 5px; position: relative; top: -1px; color: #94a3b8; }
.br-nav .sub-menu { position: absolute; top: 100%; left: -14px; min-width: 240px; background: #fff; border: 1px solid var(--br-border); border-radius: 12px; box-shadow: 0 18px 42px rgba(16,42,68,0.16); padding: 8px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(7px); transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 60; }
.br-nav .sub-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.br-nav li:hover > .sub-menu, .br-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.br-nav .sub-menu a { padding: 9px 13px; border-radius: 8px; font-size: 14.5px; color: #3f4d63; }
.br-nav .sub-menu a:hover { background: var(--br-grey-bg); color: var(--br-navy); }

/* Mobile menu (accordion: hub submenus collapse, tap chevron to expand) */
.br-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.br-mobile-nav > ul > li { border-bottom: 1px solid #eef1f5; }
.br-mobile-nav > ul > li:last-of-type { border-bottom: none; }
.br-mobile-nav a { display: block; padding: 13px 2px; font-weight: 600; font-size: 16px; color: var(--br-navy); }
.br-mobile-nav a:hover { color: var(--br-amber); }
.br-mobile-nav .current-menu-item > a, .br-mobile-nav .current_page_item > a,
.br-mobile-nav .current-menu-ancestor > a, .br-mobile-nav .current_page_parent > a { color: var(--br-amber); }

/* parent row: hub link + expand toggle side by side */
.br-mnav-row { display: flex; align-items: center; }
.br-mnav-row > a { flex: 1 1 auto; }
.br-mnav-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 6px; padding: 0; background: var(--br-grey-bg); border: 1px solid var(--br-border); border-radius: 9px; color: var(--br-navy); cursor: pointer; transition: background .15s ease, color .15s ease; }
.br-mnav-toggle svg { transition: transform .2s ease; }
.br-mobile-nav li.is-open > .br-mnav-row .br-mnav-toggle { background: var(--br-navy); color: #fff; border-color: var(--br-navy); }
.br-mobile-nav li.is-open > .br-mnav-row .br-mnav-toggle svg { transform: rotate(180deg); }

/* submenu */
.br-mobile-nav .sub-menu { margin: 2px 0 12px; padding: 4px 0 4px 14px; border-left: 2px solid var(--br-amber); }
.br-mobile-nav .sub-menu a { font-weight: 500; font-size: 15px; color: var(--br-body); padding: 10px 2px; }
.br-mobile-nav .sub-menu a:hover { color: var(--br-navy); }
/* collapse only when JS accordion is active (no-JS: submenus stay visible) */
.br-mobile-nav.js-accordion .sub-menu { display: none; }
.br-mobile-nav.js-accordion li.is-open > .sub-menu { display: block; }

/* in-menu actions */
.br-mobile-nav .br-mnav-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.br-mobile-nav .br-mnav-actions .br-btn { justify-content: center; padding: 14px; font-size: 16px; }
.br-mobile-nav .br-mnav-call { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 13px; border: 1px solid var(--br-border-2); border-radius: 10px; font-weight: 700; font-size: 16px; color: var(--br-navy); }
.br-mobile-nav .br-mnav-call:hover { border-color: var(--br-navy); color: var(--br-navy); }

/* ============================================================= HUB CARDS */
.br-hub-card { display: flex; flex-direction: column; border: 1px solid var(--br-border); border-radius: 14px; padding: 26px 24px; background: #fff; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.br-hub-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(16,42,68,0.1); border-color: var(--br-border-2); }
.br-hub-card__icon { width: 50px; height: 50px; border-radius: 12px; background: #eef3f8; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.br-hub-card h3 { font-size: 19px; font-weight: 700; color: var(--br-navy); margin-bottom: 8px; }
.br-hub-card p { font-size: 14.5px; line-height: 1.6; color: var(--br-body); margin-bottom: 14px; flex: 1; }
.br-hub-card__more { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--br-amber-dark); }
.br-hub-card:hover .br-hub-card__more { gap: 11px; }

/* ============================================================= RELATED LINKS */
.br-related { background: var(--br-grey-bg); border-top: 1px solid #e9edf3; }
.br-related__inner { max-width: var(--br-max); margin: 0 auto; }
.br-related h2 { font-size: 22px; font-weight: 800; color: var(--br-navy); margin-bottom: 18px; }
.br-related__links { display: flex; flex-wrap: wrap; gap: 10px; }
.br-related__links a { background: #fff; border: 1px solid var(--br-border-2); border-radius: 100px; padding: 9px 17px; font-size: 14.5px; font-weight: 600; color: var(--br-navy); }
.br-related__links a:hover { border-color: var(--br-navy); background: #fff; }

/* ============================================================= GUIDES LIST */
.br-guides__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 22px; }
.br-guide-card { display: flex; flex-direction: column; border: 1px solid var(--br-border); border-radius: 14px; padding: 28px 26px; background: #fff; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.br-guide-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(16,42,68,0.1); }
.br-guide-card h2 { font-size: 21px; font-weight: 800; color: var(--br-navy); line-height: 1.25; margin-bottom: 10px; }
.br-guide-card p { font-size: 15px; line-height: 1.6; color: var(--br-body); margin-bottom: 16px; flex: 1; }

/* ============================================================= RESPONSIVE */
@media (max-width: 980px) {
  .br-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .br-why__inner { grid-template-columns: 1fr; gap: 36px; }
  .br-areas__inner { grid-template-columns: 1fr; gap: 32px; }
  .br-cta-quote__inner { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .br-contact__inner { grid-template-columns: 1fr; }
  .br-svc-row, .br-svc-row--alt { grid-template-columns: 1fr !important; gap: 28px; }
  .br-svc-row--alt .br-svc-row__text, .br-svc-row--alt .br-svc-row__media { order: 0; }
  .br-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  .br-nav, .br-call__text { display: none; }
  .br-burger { display: inline-flex; }
  .br-hero h1 { font-size: 38px; }
  .br-h2, .br-work__head h2 { font-size: 30px; }
  .br-page-hero h1 { font-size: 34px; }
  .br-reasons { grid-template-columns: 1fr; }
  .br-trust__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  /* Top bar: drop the long strapline, centre the contact details */
  .br-topbar__left { display: none; }
  .br-topbar__inner { justify-content: center; padding: 8px 20px; }
  .br-topbar__right { gap: 20px; }
}
@media (max-width: 560px) {
  .br-section { padding: 60px 20px; }
  .br-hero h1 { font-size: 32px; }
  .br-footer__top { grid-template-columns: 1fr; }
  .br-form-row, .br-svc-bullets { grid-template-columns: 1fr; }
  .br-brand img { height: 52px; }
  /* Tighten the header: drop the call pill + email, keep brand, quote & burger */
  .br-header__inner { padding: 12px 18px; gap: 10px; }
  .br-call { display: none; }
  .br-btn--sm { padding: 10px 14px; font-size: 14px; }
  .br-topbar__right a { display: none; }
  .br-topbar__phone { font-size: 13px; }
}
@media (max-width: 400px) {
  .br-brand img { height: 44px; }
  .br-brand { gap: 10px; }
  .br-brand__name { font-size: 17px; }
  .br-brand__sub { font-size: 9.5px; letter-spacing: 0.12em; }
  .br-btn--sm { padding: 9px 12px; }
}

/* Collapse the fuller nav to the mobile menu earlier (many top-level items) */
@media (max-width: 1024px) {
  .br-nav { display: none; }
  .br-call__text { display: none; }
  .br-burger { display: inline-flex; }
  .br-header__inner { gap: 14px; }
}
