/* =========================================================================
   home.css - components: nav, hero, sections, mobile menu, footer, responsive
   ========================================================================= */

/* ---------- Sticky header / nav ---------- */
.site-nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: 80px; display: flex;
  align-items: center; justify-content: space-between; padding: 0 clamp(20px,5vw,56px);
  transition: background .4s, box-shadow .4s; }
.site-nav.scrolled, body.no-hero .site-nav { background: rgba(19,30,43,0.97); backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(232,119,34,0.18), 0 8px 40px rgba(0,0,0,0.28); }
/* Pages with no dark hero behind the nav: reserve space so content clears the fixed header */
body.no-hero main#main { padding-top: 88px; }
.nav-logo-wrap { display: flex; flex-direction: column; justify-content: center; gap: 3px; text-decoration: none; }
.nav-logo { display: block; width: 200px; height: 52px;
  background: url('../images/logo-white.webp') left center / contain no-repeat; transition: height .35s, width .35s; }
.site-nav.scrolled .nav-logo { height: 46px; width: 176px; }
.nav-logo-tag { font-family: var(--head); font-size: 10px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,0.55); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a, .nav-drop-toggle { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; transition: color var(--t-fast); }
.nav-links a:hover, .nav-drop-toggle:hover { color: var(--accent); }
.nav-drop-toggle { font-family: var(--body); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav-drop-toggle svg { transition: transform var(--t-fast); }
.nav-drop-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-cta { background: var(--accent); color: var(--brand-dark) !important; padding: 11px 20px; border-radius: var(--r);
  font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.nav-cta:hover { background: var(--accent-light); }
.nav-has-dropdown { position: relative; }
.nav-dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: var(--r);
  box-shadow: var(--shadow-lift); padding: 10px; list-style: none; margin: 12px 0 0; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .25s; }
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown,
.nav-drop-toggle[aria-expanded="true"] + .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { color: var(--ink); display: block; padding: 10px 14px; border-radius: var(--r); }
.nav-dropdown a:hover { background: var(--off); color: var(--brand); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { width: 26px; height: 2px; background: #fff; transition: .3s; }

/* ---------- Mobile slide-in menu ---------- */
.m-menu { position: fixed; inset: 0; z-index: 1100; background: var(--brand-dark); transform: translateX(100%);
  transition: transform .45s var(--t-base); visibility: hidden; }
.m-menu.is-open { transform: translateX(0); visibility: visible; }
.m-menu__close { position: absolute; top: 22px; right: 22px; background: none; border: 0; color: #fff; cursor: pointer; }
.m-menu__inner { display: flex; flex-direction: column; height: 100%; padding: 90px 28px 34px; overflow-y: auto; }
.m-menu__nav { display: flex; flex-direction: column; }
.m-link, .m-acc { color: #fff; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 20px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; width: 100%; cursor: pointer; }
.m-acc { display: flex; justify-content: space-between; align-items: center; }
.m-acc__icon::before { content: '+'; }
.m-acc[aria-expanded="true"] .m-acc__icon::before { content: '\2212'; }
.m-acc__panel { display: none; padding: 6px 0 10px 14px; }
.m-acc__panel.open { display: block; }
.m-acc__panel a { display: block; color: rgba(255,255,255,0.75); text-decoration: none; padding: 10px 0; }
.m-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 24px; }
.m-phone { color: var(--accent); font-family: var(--head); font-weight: 800; text-decoration: none; }

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar { display: none; position: fixed; inset: auto 0 0 0; z-index: 900; }
.mobile-bar a { flex: 1; text-align: center; padding: 15px; font-family: var(--head); font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; text-decoration: none; }
.mcb-call { background: var(--brand-dark); color: #fff; }
.mcb-cta { background: var(--accent); color: var(--brand-dark); }

/* Remove the 24px block-gap WP puts between top-level blocks (white strip behind nav / above footer) */
.wp-site-blocks > * { margin-block-start: 0; }
/* Remove the flow block-gap between top-level sections (was a white line between adjacent dark sections) */
main#main > * { margin-block-start: 0; margin-block-end: 0; }

/* ---------- Section background images (cover, with legibility overlay) ----------
   Layer a gradient over the image so text always passes contrast. Used across
   sections so the brand textures actually get used. background-image only (not the
   shorthand) so it layers over any existing background-color. */
.bg-dark-1, .bg-dark-2, .bg-dark-grad, .bg-light-brand, .bg-light-texture, .bg-light-accent {
  background-repeat: no-repeat; background-position: center; background-size: cover;
}
.bg-dark-1   { background-image: linear-gradient(rgba(19,30,43,0.90), rgba(19,30,43,0.93)), url('../images/bg-section-dark-navy.webp'); }
.bg-dark-2   { background-image: linear-gradient(rgba(19,30,43,0.90), rgba(28,46,68,0.92)), url('../images/bg-section-dark-navy-2.webp'); }
.bg-dark-grad{ background-image: linear-gradient(rgba(19,30,43,0.88), rgba(19,30,43,0.94)), url('../images/bg-section-dark-gradient.webp'); }
.bg-light-brand   { background-image: linear-gradient(rgba(255,255,255,0.86), rgba(244,246,249,0.92)), url('../images/bg-section-light-brand.webp'); }
.bg-light-texture { background-image: linear-gradient(rgba(244,246,249,0.85), rgba(244,246,249,0.93)), url('../images/bg-section-light-texture.webp'); }
.bg-light-accent  { background-image: linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.92)), url('../images/bg-section-light-accent.webp'); }

/* =========================================================================
   Motion layer (GSAP + micro-interactions)
   ========================================================================= */
/* When GSAP drives reveals, drop the CSS transition so it does not double-animate */
.gsap-on .reveal, .gsap-on .reveal-left, .gsap-on .reveal-right { transition: none; }
/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), var(--accent-light)); z-index: 1200; pointer-events: none; will-change: transform; }

/* Button + card micro-interactions */
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; transition: none; }
  .scroll-progress { display: none; }
  .btn:hover { transform: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(94vh, 880px); display: flex; align-items: center; color: #fff; overflow: hidden; padding-top: 80px; }
/* Hero slider: crossfading slides + continuous Ken-Burns */
.hero-slides { position: absolute; inset: 0; overflow: hidden; background: var(--brand-dark); z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; z-index: 0;
  will-change: opacity, transform; transition: opacity 1.4s ease; animation: hero-kb 20s ease-in-out infinite alternate; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.gsap-on .hero-slide { transition: none; } /* GSAP owns the crossfade */
@keyframes hero-kb { from { transform: scale(1.08); } to { transform: scale(1.26); } }
/* Slider dots */
.hero-dots { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; gap: 12px; z-index: 4; }
.hero-dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,0.65);
  background: transparent; cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.hero-dot:hover { border-color: #fff; }
.hero-dot.is-active { background: var(--accent); border-color: var(--accent); transform: scale(1.15); }
.hero-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hero-overlay { position: absolute; inset: 0; background:
  linear-gradient(105deg, rgba(19,30,43,0.95) 0%, rgba(19,30,43,0.82) 42%, rgba(19,30,43,0.45) 78%, rgba(19,30,43,0.35) 100%),
  linear-gradient(to top, rgba(19,30,43,0.6) 0%, rgba(19,30,43,0) 38%); z-index: 1; }
.hero .container { position: relative; width: 100%; z-index: 2; }
.hero-content { position: relative; max-width: 640px; }
.hero-headline { font-family: var(--head); font-weight: 800; line-height: 1.0; font-size: clamp(2.4rem, 7vw, 4.7rem); margin: 0 0 8px; letter-spacing: -0.01em; }
.hero-headline .line { display: block; }
.hero-headline .accent { color: var(--accent); }
.hero-divider { width: 72px; height: 3px; background: linear-gradient(90deg, var(--accent), rgba(232,119,34,0.2));
  margin: 20px 0; transform: scaleX(0); transform-origin: left center; transition: transform 1s .4s var(--t-base); }
.hero.in .hero-divider, .hero-divider.in { transform: scaleX(1); }
.hero-sub { font-size: 1.25rem; font-weight: 600; margin: 0 0 14px; }
.hero-body { font-size: 1.05rem; color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 0 30px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-rating { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; }
.hero-stars { color: var(--accent); letter-spacing: 2px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--brand); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; padding-block: 30px; }
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: var(--r);
  background: rgba(232,119,34,0.15); color: var(--accent); font-weight: 800; }
.trust-title { font-family: var(--head); font-weight: 700; font-size: 15px; }
.trust-desc { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 44px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px; transition: transform var(--t-base), box-shadow var(--t-base); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.feature-icon { color: var(--accent); font-size: 24px; margin-bottom: 14px; }
.feature-title { font-family: var(--head); font-size: 1.2rem; margin: 0 0 8px; color: var(--brand-dark); }

/* ---------- Process ---------- */
.process-wrapper { position: relative; margin-top: 50px; }
.process-line { position: absolute; top: 36px; left: 12%; right: 12%; height: 2px; background: rgba(255,255,255,0.12); }
.process-grid { display: grid; gap: 32px; position: relative; }
.process-grid--4 { grid-template-columns: repeat(4,1fr); }
.process-grid--3 { grid-template-columns: repeat(3,1fr); max-width: 980px; margin-inline: auto; } /* LESSON: centered odd-count */
.process-step { text-align: center; padding: 0 18px; }
.step-num { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--brand-dark); font-family: var(--head); font-weight: 800; font-size: 24px; }
.step-title { font-family: var(--head); font-weight: 700; color: #fff; margin-bottom: 8px; } /* white = dark section only */
.step-body { font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,0.7); }

/* ---------- Split sections ---------- */
.split { padding-block: clamp(40px, 6vw, 80px); }
.split--light { background: #fff; } .split--off { background: var(--off); }
.split__inner { max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px,5vw,56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,64px); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 44px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.testi-stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
.testi-quote { font-size: 1.05rem; line-height: 1.7; margin: 0 0 16px; }
.testi-author { font-family: var(--head); font-weight: 700; color: var(--brand-dark); }
.testi-role { font-size: 13px; color: var(--grey); }

/* ---------- FAQ ---------- */
.faq { margin-top: 36px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 0;
  font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--brand-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-icon::before { content: '+'; color: var(--accent); font-size: 22px; }
.faq-q[aria-expanded="true"] .faq-icon::before { content: '\2212'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 0 20px; color: var(--grey); margin: 0; }

/* ---------- CTA banner ---------- */
.cta-section { background: var(--brand-dark); color: #fff; padding: clamp(48px,7vw,90px) clamp(20px,5vw,56px); position: relative; overflow: hidden; }
.cta-inner { max-width: 1200px; margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cta-title { font-family: var(--head); font-weight: 800; font-size: clamp(1.6rem,3.4vw,2.4rem); line-height: 1.15; margin: 0 0 14px; }
.cta-title span { color: var(--accent); }
.cta-sub { color: rgba(255,255,255,0.7); max-width: 520px; line-height: 1.7; }
.cta-sub a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 2px; }
.cta-actions { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r); padding: 28px; text-align: center; }
.cta-phone { font-family: var(--head); font-weight: 800; font-size: 1.8rem; color: var(--accent); text-decoration: none; display: block; }
.cta-note { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 8px 0; }
.cta-sep { height: 1px; background: rgba(255,255,255,0.1); margin: 16px 0; }
.cta-reg { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-dark); color: rgba(255,255,255,0.7); padding: clamp(48px,7vw,80px) clamp(20px,5vw,56px) 28px; }
.footer-accent { max-width: 1240px; margin: 0 auto 42px; height: 2px; background: linear-gradient(90deg, transparent, rgba(232,119,34,0.5), transparent); }
.footer-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.9fr 1fr 1fr 0.9fr 1.2fr; gap: 40px; }
.footer-logo { width: 210px; height: 54px; background: url('../images/logo-white.webp') left center / contain no-repeat; display: block; }
.footer-tagline { font-size: 13.5px; color: rgba(255,255,255,0.4); max-width: 240px; margin: 16px 0; }
.footer-reg { font-size: 11px; color: rgba(255,255,255,0.25); line-height: 1.9; }
.footer-col-title { font-family: var(--head); font-weight: 700; color: #fff; margin-bottom: 16px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color var(--t-fast); }
.footer-links a:hover { color: var(--accent); }
.footer-social__link { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.15); border-radius: var(--r); color: rgba(255,255,255,0.7); margin-top: 16px; }
.footer-social__link:hover { background: var(--accent); color: var(--brand-dark); border-color: var(--accent); }
.footer-bottom { max-width: 1240px; margin: 42px auto 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: rgba(255,255,255,0.46); }
.footer-legal a { color: rgba(255,255,255,0.7); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--accent); }
.footer-credit a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--accent); }
.footer-top { background: none; border: 0; color: rgba(255,255,255,0.6); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.footer-contact span { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-cta-btn { display: inline-block; margin-top: 16px; background: var(--accent); color: var(--brand-dark);
  font-family: var(--head); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; padding: 11px 18px; border-radius: var(--r); transition: background var(--t-base); }
.footer-cta-btn:hover { background: var(--accent-light); }
.m-foot-note { font-size: 12.5px; color: rgba(255,255,255,0.5); margin: 4px 0 0; line-height: 1.6; }

/* In-page anchors clear the fixed 80px header (skip link, blog TOC, etc.) */
html { scroll-padding-top: 92px; }
/* Burger tap target >= 44px */
.nav-burger { padding: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .feature-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: repeat(3,1fr); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: 88px; } /* extend dark footer under the fixed mobile action bar (no white gap) */
  .process-grid--4 { grid-template-columns: repeat(2,1fr); }
  .process-line { display: none; }
  .split__inner { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .cta-inner { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .feature-grid, .testi-grid, .trust-grid, .process-grid--3, .process-grid--4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { min-height: 84vh; }
  .footer-bottom { justify-content: flex-start; }
}
@media (max-width: 520px) {
  /* Stack CTAs full-width so they read as intentional, not wrapped */
  .hero-btns, .split-btns { width: 100%; }
  .hero-btns .btn, .split-btns .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .hero-trustline { gap: 8px 16px; }
  .section-title { font-size: clamp(1.6rem, 7vw, 2rem); }
}

/* =========================================================================
   Homepage / shared bespoke components (added for Attic Conversions Meath)
   ========================================================================= */

/* Ghost button (third button style on light sections) */
.btn-ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero trust line (replaces fabricated star rating) */
.hero-trustline { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; }
.hero-trustline li { position: relative; padding-left: 22px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); }
.hero-trustline li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* Section sub spacing when used as intro under centered title */
.section-sub.center { margin-bottom: 8px; }
.section-body.center { text-align: center; max-width: 700px; margin-inline: auto; }

/* Services card grid */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; text-decoration: none; color: inherit; transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.svc-img { display: block; aspect-ratio: 16 / 11; background-size: cover; background-position: center; background-color: var(--line); }
.svc-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 22px; flex: 1; }
.svc-title { font-family: var(--head); font-weight: 800; font-size: 1.08rem; color: var(--brand-dark); }
.svc-desc { font-size: 14px; color: var(--grey); line-height: 1.6; flex: 1; }
.svc-arrow { font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }

/* Proof / trust band (replaces fabricated testimonials until real reviews exist) */
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 44px; }
.proof-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-card); }
.proof-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(232,119,34,0.12); color: var(--accent); font-weight: 800; margin-bottom: 14px; }
.proof-title { font-family: var(--head); font-weight: 800; color: var(--brand-dark); font-size: 1.05rem; margin: 0 0 8px; }
.proof-card p { color: var(--grey); font-size: 14px; line-height: 1.6; margin: 0; }
.proof-note { text-align: center; color: var(--grey); font-size: 13.5px; margin-top: 28px; }
@media (max-width: 1100px) { .proof-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .proof-grid { grid-template-columns: 1fr; } }

/* Honesty band (the differentiator) */
.honesty { background: var(--brand); color: #fff; padding: clamp(48px,7vw,90px) clamp(20px,5vw,56px); position: relative; overflow: hidden;
  background-image: linear-gradient(120deg, rgba(19,30,43,0.4), rgba(28,46,68,0.1)), url('../images/bg-section-dark-navy.webp'); background-size: cover; background-position: center; }
.honesty__inner { max-width: 900px; margin-inline: auto; }
/* Two-column honesty variant (text + image) */
.honesty__grid { max-width: 1200px; margin-inline: auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px,5vw,64px); align-items: center; }
.honesty__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lift); }
.honesty__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .honesty__grid { grid-template-columns: 1fr; } }
/* Proof note on dark band */
.section-dark .proof-note { color: rgba(255,255,255,0.6); }
.honesty .eyebrow { color: var(--accent-light); }
.honesty__title { font-family: var(--head); font-weight: 800; line-height: 1.18; font-size: clamp(1.5rem, 3.4vw, 2.3rem); margin: 0 0 18px; }
.honesty__body { color: rgba(255,255,255,0.82); font-size: 1.05rem; line-height: 1.8; margin: 0 0 22px; }
.honesty__link { font-family: var(--head); font-weight: 800; color: var(--accent-light); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.honesty__link:hover { color: #fff; }

/* Split helpers */
.split__content .section-title { margin-top: 8px; }
.split-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.process-foot { text-align: center; margin-top: 44px; }

/* Before / after */
.ba-section { background: var(--off); padding-block: clamp(56px, 8vw, 110px); }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.ba-card { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4 / 3; }
.ba-card img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag { position: absolute; top: 14px; left: 14px; font-family: var(--head); font-weight: 800; font-size: 12px; text-transform: uppercase;
  letter-spacing: .08em; padding: 7px 14px; border-radius: var(--r); color: #fff; }
.ba-tag--before { background: rgba(19,30,43,0.85); }
.ba-tag--after { background: var(--accent); color: var(--brand-dark); }

/* Inner page hero (shorter than the homepage hero) */
.page-hero { position: relative; padding: clamp(120px,16vw,170px) 0 clamp(48px,7vw,76px); color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(19,30,43,0.93) 0%, rgba(19,30,43,0.72) 55%, rgba(19,30,43,0.5) 100%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-family: var(--head); font-weight: 800; line-height: 1.1; font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 12px 0 16px; max-width: 850px; }
.page-hero__sub { font-size: clamp(1.05rem,2vw,1.2rem); color: rgba(255,255,255,0.85); max-width: 660px; margin: 0 0 28px; line-height: 1.6; }
.page-hero .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Breadcrumb */
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-current] { color: rgba(255,255,255,0.55); }

/* Cost band callout */
.cost-band { background: var(--brand-dark); color: #fff; border-radius: var(--r); padding: clamp(26px,4vw,42px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px,4vw,40px); align-items: center; margin-top: 12px; }
.cost-band__fig { font-family: var(--head); font-weight: 800; font-size: clamp(1.8rem,4vw,2.6rem); color: var(--accent); line-height: 1.1; }
.cost-band__note { font-size: 13px; color: rgba(255,255,255,0.6); margin: 8px 0 0; }
.cost-band__body p { color: rgba(255,255,255,0.82); margin: 0 0 18px; }
.cost-band__actions { display: flex; flex-direction: column; gap: 12px; }

/* Prose (for guide / pillar body content) */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--head); font-weight: 800; color: var(--brand-dark); font-size: clamp(1.5rem,3vw,2rem); margin: 40px 0 14px; }
.prose h3 { font-family: var(--head); font-weight: 700; color: var(--brand-dark); font-size: 1.25rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink); line-height: 1.8; }
.prose ul { padding-left: 22px; margin: 14px 0; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--brand-light); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent); }

/* Data tables scroll horizontally on small screens instead of overflowing */
@media (max-width: 680px) {
  .data-table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
/* Simple data table (cost guide) */
.data-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.data-table caption { text-align: left; font-size: 13px; color: var(--grey); margin-bottom: 8px; }
.data-table th, .data-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.data-table thead th { font-family: var(--head); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-dark); background: var(--off); }
.data-table tbody tr:hover { background: var(--off); }

/* Data table on dark bands (light text, subtle borders) */
.section-dark .data-table th, .section-dark .data-table td { border-bottom-color: rgba(255,255,255,0.14); }
.section-dark .data-table thead th { background: rgba(255,255,255,0.06); color: #fff; }
.section-dark .data-table td { color: rgba(255,255,255,0.85); }
.section-dark .data-table caption { color: rgba(255,255,255,0.55); }
.section-dark .data-table tbody tr:hover { background: rgba(255,255,255,0.05); }
.section-dark .data-table a { color: var(--accent-light); }
.data-table td .muted { color: var(--grey); font-size: 13px; display: block; }
/* Inline links on dark sections must be readable (not the navy body-link colour) */
.section-dark a:not(.btn), .honesty__body a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 2px; }
.section-dark a:not(.btn):hover, .honesty__body a:hover { color: #fff; }

/* Related reading cards */
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 36px; }
.related-card { display: flex; flex-direction: column; gap: 7px; padding: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: transparent; }
.related-card.has-media { padding: 0; gap: 0; }
.related-card__img { display: block; aspect-ratio: 16 / 10; background: var(--line) center / cover no-repeat; }
.related-card__body { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.related-card.has-media .related-card__body { padding: 22px; }
.related-card__tag { display: block; font-family: var(--head); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.related-card__title { display: block; font-family: var(--head); font-weight: 800; color: var(--brand-dark); font-size: 1.08rem; line-height: 1.25; margin: 0; }
.related-card__desc { display: block; font-size: 14px; color: var(--grey); line-height: 1.6; flex: 1; }
.related-card__arrow { display: inline-block; margin-top: 6px; font-family: var(--head); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); transition: transform var(--t-fast); }
.related-card:hover .related-card__arrow { transform: translateX(4px); }

/* Team grid (About) */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.team-card__img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: var(--line); }
.team-card__body { padding: 22px; }
.team-card__name { font-family: var(--head); font-weight: 800; color: var(--brand-dark); font-size: 1.1rem; }
.team-card__role { color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.team-card__bio { color: var(--grey); font-size: 14px; line-height: 1.65; margin: 12px 0 0; }

/* Service-area chips */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding: 0; list-style: none; }
.area-chips li { background: var(--off); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--brand); }

/* Credentials callout list */
.cred-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 26px; list-style: none; padding: 0; }
.cred-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--off); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.cred-list .check { color: var(--accent); font-weight: 800; }
.cred-list strong { display: block; font-family: var(--head); color: var(--brand-dark); margin-bottom: 2px; }
.cred-list span.cred-note { font-size: 13.5px; color: var(--grey); }

@media (max-width: 900px) {
  .cost-band { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cred-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: clamp(28px,5vw,56px); align-items: start; }
.acm-form { display: grid; gap: 18px; }
.acm-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.acm-field { display: flex; flex-direction: column; gap: 7px; }
.acm-field label { font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--brand-dark); }
.acm-field input, .acm-field select, .acm-field textarea { font: inherit; font-size: 15px; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: var(--r); background: #fff; color: var(--ink); width: 100%; transition: border-color var(--t-fast); }
.acm-field input:focus, .acm-field select:focus, .acm-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.acm-field textarea { min-height: 130px; resize: vertical; }
.acm-form .form-note { font-size: 12.5px; color: var(--grey); margin: 0; }
.calc-prefill { background: rgba(232,119,34,0.08); border: 1px solid var(--accent-light); border-radius: var(--r); padding: 14px 16px; margin-bottom: 20px; font-size: 14px; line-height: 1.55; color: var(--brand-dark); }
.calc-prefill strong { color: var(--accent); }
.acm-form__err { color: #c0392b; font-size: 13px; margin: 4px 0 0; }
.acm-form__err:empty { display: none; }
.acm-form__ok { background: rgba(232,119,34,0.08); border: 1px solid var(--accent); border-radius: var(--r); padding: 24px; color: var(--brand-dark); font-size: 15px; line-height: 1.6; }
.acm-form .btn-primary { justify-content: center; }
.acm-info-card { background: var(--off); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.acm-info-card + .acm-info-card { margin-top: 20px; }
.acm-info-card h2 { font-family: var(--head); font-weight: 800; color: var(--brand-dark); font-size: 1.25rem; margin: 0 0 16px; }
.nap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.nap-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.nap-list .nap-ic { color: var(--accent); font-weight: 800; flex: 0 0 auto; }
.nap-list a { color: var(--brand-light); text-decoration: none; }
.nap-list a:hover { color: var(--accent); }
.after-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
.after-step { text-align: center; }
.after-step .step-num { background: var(--accent); color: var(--brand-dark); }
.after-step h3 { font-family: var(--head); font-weight: 700; color: var(--brand-dark); margin: 0 0 6px; font-size: 1.05rem; }
.after-step p { font-size: 14.5px; color: var(--grey); line-height: 1.6; margin: 0; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .after-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .acm-form .row2 { grid-template-columns: 1fr; }
}

/* Interactive tools (calculator + suitability checker) */
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-card);
  padding: clamp(24px,4vw,40px); max-width: 780px; margin: 36px auto 0; }
.tool-disclaimer { background: rgba(232,119,34,0.08); border: 1px solid var(--accent-light); border-radius: var(--r);
  padding: 14px 16px; font-size: 13px; color: var(--brand-dark); margin-bottom: 26px; line-height: 1.6; }
.tool-q { margin-bottom: 26px; border: 0; padding: 0; margin-inline: 0; }
.tool-q legend, .tool-q .tool-label { font-family: var(--head); font-weight: 700; color: var(--brand-dark); font-size: 1.05rem; margin-bottom: 12px; padding: 0; }
.tool-opts { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.tool-opts.cols-2 { grid-template-columns: repeat(2,1fr); }
.tool-opt { position: relative; }
.tool-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tool-opt label { display: block; border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px 16px; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--brand); transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast); text-align: center; height: 100%; }
.tool-opt input:checked + label { border-color: var(--accent); background: rgba(232,119,34,0.08); color: var(--brand-dark); }
.tool-opt input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.tool-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.tool-result { margin-top: 28px; padding: 26px; border-radius: var(--r); background: var(--off); border: 1px solid var(--line); }
.tool-result[hidden] { display: none; }
.tool-result h3 { font-family: var(--head); color: var(--brand-dark); margin: 0 0 10px; font-size: 1.25rem; }
.tool-result__range { font-family: var(--head); font-weight: 800; font-size: clamp(1.6rem,4vw,2.3rem); color: var(--accent); line-height: 1.1; margin: 6px 0; }
.tool-result p { margin: 0 0 12px; line-height: 1.7; }
.tool-result .tool-note { font-size: 12.5px; color: var(--grey); }
.tool-result__cta { margin-top: 16px; }

@media (max-width: 600px) {
  .tool-opts, .tool-opts.cols-2 { grid-template-columns: 1fr; }
}
/* ===================== Interactive calculator app ===================== */
.calc-app { display: grid; grid-template-columns: 1fr 360px; gap: clamp(24px,3vw,40px); align-items: start; margin: 40px auto 0; max-width: 1100px; }
.calc-form { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px,3vw,34px); box-shadow: var(--shadow-card); }
.calc-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.calc-progress__track { flex: 1; height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.calc-progress__bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: 999px; transition: width .45s var(--t-base); }
.calc-progress__count { font-family: var(--head); font-weight: 700; font-size: 12px; color: var(--grey); white-space: nowrap; }
.calc-step { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.calc-step legend { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; color: var(--brand-dark); font-size: 1rem; margin-bottom: 14px; padding: 0; }
.calc-step__n { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: rgba(232,119,34,0.14); color: var(--accent); display: grid; place-items: center; font-size: 12px; font-weight: 800; transition: background var(--t-fast), color var(--t-fast); }
.calc-step.is-done .calc-step__n { background: var(--accent); color: var(--brand-dark); }
.calc-opts { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.calc-opts.cols-3 { grid-template-columns: repeat(3,1fr); }
.calc-opts.cols-2 { grid-template-columns: repeat(2,1fr); }
.calc-opt { position: relative; }
.calc-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.calc-opt__box { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 16px 10px; height: 100%;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--off);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
.calc-opt__box svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--brand); transition: color var(--t-fast), transform var(--t-fast); }
.calc-opt__label { font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--brand-dark); line-height: 1.25; }
.calc-opt__desc { font-size: 11px; color: var(--grey); line-height: 1.3; }
.calc-opt input:hover + .calc-opt__box { border-color: var(--grey); transform: translateY(-2px); }
.calc-opt input:checked + .calc-opt__box { border-color: var(--accent); background: rgba(232,119,34,0.07); box-shadow: 0 8px 20px rgba(232,119,34,0.14); }
.calc-opt input:checked + .calc-opt__box svg { color: var(--accent); transform: scale(1.1); }
.calc-opt input:checked + .calc-opt__box::after { content: '\2713'; position: absolute; top: 7px; right: 7px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--accent); color: var(--brand-dark); font-size: 10px; font-weight: 800; line-height: 1; display: grid; place-items: center; }
.calc-opt input:focus-visible + .calc-opt__box { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Result panel (sticky, dark) - sticky lives on the grid column so it has room to travel */
.calc-result { position: sticky; top: 96px; align-self: start; }
.calc-result__inner { background: var(--brand-dark); color: #fff; border-radius: var(--r); padding: 26px; overflow: hidden;
  background-image: linear-gradient(rgba(19,30,43,0.9), rgba(19,30,43,0.95)), url('../images/bg-section-dark-navy.webp'); background-size: cover; background-position: center; box-shadow: var(--shadow-lift); }
.calc-result__eyebrow { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--accent-light); margin: 0 0 10px; }
.calc-result__range { font-family: var(--head); font-weight: 800; font-size: clamp(1.5rem,3vw,2rem); line-height: 1.1; color: #fff; }
.calc-result__range .sep { color: rgba(255,255,255,0.45); font-weight: 600; font-size: .62em; padding: 0 6px; }
.calc-result__vat { font-size: 12px; color: rgba(255,255,255,0.6); margin: 7px 0 0; }
.calc-result__prompt { color: rgba(255,255,255,0.72); font-size: 14px; line-height: 1.6; margin: 16px 0 0; }
.calc-bar { height: 8px; border-radius: 999px; overflow: hidden; display: flex; margin: 20px 0 8px; background: rgba(255,255,255,0.1); }
.calc-bar span { height: 100%; transition: width .5s var(--t-base); }
.seg-base { background: var(--accent); } .seg-ens { background: var(--accent-light); } .seg-steel { background: #8aa0bd; }
.calc-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 11.5px; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.calc-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-right: 5px; vertical-align: middle; }
.calc-rows { list-style: none; margin: 16px 0 14px; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,0.12); display: grid; gap: 9px; }
.calc-rows li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.82); }
.calc-rows li span:last-child { font-weight: 700; color: #fff; white-space: nowrap; }
.calc-timeline2 { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: rgba(255,255,255,0.82); background: rgba(255,255,255,0.06); border-radius: var(--r); padding: 11px 13px; line-height: 1.5; margin-bottom: 12px; }
.calc-timeline2 svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: var(--accent-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.calc-grant2 { font-size: 12px; color: rgba(255,255,255,0.66); line-height: 1.55; margin: 0 0 16px; }
.calc-grant2 a { color: var(--accent-light); }
.calc-result .btn { width: 100%; justify-content: center; }
/* Lead capture inside the result panel */
.calc-lead { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); display: grid; gap: 8px; }
.calc-lead__title { font-family: var(--head); font-weight: 800; color: #fff; font-size: 1.05rem; margin: 0; }
.calc-lead__sub { font-size: 12.5px; color: rgba(255,255,255,0.72); margin: 0 0 4px; line-height: 1.5; }
.calc-lead input:not(.calc-hp) { width: 100%; background: #fff; border: 1px solid transparent; border-radius: var(--r); padding: 11px 13px; font: inherit; font-size: 14px; color: var(--ink); }
.calc-lead input:not(.calc-hp)::placeholder { color: var(--grey); }
.calc-lead input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.calc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.calc-lead .btn { width: 100%; justify-content: center; margin-top: 2px; }
.calc-lead__err { color: #ffb4a2; font-size: 12.5px; margin: 0; }
.calc-lead__err:empty { display: none; }
.calc-lead__note { font-size: 11px; color: rgba(255,255,255,0.5); margin: 2px 0 0; }
.calc-lead__note a { color: var(--accent-light); }
.calc-lead__ok { background: rgba(232,119,34,0.14); border: 1px solid var(--accent); border-radius: var(--r); padding: 16px 18px; color: #fff; font-size: 14px; line-height: 1.55; margin-top: 16px; }
.calc-reset { display: block; margin: 12px auto 0; background: none; border: 0; color: rgba(255,255,255,0.55); font-size: 12px; text-decoration: underline; cursor: pointer; }
.calc-result__body[hidden] { display: none; }
.calc-actions2 { display: grid; gap: 8px; margin-top: 14px; }
.btn-light { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-light:hover { background: rgba(255,255,255,0.18); color: #fff; }
.calc-tocontact { display: block; text-align: center; color: rgba(255,255,255,0.7); font-size: 12.5px; text-decoration: underline; margin-top: 10px; }
.calc-tocontact:hover { color: var(--accent-light); }

/* Printable branded estimate (kept off-screen until the user prints/saves as PDF) */
#estimateDoc { position: absolute; left: -9999px; top: 0; width: 800px; background: #fff; color: #11151C; font-family: var(--body); }
@media print {
  body * { visibility: hidden !important; }
  #estimateDoc, #estimateDoc * { visibility: visible !important; }
  #estimateDoc { position: absolute; left: 0; top: 0; width: 100%; }
  .site-nav, .mobile-bar, .scroll-progress, .site-footer { display: none !important; }
}

@media (max-width: 900px) {
  .calc-app { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}
@media (max-width: 520px) {
  .calc-opts, .calc-opts.cols-3, .calc-opts.cols-2 { grid-template-columns: repeat(2,1fr); }
}

/* Calculator result breakdown */
.calc-breakdown { list-style: none; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 11px; }
.calc-line { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; color: var(--ink); }
.calc-line span:last-child { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.calc-line.calc-total { border-top: 1px solid var(--line); padding-top: 11px; font-family: var(--head); font-weight: 800; }
.calc-line.calc-total span:last-child { color: var(--accent); }
.calc-timeline { display: flex; gap: 10px; align-items: flex-start; background: var(--off); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin-top: 14px; font-size: 13.5px; color: var(--ink); line-height: 1.55; }
.calc-timeline strong { color: var(--brand-dark); }
.calc-meta { font-size: 12.5px; color: var(--grey); line-height: 1.6; margin: 12px 0 0; }
.calc-meta a { color: var(--brand-light); }

/* =========================================================================
   Blog: archive + single
   ========================================================================= */
.blog-hero { background: var(--brand-dark); color: #fff; padding: clamp(110px,15vw,150px) 0 clamp(40px,6vw,64px); position: relative; overflow: hidden; }
.blog-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .25; }
.blog-hero .container { position: relative; }
.blog-hero h1 { font-family: var(--head); font-weight: 800; font-size: clamp(2rem,4.5vw,3rem); margin: 10px 0 12px; }
.blog-hero p { color: rgba(255,255,255,0.8); max-width: 640px; font-size: 1.1rem; line-height: 1.6; margin: 0; }
.archive-titlebar { padding: clamp(36px,5vw,56px) clamp(20px,5vw,56px) 0; }
.archive-titlebar .wp-block-query-title { font-family: var(--head); font-weight: 800; color: var(--brand-dark); font-size: clamp(1.8rem,4vw,2.6rem); margin: 0 0 10px; }
.archive-titlebar .wp-block-term-description { color: var(--grey); max-width: 680px; }

/* Archive cards (core query output) */
.card-cat, .post-cat { font-family: var(--head); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.card-cat a, .card-cat { color: var(--accent); text-decoration: none; }
.card-grid .wp-block-post-title { margin: 6px 0 8px; }
.card-grid .wp-block-post-title a { color: var(--brand-dark); text-decoration: none; }
.card-grid .wp-block-post-title a:hover { color: var(--accent); }
.card-grid .wp-block-post-excerpt { color: var(--grey); font-size: 14.5px; line-height: 1.6; }
.card-grid > li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding-bottom: 18px; transition: transform var(--t-base), box-shadow var(--t-base); }
.card-grid > li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-grid .card-cat, .card-grid .wp-block-post-title, .card-grid .wp-block-post-excerpt { padding-inline: 18px; }
.card-grid .card-img { margin-bottom: 14px; border-radius: 0; }
.wp-block-query-pagination { margin-top: 40px; justify-content: center; gap: 8px; }
.wp-block-query-pagination a, .wp-block-query-pagination .wp-block-query-pagination-numbers { color: var(--brand); }

/* Category filter chips (blog index + archives) */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto; padding: 0; list-style: none; }
.cat-filter a { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--brand); text-decoration: none; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.cat-filter a:hover, .cat-filter a.is-active { background: var(--accent); color: var(--brand-dark); border-color: var(--accent); }

/* Post tags (single) */
.post-tags { margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.post-tags .wp-block-post-terms { font-family: var(--head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-dark); display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.post-tags a { background: var(--off); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--brand); text-decoration: none; }
.post-tags a:hover { border-color: var(--accent); color: var(--accent); }

/* ================= Single post ================= */
/* Full-width header (title, meta, featured image) */
.single-post .post-head { max-width: 1120px; margin-inline: auto; padding: clamp(8px,2vw,20px) clamp(20px,5vw,56px) 0; }
.post-breadcrumb { gap: 6px 8px; font-size: 13px; margin-bottom: 16px; color: var(--grey); align-items: baseline; }
.post-breadcrumb a, .post-breadcrumb .wp-block-post-terms, .post-breadcrumb .wp-block-post-terms a { color: var(--brand-light); text-decoration: none; }
.post-breadcrumb a:hover, .post-breadcrumb .wp-block-post-terms a:hover { color: var(--accent); }
.post-breadcrumb span { color: var(--grey); }
.post-cat { display: block; margin-bottom: 10px; }
.post-cat a { color: var(--accent); text-decoration: none; }
.single-post .wp-block-post-title { font-family: var(--head); font-weight: 800; color: var(--brand-dark);
  font-size: clamp(2rem,4.4vw,3rem); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 18px; }
.post-meta { gap: 10px 20px !important; align-items: center; color: var(--grey); font-size: 14px; margin-bottom: 4px; flex-wrap: wrap; }
.post-meta .wp-block-post-author-name, .post-meta .wp-block-post-author-name a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.post-meta > *:not(:first-child) { position: relative; padding-left: 21px; }
.post-meta > *:not(:first-child)::before { content: '\00b7'; position: absolute; left: 0; color: var(--line); }
.post-hero-img { max-width: 1120px; margin: 24px auto 0; padding-inline: clamp(20px,5vw,56px); }
.post-hero-img img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow-card); display: block; }

/* Two-column body: sticky sidebar (TOC + CTA) + article */
.post-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: clamp(28px,4vw,56px);
  max-width: 1120px; margin: clamp(44px,6vw,68px) auto 0; padding-inline: clamp(20px,5vw,56px); align-items: start; }
.post-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.post-main { min-width: 0; max-width: 760px; }
.post-main > .prose { max-width: none; }

.post-toc { background: var(--off); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; max-height: 62vh; overflow: auto; }
.post-toc__title { font-family: var(--head); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-dark); margin: 0 0 12px; }
.post-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 3px; }
.post-toc li { counter-increment: toc; }
.post-toc a { display: block; color: var(--grey); text-decoration: none; font-size: 13.5px; line-height: 1.4; padding: 7px 10px 7px 30px; border-radius: 8px; position: relative; transition: color var(--t-fast), background var(--t-fast); }
.post-toc a::before { content: counter(toc); position: absolute; left: 10px; top: 7px; font-family: var(--head); font-weight: 800; font-size: 11px; color: var(--accent); }
.post-toc a:hover { color: var(--brand-dark); background: rgba(232,119,34,0.06); }
.post-toc a.is-active { color: var(--brand-dark); background: rgba(232,119,34,0.1); font-weight: 600; }

.post-cta { border-radius: var(--r); padding: 24px; color: #fff;
  background-image: linear-gradient(rgba(19,30,43,0.86), rgba(19,30,43,0.92)), url('../images/bg-section-dark-navy.webp'); background-size: cover; background-position: center; }
.post-cta h3 { font-family: var(--head); font-weight: 800; color: #fff; font-size: 1.1rem; margin: 0 0 8px; }
.post-cta p { color: rgba(255,255,255,0.78); font-size: 13.5px; line-height: 1.6; margin: 0 0 16px; }
.post-cta .btn { width: 100%; justify-content: center; }
.post-cta__phone { display: block; text-align: center; margin-top: 12px; color: var(--accent-light); font-family: var(--head); font-weight: 800; text-decoration: none; }

/* Richer prose */
.prose > p:first-of-type { font-size: 1.18rem; line-height: 1.7; color: var(--brand-dark); }
.prose h2 { margin: 46px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.prose h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.prose ul li::marker { color: var(--accent); }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-size: 1.15rem; line-height: 1.6; color: var(--brand-dark); font-style: italic; }
.prose strong { color: var(--brand-dark); }

.author-box { display: flex; gap: 18px; align-items: flex-start; background: var(--off); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px; margin: 36px 0 0; }
.author-box__avatar { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 20px; }
.author-box__name { font-family: var(--head); font-weight: 800; color: var(--brand-dark); }
.author-box__role { color: var(--accent); font-size: 13px; font-weight: 700; }
.author-box__bio { color: var(--grey); font-size: 14px; line-height: 1.6; margin: 8px 0 0; }
.share-bar { display: flex; gap: 12px; align-items: center; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share-bar__label { font-family: var(--head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-dark); }
.share-bar a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r); color: var(--brand); transition: all var(--t-fast); }
.share-bar a:hover { background: var(--accent); color: var(--brand-dark); border-color: var(--accent); }

@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-main { order: 1; max-width: none; }
  .post-aside { position: static; order: 2; }
  .post-toc { display: none; } /* jump-nav less useful on mobile; CTA stays below the article */
}

@media (max-width: 1100px) {
  .card-grid.wp-block-post-template { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 700px) {
  .card-grid.wp-block-post-template { grid-template-columns: 1fr !important; }
}
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .hero-trustline { gap: 8px 18px; }
}

/* ---------------------------------------------------------------------------
 * FAQ knowledge base: hub (search + topic chips + question list), single, related.
 * ------------------------------------------------------------------------- */
.faq-hub { max-width: 880px; margin: 8px auto 0; }
.faq-hub__controls { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center;
  margin-bottom: 26px; }
.faq-search { flex: 1 1 240px; min-width: 200px; font: inherit; font-size: 15px;
  padding: 14px 18px 14px 44px; border: 1px solid var(--line); border-radius: var(--r); background: #fff
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7785' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")
  no-repeat 16px center; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.faq-search:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,119,34,0.15); }
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-chip { font-family: var(--head); font-weight: 700; font-size: 12.5px; padding: 9px 15px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--brand);
  cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.faq-chip:hover { border-color: var(--grey); }
.faq-chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--brand-dark); }

.faq-hub__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.faq-hub__item[hidden] { display: none; }
.faq-hub__item a { display: flex; align-items: center; gap: 14px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; text-decoration: none;
  color: var(--brand-dark);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast); }
.faq-hub__item a:hover { transform: translateX(3px); box-shadow: var(--shadow-card);
  border-color: rgba(232,119,34,0.4); }
.faq-hub__cat { flex: 0 0 auto; font-family: var(--head); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--accent);
  background: rgba(232,119,34,0.1); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.faq-hub__q { flex: 1; font-family: var(--head); font-weight: 700; font-size: 15.5px; line-height: 1.4; }
.faq-hub__arrow { flex: 0 0 auto; color: var(--accent); font-weight: 800; font-size: 18px;
  transition: transform var(--t-fast); }
.faq-hub__item a:hover .faq-hub__arrow { transform: translateX(4px); }
.faq-hub__none { text-align: center; color: var(--grey); padding: 32px 20px; }

/* Single FAQ answer */
.faq-single .container.narrow { max-width: 760px; }
.faq-topic { display: inline-block; margin-bottom: 10px; font-family: var(--head); font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent);
  background: rgba(232,119,34,0.1); padding: 5px 11px; border-radius: 999px; }
.faq-single .wp-block-post-title { font-family: var(--head); font-weight: 800; color: var(--brand-dark);
  font-size: clamp(1.85rem, 3.8vw, 2.6rem); line-height: 1.18; margin: 4px 0 22px; }
.faq-answer > p:first-of-type { font-size: 1.16rem; line-height: 1.7; color: var(--brand-dark); }

/* Related questions */
.faq-related { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.faq-related__title { font-family: var(--head); font-weight: 800; font-size: 12px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--brand-dark); margin: 0 0 14px; }
.faq-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.faq-related a { display: inline-flex; gap: 6px; color: var(--brand-light); text-decoration: none;
  font-weight: 600; font-size: 15px; transition: color var(--t-fast); }
.faq-related a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .faq-hub__item a { flex-wrap: wrap; gap: 8px 12px; }
  .faq-hub__arrow { display: none; }
}
