/*
Theme Name: Reformas Badajoz Kadence Child
Theme URI: https://reformasbadajoz.es/
Description: Child theme de Kadence orientado a SEO local, UX, CRO y captación de solicitudes de reformas en Badajoz.
Author: Antonio Díaz / TrailSEO
Author URI: https://trailseo.com/
Template: kadence
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: reformas-badajoz
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--rb-ivory: #f4ebdd;
	--rb-ivory-light: #fffaf2;
	--rb-paper: #fffdf8;
	--rb-forest: #173f35;
	--rb-forest-deep: #102f28;
	--rb-ink: #20312c;
	--rb-muted: #66726c;
	--rb-terracotta: #c95231;
	--rb-terracotta-dark: #a94226;
	--rb-olive: #708071;
	--rb-sand: #dfcfb7;
	--rb-line: rgba(32, 49, 44, 0.16);
	--rb-shadow: 0 22px 60px rgba(53, 39, 25, 0.12);
	--rb-serif: Georgia, Cambria, "Times New Roman", Times, serif;
	--rb-sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

html {
	scroll-behavior: smooth;
}

.rb-kadence-child {
	background: var(--rb-paper);
	color: var(--rb-ink);
	font-family: var(--rb-sans);
}

.rb-kadence-child ::selection {
	background: var(--rb-sand);
	color: var(--rb-forest);
}

.rb-kadence-child a {
	text-underline-offset: 3px;
}

.rb-kadence-child #masthead {
	position: relative;
	z-index: 100;
	border-bottom: 1px solid var(--rb-line);
	background: rgba(255, 250, 242, 0.97);
	backdrop-filter: blur(16px);
}

.rb-kadence-child .site-main-header-wrap .site-header-row-container-inner,
.rb-kadence-child .site-main-header-wrap .site-header-row-container {
	background: transparent;
}

.rb-kadence-child .site-main-header-inner-wrap {
	min-height: 84px;
}

.rb-kadence-child .site-branding .site-title,
.rb-kadence-child .site-branding .site-title a {
	color: var(--rb-forest);
	font-family: var(--rb-serif);
	font-size: clamp(1.65rem, 2.3vw, 2.45rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1;
}

.rb-kadence-child .primary-menu-container > ul > li > a {
	color: var(--rb-ink);
	font-size: 0.92rem;
	font-weight: 700;
}

.rb-kadence-child .primary-menu-container > ul > li > a:hover,
.rb-kadence-child .primary-menu-container > ul > li.current-menu-item > a {
	color: var(--rb-terracotta-dark);
}

.rb-kadence-child .site-header-button-wrap .button {
	border-radius: 9px;
	background: var(--rb-terracotta);
	box-shadow: none;
	color: #fff;
}

.rb-kadence-child .site-header-button-wrap .button:hover {
	background: var(--rb-terracotta-dark);
	transform: translateY(-2px);
}

.rb-kadence-child #colophon {
	background: var(--rb-forest-deep);
	color: rgba(255, 255, 255, 0.74);
}

.rb-kadence-child #colophon h2,
.rb-kadence-child #colophon h3,
.rb-kadence-child #colophon h4,
.rb-kadence-child #colophon a {
	color: #fffaf0;
}

.rb-landing-canvas,
.rb-landing-entry,
.rb-landing-content,
.rb-landing-entry .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.rb-landing-entry::before,
.rb-landing-entry::after {
	display: none;
}

.rb-site-page {
	overflow: hidden;
	background: var(--rb-paper);
	color: var(--rb-ink);
	font-family: var(--rb-sans);
	font-size: 16px;
	line-height: 1.65;
}

.rb-site-page *,
.rb-lead-shell * {
	box-sizing: border-box;
}

.rb-site-page img {
	display: block;
	max-width: 100%;
}

.rb-site-page h1,
.rb-site-page h2,
.rb-site-page h3,
.rb-site-page h4,
.rb-lead-shell h2 {
	margin-top: 0;
	color: var(--rb-forest);
	font-family: var(--rb-serif);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1.04;
}

.rb-site-page p {
	margin-top: 0;
}

.rb-shell {
	width: min(100% - 3rem, 1380px);
	margin-inline: auto;
}

.rb-section {
	padding-block: clamp(5rem, 9vw, 9rem);
}

.rb-section--ivory {
	background: #f7f0e5;
}

.rb-section--forest {
	background: var(--rb-forest);
	color: #fff;
}

.rb-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1.15rem;
	color: var(--rb-terracotta-dark);
	font-family: var(--rb-sans);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.35;
	text-transform: uppercase;
}

.rb-eyebrow--light {
	color: #e4b69b;
}

.rb-eyebrow-pin {
	position: relative;
	display: inline-block;
	width: 13px;
	height: 17px;
	border: 2px solid currentColor;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
}

.rb-eyebrow-pin::after {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 3px;
	height: 3px;
	border: 1px solid currentColor;
	border-radius: 50%;
	content: "";
}

.rb-button,
.rb-site-page .rb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	min-height: 52px;
	padding: 0.82rem 1.4rem;
	border: 1px solid transparent;
	border-radius: 9px;
	cursor: pointer;
	font-family: var(--rb-sans);
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.rb-button:hover,
.rb-button:focus-visible {
	transform: translateY(-2px);
}

.rb-button--primary {
	background: var(--rb-terracotta);
	color: #fff;
}

.rb-button--primary:hover,
.rb-button--primary:focus-visible {
	background: var(--rb-terracotta-dark);
	color: #fff;
}

.rb-button--outline {
	border-color: var(--rb-forest);
	background: transparent;
	color: var(--rb-forest);
}

.rb-button--outline:hover,
.rb-button--outline:focus-visible {
	background: var(--rb-forest);
	color: #fff;
}

.rb-button--light {
	background: var(--rb-ivory-light);
	color: var(--rb-forest);
}

.rb-button--wide {
	width: 100%;
}

.rb-text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--rb-forest);
	font-weight: 800;
	text-decoration: none;
}

.rb-text-link span {
	color: var(--rb-terracotta);
	transition: transform 180ms ease;
}

.rb-text-link:hover span {
	transform: translateX(4px);
}

.rb-hero {
	display: grid;
	grid-template-columns: minmax(0, 47%) minmax(0, 53%);
	min-height: min(850px, calc(100svh - 84px));
	background:
		radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.92), transparent 31%),
		linear-gradient(135deg, #f6eee1 0%, var(--rb-ivory) 100%);
}

.rb-hero__copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(3.3rem, 6vw, 6.4rem) clamp(2rem, 5vw, 6.4rem);
}

.rb-hero h1 {
	max-width: 760px;
	margin: 0;
	color: var(--rb-forest);
	font-size: clamp(3.05rem, 5.5vw, 6.45rem);
	line-height: 0.98;
}

.rb-hero h1 em {
	color: var(--rb-terracotta-dark);
	font-weight: inherit;
}

.rb-hero__intro {
	max-width: 650px;
	margin: 1.55rem 0 1.35rem;
	color: #34443f;
	font-size: clamp(1rem, 1.25vw, 1.18rem);
	line-height: 1.65;
}

.rb-hero__media {
	position: relative;
	min-height: 650px;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(23, 63, 53, 0.05), transparent 25%),
		url("assets/images/hero-cocina-mediterranea.png") center center / cover no-repeat;
}

.rb-hero__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(16, 47, 40, 0.12), transparent 28%);
	content: "";
	pointer-events: none;
}

.rb-materials {
	position: absolute;
	z-index: 3;
	top: 10%;
	left: -35px;
	display: grid;
	gap: 14px;
}

.rb-materials span {
	display: block;
	width: 92px;
	height: 112px;
	border: 1px solid rgba(255, 255, 255, 0.48);
	border-radius: 5px;
	box-shadow: 0 16px 32px rgba(36, 27, 20, 0.22);
}

.rb-materials span:nth-child(1) {
	background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), transparent), #b96342;
}

.rb-materials span:nth-child(2) {
	background: repeating-linear-gradient(82deg, rgba(69, 45, 25, 0.12) 0 1px, transparent 1px 9px), #be9569;
}

.rb-materials span:nth-child(3) {
	background: radial-gradient(circle at 20% 30%, rgba(100, 80, 55, 0.14), transparent 2px), #e5d9c6;
}

.rb-local-seal {
	position: absolute;
	z-index: 4;
	right: 2rem;
	bottom: 2rem;
	display: grid;
	width: 132px;
	height: 132px;
	border: 1px solid rgba(255, 255, 255, 0.62);
	border-radius: 50%;
	background: rgba(23, 63, 53, 0.92);
	color: #fff;
	text-align: center;
	place-content: center;
	backdrop-filter: blur(8px);
}

.rb-local-seal strong {
	font-family: var(--rb-serif);
	font-size: 1.45rem;
}

.rb-local-seal span {
	max-width: 90px;
	font-size: 0.65rem;
	letter-spacing: 0.07em;
	line-height: 1.35;
	text-transform: uppercase;
}

.rb-lead-shell {
	width: min(100%, 640px);
	color: var(--rb-ink);
	font-family: var(--rb-sans);
}

.rb-lead-title {
	margin-bottom: 1.25rem;
	font-size: 2rem;
}

.rb-lead-form {
	padding: 1rem;
	border: 1px solid rgba(42, 53, 48, 0.14);
	border-radius: 16px;
	background: rgba(255, 253, 248, 0.96);
	box-shadow: var(--rb-shadow);
}

.rb-lead-step--contact {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--rb-line);
}

.rb-js .rb-lead-step[hidden] {
	display: none;
}

.rb-field {
	position: relative;
	margin-bottom: 0.68rem;
}

.rb-field > label:not(.rb-consent) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rb-field select,
.rb-field input,
.rb-field textarea {
	width: 100%;
	border: 1px solid rgba(32, 49, 44, 0.26);
	border-radius: 10px;
	outline: none;
	background-color: #fff;
	color: var(--rb-ink);
	font-family: var(--rb-sans);
	font-size: 0.92rem;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.rb-field select {
	height: 55px;
	padding: 0 2.6rem 0 3rem;
	cursor: pointer;
	appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--rb-forest) 50%),
		linear-gradient(135deg, var(--rb-forest) 50%, transparent 50%);
	background-position:
		calc(100% - 19px) 24px,
		calc(100% - 14px) 24px;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
}

.rb-field input {
	height: 52px;
	padding: 0 0.95rem;
}

.rb-field textarea {
	padding: 0.8rem 0.95rem;
	resize: vertical;
}

.rb-field select:focus,
.rb-field input:focus,
.rb-field textarea:focus {
	border-color: var(--rb-terracotta);
	box-shadow: 0 0 0 3px rgba(201, 82, 49, 0.14);
}

.rb-field-icon {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 1rem;
	color: var(--rb-terracotta);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1;
	transform: translateY(-50%);
	pointer-events: none;
}

.rb-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 0.8rem;
}

.rb-field--full {
	grid-column: 1 / -1;
}

.rb-field--text > label {
	position: static !important;
	display: block;
	width: auto !important;
	height: auto !important;
	margin: 0 0 0.32rem !important;
	overflow: visible !important;
	clip: auto !important;
	white-space: normal !important;
	color: var(--rb-forest);
	font-size: 0.77rem;
	font-weight: 800;
}

.rb-lead-back {
	display: none;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 0.8rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--rb-forest);
	cursor: pointer;
	font-size: 0.78rem;
	font-weight: 800;
}

.rb-js .rb-lead-back {
	display: inline-flex;
}

.rb-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.rb-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0.8rem 0 1rem;
	color: var(--rb-muted);
	font-size: 0.74rem;
	line-height: 1.45;
}

.rb-consent input {
	flex: 0 0 auto;
	margin-top: 0.2rem;
}

.rb-consent a {
	color: var(--rb-terracotta-dark);
	font-weight: 700;
}

.rb-trust-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.65rem;
	margin: 1.2rem 0 0;
	padding: 0;
	color: #52615c;
	font-size: 0.8rem;
	list-style: none;
}

.rb-trust-list li {
	position: relative;
}

.rb-trust-list li + li::before {
	position: absolute;
	left: -1rem;
	color: var(--rb-olive);
	content: "•";
}

.rb-trust-list li span {
	display: inline-grid;
	width: 20px;
	height: 20px;
	margin-right: 0.35rem;
	border-radius: 50%;
	background: var(--rb-olive);
	color: #fff;
	font-size: 0.72rem;
	place-items: center;
}

.rb-form-message {
	margin: 0 0 1rem;
	padding: 0.9rem 1rem;
	border-radius: 9px;
	font-size: 0.82rem;
	line-height: 1.5;
}

.rb-form-message strong {
	display: block;
}

.rb-form-message--success {
	border: 1px solid rgba(68, 110, 80, 0.25);
	background: #edf4ea;
	color: #234831;
}

.rb-form-message--error {
	border: 1px solid rgba(169, 66, 38, 0.25);
	background: #fff0eb;
	color: #7d2d1d;
}

.rb-proof {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: var(--rb-forest);
	color: #fff;
}

.rb-proof__item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem 5vw;
}

.rb-proof__item + .rb-proof__item {
	border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.rb-proof__number {
	color: #d8b69f;
	font-family: var(--rb-serif);
	font-size: 1.45rem;
	font-style: italic;
}

.rb-proof__item p {
	display: grid;
	margin: 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 0.76rem;
	line-height: 1.45;
}

.rb-proof__item strong {
	color: #fff;
	font-size: 0.9rem;
}

.rb-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 3rem;
	margin-bottom: 3rem;
}

.rb-heading h2 {
	margin: 0;
	font-size: clamp(2.65rem, 4.2vw, 4.9rem);
}

.rb-heading > p {
	max-width: 480px;
	margin: 0;
	color: var(--rb-muted);
}

.rb-service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--rb-line);
	border-left: 1px solid var(--rb-line);
}

.rb-service-card {
	position: relative;
	min-height: 325px;
	padding: clamp(1.7rem, 3vw, 3rem);
	border-right: 1px solid var(--rb-line);
	border-bottom: 1px solid var(--rb-line);
	background: var(--rb-paper);
	transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.rb-service-card:hover {
	z-index: 2;
	background: #fff8ed;
	box-shadow: 0 18px 45px rgba(39, 53, 46, 0.09);
	transform: translateY(-4px);
}

.rb-service-card__icon {
	display: grid;
	width: 50px;
	height: 50px;
	margin-bottom: 2.4rem;
	border: 1px solid rgba(201, 82, 49, 0.35);
	border-radius: 50%;
	color: var(--rb-terracotta);
	font-family: var(--rb-serif);
	font-size: 1.35rem;
	place-items: center;
}

.rb-card-tag {
	margin: 0 0 0.55rem;
	color: var(--rb-terracotta-dark);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rb-service-card h3,
.rb-directory-card h3,
.rb-guide-card h3 {
	margin: 0;
	font-size: 1.52rem;
	line-height: 1.15;
}

.rb-service-card > p:not(.rb-card-tag),
.rb-directory-card__content > p:not(.rb-card-tag),
.rb-guide-card > p:not(.rb-card-tag) {
	margin: 0.95rem 0 1.55rem;
	color: var(--rb-muted);
	font-size: 0.9rem;
}

.rb-process {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 740px;
	background: var(--rb-forest);
}

.rb-process__image {
	position: relative;
	min-height: 590px;
	background:
		linear-gradient(rgba(20, 52, 43, 0.16), rgba(20, 52, 43, 0.16)),
		url("assets/images/hero-cocina-mediterranea.png") center 72% / cover;
}

.rb-plan-card {
	position: absolute;
	right: clamp(1.5rem, 4vw, 4rem);
	bottom: clamp(1.5rem, 4vw, 4rem);
	width: min(390px, calc(100% - 3rem));
	padding: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 14px;
	background: rgba(255, 253, 248, 0.94);
	box-shadow: var(--rb-shadow);
}

.rb-plan-card > span {
	color: var(--rb-terracotta-dark);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rb-plan-card strong {
	display: block;
	margin: 0.2rem 0 0.8rem;
	color: var(--rb-forest);
	font-family: var(--rb-serif);
	font-size: 1.45rem;
}

.rb-plan-card ul {
	display: grid;
	gap: 0.42rem;
	margin: 0;
	padding: 0;
	color: var(--rb-muted);
	font-size: 0.8rem;
	list-style: none;
}

.rb-plan-card li::before {
	margin-right: 0.45rem;
	color: var(--rb-olive);
	content: "✓";
}

.rb-process__copy {
	align-self: center;
	padding: clamp(4rem, 8vw, 8rem);
}

.rb-process__copy h2 {
	color: #fff7eb;
	font-size: clamp(2.7rem, 4vw, 4.8rem);
}

.rb-steps {
	display: grid;
	margin: 2.5rem 0 2rem;
	padding: 0;
	list-style: none;
}

.rb-steps li {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 1.1rem;
	padding: 1.35rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.rb-steps li:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.rb-steps__number {
	display: grid;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	color: #e3b89b;
	font-family: var(--rb-serif);
	place-items: center;
}

.rb-steps h3 {
	margin: 0;
	color: #fff;
	font-family: var(--rb-sans);
	font-size: 1rem;
	letter-spacing: 0;
}

.rb-steps p {
	margin: 0.25rem 0 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 0.85rem;
}

.rb-process__copy .rb-text-link {
	color: #fff;
}

.rb-directory-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.4rem;
}

.rb-directory-card {
	overflow: hidden;
	border: 1px solid var(--rb-line);
	border-radius: 14px;
	background: var(--rb-paper);
}

.rb-directory-card__visual {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	min-height: 205px;
	padding: 1.5rem;
	overflow: hidden;
	background: linear-gradient(135deg, #173f35, #668071);
	color: #fff;
}

.rb-directory-card:nth-child(1) .rb-directory-card__visual {
	background: linear-gradient(135deg, #ad4a30, #d48965);
}

.rb-directory-card:nth-child(3) .rb-directory-card__visual {
	background: linear-gradient(135deg, #9c7653, #cfb08d);
}

.rb-directory-card__visual::after {
	position: absolute;
	top: -30px;
	right: -20px;
	width: 180px;
	height: 180px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	content: "";
}

.rb-directory-card__initials {
	font-family: var(--rb-serif);
	font-size: 4rem;
	letter-spacing: -0.08em;
	line-height: 0.8;
}

.rb-directory-card__category {
	position: relative;
	z-index: 2;
	max-width: 130px;
	font-size: 0.64rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-align: right;
	text-transform: uppercase;
}

.rb-directory-card__content {
	padding: 1.65rem;
}

.rb-location {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 680px;
	background: var(--rb-ivory);
}

.rb-location__map {
	position: relative;
	min-height: 550px;
	overflow: hidden;
	background:
		linear-gradient(30deg, transparent 48%, rgba(23, 63, 53, 0.06) 49% 51%, transparent 52%),
		linear-gradient(-25deg, transparent 47%, rgba(23, 63, 53, 0.08) 48% 50%, transparent 51%),
		#e8dccb;
	background-size: 110px 110px, 160px 160px, auto;
}

.rb-location__map::before {
	position: absolute;
	inset: -10%;
	background:
		radial-gradient(circle at 35% 50%, transparent 0 90px, rgba(23, 63, 53, 0.12) 91px 93px, transparent 94px),
		radial-gradient(circle at 66% 30%, transparent 0 120px, rgba(201, 82, 49, 0.1) 121px 123px, transparent 124px);
	content: "";
	transform: rotate(-12deg);
}

.rb-map-pin {
	position: absolute;
	top: 43%;
	left: 48%;
	width: 38px;
	height: 38px;
	border: 9px solid var(--rb-terracotta);
	border-radius: 50% 50% 50% 0;
	background: var(--rb-ivory-light);
	box-shadow: 0 8px 20px rgba(32, 49, 44, 0.2);
	transform: rotate(-45deg);
}

.rb-map-label {
	position: absolute;
	top: calc(43% + 55px);
	left: calc(48% - 22px);
	display: grid;
	padding: 0.7rem 0.9rem;
	border-radius: 7px;
	background: var(--rb-paper);
	box-shadow: 0 12px 30px rgba(40, 34, 27, 0.13);
}

.rb-map-label strong {
	color: var(--rb-forest);
}

.rb-map-label span {
	color: var(--rb-muted);
	font-size: 0.68rem;
}

.rb-location__copy {
	align-self: center;
	padding: clamp(4rem, 8vw, 8rem);
}

.rb-location__copy h2 {
	font-size: clamp(2.7rem, 4vw, 4.8rem);
}

.rb-location__copy > p:not(.rb-eyebrow) {
	max-width: 590px;
	margin: 1.5rem 0;
	color: var(--rb-muted);
}

.rb-area-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-bottom: 2rem;
}

.rb-area-list span {
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--rb-line);
	border-radius: 999px;
	background: rgba(255, 253, 248, 0.55);
	color: var(--rb-forest);
	font-size: 0.76rem;
	font-weight: 800;
}

.rb-guide-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--rb-line);
}

.rb-guide-card {
	min-height: 350px;
	padding: clamp(1.8rem, 3vw, 3rem);
	background: var(--rb-paper);
}

.rb-guide-card__number {
	margin-bottom: 4.2rem;
	color: var(--rb-sand);
	font-family: var(--rb-serif);
	font-size: 2.5rem;
	font-style: italic;
}

.rb-faq {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(3rem, 8vw, 8rem);
}

.rb-faq__intro h2 {
	font-size: clamp(2.7rem, 4vw, 4.8rem);
}

.rb-faq__intro > p:not(.rb-eyebrow) {
	color: var(--rb-muted);
}

.rb-faq__list {
	border-top: 1px solid var(--rb-line);
}

.rb-faq details {
	border-bottom: 1px solid var(--rb-line);
}

.rb-faq summary {
	position: relative;
	padding: 1.55rem 3rem 1.55rem 0;
	color: var(--rb-forest);
	cursor: pointer;
	font-weight: 800;
	list-style: none;
}

.rb-faq summary::-webkit-details-marker {
	display: none;
}

.rb-faq summary::after {
	position: absolute;
	top: 50%;
	right: 0.4rem;
	color: var(--rb-terracotta);
	content: "+";
	font-family: var(--rb-serif);
	font-size: 1.8rem;
	font-weight: 400;
	transform: translateY(-50%);
}

.rb-faq details[open] summary::after {
	content: "−";
}

.rb-faq details p {
	max-width: 680px;
	margin: -0.5rem 3rem 1.45rem 0;
	color: var(--rb-muted);
	font-size: 0.9rem;
}

.rb-closing {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: 5rem;
	padding: clamp(4rem, 8vw, 8rem) max(1.5rem, 7vw);
	background: var(--rb-terracotta-dark);
	color: #fff;
}

.rb-closing h2 {
	max-width: 900px;
	margin: 0;
	color: #fff8ec;
	font-size: clamp(3rem, 5.2vw, 6.2rem);
}

.rb-closing > div:last-child {
	align-self: end;
}

.rb-closing > div:last-child p {
	color: rgba(255, 255, 255, 0.78);
}

/* Internal landing pages. */
.rb-page-hero {
	position: relative;
	padding: clamp(5rem, 9vw, 9rem) 0;
	overflow: hidden;
	background:
		radial-gradient(circle at 88% 18%, rgba(201, 82, 49, 0.12), transparent 28%),
		linear-gradient(135deg, var(--rb-ivory-light), var(--rb-ivory));
}

.rb-page-hero::after {
	position: absolute;
	top: -140px;
	right: -100px;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(23, 63, 53, 0.09);
	border-radius: 50%;
	content: "";
}

.rb-page-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: clamp(2rem, 7vw, 7rem);
	align-items: end;
}

.rb-page-hero h1 {
	max-width: 900px;
	margin: 0;
	font-size: clamp(3.2rem, 6vw, 6.6rem);
}

.rb-page-hero__lead {
	max-width: 590px;
	margin: 1.45rem 0 0;
	color: var(--rb-muted);
	font-size: 1.08rem;
}

.rb-page-hero__aside {
	padding: 1.5rem;
	border: 1px solid var(--rb-line);
	border-radius: 14px;
	background: rgba(255, 253, 248, 0.7);
}

.rb-page-hero__aside strong {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--rb-forest);
	font-family: var(--rb-serif);
	font-size: 1.3rem;
}

.rb-page-hero__aside p {
	margin-bottom: 1rem;
	color: var(--rb-muted);
	font-size: 0.85rem;
}

.rb-content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	gap: clamp(3rem, 8vw, 8rem);
}

.rb-prose h2 {
	margin: 2.5rem 0 1rem;
	font-size: clamp(2.15rem, 3.2vw, 3.4rem);
}

.rb-prose h2:first-child {
	margin-top: 0;
}

.rb-prose h3 {
	margin: 2rem 0 0.7rem;
	font-size: 1.55rem;
}

.rb-prose p,
.rb-prose li {
	color: #4f5e58;
}

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

.rb-prose li + li {
	margin-top: 0.55rem;
}

.rb-aside-card {
	position: sticky;
	top: 115px;
	padding: 1.6rem;
	border: 1px solid var(--rb-line);
	border-radius: 14px;
	background: #f8f1e6;
}

.rb-aside-card h2,
.rb-aside-card h3 {
	margin: 0 0 0.7rem;
	font-size: 1.8rem;
}

.rb-aside-card p {
	color: var(--rb-muted);
	font-size: 0.86rem;
}

.rb-check-list {
	display: grid;
	gap: 0.8rem;
	margin: 1.2rem 0 1.5rem;
	padding: 0;
	list-style: none;
}

.rb-check-list li {
	position: relative;
	padding-left: 1.7rem;
	color: var(--rb-forest);
	font-size: 0.86rem;
	font-weight: 700;
}

.rb-check-list li::before {
	position: absolute;
	top: 0.08rem;
	left: 0;
	display: grid;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: var(--rb-olive);
	color: #fff;
	content: "✓";
	font-size: 0.66rem;
	place-items: center;
}

.rb-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 2rem;
}

.rb-feature {
	padding: 1.4rem;
	border: 1px solid var(--rb-line);
	border-radius: 11px;
	background: var(--rb-paper);
}

.rb-feature span {
	color: var(--rb-terracotta);
	font-family: var(--rb-serif);
	font-size: 1.55rem;
}

.rb-feature h3 {
	margin: 0.8rem 0 0.45rem;
	font-size: 1.15rem;
}

.rb-feature p {
	margin: 0;
	color: var(--rb-muted);
	font-size: 0.82rem;
}

.rb-inline-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 3rem;
	padding: clamp(1.5rem, 4vw, 3rem);
	border-radius: 14px;
	background: var(--rb-forest);
	color: #fff;
}

.rb-inline-cta h2,
.rb-inline-cta h3 {
	margin: 0 0 0.35rem;
	color: #fff;
	font-size: 2rem;
}

.rb-inline-cta p {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
}

.rb-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.rb-related-card {
	display: grid;
	min-height: 210px;
	padding: 1.5rem;
	border: 1px solid var(--rb-line);
	border-radius: 12px;
	background: var(--rb-paper);
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.rb-related-card:hover {
	box-shadow: 0 15px 40px rgba(31, 51, 44, 0.1);
	transform: translateY(-3px);
}

.rb-related-card small {
	color: var(--rb-terracotta-dark);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rb-related-card strong {
	align-self: end;
	color: var(--rb-forest);
	font-family: var(--rb-serif);
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.15;
}

/* GeoDirectory visual integration. */
.rb-kadence-child .geodir-search-container,
.rb-kadence-child .geodir-search-form-wrapper {
	padding: 1rem;
	border: 1px solid var(--rb-line);
	border-radius: 14px;
	background: var(--rb-ivory-light);
	box-shadow: 0 12px 35px rgba(42, 48, 44, 0.07);
}

.rb-kadence-child .geodir-search-container input,
.rb-kadence-child .geodir-search-container select {
	border-color: var(--rb-line);
	border-radius: 8px;
}

.rb-kadence-child .geodir-search-container button,
.rb-kadence-child .geodir-search-container .btn-primary {
	border-color: var(--rb-terracotta);
	border-radius: 8px;
	background: var(--rb-terracotta);
	color: #fff;
}

.rb-kadence-child .geodir-post,
.rb-kadence-child .gd_place {
	overflow: hidden;
	border: 1px solid var(--rb-line);
	border-radius: 12px;
	background: var(--rb-paper);
	box-shadow: none;
}

.rb-kadence-child .geodir-post-title,
.rb-kadence-child .geodir-entry-title {
	color: var(--rb-forest);
	font-family: var(--rb-serif);
}

.rb-kadence-child .geodir-category-list-view a,
.rb-kadence-child .geodir_post_meta a {
	color: var(--rb-terracotta-dark);
}

/* Standard Kadence content polish. */
.rb-kadence-child:not(.page-template-rb-landing) .content-area {
	margin-top: 4rem;
	margin-bottom: 5rem;
}

.rb-kadence-child .entry-hero-container-inner {
	background: var(--rb-ivory);
}

.rb-kadence-child .entry-title {
	color: var(--rb-forest);
	font-family: var(--rb-serif);
	letter-spacing: -0.035em;
}

.rb-kadence-child .post-more-link {
	color: var(--rb-terracotta-dark);
	font-weight: 800;
}

@media (max-width: 1080px) {
	.rb-hero {
		grid-template-columns: minmax(0, 55%) minmax(0, 45%);
	}

	.rb-materials {
		display: none;
	}

	.rb-service-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.rb-process__copy,
	.rb-location__copy {
		padding: 5rem;
	}
}

@media (max-width: 820px) {
	.rb-shell {
		width: min(100% - 2rem, 1380px);
	}

	.rb-hero,
	.rb-process,
	.rb-location {
		grid-template-columns: 1fr;
	}

	.rb-hero__copy {
		order: 1;
		padding: 4rem 5vw;
	}

	.rb-hero__media {
		min-height: 520px;
	}

	.rb-proof {
		grid-template-columns: 1fr;
	}

	.rb-proof__item + .rb-proof__item {
		border-top: 1px solid rgba(255, 255, 255, 0.15);
		border-left: 0;
	}

	.rb-heading {
		display: grid;
		align-items: start;
		gap: 1.2rem;
	}

	.rb-directory-grid,
	.rb-guide-grid,
	.rb-faq,
	.rb-closing,
	.rb-page-hero__inner,
	.rb-content-grid {
		grid-template-columns: 1fr;
	}

	.rb-process__image,
	.rb-location__map {
		min-height: 520px;
	}

	.rb-process__copy,
	.rb-location__copy {
		padding: 4.5rem 5vw;
	}

	.rb-aside-card {
		position: static;
	}

	.rb-feature-grid,
	.rb-related-grid {
		grid-template-columns: 1fr 1fr;
	}

	.rb-inline-cta {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	.rb-hero__copy {
		padding: 3.4rem 1rem;
	}

	.rb-hero h1,
	.rb-page-hero h1 {
		font-size: clamp(2.8rem, 14vw, 4.2rem);
	}

	.rb-hero__media {
		min-height: 470px;
	}

	.rb-local-seal {
		right: 1rem;
		bottom: 1rem;
		width: 110px;
		height: 110px;
	}

	.rb-lead-form {
		padding: 0.75rem;
		border-radius: 12px;
	}

	.rb-contact-grid {
		grid-template-columns: 1fr;
	}

	.rb-field--full {
		grid-column: auto;
	}

	.rb-trust-list {
		display: grid;
		gap: 0.6rem;
	}

	.rb-trust-list li + li::before {
		display: none;
	}

	.rb-service-grid,
	.rb-feature-grid,
	.rb-related-grid {
		grid-template-columns: 1fr;
	}

	.rb-service-card {
		min-height: 0;
		padding: 1.7rem;
	}

	.rb-section {
		padding-block: 4.5rem;
	}

	.rb-process__copy,
	.rb-location__copy {
		padding: 4rem 1rem;
	}

	.rb-closing {
		gap: 2.2rem;
		padding: 4.5rem 1rem;
	}

	.rb-closing h2 {
		font-size: 3rem;
	}

	.rb-page-hero {
		padding: 4.5rem 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.rb-kadence-child *,
	.rb-kadence-child *::before,
	.rb-kadence-child *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
