/**
 * 1st Call Solar — extras.css
 * Reproduces the Claude Design mockups. Content is native blocks styled by these
 * .fc-* classes; recolourable colours use theme.json preset vars (Theme Settings
 * recolours the site); neutral greys are literal.
 */

:root {
	--fc-maxw: 1240px;
	--fc-pop-shadow: 0 24px 48px -12px rgba(16,42,76,0.18);
}
* { box-sizing: border-box; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }

@keyframes fcs-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fcs-glow { 0%,100% { opacity:.55; transform:scale(1); } 50% { opacity:.8; transform:scale(1.08); } }

/* ================================================= RESIDENTIAL HEADER ==== */
.fc-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #e9edf3; font-family: var(--wp--preset--font-family--manrope); }
.fc-header-inner { max-width: var(--fc-maxw); margin: 0 auto; padding: 0 24px; height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fc-logo { display: flex; align-items: center; flex: 0 0 auto; }
.fc-logo img { height: 64px; width: auto; display: block; }

.fc-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.fc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.fc-nav li { position: relative; }
.fc-nav a, .fc-navbtn { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--wp--preset--color--navy); background: none; border: none; cursor: pointer; border-radius: 10px; font-family: inherit; white-space: nowrap; }
.fc-caret { font-size: 10px; color: #94a2b3; }
.fc-nav > ul > li > a[data-active]::after,
.fc-nav > ul > li.fc-has-submenu > .fc-navbtn[data-open]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--wp--preset--color--yellow); border-radius: 2px; }

/* dropdown: .fc-submenu is the card; ::before bridges the 10px hover gap */
.fc-submenu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); width: 300px; background: #fff; border: 1px solid #e9edf3; border-radius: 16px; box-shadow: var(--fc-pop-shadow); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease; }
.fc-submenu--plain { width: 240px; }
.fc-submenu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.fc-has-submenu:hover .fc-submenu, .fc-submenu.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.fc-submenu > a { display: block; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--wp--preset--color--navy); }
.fc-submenu > a span { display: block; font-weight: 500; font-size: 12.5px; color: #6b7889; margin-top: 2px; }
.fc-submenu > a:hover { background: #f6f8fb; }

/* header right */
.fc-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.fc-switch { display: flex; align-items: center; gap: 8px; padding: 12px 22px; background: #f3f1ed; color: #303746; font-size: 14.5px; font-weight: 700; border-radius: 8px; white-space: nowrap; }
.fc-switch:hover { color: #303746; background: #eae7e0; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.fc-dot--green { background: var(--wp--preset--color--green); }
.fc-dot--yellow { background: #F4B41A; }

.fc-btn-yellow { display: inline-flex; align-items: center; gap: 6px; padding: 12px 22px; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--ink); font-size: 14.5px; font-weight: 700; border-radius: 8px; box-shadow: 0 6px 16px -4px rgba(255,218,31,0.55); white-space: nowrap; }
.fc-btn-yellow:hover { color: var(--wp--preset--color--ink); filter: brightness(.98); }

.fc-nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #e9edf3; border-radius: 12px; background: #fff; cursor: pointer; flex: 0 0 auto; }
.fc-nav-toggle span { display: block; width: 20px; height: 2px; background: var(--wp--preset--color--navy); box-shadow: 0 6px 0 var(--wp--preset--color--navy), 0 -6px 0 var(--wp--preset--color--navy); }

/* mobile menu */
.fc-mobile { border-top: 1px solid #e9edf3; background: #fff; padding: 12px 24px 24px; }
.fc-mobile > a, .fc-m-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 14px 4px; font-size: 16px; font-weight: 600; color: var(--wp--preset--color--navy); border: none; background: none; border-bottom: 1px solid #f0f3f7; cursor: pointer; font-family: inherit; text-align: left; }
.fc-m-sub { padding: 4px 0 10px 14px; }
.fc-m-sub a { display: block; padding: 10px 4px; font-size: 15px; font-weight: 500; color: var(--wp--preset--color--muted); }
.fc-m-switch { color: var(--wp--preset--color--muted) !important; }
.fc-m-cta { justify-content: center; margin-top: 16px; border: none !important; }

/* ================================================== COMMERCIAL HEADER ==== */
.fc-header--commercial { background: rgba(9,25,44,0.86); border-bottom: 1px solid rgba(255,255,255,0.08); }
.fc-header--commercial .fc-header-inner { max-width: 1280px; height: 76px; }
.fc-logo--commercial { gap: 12px; }
.fc-logo-box { display: inline-flex; background: #fff; padding: 6px 10px; border-radius: 10px; }
.fc-logo-box img { height: 38px; width: auto; display: block; }
.fc-logo-div { width: 1px; height: 26px; background: rgba(255,255,255,0.2); }
.fc-logo-label { font-family: var(--wp--preset--font-family--jakarta); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #7f93aa; }
.fc-header--commercial .fc-nav a, .fc-header--commercial .fc-navbtn { color: #e6edf5; }
.fc-header--commercial .fc-caret { color: #6f8299; }
.fc-header--commercial .fc-nav > ul > li > a[data-active]::after,
.fc-header--commercial .fc-nav > ul > li.fc-has-submenu > .fc-navbtn[data-open]::after { background: var(--wp--preset--color--green-light); }
.fc-submenu--dark { width: 340px; background: #0f2a48; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 24px 48px -12px rgba(0,0,0,0.5); }
.fc-submenu--dark > a { color: #e6edf5; }
.fc-submenu--dark > a span { color: #94a8bf; }
.fc-submenu--dark > a:hover { background: rgba(255,255,255,0.05); }
.fc-switch--ghost { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; color: #e6edf5; padding: 11px 18px; }
.fc-switch--ghost:hover { color: #fff; background: rgba(255,255,255,0.12); }
.fc-btn-green { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; background: var(--wp--preset--color--green); color: #04241a; font-size: 14.5px; font-weight: 700; border-radius: 999px; white-space: nowrap; }
.fc-btn-green:hover { color: #04241a; filter: brightness(1.04); }
.fc-header--commercial .fc-nav-toggle { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); }
.fc-header--commercial .fc-nav-toggle span { background: #e6edf5; box-shadow: 0 6px 0 #e6edf5, 0 -6px 0 #e6edf5; }
.fc-header--commercial .fc-mobile { background: #0a1f38; border-top-color: rgba(255,255,255,0.08); }
.fc-header--commercial .fc-mobile > a, .fc-header--commercial .fc-m-toggle { color: #e6edf5; border-bottom-color: rgba(255,255,255,0.06); }
.fc-header--commercial .fc-m-sub a { color: #94a8bf; }

/* ========================================================= SECTIONS ====== */
.fc-section { padding: 96px 24px; }
.fc-section--pad-lg { padding: 88px 24px; }
.fc-section.tint { background: var(--wp--preset--color--tint); }
.fc-section.tint-2 { background: var(--wp--preset--color--tint-2); }
.fc-inner { max-width: var(--fc-maxw); margin: 0 auto; }
.fc-inner--narrow { max-width: 860px; }
.fc-inner--wide { max-width: 1180px; }
.fc-center { text-align: center; }
.fc-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--gold); }
.fc-cm-notebox .fc-eyebrow {font-size: 15px; }
.fc-head-wrap { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.fc-head-wrap h2 { margin: 14px 0 0; }
.fc-lead { font-size: 17px; line-height: 1.65; color: var(--wp--preset--color--muted); }
.fc-section h2 { letter-spacing: -0.02em; }

/* ============================================================ CARDS ======= */
.fc-cards { display: grid; gap: 24px; }
.fc-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.fc-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.fc-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.fc-cards > * { margin: 0 !important; }
.fc-card { background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--border); border-radius: 20px; padding: 32px 26px; }
.fc-card h3 { margin: 22px 0 0; font-size: 20px; font-weight: 700; }
.fc-card.fc-cm-cardmedia h3 {
	margin:0;
}
.fc-card p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--wp--preset--color--muted); }
.fc-chip { width: 52px; height: 52px; border-radius: 14px; background: var(--wp--preset--color--chip); display: flex; align-items: center; justify-content: center; color: #8a6a00; font-family: var(--wp--preset--font-family--jakarta); font-weight: 800; font-size: 22px; }
.fc-chip img { width: 26px !important; height: 26px !important; }
.fc-card--svg svg { color: #e0a100; }
.fc-card--svg h3 { margin-top: 18px; }
.fc-card--svg p { margin-top: 10px; }

/* ============================================================ HERO ======== */
.fc-hero { position: relative; min-height: 600px; display: flex; align-items: center; background: linear-gradient(120deg, var(--wp--preset--color--hero-1) 0%, var(--wp--preset--color--hero-2) 55%, #0e2740 100%); overflow: hidden; }
.fc-hero__glow { position: absolute; top: -160px; right: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, var(--wp--preset--color--yellow) 0%, rgba(255,218,31,0) 68%); animation: fcs-glow 7s ease-in-out infinite; pointer-events: none; }
.fc-hero__texture { position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 12px, transparent 12px, transparent 26px); pointer-events: none; }
.fc-hero__note { position: absolute; left: 20px; bottom: 16px; font-family: var(--wp--preset--font-family--mono); font-size: 11px; color: rgba(255,255,255,0.4); z-index: 2; }
.fc-hero__inner { position: relative; z-index: 2; max-width: var(--fc-maxw); margin: 0 auto; padding: 80px 24px; width: 100%; }
.fc-hero__col { max-width: 720px; }
.fc-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid rgba(255,218,31,0.5); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--wp--preset--color--yellow); background: rgba(255,218,31,0.08); }
.fc-hero h1 { margin: 24px 0 0; color: #fff; }
.fc-hero__sub { margin: 24px 0 0; font-size: 19px; line-height: 1.6; color: rgba(255,255,255,0.82); max-width: 600px; }
.fc-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* light hero (service pages) */
.fc-hero-light { padding: 80px 24px 64px; background: #fff; border-bottom: 1px solid var(--wp--preset--color--border); text-align: center; }
.fc-hero-light h1 { margin: 0; font-size: 52px; }
.fc-hero-light p { margin: 18px auto 0; font-size: 18px; line-height: 1.6; color: var(--wp--preset--color--muted); max-width: 640px; }

/* buttons in content */
.fc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 30px; font-size: 16px; font-weight: 700; border-radius: 8px; }
.fc-btn--yellow { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--ink); box-shadow: 0 10px 24px -8px rgba(255,218,31,0.6); }
.fc-btn--dark { background: var(--wp--preset--color--ink); color: #fff; }
.fc-btn--ghost-light { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.28); color: #fff; }
.fc-btn--outline-dark { background: transparent; border: 1px solid var(--wp--preset--color--ink); color: var(--wp--preset--color--ink); }
.fc-btn--white { background: #fff; border: 1px solid #d6deea; color: var(--wp--preset--color--navy); }
.fc-btn--link { color: var(--wp--preset--color--ink); font-weight: 700; }

/* ======================================================= TRUST BAR ======= */
.fc-trust { padding: 26px 24px; background: #fff; border-bottom: 1px solid var(--wp--preset--color--border); }
.fc-trust__row { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 48px; }
.fc-trust__item { display: flex; align-items: center; gap: 10px; }
.fc-trust__item svg { color: #e0a100; }
.fc-trust__item span { font-size: 15px; font-weight: 600; color: #303746; }

/* ============================================================ SPLIT ======= */
.fc-split { max-width: var(--fc-maxw); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.fc-split--rev .fc-split__media { order: -1; }
.fc-split__body h2 { margin: 14px 0 0; font-size: 40px; }
.fc-split__body p { margin: 20px 0 0; font-size: 16px; line-height: 1.7; color: var(--wp--preset--color--muted-2); }
.fc-checklist { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.fc-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 600; color: var(--wp--preset--color--navy); }
.fc-checklist li::before { content: "\2713"; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.fc-disclaimer { margin: 22px 0 0; font-size: 12px; line-height: 1.6; color: #8494a8; }

/* image placeholder */
.fc-ph { position: relative; width: 100%; height: 100%; min-height: 160px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 16px; /*background-color: #eaeef3; background-image: repeating-linear-gradient(45deg, #dfe5ed 0, #dfe5ed 10px, #eaeef3 10px, #eaeef3 22px); border: 1px solid #d5dce5;*/ }
.fc-ph span { font-family: var(--wp--preset--font-family--mono); font-size: 12px; color: #5a6675; background: rgba(255,255,255,0.9); padding: 6px 12px; border-radius: 16px; box-shadow: 0 1px 2px rgba(16,42,76,0.08); max-width: 88%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 160px; }
.fc-ph__caption { position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,0.94); color: var(--wp--preset--color--navy); font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 10px; }

/* ========================================================== MARQUEE ====== */
.fc-marquee { position: relative; width: 100%; margin-top: 52px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.fc-marquee__track { display: flex; gap: 24px; width: max-content; padding: 0 12px; animation: fcs-marquee 42s linear infinite; }
.fc-marquee:hover .fc-marquee__track { animation-play-state: paused; }
.fc-marquee--logos .fc-marquee__track { animation-duration: 32s; align-items: center; }
.fc-quote { width: 380px; background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--border); border-radius: 20px; padding: 30px; flex: 0 0 auto; }
.fc-quote__stars { color: var(--wp--preset--color--yellow); font-size: 16px; letter-spacing: 2px; }
.fc-quote__text { margin: 16px 0 0; font-size: 15px; line-height: 1.7; color: var(--wp--preset--color--muted-2); }
.fc-quote__name { margin: 20px 0 0; font-size: 14px; font-weight: 700; color: var(--wp--preset--color--navy); }
.fc-logo-ph { width: 180px; /*height: 90px;*/ flex: 0 0 auto; }

/* ======================================================== BLOG CARDS ===== */
.fc-bloghead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.fc-bloghead > * { margin-block-start: 0; margin-top: 0; }
.fc-bloghead__text { max-width: 640px; }
.fc-bloghead__lead { font-size: 16px; line-height: 1.65; color: var(--wp--preset--color--muted); }
.fc-blog { display: block; color: inherit; background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--border); border-radius: 20px; overflow: hidden; }
.fc-blog__img { height: 200px; }
.fc-blog__body { padding: 26px; }
.fc-blog__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--gold); }
.fc-blog__body h3 { margin: 12px 0 0; font-size: 19px; line-height: 1.3; }
.fc-blog__body p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--wp--preset--color--muted); }
.fc-blog__more { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--wp--preset--color--gold); }

/* ---- Blog Query Loop (real posts) → reproduce the .fc-blog card + featured design ---- */
.fc-cards.wp-block-post-template,
.fc-blog-featured-q .wp-block-post-template { margin: 0; padding: 0; list-style: none; }
.fc-cards.wp-block-post-template > li { margin: 0; }
.fc-media { position: relative; overflow: hidden; }
.fc-blog .wp-block-post-featured-image { margin: 0; overflow: hidden; }
.fc-blog .wp-block-post-featured-image img,
.fc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-blog__body .wp-block-post-title { margin: 12px 0 0; font-size: 19px; line-height: 1.3; }
.fc-blog__body .wp-block-post-title a { color: var(--wp--preset--color--navy); text-decoration: none; }
.fc-blog__body .wp-block-post-title a:hover { color: var(--wp--preset--color--gold); }
.wp-block-post-terms.fc-blog__tag { margin: 0; }
.wp-block-post-terms.fc-blog__tag a { color: var(--wp--preset--color--gold); text-decoration: none; }
.fc-blog__body .wp-block-post-excerpt { margin: 12px 0 0; }
.fc-blog__body .wp-block-post-excerpt p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--wp--preset--color--muted); }
.fc-blog__body .wp-block-post-excerpt__more-link,
.fc-r-bl-feat .wp-block-post-excerpt__more-link { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--wp--preset--color--gold); text-decoration: none; }
/* featured post card */
.fc-r-bl-feat .wp-block-post-terms.fc-blog__tag a { color: var(--wp--preset--color--gold); }
.fc-r-bl-feat .wp-block-post-title { margin: 14px 0 0; }
.fc-r-bl-feat .wp-block-post-title a { color: var(--wp--preset--color--navy); text-decoration: none; }
.fc-r-bl-feat .wp-block-post-excerpt p { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: var(--wp--preset--color--muted); }
.fc-r-bl-feat .wp-block-post-featured-image { margin: 0; height: 340px; overflow: hidden; }
/* single post */
.fc-single-hero .wp-block-post-title { font-size: 44px; line-height: 1.14; letter-spacing: -0.01em; color: var(--wp--preset--color--navy); }
.fc-single-date { font-size: 13px; color: var(--wp--preset--color--muted); font-family: var(--wp--preset--font-family--mono); }
.fc-single-img { margin: 0; border-radius: 18px; overflow: hidden; }
.fc-single-img img, .fc-single-img .fc-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-prose > * { margin-top: 22px; }
.fc-prose > :first-child { margin-top: 0; }
.fc-prose h2 { font-size: 26px; margin-top: 40px; color: var(--wp--preset--color--navy); }
.fc-prose p { font-size: 17px; line-height: 1.78; color: var(--wp--preset--color--ink); }
.fc-prose ul { padding-left: 22px; margin-top: 18px; }
.fc-prose li { font-size: 17px; line-height: 1.7; margin-top: 8px; }

/* ---- Reviews CPT: testimonial card grid (matches the old r_testimonial_cards look) ---- */
.fc-review-stars { color: #ffcf00; font-size: 16px; letter-spacing: 2px; }
.fc-card .fc-review-quote { margin: 16px 0 0; }
.fc-card .fc-card .fc-review-author { margin-top: 20px; }
.fc-card .fc-review-loc { font-size: 13px; color: var(--wp--preset--color--muted); }

/* ---- Home hero — Smart Slider 3, brand styling (navy gradient + glow, matches the old hero) ---- */
.fc-hero-slider { position: relative; }
.fc-hero-slider .n2-ss-slide-background,
.fc-hero-slider .n2-ss-slide-background-image,
.fc-hero-slider .n2-ss-slide {
	background-color: #0e2740 !important;
	/*background-image: radial-gradient(1100px 560px at 12% -10%, rgba(60,162,226,0.20), transparent 62%), linear-gradient(135deg, #0d2033 0%, #123a58 55%, #0e2740 100%) !important;*/
	background:url('https://1stcallsolar.co.uk/wp-content/uploads/2026/07/hero_img2.png') no-repeat top center;
	background-size:cover;
	opacity: 1 !important;
	min-height:calc(90vh - 90px);
}


/* subtle diagonal texture like the old hero */
.fc-hero-slider .n2-ss-slide-background::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 22px);
}
/* left-align hero content on desktop/tablet — SS3 sets each row align-self:center, which centres the short buttons row.
 * On mobile we leave SS3's centred layout (looks better on narrow screens). */
@media (min-width: 701px) {
	.fc-hero-slider .n2-ss-section-main-content { align-items: flex-start !important; }
	.fc-hero-slider .n2-ss-section-main-content > .n2-ss-layer { align-self: flex-start !important; }
}
/* SS3 outputs an accessible slide title ("Hero") that here leaks as visible text — keep it for screen readers, hide visually */
.fc-hero-slider .n2-ss-slide .n2-ss-slide--focus {
	position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important;
	clip: rect(1px,1px,1px,1px) !important; white-space: nowrap !important; opacity: 0 !important;
}

/* ============================================================ CTA ========= */
.fc-cta-yellow { padding: 96px 24px; background: var(--wp--preset--color--yellow); position: relative; overflow: hidden; text-align: center; }
.fc-cta-yellow__glow { position: absolute; top: -140px; left: -100px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%); pointer-events: none; }
.fc-cta-yellow__inner { max-width: 840px; margin: 0 auto; position: relative; z-index: 2; }
.fc-cta-yellow h2 { margin: 0; font-size: 44px; color: var(--wp--preset--color--ink); }
.fc-cta-yellow p { margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: rgba(24,29,37,0.78); }
.fc-cta-yellow .fc-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; align-items: center; }
.fc-cta-sun { margin: 0 auto; display: block; color: var(--wp--preset--color--ink); }

/* ============================================================ FAQ ========= */
.fc-faq { display: flex; flex-direction: column; gap: 14px; }
.fc-faq__item { background: #fff; border: 1px solid #e6eaf1; border-radius: 16px; overflow: hidden; }
.fc-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; }
.fc-faq__ql { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; }
.fc-faq__qtext { font-size: 16.5px; font-weight: 700; color: var(--wp--preset--color--navy); }
.fc-faq__badge { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--wp--preset--color--chip); color: var(--wp--preset--color--gold); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.fc-faq__icon { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--wp--preset--color--chip); color: var(--wp--preset--color--gold); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.fc-faq__a { display: none; padding: 0 24px 24px; font-size: 15px; line-height: 1.7; color: var(--wp--preset--color--muted); }
.fc-faq__item.is-open .fc-faq__a { display: block; }
.fc-faq__item.is-open .fc-faq__badge::after { content: "\2212"; }
.fc-faq__badge::after { content: "+"; }

/* ======================================================= WHY / RELATED === */
.fc-whycard { max-width: 860px; margin: 0 auto; background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--border); border-radius: 24px; padding: 44px; }
.fc-whycard h2 { margin: 0 0 24px; font-size: 26px; letter-spacing: -0.01em; }
.fc-whylist { display: flex; flex-direction: column; gap: 14px; }
.fc-whylist .fc-wc { display: flex; gap: 12px; align-items: flex-start; }
.fc-whylist svg { flex: 0 0 auto; margin-top: 1px; color: #e0a100; }
.fc-whylist span { font-size: 15px; color: var(--wp--preset--color--navy); }
.fc-related { display: block; background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--border); border-radius: 20px; padding: 32px; color: inherit; }
.fc-related h3 { margin: 0; font-size: 20px; font-weight: 700; }
.fc-related p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--wp--preset--color--muted); }
.fc-related__cta { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--wp--preset--color--gold); }

/* ==================================================== COMMERCIAL BITS ===== */
.fc-numsec { display: grid; grid-template-columns: 110px 1fr; gap: 24px 40px; align-items: start; max-width: var(--fc-maxw); margin: 0 auto; }
.fc-numsec__i { font-family: var(--wp--preset--font-family--jakarta); font-weight: 800; font-size: 14px; letter-spacing: 0.1em; color: var(--wp--preset--color--green); border-top: 2px solid var(--wp--preset--color--green); padding-top: 12px; }
.fc-numsec__b h2 { margin: 0; }
.fc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: var(--fc-maxw); margin: 0 auto; }
.fc-stat__n { font-family: var(--wp--preset--font-family--jakarta); font-weight: 800; font-size: 44px; line-height: 1; }
.fc-stat__l { margin-top: 8px; font-size: 14px; }
.fc-steps { display: grid; gap: 24px; }
.fc-step__n { width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--jakarta); font-weight: 800; }

/* ============================================================ FORM ======== */
.fc-form-wrap { background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: 20px; padding: 30px; box-shadow: 0 1px 2px rgba(16,42,76,0.04); }
.fc-form { display: flex; flex-direction: column; gap: 16px; }
.fc-form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.fc-field { display: flex; flex-direction: column; gap: 6px; }
.fc-field span { font-size: 14px; font-weight: 600; color: var(--wp--preset--color--navy); font-family: var(--wp--preset--font-family--jakarta); }
.fc-field em { color: var(--wp--preset--color--gold); font-style: normal; }
.fc-field input, .fc-field textarea { width: 100%; border: 1.5px solid var(--wp--preset--color--border); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15px; background: #fff; color: var(--wp--preset--color--navy); }
.fc-field input:focus, .fc-field textarea:focus { outline: none; border-color: var(--wp--preset--color--gold); }
.fc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fc-form-submit { align-self: flex-start; border: none; border-radius: 8px; padding: 14px 30px; font-family: inherit; font-weight: 700; font-size: 16px; cursor: pointer; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--ink); }
.fc-form-submit--assessment { background: var(--wp--preset--color--green); color: #04241a; border-radius: 999px; }
.fc-form-small { font-size: 12.5px; color: var(--wp--preset--color--muted); margin: 0; }
.fc-form-notice { border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; font-weight: 600; }
.fc-form-notice--ok { background: #e7f7ef; color: #0a7a4e; }
.fc-form-notice--error { background: #fdecec; color: #b3261e; }

/* ---- Contact Form 7: neutralise plugin wrappers so it matches the theme's .fc-form look ---- */
.fc-form-wrap .wpcf7 { margin: 0; }
.fc-form-wrap .wpcf7-form-control-wrap { display: block; }              /* input behaves as a direct .fc-field child */
.fc-form-wrap .wpcf7 .screen-reader-response { position: absolute; overflow: hidden; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; }
.fc-form-wrap .wpcf7-form .wpcf7-response-output { margin: 4px 0 0; border: none; border-radius: 10px; padding: 14px 16px; font-weight: 600; font-size: 14px; }
.fc-form-wrap .wpcf7-form.sent .wpcf7-response-output { background: #e7f7ef; color: #0a7a4e; }
.fc-form-wrap .wpcf7-form.invalid .wpcf7-response-output,
.fc-form-wrap .wpcf7-form.unaccepted .wpcf7-response-output,
.fc-form-wrap .wpcf7-form.payment-required .wpcf7-response-output,
.fc-form-wrap .wpcf7-form.failed .wpcf7-response-output,
.fc-form-wrap .wpcf7-form.aborted .wpcf7-response-output,
.fc-form-wrap .wpcf7-form.spam .wpcf7-response-output { background: #fdecec; color: #b3261e; }
.fc-form-wrap .wpcf7-not-valid-tip { color: #b3261e; font-size: 12.5px; font-weight: 600; margin-top: 4px; }
/* the AJAX spinner would drop to its own row in the flex column and add empty space — hide it (the response message still shows) */
.fc-form-wrap .wpcf7-spinner { display: none; }

/* ================================================= RESIDENTIAL FOOTER ==== */
.fc-footer { background: var(--wp--preset--color--sky); color: #fff; font-family: var(--wp--preset--font-family--manrope); border-top: 1px solid #2f92d1; }
.fc-footer-inner { max-width: var(--fc-maxw); margin: 0 auto; padding: 64px 24px 0; }
.fc-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.fc-footer-logo { display: inline-flex; background: #fff; padding: 8px 16px; border-radius: 12px; box-shadow: 0 4px 14px -6px rgba(16,42,76,0.25); }
.fc-footer-blurb { margin: 20px 0 0; font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,0.92); max-width: 340px; }
.fc-footer-fam { margin: 16px 0 0; font-size: 13px; font-weight: 700; color: #fff; }
.fc-footer-col h4 { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; font-family: var(--wp--preset--font-family--jakarta); }
.fc-footer-col a { display: block; font-size: 14.5px; color: rgba(255,255,255,0.9); margin-bottom: 12px; }
.fc-footer-col a:hover { color: #fff; }
.fc-footer-addr { display: block; font-size: 14.5px; color: rgba(255,255,255,0.9); line-height: 1.6; margin-bottom: 14px; }
.fc-footer-phone { display: block; font-size: 16px; font-weight: 700; color: #fff !important; margin-bottom: 14px; }
.fc-footer-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.fc-footer-pills span { font-size: 11.5px; font-weight: 700; color: #1c3350; background: #fff; padding: 7px 12px; border-radius: 999px; }
.fc-footer-bottom { margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.3); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.fc-footer-bottom span { font-size: 13px; color: rgba(255,255,255,0.9); }
.fc-footer-legal { display: flex; gap: 22px; }
.fc-footer-legal a { font-size: 13px; color: rgba(255,255,255,0.9); }
.fc-footer-disclaimer { margin: 0; padding: 0 0 32px; font-size: 11.5px; line-height: 1.7; color: rgba(255,255,255,1); max-width: 960px; }

/* ================================================== COMMERCIAL FOOTER ==== */
.fc-footer--commercial { background: var(--wp--preset--color--commercial-footer); color: #c6d4e3; border-top: 1px solid rgba(255,255,255,0.08); }
.fc-footer--commercial .fc-footer-inner { max-width: 1280px; }
.fc-footer--commercial .fc-footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; gap: 44px; }
.fc-cfooter-id { display: flex; align-items: center; gap: 12px; }
.fc-cfooter-head { margin: 22px 0 0; font-family: var(--wp--preset--font-family--jakarta); font-weight: 800; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; color: #fff; max-width: 360px; }
.fc-cfooter-head em { font-style: italic; font-weight: 700; color: var(--wp--preset--color--green-light); }
.fc-cfooter-cta { margin-top: 24px; }
.fc-footer--commercial .fc-footer-col h4 { color: var(--wp--preset--color--green-light); letter-spacing: 0.1em; font-size: 12px; }
.fc-footer--commercial .fc-footer-col a, .fc-footer--commercial .fc-footer-addr { color: #c6d4e3; }
.fc-footer--commercial .fc-footer-phone { color: #fff !important; }
.fc-cfooter-social { display: flex; gap: 18px; margin-top: 22px; }
.fc-cfooter-social a { color: var(--wp--preset--color--green-light); }
.fc-footer--commercial .fc-footer-bottom { border-top-color: rgba(255,255,255,0.08); }
.fc-footer--commercial .fc-footer-bottom span, .fc-footer--commercial .fc-footer-legal a { color: #7f93aa; }

/* ========================================================= RESPONSIVE ==== */
@media (max-width: 1024px) {
	.fc-nav, .fc-actions { display: none !important; }
	.fc-nav-toggle { display: flex !important; }
	.fc-cards.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1025px) { .fc-mobile { display: none !important; } }
@media (max-width: 960px) {
	.fc-split { grid-template-columns: 1fr; }
	.fc-split--rev .fc-split__media { order: 0; }
	.fc-cards.cols-3 { grid-template-columns: 1fr 1fr; }
	.fc-numsec { grid-template-columns: 1fr; gap: 12px; }
	.fc-numsec__i { border-top: none; padding-top: 0; }
	.fc-footer-grid { grid-template-columns: 1fr 1fr !important; }
	.fc-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.fc-section { padding: 64px 20px; }
	.fc-cards.cols-2, .fc-cards.cols-3, .fc-cards.cols-4 { grid-template-columns: 1fr; }
	.fc-form-row { grid-template-columns: 1fr; }
	.fc-footer-grid { grid-template-columns: 1fr !important; }
	.fc-stats { grid-template-columns: 1fr 1fr; }
	.fc-hero h1 { font-size: 40px; }
	.fc-hero-light h1 { font-size: 36px; }
	.fc-section h2, .fc-cta-yellow h2 { font-size: 30px !important; }
}

/* =================================== editable buttons (core wp:button) ==== */
.wp-block-button.fcb-yellow > .wp-block-button__link { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--ink); border-radius: 8px; font-weight: 700; padding: 15px 30px; box-shadow: 0 10px 24px -8px rgba(255,218,31,0.6); }
.wp-block-button.fcb-dark > .wp-block-button__link { background: var(--wp--preset--color--ink); color: #fff; border-radius: 8px; font-weight: 700; padding: 15px 30px; }
.wp-block-button.fcb-outline > .wp-block-button__link { background: transparent; border: 1px solid var(--wp--preset--color--ink); color: var(--wp--preset--color--ink); border-radius: 8px; font-weight: 700; padding: 14px 30px; }
.wp-block-button.fcb-ghost-light > .wp-block-button__link { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.28); color: #fff; border-radius: 8px; font-weight: 600; padding: 14px 30px; }
.wp-block-button.fcb-white > .wp-block-button__link { background: #fff; border: 1px solid #d6deea; color: var(--wp--preset--color--navy); border-radius: 8px; font-weight: 600; padding: 14px 28px; }
.wp-block-button.fcb-green > .wp-block-button__link { background: var(--wp--preset--color--green); color: #04241a; border-radius: 999px; font-weight: 700; padding: 14px 28px; }
.wp-block-button.fcb-link > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--ink); font-weight: 700; padding: 14px 8px; }

/* =============================================== FAQ (core/details) ======= */
.fc-details { background: #fff; border: 1px solid #e6eaf1; border-radius: 16px; overflow: hidden; }
.fc-details + .fc-details { margin-top: 14px; }
.fc-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-family: var(--wp--preset--font-family--jakarta); font-size: 16.5px; font-weight: 700; color: var(--wp--preset--color--navy); }
.fc-details summary::-webkit-details-marker { display: none; }
.fc-details summary::after { content: "+"; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--wp--preset--color--chip); color: var(--wp--preset--color--gold); display: flex;  justify-content: center; font-size: 18px; font-weight: 700; line-height: 26px; }
.fc-details[open] summary::after { content: "\2212"; }
.fc-details--icon summary::before { /*content: "?"; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--wp--preset--color--chip); color: var(--wp--preset--color--gold); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; margin-right: -2px; order: -1;*/ }
.fc-details > :not(summary) { padding: 0 24px 24px; margin: 0; font-size: 15px; line-height: 1.7; color: var(--wp--preset--color--muted); }
.fc-faq { gap: 14px; }

/* ===================================== commercial dark/emerald bands ====== */
.fc-section.commercial-dark { background: var(--wp--preset--color--commercial-footer); color: #c6d4e3; }
.fc-section.commercial-dark :is(h1,h2,h3) { color: #fff; }
.fc-section.emerald { background: linear-gradient(135deg, var(--wp--preset--color--green) 0%, #0f8f6a 100%); color: #eafff6; }
.fc-section.emerald :is(h1,h2,h3) { color: #fff; }
.fc-stats .fc-stat { text-align: center; }
.fc-stat__n { color: #fff; }
.fc-stat__l { color: rgba(255,255,255,0.85); }
.fc-step { position: relative; }
.fc-step__n { background: var(--wp--preset--color--green); color: #04241a; margin-bottom: 14px; }
.fc-numsec + .fc-numsec { margin-top: 40px; }

/* commercial warm-cream palette + navy CTAs + gridded dark hero */
.fc-commercial-page { background: var(--wp--preset--color--cream); }
.fc-section.cream { background: var(--wp--preset--color--cream); }
.fc-section.cream-2 { background: var(--wp--preset--color--cream-2); }
.wp-block-button.fcb-navy > .wp-block-button__link { background: var(--wp--preset--color--commercial-ink); color: #fff; border-radius: 999px; font-weight: 700; padding: 14px 26px; }
.wp-block-button.fcb-navy-outline > .wp-block-button__link { background: transparent; border: 1.5px solid rgba(15,36,64,0.28); color: var(--wp--preset--color--commercial-ink); border-radius: 999px; font-weight: 700; padding: 13px 26px; }
.wp-block-button.fcb-cream > .wp-block-button__link { background: #f0ece3; color: #0a1f38; border-radius: 999px; font-weight: 700; padding: 15px 30px; }
/* A wp:buttons group emitted from a render_callback (e.g. the cm-capbody CTA) never goes
   through WP's block pass, so (a) it lacks .is-layout-flex → collapses to block-stacked
   full-width buttons, and (b) WP never enqueues the core button styles → the link stays
   display:inline, so its padding gives the .wp-block-button wrapper no height and the
   padded pills overlap (invisible when side-by-side on desktop, exposed once they wrap on
   mobile). Restore flex + give the link a real box — only for these un-processed groups
   (WP-processed inline groups keep .is-layout-flex and are untouched). */
.entry-content .wp-block-buttons:not(.is-layout-flex) { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.entry-content .wp-block-buttons:not(.is-layout-flex) .wp-block-button__link { display: inline-flex; align-items: center; }

/* ---------- Button hovers ----------
   Two languages, per the brand split:
   • RESIDENTIAL — warm: deepen the yellow / fill the outline with ink, gold for text links,
     soft yellow-gold glow, 2px lift. (8px-radius buttons.)
   • COMMERCIAL — crisp: green accent everywhere (green glow, green border/text on outlines,
     cream brightens to white), 2px lift. (pill buttons.)
   Backgrounds/borders use the palette vars so Theme Settings recolouring still applies;
   hovers are gated behind `hover: hover` so they don't stick on touch, and :focus-visible
   mirrors the affordance for keyboard users. */
.wp-block-button[class*="fcb-"] > .wp-block-button__link,
.fc-form-submit, .fc-btn-yellow, .fc-btn-green, .fc-related__cta a {
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

@media (hover: hover) {
	/* lift every solid/bordered button (the text-style .fcb-link nudges sideways instead) */
	.wp-block-button:is(.fcb-yellow,.fcb-dark,.fcb-outline,.fcb-white,.fcb-navy,.fcb-navy-outline,.fcb-cream,.fcb-green,.fcb-ghost-light) > .wp-block-button__link:hover { transform: translateY(-2px); }

	/* --- residential --- */
	.wp-block-button.fcb-yellow > .wp-block-button__link:hover { background: color-mix(in srgb, var(--wp--preset--color--yellow) 90%, #000); box-shadow: 0 14px 30px -8px rgba(255,218,31,0.85); }
	.wp-block-button.fcb-dark > .wp-block-button__link:hover { background: var(--wp--preset--color--navy); box-shadow: 0 12px 26px -10px rgba(22,38,60,0.5); }
	.wp-block-button.fcb-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); color: #fff; box-shadow: 0 12px 26px -10px rgba(24,29,37,0.4); }
	.wp-block-button.fcb-white > .wp-block-button__link:hover { background: var(--wp--preset--color--chip); border-color: var(--wp--preset--color--yellow); color: var(--wp--preset--color--ink); box-shadow: 0 12px 24px -12px rgba(201,138,0,0.35); }
	.wp-block-button.fcb-link > .wp-block-button__link:hover { color: var(--wp--preset--color--gold); transform: translateX(2px); }
	.fc-form-submit:hover { background: color-mix(in srgb, var(--wp--preset--color--yellow) 90%, #000); box-shadow: 0 14px 30px -8px rgba(255,218,31,0.85); transform: translateY(-2px); }
	.fc-btn-yellow:hover { filter: none; background: color-mix(in srgb, var(--wp--preset--color--yellow) 92%, #000); box-shadow: 0 10px 22px -6px rgba(255,218,31,0.7); transform: translateY(-1px); }
	.fc-related__cta a:hover { color: var(--wp--preset--color--gold-dark); }

	/* --- commercial --- */
	.wp-block-button.fcb-navy > .wp-block-button__link:hover { background: color-mix(in srgb, var(--wp--preset--color--commercial-ink) 88%, #fff); box-shadow: 0 14px 28px -10px rgba(16,185,129,0.5); }
	.wp-block-button.fcb-navy-outline > .wp-block-button__link:hover { background: rgba(16,185,129,0.07); border-color: var(--wp--preset--color--green); color: var(--wp--preset--color--green); }
	.wp-block-button.fcb-cream > .wp-block-button__link:hover { background: #fff; box-shadow: 0 14px 30px -10px rgba(52,211,153,0.45); }
	.wp-block-button.fcb-green > .wp-block-button__link:hover { background: var(--wp--preset--color--green-light); box-shadow: 0 14px 28px -10px rgba(16,185,129,0.55); }
	.wp-block-button.fcb-ghost-light > .wp-block-button__link:hover { background: rgba(52,211,153,0.14); border-color: rgba(52,211,153,0.55); color: #fff; }
	.fc-form-submit--assessment:hover { background: var(--wp--preset--color--green-light); box-shadow: 0 14px 28px -10px rgba(16,185,129,0.55); }
	.fc-btn-green:hover { filter: none; background: var(--wp--preset--color--green-light); box-shadow: 0 10px 22px -6px rgba(16,185,129,0.5); transform: translateY(-1px); }
	.fc-cm-servicelinks .fc-related__cta a:hover { color: var(--wp--preset--color--green); }
}

/* keyboard focus — same affordance as hover (gold residential / green commercial) */
.wp-block-button[class*="fcb-"] > .wp-block-button__link:focus-visible,
.fc-form-submit:focus-visible, .fc-btn-yellow:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold); outline-offset: 3px;
}
.fc-commercial-page .wp-block-button[class*="fcb-"] > .wp-block-button__link:focus-visible,
.fc-commercial-page .fc-form-submit:focus-visible,
.fc-btn-green:focus-visible {
	outline: 2px solid var(--wp--preset--color--green); outline-offset: 3px;
}
.fc-hero-cm { background-color: #0a1f38; background-image: linear-gradient(rgba(255,255,255,0.045) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.045) 1px,transparent 1px); background-size: 64px 64px; }
.fc-hero-cm :is(h1,h2,p) { color: #fff; }

/* ---------- Breadcrumbs (firstcall/breadcrumb — after the header on inner pages) ---------- */
.fc-bc { font-family: var(--wp--preset--font-family--manrope); background: #faf9f6; border-bottom: 1px solid #ece7dc; }
.fc-bc__inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; font-weight: 500; }
.fc-bc__item { display: inline-flex; align-items: center; gap: 4px; }
.fc-bc__link { color: #5c6472; text-decoration: none; transition: color .15s; }
.fc-bc__link:hover { color: #c9a400; }
.fc-bc__current { color: #181d25; font-weight: 700; }
.fc-bc__sep { color: #c2bcae; margin: 0 4px; flex: 0 0 auto; }
/* commercial (dark, mono uppercase) */
.fc-bc--commercial { font-family: var(--wp--preset--font-family--mono); background: #0a1f38; border-bottom: 1px solid rgba(255,255,255,0.08); }
.fc-bc--commercial .fc-bc__inner { max-width: 1120px; padding: 13px 24px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.fc-bc--commercial .fc-bc__link { color: #8298b3; }
.fc-bc--commercial .fc-bc__link:hover { color: #34d399; }
.fc-bc--commercial .fc-bc__current { color: #34d399; font-weight: 500; }
.fc-bc__sep--slash { color: #4a5f78; margin: 0 6px; }
.fc-eyebrow-cm { font-family: var(--wp--preset--font-family--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wp--preset--color--green-light); font-weight: 500; }

/* split paragraphs + misc content links */
.fc-split-p { margin-top: 20px; font-size: 16px; line-height: 1.7; color: var(--wp--preset--color--muted-2); }
.fc-split-p + .fc-split-p { margin-top: 16px; }
.fc-morelink a { color: var(--wp--preset--color--gold); font-weight: 700; }
.fc-bloghead h2 { color: var(--wp--preset--color--navy); }

/* ============ flush: no gaps between header / every section / footer (matches design, every page) ============ */
.wp-site-blocks > * { margin-block-start: 0 !important; }
main.wp-block-group { margin-top: 0 !important; margin-bottom: 0 !important; }
.entry-content > * { margin-block-start: 0 !important; margin-top: 0 !important; }

/* ============ bespoke inline-grid alignment ============ */
/* These grids are also WP is-layout-flow, so grid items 2..N get a stray margin-block-start (blockGap)
   that shifts them down inside their cells and breaks alignment (e.g. the How It Works step numbers
   drifting off the connecting line). Grid spacing must come from `gap`, not item margins. */
.entry-content [style*="grid-template-columns"] > * { margin-block-start: 0 !important; }

/* ============ mobile fixes ============ */
/* marquee track is width:max-content; the mask only fades, it does not clip -> must hide overflow */
.fc-marquee { overflow: hidden; }
@media (max-width: 700px) {
	/* bespoke inline grids (repeat(N,1fr) etc.) don't collapse on their own -> force single column + row spacing */
	.entry-content [style*="grid-template-columns"] { grid-template-columns: 1fr !important; row-gap: 26px !important; }
	.fc-numsec { grid-template-columns: 1fr !important; }
	.fc-split { grid-template-columns: 1fr !important; }
	/* let inline flex rows wrap instead of overflowing */
	.entry-content [style*="display:flex"], .entry-content [style*="display: flex"] { flex-wrap: wrap; }
}

/* ============ mobile menu buttons: override the generic .fc-mobile > a link styles ============ */
/* switch link: keep the dot + text together (not pushed apart by space-between) */
.fc-mobile > a.fc-m-switch { justify-content: flex-start; gap: 10px; }
/* CTA button base */
.fc-mobile > a.fc-m-cta { justify-content: center; text-align: center; border-bottom: none !important; margin-top: 16px; padding: 15px 20px; font-weight: 700; }
/* residential yellow CTA */
.fc-mobile > a.fc-btn-yellow.fc-m-cta { background: var(--wp--preset--color--yellow) !important; color: var(--wp--preset--color--ink) !important; border-radius: 8px; box-shadow: 0 6px 16px -4px rgba(255,218,31,0.55); }
/* commercial green CTA */
.fc-mobile > a.fc-btn-green.fc-m-cta { background: var(--wp--preset--color--green) !important; color: #04241a !important; border-radius: 999px; }

/* ============ M1: markers for converted layout wrappers (replace bespoke inline grid/flex) ============ */
/* Add class "fc-grid" to any converted grid wrapper (+ a specific class that sets grid-template-columns & gap).
   fc-grid handles: display:grid, block-gap reset on items (WP is-layout-flow would shift them), mobile collapse. */
.fc-grid { display: grid; }
/* column-count utilities for grids whose template is dynamic (repeat(N,1fr)) */
.entry-content .fc-cols-1 { grid-template-columns: 1fr; }
.entry-content .fc-cols-2 { grid-template-columns: repeat(2, 1fr); }
.entry-content .fc-cols-3 { grid-template-columns: repeat(3, 1fr); }
.entry-content .fc-cols-4 { grid-template-columns: repeat(4, 1fr); }
.entry-content .fc-cols-5 { grid-template-columns: repeat(5, 1fr); }
.entry-content .fc-cols-6 { grid-template-columns: repeat(6, 1fr); }
.entry-content .fc-grid > * { margin-block-start: 0 !important; }
@media (max-width: 700px) { .entry-content .fc-grid { grid-template-columns: 1fr !important; row-gap: 26px !important; } }
/* Add class "fc-flexrow" to any converted flex-row wrapper (+ a specific class for gap/align/justify). */
.fc-flexrow { display: flex; }
/* WP treats these flow-layout groups as is-layout-flow and gives children 2..N a stray
   margin-block-start (blockGap) — in a flex row that pushes the item off the cross-axis
   (e.g. contact icon vs text), in a flex column it double-counts the gap. Spacing comes
   from each row's own `gap`, so reset it (mirrors the .fc-grid reset above). */
.entry-content .fc-flexrow > * { margin-block-start: 0 !important; }
@media (max-width: 700px) { .entry-content .fc-flexrow { flex-wrap: wrap; } }
