html, body {
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.wp-site-blocks {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.wp-site-blocks > main {
	flex: 1;
}

/* Sections are direct children of the is-layout-constrained <main>; WP would
 * cap them at 1140 px with auto margins. Override so they span full viewport
 * width (matching the footer), then let .sb-container center the content. */
.is-layout-constrained > section.sb-section,
.is-layout-constrained > nav.sb-breadcrumbs {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/**
 * Sunbusters — main stylesheet.
 *
 * Breakpoints:
 *   - mobile:  max-width: 768px
 *   - tablet:  769px – 1024px
 *   - desktop: min-width: 1025px
 *
 * Organisation:
 *   1. Design tokens
 *   2. Resets & base
 *   3. Layout helpers (.sb-container, .sb-section, .sb-tag, .sb-button)
 *   4. Header / Nav
 *   5. Per-section blocks
 *   6. Footer
 *   7. Responsive overrides
 *   8. Reduced motion
 */

/* ---------- 1. Design tokens ---------- */
:root {
	/* Colors */
	--sb-color-bg: #FFFFFF;
	--sb-color-text: #082228;
	--sb-color-text-darker: #021D26;
	--sb-color-muted: #082228;
	--sb-color-yellow: #FCB900;
	--sb-color-navy-mid: #033040;
	--sb-color-surface-alt: #F6F6F6;
	--sb-color-black: #000000;
	--sb-color-divider: #E4E4E4;
	--sb-color-footer-bg: #011116;
	--sb-color-footer-link: #D9D9D9;
	--sb-color-icon-stroke: #141B34;
	--sb-color-nav-grey: #3D3D3D;
	--sb-color-step-inactive: #CDCBCB;
	--sb-color-step-bg: #EAEAEA;
	--sb-color-overlay-dark: rgba(1, 17, 22, 0.8);
	--sb-color-overlay-step: rgba(233, 240, 243, 0.8);
	--sb-color-link-pill: rgba(8, 34, 40, 0.1);
	--sb-color-text-slate: #31464B;
	--sb-color-card-border: rgba(8, 34, 40, 0.2);
	--sb-color-overlay-black-70: rgba(0, 0, 0, 0.7);
	--sb-color-form-card-dark: #011116;

	/* Font family */
	--sb-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;

	/* Type scale — fluid where it pays off */
	--sb-fs-caption: 11px;
	--sb-fs-legal: 12px;
	--sb-fs-tag: 14px;
	--sb-fs-nav: 14px;
	--sb-fs-button: 15px;
	--sb-fs-link: 15px;
	--sb-fs-body: 16px;
	--sb-fs-body-lg: 18px;
	--sb-fs-card-title: 20px;
	--sb-fs-section-cap: 20px;
	--sb-fs-subheader: 22px;
	--sb-fs-h3: 28px;
	--sb-fs-step: 32px;
	--sb-fs-phone-lg: 36px;
	--sb-fs-h2: clamp(28px, 4vw, 40px);
	--sb-fs-h1: clamp(36px, 4vw, 48px);
	--sb-fs-wordmark: 16px;
	--sb-fs-step-title: 32px;
	--sb-fs-form-subhead: 26px;
	--sb-fs-section-title: 24px;
	--sb-fs-card-title-sm: 17px;

	/* Spacing */
	--sb-space-section-y: clamp(56px, 8vw, 100px);
	--sb-space-section-x: 30px;
	--sb-space-block: 56px;
	--sb-space-block-tight: 40px;
	--sb-space-block-loose: 80px;
	--sb-container-max: 1140px;
	--sb-container-wide: 1200px;

	/* Effects */
	--sb-radius-sm: 4px;
	--sb-radius-md: 8px;
	--sb-radius-lg: 16px;
	--sb-radius-pill: 999px;
	--sb-shadow-card: 0 4px 24px rgba(2, 29, 38, 0.06);
	--sb-shadow-nav: 0 2px 12px rgba(2, 29, 38, 0.06);
	--sb-shadow-hover: 0 8px 32px rgba(2, 29, 38, 0.12);
	--sb-trans: 200ms ease;
}

/* ---------- 2. Resets & base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--sb-font);
	font-size: var(--sb-fs-body);
	line-height: 1.5;
	color: var(--sb-color-text);
	background: var(--sb-color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--sb-trans);
}

a:hover,
a:focus-visible {
	color: var(--sb-color-yellow);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--sb-color-yellow);
	outline-offset: 3px;
	border-radius: var(--sb-radius-sm);
}

button {
	font-family: inherit;
	cursor: pointer;
}

/* ---------- 3. Layout helpers ---------- */
.sb-container {
	width: 100%;
	max-width: var(--sb-container-max);
	margin-inline: auto;
}

.sb-section {
	padding-block: var(--sb-space-section-y);
}

.sb-section--surface-alt {
	background-color: var(--sb-color-surface-alt);
}

.sb-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	background: transparent;
	color: var(--sb-color-text);
	font-size: var(--sb-fs-tag);
	font-weight: 500;
	border: 1px solid var(--sb-color-muted);
	border-radius: var(--sb-radius-pill);
	line-height: 1.4;
	letter-spacing: 0;
	width: max-content;
}

/* Yellow filled tag variant — used on dark surfaces (e.g. Past Projects CTA strip) */
.sb-tag--accent {
	background: var(--sb-color-yellow);
	border-color: var(--sb-color-yellow);
}

.sb-h2 {
	font-size: var(--sb-fs-h2);
	line-height: 1.2;
	letter-spacing: -0.01em;
	font-weight: 700;
	margin: 0;
	color: var(--sb-color-text);
	text-transform: none;
}

.sb-h2--invert {
	color: var(--sb-color-bg);
}

.sb-lead {
	font-size: var(--sb-fs-body);
	line-height: 1.5;
	color: var(--sb-color-text);
	margin: 0;
}

.sb-lead--muted {
	color: var(--sb-color-muted);
}

.sb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	min-width: 222px;
	padding: 0 28px;
	box-sizing: border-box;
	font-size: var(--sb-fs-button);
	font-weight: 700;
	letter-spacing: -0.01em;
	border-radius: var(--sb-radius-pill);
	border: 1px solid transparent;
	background: var(--sb-color-yellow);
	color: var(--sb-color-text);
	text-decoration: none;
	transition: background var(--sb-trans), transform var(--sb-trans),
		box-shadow var(--sb-trans), color var(--sb-trans);
	cursor: pointer;
	line-height: 1;
	white-space: nowrap;
}

.sb-button:hover,
.sb-button:focus-visible {
	background: #ffd24d;
	color: var(--sb-color-text);
	box-shadow: var(--sb-shadow-hover);
}

.sb-button--ghost {
	background: transparent;
	color: var(--sb-color-bg);
	border-color: rgba(255, 255, 255, 0.4);
}

.sb-button--ghost:hover,
.sb-button--ghost:focus-visible {
	background: var(--sb-color-bg);
	color: var(--sb-color-text);
}

.sb-button--dark {
	background: var(--sb-color-text);
	color: var(--sb-color-bg);
}

.sb-button--dark:hover,
.sb-button--dark:focus-visible {
	background: var(--sb-color-navy-mid);
	color: var(--sb-color-bg);
}

.sb-phone-block {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
	font-size: 28px;
	letter-spacing: -1.4px;
	line-height: 36px;
	color: #082228;
}

.sb-phone-block img,
.sb-phone-block__icon {
	width: 34px;
	height: 38px;
	flex-shrink: 0;
	color: var(--sb-color-yellow);
	object-fit: contain;
}

.sb-phone-block:hover,
.sb-phone-block:focus-visible {
	color: var(--sb-color-yellow);
}

.sb-phone-block:hover .sb-phone-block__icon,
.sb-phone-block:focus-visible .sb-phone-block__icon {
	color: var(--sb-color-yellow);
}

/* Dark-surface variant (footer / FAQ on dark backgrounds): keep yellow */
.sb-footer .sb-phone-block,
.sb-hero .sb-phone-block {
	color: var(--sb-color-bg);
}

.sb-phone-block--lg {
	font-size: var(--sb-fs-phone-lg);
}

.sb-phone-block--lg .sb-phone-block__icon {
	width: 32px;
	height: 32px;
}

.sb-accent {
	color: var(--sb-color-yellow);
}

/* Heading helper that mixes a default-colored phrase with an accent-colored
   span, matching the Welcome H2 in Figma where only "Sunbusters Windows
   & Doors" is rendered in brand-yellow. */
.sb-who__title {
	display: block;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- 4. Header / Nav ---------- */
/* Header — sticky on a white background, no shadow. Per Figma the header
   sits on a plain white surface above the hero, not as an overlay on the
   hero image. Keeps layout simple and consistent across all page types. */
.sb-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--sb-color-bg);
	box-shadow: none;
}

.sb-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--sb-container-max);
	margin-inline: auto;
	padding: 18px 0;
	min-height: 92px;
	position: relative;
}

.sb-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.sb-brand__logo {
	width: 60px;
	height: auto;
	flex-shrink: 0;
}

.sb-brand__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1;
}

.sb-brand__wordmark {
	font-weight: 800;
	font-size: var(--sb-fs-wordmark);
	letter-spacing: -0.05em;
	color: var(--sb-color-text);
	text-transform: uppercase;
	white-space: nowrap;
}

.sb-brand__caption {
	font-weight: 600;
	font-size: var(--sb-fs-caption);
	letter-spacing: 0.05em;
	color: var(--sb-color-nav-grey);
	text-transform: uppercase;
	white-space: nowrap;
}

.sb-nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.sb-nav__list {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sb-nav__link {
	font-size: var(--sb-fs-nav);
	font-weight: 500;
	color: var(--sb-color-text);
	letter-spacing: -0.02em;
	padding: 6px 0;
	position: relative;
}

.sb-nav__link:hover,
.sb-nav__link:focus-visible {
	color: var(--sb-color-yellow);
}

.sb-nav__link[aria-current="page"]::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: var(--sb-color-yellow);
}

.sb-nav__cta {
	flex-shrink: 0;
}

/* Yellow hover/focus on links inside header navigation submenus (dropdowns). */
.wp-block-navigation__submenu-container a:hover,
.wp-block-navigation__submenu-container a:focus-visible,
.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	color: var(--sb-color-yellow);
}

/* Mobile menu — CSS-only via <details> */
.sb-mobile-menu {
	display: none;
	position: relative;
}

.sb-mobile-menu__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid var(--sb-color-divider);
	border-radius: var(--sb-radius-sm);
	padding: 10px;
	cursor: pointer;
	color: var(--sb-color-text);
	list-style: none;
}

.sb-mobile-menu__toggle::-webkit-details-marker {
	display: none;
}

.sb-mobile-menu__toggle svg {
	width: 24px;
	height: 24px;
	pointer-events: none;
}

.sb-mobile-menu[open] .sb-mobile-menu__panel {
	display: flex;
}

.sb-mobile-menu__panel {
	display: none;
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	background: var(--sb-color-bg);
	flex-direction: column;
	min-width: 240px;
	padding: 16px;
	gap: 4px;
	box-shadow: var(--sb-shadow-hover);
	border: 1px solid var(--sb-color-divider);
	border-radius: var(--sb-radius-md);
	z-index: 49;
}

.sb-mobile-menu__panel a {
	font-size: var(--sb-fs-body-lg);
	font-weight: 500;
	padding: 10px 12px;
	border-radius: var(--sb-radius-sm);
	color: var(--sb-color-text);
}

.sb-mobile-menu__panel a:hover,
.sb-mobile-menu__panel a:focus-visible {
	background: var(--sb-color-surface-alt);
	color: var(--sb-color-yellow);
}

.sb-mobile-menu__panel .sb-button {
	margin-top: 12px;
	width: 100%;
}

/* Mobile menu submenu groups (Windows / Doors / Blinds / Resources).
   <details>/<summary> per group; children stack vertically (one per row),
   each child indented to read as a sub-item. */
.sb-mobile-menu__group {
	display: flex;
	flex-direction: column;
	border-radius: 8px;
}

.sb-mobile-menu__group > summary {
	list-style: none;
	cursor: pointer;
	padding: 12px 14px;
	font-weight: 600;
	font-size: 15px;
	color: var(--sb-color-text);
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-radius: 8px;
	transition: background var(--sb-trans);
}

.sb-mobile-menu__group > summary::-webkit-details-marker,
.sb-mobile-menu__group > summary::marker {
	display: none;
	content: '';
}

.sb-mobile-menu__group > summary::after {
	content: '+';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	font-size: 20px;
	font-weight: 700;
	color: var(--sb-color-text);
	background: transparent;
	border-radius: 0;
	margin-left: 12px;
	line-height: 1;
}

.sb-mobile-menu__group[open] > summary::after {
	content: '−';
}

.sb-mobile-menu__group > summary:hover,
.sb-mobile-menu__group > summary:focus-visible {
	background: var(--sb-color-surface-alt);
}

.sb-mobile-menu__group a {
	display: block;
	padding: 10px 14px 10px 32px;
	font-size: 14px;
	color: var(--sb-color-muted);
	border-radius: 8px;
}

.sb-mobile-menu__group a:hover,
.sb-mobile-menu__group a:focus-visible {
	background: var(--sb-color-surface-alt);
	color: var(--sb-color-yellow);
}

/* The nav is rendered via a shortcode, and wpautop wraps the group's sub-links
   in a <p>. Neutralise it so children still stack one per row (not inline). */
.sb-mobile-menu__group p {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

/* Mobile menu panel polish — soft shadow under panel, full-width links,
   left-aligned children (single column, one item per row). */
.sb-mobile-menu__panel {
	gap: 2px;
	padding: 16px;
	border-radius: 12px;
	box-shadow: var(--sb-shadow-card);
	background: var(--sb-color-bg);
}

/* ---------- 5. Sections ---------- */

/* --- Hero --- */
/* Full-bleed banners — escape the root padding that WP applies to
   .has-global-padding parents. Use WP's own CSS variables so any future
   theme-setting change propagates here automatically; fall back to a vw
   trick if the variables are unset. */
.sb-hero,
.sb-page-hero,
.sb-page-hero--centered {
	position: relative;
	width: auto;
	max-width: none;
	margin-left: calc(var(--wp--style--root--padding-left, 0px) * -1);
	margin-right: calc(var(--wp--style--root--padding-right, 0px) * -1);
	border-radius: 0;
}

.sb-hero {
	overflow: hidden;
	background-color: var(--sb-color-text);
	color: var(--sb-color-bg);
	min-height: 720px;
	display: flex;
	align-items: center;
}

.sb-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

.sb-hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(1, 17, 22, 0.92) 0%,
		rgba(1, 17, 22, 0.65) 55%,
		rgba(1, 17, 22, 0.45) 100%
	);
}

.sb-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--sb-container-max);
	margin-inline: auto;
	padding: clamp(60px, 7vw, 90px) var(--sb-space-section-x);
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
	gap: 64px;
	align-items: center;
}

.sb-hero__content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.sb-hero__eyebrow {
	font-size: var(--sb-fs-subheader);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--sb-color-yellow);
	text-transform: none;
	margin: 0;
}

.sb-hero__title {
	font-size: var(--sb-fs-h1);
	line-height: 1.25;
	letter-spacing: -0.01em;
	font-weight: 700;
	margin: 0;
	color: var(--sb-color-bg);
}

.sb-hero__description {
	font-size: var(--sb-fs-body-lg);
	line-height: 1.55;
	max-width: 56ch;
	color: #fff;
	margin: 0;
}

.sb-hero__cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
	margin-top: 8px;
}

.sb-hero__phone {
	color: var(--sb-color-bg);
}

/* Hero form card — Figma: 360x460, padding 50/30, gap 25, radius 15, rgba+white border */
.sb-hero__form {
	background: rgba(1, 17, 22, 0.8);
	border: 1px solid #fff;
	color: rgba(255, 255, 255, 0.92);
	border-radius: 15px;
	padding: 50px 30px;
	box-shadow: var(--sb-shadow-hover);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 25px;
	max-width: 360px;
	width: 100%;
	justify-self: end;
	box-sizing: border-box;
}

.sb-hero__form-title {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	text-align: center;
	margin: 0;
	line-height: 1.2;
	color: #fff;
}

.sb-hero__form-title-accent {
	display: block;
	font-size: 20px;
	color: var(--sb-color-yellow);
}

.sb-hero__form .sb-field {
	width: 280px;
	max-width: 100%;
}

.sb-hero__form .sb-field__input {
	background: #fff;
	color: var(--sb-color-text);
	border: 1px solid transparent;
	border-radius: 8px;
	height: 50px;
	padding: 0 20px;
	box-sizing: border-box;
	width: 100%;
}

.sb-hero__form .sb-button {
	height: 48px;
	padding: 0 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.sb-hero__form .sb-field__input::placeholder {
	color: var(--sb-color-text-slate);
	font-style: italic;
	opacity: 1;
}

.sb-hero__form .sb-field__input:focus {
	border-color: var(--sb-color-yellow);
}

.sb-hero__form .sb-button {
	border-radius: var(--sb-radius-pill);
	width: 280px;
	max-width: 100%;
}

.sb-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sb-field__label {
	font-size: var(--sb-fs-tag);
	font-weight: 500;
	color: var(--sb-color-text);
}

.sb-field__input {
	font: inherit;
	font-size: var(--sb-fs-body);
	border: 1px solid var(--sb-color-divider);
	border-radius: var(--sb-radius-sm);
	padding: 12px 14px;
	background: var(--sb-color-bg);
	color: var(--sb-color-text);
	transition: border-color var(--sb-trans);
}

.sb-field__input:focus {
	border-color: var(--sb-color-yellow);
	outline: none;
}

/* --- Who we are --- */
.sb-who__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 54px;
	align-items: center;
}

.sb-who__content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.sb-who__heading {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sb-who__bullets {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sb-who__bullets li {
	position: relative;
	padding-left: 22px;
	font-size: var(--sb-fs-body);
	font-weight: 700;
	line-height: 1.5;
	color: var(--sb-color-text);
}

.sb-who__bullets li::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 0.55em;
	width: 6px;
	height: 6px;
	background: var(--sb-color-text);
	border-radius: 50%;
}

.sb-who__cta-row {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 24px;
	margin-top: 8px;
}

.sb-who__cta-row .sb-button {
	flex: 0 0 auto;
}

.sb-who__cta-row .sb-phone-block {
	flex: 0 0 auto;
}

.sb-who__separator {
	flex: 0 0 auto;
	font-weight: 500;
	font-size: var(--sb-fs-body);
	letter-spacing: -0.05em;
	color: var(--sb-color-muted);
	text-transform: uppercase;
}

.sb-who__image {
	border-radius: var(--sb-radius-lg);
	overflow: hidden;
	aspect-ratio: 490 / 700;
	width: 100%;
}

.sb-who__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Recognitions --- */
.sb-recognitions {
	padding-block: clamp(48px, 6vw, 80px);
}

.sb-recognitions__grid {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}

/* Recognitions strip is laid out as a 4-column × 2-row grid: top row holds
   the partner-platform badges (Google / Facebook / BBB / Energy Star),
   bottom row holds the 4 "Best in Calgary" medals. The first 4 items in the
   query land in row 1, the last 4 in row 2 automatically via CSS Grid. */
.sb-recognitions__strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	row-gap: 32px;
	column-gap: 32px;
	align-items: center;
	justify-items: center;
}

.sb-recognitions__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 60px;
}

.sb-recognitions__item img {
	max-height: 72px;
	max-width: 100%;
	width: auto;
	object-fit: contain;
}

.sb-recognitions__rating {
	font-weight: 700;
	font-size: var(--sb-fs-section-cap);
	color: var(--sb-color-text);
}

.sb-recognitions__label {
	font-weight: 500;
	font-size: var(--sb-fs-section-cap);
	color: var(--sb-color-text);
	white-space: nowrap;
}

.sb-recognitions__item a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

/* --- Choose Us --- */
.sb-choose-us__header {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	margin-bottom: 56px;
}

.sb-choose-us__header .sb-lead {
	color: #082228;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
}

.sb-choose-us__heading {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sb-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.sb-card {
	background: #F6F6F6;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 24px;
	display: grid;
	grid-template-columns: 40px 1fr;
	column-gap: 14px;
	row-gap: 12px;
	box-shadow: 0 4px 4px 0 rgba(8, 34, 40, 0.25);
	transition: box-shadow var(--sb-trans);
}

.sb-card__icon { grid-column: 1; grid-row: 1; align-self: center; }
.sb-card__title { grid-column: 2; grid-row: 1; align-self: center; }
.sb-card__body { grid-column: 1 / -1; grid-row: 2; }

/* The 6 choose-us card icons are self-contained SVGs that already include
   the navy circle background + yellow glyph (designed to be dropped in as-is). */
.sb-card__icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.sb-card__icon img,
.sb-card__icon svg {
	width: 100%;
	height: 100%;
}

.sb-card__title {
	font-size: var(--sb-fs-card-title);
	font-weight: 600;
	color: var(--sb-color-text);
	margin: 0;
	line-height: 1.25;
}

.sb-card__body {
	font-size: var(--sb-fs-body);
	color: var(--sb-color-muted);
	margin: 0;
	line-height: 1.5;
}

.sb-choose-us__footer {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}

/* --- Deals --- */
.sb-deals__header {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	text-align: center;
	margin-bottom: 56px;
}

.sb-deal-col {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.sb-deals__step-col {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1;
	margin-bottom: 40px;
}

/* Connector line pinned from centre of col-1 to centre of col-3 */
.sb-deals__grid::before {
	content: '';
	position: absolute;
	top: 22px;
	left: calc(100% / 6);
	right: calc(100% / 6);
	height: 2px;
	background: var(--sb-color-step-bg);
	z-index: 0;
}

.sb-deals__step {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--sb-color-surface-alt);
	color: var(--sb-color-text);
	font-weight: 700;
	font-size: var(--sb-fs-body-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* 01 is active by default; deactivates when a sibling card is hovered */
.sb-deal-col:first-child .sb-deals__step {
	background: var(--sb-color-text);
	color: var(--sb-color-yellow);
}

.sb-deals__grid:has(.sb-deal-col:hover) .sb-deal-col:first-child .sb-deals__step {
	background: var(--sb-color-surface-alt);
	color: var(--sb-color-text);
}

.sb-deal-col:hover .sb-deals__step {
	background: var(--sb-color-text);
	color: var(--sb-color-yellow);
}

.sb-deals__step--inactive {
	background: var(--sb-color-step-inactive);
	color: var(--sb-color-text);
}

.sb-deals__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	position: relative;
}

.sb-deal {
	position: relative;
	background: #F6F6F6;
	border-radius: 12px;
	border: 1px solid rgba(8, 34, 40, 0.20);
	display: grid;
	grid-template-rows: 1fr auto auto;
	padding: 20px 16px;
	gap: 16px;
	flex: 1;
}

.sb-deal__image {
	aspect-ratio: 334 / 180;
	overflow: hidden;
	background: var(--sb-color-surface-alt);
	border-radius: 8px;
}

.sb-deal__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sb-deal__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-content: start;
}

.sb-deal__eyebrow {
	font-size: var(--sb-fs-tag);
	font-weight: 500;
	color: #082228;
	margin: 0;
}

.sb-deal__title {
	font-size: 18px;
	font-weight: 600;
	color: #082228;
	margin: 0;
	line-height: 26px;
}

.sb-deal__description {
	font-size: 16px;
	color: #082228;
	font-weight: 400;
	margin: 0;
	line-height: 24px;
	flex: 1;
}

.sb-deal__description strong,
.sb-deal__description b {
	font-weight: 700;
}

.sb-deal__cta-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.sb-deal__cta {
	align-self: center;
}

.sb-deal__phone {
	font-size: 28px;
	text-align: center;
}

/* Deal card hover state — Figma shows the hovered card switching to a dark
   navy background with yellow eyebrow + white body + a stretched yellow CTA.
   All three deal cards stay the same size; only the colour scheme flips
   on pointer-enter. */
.sb-deal {
	transition: background var(--sb-trans), border-color var(--sb-trans),
		color var(--sb-trans), box-shadow var(--sb-trans);
}

.sb-deal:hover,
.sb-deal:focus-within {
	background: var(--sb-color-text);
	border-color: var(--sb-color-text);
	box-shadow: 0 12px 32px rgba(8, 34, 40, 0.22);
}

.sb-deal:hover .sb-deal__title,
.sb-deal:focus-within .sb-deal__title {
	color: #FFFFFF;
}

.sb-deal:hover .sb-deal__eyebrow,
.sb-deal:focus-within .sb-deal__eyebrow {
	color: var(--sb-color-yellow);
}

.sb-deal:hover .sb-deal__description,
.sb-deal:hover .sb-deal__description p,
.sb-deal:hover .sb-deal__description strong,
.sb-deal:focus-within .sb-deal__description,
.sb-deal:focus-within .sb-deal__description p,
.sb-deal:focus-within .sb-deal__description strong {
	color: rgba(255, 255, 255, 0.8);
}

.sb-deal:hover .sb-deal__cta,
.sb-deal:focus-within .sb-deal__cta {
	background: var(--sb-color-yellow);
	color: var(--sb-color-text);
	border-color: var(--sb-color-yellow);
}

.sb-deal:hover .sb-phone-block,
.sb-deal:focus-within .sb-phone-block {
	color: var(--sb-color-yellow);
}

/* Inside deal CTA wrap — match button height so the phone row sits on the
   same baseline as the buttons in the other cards. */
.sb-deal__cta-wrap .sb-phone-block {
	height: 50px;
	align-items: center;
}

/* --- Advantages --- */
.sb-advantages__grid {
	display: grid;
	grid-template-columns: minmax(280px, 424px) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

.sb-advantages__sidebar {
	position: sticky;
	top: 110px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.sb-advantages__steps {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.sb-step {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 32px;
	background: #F6F6F6;
	border-radius: 12px;
	border: 1px solid rgba(8, 34, 40, 0.20);
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.sb-step__title {
	font-size: var(--sb-fs-step);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	color: var(--sb-color-text);
	margin: 0;
}

.sb-step__body {
	font-size: var(--sb-fs-body);
	color: var(--sb-color-text);
	line-height: 1.6;
	margin: 0;
}

/* --- Testimonials --- */
.sb-testimonials {
	background: transparent;
}

.sb-testimonials__header {
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	margin-bottom: 48px;
}

/* "Excellent on Google" rating block — vertical layout, no border, no
   button chrome. Logo + label on top row, stars + reviews count below.
   Centred horizontally under the Testimonials header. */
.sb-google-rating {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0 auto 40px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--sb-color-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	width: max-content;
	max-width: 100%;
	text-align: center;
}

.sb-testimonials .sb-google-rating {
	display: flex;
}

.sb-google-rating__top {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.sb-google-rating__logo {
	display: inline-flex;
	align-items: center;
}

.sb-google-rating__logo svg {
	display: block;
	width: 24px;
	height: 24px;
}

.sb-google-rating__label {
	font-weight: 700;
	color: var(--sb-color-text);
}

.sb-google-rating__bottom {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.sb-google-rating__stars {
	display: inline-flex;
	gap: 2px;
	color: var(--sb-color-yellow);
	font-size: 14px;
	line-height: 1;
}

.sb-google-rating__text {
	color: var(--sb-color-muted);
}

.sb-google-rating:hover .sb-google-rating__label,
.sb-google-rating:focus-visible .sb-google-rating__label {
	color: var(--sb-color-yellow);
}

.sb-testimonials__widget {
	background: var(--sb-color-bg);
	border-radius: var(--sb-radius-lg);
	border: 1px dashed var(--sb-color-divider);
	padding: 64px 32px;
	text-align: center;
	color: var(--sb-color-muted);
	font-size: var(--sb-fs-body);
}

.sb-testimonials__grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

/* Testimonial: speech-bubble around rating+body, author/avatar lives
   OUTSIDE the bubble (visually below it), with a CSS-only tail pointing
   from the bubble down to the avatar — matches Figma exactly. */
.sb-testimonial {
	background: transparent;
	box-shadow: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.sb-testimonial__rating,
.sb-testimonial__body {
	background: var(--sb-color-surface-alt);
	margin: 0;
	padding-inline: 24px;
}

.sb-testimonial__rating {
	padding-top: 24px;
	padding-bottom: 12px;
	border-radius: var(--sb-radius-lg, 16px) var(--sb-radius-lg, 16px) 0 0;
}

.sb-testimonial__body {
	padding-bottom: 24px;
	border-radius: 0 0 var(--sb-radius-lg, 16px) var(--sb-radius-lg, 16px);
	position: relative;
}

/* Tail anchored to the bottom-left of the body, drops 10px toward the
   avatar that sits in the author footer below. */
.sb-testimonial__body::after {
	content: '';
	position: absolute;
	left: 32px;
	bottom: -10px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 12px 12px 0 0;
	border-color: var(--sb-color-surface-alt) transparent transparent transparent;
}

.sb-testimonial__author {
	background: transparent;
	padding: 24px 8px 0;
	border-top: 0;
	margin: 0;
}

.sb-testimonial__rating {
	display: inline-flex;
	gap: 2px;
	font-size: 18px;
	line-height: 1;
}

.sb-testimonial__star {
	color: var(--sb-color-divider);
}

.sb-testimonial__star.is-on {
	color: var(--sb-color-yellow);
}

.sb-testimonial__body {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--sb-color-text);
}

.sb-testimonial__body p {
	margin: 0 0 12px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* When the user clicks "Read more", the JS adds .is-expanded to the card
   — drop the clamp so the full review text is visible. */
.sb-testimonial.is-expanded .sb-testimonial__body p {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.sb-testimonial__body p:last-child {
	margin-bottom: 0;
}

.sb-testimonial__read-more {
	display: inline-block;
	margin-top: 8px;
	color: var(--sb-color-yellow);
	font-weight: 700;
	font-size: var(--sb-fs-tag);
	text-decoration: none;
	letter-spacing: 0;
}

.sb-testimonial__read-more:hover,
.sb-testimonial__read-more:focus-visible {
	color: var(--sb-color-yellow);
	text-decoration: underline;
}

.sb-testimonial__author {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 12px;
	border-top: 0;
}

.sb-testimonial__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.sb-testimonial__avatar--initials {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
	user-select: none;
}

.sb-testimonial__name {
	margin: 0;
	font-weight: 600;
	font-size: 15px;
	color: var(--sb-color-text);
}

.sb-testimonial__meta {
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--sb-color-muted);
}

.sb-testimonials__empty {
	text-align: center;
	padding: 48px 16px;
	color: var(--sb-color-muted);
}

@media (max-width: 1024px) {
	.sb-testimonials__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.sb-testimonials__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* --- Past Projects --- */
.sb-projects__header {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 680px;
	margin-bottom: 56px;
}

.sb-projects__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

/* Past Projects card — two stacked plates per Figma: image + dark title bar
   on top (rounded together), then a separate white description plate with
   its own border and radius below. A 16px gap separates the two plates. */
.sb-project {
	background: transparent;
	border: 0;
	display: flex;
	flex-direction: column;
}

.sb-project__image {
	aspect-ratio: 366 / 336;
	background: var(--sb-color-surface-alt);
	overflow: hidden;
	border-radius: var(--sb-radius-lg) var(--sb-radius-lg) 0 0;
}

.sb-project__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sb-project__body {
	background: #FFF;
	border: 1px solid #E4E4E4;
	border-radius: 8px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
	box-shadow: 0 4px 4px 0 rgba(8, 34, 40, 0.25);
}

.sb-project__title {
	font-size: var(--sb-fs-card-title);
	font-weight: 500;
	color: var(--sb-color-text);
	margin: 0;
	line-height: 1.3;
}

.sb-project__description {
	font-size: 15px;
	color: var(--sb-color-muted);
	line-height: 1.5;
	margin: 0;
	flex: 1;
}

.sb-project__info {
	display: grid;
	grid-template-columns: 1fr 1px 1fr;
	gap: 16px;
	align-items: center;
}

.sb-project__info-divider {
	background: var(--sb-color-divider);
	height: 100%;
	min-height: 32px;
	width: 1px;
}

.sb-project__info-label {
	font-size: 14px;
	font-weight: 400;
	color: #082228;
	margin: 0 0 4px 0;
}

.sb-project__info-value {
	font-size: var(--sb-fs-body);
	font-weight: 400;
	color: #082228;
	margin: 0;
}

.sb-projects__cta {
	margin-top: 64px;
	background: var(--sb-color-yellow);
	color: var(--sb-color-text);
	border-radius: 12px;
	padding: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.sb-projects__cta-text {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 80ch;
	flex: 1;
}

.sb-projects__cta-title {
	font-size: var(--sb-fs-h2);
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
	color: var(--sb-color-text);
}

.sb-projects__cta-description {
	font-size: var(--sb-fs-body);
	color: var(--sb-color-text);
	opacity: 0.8;
	margin: 0;
}

.sb-projects__cta .sb-button {
	background: var(--sb-color-text);
	color: var(--sb-color-yellow);
	border-radius: 999px;
}

.sb-projects__cta .sb-button:hover,
.sb-projects__cta .sb-button:focus-visible {
	background: var(--sb-color-text-darker);
	color: var(--sb-color-yellow);
}

/* --- FAQ --- */
.sb-faq__grid {
	display: grid;
	grid-template-columns: minmax(280px, 492px) minmax(0, 1fr);
	gap: 68px;
	align-items: start;
}

.sb-faq__sidebar {
	position: sticky;
	top: 110px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sb-faq__sub {
	color: #082228;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	margin: 0;
}

.sb-faq__list {
	display: flex;
	flex-direction: column;
}

.sb-faq__item {
	border-bottom: 1px solid var(--sb-color-divider);
}

.sb-faq__item[open] .sb-faq__icon-plus {
	display: none;
}

.sb-faq__item[open] .sb-faq__icon-minus {
	display: inline;
}

.sb-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
	font-weight: 500;
	font-size: var(--sb-fs-body-lg);
	color: var(--sb-color-text);
}

.sb-faq__item summary::-webkit-details-marker {
	display: none;
}

.sb-faq__icon {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--sb-color-text);
	color: #fff;
	border-radius: 50%;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	transition: background var(--sb-trans);
}

.sb-faq__item:hover summary .sb-faq__icon,
.sb-faq__item[open] summary .sb-faq__icon {
	background: var(--sb-color-yellow);
	color: var(--sb-color-text);
}

.sb-faq__icon-plus,
.sb-faq__icon-minus {
	display: inline-block;
	width: 1em;
	text-align: center;
	line-height: 0;
	transform: translate(0px, -1px);
}

.sb-faq__icon-minus {
	display: none;
}

/* Product-page "Choose Your Style" reuses the FAQ accordion structure, so the
   +/- circle pill should look identical to .sb-faq__icon. Selectors are
   listed explicitly so the contract holds even if the markup ever drifts
   from .sb-faq__item. Hover + [open] flip dark → yellow, same as FAQ. */
.sb-style-picker .sb-faq__icon,
.sb-style-picker .sb-style-picker__toggle .sb-faq__icon,
.sb-style__item .sb-faq__icon {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--sb-color-text);
	color: #fff;
	border-radius: 50%;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	transition: background var(--sb-trans), color var(--sb-trans);
}

.sb-style-picker .sb-style__item:hover summary .sb-faq__icon,
.sb-style-picker .sb-style__item[open] summary .sb-faq__icon,
.sb-style__item:hover .sb-style-picker__toggle .sb-faq__icon,
.sb-style__item[open] .sb-style-picker__toggle .sb-faq__icon {
	background: var(--sb-color-yellow);
	color: var(--sb-color-text);
}

.sb-style-picker .sb-faq__icon-plus,
.sb-style-picker .sb-faq__icon-minus,
.sb-style__item .sb-faq__icon-plus,
.sb-style__item .sb-faq__icon-minus {
	display: block;
	line-height: 0;
	/* Match home FAQ optical-centering nudge so the +/- glyph sits perfectly
	   centred inside the 28px pill — Inter's glyph metrics need 1px right /
	   1px up to look mathematically centred. */
	transform: translate(0px, -1px);
}

.sb-style-picker .sb-faq__icon-minus,
.sb-style__item .sb-faq__icon-minus {
	display: none;
}

.sb-style-picker .sb-style__item[open] .sb-faq__icon-plus,
.sb-style__item[open] .sb-faq__icon-plus {
	display: none;
}

.sb-style-picker .sb-style__item[open] .sb-faq__icon-minus,
.sb-style__item[open] .sb-faq__icon-minus {
	display: inline;
}

.sb-faq__answer {
	font-size: var(--sb-fs-body);
	color: var(--sb-color-text);
	line-height: 1.6;
	margin: 0 0 20px 0;
	max-width: 60ch;
}

/* --- Service area --- */
.sb-service-area__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}

.sb-service-area__map {
	border-radius: var(--sb-radius-lg);
	overflow: hidden;
	aspect-ratio: 519 / 380;
	background: var(--sb-color-surface-alt);
}

.sb-service-area__map img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sb-service-area__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.sb-service-area__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 8px;
}

.sb-service-area__pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	background: transparent;
	border-radius: 0;
	font-size: var(--sb-fs-body);
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--sb-color-text);
	text-decoration: none;
	transition: color var(--sb-trans);
}

.sb-service-area__pill:hover,
.sb-service-area__pill:focus-visible {
	background: transparent;
	color: var(--sb-color-yellow);
}

/* ---------- 6. Footer ---------- */
.sb-footer {
	background: var(--sb-color-footer-bg);
	color: var(--sb-color-bg);
	padding: 100px var(--sb-space-section-x) 40px;
}

.sb-footer__inner {
	max-width: var(--sb-container-max);
	margin-inline: auto;
}

.sb-footer__top {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 48px;
	padding-bottom: 64px;
}

.sb-footer__brand {
	grid-column: span 2;
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 435px;
}

.sb-footer__logo {
	width: 167px;
	height: auto;
}

.sb-footer__description {
	font-size: var(--sb-fs-link);
	line-height: 1.6;
	color: var(--sb-color-footer-link);
	margin: 0;
}

.sb-footer__socials {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-top: 8px;
}

.sb-footer__social {
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: transparent;
	border: 1px solid #fff;
	color: var(--sb-color-bg);
	box-sizing: border-box;
	transition: background var(--sb-trans), color var(--sb-trans), border-color var(--sb-trans);
}

.sb-footer__social:hover,
.sb-footer__social:focus-visible {
	background: var(--sb-color-yellow);
	border-color: var(--sb-color-yellow);
	color: var(--sb-color-text);
}

.sb-footer__social svg {
	width: 16px;
	height: 16px;
}

.sb-footer__col h3 {
	font-size: var(--sb-fs-section-cap);
	font-weight: 700;
	color: var(--sb-color-yellow);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0 0 20px 0;
	line-height: 1.2;
}

.sb-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 10px;
	text-align: left;
}

.sb-footer__list li,
.sb-footer__list a {
	font-size: var(--sb-fs-link);
	font-weight: 400;
	color: var(--sb-color-footer-link);
	letter-spacing: -0.01em;
	line-height: 1.5;
	text-align: left;
}

/* WP navigation block (used inside footer columns) defaults to center-
   justifying its items. Force flush-left to match Figma — titles and
   children both align to the left edge of the column. */
/* Override WP navigation CSS variables to force vertical layout in footer */
.sb-footer__col .wp-block-navigation {
	--navigation-layout-direction: column;
	--navigation-layout-wrap: nowrap;
	--navigation-layout-align: flex-start;
	--navigation-layout-justify: flex-start;
}

.sb-footer__col .wp-block-navigation__container {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	gap: 8px !important;
	text-align: left !important;
}

.sb-footer__columns .wp-block-navigation-item {
	justify-content: flex-start !important;
	align-items: flex-start !important;
	text-align: left !important;
	width: 100%;
}

.sb-footer__columns .wp-block-navigation-item__content {
	text-align: left !important;
}

.sb-footer__list a:hover,
.sb-footer__list a:focus-visible,
.sb-footer__columns .wp-block-navigation-item__content:hover,
.sb-footer__columns .wp-block-navigation-item__content:focus-visible,
.sb-footer__columns .wp-block-navigation-item a:hover,
.sb-footer__columns .wp-block-navigation-item a:focus-visible {
	color: var(--sb-color-yellow);
}

.sb-footer__list li strong {
	font-weight: 700;
	color: var(--sb-color-bg);
}

.sb-footer__contact-row {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.sb-footer__contact-row svg,
.sb-footer__contact-row img {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	flex-shrink: 0;
}

.sb-footer__columns {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 48px;
	padding: 64px 0;
}

.sb-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 32px;
	font-size: var(--sb-fs-legal);
	color: var(--sb-color-footer-link);
}

.sb-footer__legal {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---------- 7. Responsive ---------- */

/* Tablet 769–1024 */
@media (max-width: 1024px) {
	:root {
		--sb-space-section-x: 24px;
	}

	.sb-container {
		padding-inline: var(--sb-space-section-x);
	}

	.sb-header__inner {
		min-height: 76px;
		padding: 14px var(--sb-space-section-x);
	}

	.sb-nav__list {
		gap: 20px;
	}

	.sb-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.sb-hero {
		min-height: 0;
	}

	.sb-hero__form {
		justify-self: start;
		max-width: 100%;
	}

	.sb-who__grid,
	.sb-service-area__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.sb-who__image {
		max-width: 480px;
		aspect-ratio: 4 / 3;
	}

	.sb-recognitions__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.sb-recognitions__strip {
		justify-content: flex-start;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sb-choose-us__header {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		align-items: start;
	}

	.sb-cards,
	.sb-deals__grid,
	.sb-projects__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sb-deals__step-col {
		display: none;
	}

	.sb-advantages__grid,
	.sb-faq__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.sb-advantages__sidebar,
	.sb-faq__sidebar {
		position: static;
	}

	/* Tablet footer: brand full-width on top, then BH|Contacts in 2 cols,
	   nav columns also 2×2 — all columns align to the same 2-col grid */
	.sb-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}

	.sb-footer__brand {
		grid-column: 1 / span 2;
		max-width: 480px;
	}

	.sb-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}
}

/* Mobile ≤768 */
@media (max-width: 768px) {
	:root {
		--sb-space-section-x: 20px;
		--sb-space-section-y: 64px;
	}

	/* Hide desktop nav, show hamburger */
	.sb-nav__list,
	.sb-nav__cta {
		display: none;
	}

	.sb-header {
		position: relative;
	}

	.sb-mobile-menu {
		display: block;
		position: static;
	}

	.sb-mobile-menu__panel {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		min-width: unset;
		border-radius: 0 0 16px 16px;
		border-top: none;
		z-index: 100;
	}

	.sb-mobile-menu__panel a {
		font-size: 15px;
	}

	.sb-mobile-menu__panel .sb-button {
		border-radius: var(--sb-radius-btn);
	}

	/* Keep the brand caption ("Windows & Doors") visible on mobile and on
	   one line — Figma shows it always next to the wordmark, never wrapping. */
	.sb-brand__caption {
		display: block;
		white-space: nowrap;
	}

	.sb-brand__wordmark {
		white-space: nowrap;
	}

	.sb-brand__logo {
		width: 40px;
	}

	/* Mobile footer alignment — Figma keeps columns left-aligned (titles +
	   items both flush left), not centered. */
	.sb-footer__col,
	.sb-footer__col h3,
	.sb-footer__list,
	.sb-footer__list li,
	.sb-footer__list a {
		text-align: left;
	}

	.sb-footer__list {
		align-items: flex-start;
	}

	/* Sections */
	.sb-hero__inner {
		padding-block: 80px;
	}

	.sb-hero__form {
		padding: 36px 24px;
	}

	.sb-cards,
	.sb-deals__grid,
	.sb-projects__grid,
	.sb-footer__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	/* Reset span-2 from tablet so brand doesn't force an implicit 2-col grid */
	.sb-footer__brand {
		grid-column: 1;
		max-width: 100%;
	}

	.sb-footer__columns {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.sb-footer__top {
		padding-bottom: 32px;
	}

	.sb-deals__grid::before {
		display: none;
	}

	.sb-testimonials__header {
		gap: 10px;
		margin-bottom: 32px;
	}

	.sb-projects__cta {
		padding: 28px;
		flex-direction: column;
		align-items: flex-start;
	}

	.sb-projects__cta-title {
		font-size: 26px;
	}

	.sb-recognitions__strip {
		gap: 16px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sb-recognitions__item img {
		max-height: 44px;
	}

	.sb-who__cta-row {
		flex-wrap: wrap;
		gap: 16px;
	}

	.sb-step {
		padding: 24px;
	}

	.sb-step__title {
		font-size: 26px;
	}

	.sb-footer {
		padding: 64px var(--sb-space-section-x) 32px;
	}

	.sb-footer__bottom {
		justify-content: flex-start;
	}

	.sb-phone-block {
		font-size: 22px;
	}

	.sb-phone-block--lg {
		font-size: 28px;
	}

	.sb-faq__item summary {
		font-size: var(--sb-fs-body);
		padding: 16px 0;
	}
}

/* ---------- 8. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.sb-button:hover {
		transform: none;
	}
}

/* ============================================================
   Inner pages — shared building blocks
   ============================================================ */

/* --- Breadcrumbs --- */
.sb-breadcrumbs {
	padding-block: 14px;
	border-bottom: 1px solid var(--sb-color-divider);
}

.sb-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--sb-fs-tag);
	color: var(--sb-color-muted);
}

.sb-breadcrumbs__item a {
	color: var(--sb-color-muted);
	transition: color var(--sb-trans);
}

.sb-breadcrumbs__item a:hover,
.sb-breadcrumbs__item a:focus-visible {
	color: var(--sb-color-text);
}

.sb-breadcrumbs__item--current span {
	color: var(--sb-color-text);
	font-weight: 500;
}

.sb-breadcrumbs__separator {
	color: var(--sb-color-muted);
	user-select: none;
}

/* --- Page Hero (Location / Product) --- */
.sb-page-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--sb-color-text);
	color: var(--sb-color-bg);
	min-height: 600px;
	display: flex;
	align-items: center;
}

.sb-page-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

.sb-page-hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(1, 17, 22, 0.92) 0%,
		rgba(1, 17, 22, 0.65) 55%,
		rgba(1, 17, 22, 0.45) 100%
	);
}

.sb-page-hero__bg--overlay-dark::after {
	background: rgba(0, 0, 0, 0.35);
}

.sb-page-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--sb-container-max);
	margin-inline: auto;
	padding: clamp(80px, 10vw, 120px) var(--sb-space-section-x);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
	gap: 64px;
	align-items: center;
}

.sb-page-hero__content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 650px;
}

.sb-page-hero__title {
	font-size: clamp(32px, 4.4vw, 48px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	font-weight: 700;
	margin: 0;
	color: var(--sb-color-bg);
}

.sb-page-hero__description {
	font-size: var(--sb-fs-body-lg);
	line-height: 1.5;
	max-width: 56ch;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}

.sb-page-hero__phone {
	color: var(--sb-color-bg);
}

.sb-page-hero__cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
}

/* Dark form card */
.sb-page-hero__form-card {
	background: rgba(1, 17, 22, 0.8);
	border: 1px solid #fff;
	color: var(--sb-color-bg);
	border-radius: 15px;
	padding: 50px 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 25px;
	width: 100%;
	max-width: 360px;
	justify-self: end;
	box-sizing: border-box;
	box-shadow: var(--sb-shadow-hover);
}

.sb-page-hero__form-card .sb-field {
	width: 280px;
	max-width: 100%;
}

.sb-page-hero__form-card .sb-field__input {
	background: #fff;
	color: var(--sb-color-text);
	border: 1px solid transparent;
	border-radius: 8px;
	height: 50px;
	padding: 0 20px;
	box-sizing: border-box;
	width: 100%;
}

.sb-page-hero__form-card .sb-field__input::placeholder {
	color: var(--sb-color-text-slate);
	font-style: italic;
	opacity: 1;
}

.sb-page-hero__form-title {
	font-size: var(--sb-fs-form-subhead);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 4px;
	color: var(--sb-color-bg);
	text-align: center;
}

.sb-page-hero__form-subtitle {
	display: block;
	font-weight: 700;
	text-align: center;
}

.sb-field--dark .sb-field__label {
	color: rgba(255, 255, 255, 0.85);
}

.sb-field--dark .sb-field__input {
	background: #fff;
	color: var(--sb-color-text);
	border: 1px solid transparent;
	border-radius: 8px;
	height: 50px;
	padding: 0 20px;
	box-sizing: border-box;
}

.sb-field--dark .sb-field__input::placeholder {
	color: var(--sb-color-text-slate);
	font-style: italic;
	opacity: 1;
}

.sb-field--dark .sb-field__input:focus {
	border-color: var(--sb-color-yellow);
	outline: none;
}

.sb-page-hero__form-card .sb-button {
	margin-top: 4px;
	width: 280px;
	max-width: 100%;
	border-radius: var(--sb-radius-pill);
}

/* --- Page Hero (Centered Form / Contact) --- */
.sb-page-hero--centered {
	min-height: 0;
	display: block;
	padding-bottom: 80px;
}

.sb-page-hero--centered__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--sb-container-max);
	margin-inline: auto;
	padding: 0 var(--sb-space-section-x);
	margin-top: 60px;
}

.sb-contact-form {
	background: #fff;
	border: 0;
	border-radius: 8px;
	padding: 40px;
	box-shadow: 0 4px 4px 0 rgba(8, 34, 40, 0.25);
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* Contact form fields — Figma underline / Material style:
   no surrounding border, only a thin bottom rule, transparent background,
   placeholder doubles as label, focus highlights bottom border in brand yellow. */
.sb-contact-form .sb-field__input {
	background: transparent;
	color: var(--sb-color-text);
	border: 0;
	border-bottom: 1px solid rgba(8, 34, 40, 0.30);
	border-radius: 0;
	height: 44px;
	padding: 4px 0;
	box-sizing: border-box;
	width: 100%;
	font-size: 16px;
}

.sb-contact-form .sb-field__input::placeholder {
	color: #082228;
	opacity: 1;
}

.sb-contact-form .sb-field__input:focus {
	border-bottom-color: var(--sb-color-yellow);
	outline: none;
}

.sb-contact-form .sb-field__input--textarea {
	height: auto;
	min-height: 80px;
	padding: 8px 0;
	resize: vertical;
}

.sb-contact-form select.sb-field__input {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23082228' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 4px center;
	padding-right: 24px;
}

/* The label above the input is hidden in Figma — placeholder acts as label. */
.sb-contact-form .sb-field__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sb-contact-form__header {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sb-contact-form__title {
	font-size: clamp(28px, 3.8vw, 40px);
	line-height: 1.2;
	letter-spacing: -0.01em;
	font-weight: 700;
	color: var(--sb-color-text);
	margin: 0;
}

.sb-contact-form__description {
	font-size: var(--sb-fs-body);
	line-height: 1.5;
	color: var(--sb-color-muted);
	margin: 0;
}

.sb-contact-form__body {
	display: grid;
	grid-template-columns: minmax(0, 452px) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.sb-contact-form__photo {
	border-radius: var(--sb-radius-md);
	overflow: hidden;
	margin: 0;
	aspect-ratio: 452 / 483;
}

.sb-contact-form__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sb-contact-form__fields {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sb-contact-form__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
}

.sb-field__input--textarea {
	min-height: 94px;
	resize: vertical;
}

.sb-field__check {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: var(--sb-fs-tag);
	color: var(--sb-color-text);
	cursor: pointer;
}

.sb-field__check input {
	width: 16px;
	height: 16px;
	accent-color: var(--sb-color-yellow);
	flex-shrink: 0;
}

.sb-contact-form__fields .sb-button {
	align-self: flex-start;
	min-width: 222px;
}

.sb-deal .sb-button {
	min-width: auto;
	width: 100%;
}

/* --- Page Intro --- */
.sb-page-intro {
	padding-block: clamp(48px, 6vw, 80px);
}

.sb-page-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
	gap: 80px;
	align-items: end;
}

.sb-page-intro__heading {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sb-page-intro__title {
	font-size: clamp(30px, 4.4vw, 48px);
	line-height: 1.2;
	letter-spacing: -0.01em;
	font-weight: 700;
	color: var(--sb-color-text);
	margin: 0;
}

.sb-page-intro__sub {
	font-size: var(--sb-fs-body);
	line-height: 1.5;
	color: var(--sb-color-muted);
	max-width: 640px;
	margin: 0;
}

/* --- Info Description --- */
.sb-info-description {
	padding-block: 32px;
	padding-inline: var(--sb-space-section-x);
}

.sb-info-description__text {
	font-size: var(--sb-fs-body);
	line-height: 1.6;
	color: var(--sb-color-text-slate);
	margin: 0;
	max-width: 1140px;
}

/* --- Advantages (Steps variant) --- */
.sb-advantages-steps__grid {
	display: grid;
	grid-template-columns: minmax(280px, 424px) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

.sb-advantages-steps__sidebar {
	position: sticky;
	top: 110px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.sb-advantages-steps__sidebar .sb-button,
.sb-advantages__sidebar .sb-button {
	width: 222px;
	align-self: start;
}

.sb-advantages-steps__list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.sb-step--bordered {
	background: var(--sb-color-bg);
	border: 1px solid var(--sb-color-card-border);
	border-radius: var(--sb-radius-lg);
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sb-step__title--inter {
	font-family: var(--sb-font);
	font-size: var(--sb-fs-step-title);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.25;
	color: var(--sb-color-text);
	margin: 0;
}

/* --- Testimonials with CTA --- */
.sb-testimonials__cta {
	margin-top: 64px;
	background: var(--sb-color-yellow);
	color: var(--sb-color-text);
	border-radius: 12px;
	padding: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.sb-testimonials__cta-text {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 60ch;
}

/* --- Articles grid --- */
.sb-articles-grid__header {
	margin-bottom: 40px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--sb-color-divider);
}

.sb-articles-grid__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.sb-articles-grid__empty {
	padding: 48px 0;
	color: var(--sb-color-muted);
	text-align: center;
}

/* --- Article card --- */
.sb-article-card {
	background: var(--sb-color-surface-alt);
	border: 1px solid var(--sb-color-card-border);
	border-radius: var(--sb-radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow var(--sb-trans), background var(--sb-trans), border-color var(--sb-trans);
}

.sb-article-card:hover {
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.sb-article-card__media {
	display: block;
	height: 200px;
	background: var(--sb-color-surface-alt);
	overflow: hidden;
}

.sb-article-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sb-article-card__media-placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	color: var(--sb-color-muted);
	font-size: var(--sb-fs-tag);
}

.sb-article-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
}

.sb-article-card__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.sb-article-card__date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: var(--sb-fs-tag);
	color: var(--sb-color-muted);
}

.sb-article-card__date img,
.sb-article-card__date svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.sb-article-card__category {
	display: inline-flex;
	padding: 4px 12px;
	background: var(--sb-color-link-pill);
	border-radius: var(--sb-radius-pill);
	font-size: var(--sb-fs-tag);
	font-weight: 500;
	color: var(--sb-color-text);
	letter-spacing: -0.02em;
}

.sb-article-card__title {
	font-size: var(--sb-fs-card-title-sm);
	font-weight: 600;
	line-height: 1.21;
	color: var(--sb-color-text);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sb-article-card__title a {
	color: inherit;
}

.sb-article-card__title a:hover,
.sb-article-card__title a:focus-visible {
	color: var(--sb-color-yellow);
}

/* --- Outlined-40 button (Read More) --- */
.sb-button--outlined-40 {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 4px 4px 16px;
	border: 1px solid var(--sb-color-text);
	border-radius: var(--sb-radius-pill);
	background: transparent;
	color: var(--sb-color-text);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	letter-spacing: -0.02em;
	text-decoration: none;
	transition: background var(--sb-trans), color var(--sb-trans);
	align-self: flex-start;
	margin-top: auto;
}

.sb-button--outlined-40:hover,
.sb-button--outlined-40:focus-visible {
	background: var(--sb-color-text);
	color: var(--sb-color-bg);
}

.sb-button--outlined-40__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: transparent;
	border: 1px solid currentColor;
	color: currentColor;
	flex-shrink: 0;
}

.sb-chip-arrow {
	width: 14px;
	height: 14px;
	display: block;
	flex-shrink: 0;
}

.sb-chip-arrow--hover {
	display: none;
}

.sb-articles-grid .sb-article-card:hover .sb-chip-arrow--default,
.sb-articles-grid .sb-article-card:focus-within .sb-chip-arrow--default,
.sb-you-might .sb-article-card:hover .sb-chip-arrow--default,
.sb-you-might .sb-article-card:focus-within .sb-chip-arrow--default,
.sb-button--outlined-40:hover .sb-chip-arrow--default,
.sb-button--outlined-40:focus-visible .sb-chip-arrow--default {
	display: none;
}

.sb-articles-grid .sb-article-card:hover .sb-chip-arrow--hover,
.sb-articles-grid .sb-article-card:focus-within .sb-chip-arrow--hover,
.sb-you-might .sb-article-card:hover .sb-chip-arrow--hover,
.sb-you-might .sb-article-card:focus-within .sb-chip-arrow--hover,
.sb-button--outlined-40:hover .sb-chip-arrow--hover,
.sb-button--outlined-40:focus-visible .sb-chip-arrow--hover {
	display: block;
}

/* --- Pagination --- */
.sb-pagination {
	padding-block: 32px;
	padding-inline: var(--sb-space-section-x);
}

.sb-pagination__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sb-pagination__item a,
.sb-pagination__item span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border-radius: var(--sb-radius-sm);
	font-size: 14px;
	font-weight: 500;
	color: #03030F;
	transition: background var(--sb-trans), color var(--sb-trans);
}

.sb-pagination__item a:hover,
.sb-pagination__item a:focus-visible {
	background: var(--sb-color-surface-alt);
	color: var(--sb-color-text);
}

.sb-pagination__item .current {
	background: var(--sb-color-yellow);
	color: var(--sb-color-text);
	font-weight: 700;
}

.sb-pagination__item .prev svg,
.sb-pagination__item .next svg {
	width: 16px;
	height: 16px;
}

/* --- Article detail --- */
.sb-article-detail__header {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 40px;
}

.sb-article-detail__author {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.sb-article-detail__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}

.sb-article-detail__author-name {
	font-weight: 500;
	color: var(--sb-color-text);
}

.sb-article-detail__title {
	font-size: clamp(28px, 3.8vw, 40px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--sb-color-text);
	margin: 0;
}

.sb-article-detail__meta {
	display: flex;
	gap: 12px;
	align-items: center;
	color: var(--sb-color-muted);
	font-size: var(--sb-fs-tag);
}

.sb-article-detail__category {
	display: inline-flex;
	padding: 4px 12px;
	background: var(--sb-color-link-pill);
	border-radius: var(--sb-radius-pill);
	font-weight: 500;
	color: var(--sb-color-text);
}

.sb-article-detail__grid {
	display: grid;
	grid-template-columns: minmax(0, 810px) minmax(220px, 290px);
	gap: 40px;
	align-items: start;
}

.sb-article-detail__body {
	font-size: var(--sb-fs-body-lg);
	line-height: 1.55;
	color: var(--sb-color-text);
}

.sb-article-detail__body p {
	margin: 0 0 1em;
}

.sb-article-detail__body h2,
.sb-article-detail__body h3 {
	font-weight: 700;
	color: var(--sb-color-text);
	margin: 1.5em 0 0.5em;
}

.sb-article-detail__body img {
	border-radius: var(--sb-radius-md);
	margin: 24px 0;
}

/* --- Share rail --- */
.sb-share-rail {
	position: sticky;
	top: 110px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--sb-color-card-border);
	border-radius: var(--sb-radius-md);
	background: var(--sb-color-bg);
}

.sb-share-rail__title {
	font-size: var(--sb-fs-body-lg);
	font-weight: 600;
	color: var(--sb-color-text);
	margin: 0;
}

.sb-share-rail__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sb-share-rail__btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 6px;
	background: transparent;
	border: none;
	color: var(--sb-color-text);
	font-size: var(--sb-fs-body);
	font-weight: 500;
	cursor: pointer;
	text-align: left;
	border-radius: var(--sb-radius-sm);
	transition: background var(--sb-trans);
}

.sb-share-rail__btn:hover,
.sb-share-rail__btn:focus-visible {
	background: var(--sb-color-surface-alt);
}

.sb-share-rail__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--sb-color-surface-alt);
	color: var(--sb-color-text);
	flex-shrink: 0;
}

.sb-share-rail__chip svg {
	width: 16px;
	height: 16px;
}

/* --- You might also like --- */
.sb-you-might__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
	flex-wrap: wrap;
}

.sb-you-might__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

/* --- Help section --- */
.sb-help-section__header {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: left;
	align-items: flex-start;
	margin-bottom: 48px;
}

.sb-help-section__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.sb-help-card {
	background: var(--sb-color-text);
	border: 1px solid var(--sb-color-text);
	border-radius: var(--sb-radius-lg);
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: var(--sb-color-bg);
}

.sb-help-card__icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--sb-color-yellow);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
	color: var(--sb-color-text);
}

.sb-help-card__icon img,
.sb-help-card__icon svg {
	width: 30px;
	height: 30px;
}

.sb-help-card__label {
	font-size: var(--sb-fs-section-title);
	font-weight: 600;
	color: var(--sb-color-bg);
	line-height: 1.33;
	margin: 0;
}

.sb-help-card__description {
	font-size: var(--sb-fs-body);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}

.sb-help-card__value {
	font-size: var(--sb-fs-section-title);
	font-weight: 500;
	color: var(--sb-color-bg);
	line-height: 1.33;
	margin-top: auto;
}

.sb-help-card__value:hover,
.sb-help-card__value:focus-visible {
	color: var(--sb-color-yellow);
}

/* --- Legal page (TOC + sections) --- */
.sb-legal__grid {
	display: grid;
	grid-template-columns: minmax(220px, 276px) minmax(0, 1fr);
	gap: 88px;
	align-items: start;
}

.sb-legal__toc {
	position: sticky;
	top: 110px;
	display: grid;
	grid-template-columns: 3px 1fr;
	gap: 24px;
	align-items: start;
}

.sb-legal__toc-bar {
	width: 3px;
	min-height: 100%;
	background: var(--sb-color-text);
	border-radius: 2px;
}

.sb-legal__toc-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sb-legal__toc-nav a {
	font-size: var(--sb-fs-body);
	font-weight: 500;
	color: var(--sb-color-text);
	line-height: 1.4;
	transition: color var(--sb-trans);
}

.sb-legal__toc-nav a:hover,
.sb-legal__toc-nav a:focus-visible {
	color: var(--sb-color-yellow);
}

.sb-legal__body {
	display: flex;
	flex-direction: column;
	gap: 40px;
	max-width: 782px;
}

.sb-legal__section {
	display: flex;
	flex-direction: column;
	gap: 12px;
	scroll-margin-top: 110px;
}

.sb-legal__section-title {
	font-size: var(--sb-fs-section-title);
	font-weight: 600;
	line-height: 1.33;
	color: var(--sb-color-text);
	margin: 0;
}

.sb-legal__section-body {
	font-size: var(--sb-fs-body);
	line-height: 1.5;
	color: var(--sb-color-text-slate);
}

.sb-legal__section-body p {
	margin: 0 0 1em;
	white-space: pre-line;
}

.sb-legal__section-body p:last-child {
	margin-bottom: 0;
}

/* ---------- Inner pages responsive ---------- */

/* Tablet 769–1024 */
@media (max-width: 1024px) {
	.sb-page-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		align-items: start;
	}

	.sb-page-hero__form-card {
		justify-self: start;
		max-width: 100%;
	}

	.sb-page-hero {
		min-height: 0;
	}

	.sb-page-hero--centered__inner {
		margin-top: 32px;
	}

	.sb-contact-form {
		padding: 32px;
	}

	.sb-contact-form__body {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.sb-contact-form__photo {
		max-width: 480px;
		aspect-ratio: 16 / 10;
	}

	.sb-page-intro__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.sb-advantages-steps__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.sb-advantages-steps__sidebar {
		position: static;
	}

	.sb-articles-grid__list,
	.sb-you-might__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sb-help-section__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sb-article-detail__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.sb-share-rail {
		position: static;
	}

	.sb-legal__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.sb-legal__toc {
		position: static;
	}

	.sb-testimonials__cta {
		padding: 32px;
	}
}

/* Mobile ≤768 */
@media (max-width: 768px) {
	.sb-breadcrumbs {
		padding-block: 10px;
	}

	.sb-breadcrumbs__list {
		font-size: 13px;
		gap: 6px;
	}

	.sb-page-hero__inner {
		padding-block: 60px;
		gap: 32px;
	}

	.sb-page-hero__form-card {
		padding: 36px 24px;
	}

	.sb-page-hero__form-title {
		font-size: 22px;
	}

	.sb-contact-form {
		padding: 24px;
	}

	.sb-contact-form__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb-contact-form__fields .sb-button {
		width: 100%;
	}

	.sb-page-intro {
		padding-block: 40px;
	}

	.sb-info-description {
		padding-block: 24px;
	}

	.sb-advantages-steps__grid {
		gap: 32px;
	}

	.sb-step--bordered {
		padding: 24px;
	}

	.sb-step__title--inter {
		font-size: 24px;
	}

	.sb-articles-grid__list,
	.sb-you-might__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.sb-help-section__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb-help-card {
		padding: 24px;
	}

	.sb-article-detail__body {
		font-size: var(--sb-fs-body);
	}

	/* Sidebar buttons full width on mobile */
	.sb-advantages-steps__sidebar .sb-button,
	.sb-advantages__sidebar .sb-button,
	.sb-faq__sidebar .sb-button {
		width: 100%;
	}

	.sb-testimonials__cta {
		padding: 24px;
		flex-direction: column;
		align-items: flex-start;
	}

	.sb-you-might__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.sb-legal__grid {
		gap: 32px;
	}
}

/* ---------- Form status banner ----------------------------------------- */
/* Rendered above the Hero + Contact forms when ?sent=… is in the URL. */
.sb-form-status {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.45;
	border: 1px solid transparent;
}

.sb-form-status--success {
	background: #ecfdf5;
	border-color: #a7f3d0;
	color: #065f46;
}

.sb-form-status--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.sb-form-status:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* ============================================================
 * Visual QA fixes — Contact + Legal pages
 * ============================================================ */

/* --- Contact hero — make full-bleed bg + 70% overlay visible behind card --- */
.sb-page-hero--centered {
	position: relative;
	padding-top: 0;
	padding-bottom: 80px;
	background-color: transparent;
}

/* Image bg covers about the top half of the section so the white form
   card overlaps its bottom edge — Figma cuts the dark band near the
   middle of the form card (≈600px from the top of the hero). */
.sb-page-hero--centered .sb-page-hero__bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: auto;
	height: 600px;
	z-index: 0;
}

.sb-page-hero--centered__inner {
	max-width: 1200px;
	margin-top: 0;
	position: relative;
	z-index: 1;
}

/* Dark hero header — title left + description right (flex row on desktop) */
.sb-page-hero--centered__header {
	max-width: 1140px;
	margin: 0 auto;
	padding: 56px 30px 48px;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 56px;
	color: var(--sb-color-bg);
}

.sb-page-hero--centered__title {
	font-size: var(--sb-fs-h1);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0;
	color: var(--sb-color-bg);
	flex: 0 0 auto;
	max-width: 520px;
}

.sb-page-hero--centered__description {
	font-size: var(--sb-fs-body);
	line-height: 1.55;
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.85);
	flex: 1 1 auto;
	max-width: 460px;
}

@media (max-width: 768px) {
	.sb-page-hero--centered__header {
		flex-direction: column;
		gap: 16px;
		padding: 40px 24px 32px;
	}
	.sb-page-hero--centered__description {
		margin-top: 0;
	}
}

/* The centred white form card */
.sb-page-hero--centered .sb-contact-form {
	max-width: 1140px;
	margin-inline: auto;
	padding: 40px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 4px 0 rgba(8, 34, 40, 0.25);
}

/* Form divider line above the checkbox + Send row */
.sb-contact-form__divider {
	border: 0;
	height: 1px;
	background: var(--sb-color-divider);
	margin: 8px 0 4px;
	width: 100%;
}

/* Help section — vertical rhythm + ensure container width */
.sb-help-section {
	padding-block: clamp(56px, 7vw, 96px);
}

.sb-help-section .sb-container {
	max-width: 1140px;
}

.sb-help-card {
	min-height: 292px;
}

/* The Send + checkbox row should sit on the same line */
.sb-contact-form__fields {
	gap: 18px;
}

.sb-contact-form__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.sb-contact-form__actions .sb-field__check {
	margin: 0;
}

.sb-contact-form__actions .sb-button {
	margin: 0;
	width: 222px;
	height: 48px;
	padding: 0 28px;
}

/* --- Legal intro — keep tag visible, left-aligned title block --- */
.sb-legal-intro {
	padding-block: clamp(48px, 6vw, 80px);
}

.sb-legal-intro .sb-page-intro__heading {
	gap: 16px;
}

.sb-legal-intro .sb-tag {
	align-self: flex-start;
}

/* --- Legal body — TOC + content layout, override theme.json uppercase --- */
.sb-legal {
	padding-block: 0 clamp(64px, 8vw, 120px);
}

.sb-legal .sb-container {
	max-width: 1200px;
}

.sb-legal__grid {
	grid-template-columns: 276px minmax(0, 782px);
}

/* TOC accent bar — brand yellow per spec */
.sb-legal__toc-bar {
	background: var(--sb-color-yellow);
}

.sb-legal__toc-nav a {
	text-decoration: none;
}

/* Make sure section titles render in Title Case, not theme-h2 uppercase */
.sb-legal__body h2,
.sb-legal__body h3,
.sb-legal__section-title {
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: var(--sb-fs-section-title);
	font-weight: 600;
	line-height: 1.33;
}

.sb-legal__body ul,
.sb-legal__body ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
	color: var(--sb-color-text-slate);
	font-size: var(--sb-fs-body);
	line-height: 1.6;
}

.sb-legal__body li {
	margin-bottom: 6px;
}

/* Tablet adjustments for the new TOC width */
@media (max-width: 1024px) {
	.sb-legal__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb-page-hero--centered .sb-contact-form {
		padding: 32px;
	}
}

@media (max-width: 768px) {
	.sb-page-hero--centered {
		padding-top: 32px;
		padding-bottom: 48px;
	}

	.sb-page-hero--centered .sb-contact-form {
		padding: 24px;
	}

	.sb-contact-form__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.sb-contact-form__actions .sb-button {
		width: 100%;
	}
}

/* ============================================================
   Inner pages — Visual-QA pass (Service / Product templates)
   ============================================================ */

/* Page hero — uppercase form title with yellow "FREE" accent */
.sb-page-hero__form-title {
	text-transform: uppercase;
	font-size: var(--sb-fs-form-subhead);
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.sb-page-hero__form-accent {
	color: var(--sb-color-yellow);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
}

.sb-page-hero__form-subtitle {
	display: block;
	font-size: 16px;
	letter-spacing: 0.02em;
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.92);
}

/* White-filled inputs inside the dark form card (placeholder labels) */
.sb-field--filled .sb-field__input,
.sb-page-hero__form-card .sb-field--dark .sb-field__input {
	background: #ffffff;
	border: 1px solid transparent;
	color: var(--sb-color-text);
	border-radius: 8px;
	padding: 0 20px;
	height: 50px;
	box-sizing: border-box;
}

.sb-page-hero__form-card .sb-field--dark .sb-field__input::placeholder {
	color: #6b7a7e;
	font-style: italic;
	opacity: 1;
}

.sb-page-hero__form-card .sb-field--dark .sb-field__input:focus {
	border-color: var(--sb-color-yellow);
	box-shadow: 0 0 0 2px rgba(255, 199, 0, 0.25);
	outline: none;
}

/* Hero text column — vertically centred in the hero band */
.sb-page-hero__inner {
	align-items: center;
}

/* Breadcrumbs — sit immediately under the hero, slim band, no bottom rule */
.sb-breadcrumbs {
	border-bottom: none;
	padding-block: 20px;
}

.sb-breadcrumbs__list {
	font-size: 14px;
}

.sb-breadcrumbs__separator {
	font-size: 14px;
}

/* Breadcrumbs — dark variant used directly beneath the inner-page hero.
   Sits as a slim ~24px band with white text on the brand-dark background,
   matching Figma. The hero is full-bleed, so the breadcrumbs band is too. */
.sb-breadcrumbs--dark {
	background: var(--sb-color-text);
	color: rgba(255, 255, 255, 0.85);
	padding-block: 6px;
	margin-top: -1px;
}

.sb-breadcrumbs--dark .sb-breadcrumbs__list {
	color: rgba(255, 255, 255, 0.85);
}

.sb-breadcrumbs--dark .sb-breadcrumbs__item a {
	color: rgba(255, 255, 255, 0.85);
}

.sb-breadcrumbs--dark .sb-breadcrumbs__item a:hover,
.sb-breadcrumbs--dark .sb-breadcrumbs__item a:focus-visible {
	color: #fff;
}

.sb-breadcrumbs--dark .sb-breadcrumbs__item--current span {
	color: #fff;
	font-weight: 500;
}

.sb-breadcrumbs--dark .sb-breadcrumbs__separator {
	color: rgba(255, 255, 255, 0.6);
}

/* Info description — wider band, slate body, generous margins */
.sb-info-description {
	padding-block: 40px 16px;
}

.sb-info-description__text {
	font-size: var(--sb-fs-body);
	line-height: 1.6;
	color: var(--sb-color-text-slate);
}

/* Advantages-steps — soft surface-alt fill with hairline border (per Figma).
   Spec keeps the 1px rgba(8,34,40,0.2) border, but on the F6 background it
   reads as a soft step card rather than a stark outlined box. */
.sb-advantages-steps .sb-step--bordered {
	background: var(--sb-color-surface-alt);
	border: 1px solid var(--sb-color-card-border);
	padding: 28px 32px;
}

.sb-step__body {
	color: var(--sb-color-text-slate);
	line-height: 1.6;
	margin: 0;
}

/* Testimonials with CTA — inner-page variant has tag + 2-line H2,
   and the CTA band sits BELOW the testimonial grid. The CTA H2 stays
   sentence-case (no uppercase). */
/* Inner-page testimonials header — title block on the left, supporting
   paragraph on the right (two-column flex). Stacks on tablet/mobile. */
.sb-testimonials__header--inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 56px;
	margin-bottom: 40px;
	max-width: 100%;
	text-align: left;
}

.sb-testimonials__header--inner .sb-testimonials__header-main {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 0 0 auto;
	max-width: 520px;
}

.sb-testimonials__header--inner .sb-testimonials__header-sub {
	flex: 1 1 auto;
	max-width: 460px;
	margin: 0;
	text-align: left;
}

@media (max-width: 768px) {
	.sb-testimonials__header--inner {
		flex-direction: column;
		gap: 16px;
	}
	.sb-testimonials__header--inner .sb-testimonials__header-sub {
		margin-top: 0;
	}
}

.sb-testimonials__cta {
	margin-top: 56px;
	background: var(--sb-color-yellow);
	color: var(--sb-color-text);
	border-radius: 12px;
	padding: 36px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.sb-testimonials__cta-title {
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0;
	color: var(--sb-color-text);
	text-transform: none;
	white-space: nowrap;
}

.sb-testimonials__cta-description {
	font-size: var(--sb-fs-body);
	color: var(--sb-color-text);
	opacity: 0.85;
	margin: 0;
}

.sb-testimonials__cta .sb-button.sb-button--dark,
.sb-testimonials__cta .sb-button {
	background: var(--sb-color-text);
	color: var(--sb-color-yellow);
	flex-shrink: 0;
}

.sb-testimonials__cta .sb-button:hover,
.sb-testimonials__cta .sb-button:focus-visible {
	background: #000;
	color: var(--sb-color-yellow);
}

@media (max-width: 768px) {
	.sb-testimonials__cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px;
	}
	.sb-testimonials__cta-title {
		font-size: 26px;
	}
	.sb-page-hero__form-title {
		font-size: 22px;
	}
}

/* ============================================================
   Home-page visual QA overrides (Figma alignment)
   ============================================================ */

/* Hero — yellow accent on first half of headline. */
.sb-hero__title .sb-accent {
	color: var(--sb-color-yellow);
}

/* Recognitions — keep the 8 badges aligned on a single horizontal row
   on desktop, and split into a 4 + 4 grid on tablet so the
   bestincalgary medallions stay on their own line as per Figma. */
.sb-recognitions__strip {
	flex-wrap: nowrap;
	gap: 28px;
	justify-content: space-between;
}

.sb-recognitions__item {
	flex: 0 0 auto;
}

@media (max-width: 1024px) {
	.sb-recognitions__strip {
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 20px;
	}
}

/* Choose Us cards — body text is the dark brand color in Figma,
   not the muted grey we previously used. */
.sb-card__body {
	color: var(--sb-color-text);
}

/* Choose Us / Advantages — the supporting paragraph next to the H2
   stays in muted grey, but the card descriptions need the dark color. */

/* Advantages step cards — Figma renders these as soft-grey panels
   with no visible border and large rounded corners. */
.sb-advantages .sb-step {
	background: var(--sb-color-surface-alt);
	border: 1px solid transparent;
	border-radius: var(--sb-radius-lg);
	padding: 32px;
}

/* Testimonials header — Figma uses a two-column split (H2 left,
   muted description right) rather than centered. */
.sb-testimonials__header--split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	text-align: left;
}

/* Universal split-header tag pattern: tag floats above and does not affect
   the visual centering between the H2 (left) and the description (right).
   Applies to two-column split headers (Choose Us, Advantages, FAQ, Testimonials). */
.sb-choose-us__heading,
.sb-page-intro__heading,
.sb-testimonials__header--split .sb-testimonials__header-main,
.sb-testimonials__header--inner .sb-testimonials__header-main {
	position: relative;
}

.sb-choose-us__heading > .sb-tag,
.sb-advantages__sidebar > .sb-tag,
.sb-faq__sidebar > .sb-tag,
.sb-page-intro__heading > .sb-tag,
.sb-testimonials__header--split .sb-testimonials__header-main > .sb-tag,
.sb-testimonials__header--inner .sb-testimonials__header-main > .sb-tag {
	position: absolute;
	bottom: calc(100% + 16px);
	left: 0;
	margin: 0;
}

.sb-testimonials__header--split .sb-testimonials__header-main {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sb-testimonials__header-sub {
	max-width: 56ch;
}

@media (max-width: 1024px) {
	.sb-testimonials__header--split {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}

/* Past Projects — header is centered in Figma, with a max-width on
   the H2 so it wraps to three short lines. */
.sb-projects__header--centered {
	max-width: 720px;
	margin-inline: auto;
	margin-bottom: 56px;
	text-align: center;
	align-items: center;
}

.sb-projects__header--centered .sb-tag {
	margin-inline: auto;
}

/* Past Projects card — dark navy strip behind the project title with
   yellow type. Sits directly under the image (rounded bottom corners) and
   leaves a 16px gap before the separate description plate. */
.sb-project__title-bar {
	background: var(--sb-color-navy-mid);
	padding: 18px 24px;
	margin-bottom: 16px;
	border-radius: 0 0 var(--sb-radius-lg) var(--sb-radius-lg);
}

.sb-project__title-bar .sb-project__title {
	color: var(--sb-color-yellow);
	margin: 0;
	font-weight: 500;
	font-size: var(--sb-fs-card-title);
	line-height: 1.3;
	text-align: center;
}

/* Restore correct body color for project description (dark brand
   text, not the muted grey, to match Figma). */
.sb-project__description {
	color: var(--sb-color-text);
}

/* Past Projects CTA description — Figma uses full-opacity dark text. */
.sb-projects__cta-description {
	opacity: 1;
}

/* Past Projects CTA title — theme.json forces every <h2> to uppercase,
   but Figma renders the "Ready to Upgrade Your Home?" line in mixed case
   identical to every other section heading. */
.sb-projects__cta-title {
	text-transform: none;
}

/* ===========================================================
   Blog Category + Blog Article visual-QA overrides
   =========================================================== */

/* Page intro — let title fit on 2 lines, anchor sub at top */
.sb-page-intro__grid {
	grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.sb-page-intro__sub {
	max-width: 560px;
	color: var(--sb-color-text);
}

/* Tag pill — match Figma rounded outline */
.sb-page-intro .sb-tag {
	border: 1px solid var(--sb-color-card-border);
	background: transparent;
	padding: 4px 14px;
	border-radius: var(--sb-radius-pill);
	font-size: var(--sb-fs-tag);
	font-weight: 500;
	color: var(--sb-color-text);
	text-transform: none;
	letter-spacing: 0;
	display: inline-flex;
	align-self: flex-start;
}

/* Article card — Figma layout: meta+title at top, image in middle, button at bottom */
.sb-article-card {
	padding: 20px;
	gap: 20px;
	background: var(--sb-color-bg);
	border: 1px solid var(--sb-color-card-border);
	border-radius: var(--sb-radius-lg);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.sb-article-card__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sb-article-card__media {
	border-radius: var(--sb-radius-md);
	margin: 0;
	height: 200px;
	overflow: hidden;
}

.sb-article-card > .sb-button--outlined-40 {
	margin-top: auto;
	align-self: flex-start;
}

.sb-article-card__body {
	display: none; /* legacy wrapper not used in updated markup */
}

.sb-article-card__meta {
	gap: 8px;
	font-size: var(--sb-fs-tag);
	color: var(--sb-color-muted);
	flex-wrap: nowrap;
}

.sb-article-card__sep {
	color: var(--sb-color-muted);
}

.sb-article-card__category {
	background: transparent;
	padding: 0;
	color: var(--sb-color-muted);
	font-weight: 400;
	border-radius: 0;
	letter-spacing: 0;
}

.sb-article-card__title {
	font-size: 17px;
	line-height: 1.21;
	letter-spacing: -0.01em;
	-webkit-line-clamp: 2;
	font-weight: 600;
	text-transform: none;
}

.sb-articles-grid .sb-article-card__head,
.sb-you-might .sb-article-card__head {
	min-height: 80px;
}

/* Articles grid spacing */
.sb-articles-grid__header {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 2px solid var(--sb-color-divider);
}

.sb-articles-grid__list {
	gap: 20px;
}

.sb-articles-grid .sb-h2,
.sb-you-might .sb-h2 {
	text-transform: none;
}

/* Load More button */
.sb-load-more {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

.sb-load-more .sb-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Article detail — meta with calendar icon + bullet separator */
.sb-article-detail {
	padding-block: clamp(40px, 5vw, 72px);
}

.sb-article-detail__header {
	gap: 20px;
	margin-bottom: 32px;
}

.sb-article-detail__title {
	font-size: clamp(28px, 3.8vw, 40px);
	text-transform: none;
}

.sb-article-detail__date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--sb-color-muted);
	font-size: var(--sb-fs-tag);
}

.sb-article-detail__date img {
	width: 16px;
	height: 16px;
}

.sb-article-detail__sep {
	color: var(--sb-color-muted);
}

.sb-article-detail__category {
	background: transparent;
	padding: 0;
	color: var(--sb-color-muted);
	font-weight: 400;
	border-radius: 0;
}

.sb-article-detail__avatar {
	background: var(--sb-color-surface-alt);
}

/* Share rail — flat, no card border, "Share This" not uppercase, dark chips w/ yellow icons */
.sb-share-rail {
	padding: 0;
	border: none;
	background: transparent;
	gap: 20px;
}

.sb-share-rail__title {
	font-size: 18px;
	line-height: 1.44;
	font-weight: 600;
	text-transform: none;
	letter-spacing: -0.01em;
	color: var(--sb-color-text);
}

.sb-share-rail__list {
	gap: 16px;
}

.sb-share-rail__btn {
	padding: 0;
	gap: 12px;
	font-size: var(--sb-fs-body);
	color: var(--sb-color-text);
	font-weight: 500;
}

.sb-share-rail__btn:hover,
.sb-share-rail__btn:focus-visible {
	background: transparent;
	color: var(--sb-color-yellow);
}

.sb-share-rail__chip {
	background: var(--sb-color-text);
	color: var(--sb-color-yellow);
}

/* You Might Also Like — header spacing */
.sb-you-might {
	padding-block: clamp(40px, 5vw, 72px);
}

.sb-you-might__header {
	margin-bottom: 24px;
}

@media (max-width: 1024px) {
	.sb-page-intro__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.sb-page-intro__sub {
		max-width: none;
	}
}

/* --- Legal page TOC (JS-built list) --- */
.sb-legal__toc-inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.sb-legal__toc-title {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sb-color-text-slate);
	margin: 0;
}

.sb-legal__toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	counter-reset: none;
}

.sb-legal__toc-list li {
	margin: 0;
	padding: 0;
}

.sb-legal__toc-list a {
	display: block;
	position: relative;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--sb-color-text);
	text-decoration: none;
	padding-left: 0;
	transition: color var(--sb-trans), font-weight var(--sb-trans),
		padding-left var(--sb-trans);
}

.sb-legal__toc-list a:hover,
.sb-legal__toc-list a:focus-visible {
	color: var(--sb-color-yellow);
}

.sb-legal__toc-list a.is-active {
	color: var(--sb-color-yellow);
	font-weight: 700;
	padding-left: 12px;
}

.sb-legal__toc-list a.is-active::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 1em;
	background: var(--sb-color-yellow);
	border-radius: 2px;
}

.sb-legal__toc-noscript {
	margin: 0;
	font-size: 14px;
	color: var(--sb-color-text-slate);
}

/* ============================================================
   Visual-QA pass — Blog Category / Article / Legal pages
   Aligns rendered pages to Figma 10_Blog Page, 11_Blog Details,
   and 13_Privacy.
   ============================================================ */

/* --- Article cards: Figma default bg #F6F6F6, shadow on hover. --- */
.sb-articles-grid .sb-article-card,
.sb-you-might .sb-article-card {
	background: var(--sb-color-surface-alt);
	border: 1px solid var(--sb-color-card-border);
	padding: 20px;
	gap: 16px;
	border-radius: 8px;
}

.sb-articles-grid .sb-article-card__media,
.sb-you-might .sb-article-card__media {
	border-radius: 8px;
	height: 200px;
}

/* Date format and category spacing — no pill, no bullet */
.sb-article-card__meta {
	gap: 16px;
}

.sb-article-card__date,
.sb-article-card__category {
	color: var(--sb-color-text);
	font-size: 14px;
	font-weight: 400;
}

/* Read More — Figma has flat row: text left, chip right, no pill border.
   Keep accessible focus styling on link. */
.sb-articles-grid .sb-button--outlined-40,
.sb-you-might .sb-button--outlined-40 {
	border: none;
	background: transparent;
	padding: 0;
	width: 100%;
	justify-content: space-between;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	margin-top: 0;
}

.sb-articles-grid .sb-button--outlined-40:hover,
.sb-articles-grid .sb-button--outlined-40:focus-visible,
.sb-you-might .sb-button--outlined-40:hover,
.sb-you-might .sb-button--outlined-40:focus-visible {
	background: transparent;
	color: var(--sb-color-text);
}

.sb-articles-grid .sb-button--outlined-40:hover .sb-button--outlined-40__chip,
.sb-you-might .sb-button--outlined-40:hover .sb-button--outlined-40__chip {
	background: var(--sb-color-yellow);
	color: var(--sb-color-text);
}

/* --- Article card hover state — Figma shows the card flipping to dark navy
       on hover with a yellow title accent. All 9 cards in the blog grid keep
       the same size; only the colour scheme changes on pointer-enter. --- */
.sb-articles-grid .sb-article-card,
.sb-you-might .sb-article-card {
	transition: background var(--sb-trans), color var(--sb-trans), box-shadow var(--sb-trans), border-color var(--sb-trans);
}

/* Blog listing grid — same dark navy flip as You Might Also Like */
.sb-articles-grid .sb-article-card:hover,
.sb-articles-grid .sb-article-card:focus-within {
	background: var(--sb-color-text);
	color: var(--sb-color-bg);
	box-shadow: 0 8px 24px rgba(8, 34, 40, 0.18);
	border-color: var(--sb-color-text);
}

.sb-articles-grid .sb-article-card:hover .sb-article-card__title a,
.sb-articles-grid .sb-article-card:focus-within .sb-article-card__title a {
	color: var(--sb-color-yellow);
}

.sb-articles-grid .sb-article-card:hover .sb-article-card__meta,
.sb-articles-grid .sb-article-card:hover .sb-article-card__date,
.sb-articles-grid .sb-article-card:hover .sb-article-card__category,
.sb-articles-grid .sb-article-card:focus-within .sb-article-card__meta,
.sb-articles-grid .sb-article-card:focus-within .sb-article-card__date,
.sb-articles-grid .sb-article-card:focus-within .sb-article-card__category {
	color: rgba(255, 255, 255, 0.7);
}

.sb-articles-grid .sb-article-card:hover .sb-article-card__date svg,
.sb-articles-grid .sb-article-card:focus-within .sb-article-card__date svg {
	color: #fff;
}

.sb-articles-grid .sb-article-card:hover .sb-button--outlined-40,
.sb-articles-grid .sb-article-card:focus-within .sb-button--outlined-40 {
	color: var(--sb-color-bg);
}

.sb-articles-grid .sb-article-card:hover .sb-button--outlined-40__chip,
.sb-articles-grid .sb-article-card:focus-within .sb-button--outlined-40__chip {
	background: var(--sb-color-yellow);
	border-color: var(--sb-color-yellow);
	color: var(--sb-color-text);
}

/* You Might Also Like — keep dark navy flip */
.sb-you-might .sb-article-card:hover,
.sb-you-might .sb-article-card:focus-within {
	background: var(--sb-color-text);
	color: var(--sb-color-bg);
	box-shadow: 0 8px 24px rgba(8, 34, 40, 0.18);
}

.sb-you-might .sb-article-card:hover .sb-article-card__title a,
.sb-you-might .sb-article-card:focus-within .sb-article-card__title a {
	color: var(--sb-color-yellow);
}

.sb-you-might .sb-article-card:hover .sb-article-card__meta,
.sb-you-might .sb-article-card:hover .sb-article-card__date,
.sb-you-might .sb-article-card:hover .sb-article-card__category,
.sb-you-might .sb-article-card:focus-within .sb-article-card__meta,
.sb-you-might .sb-article-card:focus-within .sb-article-card__date,
.sb-you-might .sb-article-card:focus-within .sb-article-card__category {
	color: rgba(255, 255, 255, 0.7);
}

.sb-you-might .sb-article-card:hover .sb-article-card__date svg,
.sb-you-might .sb-article-card:focus-within .sb-article-card__date svg {
	color: #fff;
}

.sb-you-might .sb-article-card:hover .sb-button--outlined-40,
.sb-you-might .sb-article-card:focus-within .sb-button--outlined-40 {
	color: var(--sb-color-bg);
	border-color: rgba(255, 255, 255, 0.25);
}

.sb-you-might .sb-article-card:hover .sb-button--outlined-40__chip,
.sb-you-might .sb-article-card:focus-within .sb-button--outlined-40__chip {
	background: var(--sb-color-yellow);
	border-color: var(--sb-color-yellow);
	color: var(--sb-color-text);
}

/* --- Page intro tag — Figma shows simple outlined pill, no fill --- */
.sb-page-intro .sb-tag,
.sb-legal-intro .sb-tag {
	background: transparent;
	border: 1px solid var(--sb-color-card-border);
	color: var(--sb-color-text);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
	padding: 4px 14px;
}

/* --- Article Detail — hero featured image + page bg --- */
.sb-article-detail {
	background: transparent;
}

.sb-article-detail__hero {
	margin: 0 0 40px;
	border-radius: 12px;
	overflow: hidden;
	width: 100%;
	max-width: 810px;
}

.sb-article-detail__hero-img,
.sb-article-detail__hero img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.sb-article-detail__body {
	font-size: 18px;
	line-height: 1.55;
	color: var(--sb-color-text);
}

/* Hide bullet separator entirely; Figma uses gap instead. */
.sb-article-detail__sep {
	display: none;
}

.sb-article-detail__meta {
	gap: 16px;
}

.sb-article-detail__date,
.sb-article-detail__category {
	color: var(--sb-color-text);
	font-size: 14px;
	font-weight: 400;
}

/* Author block: round avatar (32px), placeholder dark fill when missing */
.sb-article-detail__avatar {
	display: inline-block;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--sb-color-text);
	object-fit: cover;
	flex-shrink: 0;
}

/* Share rail — fixed 290w, vertical, dark chip with yellow icon */
.sb-article-detail__grid {
	grid-template-columns: minmax(0, 810px) 290px;
	gap: 50px;
}

.sb-share-rail {
	width: 290px;
	padding: 0;
	border: none;
	background: transparent;
	gap: 20px;
}

.sb-share-rail__title {
	font-size: 18px;
	font-weight: 600;
	color: var(--sb-color-text);
	text-transform: none;
	letter-spacing: -0.01em;
	margin: 0;
}

.sb-share-rail__list {
	gap: 12px;
}

.sb-share-rail__btn {
	gap: 12px;
	padding: 0;
	color: var(--sb-color-text);
	font-size: 16px;
	font-weight: 500;
	background: transparent;
	border: none;
}

.sb-share-rail__btn:hover,
.sb-share-rail__btn:focus-visible {
	background: transparent;
	color: var(--sb-color-yellow);
}

.sb-share-rail__chip {
	background: var(--sb-color-text);
	color: var(--sb-color-yellow);
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

/* --- You Might Also Like header CTA --- */
.sb-you-might__header .sb-button {
	background: var(--sb-color-yellow);
	color: var(--sb-color-text);
	font-size: 15px;
	font-weight: 700;
}

/* --- Legal page TOC — wrap in white card per Figma --- */
.sb-legal__toc {
	display: block;
	background: var(--sb-color-bg);
	border: 1px solid var(--sb-color-card-border);
	border-radius: 12px;
	padding: 20px;
	position: sticky;
	top: 110px;
	width: 276px;
}

.sb-legal__toc-inner {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.sb-legal__toc-list {
	gap: 0;
}

.sb-legal__toc-list li {
	border-bottom: 1px solid var(--sb-color-divider);
}

.sb-legal__toc-list li:last-child {
	border-bottom: none;
}

.sb-legal__toc-list a {
	display: block;
	padding: 14px 0 14px 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--sb-color-text);
	line-height: 1.4;
	position: relative;
}

.sb-legal__toc-list a:hover,
.sb-legal__toc-list a:focus-visible {
	color: var(--sb-color-yellow);
}

/* Active indicator — yellow 3px bar pinned to the inside edge of the card */
.sb-legal__toc-list a.is-active {
	color: var(--sb-color-yellow);
	font-weight: 700;
	padding-left: 14px;
}

.sb-legal__toc-list a.is-active::before {
	content: '';
	position: absolute;
	left: -20px;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--sb-color-yellow);
	border-radius: 0;
}

/* Hide the static decorative bar div if still present in legacy markup. */
.sb-legal__toc-bar {
	display: none;
}

/* Section spacing in body */
.sb-legal__body {
	gap: 40px;
	max-width: 782px;
}

.sb-legal__section {
	gap: 16px;
}

.sb-legal__section-title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.33;
	color: var(--sb-color-text);
}

.sb-legal__section-body p {
	font-size: 16px;
	line-height: 1.5;
	color: var(--sb-color-text-slate);
	margin: 0 0 1em;
}

/* ---- Responsive (≤1024px) — stack TOC above body ---- */
@media (max-width: 1024px) {
	.sb-legal__toc {
		position: static;
		width: 100%;
		margin-bottom: 24px;
	}

	.sb-article-detail__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb-share-rail {
		width: 100%;
		position: static;
	}
}

/* -------------------------------------------------------------------------
 * Catalog landing (Windows / Doors / Blinds) — product card grid
 * ---------------------------------------------------------------------- */
.sb-catalog__header {
	margin-bottom: 40px;
}

.sb-catalog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.sb-catalog-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(8, 34, 40, 0.08);
	border-radius: 16px;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sb-catalog-card:hover {
	box-shadow: 0 18px 40px rgba(8, 34, 40, 0.12);
	transform: translateY(-2px);
}

.sb-catalog-card__media {
	display: block;
	aspect-ratio: 366 / 260;
	background: #f1f3f3;
	overflow: hidden;
}

.sb-catalog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sb-catalog-card__media-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #082228;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	padding: 16px;
}

.sb-catalog-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 24px;
	flex: 1 1 auto;
}

.sb-catalog-card__title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	color: #082228;
}

.sb-catalog-card__title a {
	color: inherit;
	text-decoration: none;
}

.sb-catalog-card__title a:hover,
.sb-catalog-card__title a:focus-visible {
	color: #fcb900;
}

.sb-catalog-card__desc {
	font-size: 16px;
	line-height: 1.5;
	color: #3d3d3d;
	margin: 0;
}

.sb-catalog-card__body .sb-button {
	margin-top: auto;
}

@media (max-width: 1024px) {
	.sb-catalog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.sb-catalog__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* -------------------------------------------------------------------------
 * Style Picker — optional per-card image (Task #4)
 * ---------------------------------------------------------------------- */
.sb-style__img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-top: 16px;
	border-radius: 8px;
}

/* -------------------------------------------------------------------------
 * Choose Us — optional wide custom card (Task #5)
 * ---------------------------------------------------------------------- */
.sb-cu-custom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	background: #f6f6f6;
	border: 1px solid rgba(8, 34, 40, 0.08);
	border-radius: 16px;
	padding: 32px 40px;
	margin-top: 48px;
}

.sb-cu-custom__text {
	flex: 1 1 auto;
}

.sb-cu-custom__title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 8px;
	color: #082228;
}

.sb-cu-custom__body {
	font-size: 16px;
	line-height: 1.5;
	color: #3d3d3d;
	margin: 0;
}

.sb-cu-custom__media {
	flex: 0 0 auto;
}

.sb-cu-custom__media img {
	display: block;
	max-width: 240px;
	height: auto;
}

@media (max-width: 768px) {
	.sb-cu-custom {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 24px;
	}

	.sb-cu-custom__media img {
		max-width: 160px;
	}
}

/* -------------------------------------------------------------------------
 * Header desktop dropdowns (Task #3 — admin-driven menus)
 * .sb-nav / .sb-nav__list / .sb-nav__link already defined above.
 * ---------------------------------------------------------------------- */
.sb-nav__item {
	position: relative;
	display: flex;
	align-items: center;
}

.sb-nav__item--has-children {
	gap: 2px;
}

.sb-nav__submenu-toggle {
	background: none;
	border: 0;
	margin: 0;
	padding: 4px 2px;
	cursor: pointer;
	color: inherit;
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.sb-nav__submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: var(--sb-color-bg);
	border: 1px solid var(--sb-color-divider);
	border-radius: var(--sb-radius-md);
	box-shadow: var(--sb-shadow-hover);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
	z-index: 49;
}

.sb-nav__item--has-children:hover .sb-nav__submenu,
.sb-nav__item--has-children:focus-within .sb-nav__submenu,
.sb-nav__item.is-open .sb-nav__submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sb-nav__submenu a {
	display: block;
	padding: 8px 12px;
	border-radius: var(--sb-radius-sm);
	font-size: var(--sb-fs-nav);
	font-weight: 500;
	color: var(--sb-color-text);
	white-space: nowrap;
}

.sb-nav__submenu a:hover,
.sb-nav__submenu a:focus-visible {
	background: var(--sb-color-surface-alt);
	color: var(--sb-color-yellow);
}

