/* ============================================================
   Roadmap Pro — design system
   Lightweight, framework-free, accessible, conversion-first.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
	--rp-navy: #0e2a47;
	--rp-navy-deep: #091c31;
	--rp-ink: #16233a;
	--rp-slate: #4a5a72;
	--rp-muted: #6b7a90;
	--rp-line: #e2e8f0;
	--rp-bg: #ffffff;
	--rp-bg-alt: #f4f7fb;
	--rp-accent: #f97316;
	--rp-accent-dark: #c2410c;
	--rp-accent-darker: #9a3412;
	--rp-accent-soft: #fff1e6;
	--rp-success: #15803d;

	--rp-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--rp-font-display: "Fraunces", Georgia, serif;

	--rp-radius: 14px;
	--rp-radius-sm: 9px;
	--rp-shadow: 0 6px 24px rgba(14, 42, 71, 0.08);
	--rp-shadow-lg: 0 18px 48px rgba(14, 42, 71, 0.14);
	--rp-container: 1160px;
	--rp-header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--rp-font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--rp-ink);
	background: var(--rp-bg);
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
	line-height: 1.18;
	margin: 0 0 0.6em;
	color: var(--rp-navy);
	font-weight: 700;
	letter-spacing: -0.015em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }
a { color: var(--rp-accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rp-navy); }

:focus-visible {
	outline: 3px solid var(--rp-accent);
	outline-offset: 2px;
	border-radius: 3px;
}

.container {
	width: min(100% - 2.5rem, var(--rp-container));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed;
	top: 0.75rem; left: 0.75rem;
	z-index: 100000;
	width: auto; height: auto;
	clip: auto;
	padding: 0.8rem 1.2rem;
	background: var(--rp-navy);
	color: #fff;
	border-radius: var(--rp-radius-sm);
	text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.7rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--rp-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
	background: var(--rp-accent-dark);
	color: #fff;
	box-shadow: 0 8px 20px rgba(194, 65, 12, 0.32);
}
.btn--primary:hover { background: var(--rp-accent-darker); color: #fff; }

.btn--ghost {
	background: transparent;
	color: var(--rp-navy);
	border-color: var(--rp-navy);
}
.btn--ghost:hover { background: var(--rp-navy); color: #fff; }

.btn--light {
	background: #fff;
	color: var(--rp-navy);
}
.btn--light:hover { background: var(--rp-accent-soft); color: var(--rp-navy); }

.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.075rem; }
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.92rem; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--rp-line);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: var(--rp-header-h);
}
.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--rp-navy);
	text-decoration: none;
}
.site-logo__mark { color: var(--rp-accent); display: inline-flex; }
.site-logo__text { font-family: var(--rp-font-display); font-size: 1.35rem; font-weight: 700; }
.custom-logo-link img { max-height: 52px; width: auto; }

.main-navigation { margin-left: auto; }
.main-navigation .menu {
	display: flex;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.main-navigation .menu a {
	display: block;
	padding: 0.55rem 0.9rem;
	color: var(--rp-slate);
	font-weight: 500;
	font-size: 0.98rem;
	text-decoration: none;
	border-radius: var(--rp-radius-sm);
}
.main-navigation .menu a:hover,
.main-navigation .menu .current-menu-item > a {
	color: var(--rp-navy);
	background: var(--rp-bg-alt);
}

/* ---------- Dropdown submenus ----------
   The live SR menu is 20 items across 3 levels. Without these rules every
   .sub-menu renders inline and expanded, which buries the page under the header. */
.main-navigation .menu li { position: relative; }
.main-navigation .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.35rem;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 200;
	min-width: 260px;
	background: var(--rp-bg);
	border: 1px solid var(--rp-line);
	border-radius: var(--rp-radius-sm);
	box-shadow: var(--rp-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.main-navigation .sub-menu .sub-menu { top: -0.35rem; left: 100%; }
.main-navigation .menu li:hover > .sub-menu,
.main-navigation .menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.main-navigation .sub-menu a {
	padding: 0.5rem 0.7rem;
	font-size: 0.95rem;
	line-height: 1.35;
	white-space: normal;
}
/* Caret on anything with children: down at level 1, right on flyouts. */
.main-navigation .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 0.36em;
	height: 0.36em;
	margin-left: 0.45em;
	vertical-align: middle;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-0.12em);
}
.main-navigation .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); }
/* Touch/mobile toggle button — hidden on desktop, where hover/focus-within drives it. */
.submenu-toggle { display: none; }

.site-header__cta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: 1rem;
}
.header-phone {
	font-weight: 600;
	color: var(--rp-navy);
	text-decoration: none;
	font-size: 0.95rem;
}
.header-phone:hover { color: var(--rp-accent-dark); }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	margin-left: auto;
	padding: 0.6rem;
	background: none;
	border: 1px solid var(--rp-line);
	border-radius: var(--rp-radius-sm);
	cursor: pointer;
}
.nav-toggle__bar {
	width: 22px; height: 2px;
	background: var(--rp-navy);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(900px 500px at 85% -10%, rgba(249, 115, 22, 0.16), transparent 60%),
		linear-gradient(160deg, var(--rp-navy-deep) 0%, var(--rp-navy) 70%, #123a61 100%);
	color: #eaf0f8;
}
.hero__inner {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 3rem;
	align-items: center;
	padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero__sub { font-size: 1.18rem; color: #c6d3e4; max-width: 46ch; }
.hero .kicker--light { color: #ffb684; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.6rem 0 0.9rem; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.hero .btn--ghost:hover { background: #fff; color: var(--rp-navy); }
.hero__note { font-size: 0.92rem; color: #9fb2c9; margin: 0; }

.hero__visual {
	position: relative;
	display: grid;
	gap: 1.1rem;
}
.hero__card {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--rp-radius);
	padding: 1.2rem 1.4rem;
	backdrop-filter: blur(6px);
	box-shadow: var(--rp-shadow-lg);
}
.hero__card--1 { transform: translateX(0); }
.hero__card--2 { transform: translateX(2.5rem); border-left: 4px solid var(--rp-accent); }
.hero__card--3 { transform: translateX(5rem); }

/* The staggered offsets only fit while there is gutter outside .container to drift into.
   .container maxes at 1160px, so gutter = (viewport - 1160) / 2. Card 3 is offset 5rem
   (80px), which needs 80px of gutter -> viewport >= 1160 + 160 = 1320px. Below that the
   cards run past the container and .hero's overflow:hidden slices them mid-word.
   Arithmetic, not taste: flatten the stagger under 1320px. */
@media (max-width: 1320px) {
	.hero__card--2,
	.hero__card--3 { transform: none; }
}
.hero__card-label { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9fb2c9; }
.hero__card strong { font-size: 1.35rem; color: #fff; }

/* ---------- Trust bar ---------- */
.trust-bar {
	background: var(--rp-bg-alt);
	border-bottom: 1px solid var(--rp-line);
}
.trust-bar__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	padding: 1.8rem 0;
	text-align: center;
}
.trust-bar__number {
	display: block;
	font-family: var(--rp-font-display);
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	font-weight: 700;
	color: var(--rp-accent);
	line-height: 1.1;
}
.trust-bar__label { font-size: 0.95rem; color: var(--rp-slate); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--rp-bg-alt); }

.section-head {
	max-width: 640px;
	margin: 0 auto 2.8rem;
	text-align: center;
}
.kicker {
	display: inline-block;
	margin: 0 0 0.5rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rp-accent-dark);
}
.lead { font-size: 1.12rem; color: var(--rp-slate); }

/* ---------- Problem ---------- */
.problem__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 3rem;
	align-items: center;
}
.problem .section-head { text-align: left; margin: 0 0 1.4rem; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
	position: relative;
	padding: 0.45rem 0 0.45rem 2.1rem;
	color: var(--rp-slate);
	font-weight: 500;
}
.check-list li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.55rem;
	width: 1.25rem; height: 1.25rem;
	border-radius: 50%;
	background: var(--rp-accent-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f97316" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4L19 7"/></svg>') center / 0.8rem no-repeat;
}
.problem__answer {
	background: #fff;
	border: 1px solid var(--rp-line);
	border-top: 5px solid var(--rp-accent);
	border-radius: var(--rp-radius);
	box-shadow: var(--rp-shadow);
	padding: 2.2rem;
}

/* ---------- Services ---------- */
.services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.4rem;
}
.service-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--rp-line);
	border-radius: var(--rp-radius);
	padding: 1.8rem;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--rp-shadow);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--rp-shadow-lg);
	border-color: var(--rp-accent);
}
.service-card h3 { margin-bottom: 0.45rem; }
.service-card p { color: var(--rp-slate); font-size: 0.98rem; flex: 1; }
.service-card__link { font-weight: 600; color: var(--rp-accent-dark); font-size: 0.95rem; }

/* ---------- Process ---------- */
.process__steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}
.process__step {
	position: relative;
	background: #fff;
	border: 1px solid var(--rp-line);
	border-radius: var(--rp-radius);
	padding: 2.4rem 1.5rem 1.6rem;
	box-shadow: var(--rp-shadow);
}
.process__number {
	position: absolute;
	top: -1.15rem; left: 1.4rem;
	display: grid;
	place-items: center;
	width: 2.3rem; height: 2.3rem;
	border-radius: 50%;
	background: var(--rp-navy);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
}
.process__step h3 { margin-bottom: 0.4rem; }
.process__step p { color: var(--rp-slate); font-size: 0.96rem; margin: 0; }
.process__cta { text-align: center; margin-top: 2.6rem; }

/* ---------- Testimonials ---------- */
.testimonials__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.4rem;
}
.testimonial {
	margin: 0;
	background: #fff;
	border: 1px solid var(--rp-line);
	border-radius: var(--rp-radius);
	padding: 1.8rem;
	box-shadow: var(--rp-shadow);
	display: flex;
	flex-direction: column;
}
.testimonial blockquote { margin: 0 0 1rem; }
.testimonial blockquote p { font-size: 1.05rem; color: var(--rp-ink); }
.testimonial figcaption {
	margin-top: auto;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--rp-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* ---------- Cards (blog) ---------- */
.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.4rem;
}
.card-grid--list { grid-template-columns: repeat(2, 1fr); }
.card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--rp-line);
	border-radius: var(--rp-radius);
	overflow: hidden;
	box-shadow: var(--rp-shadow);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--rp-shadow-lg); }
.card__media { display: block; aspect-ratio: 12 / 7; background: var(--rp-bg-alt); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media-placeholder {
	display: grid;
	place-items: center;
	width: 100%; height: 100%;
	color: var(--rp-accent);
	background: linear-gradient(150deg, var(--rp-navy) 0%, #123a61 100%);
}
.card__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-pills { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.pill {
	display: inline-block;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: var(--rp-accent-soft);
	color: var(--rp-accent-dark);
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
}
.pill:hover { background: var(--rp-accent); color: #fff; }
.card__title { margin: 0 0 0.5rem; font-size: 1.18rem; }
.card__title a { color: var(--rp-navy); text-decoration: none; }
.card__title a:hover { color: var(--rp-accent-dark); }
.card__excerpt { color: var(--rp-slate); font-size: 0.96rem; flex: 1; }
.card__meta { display: flex; gap: 0.5rem; font-size: 0.85rem; color: var(--rp-muted); }
.insights__more { text-align: center; margin-top: 2.4rem; }

/* ---------- FAQ ---------- */
.faq__inner { max-width: 760px; margin-inline: auto; }
.faq__list { display: grid; gap: 0.8rem; }
.faq__item {
	background: #fff;
	border: 1px solid var(--rp-line);
	border-radius: var(--rp-radius-sm);
	padding: 1.1rem 1.3rem;
}
.faq__item summary {
	font-weight: 600;
	color: var(--rp-navy);
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 2rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
	content: "+";
	position: absolute;
	right: 0; top: -0.15rem;
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--rp-accent);
	transition: transform 0.15s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0.7rem 0 0; color: var(--rp-slate); }

/* ---------- CTA band ---------- */
.cta-band {
	background: linear-gradient(120deg, var(--rp-navy-deep), var(--rp-navy));
	color: #eaf0f8;
}
.cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: clamp(2.4rem, 5vw, 3.6rem) 0;
	flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 0.3rem; }
.cta-band p { color: #c6d3e4; margin: 0; max-width: 52ch; }
.cta-band__actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.cta-band__phone { color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.cta-band__phone:hover { color: var(--rp-accent); }

/* ---------- Layout: content + sidebar ---------- */
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 3rem;
	padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.layout__content--page { grid-column: 1 / -1; max-width: 780px; margin-inline: auto; }
.no-sidebar .layout { grid-template-columns: 1fr; }
.no-sidebar .layout__content { max-width: 860px; margin-inline: auto; width: 100%; }

/* Page template measure. `.layout__content--page` (780px) previously lost to the rule
   above on specificity, so every page silently rendered at 860px. 780px is the value the
   design actually intends -- it sits closer to the reading measures used elsewhere in this
   file (.section-head 640px, .archive-description 68ch, .inline-cta p 46ch). Declared here,
   after the 860px rule and at equal specificity, so it wins on source order. */
.no-sidebar .layout__content--page { max-width: 780px; }

.page-header { margin-bottom: 2rem; }
.page-header h1 { margin-bottom: 0.4rem; }
.archive-description {
	max-width: 68ch;
	margin-top: 0.6rem;
}
.archive-description p { margin-bottom: 0.8em; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { margin-bottom: 1rem; }
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.85rem;
	color: var(--rp-muted);
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: var(--rp-line); }
.breadcrumbs a { color: var(--rp-slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--rp-accent-dark); }

/* ---------- Entry (single/page) ---------- */
.entry-header { margin-bottom: 1.6rem; }
.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.1rem;
	font-size: 0.9rem;
	color: var(--rp-muted);
}
.entry-meta a { color: var(--rp-slate); }
.entry-hero {
	margin: 0 0 2rem;
	border-radius: var(--rp-radius);
	overflow: hidden;
	box-shadow: var(--rp-shadow);
}
.entry-content { font-size: 1.075rem; }
.entry-content h2 { margin-top: 2.2rem; }
.entry-content h3 { margin-top: 1.8rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: 0.35rem; }
.entry-content blockquote {
	margin: 1.8rem 0;
	padding: 1.2rem 1.6rem;
	border-left: 4px solid var(--rp-accent);
	background: var(--rp-bg-alt);
	border-radius: 0 var(--rp-radius-sm) var(--rp-radius-sm) 0;
	font-family: var(--rp-font-display);
	font-size: 1.2rem;
	color: var(--rp-navy);
}
.entry-content img { border-radius: var(--rp-radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: 0.98rem; }
.entry-content th, .entry-content td { padding: 0.7rem 0.9rem; border: 1px solid var(--rp-line); text-align: left; }
.entry-content th { background: var(--rp-bg-alt); color: var(--rp-navy); }
.entry-content code { background: var(--rp-bg-alt); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.9em; }

.inline-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.6rem;
	flex-wrap: wrap;
	margin: 2.6rem 0;
	padding: 1.8rem 2rem;
	background: linear-gradient(120deg, var(--rp-navy-deep), var(--rp-navy));
	border-radius: var(--rp-radius);
	color: #eaf0f8;
}
.inline-cta h2 { color: #fff; font-size: 1.35rem; margin-bottom: 0.25rem; }
.inline-cta p { color: #c6d3e4; margin: 0; font-size: 0.98rem; max-width: 46ch; }

.entry-footer { margin-top: 1.5rem; }
.tag-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-links a {
	padding: 0.25rem 0.8rem;
	background: var(--rp-bg-alt);
	border-radius: 999px;
	font-size: 0.85rem;
	text-decoration: none;
	color: var(--rp-slate);
}
.tag-links a:hover { background: var(--rp-navy); color: #fff; }

/* Post navigation */
.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.2rem;
	margin: 2.5rem 0;
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
	border: 1px solid var(--rp-line);
	border-radius: var(--rp-radius);
	padding: 1.2rem 1.4rem;
	background: #fff;
	box-shadow: var(--rp-shadow);
}
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-navigation a { text-decoration: none; color: var(--rp-navy); }
.nav-subtitle { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rp-muted); }
.nav-title { font-weight: 600; }

/* Pagination */
.pagination { margin-top: 2.4rem; }
.pagination .nav-links { display: flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.6rem;
	border: 1px solid var(--rp-line);
	border-radius: var(--rp-radius-sm);
	text-decoration: none;
	color: var(--rp-slate);
	font-weight: 500;
}
.pagination .page-numbers.current { background: var(--rp-navy); border-color: var(--rp-navy); color: #fff; }
.pagination .page-numbers:hover:not(.current) { border-color: var(--rp-navy); color: var(--rp-navy); }

/* ---------- Sidebar & widgets ---------- */
.widget-area { display: grid; gap: 1.6rem; align-content: start; }
.widget {
	background: #fff;
	border: 1px solid var(--rp-line);
	border-radius: var(--rp-radius);
	padding: 1.5rem;
}
.widget-title {
	font-size: 1.05rem;
	margin-bottom: 0.8rem;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--rp-accent);
	display: inline-block;
}
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget ul li { padding: 0.35rem 0; border-bottom: 1px dashed var(--rp-line); }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { color: var(--rp-slate); text-decoration: none; }
.widget ul li a:hover { color: var(--rp-accent-dark); }
.widget--cta {
	background: linear-gradient(140deg, var(--rp-navy-deep), var(--rp-navy));
	color: #eaf0f8;
	border: none;
}
.widget--cta .widget-title { color: #fff; border-color: var(--rp-accent); }
.widget--cta p { color: #c6d3e4; font-size: 0.95rem; }

/* ---------- Search form ---------- */
.search-form { display: flex; gap: 0.6rem; margin: 1.2rem 0; max-width: 480px; }
.search-form label { flex: 1; margin: 0; }
.search-field {
	width: 100%;
	padding: 0.8rem 1.1rem;
	border: 1px solid var(--rp-line);
	border-radius: 999px;
	font-size: 1rem;
	font-family: inherit;
}
.search-field:focus { outline: 3px solid var(--rp-accent); outline-offset: 1px; border-color: var(--rp-accent); }

/* ---------- Comments ---------- */
.comments-area { margin-top: 3rem; }
.comment-list { margin: 0 0 2rem; padding: 0; list-style: none; }
.comment-list .comment {
	border: 1px solid var(--rp-line);
	border-radius: var(--rp-radius);
	padding: 1.3rem 1.5rem;
	margin-bottom: 1rem;
	background: #fff;
}
.comment-list .children { list-style: none; padding-left: 2rem; }
.comment-author { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; color: var(--rp-navy); }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: 0.82rem; color: var(--rp-muted); }
.comment-content p { margin: 0.6rem 0; }
.comment-respond { background: var(--rp-bg-alt); border-radius: var(--rp-radius); padding: 1.8rem; }
.comment-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.3rem; color: var(--rp-navy); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--rp-line);
	border-radius: var(--rp-radius-sm);
	font-family: inherit;
	font-size: 1rem;
	background: #fff;
}
.comment-form .form-submit { margin-bottom: 0; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; max-width: 640px; margin-inline: auto; }
.not-found__code {
	font-family: var(--rp-font-display);
	font-size: clamp(4rem, 12vw, 7rem);
	font-weight: 700;
	color: var(--rp-accent);
	line-height: 1;
	margin: 0 0 0.5rem;
}
.not-found .search-form { margin-inline: auto; }
.not-found__links { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--rp-navy-deep);
	color: #aebdd2;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem;
	padding: 3.5rem 0 2.5rem;
}
.site-footer a { color: #d7e1ee; text-decoration: none; }
.site-footer a:hover { color: var(--rp-accent); }
.site-footer__tagline { font-size: 0.95rem; }
.site-logo__text--footer { color: #fff; font-size: 1.4rem; }
.social-links { display: flex; gap: 1rem; list-style: none; margin: 1rem 0 0; padding: 0; font-size: 0.92rem; font-weight: 600; }
.network-links { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0.7rem 0 0; padding: 0; font-size: 0.92rem; }
.network-links a { color: var(--rp-accent); }
.site-footer .widget { background: none; border: none; padding: 0; color: inherit; }
.site-footer .widget-title { color: #fff; border-color: var(--rp-accent); font-size: 1rem; }
.site-footer .widget ul li { border-color: rgba(255, 255, 255, 0.1); }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { padding: 0.3rem 0; }
.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.2rem 0;
	font-size: 0.85rem;
}
.site-footer__bottom p { margin: 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- WordPress core classes ---------- */
.alignwide { max-width: var(--rp-container); }
.alignfull { width: 100%; }
.alignleft { float: left; margin: 0.4rem 1.4rem 1rem 0; }
.alignright { float: right; margin: 0.4rem 0 1rem 1.4rem; }
.aligncenter { margin-inline: auto; }
.wp-caption, .gallery-caption { font-size: 0.9rem; color: var(--rp-muted); }
.sticky .card__title::before { content: "\2605 "; color: var(--rp-accent); }
.bypostauthor { outline: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
	.hero__card--1, .hero__card--2, .hero__card--3 { transform: none; }
	.services__grid, .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
	.process__steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
	.layout { grid-template-columns: 1fr; }
	.widget-area { grid-template-columns: repeat(2, 1fr); }
	.site-header__cta .header-phone { display: none; }
}

@media (max-width: 768px) {
	.nav-toggle { display: flex; }
	.main-navigation {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		border-bottom: 1px solid var(--rp-line);
		box-shadow: var(--rp-shadow-lg);
		padding: 0.8rem 1.25rem 1.2rem;
		display: none;
	}
	.main-navigation.is-open { display: block; }
	.main-navigation .menu { flex-direction: column; gap: 0.15rem; }
	.main-navigation .menu a { padding: 0.75rem 0.9rem; font-size: 1.05rem; }

	/* Submenus collapse in the drawer and open via the injected toggle button. */
	.main-navigation .menu li { display: flex; flex-wrap: wrap; align-items: center; }
	.main-navigation .menu li > a { flex: 1 1 auto; }
	.main-navigation .sub-menu,
	.main-navigation .sub-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
		flex: 1 0 100%;
		min-width: 0;
		border: none;
		box-shadow: none;
		padding: 0 0 0.2rem 0.9rem;
	}
	.main-navigation .menu li.is-expanded > .sub-menu { display: block; }
	.main-navigation .menu-item-has-children > a::after { display: none; }
	.submenu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		width: 2.75rem;
		height: 2.75rem;
		padding: 0;
		border: 1px solid var(--rp-line);
		border-radius: var(--rp-radius-sm);
		background: none;
		color: var(--rp-slate);
		cursor: pointer;
	}
	.submenu-toggle::after {
		content: "";
		width: 0.5em;
		height: 0.5em;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg) translateY(-0.12em);
		transition: transform 0.15s ease;
	}
	.is-expanded > .submenu-toggle::after { transform: rotate(-135deg) translateY(-0.12em); }
	.site-header__cta .header-phone { display: none; }
	.site-header__cta { margin-left: 0; }

	.trust-bar__grid { grid-template-columns: 1fr; gap: 1.1rem; }
	.problem__inner { grid-template-columns: 1fr; }
	.services__grid, .testimonials__grid,
	.card-grid, .card-grid--list,
	.process__steps { grid-template-columns: 1fr; }
	.hero__visual { display: none; }
	.cta-band__inner { flex-direction: column; text-align: center; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
	.post-navigation { grid-template-columns: 1fr; }
	.post-navigation .nav-next { grid-column: 1; text-align: left; }
	.widget-area { grid-template-columns: 1fr; }
	.inline-cta { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
	.site-header__cta .btn { padding: 0.55rem 0.95rem; font-size: 0.85rem; }
	.site-logo__text { font-size: 1.1rem; }
	.hero__actions .btn { width: 100%; }
}
