/*
Theme Name: Fasthuma MSP
Theme URI: https://msp.fasthuma.com/
Author: Fasthuma Enterprises Inc.
Author URI: https://msp.fasthuma.com/
Description: Block theme for Fasthuma IT Solutions & MSP managed IT services (msp.fasthuma.com). Built from the Fasthuma IT theme v1.7.5. Native WordPress blocks only, no page builder.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fasthuma-msp
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
:where([id]) { scroll-margin-top: 96px; }
body { -webkit-font-smoothing: antialiased; }
img { height: auto; }

.fh-eyebrow {
	font-family: var(--wp--preset--font-family--brand);
	font-size: 0.85rem;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--orange-deep);
	margin-bottom: 0.5rem !important;
}
.fh-lead { font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--muted); }
.fh-section { padding: clamp(3rem, 7vw, 6rem) 1.25rem; }
.fh-section--tint { background: var(--wp--preset--color--mist); }
.fh-section--dark { background: var(--wp--preset--color--charcoal); color: #fff; }
.fh-section--dark :where(h1, h2, h3, h4) { color: #fff; }
.fh-section--dark .fh-lead { color: #C9C7C3; }
.fh-section--dark .fh-eyebrow { color: var(--wp--preset--color--orange); }
.fh-center { text-align: center; }
.fh-center .wp-block-buttons { justify-content: center; }

/* ---------- Header ---------- */
.fh-header {
	position: sticky;
	top: 0;
	z-index: 50;
	/* No backdrop-filter here: it traps the fixed mobile menu overlay inside the header. */
	background: #fff;
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 0.75rem 1.25rem;
}
.admin-bar .fh-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fh-header { top: 0; } }
.fh-header__inner { gap: 1rem; }
.fh-brand { gap: 0.6rem; }
.fh-brand .wp-block-site-title { font-size: 1.05rem; font-weight: 800; margin: 0; letter-spacing: -0.01em; }
.fh-brand .wp-block-site-title a { color: var(--wp--preset--color--charcoal); text-decoration: none; }
.fh-nav { font-size: 0.95rem; font-weight: 600; }
.fh-nav a { text-decoration: none; }
.fh-nav a:hover { color: var(--wp--preset--color--orange); }
.fh-header-actions { gap: 0.5rem; }
.fh-header-actions .wp-block-button__link { padding: 0.55rem 1rem; font-size: 0.9rem; }
@media (max-width: 900px) {
	.fh-header-actions .fh-btn-portal { display: none; }
}

/* Mobile + tablet menu: use the hamburger below 1024px (core switches at 600px). */
@media (max-width: 1023px) {
	.fh-header__inner { flex-wrap: nowrap !important; }
	.fh-header__inner > .fh-nav { order: 3; margin-left: 0; }
	.fh-header__inner > .fh-header-actions { margin-left: auto; flex-wrap: nowrap; }
	.fh-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.fh-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.fh-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex !important; }
}
.fh-nav .wp-block-navigation__responsive-container-open { padding: 0.5rem; color: var(--wp--preset--color--charcoal); }
.fh-nav .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
.fh-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: #fff !important;
	color: var(--wp--preset--color--charcoal) !important;
	padding: 1.25rem 1.5rem 2rem;
}
.admin-bar .fh-nav .wp-block-navigation__responsive-container.is-menu-open { top: 46px; }
@media (min-width: 783px) { .admin-bar .fh-nav .wp-block-navigation__responsive-container.is-menu-open { top: 32px; } }
.fh-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 3.25rem !important;
	align-items: flex-start !important;
}
.fh-nav .is-menu-open .wp-block-navigation__container {
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 0 !important;
	width: 100%;
}
.fh-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--preset--color--line); justify-content: flex-start !important; align-items: flex-start !important; text-align: left; }
.fh-nav .wp-block-navigation__responsive-container.is-menu-open { overflow-y: auto; --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; }
.fh-nav .is-menu-open .wp-block-navigation-item__content {
	display: block;
	padding: 0.9rem 0 !important;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--wp--preset--color--charcoal);
}
.fh-nav .is-menu-open .wp-block-navigation-item__content:hover,
.fh-nav .is-menu-open .wp-block-navigation-item__content:focus { color: var(--wp--preset--color--orange-deep); }
.fh-nav .wp-block-navigation__responsive-container-close { top: 1rem !important; right: 1.25rem !important; }
.fh-nav .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
	color: var(--wp--preset--color--orange-deep);
}
.fh-section--dark .wp-block-button.is-style-outline > .wp-block-button__link,
.fh-hero .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; }
.wp-block-button__link { transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(43, 42, 41, 0.18); }

/* ---------- Hero ---------- */
.fh-hero {
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(255, 126, 0, 0.28), transparent 60%),
		radial-gradient(900px 500px at -10% 110%, rgba(109, 108, 106, 0.45), transparent 60%),
		var(--wp--preset--color--charcoal);
	color: #fff;
	padding: clamp(3.5rem, 9vw, 7rem) 1.25rem;
}
.fh-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.12; letter-spacing: -0.02em; }
.fh-hero .fh-lead { color: #C9C7C3; }
.fh-hero .fh-eyebrow { color: var(--wp--preset--color--orange); }
.fh-hero .wp-block-image img { border-radius: 16px; }
.fh-page-hero { padding: clamp(3rem, 7vw, 5rem) 1.25rem; }
.fh-page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.15; }

/* ---------- Cards ---------- */
.fh-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	padding: 1.75rem;
	height: 100%;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.fh-card:hover { border-color: var(--wp--preset--color--orange); box-shadow: 0 10px 30px rgba(43, 42, 41, 0.08); transform: translateY(-2px); }
.fh-card h3 { font-size: 1.15rem; margin-top: 0; }
.fh-card p { color: var(--wp--preset--color--muted); }
.fh-card .fh-more { margin-top: 1rem; font-weight: 700; }
.fh-card .fh-more a { text-decoration: none; }
.fh-card::before {
	content: "";
	display: block;
	width: 36px;
	height: 4px;
	border-radius: 4px;
	background: var(--wp--preset--color--orange);
	margin-bottom: 1rem;
}

/* ---------- Media ---------- */
.fh-rounded img { border-radius: 16px; }

/* ---------- Definitions (What is Fasthuma) ---------- */
.fh-def {
	border-left: 4px solid var(--wp--preset--color--orange);
	padding: 0.25rem 0 0.25rem 1.25rem;
}
.fh-def h3 { margin: 0 0 0.35rem; }
.fh-def p { margin: 0; color: var(--wp--preset--color--muted); }

/* ---------- Testimonial ---------- */
.fh-quote {
	border: 0;
	padding: 0;
	margin: 0;
}
.fh-quote p { font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.6; }
.fh-quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 700; color: var(--wp--preset--color--charcoal); }
.fh-avatar img { border-radius: 50%; width: 120px; height: 120px; object-fit: cover; }

/* ---------- Client logos ---------- */
.fh-logos { align-items: center; }
.fh-logos .wp-block-image { margin: 0; text-align: center; }
.fh-logos .wp-block-image img {
	max-height: 64px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter 0.2s ease, opacity 0.2s ease;
}
.fh-logos .wp-block-image img:hover { filter: none; opacity: 1; }

/* ---------- Article (service pages) ---------- */
.fh-article h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.fh-article h3 { font-size: 1.15rem; margin-top: 1.75rem; margin-bottom: 0.35rem; }
.fh-article p, .fh-article li { font-size: 1.05rem; line-height: 1.75; }
.fh-article ul { padding-left: 1.25rem; }
.fh-article li { margin-bottom: 0.6rem; }

/* ---------- Contact ---------- */
.fh-contact-list p { margin: 0 0 0.75rem; }
.fh-contact-list strong { color: var(--wp--preset--color--charcoal); }
.fh-map iframe { width: 100%; min-height: 340px; border: 0; border-radius: 14px; display: block; }

/* ---------- Footer ---------- */
.fh-footer {
	background: var(--wp--preset--color--charcoal);
	color: #C9C7C3;
	padding: 4rem 1.25rem 2rem;
	font-size: 0.95rem;
}
.fh-footer :where(h2, h3, h4) { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.fh-footer a { color: #fff; text-decoration: none; }
.fh-footer a:hover { color: #FF9A3C; }
.fh-footer .wp-block-site-title { font-size: 1.15rem; font-weight: 800; }
.fh-footer ul { list-style: none; padding: 0; margin: 0; }
.fh-footer li { margin-bottom: 0.5rem; }
.fh-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	font-size: 0.85rem;
}

/* ---------- Brand logo ---------- */
.fh-logo img { display: block; height: 52px; width: auto; }
@media (max-width: 600px) { .fh-logo img { height: 40px; } }
.fh-footer .fh-logo img { height: 60px; }
.fh-wordmark { font-family: var(--wp--preset--font-family--brand); letter-spacing: 0.08em; text-transform: uppercase; }

/* Orange accent line under section headings */
.fh-center h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	border-radius: 4px;
	background: var(--wp--preset--color--orange);
	margin: 0.9rem auto 0;
}
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { color: var(--wp--preset--color--charcoal); }

/* ---------- Layout fixes ---------- */
.wp-site-blocks > main, .wp-site-blocks > footer { margin-block-start: 0; }
main > .alignfull:first-child { margin-top: 0; }
main > * + * { margin-block-start: 0; }
.fh-card h3 a { color: var(--wp--preset--color--charcoal); text-decoration: none; }
.fh-card h3 a:hover { color: var(--wp--preset--color--orange-deep); }
@media (max-width: 600px) {
	.fh-header__inner { flex-wrap: nowrap !important; }
	.fh-header .fh-logo img { height: 34px; }
	.fh-header-actions .wp-block-button__link { padding: 0.45rem 0.7rem; font-size: 0.85rem; }
}

/* ---------- Photos ---------- */
.fh-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 0 18px 40px rgba(43, 42, 41, 0.18); }
.fh-banner img { aspect-ratio: 2 / 1; }
.fh-hero .fh-photo img { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); border: 3px solid rgba(255, 126, 0, 0.55); }
.fh-article .fh-banner { margin-top: 0; margin-bottom: 2.5rem; }

/* ---------- Process + MSP band ---------- */
.fh-step::before { display: none; }
.fh-step-num {
	width: 44px; height: 44px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--wp--preset--color--orange); color: var(--wp--preset--color--ink);
	font-weight: 800; font-size: 1.1rem; margin: 0 0 0.75rem;
}
.fh-msp-band { gap: 1.5rem; }
.fh-msp-band::before { display: none; }
.fh-msp-band h3 { margin-top: 0; }
.fh-msp-band p { margin-bottom: 0; max-width: 640px; }

/* ---------- Service icons ---------- */
.fh-card--icon::before { display: none; }
.fh-icon { margin: 0 0 1rem; }
.fh-icon img { width: 56px; height: 56px; display: block; }
.fh-card--icon:hover .fh-icon img { transform: translateY(-2px); transition: transform 0.15s ease; }
.wp-site-blocks main > * + *, .wp-site-blocks main > .alignfull + .alignfull { margin-block-start: 0; }

/* ---------- v1.4: single-page conversion layout ---------- */
.fh-hero-proof { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: #C9C7C3; font-size: 0.95rem; }
.fh-hero-proof li { position: relative; padding-left: 1.6rem; margin: 0; }
.fh-hero-proof li::before {
	content: ""; position: absolute; left: 0; top: 0.3em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
	background: var(--wp--preset--color--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23232221' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.fh-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }

.fh-trust { background: #fff; border-bottom: 1px solid var(--wp--preset--color--line); padding: 2rem 1.25rem 2.25rem; }
.fh-trust__label { text-align: center; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin: 0 0 1.25rem; }
.fh-trust .fh-logos .wp-block-image img { max-height: 48px; }

.fh-pains { list-style: none; padding: 0; margin: 1.5rem 0; }
.fh-pains li { position: relative; padding: 0 0 1rem 2rem; margin: 0; color: var(--wp--preset--color--muted); }
.fh-pains li strong { color: var(--wp--preset--color--charcoal); }
.fh-pains li::before {
	content: "!"; position: absolute; left: 0; top: 0.1em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
	display: grid; place-items: center; font-size: 0.8rem; font-weight: 800;
	background: #FDE7D3; color: var(--wp--preset--color--orange-deep);
}
.fh-why-title { margin-top: 0; }
.fh-reason::before { width: 28px; }
.fh-reason h3 { font-size: 1.05rem; }

.fh-faq { border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 0; margin: 0 0 0.75rem; background: #fff; }
.fh-faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 700; color: var(--wp--preset--color--charcoal); position: relative; }
.fh-faq summary::-webkit-details-marker { display: none; }
.fh-faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--wp--preset--color--orange-deep); }
.fh-faq[open] summary::after { content: "−"; }
.fh-faq > p { padding: 0 1.25rem 1.1rem; margin: 0; color: var(--wp--preset--color--muted); }

/* Header actions */
.fh-header-actions .fh-btn-phone .wp-block-button__link { color: var(--wp--preset--color--charcoal); }
@media (max-width: 600px) { .fh-header-actions .fh-btn-cta { display: none; } }

/* Accessibility */
:where(a, button, summary, .wp-block-button__link):focus-visible { outline: 3px solid var(--wp--preset--color--orange); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Partners ---------- */
.fh-partners { gap: 1rem; }
.fh-partner {
	margin: 0; display: grid; place-items: center; min-height: 76px; padding: 0.75rem;
	background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px;
	font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; text-align: center;
	color: var(--wp--preset--color--granite);
}

/* ---------- Pricing ---------- */
.fh-price::before { display: none; }
.fh-price { display: flex; flex-direction: column; }
.fh-price h3 { margin-bottom: 0.25rem; }
.fh-price__desc { font-size: 0.95rem; min-height: 4.5em; }
.fh-price__rates { gap: 0.75rem; margin-top: auto; }
.fh-rate { margin: 0; padding: 0.9rem 0.75rem; border-radius: 10px; background: var(--wp--preset--color--mist); text-align: center; display: flex; flex-direction: column; gap: 0.15rem; }
.fh-rate__label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--wp--preset--color--muted); }
.fh-rate__amount { font-size: 1.7rem; font-weight: 800; color: var(--wp--preset--color--charcoal); line-height: 1.1; }
.fh-rate__unit { font-size: 0.8rem; color: var(--wp--preset--color--muted); }
.fh-price-note { max-width: 760px; margin: 2rem auto 1.5rem; text-align: center; font-size: 0.9rem; color: var(--wp--preset--color--muted); }

/* ---------- v1.6: content lives in the page ---------- */
.wp-site-blocks .fh-page-content > .alignfull { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.fh-page-content > .alignfull:first-child { margin-top: 0; }

/* Responsive grids: collapse fixed-column grids on smaller screens */
@media (max-width: 1100px) {
	.wp-block-group.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.fh-logos.is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.fh-partners.is-layout-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
	.wp-block-group.is-layout-grid { grid-template-columns: minmax(0, 1fr) !important; }
	.fh-partners.is-layout-grid, .fh-logos.is-layout-grid, .fh-price__rates.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
.fh-card { min-width: 0; }

/* ---------- Facts (GEO) ---------- */
.fh-fact { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 1rem 1.15rem; }
.fh-fact__label { margin: 0 0 0.25rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--orange-deep); }
.fh-fact__value { margin: 0; font-weight: 600; color: var(--wp--preset--color--charcoal); line-height: 1.45; }

/* Odd partner count on phones: center the last tile across both columns */
@media (max-width: 640px) { .fh-partners > .fh-partner:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; box-sizing: border-box; width: calc(50% - 0.5rem); } }

/* =====================================================================
   Fasthuma MSP additions (v1.0)
   ===================================================================== */
.screen-reader-text {
	border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.fh-section--tight { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.fh-small { font-size: 0.9rem; color: var(--wp--preset--color--muted); }

/* Tap targets: 44px minimum */
.wp-block-button__link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.fh-nav .wp-block-navigation-item__content { min-height: 44px; display: inline-flex; align-items: center; }
.fh-footer li a, .fh-footer p a { display: inline-block; padding: 0.35rem 0; }
.fh-faq summary { min-height: 44px; }

/* Header: room for the longer MSP menu */
.fh-nav { font-size: 0.92rem; }
.fh-nav .wp-block-navigation__container { gap: 1.1rem; }
.fh-nav-mobile-only { display: none !important; }
.fh-nav .is-menu-open .fh-nav-mobile-only { display: flex !important; }
.fh-nav-ext > a::after { content: " ↗"; font-size: 0.8em; }
@media (min-width: 1024px) and (max-width: 1279px) {
	.fh-header-actions .fh-btn-phone { display: none; }
	.fh-nav .wp-block-navigation__container { gap: 0.85rem; }
	.fh-nav { font-size: 0.88rem; }
}
/* Desktop dropdown */
.fh-nav .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: 12px; padding: 0.5rem 0 !important; min-width: 260px !important;
	box-shadow: 0 14px 34px rgba(43, 42, 41, 0.12);
}
.fh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.55rem 1.1rem !important; width: 100%; }
.fh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--mist); color: var(--wp--preset--color--orange-deep); }
/* Mobile overlay: show submenu items as an indented list, every link visible */
.fh-nav .is-menu-open .wp-block-navigation__submenu-container {
	position: static !important; opacity: 1 !important; visibility: visible !important; width: 100% !important; height: auto !important;
	border: 0 !important; box-shadow: none; padding: 0 0 0.5rem 1rem !important; min-width: 0 !important; background: transparent !important;
}
.fh-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border-bottom: 0; }
.fh-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1.05rem; font-weight: 600; padding: 0.55rem 0 !important; }
.fh-nav .is-menu-open .wp-block-navigation-submenu__toggle, .fh-nav .is-menu-open .wp-block-navigation__submenu-icon { display: none !important; }
.fh-nav .is-menu-open .wp-block-navigation-item.has-child { flex-direction: column; }

/* Quick answer (AEO) */
.fh-answer {
	background: #FFF4E8; border-left: 4px solid var(--wp--preset--color--orange);
	border-radius: 0 12px 12px 0; padding: 1rem 1.25rem; margin-bottom: 2rem;
}
.fh-answer p { margin: 0; }
.fh-answer .fh-answer__label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--orange-deep); margin-bottom: 0.35rem; }
.fh-section > .fh-answer, .fh-section .fh-answer { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }

/* Check lists */
.fh-checks { list-style: none; padding-left: 0 !important; }
.fh-checks li { position: relative; padding-left: 1.9rem; }
.fh-checks li::before {
	content: ""; position: absolute; left: 0; top: 0.35em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
	background: var(--wp--preset--color--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23232221' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* Plans: Flame / Blaze / Inferno */
.fh-tier::before { display: none; }
.fh-tier { display: flex; flex-direction: column; border-top: 6px solid var(--fh-tier, var(--wp--preset--color--orange)); position: relative; }
.fh-tier--flame { --fh-tier: #FFB15C; }
.fh-tier--blaze { --fh-tier: #FF7E00; }
.fh-tier--inferno { --fh-tier: #C2410C; }
.fh-tier__name { font-size: 1.9rem; font-weight: 800; color: var(--wp--preset--color--charcoal); margin: 0 !important; letter-spacing: -0.02em; }
.fh-tier__tag { font-weight: 700; color: var(--wp--preset--color--orange-deep); margin-top: 0.15rem !important; }
.fh-tier__badge {
	position: absolute; top: -0.85rem; right: 1.25rem; margin: 0 !important;
	background: var(--wp--preset--color--charcoal); color: #fff; font-size: 0.75rem; font-weight: 800;
	letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 999px;
}
.fh-tier--featured { box-shadow: 0 18px 40px rgba(43, 42, 41, 0.14); }
.fh-tier .wp-block-buttons { margin-top: auto; padding-top: 1rem; }
.fh-tier .wp-block-button, .fh-tier .wp-block-button__link { width: 100%; }
.fh-tier .fh-more { margin-top: auto; }

/* Pending labels: visible until the owner approves prices */
.fh-pending {
	display: inline-block; background: #FFF3BF; color: #5C4400; border: 1px dashed #B88A00;
	font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
	padding: 0.1rem 0.5rem; border-radius: 6px; vertical-align: middle; line-height: 1.6;
}
.fh-pending-note { font-size: 0.95rem; color: #C9C7C3; }

/* Tables */
.fh-table { margin: 1.5rem 0; overflow-x: auto; }
.fh-table table { border-collapse: separate; border-spacing: 0; width: 100%; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; overflow: hidden; min-width: 520px; }
.fh-table th, .fh-table td { padding: 0.85rem 1rem; border: 0; border-bottom: 1px solid var(--wp--preset--color--line); text-align: center; vertical-align: middle; }
.fh-table th:first-child, .fh-table td:first-child { text-align: left; width: 40%; }
.fh-table thead th { background: var(--wp--preset--color--charcoal); color: #fff; font-weight: 800; }
.fh-table tbody tr:last-child td { border-bottom: 0; }
.fh-table tbody tr:nth-child(even) td { background: var(--wp--preset--color--mist); }
.fh-table td:not(:first-child) { font-weight: 800; font-size: 1.15rem; color: var(--wp--preset--color--charcoal); }
.fh-table td:first-child { font-size: 0.92rem; color: var(--wp--preset--color--muted); }
.fh-table td:first-child strong { color: var(--wp--preset--color--charcoal); font-size: 1rem; }
.fh-table--compare td:not(:first-child) { color: var(--wp--preset--color--orange-deep); }
.fh-table--compare td:first-child { color: var(--wp--preset--color--charcoal); font-size: 1rem; }
.fh-table figcaption { font-size: 0.85rem; color: var(--wp--preset--color--muted); text-align: left; }

/* Related links box */
.fh-related { margin-top: 3rem; padding: 1.25rem 1.5rem; background: var(--wp--preset--color--mist); border-radius: 12px; }
.fh-related h3 { margin-top: 0 !important; }
.fh-related__list { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0; }
.fh-related__list li { margin: 0 !important; }
.fh-related__list a { display: inline-block; padding: 0.4rem 0; font-weight: 700; }

.fh-review-links { margin-top: 1.5rem; }
.fh-footer h2 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.fh-footer-cross a { color: #FF9A3C !important; font-weight: 700; }
.fh-footer .wp-block-button__link { color: var(--wp--preset--color--ink) !important; }
.fh-hero .fh-hero-proof { margin-top: 1.5rem; }

/* Plan price on tier cards */
.fh-tier__price { margin: 0.5rem 0 0.25rem !important; color: var(--wp--preset--color--muted); }
.fh-tier__amount { font-size: 2.4rem; font-weight: 800; color: var(--wp--preset--color--charcoal); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fh-tier__unit { font-size: 0.9rem; }

/* ---------- Pricing calculator ---------- */
.fh-calc {
	display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.5rem; align-items: start;
	margin: 2rem 0 2.5rem; text-align: left;
}
@media (max-width: 820px) { .fh-calc { grid-template-columns: minmax(0, 1fr); } }
.fh-calc__form { display: grid; gap: 1.25rem; min-width: 0; }
.fh-calc fieldset { border: 1px solid var(--wp--preset--color--line); border-radius: 14px; padding: 1.1rem 1.25rem 1.25rem; margin: 0; background: #fff; min-width: 0; }
.fh-calc__legend { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--orange-deep); padding: 0 0.35rem; margin: 0 0 0.25rem; }
.fh-calc__tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.fh-calc__tiers legend { grid-column: 1 / -1; }
@media (max-width: 520px) { .fh-calc__tiers { grid-template-columns: minmax(0, 1fr); } }
.fh-calc__tier {
	position: relative; display: flex; flex-direction: column; gap: 0.15rem; cursor: pointer; min-height: 44px;
	border: 2px solid var(--wp--preset--color--line); border-top: 5px solid var(--fh-tier); border-radius: 12px; padding: 0.75rem 0.9rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fh-calc__tier--flame { --fh-tier: #FFB15C; }
.fh-calc__tier--blaze { --fh-tier: #FF7E00; }
.fh-calc__tier--inferno { --fh-tier: #C2410C; }
.fh-calc__tier input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.fh-calc__tier:has(input:checked) { border-color: var(--wp--preset--color--charcoal); border-top-color: var(--fh-tier); box-shadow: 0 8px 20px rgba(43, 42, 41, 0.12); }
.fh-calc__tier:has(input:checked)::after { content: "✓"; position: absolute; top: 0.55rem; right: 0.7rem; font-weight: 800; color: var(--wp--preset--color--orange-deep); }
.fh-calc__tier:has(input:focus-visible) { outline: 3px solid var(--wp--preset--color--orange); outline-offset: 3px; }
.fh-calc__tier-name { font-weight: 800; font-size: 1.15rem; color: var(--wp--preset--color--charcoal); }
.fh-calc__tier-price { font-weight: 800; color: var(--wp--preset--color--charcoal); font-variant-numeric: tabular-nums; }
.fh-calc__tier-price small { display: block; font-weight: 500; color: var(--wp--preset--color--muted); font-size: 0.8rem; }
.fh-calc__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.fh-calc__row:last-child { border-bottom: 0; }
.fh-calc__row label { display: flex; flex-direction: column; min-width: 0; }
.fh-calc__dev-name { font-weight: 700; color: var(--wp--preset--color--charcoal); }
.fh-calc__dev-note { font-size: 0.85rem; color: var(--wp--preset--color--muted); }
.fh-calc__stepper { display: flex; align-items: center; flex: none; border: 1px solid var(--wp--preset--color--line); border-radius: 10px; overflow: hidden; }
.fh-calc__btn {
	width: 44px; height: 44px; border: 0; background: var(--wp--preset--color--mist); color: var(--wp--preset--color--charcoal);
	font-size: 1.35rem; font-weight: 700; cursor: pointer; line-height: 1;
}
.fh-calc__btn:hover { background: #FDE7D3; color: var(--wp--preset--color--orange-deep); }
.fh-calc__stepper input {
	width: 4.25rem; height: 44px; border: 0; border-left: 1px solid var(--wp--preset--color--line); border-right: 1px solid var(--wp--preset--color--line);
	text-align: center; font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--wp--preset--color--charcoal); background: #fff;
	-moz-appearance: textfield; appearance: textfield;
}
.fh-calc__stepper input::-webkit-outer-spin-button, .fh-calc__stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fh-calc__stepper input:focus-visible { outline: 3px solid var(--wp--preset--color--orange); outline-offset: -3px; }
.fh-calc__result {
	position: sticky; top: 96px; background: var(--wp--preset--color--charcoal); color: #fff; border-radius: 16px; padding: 1.4rem 1.5rem 1.5rem;
	border-top: 6px solid var(--wp--preset--color--orange); min-width: 0;
}
.fh-calc__result .fh-calc__legend { color: #FF9A3C; padding: 0; }
.fh-calc__result p { margin: 0; }
.fh-calc__plan { color: #C9C7C3; margin-top: 0.5rem !important; font-variant-numeric: tabular-nums; }
.fh-calc__total { font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0.35rem 0 0.15rem !important; font-variant-numeric: tabular-nums; }
.fh-calc__total small { font-size: 1rem; font-weight: 600; color: #C9C7C3; letter-spacing: 0; }
.fh-calc__year { color: #C9C7C3; font-variant-numeric: tabular-nums; }
.fh-calc__compare { list-style: none; padding: 0; margin: 1.1rem 0 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.fh-calc__compare li { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); color: #C9C7C3; font-variant-numeric: tabular-nums; }
.fh-calc__compare li.is-active { color: #fff; }
.fh-calc__compare li.is-active span::before { content: "▸ "; color: #FF9A3C; }
.fh-calc__m365 { font-size: 0.9rem; color: #FFD8B0; margin-bottom: 1rem !important; }
.fh-calc__result .wp-block-button__link { width: 100%; }
.fh-calc__note { font-size: 0.8rem; color: #B5B3AF; margin-top: 1rem !important; }
@media (max-width: 820px) { .fh-calc__result { position: static; } }
@media (max-width: 600px) {
	.fh-table table { min-width: 0; }
	.fh-table th, .fh-table td { padding: 0.6rem 0.45rem; font-size: 0.88rem; }
	.fh-table td:not(:first-child) { font-size: 1rem; }
	.fh-table th:first-child, .fh-table td:first-child { width: 46%; }
}
.fh-card.fh-tier .fh-tier__name { color: var(--wp--preset--color--charcoal); }
.fh-card.fh-tier .fh-tier__tag { color: var(--wp--preset--color--orange-deep); }
.fh-table--compare tbody tr:first-child td { background: #FFF4E8; color: var(--wp--preset--color--charcoal); }
.fh-center-text { max-width: 760px; margin-left: auto !important; margin-right: auto !important; text-align: center; color: var(--wp--preset--color--muted); }

/* WCAG AA: #B85A00 is 4.67:1 on white but under 4.5:1 on tinted panels, so orange text on tints goes one step darker. */
.fh-section--tint a:not(.wp-element-button), .fh-section--tint .fh-eyebrow, .fh-section--tint .fh-fact__label,
.fh-related a, .fh-answer .fh-answer__label, .fh-answer a,
.fh-table tbody tr:nth-child(even) td, .fh-table--compare tbody tr:first-child td,
.fh-pains li::before, .fh-calc__btn:hover { color: #A65100; }
.fh-section--tint .fh-card a:not(.wp-element-button), .fh-section--tint .fh-card .fh-tier__tag { color: var(--wp--preset--color--orange-deep); }
.fh-header .fh-logo a { display: block; padding: 5px 0; min-height: 44px; box-sizing: border-box; }
.fh-calc__split { color: #C9C7C3; font-size: 0.9rem; margin-top: 0.35rem !important; font-variant-numeric: tabular-nums; }
.fh-fixed { margin-top: 1.5rem; max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.fh-fixed::before { display: none; }
.fh-fixed h3 { margin-top: 0; }
.fh-fixed-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 1.5rem; margin: 0; }
@media (max-width: 600px) { .fh-fixed-list { grid-template-columns: minmax(0, 1fr); } }
