/*
 * Repair Factory — main stylesheet
 * A self-contained design system for a premium local appliance-repair site.
 * No external CSS frameworks. Brand colors (--rf-primary / --rf-secondary)
 * are injected from the Customizer via inc/enqueue.php.
 */

/* =========================================================================
   1. Design tokens
   ========================================================================= */
:root {
	/* Brand colors are injected inline; these are safe fallbacks. */
	--rf-primary: #d81f2a;
	--rf-secondary: #3f5165;

	/* Derived brand shades. */
	--rf-primary-dark: color-mix(in srgb, var(--rf-primary) 82%, #000);
	--rf-primary-soft: color-mix(in srgb, var(--rf-primary) 10%, #fff);
	--rf-primary-tint: color-mix(in srgb, var(--rf-primary) 16%, #fff);
	--rf-secondary-dark: color-mix(in srgb, var(--rf-secondary) 78%, #000);
	--rf-secondary-soft: color-mix(in srgb, var(--rf-secondary) 8%, #fff);

	/* Accent color for decorative icons, numbered lists and eyebrows.
	   Distinct from the red primary (used for links/CTAs). */
	--rf-accent: #e8820f;
	--rf-accent-dark: color-mix(in srgb, var(--rf-accent) 82%, #000);
	--rf-accent-soft: color-mix(in srgb, var(--rf-accent) 12%, #fff);
	--rf-accent-tint: color-mix(in srgb, var(--rf-accent) 20%, #fff);

	/* Neutrals. */
	--rf-ink: #16191d;
	--rf-ink-2: #3a4149;
	--rf-muted: #667382;
	--rf-line: #e5e8ed;
	--rf-line-strong: #d3d9e0;
	--rf-surface: #ffffff;
	--rf-surface-2: #f5f7f9;
	--rf-surface-3: #eef1f4;
	--rf-charcoal: #1d2733;

	/* Typography. */
	--rf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--rf-fs-base: 1.0625rem;
	--rf-lh-base: 1.65;

	/* Spacing scale. */
	--rf-space-1: 0.25rem;
	--rf-space-2: 0.5rem;
	--rf-space-3: 0.75rem;
	--rf-space-4: 1rem;
	--rf-space-5: 1.5rem;
	--rf-space-6: 2rem;
	--rf-space-7: 3rem;
	--rf-space-8: 4rem;
	--rf-space-9: 6rem;

	/* Radii. */
	--rf-radius-sm: 6px;
	--rf-radius: 12px;
	--rf-radius-lg: 18px;
	--rf-radius-pill: 999px;

	/* Shadows. */
	--rf-shadow-xs: 0 1px 2px rgba(20, 30, 45, 0.06);
	--rf-shadow-sm: 0 2px 8px rgba(20, 30, 45, 0.06);
	--rf-shadow: 0 10px 30px rgba(20, 30, 45, 0.08);
	--rf-shadow-lg: 0 24px 60px rgba(20, 30, 45, 0.14);

	/* Layout. */
	--rf-container: 1200px;
	--rf-container-wide: 1360px;
	--rf-header-h: 76px;

	--rf-focus: 0 0 0 3px color-mix(in srgb, var(--rf-primary) 45%, #fff);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--rf-header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--rf-font);
	font-size: var(--rf-fs-base);
	line-height: var(--rf-lh-base);
	color: var(--rf-ink);
	background: var(--rf-surface);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	max-width: 100%;
}
html {
	overflow-x: clip;
	max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--rf-charcoal);
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

a {
	color: var(--rf-primary);
	text-decoration: none;
	transition: color 0.16s ease;
}
a:hover { color: var(--rf-primary-dark); }

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

ul, ol { padding-left: 1.25rem; }

figure { margin: 0; }

hr {
	border: 0;
	border-top: 1px solid var(--rf-line);
	margin: var(--rf-space-6) 0;
}

strong { font-weight: 700; }

:focus-visible {
	outline: none;
	box-shadow: var(--rf-focus);
	border-radius: var(--rf-radius-sm);
}

/* =========================================================================
   3. Accessibility helpers
   ========================================================================= */
.screen-reader-text,
.rf-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rf-skip-link {
	position: absolute;
	left: 50%;
	top: -60px;
	transform: translateX(-50%);
	z-index: 1000;
	background: var(--rf-charcoal);
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: 0 0 var(--rf-radius) var(--rf-radius);
	font-weight: 600;
	transition: top 0.2s ease;
}
.rf-skip-link:focus {
	top: 0;
	color: #fff;
}

.rf-icon {
	width: 1.4em;
	height: 1.4em;
	flex: none;
	display: inline-block;
	vertical-align: middle;
}

/* =========================================================================
   4. Layout
   ========================================================================= */
.rf-container {
	width: 100%;
	max-width: var(--rf-container);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.rf-container--wide { max-width: var(--rf-container-wide); }
.rf-container--narrow { max-width: 820px; }

.rf-section {
	padding-block: clamp(3rem, 7vw, 5.5rem);
}
.rf-section--tight { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.rf-section--alt { background: var(--rf-surface-2); }
.rf-section--ink {
	background: var(--rf-charcoal);
	color: #dfe4ea;
}
.rf-section--ink h2,
.rf-section--ink h3 { color: #fff; }

.rf-mt-4 { margin-top: var(--rf-space-5); }
.rf-mt-6 { margin-top: var(--rf-space-6); }
.rf-mt-7 { margin-top: var(--rf-space-7); }
.rf-text-center { text-align: center; }
.rf-mx-auto { margin-inline: auto; }

.rf-grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.rf-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rf-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rf-grid--4 { grid-template-columns: repeat(4, 1fr); }
.rf-grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* =========================================================================
   5. Section heading component
   ========================================================================= */
.rf-heading {
	max-width: 720px;
	margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.rf-heading--center {
	margin-inline: auto;
	text-align: center;
}
.rf-heading__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rf-accent);
	margin-bottom: 0.75rem;
}
.rf-heading__eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--rf-accent);
	border-radius: 2px;
}
.rf-heading--center .rf-heading__eyebrow { justify-content: center; }

/* Standalone eyebrow label (e.g. archive heroes). */
.rf-eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rf-accent);
	margin: 0 0 0.5rem;
}
.rf-heading__title { margin-bottom: 0.6rem; }
.rf-heading__text {
	color: var(--rf-muted);
	font-size: 1.075rem;
	margin: 0;
}

/* =========================================================================
   6. Buttons
   ========================================================================= */
.rf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.1;
	padding: 0.85rem 1.5rem;
	border-radius: var(--rf-radius);
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.14s ease, background 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, border-color 0.16s ease;
	text-align: center;
	white-space: nowrap;
}
.rf-btn:hover { transform: translateY(-1px); }
.rf-btn:active { transform: translateY(0); }
.rf-btn .rf-icon { width: 1.15em; height: 1.15em; }

.rf-btn--primary {
	background: var(--rf-primary);
	color: #fff;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--rf-primary) 32%, transparent);
}
.rf-btn--primary:hover {
	background: var(--rf-primary-dark);
	color: #fff;
	box-shadow: 0 12px 26px color-mix(in srgb, var(--rf-primary) 38%, transparent);
}

.rf-btn--secondary {
	background: var(--rf-surface);
	color: var(--rf-charcoal);
	border-color: var(--rf-line-strong);
	box-shadow: var(--rf-shadow-xs);
}
.rf-btn--secondary:hover {
	color: var(--rf-charcoal);
	border-color: var(--rf-secondary);
	background: var(--rf-surface-2);
}

.rf-btn--ghost {
	background: transparent;
	color: var(--rf-charcoal);
	border-color: color-mix(in srgb, var(--rf-charcoal) 18%, transparent);
}
.rf-btn--ghost:hover { background: var(--rf-surface-2); color: var(--rf-charcoal); }

.rf-btn--onink {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.28);
}
.rf-btn--onink:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.rf-btn--lg { padding: 1.05rem 1.9rem; font-size: 1.075rem; }
.rf-btn--block { width: 100%; }

.rf-link-more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
	font-size: 0.95rem;
}
.rf-link-more .rf-icon { width: 1.05em; height: 1.05em; transition: transform 0.16s ease; }
.rf-link-more:hover .rf-icon { transform: translateX(3px); }

/* =========================================================================
   7. Announcement / trust bar
   ========================================================================= */
.rf-announce {
	background: var(--rf-charcoal);
	color: #d9dee5;
	font-size: 0.875rem;
}
.rf-announce__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding-block: 0.55rem;
}
.rf-announce__item {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}
.rf-announce__item .rf-icon { width: 1.05em; height: 1.05em; color: color-mix(in srgb, var(--rf-primary) 60%, #fff); }
.rf-announce__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: #37c26b;
	box-shadow: 0 0 0 3px rgba(55, 194, 107, 0.25);
}
.rf-announce a { color: #fff; font-weight: 600; }
.rf-announce a:hover { color: #fff; text-decoration: underline; }
.rf-announce__note { color: #9aa6b3; }

/* =========================================================================
   8. Header & navigation
   ========================================================================= */
.rf-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--rf-surface) 92%, transparent);
	backdrop-filter: saturate(1.2) blur(10px);
	border-bottom: 1px solid var(--rf-line);
}
.rf-header__inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	min-height: var(--rf-header-h);
	min-width: 0;
}
.rf-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	min-width: 0;
	flex-shrink: 1;
}
.rf-brand__logo img { max-height: 46px; width: auto; }
/* Bundled brand logo images (header / footer). */
.rf-brand__img {
	height: 38px;
	width: auto;
	max-width: min(156px, 42vw);
	display: block;
	object-fit: contain;
}
.rf-brand__img--footer { height: 42px; max-width: 180px; }
.rf-brand__mark {
	width: 42px; height: 42px;
	display: grid; place-items: center;
	background: var(--rf-primary);
	color: #fff;
	border-radius: 11px;
	box-shadow: 0 6px 14px color-mix(in srgb, var(--rf-primary) 30%, transparent);
}
.rf-brand__mark .rf-icon { width: 24px; height: 24px; }
.rf-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.rf-brand__name { font-weight: 800; font-size: 1.12rem; color: var(--rf-charcoal); letter-spacing: -0.02em; }
.rf-brand__tag { font-size: 0.72rem; color: var(--rf-muted); font-weight: 600; letter-spacing: 0.02em; }

.rf-nav { margin-inline: auto; }
.rf-nav__list {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
}
.rf-nav a {
	position: relative;
	display: inline-block;
	padding: 0.55rem 0.75rem;
	border-radius: var(--rf-radius-sm);
	color: var(--rf-ink-2);
	font-weight: 600;
	font-size: 0.97rem;
	white-space: nowrap;
}
.rf-nav a::after {
	content: "";
	position: absolute;
	left: 0.85rem;
	right: 0.85rem;
	bottom: 0.25rem;
	height: 2px;
	background: var(--rf-primary);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.15s ease;
}
.rf-nav a:hover,
.rf-nav .current-menu-item > a,
.rf-nav .current_page_item > a {
	color: var(--rf-primary);
}
.rf-nav a:hover::after,
.rf-nav .current-menu-item > a::after,
.rf-nav .current_page_item > a::after {
	transform: scaleX(1);
}
.rf-nav .sub-menu {
	position: absolute;
	list-style: none;
	margin: 0.4rem 0 0;
	padding: 0.4rem;
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	box-shadow: var(--rf-shadow);
	min-width: 210px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	z-index: 20;
}
.rf-nav .menu-item-has-children { position: relative; }
.rf-nav .menu-item-has-children:hover > .sub-menu,
.rf-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.rf-nav .sub-menu a { display: block; }

.rf-header__actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-shrink: 0;
	margin-left: auto;
}
.rf-phone-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	color: var(--rf-charcoal);
	padding: 0.5rem 0.65rem;
	border-radius: var(--rf-radius-sm);
}
.rf-phone-btn .rf-icon { color: var(--rf-primary); }
.rf-phone-btn:hover { color: var(--rf-primary); background: var(--rf-primary-soft); }
.rf-phone-btn__label { display: flex; flex-direction: column; line-height: 1.1; }
.rf-phone-btn__small { font-size: 0.68rem; font-weight: 600; color: var(--rf-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.rf-phone-btn--inline { white-space: nowrap; }
.rf-phone-btn--inline .rf-phone-btn__number { font-size: 1rem; }

.rf-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	border: 1px solid var(--rf-line-strong);
	background: #fff;
	border-radius: var(--rf-radius-sm);
	color: var(--rf-charcoal);
	cursor: pointer;
}
.rf-nav-toggle .rf-icon { width: 24px; height: 24px; }

/* Body scroll lock while drawer/modal open — preserves scrollY */
body.rf-scroll-locked {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
	overflow: hidden;
}

/* Mobile drawer */
.rf-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	visibility: hidden;
	pointer-events: none;
	overflow: hidden;
	/* Keep visible until slide/fade finish so close doesn't snap */
	transition: visibility 0s linear 0.28s;
}
.rf-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 22, 30, 0.5);
	opacity: 0;
	transition: opacity 0.28s ease;
}
.rf-drawer__panel {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: min(360px, 88vw);
	background: #fff;
	box-shadow: var(--rf-shadow-lg);
	transform: translateX(100%);
	transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.rf-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}
.rf-drawer.is-open .rf-drawer__overlay { opacity: 1; }
.rf-drawer.is-open .rf-drawer__panel { transform: translateX(0); }
.rf-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--rf-line);
}
.rf-drawer__close {
	width: 42px; height: 42px;
	display: grid; place-items: center;
	border: 1px solid var(--rf-line-strong);
	background: #fff;
	border-radius: var(--rf-radius-sm);
	cursor: pointer;
	color: var(--rf-charcoal);
}
.rf-drawer__nav ul { list-style: none; margin: 0; padding: 0.5rem; display: block; gap: 0; }
.rf-drawer__nav li { width: 100%; }
.rf-drawer__nav a {
	display: block;
	padding: 0.85rem 0.75rem;
	border-radius: var(--rf-radius-sm);
	font-weight: 600;
	color: var(--rf-ink-2);
	border-bottom: 1px solid var(--rf-surface-3);
}
.rf-drawer__nav a:hover { background: var(--rf-primary-soft); color: var(--rf-primary); }
.rf-drawer__nav .sub-menu { padding-left: 0.75rem; }
.rf-drawer__foot {
	margin-top: auto;
	padding: 1.25rem;
	display: grid;
	gap: 0.75rem;
	border-top: 1px solid var(--rf-line);
}

/* =========================================================================
   9. Hero
   ========================================================================= */
.rf-hero {
	position: relative;
	background-color: var(--rf-surface);
	background-repeat: no-repeat;
	background-position: center right;
	background-size: cover;
	overflow: hidden;
}
.rf-hero > .rf-container { position: relative; z-index: 1; }
.rf-hero__inner {
	display: grid;
	align-items: center;
	min-height: clamp(460px, 46vw, 640px);
	padding-block: clamp(2.5rem, 5vw, 4rem);
}
.rf-hero__content { max-width: 600px; }
.rf-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #fff;
	border: 1px solid var(--rf-line);
	box-shadow: var(--rf-shadow-xs);
	color: var(--rf-ink-2);
	font-weight: 600;
	font-size: 0.85rem;
	padding: 0.4rem 0.85rem;
	border-radius: var(--rf-radius-pill);
	margin-bottom: 1.25rem;
}
.rf-hero__badge .rf-icon { color: var(--rf-primary); width: 1.1em; height: 1.1em; }
.rf-hero__title { margin-bottom: 1rem; }
.rf-hero__title .rf-accent { color: var(--rf-primary); }
.rf-hero__lead {
	font-size: 1.15rem;
	color: var(--rf-ink-2);
	max-width: 34em;
	margin-bottom: 1.6rem;
}
.rf-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-bottom: 1.4rem;
}
.rf-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.75rem;
	margin: 0;
	padding: 0;
	color: var(--rf-ink-2);
	font-size: 0.9rem;
	font-weight: 600;
}
.rf-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	list-style: none;
	max-width: 15rem;
}
.rf-hero__trust-ico {
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--rf-accent-soft);
	border: 1px solid var(--rf-accent-tint);
}
.rf-hero__trust-ico .rf-icon { color: var(--rf-accent); width: 1.05em; height: 1.05em; }

/* Hero visual composition */
.rf-hero__media { position: relative; }
.rf-hero__media::before {
	content: "";
	position: absolute;
	width: 130%;
	aspect-ratio: 1;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border: 1px solid color-mix(in srgb, var(--rf-secondary) 16%, transparent);
	border-radius: 50%;
	z-index: 0;
	pointer-events: none;
}
.rf-hero__media::after {
	content: "";
	position: absolute;
	width: 96%;
	aspect-ratio: 1;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border: 1px dashed color-mix(in srgb, var(--rf-primary) 20%, transparent);
	border-radius: 50%;
	z-index: 0;
	pointer-events: none;
}
.rf-hero-figure {
	position: relative;
	border-radius: var(--rf-radius-lg);
	background: linear-gradient(150deg, var(--rf-secondary) 0%, var(--rf-secondary-dark) 100%);
	aspect-ratio: 4 / 3.4;
	box-shadow: var(--rf-shadow-lg);
	overflow: hidden;
	display: grid;
	place-items: center;
	color: #fff;
}
.rf-hero-figure__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rf-hero-figure__placeholder {
	display: grid;
	place-items: center;
	gap: 0.75rem;
	text-align: center;
	padding: 2rem;
}
.rf-hero-figure__placeholder .rf-icon { width: 84px; height: 84px; opacity: 0.9; }
.rf-hero-figure__placeholder span { font-weight: 600; opacity: 0.85; letter-spacing: 0.02em; }
.rf-hero-figure__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
	background-size: 44px 44px;
}
/* Hero booking card */
.rf-hero__card {
	position: relative;
	z-index: 1;
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius-lg);
	box-shadow: var(--rf-shadow-lg);
	padding: clamp(1.25rem, 3vw, 1.75rem);
}
.rf-hero__flag {
	position: absolute;
	top: -0.9rem;
	right: 1.25rem;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	background: var(--rf-primary);
	color: #fff;
	border-radius: var(--rf-radius);
	box-shadow: 0 8px 20px color-mix(in srgb, var(--rf-primary) 32%, transparent);
	padding: 0.5rem 0.9rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.rf-hero__flag .rf-icon { width: 1.35em; height: 1.35em; }
.rf-hero__flag small { display: block; font-weight: 500; text-transform: none; letter-spacing: 0; opacity: 0.92; }
.rf-hero__form { padding: 0; }
.rf-hero__form-title { font-size: 1.3rem; margin-bottom: 0.9rem; }
.rf-hero__form-sub { color: var(--rf-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.rf-hero__card-foot {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin-top: 1.1rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--rf-line);
}
.rf-hero__card-foot .rf-icon { flex: none; color: var(--rf-primary); width: 1.4em; height: 1.4em; margin-top: 2px; }
.rf-hero__card-foot strong { display: block; font-size: 0.95rem; color: var(--rf-charcoal); }
.rf-hero__card-foot small { color: var(--rf-muted); font-size: 0.85rem; }

/* =========================================================================
   10. Cards (shared)
   ========================================================================= */
.rf-card {
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	padding: clamp(1.25rem, 2.4vw, 1.6rem);
	box-shadow: var(--rf-shadow-xs);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	height: 100%;
}
.rf-card--hover:hover {
	transform: translateY(-4px);
	box-shadow: var(--rf-shadow);
	border-color: var(--rf-line-strong);
}
.rf-card__icon {
	width: 54px; height: 54px;
	display: grid; place-items: center;
	border-radius: var(--rf-radius);
	background: var(--rf-accent-soft);
	color: var(--rf-accent);
	margin-bottom: 1rem;
}
.rf-card__icon .rf-icon { width: 28px; height: 28px; }
.rf-card__title { font-size: 1.15rem; margin-bottom: 0.4rem; }
.rf-card__text { color: var(--rf-muted); margin-bottom: 0; font-size: 0.97rem; }
.rf-card__foot { margin-top: 1rem; }

/* Appliance card variant */
.rf-appliance {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}
.rf-appliance__icon {
	background: var(--rf-accent-soft);
	color: var(--rf-accent);
}

/* Problem card variant */
.rf-problem .rf-card__icon {
	background: var(--rf-accent-soft);
	color: var(--rf-accent);
}

/* Location card */
.rf-location {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.1rem;
}
.rf-location__top {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	width: 100%;
}
.rf-location__pin {
	width: 48px; height: 48px;
	flex: none;
	display: grid; place-items: center;
	background: var(--rf-primary-soft);
	color: var(--rf-primary);
	border-radius: var(--rf-radius);
}
.rf-location__name {
	display: block;
	font-weight: 800;
	font-size: 1.12rem;
	color: var(--rf-charcoal);
	letter-spacing: -0.01em;
}
.rf-location__region {
	display: block;
	color: var(--rf-muted);
	font-size: 0.92rem;
	margin-top: 0.15rem;
}

/* Homepage locations split */
.rf-locations__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
	gap: clamp(1.75rem, 4vw, 3.75rem);
	align-items: start;
}
.rf-locations__intro { max-width: 36rem; }
.rf-locations__title {
	margin: 0.85rem 0 0.9rem;
	font-size: clamp(1.75rem, 2.8vw, 2.45rem);
	line-height: 1.12;
	letter-spacing: -0.025em;
}
.rf-locations__lead {
	margin: 0 0 1.35rem;
	color: var(--rf-muted);
	font-size: 1.05rem;
	line-height: 1.65;
	max-width: 36ch;
}
.rf-locations__cta { margin-bottom: 0.25rem; }
.rf-locations__map {
	margin: 1.5rem 0 0;
	max-width: 34rem;
	pointer-events: none;
	user-select: none;
}
.rf-locations__map img {
	display: block;
	width: 100%;
	height: auto;
}
.rf-locations__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	align-content: start;
}
.rf-locations .rf-location {
	margin: 0;
	padding: 1.25rem 1.3rem 1.2rem;
	gap: 1.15rem;
	box-shadow: 0 10px 28px rgba(20, 28, 40, 0.07);
	border-color: color-mix(in srgb, var(--rf-line) 70%, transparent);
	background: #fff;
}
.rf-location__body { min-width: 0; flex: 1; }
.rf-location__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: auto;
	color: var(--rf-primary);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	transition: gap 0.18s ease, color 0.18s ease;
}
.rf-location__link .rf-icon { width: 16px; height: 16px; }
.rf-location__link:hover { color: var(--rf-primary-dark, #b01822); gap: 0.5rem; }

@media (max-width: 900px) {
	.rf-locations__layout { grid-template-columns: 1fr; gap: 1.75rem; }
	.rf-locations__lead { max-width: none; }
	.rf-locations__map { max-width: 28rem; margin-inline: auto; }
}
@media (max-width: 560px) {
	.rf-locations__grid { grid-template-columns: 1fr; }
	.rf-locations__map { max-width: 100%; }
}

/* Guarantee card */
.rf-guarantee {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
}
.rf-guarantee__icon {
	width: 44px; height: 44px;
	flex: none;
	display: grid; place-items: center;
	border-radius: var(--rf-radius);
	background: color-mix(in srgb, #2bb673 14%, #fff);
	color: #1f9d63;
}
.rf-guarantee__title { font-weight: 700; color: var(--rf-charcoal); margin-bottom: 0.15rem; }
.rf-guarantee__text { color: var(--rf-muted); font-size: 0.94rem; margin: 0; }

/* =========================================================================
   11. Trust metrics
   ========================================================================= */
.rf-metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}
.rf-metric {
	text-align: center;
	padding: 1.5rem 1rem;
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	box-shadow: var(--rf-shadow-xs);
}
.rf-metric__icon {
	display: inline-grid; place-items: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--rf-accent-soft);
	color: var(--rf-accent);
	margin-bottom: 0.6rem;
}
.rf-metric__value {
	font-size: clamp(1.9rem, 3vw, 2.4rem);
	font-weight: 800;
	color: var(--rf-charcoal);
	letter-spacing: -0.02em;
	line-height: 1;
}
.rf-metric__label {
	display: block;
	margin-top: 0.35rem;
	color: var(--rf-muted);
	font-weight: 600;
	font-size: 0.9rem;
}

/* =========================================================================
   12. Process / steps
   ========================================================================= */
.rf-steps {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	counter-reset: rf-step;
}
.rf-step {
	position: relative;
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	padding: 1.5rem 1.35rem 1.35rem;
	box-shadow: var(--rf-shadow-xs);
}
.rf-step__num {
	counter-increment: rf-step;
	display: inline-grid; place-items: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	background: var(--rf-accent);
	color: #fff;
	font-weight: 800;
	margin-bottom: 0.9rem;
}
.rf-step__num::before { content: counter(rf-step); }
.rf-step__title { font-size: 1.1rem; margin-bottom: 0.35rem; }
.rf-step__text { color: var(--rf-muted); font-size: 0.95rem; margin: 0; }

/* =========================================================================
   13. Transformation (before / after concept)
   ========================================================================= */
.rf-transform {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	align-items: stretch;
	gap: 1rem;
}
.rf-transform__card {
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	padding: 1.5rem;
	box-shadow: var(--rf-shadow-xs);
	text-align: center;
}
.rf-transform__stage {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rf-secondary);
	background: var(--rf-secondary-soft);
	padding: 0.2rem 0.6rem;
	border-radius: var(--rf-radius-pill);
	margin-bottom: 0.85rem;
}
.rf-transform__icon {
	width: 64px; height: 64px;
	margin: 0 auto 0.9rem;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--rf-surface-2);
	color: var(--rf-accent);
}
.rf-transform__icon .rf-icon { width: 32px; height: 32px; }
.rf-transform__arrow {
	display: grid;
	place-items: center;
	color: var(--rf-line-strong);
}
.rf-transform__arrow .rf-icon { width: 28px; height: 28px; }
.rf-transform__title { margin-bottom: 0.35rem; font-size: 1.15rem; }
.rf-transform__text { color: var(--rf-muted); font-size: 0.94rem; margin: 0; }

/* =========================================================================
   14. Reviews
   ========================================================================= */
.rf-review {
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	padding: 1.5rem;
	box-shadow: var(--rf-shadow-xs);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 100%;
}
.rf-review__stars { color: #f5a623; display: inline-flex; gap: 2px; }
.rf-review__stars .rf-icon { width: 1.1em; height: 1.1em; fill: currentColor; stroke: none; }
.rf-review__quote { color: var(--rf-ink-2); font-size: 1rem; margin: 0; }
.rf-review__author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.rf-review__avatar {
	width: 48px; height: 48px;
	flex: none;
	border-radius: 50%;
	background: var(--rf-secondary-soft);
	color: #fff;
	display: grid; place-items: center;
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: 0.01em;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.rf-review__avatar--photo { object-fit: cover; box-shadow: none; }
.rf-review__meta { display: flex; flex-direction: column; min-width: 0; }
.rf-review__name { font-weight: 700; color: var(--rf-charcoal); line-height: 1.2; }
.rf-review__loc { font-size: 0.85rem; color: var(--rf-muted); }

/* Carousel (reviews) */
.rf-carousel { position: relative; overflow: hidden; }
.rf-carousel__track {
	display: flex;
	gap: clamp(1rem, 2vw, 1.5rem);
	list-style: none;
	margin: 0;
	padding: 0.5rem 0.25rem 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.rf-carousel__track::-webkit-scrollbar { display: none; }
.rf-carousel__slide {
	flex: 0 0 calc((100% - 2 * clamp(1rem, 2vw, 1.5rem)) / 3);
	scroll-snap-align: start;
	display: flex;
}
.rf-carousel__slide > .rf-review { width: 100%; }
.rf-carousel__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border-radius: 50%;
	border: 1px solid var(--rf-line);
	background: #fff;
	color: var(--rf-charcoal);
	box-shadow: var(--rf-shadow-sm);
	cursor: pointer;
	transition: background 0.16s ease, color 0.16s ease, opacity 0.16s ease;
}
.rf-carousel__nav:hover { background: var(--rf-primary); color: #fff; border-color: var(--rf-primary); }
.rf-carousel__nav .rf-icon { width: 22px; height: 22px; }
.rf-carousel__nav--prev { left: -10px; }
.rf-carousel__nav--next { right: -10px; }
.rf-carousel__nav[disabled] { opacity: 0.35; cursor: default; }
.rf-carousel__nav[disabled]:hover { background: #fff; color: var(--rf-charcoal); border-color: var(--rf-line); }

@media (max-width: 900px) {
	.rf-carousel__slide { flex-basis: calc((100% - clamp(1rem, 2vw, 1.5rem)) / 2); }
}
@media (max-width: 640px) {
	.rf-carousel__slide { flex-basis: 86%; }
	/* Move the nav below the track so it never overlaps card text. */
	.rf-carousel { padding-bottom: 3.75rem; }
	.rf-carousel__nav { top: auto; bottom: 0; transform: none; }
	.rf-carousel__nav--prev { left: calc(50% - 52px); right: auto; }
	.rf-carousel__nav--next { right: calc(50% - 52px); left: auto; }
}
.rf-demo-flag {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #a6791b;
	background: #fff7e6;
	border: 1px dashed #e6c14d;
	border-radius: var(--rf-radius-sm);
	padding: 0.25rem 0.5rem;
	align-self: flex-start;
}
.rf-reviews-note {
	margin-top: 1.5rem;
	text-align: center;
	color: var(--rf-muted);
	font-size: 0.9rem;
}

/* =========================================================================
   15. Split / feature panels
   ========================================================================= */
.rf-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.rf-featurelist { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.85rem; }
.rf-featurelist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.rf-featurelist .rf-icon { color: var(--rf-accent); width: 1.4em; height: 1.4em; flex: none; margin-top: 0.1rem; }
.rf-featurelist strong { display: block; color: var(--rf-charcoal); }
.rf-featurelist span { color: var(--rf-muted); font-size: 0.95rem; }

.rf-panel {
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius-lg);
	box-shadow: var(--rf-shadow);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}
.rf-panel--muted { background: var(--rf-surface-2); box-shadow: none; }

.rf-expert {
	display: flex;
	gap: 1.1rem;
	align-items: center;
}
.rf-expert__avatar {
	width: 84px; height: 84px;
	flex: none;
	border-radius: var(--rf-radius);
	background: linear-gradient(150deg, var(--rf-secondary), var(--rf-secondary-dark));
	color: #fff;
	display: grid; place-items: center;
}
.rf-expert__avatar .rf-icon { width: 44px; height: 44px; }
.rf-expert__role { color: var(--rf-primary); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.rf-expert__name { font-weight: 800; color: var(--rf-charcoal); font-size: 1.15rem; }
.rf-expert__text { color: var(--rf-muted); font-size: 0.94rem; margin: 0.35rem 0 0; }

/* =========================================================================
   16. FAQ accordion
   ========================================================================= */
.rf-faq { display: grid; gap: 0.85rem; max-width: 820px; margin-inline: auto; }
.rf-faq__item {
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	overflow: hidden;
	box-shadow: var(--rf-shadow-xs);
}
.rf-faq__q { margin: 0; font-size: inherit; line-height: inherit; }
.rf-faq__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	text-align: left;
	background: none;
	border: 0;
	padding: 1.15rem 1.35rem;
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--rf-charcoal);
	cursor: pointer;
}
.rf-faq__trigger:hover { color: var(--rf-primary); }
.rf-faq__sign {
	flex: none;
	width: 30px; height: 30px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--rf-primary-soft);
	color: var(--rf-primary);
	transition: transform 0.22s ease;
}
.rf-faq__sign .rf-icon { width: 18px; height: 18px; }
.rf-faq__trigger[aria-expanded="true"] .rf-faq__sign { transform: rotate(45deg); }
.rf-faq__panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.28s ease;
}
.rf-faq__panel-inner {
	padding: 0 1.35rem 1.25rem;
	color: var(--rf-muted);
}
.rf-faq__panel-inner p { margin: 0; }

/* =========================================================================
   17. Booking form
   ========================================================================= */
.rf-form { display: grid; gap: 1rem; }
.rf-form__row {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr 1fr;
}
.rf-field { display: flex; flex-direction: column; gap: 0.35rem; }
.rf-field--full { grid-column: 1 / -1; }
.rf-field label {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--rf-charcoal);
}
.rf-field .rf-req { color: var(--rf-primary); }
.rf-field input,
.rf-field select,
.rf-field textarea {
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	color: var(--rf-ink);
	background: var(--rf-surface);
	border: 1px solid var(--rf-line-strong);
	border-radius: var(--rf-radius-sm);
	padding: 0.7rem 0.85rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rf-field textarea { min-height: 120px; resize: vertical; }
.rf-field input:focus,
.rf-field select:focus,
.rf-field textarea:focus {
	outline: none;
	border-color: var(--rf-primary);
	box-shadow: var(--rf-focus);
}
.rf-field input[aria-invalid="true"],
.rf-field select[aria-invalid="true"],
.rf-field textarea[aria-invalid="true"] {
	border-color: var(--rf-primary);
	background: color-mix(in srgb, var(--rf-primary) 4%, #fff);
}
.rf-field__error {
	color: var(--rf-primary-dark);
	font-size: 0.82rem;
	font-weight: 600;
}
.rf-consent {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-size: 0.9rem;
	color: var(--rf-muted);
}
.rf-consent input { width: auto; margin-top: 0.2rem; flex: none; }
.rf-consent label { font-weight: 500; color: var(--rf-muted); font-size: 0.88rem; }
.rf-honeypot {
	position: absolute !important;
	left: -9999px;
	width: 1px; height: 1px;
	overflow: hidden;
}
.rf-form__note { font-size: 0.82rem; color: var(--rf-muted); margin: 0; }

.rf-alert {
	border-radius: var(--rf-radius);
	padding: 1rem 1.15rem;
	font-size: 0.95rem;
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
}
.rf-alert .rf-icon { flex: none; margin-top: 0.1rem; }
.rf-alert--success {
	background: color-mix(in srgb, #2bb673 12%, #fff);
	border: 1px solid color-mix(in srgb, #2bb673 40%, #fff);
	color: #12724a;
}
.rf-alert--error {
	background: color-mix(in srgb, var(--rf-primary) 8%, #fff);
	border: 1px solid color-mix(in srgb, var(--rf-primary) 35%, #fff);
	color: var(--rf-primary-dark);
}

/* =========================================================================
   18. Notices (safety / disclosure)
   ========================================================================= */
.rf-notice {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	background: var(--rf-surface-2);
	border: 1px solid var(--rf-line);
	border-left: 4px solid var(--rf-secondary);
	border-radius: var(--rf-radius);
	padding: 1.1rem 1.25rem;
	color: var(--rf-ink-2);
	font-size: 0.94rem;
}
.rf-notice .rf-icon { flex: none; color: var(--rf-secondary); margin-top: 0.1rem; }
.rf-notice--safety { border-left-color: var(--rf-primary); }
.rf-notice--safety .rf-icon { color: var(--rf-primary); }
.rf-notice strong { color: var(--rf-charcoal); }

.rf-disclosure {
	background: var(--rf-surface-2);
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	padding: 1.25rem 1.4rem;
	color: var(--rf-muted);
	font-size: 0.9rem;
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
}
.rf-disclosure .rf-icon { flex: none; color: var(--rf-secondary); margin-top: 0.15rem; }
.rf-disclosure strong { color: var(--rf-charcoal); }

/* =========================================================================
   19. CTA banner
   ========================================================================= */
.rf-cta-banner {
	position: relative;
	background:
		linear-gradient(100deg, rgba(18, 23, 31, 0.94) 0%, rgba(18, 23, 31, 0.7) 42%, rgba(18, 23, 31, 0.55) 70%, rgba(18, 23, 31, 0.6) 100%),
		url(../images/cta-bg.png) center right / cover no-repeat,
		var(--rf-charcoal);
	color: #fff;
	border-radius: var(--rf-radius-lg);
	padding: clamp(2rem, 5vw, 3.25rem);
	overflow: hidden;
}
@media (max-width: 640px) {
	.rf-cta-banner {
		background:
			linear-gradient(180deg, rgba(18, 23, 31, 0.9) 0%, rgba(18, 23, 31, 0.78) 100%),
			url(../images/cta-bg.png) center / cover no-repeat,
			var(--rf-charcoal);
	}
}
.rf-cta-banner__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}
.rf-cta-banner h2 { color: #fff; margin-bottom: 0.5rem; }
.rf-cta-banner p { color: #cdd6e0; margin: 0; max-width: 46ch; }
.rf-cta-banner__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* =========================================================================
   20. NAP / contact block
   ========================================================================= */
.rf-nap { display: grid; gap: 1rem; }
.rf-nap__item {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
}
.rf-nap__icon {
	width: 44px; height: 44px;
	flex: none;
	display: grid; place-items: center;
	border-radius: var(--rf-radius);
	background: var(--rf-accent-soft);
	color: var(--rf-accent);
}
.rf-nap__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rf-muted); font-weight: 700; }
.rf-nap__value { font-weight: 600; color: var(--rf-charcoal); }
.rf-nap__value a { color: var(--rf-charcoal); }
.rf-nap__value a:hover { color: var(--rf-primary); }

/* =========================================================================
   21. Footer
   ========================================================================= */
.rf-footer {
	background: var(--rf-charcoal);
	color: #aeb8c4;
	padding-block: clamp(2.75rem, 5vw, 4rem) 0;
}
.rf-footer a { color: #cdd6e0; }
.rf-footer a:hover { color: #fff; }
.rf-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
	gap: 2rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.rf-footer__brand .rf-brand__name { color: #fff; }
.rf-footer__brand .rf-brand__tag { color: #8b97a5; }
.rf-footer__about { font-size: 0.92rem; margin: 1rem 0; color: #9aa6b3; }
.rf-footer__col-title {
	color: #fff;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 700;
	margin-bottom: 1rem;
}
.rf-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.rf-footer__col a { font-size: 0.94rem; }
.rf-footer__contact { display: grid; gap: 0.7rem; font-size: 0.92rem; }
.rf-footer__contact .rf-icon { color: color-mix(in srgb, var(--rf-primary) 60%, #fff); width: 1.1em; height: 1.1em; margin-right: 0.4rem; }
.rf-footer__disclosure {
	padding-block: 1.5rem;
	font-size: 0.84rem;
	color: #8b97a5;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.rf-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
	padding-block: 1.4rem;
	font-size: 0.86rem;
	color: #8b97a5;
}
.rf-footer__bottom nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; list-style: none; margin: 0; padding: 0; }

/* =========================================================================
   22. Mobile sticky call/book bar
   ========================================================================= */
.rf-sticky-bar {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 90;
	display: none;
	gap: 0.5rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.55rem 0.65rem;
	padding-bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
	background: color-mix(in srgb, #fff 94%, transparent);
	backdrop-filter: blur(8px);
	border-top: 1px solid var(--rf-line);
	box-shadow: 0 -6px 20px rgba(20, 30, 45, 0.08);
}
.rf-sticky-bar .rf-btn {
	flex: 1 1 0;
	min-width: 0;
	padding-inline: 0.75rem;
	font-size: 0.95rem;
}

/* =========================================================================
   23. Breadcrumbs
   ========================================================================= */
/* Breadcrumbs now live inside the page hero — no separate bar/divider. */
.rf-breadcrumbs { margin-bottom: 0.9rem; }
.rf-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.85rem;
}
.rf-breadcrumbs__sep { color: var(--rf-line-strong); margin-inline: 0.15rem; }
.rf-breadcrumbs__link { color: var(--rf-muted); font-weight: 600; }
.rf-breadcrumbs__link:hover { color: var(--rf-primary); }
.rf-breadcrumbs__current { color: var(--rf-charcoal); font-weight: 700; }

/* =========================================================================
   24. Page header + generic content
   ========================================================================= */
.rf-page-header {
	background: linear-gradient(180deg, var(--rf-surface) 0%, var(--rf-surface-2) 100%);
	border-bottom: 1px solid var(--rf-line);
	padding-block: clamp(2rem, 5vw, 3.25rem);
}
.rf-page-header__title { margin: 0; }
.rf-page-header__sub { color: var(--rf-muted); margin: 0.6rem 0 0; font-size: 1.05rem; }

/* Decorative hero with a product image (e.g. Services archive). */
.rf-page-header--image {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--rf-line);
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 42%, rgba(255, 255, 255, 0.25) 74%, rgba(255, 255, 255, 0) 100%),
		var(--rf-header-image) center right / cover no-repeat,
		var(--rf-surface-2);
	padding-block: clamp(2.5rem, 6vw, 5rem);
}
.rf-page-header--image .rf-container { position: relative; z-index: 1; }
.rf-page-header--image .rf-page-header__title,
.rf-page-header--image .rf-page-header__sub { max-width: 34rem; }

@media (max-width: 782px) {
	.rf-page-header--image {
		background:
			linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0.85) 100%),
			var(--rf-header-image) center / cover no-repeat,
			var(--rf-surface-2);
	}
	.rf-page-header--image .rf-page-header__title,
	.rf-page-header--image .rf-page-header__sub { max-width: none; }
}

.rf-prose .rf-table-wrap { margin: 1.5rem 0; }
.rf-prose .rf-proscons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.75rem 0;
}
.rf-proscons__col {
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	background: #fff;
	padding: 1.15rem 1.25rem;
	box-shadow: var(--rf-shadow-xs);
}
.rf-proscons__col--pro { border-top: 3px solid #2f6b4f; }
.rf-proscons__col--con { border-top: 3px solid var(--rf-primary); }
.rf-proscons__title {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.rf-proscons__col--pro .rf-proscons__title { color: #2f6b4f; }
.rf-proscons__col--con .rf-proscons__title { color: var(--rf-primary); }
.rf-proscons__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}
.rf-proscons__list li {
	margin: 0;
	padding-left: 1.35rem;
	position: relative;
	color: var(--rf-ink-2);
	font-size: 0.95rem;
	line-height: 1.45;
}
.rf-proscons__col--pro .rf-proscons__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: #2f6b4f;
}
.rf-proscons__col--con .rf-proscons__list li::before {
	content: "";
	position: absolute;
	left: 0.1rem;
	top: 0.35em;
	width: 0.65rem;
	height: 0.15rem;
	background: var(--rf-primary);
	border-radius: 1px;
}
.rf-ec-page__main .rf-faq { max-width: none; margin-inline: 0; }

@media (max-width: 700px) {
	.rf-prose .rf-proscons { grid-template-columns: 1fr; }
}

.rf-prose { max-width: 760px; }
.rf-prose > * + * { margin-top: 1rem; }
.rf-prose h2 { margin-top: 2rem; }
.rf-prose h3 { margin-top: 1.5rem; }
.rf-prose img { border-radius: var(--rf-radius); margin-block: 1rem; }
.rf-prose blockquote {
	margin: 1.5rem 0;
	padding: 0.5rem 0 0.5rem 1.25rem;
	border-left: 4px solid var(--rf-primary);
	color: var(--rf-ink-2);
	font-style: italic;
}
.rf-prose ul, .rf-prose ol { padding-left: 1.4rem; }
.rf-prose li { margin-bottom: 0.4rem; }
.rf-prose ol { list-style: none; counter-reset: rf-ol; padding-left: 1.9rem; }
.rf-prose ol > li { counter-increment: rf-ol; position: relative; }
.rf-prose ol > li::before {
	content: counter(rf-ol) ".";
	position: absolute;
	left: -1.9rem;
	width: 1.5rem;
	text-align: right;
	color: var(--rf-accent);
	font-weight: 700;
}
.rf-prose ul > li::marker { color: var(--rf-accent); }
.rf-prose code {
	background: var(--rf-surface-3);
	border-radius: 4px;
	padding: 0.1rem 0.35rem;
	font-size: 0.9em;
}
.rf-prose :where(pre) {
	background: var(--rf-charcoal);
	color: #e6ebf1;
	padding: 1rem 1.25rem;
	border-radius: var(--rf-radius);
	overflow: auto;
}
.rf-prose a { text-decoration: underline; text-underline-offset: 2px; }

.rf-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(2rem, 4vw, 3rem);
	align-items: start;
}
.rf-sidebar { display: grid; gap: 1.5rem; }
.rf-sidebar .widget {
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	padding: 1.25rem;
	box-shadow: var(--rf-shadow-xs);
}
.widget__title { font-size: 1.05rem; margin-bottom: 0.75rem; }
.widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }

/* Post cards / archive */
.rf-posts {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.rf-post-card {
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	overflow: hidden;
	box-shadow: var(--rf-shadow-xs);
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.rf-post-card:hover { transform: translateY(-4px); box-shadow: var(--rf-shadow); }
.rf-post-card__thumb {
	display: block;
	overflow: hidden;
	background: var(--rf-surface-3);
}
.rf-post-card__thumb img {
	display: block;
	width: 100%;
	height: auto;
}
.rf-post-card__thumb:has(.rf-cover),
.rf-post-card__thumb:has(.rf-post-card__placeholder) {
	aspect-ratio: 16 / 9;
}
.rf-post-card__placeholder {
	width: 100%; height: 100%;
	display: grid; place-items: center;
	color: var(--rf-line-strong);
	background: var(--rf-surface-3);
}
.rf-post-card__placeholder .rf-icon { width: 40px; height: 40px; }

/* Generated article cover — "studio product shot" look (no featured image).
   A moody backdrop with a soft spotlight, category glow, texture, a spotlit
   appliance silhouette and a floor reflection. */
.rf-cover {
	--rf-cover-glow: rgba(216, 31, 42, 0.55); /* overridden per category */
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(90% 75% at 74% 26%, var(--rf-cover-glow), transparent 60%),
		radial-gradient(120% 95% at 68% 18%, rgba(255, 255, 255, 0.16), transparent 55%),
		linear-gradient(160deg, #2a323d 0%, #171e27 58%, #0c1118 100%);
}
/* Fine studio texture */
.rf-cover__grain {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.3px);
	background-size: 16px 16px;
	opacity: 0.6;
	pointer-events: none;
}
/* Spotlight cone from top */
.rf-cover__spot {
	position: absolute;
	top: -40%;
	right: 6%;
	width: 78%;
	height: 150%;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.22), transparent 70%);
	filter: blur(6px);
	pointer-events: none;
}
/* Spotlit appliance silhouette */
.rf-cover__product {
	position: absolute;
	right: 8%;
	top: 46%;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	pointer-events: none;
}
.rf-cover__product .rf-icon {
	width: clamp(88px, 34%, 168px);
	height: auto;
	color: #fff;
	opacity: 0.92;
	stroke-width: 1.4;
	filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 24px var(--rf-cover-glow));
}
/* Reflective floor */
.rf-cover__floor {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 34%;
	background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.06) 60%, rgba(255, 255, 255, 0.12));
	pointer-events: none;
}
.rf-cover__floor::before {
	content: "";
	position: absolute;
	left: 10%; right: 10%; bottom: 22%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}
/* Category tag */
.rf-cover__tag {
	position: absolute;
	left: 1.1rem;
	bottom: 1.05rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	padding: 0.36rem 0.85rem;
	background: rgba(10, 14, 20, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--rf-radius-pill);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.rf-cover--common-problems  { --rf-cover-glow: rgba(216, 31, 42, 0.5); }
.rf-cover--maintenance-care { --rf-cover-glow: rgba(31, 157, 107, 0.5); }
.rf-cover--troubleshooting  { --rf-cover-glow: rgba(63, 108, 160, 0.55); }
.rf-cover--safety-risks     { --rf-cover-glow: rgba(232, 145, 42, 0.5); }
.rf-cover--default          { --rf-cover-glow: rgba(232, 130, 15, 0.45); }

.rf-post-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.rf-post-card__meta { font-size: 0.82rem; color: var(--rf-muted); display: flex; gap: 0.75rem; flex-wrap: wrap; }
.rf-post-card__title { font-size: 1.2rem; margin: 0; }
.rf-post-card__excerpt { color: var(--rf-muted); font-size: 0.95rem; margin: 0; }
.rf-post-card__foot { margin-top: auto; padding-top: 0.5rem; }

.rf-meta { color: var(--rf-muted); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.rf-meta .rf-icon { width: 1em; height: 1em; }

/* Pagination */
.rf-pagination { margin-top: 2.5rem; }
.rf-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	justify-content: center;
}
.rf-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 0.5rem;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius-sm);
	background: #fff;
	font-weight: 600;
	color: var(--rf-ink-2);
}
.rf-pagination .page-numbers.current {
	background: var(--rf-primary);
	color: #fff;
	border-color: var(--rf-primary);
}
.rf-pagination .page-numbers:hover:not(.current) { border-color: var(--rf-secondary); color: var(--rf-primary); }

/* 404 & search */
.rf-empty {
	text-align: center;
	max-width: 620px;
	margin-inline: auto;
	padding-block: clamp(2rem, 6vw, 4rem);
}
.rf-empty__code {
	font-size: clamp(4rem, 14vw, 8rem);
	font-weight: 800;
	line-height: 1;
	color: var(--rf-primary);
	letter-spacing: -0.03em;
}
.rf-empty__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }
.rf-searchform {
	display: flex;
	gap: 0.5rem;
	max-width: 480px;
	margin: 1.5rem auto 0;
}
.rf-searchform input[type="search"] {
	flex: 1;
	font-family: inherit;
	font-size: 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--rf-line-strong);
	border-radius: var(--rf-radius-sm);
}
.rf-searchform input[type="search"]:focus { outline: none; border-color: var(--rf-primary); box-shadow: var(--rf-focus); }

/* Single post */
.rf-single__header { margin-bottom: 1.25rem; }
.rf-single__thumb { margin: 0 0 1.75rem; border-radius: var(--rf-radius-lg); overflow: hidden; box-shadow: var(--rf-shadow-sm); }
.rf-post-page #post-overview .rf-byline { margin-bottom: 1.75rem; }
.rf-post-page #post-overview .rf-single__thumb { margin-top: 0; }
.rf-single__img { width: 100%; height: auto; display: block; }
.rf-single__thumb--cover { position: relative; aspect-ratio: 21 / 9; }
.rf-single__thumb--cover .rf-cover { position: absolute; inset: 0; }
.rf-single__thumb--cover .rf-cover__tag { font-size: 0.85rem; padding: 0.45rem 1rem; }
.rf-single__thumb--cover .rf-cover__product { right: 10%; }
.rf-single__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.rf-single__tags a {
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.3rem 0.75rem;
	border-radius: var(--rf-radius-pill);
	background: var(--rf-surface-2);
	border: 1px solid var(--rf-line);
	color: var(--rf-ink-2);
}
.rf-page-links { margin-top: 1.5rem; font-weight: 600; display: flex; gap: 0.4rem; align-items: center; }
.rf-post-nav {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rf-line);
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.rf-post-nav a { font-weight: 600; }
.rf-navlink__label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rf-muted); }

/* Comments */
.rf-comments { margin-top: 3rem; }
.rf-comments__title { margin-bottom: 1.25rem; }
.rf-comments .comment-respond {
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	padding: 1.5rem;
	margin-top: 1.5rem;
}
.rf-comments input[type="text"],
.rf-comments input[type="email"],
.rf-comments input[type="url"],
.rf-comments textarea {
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--rf-line-strong);
	border-radius: var(--rf-radius-sm);
	margin-top: 0.35rem;
}
.rf-comments .comment-form-comment,
.rf-comments .comment-form-author,
.rf-comments .comment-form-email,
.rf-comments .comment-form-url { margin-bottom: 1rem; }
.rf-comments .comment-list { list-style: none; padding: 0; }
.rf-comments .comment-body {
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	padding: 1.25rem;
	margin-bottom: 1rem;
}
.rf-comments .children { list-style: none; padding-left: 1.5rem; }

/* =========================================================================
   25. Responsive
   ========================================================================= */
@media (max-width: 1024px) {
	.rf-footer__top { grid-template-columns: 1fr 1fr 1fr; }
	.rf-footer__brand { grid-column: 1 / -1; }
	.rf-layout { grid-template-columns: 1fr; }
	.rf-transform { grid-template-columns: 1fr; }
	.rf-transform__arrow { transform: rotate(90deg); margin: 0.25rem 0; }
}

@media (max-width: 900px) {
	.rf-nav,
	.rf-header__actions .rf-phone-btn__label,
	.rf-header__actions .rf-btn--primary { display: none; }
	.rf-nav-toggle { display: inline-flex; }
	.rf-split { grid-template-columns: 1fr; }
	.rf-grid--3, .rf-grid--4 { grid-template-columns: repeat(2, 1fr); }

	/* Keep logo + icon-phone + menu on one line without horizontal overflow. */
	.rf-header__inner { gap: 0.65rem; }
	.rf-header__actions { gap: 0.35rem; }
	.rf-header__actions .rf-phone-btn--inline { padding: 0.45rem; }
	.rf-header__actions .rf-phone-btn--inline .rf-phone-btn__number { display: none; }
	.rf-brand__img {
		height: 34px;
		max-width: min(138px, 42vw);
	}
	.rf-nav-toggle {
		width: 42px;
		height: 42px;
	}
}

@media (max-width: 640px) {
	:root { --rf-header-h: 64px; }
	.rf-announce__note { width: 100%; text-align: center; }
	.rf-announce__inner { justify-content: center; text-align: center; }
	.rf-grid--2, .rf-grid--3, .rf-grid--4 { grid-template-columns: 1fr; }
	.rf-metrics { grid-template-columns: repeat(2, 1fr); }
	.rf-form__row { grid-template-columns: 1fr; }
	.rf-footer__top { grid-template-columns: 1fr 1fr; }
	.rf-cta-banner__inner { flex-direction: column; align-items: flex-start; }
	.rf-cta-banner__actions { width: 100%; }
	.rf-cta-banner__actions .rf-btn { flex: 1 1 0; min-width: 0; }
	.rf-sticky-bar { display: flex; }
	body.rf-has-sticky { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
	.rf-searchform { flex-direction: column; }
	.rf-hero__actions {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}
	.rf-hero__actions .rf-btn {
		flex: 1 1 100%;
		min-width: 0;
		white-space: normal;
	}
	/* Phone lives in the sticky bar — free header space. */
	.rf-header__actions .rf-phone-btn { display: none; }
	.rf-container { padding-inline: 1rem; }
	.rf-btn { max-width: 100%; box-sizing: border-box; }
}

@media (max-width: 768px) {
	.rf-hero::before {
		content: "";
		position: absolute;
		inset: 0;
		background: rgba(255, 255, 255, 0.72);
		z-index: 0;
	}
	.rf-hero__inner { min-height: auto; }
	.rf-hero__content { max-width: none; min-width: 0; }
}

@media (max-width: 420px) {
	.rf-metrics { grid-template-columns: 1fr; }
	.rf-footer__top { grid-template-columns: 1fr; }
	.rf-brand__tag { display: none; }
	.rf-brand__img { height: 32px; max-width: min(128px, 48vw); }
	.rf-header__inner { gap: 0.5rem; }
	.rf-sticky-bar .rf-btn { font-size: 0.9rem; padding-inline: 0.6rem; }
	.rf-sticky-bar .rf-btn .rf-icon { width: 1em; height: 1em; }
}

/* =========================================================================
   25b. Content architecture (CPT archives & singles)
   ========================================================================= */
.rf-sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

/* CPT hero */
.rf-cpt-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.4rem;
}
.rf-cpt-hero__byline {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1.1rem 0 0;
	color: var(--rf-muted);
	font-size: 0.9rem;
}
.rf-cpt-hero__byline .rf-icon { width: 1.05em; height: 1.05em; color: var(--rf-secondary); }

/* Subheads */
.rf-subhead {
	margin: 0 0 0.9rem;
	font-size: 1.05rem;
	color: var(--rf-ink);
}

/* Checklists */
.rf-checklist {
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.85rem 1.75rem;
}
.rf-checklist--cols-1 { grid-template-columns: 1fr; }
.rf-checklist--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rf-checklist--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rf-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	color: var(--rf-ink-2);
	line-height: 1.5;
}
.rf-checklist .rf-icon {
	flex: none;
	width: 22px; height: 22px;
	margin-top: 1px;
	padding: 3px;
	border-radius: var(--rf-radius-pill);
	color: var(--rf-accent);
	background: var(--rf-accent-soft);
}
.rf-checklist--danger .rf-icon {
	color: #fff;
	background: var(--rf-primary);
}

/* Sources / references */
.rf-sources {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}
.rf-sources li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--rf-muted);
	font-size: 0.95rem;
}
.rf-sources .rf-icon { flex: none; width: 18px; height: 18px; color: var(--rf-secondary); }

/* Detail list (local contact) */
.rf-detail-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}
.rf-detail-list li {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}
.rf-detail-list .rf-icon { flex: none; width: 20px; height: 20px; color: var(--rf-accent); }

/* Fact grid (error code / model facts) */
.rf-factgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
}
.rf-fact {
	background: var(--rf-surface);
	border: 1px solid var(--rf-line);
	border-left: 4px solid var(--rf-primary);
	border-radius: var(--rf-radius);
	padding: 1rem 1.25rem;
	box-shadow: var(--rf-shadow-xs);
}
.rf-fact__label {
	display: block;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rf-muted);
	margin-bottom: 0.25rem;
}
.rf-fact__value {
	display: block;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--rf-ink);
}

/* Group headings (error code archive) */
.rf-group + .rf-group { margin-top: 2.75rem; }
.rf-group__title {
	margin: 0 0 1.25rem;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--rf-line);
	font-size: 1.4rem;
}

/* Chips (jump nav) */
.rf-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.rf-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 1rem;
	border-radius: var(--rf-radius-pill);
	background: var(--rf-surface);
	border: 1px solid var(--rf-line-strong);
	color: var(--rf-ink-2);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.rf-chip:hover {
	background: var(--rf-primary);
	border-color: var(--rf-primary);
	color: #fff;
}

/* Model table */
.rf-table-wrap { overflow-x: auto; }
.rf-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--rf-surface);
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	overflow: hidden;
}
.rf-table th,
.rf-table td {
	padding: 0.9rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--rf-line);
	vertical-align: middle;
}
.rf-table thead th {
	background: var(--rf-surface-2);
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--rf-muted);
}
.rf-table tbody tr:last-child th,
.rf-table tbody tr:last-child td { border-bottom: 0; }
.rf-table tbody tr:hover { background: var(--rf-surface-2); }
.rf-table__action { text-align: right; white-space: nowrap; }

/* Generic CPT card additions */
.rf-card--link .rf-card__title a {
	color: inherit;
	text-decoration: none;
}
.rf-card--link .rf-card__title a:hover { color: var(--rf-primary); }
.rf-card__badge {
	position: absolute;
	top: 1rem;
	right: 1rem;
	padding: 0.2rem 0.6rem;
	border-radius: var(--rf-radius-pill);
	background: var(--rf-primary);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}
.rf-card--link { position: relative; }
.rf-card__media {
	display: block;
	margin: -1.5rem -1.5rem 1.1rem;
	overflow: hidden;
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}
.rf-card__media img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

/* Single post additions */
.rf-single__reviewed {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.4rem 0 0;
	color: var(--rf-muted);
	font-size: 0.88rem;
}
.rf-single__reviewed .rf-icon { width: 1.05em; height: 1.05em; color: var(--rf-secondary); }
.rf-single__sources,
.rf-single__related { margin-top: 2.5rem; }
.rf-single__sources h2,
.rf-single__related h2 { margin-bottom: 1rem; }
.rf-single__cta { margin-top: 2.5rem; }

@media (max-width: 640px) {
	.rf-checklist--cols-2,
	.rf-checklist--cols-3 { grid-template-columns: 1fr; }

	/* Stacked table on mobile */
	.rf-table thead { display: none; }
	.rf-table,
	.rf-table tbody,
	.rf-table tr,
	.rf-table th,
	.rf-table td { display: block; width: 100%; }
	.rf-table tr {
		border-bottom: 1px solid var(--rf-line);
		padding: 0.5rem 0;
	}
	.rf-table td,
	.rf-table th { border-bottom: 0; padding: 0.35rem 1rem; }
	.rf-table td[data-label]::before {
		content: attr(data-label) ": ";
		font-weight: 700;
		color: var(--rf-muted);
	}
	.rf-table__action { text-align: left; }
}

/* =========================================================================
   27. Author, byline & editorial trust
   ========================================================================= */

/* Shared bits */
.rf-author-photo {
	border-radius: 50%;
	object-fit: cover;
	background: var(--rf-surface-2);
	flex-shrink: 0;
}
.rf-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.8rem;
	border-radius: var(--rf-radius-pill);
	background: var(--rf-surface);
	border: 1px solid var(--rf-line-strong);
	color: var(--rf-ink-2);
	font-size: 0.85rem;
	font-weight: 600;
}
.rf-badge .rf-icon { width: 1em; height: 1em; color: var(--rf-secondary); }
.rf-badge--verify {
	background: color-mix(in srgb, var(--rf-secondary) 12%, #fff);
	border-color: color-mix(in srgb, var(--rf-secondary) 35%, #fff);
	color: var(--rf-secondary);
}
.rf-badge--verify .rf-icon { color: var(--rf-secondary); }

.rf-chips--static .rf-chip--static { cursor: default; }
.rf-chip--static:hover {
	background: var(--rf-surface);
	border-color: var(--rf-line-strong);
	color: var(--rf-ink-2);
}

.rf-muted-note {
	margin-top: 1.25rem;
	color: var(--rf-muted);
	font-size: 0.92rem;
}
.rf-section__link { margin-top: 1.75rem; text-align: center; }

/* Byline / attribution */
.rf-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 2rem;
	padding: 1.1rem 1.25rem;
	background: var(--rf-surface);
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
}
.rf-byline__item { display: inline-flex; align-items: center; gap: 0.75rem; }
.rf-byline__avatar { width: 40px; height: 40px; }
.rf-byline__badge {
	display: inline-grid; place-items: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--rf-secondary) 12%, #fff);
	color: var(--rf-secondary);
}
.rf-byline__badge .rf-icon { width: 1.2em; height: 1.2em; }
.rf-byline__stack { display: flex; flex-direction: column; line-height: 1.35; }
.rf-byline__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rf-muted); font-weight: 700; }
.rf-byline__name { font-weight: 700; color: var(--rf-ink); text-decoration: none; }
.rf-byline__name:hover { color: var(--rf-primary); }
.rf-byline__role { font-size: 0.82rem; color: var(--rf-muted); }
.rf-byline__dates { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin-left: auto; }
.rf-byline__date { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--rf-muted); font-size: 0.85rem; }
.rf-byline__date .rf-icon { width: 1em; height: 1em; color: var(--rf-secondary); }
.rf-byline__date a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Author card */
.rf-author-card {
	display: flex;
	gap: 1rem;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	box-shadow: var(--rf-shadow-xs);
}
.rf-author-card__name { font-size: 1.1rem; margin: 0 0 0.15rem; }
.rf-author-card__name a { color: var(--rf-ink); text-decoration: none; }
.rf-author-card__name a:hover { color: var(--rf-primary); }
.rf-author-card__role { color: var(--rf-secondary); font-weight: 600; font-size: 0.9rem; margin: 0 0 0.5rem; }
.rf-author-card__bio { color: var(--rf-muted); font-size: 0.92rem; margin: 0 0 0.6rem; }

/* Author trust box */
.rf-author-box {
	padding: clamp(1.75rem, 3.5vw, 2.75rem);
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius-lg, var(--rf-radius));
	box-shadow: var(--rf-shadow-md);
}
.rf-author-box__head {
	display: flex;
	gap: 1.75rem;
	align-items: center;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--rf-line);
}
.rf-author-box__media { flex-shrink: 0; }
.rf-author-box__media img { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; }
.rf-author-box__eyebrow {
	display: inline-block;
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rf-primary);
	font-weight: 800;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid var(--rf-primary);
	margin-bottom: 0.7rem;
}
.rf-author-box__name { font-size: 1.7rem; margin: 0 0 0.2rem; letter-spacing: -0.01em; }
.rf-author-box__name a { color: var(--rf-charcoal); text-decoration: none; }
.rf-author-box__name a:hover { color: var(--rf-primary); }
.rf-author-box__role { color: var(--rf-muted); font-weight: 500; font-size: 1.05rem; margin: 0 0 0.6rem; }
.rf-author-box__verify { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--rf-ink-2); font-size: 0.92rem; margin: 0; }
.rf-author-box__verify .rf-icon { width: 1.05em; height: 1.05em; color: var(--rf-primary); }
.rf-author-box__bio { margin: 1.5rem 0 0; color: var(--rf-ink-2); font-size: 1.05rem; line-height: 1.6; }
.rf-author-box__facts { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.rf-author-box__facts li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--rf-muted); font-size: 0.9rem; }
.rf-author-box__facts .rf-icon { width: 1.05em; height: 1.05em; color: var(--rf-primary); }
.rf-author-box__mini { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rf-secondary); font-weight: 800; margin-bottom: 0.85rem; }
.rf-author-box__expertise { margin-top: 1.75rem; }
.rf-author-box__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.rf-author-box__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.6rem 1rem;
	border: 1px solid var(--rf-line);
	border-radius: 999px;
	background: #fff;
	color: var(--rf-charcoal);
	font-weight: 600;
	font-size: 0.95rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rf-author-box__tag:hover { border-color: color-mix(in srgb, var(--rf-primary) 35%, var(--rf-line)); box-shadow: var(--rf-shadow-xs); }
.rf-author-box__tag-ico { display: inline-grid; place-items: center; color: var(--rf-primary); }
.rf-author-box__tag-ico .rf-icon { width: 1.2em; height: 1.2em; }
.rf-author-box__editorial { margin-top: 1.75rem; }
.rf-author-box__editorial p { margin: 0; color: var(--rf-ink-2); font-size: 1.02rem; line-height: 1.6; }
.rf-author-box__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 1.75rem; padding-top: 1.35rem; border-top: 1px solid var(--rf-line); }
.rf-author-box__links { display: inline-flex; flex-wrap: wrap; gap: 1rem; }
.rf-author-box__links a { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--rf-secondary); font-weight: 600; font-size: 0.88rem; text-decoration: none; }
.rf-author-box__links a:hover { color: var(--rf-primary); }
.rf-author-box__links .rf-icon { width: 0.95em; height: 0.95em; }
.rf-author-box__reviewed { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--rf-muted); font-size: 0.9rem; }
.rf-author-box__reviewed .rf-icon { width: 1.05em; height: 1.05em; color: var(--rf-secondary); }

/* Author profile hero */
.rf-author-hero { background: var(--rf-surface); }
.rf-author-hero__inner { display: flex; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.rf-author-hero__media img { width: clamp(120px, 20vw, 160px); height: clamp(120px, 20vw, 160px); }
.rf-author-hero__name { margin: 0.35rem 0 0.25rem; }
.rf-author-hero__role { font-size: 1.15rem; color: var(--rf-secondary); font-weight: 600; margin: 0 0 1rem; }
.rf-author-hero__meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.rf-author-hero__chips { margin-bottom: 1.25rem; }
.rf-author-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.rf-author-hero__reviewed { margin: 1rem 0 0; color: var(--rf-muted); font-size: 0.85rem; }

/* Linked expert teaser */
.rf-expert--linked .rf-expert__avatar {
	width: 72px;
	height: 72px;
	background: none;
	border-radius: 50%;
	overflow: hidden;
}
.rf-expert--linked .rf-expert__avatar img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; }
.rf-expert__name a { color: inherit; text-decoration: none; }
.rf-expert__name a:hover { color: var(--rf-primary); }
.rf-expert__links { display: inline-flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.6rem; }

/* References */
.rf-references { margin-top: 2rem; }
.rf-references__title { font-size: 1.15rem; margin: 0 0 0.9rem; }

.rf-single__authorbox { margin-top: 2.5rem; }

@media (max-width: 720px) {
	.rf-byline__dates { margin-left: 0; width: 100%; }
	.rf-author-hero__inner { flex-direction: column; text-align: center; align-items: center; }
	.rf-author-hero__meta,
	.rf-author-hero__chips,
	.rf-author-hero__actions { justify-content: center; }
	.rf-author-box__head { flex-direction: column; align-items: center; text-align: center; }
	.rf-author-box__foot { justify-content: center; text-align: center; }
}

/* =========================================================================
   28. Long-content overflow safeguards
   ========================================================================= */
.rf-card__title,
.rf-card__text,
.rf-byline__name,
.rf-author-card__name,
.rf-author-box__name,
.rf-fact__value,
.rf-detail-list li,
.rf-nap__value,
.rf-prose a { overflow-wrap: anywhere; }

/* Grid/flex children must be allowed to shrink to avoid pushing overflow. */
.rf-grid > *,
.rf-byline__stack,
.rf-author-card__body,
.rf-author-box__intro { min-width: 0; }

.rf-table td,
.rf-table th { overflow-wrap: anywhere; }

/* =========================================================================
   26. Motion preferences
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* =========================================================================
   27. Error-code database (archive search, filters, cards)
   ========================================================================= */
.rf-ec-hero {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.72) 42%, rgba(255, 255, 255, 0.2) 74%, rgba(255, 255, 255, 0) 100%),
		url(../images/error-codes-hero.png) center right / cover no-repeat,
		var(--rf-surface-2);
}
.rf-ec-hero .rf-container { position: relative; z-index: 1; }
.rf-ec-hero__title { margin: var(--rf-space-2) 0 var(--rf-space-3); }
.rf-ec-hero__lead { font-size: 1.15rem; color: var(--rf-ink-2); max-width: 46ch; }
.rf-ec-hero__note { color: var(--rf-muted); max-width: 52ch; margin: var(--rf-space-3) 0 0; font-size: 0.95rem; }
.rf-ec-hero__note--disclosure { font-style: italic; }

@media (max-width: 782px) {
	.rf-ec-hero {
		background:
			linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0.9) 100%),
			url(../images/error-codes-hero.png) center / cover no-repeat,
			var(--rf-surface-2);
	}
	.rf-ec-hero__lead,
	.rf-ec-hero__note { max-width: none; }
}

/* Search bar */
.rf-ec-search { margin: 0 0 var(--rf-space-4); }
.rf-ec-search__bar { display: flex; gap: var(--rf-space-3); flex-wrap: wrap; align-items: stretch; }
.rf-ec-search__bar input[type="search"] {
	flex: 1 1 320px;
	min-width: 0;
	padding: 0.85rem 1rem;
	font-size: 1.05rem;
	border: 1px solid var(--rf-line-strong);
	border-radius: var(--rf-radius);
	background: var(--rf-surface);
}
.rf-ec-search__bar input[type="search"]:focus-visible { outline: none; box-shadow: var(--rf-focus); border-color: var(--rf-primary); }
.rf-ec-filter-toggle { display: none; }

/* Filters */
.rf-ec-filters { margin-top: var(--rf-space-4); }
.rf-ec-filters__head { display: none; }
.rf-ec-filters__row { display: flex; gap: var(--rf-space-4); flex-wrap: wrap; align-items: end; }
.rf-ec-field { display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; color: var(--rf-ink-2); }
.rf-ec-field > span { font-weight: 600; }
.rf-ec-field select {
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--rf-line-strong);
	border-radius: var(--rf-radius-sm);
	background: var(--rf-surface);
	min-width: 220px;
}
.rf-ec-field--check { flex-direction: row; align-items: center; gap: 8px; }
.rf-ec-field--check span { font-weight: 500; }
.rf-ec-filters__actions { display: flex; gap: var(--rf-space-3); margin-top: var(--rf-space-4); flex-wrap: wrap; }

/* Active filter chips */
.rf-ec-chips { display: flex; gap: var(--rf-space-2); flex-wrap: wrap; margin: var(--rf-space-3) 0 0; }
.rf-ec-chips:empty { margin: 0; }
.rf-ec-chip {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 4px 12px; border-radius: var(--rf-radius-pill);
	background: var(--rf-primary-soft); color: var(--rf-primary-dark);
	border: 1px solid var(--rf-primary-tint); font-size: 0.85rem; font-weight: 600;
	cursor: pointer;
}
.rf-ec-chip:hover { background: var(--rf-primary-tint); }

/* Prefix index */
.rf-ec-index { display: flex; gap: var(--rf-space-2); flex-wrap: wrap; align-items: center; margin: var(--rf-space-5) 0 var(--rf-space-3); }
.rf-ec-index__label { font-weight: 600; color: var(--rf-ink-2); margin-right: var(--rf-space-2); }
.rf-ec-index__link {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; padding: 6px 10px;
	border: 1px solid var(--rf-line-strong); border-radius: var(--rf-radius-sm);
	background: var(--rf-surface); color: var(--rf-ink-2); font-weight: 600; text-decoration: none;
}
.rf-ec-index__link:hover { border-color: var(--rf-primary); color: var(--rf-primary); }
.rf-ec-index__link.is-active { background: var(--rf-primary); border-color: var(--rf-primary); color: #fff; }

/* Popular */
.rf-ec-popular { margin: var(--rf-space-5) 0; padding: var(--rf-space-4); background: var(--rf-surface-2); border-radius: var(--rf-radius); }
.rf-ec-popular__title { font-size: 1rem; margin: 0 0 var(--rf-space-3); }
.rf-ec-popular__list { display: flex; gap: var(--rf-space-3); flex-wrap: wrap; }
.rf-ec-popular__item {
	display: inline-flex; flex-direction: column; padding: 8px 16px;
	background: var(--rf-surface); border: 1px solid var(--rf-line); border-radius: var(--rf-radius-sm);
	text-decoration: none; color: var(--rf-ink); box-shadow: var(--rf-shadow-xs);
}
.rf-ec-popular__item:hover { border-color: var(--rf-primary); }
.rf-ec-popular__code { font-weight: 700; color: var(--rf-primary); }
.rf-ec-popular__app { font-size: 0.8rem; color: var(--rf-muted); }

/* Results */
.rf-ec-results { margin-top: var(--rf-space-4); transition: opacity 0.15s ease; }
.rf-ec-results.is-loading { opacity: 0.5; }
.rf-ec-count { color: var(--rf-muted); font-weight: 600; margin: 0 0 var(--rf-space-4); }
.rf-ec-grid { margin: 0; }

.rf-ec-card { height: 100%; }
.rf-ec-card__link {
	display: flex; flex-direction: column; gap: var(--rf-space-2); height: 100%;
	padding: var(--rf-space-4); background: var(--rf-surface);
	border: 1px solid var(--rf-line); border-radius: var(--rf-radius);
	box-shadow: var(--rf-shadow-xs); text-decoration: none; color: var(--rf-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.rf-ec-card__link:hover { border-color: var(--rf-primary); box-shadow: var(--rf-shadow-sm); transform: translateY(-2px); }
.rf-ec-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--rf-space-2); }
.rf-ec-card__code { font-size: 1.3rem; font-weight: 800; color: var(--rf-primary); overflow-wrap: anywhere; }
.rf-ec-card__appliance { font-size: 0.8rem; font-weight: 600; color: var(--rf-muted); text-align: right; }
.rf-ec-card__meaning { color: var(--rf-ink-2); font-size: 0.95rem; }
.rf-ec-card__symptom { color: var(--rf-muted); font-size: 0.85rem; }
.rf-ec-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--rf-primary); font-weight: 600; font-size: 0.9rem; }
.rf-ec-card__more svg { width: 16px; height: 16px; }
.rf-ec-card mark { background: var(--rf-primary-tint); color: inherit; padding: 0 2px; border-radius: 3px; }

/* Status pills */
.rf-ec-status { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; padding: 3px 9px; border-radius: var(--rf-radius-pill); }
.rf-ec-status svg { width: 13px; height: 13px; }
.rf-ec-status--ok { background: #edfaef; color: #00733b; }
.rf-ec-status--info { background: #eef4fb; color: #1d5b9e; }
.rf-ec-status--warn { background: #fcf3e7; color: #8a5a00; }

/* Empty + pagination */
.rf-ec-empty { text-align: center; padding: var(--rf-space-7) var(--rf-space-4); background: var(--rf-surface-2); border-radius: var(--rf-radius); }
.rf-ec-empty__title { font-size: 1.2rem; font-weight: 700; margin: 0 0 var(--rf-space-2); }
.rf-ec-pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: var(--rf-space-6); }
.rf-ec-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; padding: 8px 12px;
	border: 1px solid var(--rf-line-strong); border-radius: var(--rf-radius-sm); text-decoration: none; color: var(--rf-ink-2); font-weight: 600;
}
.rf-ec-pagination .page-numbers.current { background: var(--rf-primary); border-color: var(--rf-primary); color: #fff; }
.rf-ec-pagination a.page-numbers:hover { border-color: var(--rf-primary); color: var(--rf-primary); }

/* Single error-code additions */
.rf-ec-single-status { margin: var(--rf-space-3) 0 0; padding: 10px 14px; border-radius: var(--rf-radius-sm); font-size: 0.95rem; }
.rf-ec-single-status--ok { background: #edfaef; color: #00733b; }
.rf-ec-single-status--info { background: #eef4fb; color: #1d5b9e; }
.rf-ec-single-status--warn { background: #fcf3e7; color: #8a5a00; }
.rf-ec-quick { padding: var(--rf-space-4) var(--rf-space-5); background: var(--rf-primary-soft); border-left: 4px solid var(--rf-primary); border-radius: var(--rf-radius-sm); }
.rf-ec-quick__label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rf-primary-dark); margin-bottom: 4px; }
.rf-ec-quick__text { margin: 0; font-size: 1.1rem; color: var(--rf-ink); }
.rf-ec-disclaimer { display: flex; gap: var(--rf-space-3); align-items: flex-start; padding: var(--rf-space-3) var(--rf-space-4); background: var(--rf-surface-2); border: 1px dashed var(--rf-line-strong); border-radius: var(--rf-radius-sm); }
.rf-ec-disclaimer svg { flex: none; width: 22px; height: 22px; color: var(--rf-secondary); margin-top: 2px; }
.rf-ec-disclaimer p { margin: 0; color: var(--rf-ink-2); font-size: 0.95rem; }

/* Mobile: collapsible filter drawer */
@media (max-width: 782px) {
	.rf-ec-filter-toggle { display: inline-flex; }
	.rf-ec-filters {
		position: fixed; inset: 0; z-index: 1000;
		background: var(--rf-surface); padding: var(--rf-space-5);
		transform: translateX(100%); transition: transform 0.2s ease;
		overflow-y: auto; visibility: hidden;
	}
	.rf-ec-filters.is-open { transform: translateX(0); visibility: visible; }
	.rf-ec-filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--rf-space-4); }
	.rf-ec-filters__title { font-size: 1.2rem; font-weight: 700; }
	.rf-ec-filters__close { background: none; border: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--rf-ink-2); }
	.rf-ec-filters__row { flex-direction: column; align-items: stretch; }
	.rf-ec-field select { min-width: 0; width: 100%; }
	.rf-ec-filters__actions { flex-direction: column; }
	.rf-ec-filters__actions .rf-btn { width: 100%; }
}
@media (min-width: 783px) {
	.rf-ec-filters__close { display: none; }
}

/* =========================================================================
   30. Design polish — richer, less "template" feel
   (colors & content unchanged; purely presentational refinements)
   ========================================================================= */

/* --- Eyebrow as a soft accent chip instead of a plain dashed label --- */
.rf-heading__eyebrow,
.rf-eyebrow {
	gap: 0.45rem;
	padding: 0.34rem 0.75rem;
	background: var(--rf-accent-soft);
	border: 1px solid var(--rf-accent-tint);
	border-radius: var(--rf-radius-pill);
	color: var(--rf-accent-dark);
}
.rf-heading__eyebrow::before { display: none; }

/* Slightly more editorial section titles */
.rf-heading__title,
.rf-heading h2 { letter-spacing: -0.02em; }

/* --- Subtle dot texture + soft edges on alternating sections --- */
.rf-section--alt {
	background-color: var(--rf-surface-2);
	background-image: radial-gradient(rgba(29, 39, 51, 0.045) 1px, transparent 1.4px);
	background-size: 22px 22px;
}

/* --- Cards: animated accent top-bar, deeper hover, playful icon --- */
.rf-card { position: relative; overflow: hidden; }
.rf-card::after {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--rf-primary), var(--rf-accent));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}
.rf-card--hover:hover::after { transform: scaleX(1); }
.rf-card--hover:hover { box-shadow: var(--rf-shadow-lg); border-color: transparent; }

.rf-card__icon,
.rf-appliance__icon,
.rf-problem .rf-card__icon {
	background: linear-gradient(135deg, var(--rf-accent-soft), color-mix(in srgb, var(--rf-accent) 22%, #fff));
	box-shadow: inset 0 0 0 1px var(--rf-accent-tint);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.rf-card--hover:hover .rf-card__icon { transform: translateY(-2px) rotate(-4deg); }

/* --- Trust metrics: accent top edge + lift --- */
.rf-metric {
	position: relative;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.rf-metric::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--rf-accent), var(--rf-primary));
}
.rf-metric:hover { transform: translateY(-3px); box-shadow: var(--rf-shadow); }

/* --- Process steps: gradient number badge with glow + connector --- */
.rf-step__num {
	background: linear-gradient(135deg, var(--rf-accent), var(--rf-accent-dark));
	box-shadow: 0 8px 18px color-mix(in srgb, var(--rf-accent) 32%, transparent);
}
.rf-step { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.rf-step:hover { transform: translateY(-3px); box-shadow: var(--rf-shadow); }

/* --- Primary button gets a subtle gradient for depth --- */
.rf-btn--primary { background: linear-gradient(135deg, var(--rf-primary), var(--rf-primary-dark)); }

/* --- Guarantee & location cards lift consistently --- */
.rf-guarantee, .rf-locations .rf-location { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.rf-guarantee:hover, .rf-locations .rf-location:hover { transform: translateY(-3px); box-shadow: var(--rf-shadow); }

/* --- Scroll reveal (progressive enhancement; safe fallbacks) --- */
@media (prefers-reduced-motion: no-preference) {
	body.rf-reveal .rf-reveal-item {
		opacity: 0;
		transform: translateY(20px);
		transition: opacity 0.6s ease, transform 0.6s ease;
		will-change: opacity, transform;
	}
	body.rf-reveal .rf-reveal-item.is-in {
		opacity: 1;
		transform: none;
	}
}

/* =========================================================================
   31. Contact page
   ========================================================================= */
.rf-page-header--contact {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--rf-line);
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 42%, rgba(255, 255, 255, 0.25) 74%, rgba(255, 255, 255, 0) 100%),
		url(../images/contact-hero.png) center right / cover no-repeat,
		var(--rf-surface-2);
	padding-block: clamp(2.5rem, 6vw, 5rem);
}
.rf-page-header--contact .rf-container { position: relative; z-index: 1; }
.rf-page-header--contact .rf-page-header__title,
.rf-page-header--contact .rf-page-header__sub { max-width: 34rem; }
.rf-page-header__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }

@media (max-width: 782px) {
	.rf-page-header--contact {
		background:
			linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0.85) 100%),
			url(../images/contact-hero.png) center / cover no-repeat,
			var(--rf-surface-2);
	}
	.rf-page-header--contact .rf-page-header__title,
	.rf-page-header--contact .rf-page-header__sub { max-width: none; }
}

.rf-contact-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}
.rf-contact-tile {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.4rem 1.35rem;
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	box-shadow: var(--rf-shadow-xs);
	color: inherit;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.rf-contact-tile:hover {
	transform: translateY(-4px);
	box-shadow: var(--rf-shadow);
	border-color: transparent;
	color: inherit;
}
.rf-contact-tile__icon {
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border-radius: var(--rf-radius);
	margin-bottom: 0.4rem;
	background: linear-gradient(135deg, var(--rf-accent-soft), color-mix(in srgb, var(--rf-accent) 22%, #fff));
	box-shadow: inset 0 0 0 1px var(--rf-accent-tint);
	color: var(--rf-accent);
}
.rf-contact-tile__icon .rf-icon { width: 24px; height: 24px; }
.rf-contact-tile__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--rf-muted); }
.rf-contact-tile__value { font-size: 1.05rem; font-weight: 700; color: var(--rf-charcoal); overflow-wrap: anywhere; }
a.rf-contact-tile:hover .rf-contact-tile__value { color: var(--rf-primary); }

#contact .rf-split { align-items: start; }
.rf-contact-copy { margin-bottom: 1.75rem; }
.rf-contact-panel { position: sticky; top: calc(var(--rf-header-h) + 16px); }
.rf-contact-panel__title { font-size: 1.4rem; margin-bottom: 0.35rem; }
.rf-contact-panel__sub { color: var(--rf-muted); font-size: 0.92rem; margin-bottom: 1.25rem; }

.rf-map-cta {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.15rem 1.35rem;
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius);
	box-shadow: var(--rf-shadow-xs);
	color: inherit;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.rf-map-cta:hover { transform: translateY(-3px); box-shadow: var(--rf-shadow); border-color: transparent; color: inherit; }
.rf-map-cta__pin {
	flex: none;
	width: 48px; height: 48px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: color-mix(in srgb, var(--rf-primary) 12%, #fff);
	color: var(--rf-primary);
}
.rf-map-cta__pin .rf-icon { width: 24px; height: 24px; }
.rf-map-cta__body { display: flex; flex-direction: column; }
.rf-map-cta__body strong { color: var(--rf-charcoal); font-size: 1.05rem; }
.rf-map-cta__body span { color: var(--rf-muted); font-size: 0.92rem; }
.rf-map-cta__go {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 700;
	color: var(--rf-primary);
	white-space: nowrap;
}
.rf-map-cta__go .rf-icon { width: 1.05em; height: 1.05em; }

@media (max-width: 900px) {
	.rf-contact-panel { position: static; }
	.rf-map-cta { flex-wrap: wrap; }
	.rf-map-cta__go { margin-left: 0; }
}

/* =========================================================================
   32. Technician expertise (feature + diagnostic-process card)
   ========================================================================= */
.rf-expertise {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, var(--rf-surface) 0%, var(--rf-surface-2) 100%);
}
.rf-expertise__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		radial-gradient(1100px 620px at 52% 34%, rgba(29, 39, 51, 0.05), transparent 62%),
		url(../images/hero-appliances.jpg);
	background-repeat: no-repeat, no-repeat;
	background-position: center, right center;
	background-size: auto, cover;
	opacity: 0.1;
}
.rf-text-accent { color: var(--rf-primary); }

.rf-expertise__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.rf-expertise__title {
	font-size: clamp(2rem, 4vw, 2.9rem);
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0.6rem 0 0.9rem;
}
.rf-expertise__lead {
	color: var(--rf-muted);
	font-size: 1.075rem;
	margin: 0 0 1.9rem;
	max-width: 42ch;
}
.rf-expertise__features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.rf-expertise__features li { display: flex; gap: 1rem; align-items: flex-start; }
.rf-expertise__fico {
	flex: none;
	width: 52px; height: 52px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: color-mix(in srgb, var(--rf-primary) 8%, #fff);
	color: var(--rf-primary);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rf-primary) 16%, #fff);
}
.rf-expertise__fico .rf-icon { width: 24px; height: 24px; }
.rf-expertise__fbody strong { display: block; color: var(--rf-charcoal); font-size: 1.05rem; margin-bottom: 0.15rem; }
.rf-expertise__fbody span { color: var(--rf-muted); font-size: 0.95rem; }

.rf-expertise__card {
	position: relative;
	z-index: 1;
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius-lg);
	box-shadow: var(--rf-shadow-lg);
	padding: clamp(1.5rem, 3vw, 2.5rem);
}
.rf-expertise__card-title {
	position: relative;
	font-size: 1.5rem;
	margin: 0;
	padding-bottom: 0.9rem;
}
.rf-expertise__card-title::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 52px; height: 3px;
	background: var(--rf-primary);
	border-radius: 2px;
}
.rf-proclist { list-style: none; margin: 1.35rem 0 0; padding: 0; }
.rf-proc {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.05rem 0;
	border-bottom: 1px solid var(--rf-line);
}
.rf-proc:last-child { border-bottom: 0; }
.rf-proc__ico {
	flex: none;
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: color-mix(in srgb, var(--rf-primary) 8%, #fff);
	color: var(--rf-primary);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rf-primary) 16%, #fff);
}
.rf-proc__ico .rf-icon { width: 22px; height: 22px; }
.rf-proc__body { flex: 1; min-width: 0; }
.rf-proc__body strong { display: block; color: var(--rf-charcoal); font-size: 1.05rem; }
.rf-proc__body span { color: var(--rf-muted); font-size: 0.92rem; }
.rf-proc__num {
	flex: none;
	align-self: center;
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--rf-line-strong);
}
.rf-expertise__author { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--rf-line); }

/* Numbered-badge card variant (service/location process sections) */
.rf-pcard__badge {
	flex: none;
	width: 54px; height: 54px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: color-mix(in srgb, var(--rf-primary) 8%, #fff);
	color: var(--rf-primary);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rf-primary) 16%, #fff);
	font-weight: 800;
	font-size: 1.25rem;
	line-height: 1;
	letter-spacing: -0.02em;
}

@media (max-width: 900px) {
	.rf-expertise__grid { grid-template-columns: 1fr; }
	.rf-expertise__bg { background-size: auto, cover; opacity: 0.07; }
}

/* =========================================================================
   33. Repair process (numbered step cards)
   ========================================================================= */
.rf-process { position: relative; overflow: hidden; }
.rf-process__bg {
	position: absolute;
	top: 0; right: 0;
	width: min(52%, 640px);
	height: 62%;
	pointer-events: none;
	background: url(../images/hero-appliances.jpg) top right / cover no-repeat;
	opacity: 0.12;
	-webkit-mask-image: linear-gradient(255deg, #000 30%, transparent 85%);
	mask-image: linear-gradient(255deg, #000 30%, transparent 85%);
}
.rf-process__head { position: relative; z-index: 1; max-width: 42ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.rf-process__title {
	font-size: clamp(2rem, 4.2vw, 3rem);
	letter-spacing: -0.02em;
	line-height: 1.08;
	margin: 0.6rem 0 0.9rem;
}
.rf-process__lead { color: var(--rf-muted); font-size: 1.075rem; margin: 0; }

.rf-process__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}
.rf-pcard {
	position: relative;
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius-lg);
	box-shadow: var(--rf-shadow-sm);
	padding: 1.6rem 1.6rem 2.4rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rf-pcard:hover { transform: translateY(-4px); box-shadow: var(--rf-shadow-lg); }
.rf-pcard__top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.1rem; }
.rf-pcard__ico {
	flex: none;
	width: 54px; height: 54px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: color-mix(in srgb, var(--rf-primary) 8%, #fff);
	color: var(--rf-primary);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rf-primary) 16%, #fff);
}
.rf-pcard__ico .rf-icon { width: 26px; height: 26px; }
.rf-pcard__num {
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--rf-primary);
	line-height: 1;
}
.rf-pcard__title { font-size: 1.15rem; margin: 0 0 0.5rem; color: var(--rf-charcoal); }
.rf-pcard__text { color: var(--rf-muted); font-size: 0.94rem; margin: 0; }
.rf-pcard::after {
	content: "";
	position: absolute;
	left: 1.6rem; bottom: 1.5rem;
	width: 28px; height: 3px;
	background: var(--rf-primary);
	border-radius: 2px;
}

@media (max-width: 1080px) {
	.rf-process__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.rf-process__grid { grid-template-columns: 1fr; }
	.rf-process__bg { width: 70%; opacity: 0.08; }
	.rf-pcard { padding: 1.25rem 1.15rem 2rem; }
	.rf-pcard::after { left: 1.15rem; }
}

/* =========================================================================
   34. Appliances we service (offset card grid)
   ========================================================================= */
#appliances .rf-heading--center { margin-bottom: clamp(2rem, 4vw, 3rem); position: relative; }
#appliances .rf-heading--center::after {
	content: "";
	display: block;
	width: 48px; height: 3px;
	margin: 1.25rem auto 0;
	background: var(--rf-primary);
	border-radius: 2px;
}
.rf-appliances-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 1.5rem;
}
.rf-appliances-grid > * { grid-column: span 2; }
/* Center the leftover 3-card row within the 8-col track (cols 2–7). */
.rf-appliances-grid > :nth-child(5) { grid-column: 2 / span 2; }
.rf-appliances-grid > :nth-child(6) { grid-column: 4 / span 2; }
.rf-appliances-grid > :nth-child(7) { grid-column: 6 / span 2; }
.rf-appliance {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	text-decoration: none;
	background: color-mix(in srgb, var(--rf-surface-2) 55%, #fff);
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius-lg);
	padding: 1.75rem 1.6rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.rf-appliance:hover {
	transform: translateY(-4px);
	box-shadow: var(--rf-shadow-lg);
	border-color: color-mix(in srgb, var(--rf-primary) 24%, var(--rf-line));
}
.rf-appliance--static { cursor: default; }
.rf-appliance--static .rf-appliance__text { margin-bottom: 0; }

/* Blog category filter */
.rf-blog-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.rf-blog-filter__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 1.05rem;
	border-radius: 999px;
	border: 1px solid var(--rf-line);
	background: #fff;
	color: var(--rf-charcoal);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.rf-blog-filter__chip:hover {
	border-color: color-mix(in srgb, var(--rf-primary) 35%, var(--rf-line));
	box-shadow: var(--rf-shadow-xs);
}
.rf-blog-filter__chip.is-active {
	background: var(--rf-primary);
	border-color: var(--rf-primary);
	color: #fff;
}
.rf-blog-filter__count {
	display: inline-grid;
	place-items: center;
	min-width: 1.4em;
	height: 1.4em;
	padding: 0 0.4em;
	border-radius: 999px;
	background: color-mix(in srgb, var(--rf-primary) 10%, #fff);
	color: var(--rf-primary);
	font-size: 0.78rem;
	font-weight: 700;
}
.rf-blog-filter__chip.is-active .rf-blog-filter__count {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}
.rf-appliance__icon {
	width: 56px; height: 56px;
	display: grid; place-items: center;
	border-radius: 50%;
	margin-bottom: 1.1rem;
	background: color-mix(in srgb, var(--rf-primary) 8%, #fff);
	color: var(--rf-primary);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rf-primary) 16%, #fff);
}
.rf-appliance__icon .rf-icon { width: 26px; height: 26px; }
.rf-appliance__title { font-size: 1.15rem; color: var(--rf-charcoal); margin: 0 0 0.5rem; }
.rf-appliance__text { color: var(--rf-muted); font-size: 0.94rem; margin: 0 0 1.25rem; }
.rf-appliance__arrow {
	margin-top: auto;
	color: var(--rf-primary);
	display: inline-grid;
	place-items: center;
	transition: transform 0.2s ease;
}
.rf-appliance__arrow .rf-icon { width: 22px; height: 22px; }
.rf-appliance:hover .rf-appliance__arrow { transform: translateX(4px); }

@media (max-width: 1080px) {
	.rf-appliances-grid { grid-template-columns: repeat(2, 1fr); }
	.rf-appliances-grid > *,
	.rf-appliances-grid > :nth-child(5),
	.rf-appliances-grid > :nth-child(6),
	.rf-appliances-grid > :nth-child(7) { grid-column: auto; }
}
@media (max-width: 560px) {
	.rf-appliances-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   35. Booking modal + cookie consent
   ========================================================================= */
.rf-modal {
	position: fixed;
	inset: 0;
	z-index: 240;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	visibility: hidden;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}
.rf-modal.is-open {
	visibility: visible;
	pointer-events: auto;
	opacity: 1;
}
.rf-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(18, 24, 32, 0.55);
	backdrop-filter: blur(3px);
}
.rf-modal__panel {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	max-height: min(92vh, 860px);
	overflow: auto;
	background: #fff;
	border-radius: calc(var(--rf-radius-lg) + 4px);
	box-shadow: 0 24px 64px rgba(15, 22, 30, 0.28);
	padding: clamp(1.35rem, 3vw, 2rem);
	transform: translateY(14px) scale(0.98);
	transition: transform 0.24s ease;
}
.rf-modal.is-open .rf-modal__panel { transform: none; }
.rf-modal__close {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid var(--rf-line);
	border-radius: 50%;
	background: #fff;
	color: var(--rf-charcoal);
	cursor: pointer;
	transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.rf-modal__close:hover {
	background: var(--rf-primary);
	border-color: var(--rf-primary);
	color: #fff;
}
.rf-modal__close .rf-icon { width: 18px; height: 18px; }
.rf-modal__head { padding-right: 2.5rem; margin-bottom: 1.25rem; }
.rf-modal__title {
	margin: 0.55rem 0 0.55rem;
	font-size: clamp(1.45rem, 3vw, 1.85rem);
	letter-spacing: -0.02em;
}
.rf-modal__lead {
	margin: 0;
	color: var(--rf-muted);
	font-size: 0.98rem;
	line-height: 1.55;
}
.rf-modal__phone {
	margin: 0.85rem 0 0;
	font-size: 0.92rem;
	color: var(--rf-muted);
}
.rf-modal__phone a {
	color: var(--rf-primary);
	font-weight: 700;
	margin-left: 0.25rem;
}
.rf-modal__body .rf-form__note { margin-bottom: 0; }

/* Cookie banner */
.rf-cookie {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 230;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}
.rf-cookie.is-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.rf-cookie__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	flex-wrap: wrap;
	max-width: 920px;
	margin-inline: auto;
	padding: 1rem 1.15rem;
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius-lg);
	box-shadow: 0 16px 40px rgba(15, 22, 30, 0.16);
}
.rf-cookie__copy { flex: 1 1 240px; min-width: 0; }
.rf-cookie__title {
	display: block;
	font-size: 0.98rem;
	color: var(--rf-charcoal);
	margin-bottom: 0.25rem;
}
.rf-cookie__text {
	margin: 0;
	color: var(--rf-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}
.rf-cookie__text a {
	color: var(--rf-primary);
	font-weight: 600;
	white-space: nowrap;
}
.rf-cookie__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	flex: 0 0 auto;
}
.rf-cookie__btn {
	padding: 0.7rem 1.1rem;
	font-size: 0.92rem;
}

@media (max-width: 640px) {
	.rf-modal { padding: 0.65rem; align-items: flex-end; }
	.rf-modal__panel {
		width: 100%;
		max-height: min(94vh, 920px);
		border-radius: var(--rf-radius-lg) var(--rf-radius-lg) 0 0;
		padding: 1.25rem 1rem 1.35rem;
	}
	body.rf-has-sticky .rf-cookie {
		bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
	}
	.rf-cookie {
		left: 0.65rem;
		right: 0.65rem;
		bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
	}
	.rf-cookie__inner {
		padding: 0.95rem 1rem;
		flex-direction: column;
		align-items: stretch;
	}
	.rf-cookie__actions { width: 100%; }
	.rf-cookie__btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.rf-modal,
	.rf-modal__panel,
	.rf-cookie { transition: none; }
}

/* =========================================================================
   36. Error-code single: TOC + content grid
   ========================================================================= */
.rf-similar__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	margin-bottom: 0.25rem;
}
.rf-similar__head .rf-heading { margin-bottom: 0; }
.rf-posts--similar {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}
.rf-similar__foot {
	margin: 1.5rem 0 0;
	text-align: center;
}

@media (max-width: 900px) {
	.rf-posts--similar { grid-template-columns: 1fr; }
}
.rf-ec-page__grid {
	display: grid;
	grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: start;
}
.rf-ec-page__main {
	min-width: 0;
	display: grid;
	gap: clamp(1.75rem, 3vw, 2.5rem);
}
.rf-ec-page__main .rf-prose { max-width: none; }
.rf-ec-block {
	scroll-margin-top: calc(var(--rf-header-h) + 1rem);
}
.rf-ec-block .rf-heading { margin-bottom: 1.1rem; }
.rf-ec-block .rf-factgrid,
.rf-ec-block .rf-ec-quick,
.rf-ec-block .rf-ec-disclaimer,
.rf-ec-block .rf-ec-single-status { margin-top: 1rem; }
.rf-ec-related-grid { margin-bottom: 1.5rem; }
.rf-ec-block--cta { margin-block: 0.25rem; }

/* Sticky table of contents */
.rf-toc {
	position: sticky;
	top: calc(var(--rf-header-h) + 1rem);
	padding: 1.15rem 1.2rem;
	background: #fff;
	border: 1px solid var(--rf-line);
	border-radius: var(--rf-radius-lg);
	box-shadow: var(--rf-shadow-xs);
}
.rf-toc__title {
	margin: 0 0 0.85rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rf-muted);
}
.rf-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.15rem;
}
.rf-toc__link {
	display: block;
	padding: 0.45rem 0.6rem;
	border-radius: var(--rf-radius-sm);
	color: var(--rf-ink-2);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	border-left: 2px solid transparent;
}
.rf-toc__link:hover { color: var(--rf-primary); background: var(--rf-primary-soft); }
.rf-toc__link.is-active {
	color: var(--rf-primary);
	background: var(--rf-primary-soft);
	border-left-color: var(--rf-primary);
}
.rf-toc__cta {
	display: grid;
	gap: 0.55rem;
	margin-top: 1.15rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--rf-line);
}

@media (max-width: 900px) {
	.rf-ec-page__grid { grid-template-columns: 1fr; gap: 1.5rem; }
	.rf-toc {
		position: static;
		padding: 1rem;
	}
	.rf-toc__list {
		display: flex;
		flex-wrap: wrap;
		gap: 0.4rem;
	}
	.rf-toc__link {
		border-left: 0;
		border: 1px solid var(--rf-line);
		border-radius: 999px;
		padding: 0.4rem 0.8rem;
		font-size: 0.85rem;
	}
	.rf-toc__link.is-active {
		border-color: var(--rf-primary);
		background: var(--rf-primary);
		color: #fff;
	}
	.rf-toc__cta {
		grid-template-columns: 1fr 1fr;
		align-items: stretch;
	}
}
@media (max-width: 560px) {
	.rf-toc__cta { grid-template-columns: 1fr; }
	.rf-ec-page__main .rf-checklist--cols-2 { grid-template-columns: 1fr; }
}
