/* ===========================================================================
   RenoBuzz - Custom Styles
   ---------------------------------------------------------------------------
   Write all custom CSS for the RenoBuzz site in this file.
   Enqueued in the header via functions.php.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------------- */
:root {
	--rb-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--rb-font-head: 'Poppins', var(--rb-font-body);

	--rb-green-darkest: #062e18;
	--rb-green-dark: #0a5c2e;
	--rb-green: #167c3c;
	--rb-green-bright: #2e9e5b;
	--rb-green-soft: #e8f5ed;

	--rb-amber: #f59e0b;
	--rb-amber-dark: #d9940e;

	--rb-ink: #0f1b2d;
	--rb-body: #5b6573;
	--rb-muted: #8a93a0;

	--rb-light: #f8fafc;
	--rb-border: #e6eaef;
	--rb-white: #fff;

	--rb-radius: 14px;
	--rb-radius-sm: 10px;
	--rb-shadow: 0 10px 30px rgba(15, 27, 45, .08);
	--rb-shadow-lg: 0 24px 60px rgba(6, 46, 24, .18);

	--rb-container: 1320px;
	--rb-gutter: 24px;
}

/* ---------------------------------------------------------------------------
   2. Base
   --------------------------------------------------------------------------- */
body.rb-site,
.rb-site {
	font-family: var(--rb-font-body);
	color: var(--rb-body);
	background: var(--rb-white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.rb-site :where(h1, h2, h3, h4) {
	font-family: var(--rb-font-head);
	color: var(--rb-ink);
	line-height: 1.15;
	margin: 0 0 .5em;
	font-weight: 700;
	overflow-wrap: break-word;
}
.rb-site a { color: inherit; text-decoration: none; }
.rb-site img {  height: auto; display: block; }
.rb-site *, .rb-site *::before, .rb-site *::after { box-sizing: border-box; }

.rb-container {
	width: 100%;
	max-width: var(--rb-container);
	margin: 0 auto;
	padding: 0 var(--rb-gutter);
}
.rb-container--narrow { max-width: 860px; }

.rb-section { padding: 88px 0; }
.rb-bg-light { background: var(--rb-light); }

.rb-section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.rb-section__title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; }
.rb-section__title--left { text-align: left; }
.rb-section__subtitle { font-size: 17px; color: var(--rb-body); margin: 0; }

.rb-eyebrow {
	display: inline-block;
	font-family: var(--rb-font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--rb-green-bright);
	background: var(--rb-green-soft);
	padding: 7px 16px;
	border-radius: 999px;
	margin-bottom: 14px;
}
.rb-eyebrow--pill { background: var(--rb-green-soft); padding: 7px 16px; border-radius: 999px; }
.rb-eyebrow--on-dark { color: #c8f0d6; background: rgba(255, 255, 255, .12); }

.rb-stars { color: var(--rb-amber); letter-spacing: 2px; }

/* ---------------------------------------------------------------------------
   3. Buttons
   --------------------------------------------------------------------------- */
.rb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--rb-font-head);
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	padding: 13px 22px;
	border-radius: var(--rb-radius-sm);
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
	white-space: nowrap;
}
.rb-btn:hover { transform: translateY(-2px); }
.rb-btn--lg { padding: 16px 28px; font-size: 16px; }

.rb-btn--amber { background: var(--rb-amber); color: var(--rb-ink); box-shadow: 0 8px 20px rgba(245, 158, 11, .3); }
.rb-btn--amber.rb-btn--lg { color: #000000; }
.rb-btn--amber:hover { background: #fff; border-color: #f59e0b; color: #f59e0b; box-shadow: none; }

.rb-btn--outline-green { background: transparent; border-color: var(--rb-green); color: var(--rb-green); }
.rb-btn--outline-green:hover { background: var(--rb-green); color: #fff; }

.rb-btn--outline-dark { background: transparent; border-color: var(--rb-border); color: var(--rb-ink); }
.rb-btn--outline-dark:hover { border-color: var(--rb-green); color: var(--rb-green); }

.rb-btn--outline-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); color: #fff; }
.rb-btn--outline-light:hover { background: rgba(255, 255, 255, .16); }

/* ---------------------------------------------------------------------------
   4. Header
   --------------------------------------------------------------------------- */
.rb-topbar { background: var(--rb-green-dark); color: rgba(255, 255, 255, .92); font-size: 13.5px; }
.rb-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; }
.rb-topbar__badges { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.rb-topbar__badges li { display: inline-flex; align-items: center; gap: 8px; }
.rb-topbar__badges i { color: var(--rb-amber); }
.rb-topbar__icon { color: var(--rb-amber); }
img.rb-topbar__icon { width: auto; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.rb-topbar__phone a { font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 9px; }
.rb-topbar__phone > span { opacity: .85; margin-right: 4px; }

/* Sticky header (whole header — top bar + navbar — stays on scroll) */
.rb-header { position: sticky; top: 0; z-index: 100; }
.rb-navbar { background: #fff; border-bottom: 1px solid var(--rb-border); position: relative; z-index: 100; }
.rb-navbar__inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.rb-navbar__inner > * { min-width: 0; }

.rb-logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.rb-navbar .rb-logo > img { height: 46px; width: auto; }
.rb-logo--footer .rb-logo__img { height: 20px; width: auto; }
.rb-logo__mark {
	width: 44px; height: 44px; border-radius: 12px;
	background: var(--rb-green); color: #fff;
	display: grid; place-items: center; font-size: 20px;
}
.rb-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.rb-logo__text strong { font-family: var(--rb-font-head); font-size: 22px; color: var(--rb-ink); font-weight: 800; }
.rb-logo__text strong::after { content: ''; }
.rb-logo__text small { font-size: 10.5px; letter-spacing: .14em; color: var(--rb-muted); font-weight: 600; }

.rb-nav { flex: 1; display: flex; justify-content: center; }
.rb-menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.rb-menu > li { position: relative; }
.rb-menu > li > a {
	font-family: var(--rb-font-head);
	font-weight: 500; font-size: 15px; color: var(--rb-ink);
	padding: 8px 2px 6px; display: inline-flex; align-items: center; gap: 6px;
	border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.rb-menu > li.menu-item-has-children > a::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 9px; opacity: .6; transition: transform .2s ease; }
.rb-menu > li.menu-item-has-children.is-submenu-open > a::after { transform: rotate(180deg); }
.rb-menu > li > a:hover,
.rb-menu > li.is-submenu-open > a { color: var(--rb-green); border-bottom-color: var(--rb-green); }
.rb-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 250px; width: max-content; max-width: 320px;
	background: #fff; border: 1px solid var(--rb-border); border-radius: 10px;
	box-shadow: var(--rb-shadow); padding: 8px; margin: 0; list-style: none;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 50;
}
.rb-menu > li:hover > .sub-menu,
.rb-menu > li.is-submenu-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.rb-menu > li.menu-item-has-children:hover > a { color: var(--rb-green); border-bottom-color: var(--rb-green); }
.rb-menu .sub-menu a { display: block; padding: 9px 14px; border-radius: 7px; font-size: 14.5px; white-space: nowrap; }
.rb-menu .sub-menu a:hover { background: var(--rb-green-soft); color: var(--rb-green); }

.rb-navbar__actions { display: flex; align-items: center; gap: 12px; }
/* On desktop only the Call Now (outline-green) button shows its icon; the
   quote button is text only. Below 1180px both collapse to icon-only
   (see Responsive section). */
.rb-navbar__actions .rb-btn i { display: none; }
.rb-navbar__actions .rb-btn--outline-green i { display: inline-block; }
.rb-navbar__actions .rb-btn--outline-green { color: #0a5c2e; border-color: #0a5c2e; }
.rb-navbar__actions .rb-btn--outline-green:hover { color: #fff; }
.rb-navbar__actions .rb-btn--amber { color: #000000; }
.rb-nav-toggle { display: none; background: none; border: 0; font-size: 22px; color: var(--rb-ink); cursor: pointer; }
.rb-submenu-toggle { display: none; } /* shown only on mobile (see media query) */

/* ---------------------------------------------------------------------------
   5. Hero
   --------------------------------------------------------------------------- */
.rb-hero {
	background: linear-gradient(111.12deg, #041F10 0%, #0A5C2E 55%, #15803D 100%);
	color: #fff;
	padding: 72px 0 88px;
}
.rb-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rb-hero__inner > * { min-width: 0; } /* allow grid tracks to shrink below content size */
.rb-hero__content { max-width: 100%; }
.rb-hero__rating {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
	padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.rb-hero__title { color: #fff; font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.5px; }
.rb-hero__title .rb-hl { color: #4ADE80; }
.rb-hero__subtext { font-size: 18px; color: rgba(255, 255, 255, .82); margin: 18px 0 26px; }
.rb-hero__features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; list-style: none; padding: 0; margin: 0 0 30px; }
.rb-hero__features li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .92); }
.rb-hero__features i { color: #4ADE80; }
.rb-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.rb-hero__actions .rb-btn--amber { color: #000; }
.rb-hero__actions .rb-btn--amber:hover { background: #fff; border-color: #f59e0b; color: #f59e0b; }
.rb-hero__actions .rb-btn--outline-light { background: #fff; border-color: #fff; color: #0a5c2e; }
.rb-hero__actions .rb-btn--outline-light:hover { background: #f0f4f1; border-color: #f0f4f1; color: #0a5c2e; }

/* Happy homeowners (avatars + text) */
.rb-hero__homeowners { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.rb-avatars { display: flex; list-style: none; margin: 0; padding: 0; }
.rb-avatars__item {
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--rb-green-bright); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--rb-font-head); font-weight: 700; font-size: 12px;
	border: 2px solid var(--rb-green-dark); margin-left: -10px;
}
.rb-avatars__item:first-child { margin-left: 0; }
.rb-hero__homeowners-text { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .75); }
.rb-hero__homeowners-text strong { color: #fff; font-weight: 700; }
.rb-trustbar { background: #F8FAFC; border-bottom: 2px solid #E2E8F0; }
.rb-trustbar__list {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 18px 32px; list-style: none; margin: 0; padding: 22px 0;
}
.rb-trustbar__item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--rb-font-head); font-weight: 600; font-size: 15px; color: var(--rb-ink); }
.rb-trustbar__item i { color: var(--rb-amber); font-size: 18px; }
.rb-trustbar__item .rb-trustbar__icon-img { width: auto; height: 24px; flex-shrink: 0; }
.rb-trustbar__item span { color: #475569; }

/* Quote card */
.rb-hero__form-wrap { display: flex; justify-content: flex-end; }
.rb-quote-card {
	position: relative; width: 100%; max-width: 100%;
	background: #fff; color: var(--rb-ink);
	border-radius: 18px; padding: 36px 34px 28px; box-shadow: var(--rb-shadow-lg);
}
.rb-quote-card__badge {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
	background: var(--rb-amber); color: var(--rb-ink);
	font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.rb-quote-card__title { text-align: center; font-size: 26px; margin: 6px 0 6px; }
.rb-quote-card__subtitle { text-align: center; font-size: 14px; color: var(--rb-body); margin: 0 0 20px; }
.rb-quote-card__notes { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 16px 0 0; margin: 14px 0 0; border-top: 1px solid var(--rb-border); }
.rb-quote-card__notes li { font-size: 12.5px; color: var(--rb-muted); display: inline-flex; align-items: center; gap: 6px; }
.rb-quote-card__notes i { color: var(--rb-green-bright); }
.rb-form-missing { text-align: center; color: var(--rb-muted); padding: 20px 0; }

/* ---------------------------------------------------------------------------
   6. Gravity Forms inside the quote card
   --------------------------------------------------------------------------- */
.rb-quote-card .gform_wrapper { margin: 0; }
.rb-quote-card .gform_fields {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 16px !important;
}
.rb-quote-card .gform_fields > .gfield { grid-column: span 1 !important; } /* each field = one column */
.rb-quote-card .gform_fields > .gfield:first-child { grid-column: 1 / -1 !important; } /* Name spans full width */
.rb-quote-card .gfield_label {
	font-family: var(--rb-font-head); font-size: 15px !important; font-weight: 500 !important;
	color: #475569 !important; margin-bottom: 6px;
}
.rb-quote-card .gfield_required { display: none !important; } /* hide the "(Required)" indicator */
.rb-quote-card input[type="text"],
.rb-quote-card input[type="tel"],
.rb-quote-card input[type="email"],
.rb-quote-card input[type="number"],
.rb-quote-card select,
.rb-quote-card textarea {
	width: 100%;
	border: 1px solid var(--rb-border);
	border-radius: 10px;
	padding: 12px 14px;
	font-family: var(--rb-font-body);
	font-size: 14.5px;
	color: var(--rb-ink);
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.rb-quote-card input:focus,
.rb-quote-card select:focus,
.rb-quote-card textarea:focus {
	outline: none;
	border-color: var(--rb-green-bright);
	box-shadow: 0 0 0 3px rgba(46, 158, 91, .15);
}
.rb-quote-card .gform_footer { grid-column: 1 / -1; margin: 18px 0 0 !important; padding: 0 !important; }
.rb-quote-card .gform_footer input[type="submit"],
.rb-quote-card .gform_footer button {
	width: 100%;
	background: var(--rb-amber);
	color: var(--rb-ink);
	border: 0;
	border-radius: 10px;
	padding: 15px 20px;
	font-family: var(--rb-font-head);
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(245, 158, 11, .3);
	transition: background-color .2s, transform .15s;
}
.rb-quote-card .gform_footer input[type="submit"]:hover { background: var(--rb-amber-dark); transform: translateY(-2px); }
.rb-quote-card .gform_confirmation_message { text-align: center; color: var(--rb-green); font-weight: 600; padding: 20px 0; }
/* Validation errors as plain red text (no boxes/borders) */
.rb-quote-card .validation_message,
.rb-quote-card .gfield_validation_message {
	color: #c0392b; font-size: 12.5px; margin-top: 5px;
	background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
}
.rb-quote-card .gfield_error input,
.rb-quote-card .gfield_error select,
.rb-quote-card .gfield_error textarea { border-color: #e74c3c; }
.rb-quote-card .gfield_error { background: none !important; border: 0 !important; padding: 0 !important; }
/* Form-level error summary: plain text, no bordered box */
.rb-quote-card .gform_validation_errors {
	background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 0 12px !important; margin: 0 0 6px !important;
}
.rb-quote-card .gform_validation_errors > h2,
.rb-quote-card .gform_submission_error {
	color: #c0392b; font-size: 14px; font-weight: 600; padding: 0 !important; margin: 0 0 12px !important; border: 0 !important;
	display: block !important; gap: 0 !important; background: none !important; box-shadow: none !important;
}
/* Remove the GF cross/warning icon that overlaps the error text */
.rb-quote-card .gform_validation_errors .gform-icon,
.rb-quote-card .gform_submission_error .gform-icon,
.rb-quote-card .gform_validation_errors > h2::before,
.rb-quote-card .gform_submission_error::before,
.rb-quote-card .gform_submission_error svg { display: none !important; }

/* ---------------------------------------------------------------------------
   7. Specialties
   --------------------------------------------------------------------------- */
.rb-spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* Specialties slider (Swiper) */
.rb-spec-slider { padding: 12px 4px; }
.rb-spec-slider .swiper-wrapper { align-items: stretch; }
.rb-spec-slider .swiper-slide { height: auto; } /* equal-height cards */
.rb-spec-card {
	background: #fff; border: 1px solid var(--rb-border); border-radius: var(--rb-radius);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease;
}
.rb-spec-card:hover { transform: translateY(-6px); box-shadow: var(--rb-shadow); }
.rb-spec-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.rb-spec-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rb-spec-card:hover .rb-spec-card__media img:not(.rb-spec-card__service-icon) { transform: scale(1.05); }
.rb-spec-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 46, 24, .82), rgba(6, 46, 24, 0) 55%); }
.rb-spec-card__title { position: absolute; left: 18px; bottom: 14px; z-index: 2; color: #fff; font-size: 19px; margin: 0; }
.rb-spec-card__media .rb-spec-card__service-icon { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; object-fit: contain; }
.rb-spec-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.rb-spec-card__desc { font-size: 14.5px; margin: 0 0 16px; }
.rb-spec-card__list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.rb-spec-card__list li { display: flex; gap: 10px; font-size: 14px; color: var(--rb-ink); }
.rb-spec-card__list i { color: var(--rb-green-bright); margin-top: 3px; }
.rb-spec-card__check { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.rb-spec-card__actions { display: flex; gap: 10px; margin-top: auto; }
.rb-spec-card__actions .rb-btn { flex: 1; padding: 11px 14px; font-size: 14px; }

/* Learn More button */
.rb-spec-card__actions .rb-btn--outline-dark { background: #fff; border-color: #0a5c2e; color: #0a5c2e; }
.rb-spec-card__actions .rb-btn--outline-dark:hover { background: #0a5c2e; border-color: #0a5c2e; color: #fff; }
/* Free Quote button */
.rb-spec-card__actions .rb-btn--amber { background: #f59e0b; color: #000; }
.rb-spec-card__actions .rb-btn--amber:hover { background: #fff; border-color: #f59e0b; color: #f59e0b; }

/* ---------------------------------------------------------------------------
   8. Stats bar
   --------------------------------------------------------------------------- */
.rb-stats {
	background: linear-gradient(100deg, var(--rb-green-darkest), var(--rb-green-dark));
	padding: 46px 0;
}
.rb-stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.rb-stat__value { display: block; font-family: var(--rb-font-head); font-size: clamp(38px, 5vw, 56px); font-weight: 700; color: var(--rb-amber); line-height: 1; }
.rb-stat__label { display: block; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .82); }

/* ---------------------------------------------------------------------------
   9. Steps
   --------------------------------------------------------------------------- */
.rb-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rb-step-card {
	background: #fff; border: 1px solid var(--rb-border); border-radius: var(--rb-radius);
	padding: 30px 24px; text-align: center; transition: transform .25s, box-shadow .25s;
}
.rb-step-card:hover { transform: translateY(-6px); box-shadow: var(--rb-shadow); }
.rb-step-card__num {
	display: inline-grid; place-items: center; width: 52px; height: 52px;
	border-radius: 50%; border: 2px solid #BBF7D0; background: #F0FDF4;
	color: #0F172A; font-family: var(--rb-font-head); font-weight: 700; font-size: 17px; margin-bottom: 16px;
}
.rb-step-card__icon { display: block; font-size: 26px; color: var(--rb-green); margin-bottom: 14px; }
.rb-step-card__icon-img { width: 31px; height: 31px; object-fit: contain; display: block; margin: 0 auto;padding: 12px 0; }
.rb-step-card__title { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.rb-step-card__desc { font-size: 14px; color: #475569; margin: 0; }
.rb-steps__cta { text-align: center; margin-top: 48px; }

/* ---------------------------------------------------------------------------
   10. Service areas
   --------------------------------------------------------------------------- */
.rb-areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rb-area-card {
	display: flex; align-items: center; gap: 18px;
	background: #fff; border: 1px solid var(--rb-border); border-radius: var(--rb-radius);
	padding: 24px 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.rb-area-card:hover { transform: translateY(-4px); box-shadow: var(--rb-shadow); border-color: var(--rb-green-soft); }
.rb-area-card__icon { font-size: 30px; color: var(--rb-green); flex-shrink: 0; }
.rb-area-card__icon-img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.rb-area-card__text { display: flex; flex-direction: column; flex: 1; }
.rb-area-card__text strong { font-family: var(--rb-font-head); font-size: 19px; color: #0A5C2E; font-weight: 700; }
.rb-area-card__text small { font-size: 13.5px; color: var(--rb-body); }
.rb-area-card__arrow { color: var(--rb-green-bright); transition: transform .2s; }
.rb-area-card:hover .rb-area-card__arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------------------
   11. Trust
   --------------------------------------------------------------------------- */
.rb-trust__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.rb-trust__inner > * { min-width: 0; }
.rb-trust__media { position: relative; }
.rb-trust__media img { width: 100%; border-radius: var(--rb-radius);object-fit: cover; }
.rb-trust__badge {
	position: absolute; left: 18px; bottom: 18px;
	display: flex; align-items: center; gap: 12px;
	background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: var(--rb-shadow); max-width: 80%;
}
.rb-trust__badge-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--rb-green-soft); color: var(--rb-amber); display: grid; place-items: center; font-size: 18px; }
.rb-trust__badge strong { display: block; font-family: var(--rb-font-head); font-size: 14px; color: var(--rb-ink); }
.rb-trust__badge small { font-size: 12px; color: var(--rb-body); }
.rb-trust__subtitle { font-size: 16px; margin: 0 0 26px; }
.rb-trust__points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 22px; }
.rb-trust__points li { display: flex; gap: 16px; }
/* .rb-trust__point-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--rb-green-soft); color: var(--rb-green); display: grid; place-items: center; font-size: 17px; flex-shrink: 0; } */
.rb-trust__point-icon-img { width: 45px; height: 45px; object-fit: contain; }
.rb-trust__points strong { display: block; font-family: var(--rb-font-head); font-size: 16.5px; color: var(--rb-ink); margin-bottom: 3px; }
.rb-trust__points small { font-size: 14px; color: var(--rb-body); }

/* ---------------------------------------------------------------------------
   12. Reviews
   --------------------------------------------------------------------------- */
.rb-reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.rb-reviews__rating { display: grid; grid-template-columns: auto auto; align-items: center; justify-items: start; column-gap: 18px; row-gap: 8px; background: #fff; border: 1px solid var(--rb-border); border-radius: 12px; padding: 14px 20px; box-shadow: var(--rb-shadow); }
.rb-reviews__rating-num { font-family: var(--rb-font-head); font-size: 34px; font-weight: 800; color: var(--rb-ink); line-height: 1; }
.rb-reviews__rating .rb-stars { font-size: 14px; }
.rb-reviews__rating-g { width: 24px; height: 24px; object-fit: contain; }
.rb-reviews__rating-count { font-size: 12.5px; color: var(--rb-muted); }
/* Reviews slider (Swiper)
   The outer .rb-reviews-slider is the positioning context. The inner
   .__viewport is the actual Swiper (overflow: hidden), inset by side gutters
   so the arrows sit BESIDE the slides, and with bottom space for the dots
   BELOW the slides — neither overlaps the cards or gets clipped. */
.rb-reviews-slider { position: relative; padding-bottom: 44px; }
/* Double class beats Swiper's own `.swiper { margin: auto }` so the side
   gutters survive — this is what keeps the arrows beside, not on, the cards. */
.rb-reviews-slider .rb-reviews-slider__viewport { margin: 0 56px; padding: 12px 4px; }
.rb-reviews-slider .swiper-wrapper { align-items: stretch; }
.rb-reviews-slider .swiper-slide { height: auto; } /* equal-height cards */
/* Navigation arrows — live in the side gutters, vertically centred on the cards */
.rb-reviews-slider .swiper-button-prev,
.rb-reviews-slider .swiper-button-next {
	width: 44px; height: 44px; top: 50%; transform: translateY(-50%); margin: -22px 0 0; /* -22px offsets the 44px bottom padding so arrows centre on the cards */
	background: #fff; border: 1px solid var(--rb-border); border-radius: 50%;
	box-shadow: var(--rb-shadow); color: var(--rb-green); cursor: pointer;
	transition: background .2s, color .2s;
}
.rb-reviews-slider .swiper-button-prev { left: 0; }
.rb-reviews-slider .swiper-button-next { right: 0; }
.rb-reviews-slider .swiper-button-prev:hover,
.rb-reviews-slider .swiper-button-next:hover { background: var(--rb-green); color: #fff; }
.rb-reviews-slider .swiper-button-prev::after,
.rb-reviews-slider .swiper-button-next::after { font-size: 16px; font-weight: 700; }
.rb-reviews-slider .swiper-button-disabled { opacity: .35; cursor: default; }
/* Pagination dots — sit in the reserved space below the slides */
.rb-reviews-slider .swiper-pagination { bottom: 8px; left: 0; width: 100%; }
.rb-reviews-slider .swiper-pagination-bullet { width: 9px; height: 9px; background: var(--rb-muted); opacity: .4; transition: opacity .2s, background .2s; }
.rb-reviews-slider .swiper-pagination-bullet-active { background: var(--rb-green); opacity: 1; }
.rb-review-card { background: #fff; border: 1px solid var(--rb-border); border-radius: var(--rb-radius); padding: 26px 24px; transition: transform .2s, box-shadow .2s; }
.rb-review-card:hover { transform: translateY(-4px); box-shadow: var(--rb-shadow); }
.rb-review-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rb-review-card__g { width: 22px; height: 22px; object-fit: contain; }
.rb-review-card__text { font-size: 14.5px; color: var(--rb-ink); margin: 0 0 22px; }
.rb-review-card__author { display: flex; align-items: center; gap: 12px; }
.rb-review-card__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--rb-green); color: #fff; display: grid; place-items: center; font-family: var(--rb-font-head); font-weight: 700; font-size: 14px; }
.rb-review-card__meta strong { display: block; font-family: var(--rb-font-head); font-size: 15px; color: var(--rb-ink); }
.rb-review-card__meta small { font-size: 12.5px; color: var(--rb-muted); }
.rb-verified { color: var(--rb-green-bright); font-weight: 600; }
.rb-reviews__cta { text-align: center; margin-top: 44px; }

/* ---------------------------------------------------------------------------
   13. Guarantee
   --------------------------------------------------------------------------- */
.rb-guarantee { background: #F8FAFC; }
.rb-guarantee__box {
	display: flex; align-items: center; gap: 14px;
	background: var(--rb-green-soft); border: 2px solid #BBF7D0;
	border-radius: 20px; padding: 44px 20px;
}
.rb-guarantee__content h2 { color: var(--rb-green-dark); font-size: 26px; margin: 0 0 10px; }
.rb-guarantee__content p { font-size: 15.5px; color: #2f4a3a; margin: 0; }

/* ---------------------------------------------------------------------------
   14. FAQ
   --------------------------------------------------------------------------- */
.rb-faq-list { display: grid; gap: 14px; }
.rb-faq-item { background: #fff; border: 1px solid var(--rb-border); border-radius: var(--rb-radius); overflow: hidden; }
.rb-faq-item__q {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 24px; cursor: pointer; list-style: none;
	font-family: var(--rb-font-head); font-weight: 600; font-size: 16.5px; color: var(--rb-ink);
}
.rb-faq-item__q::-webkit-details-marker { display: none; }
.rb-faq-item__icon {
	color: #0A5C2E; background: #F0FDF4;
	width: 32px; height: 32px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 13px; transition: transform .25s; flex-shrink: 0;
}
.rb-faq-item[open] .rb-faq-item__icon { transform: rotate(45deg); }
.rb-faq-item__a { padding: 0 24px 22px; font-size: 15px; color: var(--rb-body); }
.rb-faq-item__a p { margin: 0 0 10px; }

/* ---------------------------------------------------------------------------
   15. Final CTA
   --------------------------------------------------------------------------- */
.rb-cta {
	background: linear-gradient(110deg, var(--rb-green-darkest) 0%, var(--rb-green-dark) 55%, var(--rb-green) 100%);
	background-size: cover; background-position: center;
	color: #fff; text-align: center; padding: 84px 0;
}
.rb-cta__inner { max-width: 845px; margin: 0 auto; }
.rb-cta__title { color: #fff; font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; margin: 16px 0 14px; }
.rb-cta__text { font-size: 17px; color: rgba(255, 255, 255, .85); margin: 0 0 30px; }
.rb-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.rb-cta__badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 28px 0 0; }
.rb-cta__badges li { font-size: 13.5px; color: rgba(255, 255, 255, .8); display: inline-flex; align-items: center; gap: 7px; }
.rb-cta__badges i { color: #4ADE80; }

/* ---------------------------------------------------------------------------
   16. Footer
   --------------------------------------------------------------------------- */
.rb-footer { background: #041F10; color: rgba(255, 255, 255, .72); }
.rb-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 104px 0 80px; }
.rb-logo--footer .rb-logo__text strong { color: #fff; }
.rb-footer__about { font-size: 14px; margin: 16px 0; max-width: 320px; }
.rb-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.rb-footer__contact i { color: #4ADE80; width: 18px; }
.rb-footer__contact a:hover { color: #fff; }
.rb-footer__col h4 { color: #4ADE80; font-size: 15px; font-family: var(--rb-font-head); margin: 0 0 16px;text-transform: uppercase; }
/* The heading doubles as an accordion trigger on mobile (see media query
   below); on desktop the chevron is hidden and the list is always open. */
.rb-footer__col-toggle { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; width: auto; padding: 0; margin: 0; background: none; border: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: default; }
.rb-footer__col-toggle i { display: none; transition: transform .25s ease; }
.rb-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0px; }
.rb-footer__col a { font-size: 14px; }
.rb-footer__col a:hover { color: #fff; }
.rb-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1);}
.rb-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; flex-wrap: wrap; font-size: 13px; }
.rb-footer__bottom p { margin: 0; }
.rb-footer__badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.rb-footer__badges li { display: inline-flex; align-items: center; background: #192f23; color: rgba(255, 255, 255, .85); padding: 7px 16px; border-radius: 8px; font-size: 12.5px; }

/* ---------------------------------------------------------------------------
   18. About page
   --------------------------------------------------------------------------- */
/* Page hero (inner-page banner) */
.rb-page-hero { position: relative; background-size: cover; background-position: center; color: #fff; padding: 92px 0 88px; }
.rb-page-hero__inner { max-width: 820px; }
.rb-breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .8); margin-bottom: 22px; }
.rb-breadcrumb a { color: rgba(255, 255, 255, .8); transition: color .2s ease; }
.rb-breadcrumb a:hover { color: #fff; }
.rb-breadcrumb i { font-size: 11px; opacity: .7; }
.rb-breadcrumb span[aria-current] { color: #fff; font-weight: 600; }
.rb-page-hero__title { color: #fff; font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.1; margin: 14px 0 18px; }
.rb-page-hero__title .rb-hl { color: #4ADE80; }
.rb-page-hero__lead { font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 640px; margin: 0 0 30px; }
.rb-page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Two-column story / community blocks */
.rb-about-story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.rb-about-story__inner > * { min-width: 0; }
.rb-about-story--reverse .rb-about-story__media { order: 2; }
.rb-about-story__media { position: relative; }
.rb-about-story__media img { width: 100%; border-radius: var(--rb-radius); object-fit: cover; box-shadow: var(--rb-shadow); }
.rb-about-story__badge { position: absolute; left: -18px; bottom: -22px; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--rb-border); border-radius: var(--rb-radius); box-shadow: var(--rb-shadow-lg); padding: 16px 22px; }
.rb-about-story__badge-num { font-family: var(--rb-font-head); font-size: 34px; font-weight: 800; color: var(--rb-green); line-height: 1; }
.rb-about-story__badge-text { font-size: 13px; color: var(--rb-body); line-height: 1.3; }
.rb-about-story__content p { font-size: 16px; color: var(--rb-body); margin: 0 0 18px; }
.rb-about-story__content p:last-child { margin-bottom: 0; }
.rb-about-story__content strong { color: var(--rb-ink); }
.rb-about-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.rb-about-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--rb-ink); }
.rb-about-list i { color: var(--rb-green-bright); margin-top: 4px; }

/* Mission (centred highlight) */
.rb-mission { background: #fff; }
.rb-mission__inner { text-align: center; }
.rb-mission__text { font-size: 19px; line-height: 1.7; color: var(--rb-body); margin: 0; }

/* Why Choose Us cards */
.rb-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rb-why-card { background: #fff; border: 1px solid var(--rb-border); border-radius: var(--rb-radius); padding: 32px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.rb-why-card:hover { transform: translateY(-6px); box-shadow: var(--rb-shadow); border-color: transparent; }
.rb-why-card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--rb-green-soft); color: var(--rb-green); display: grid; place-items: center; font-size: 23px; margin-bottom: 20px; transition: background .25s ease, color .25s ease; }
.rb-why-card:hover .rb-why-card__icon { background: var(--rb-green); color: #fff; }
.rb-why-card__title { font-size: 18px; margin: 0 0 10px; }
/* Learn More link on service cards (service-detail page) */
.rb-why-card--link { display: flex; flex-direction: column; }
.rb-why-card__more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--rb-font-head); font-weight: 600; font-size: 14.5px; color: var(--rb-green); transition: gap .2s ease, color .2s ease; }
.rb-why-card__more:hover { color: var(--rb-green-dark); gap: 12px; }
.rb-why-card__text { font-size: 14.5px; color: var(--rb-body); margin: 0; line-height: 1.6; }
/* Compact variant: icon + label only (no body copy) */
.rb-why-card--compact { display: flex; align-items: center; gap: 18px; padding: 22px 26px; }
.rb-why-card--compact .rb-why-card__icon { margin-bottom: 0; flex-shrink: 0; }
.rb-why-card--compact .rb-why-card__title { margin: 0; font-size: 16.5px; }

/* Meet the team */
.rb-team__inner { text-align: center; }
.rb-team__text { font-size: 17px; color: var(--rb-body); margin: 0 auto 32px; max-width: 720px; }
.rb-team__roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; padding: 0; margin: 0; }
.rb-team__roles li { display: inline-flex; align-items: center; gap: 10px; background: var(--rb-light); border: 1px solid var(--rb-border); border-radius: 999px; padding: 11px 22px; font-family: var(--rb-font-head); font-weight: 600; font-size: 14.5px; color: var(--rb-ink); }
.rb-team__roles i { color: var(--rb-green); }

/* ---------------------------------------------------------------------------
   19. Contact page
   --------------------------------------------------------------------------- */
.rb-contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.rb-contact__inner > * { min-width: 0; }
.rb-contact__lead { font-size: 16.5px; color: var(--rb-body); margin: 0 0 32px; }
.rb-contact__subhead { font-family: var(--rb-font-head); font-size: 20px; color: var(--rb-ink); margin: 0 0 20px; }
.rb-contact__details { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.rb-contact__detail { display: flex; align-items: flex-start; gap: 16px; }
.rb-contact__detail-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--rb-green-soft); color: var(--rb-green); display: grid; place-items: center; font-size: 19px; }
.rb-contact__detail-body { display: flex; flex-direction: column; gap: 3px; }
.rb-contact__detail-body strong { font-family: var(--rb-font-head); font-size: 14px; color: var(--rb-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.rb-contact__detail-body a, .rb-contact__detail-body span { font-size: 16px; color: var(--rb-ink); }
.rb-contact__detail-body a:hover { color: var(--rb-green); }
.rb-contact__form-wrap .rb-quote-card { position: sticky; top: 96px; }
.rb-contact__form-wrap .rb-quote-card__title,
.rb-contact__form-wrap .rb-quote-card__subtitle { text-align: left; }

/* ---------------------------------------------------------------------------
   20. Free Quote page
   --------------------------------------------------------------------------- */
/* Free Quote: vertically centre the intro text against the form, and drop step numbers */
#quote-form .rb-contact__inner { align-items: center; }
.rb-steps--no-num .rb-step-card__num { display: none; }
.rb-finance { background: #fff; }
.rb-finance__inner { text-align: center; background: linear-gradient(111.12deg, #041F10 0%, #0A5C2E 55%, #15803D 100%); color: #fff; border-radius: var(--rb-radius); padding: 54px 40px; box-shadow: var(--rb-shadow-lg); }
.rb-finance__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 16px; background: rgba(255, 255, 255, .12); color: #4ADE80; display: grid; place-items: center; font-size: 27px; }
.rb-finance__title { color: #fff; font-size: clamp(26px, 3.5vw, 36px); margin: 0 0 14px; }
.rb-finance__text { font-size: 17px; color: rgba(255, 255, 255, .88); margin: 0 auto; max-width: 640px; }

/* ---------------------------------------------------------------------------
   21. Financing page
   --------------------------------------------------------------------------- */
.rb-callout { text-align: center; background: linear-gradient(111.12deg, #041F10 0%, #0A5C2E 55%, #15803D 100%); color: #fff; border-radius: var(--rb-radius); padding: 54px 40px; box-shadow: var(--rb-shadow-lg); }
.rb-callout__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 16px; background: rgba(255, 255, 255, .12); color: #4ADE80; display: grid; place-items: center; font-size: 26px; }
.rb-callout__title { color: #fff; font-size: clamp(26px, 3.5vw, 36px); margin: 0 0 14px; }
.rb-callout__text { font-size: 17px; color: rgba(255, 255, 255, .88); margin: 0 auto; max-width: 680px; }
.rb-callout__figure { font-family: var(--rb-font-head); font-size: clamp(34px, 5vw, 48px); font-weight: 800; color: #4ADE80; margin: 0 0 10px; line-height: 1; }
/* Financing highlights: auto-fit so it wraps gracefully across breakpoints */
.rb-why-grid--highlights { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
/* Icon on top (not to the side) for the highlight cards */
.rb-why-grid--highlights .rb-why-card--compact { flex-direction: column; align-items: flex-start; gap: 16px; }
.rb-callout__btn { margin-top: 26px; }

/* ---------------------------------------------------------------------------
   22. Testimonials page
   --------------------------------------------------------------------------- */
.rb-testi-intro__inner { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.rb-testi-intro__text { font-size: 17px; color: var(--rb-body); margin: 0; }
.rb-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.rb-testi-grid > * { min-width: 0; }
/* Equal-height cards: card fills its grid cell, footer pinned to the bottom */
.rb-testi-grid .rb-review-card { display: flex; flex-direction: column; height: 100%; }
.rb-testi-grid .rb-review-card__text { flex: 1 1 auto; }
.rb-testi-grid .rb-review-card__author { margin-top: auto; }
/* Tabs */
.rb-tabs__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.rb-tabs__tab {
	font-family: var(--rb-font-head); font-weight: 600; font-size: 15px; color: var(--rb-ink);
	background: #fff; border: 1px solid var(--rb-border); border-radius: 999px; padding: 12px 24px;
	cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rb-tabs__tab:hover { border-color: var(--rb-green); color: var(--rb-green); }
.rb-tabs__tab.is-active { background: var(--rb-green); border-color: var(--rb-green); color: #fff; box-shadow: 0 8px 20px rgba(22, 124, 60, .25); }
.rb-tabs__panel[hidden] { display: none; }
.rb-tabs__panel { animation: rb-fade-in .35s ease; }
@keyframes rb-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* Mobile: the tab bar becomes a select (toggled in the responsive section) */
.rb-tabs__select {
	display: none; width: 100%; margin-bottom: 40px;
	font-family: var(--rb-font-head); font-weight: 600; font-size: 15px; color: var(--rb-ink);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23167c3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 18px center;
	border: 1px solid var(--rb-border); border-radius: 12px; padding: 14px 44px 14px 18px;
	-webkit-appearance: none; appearance: none; cursor: pointer;
}

/* ---------------------------------------------------------------------------
   23. Portfolio page + lightbox
   --------------------------------------------------------------------------- */
.rb-pf-desc { text-align: center; max-width: 760px; margin: 0 auto 40px; color: var(--rb-body); font-size: 16px; }
.rb-pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rb-pf-item { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--rb-radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--rb-shadow); }
.rb-pf-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.rb-pf-item:hover img { transform: scale(1.07); }
.rb-pf-item__zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; background: rgba(4, 31, 16, .45); opacity: 0; transition: opacity .3s ease; }
.rb-pf-item:hover .rb-pf-item__zoom, .rb-pf-item:focus-visible .rb-pf-item__zoom { opacity: 1; }

/* Lightbox */
.rb-lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 56px 24px; background: rgba(4, 31, 16, .94); }
.rb-lightbox.is-open { display: flex; }
.rb-lightbox__img { max-width: 92vw; max-height: 82vh; border-radius: 10px; box-shadow: var(--rb-shadow-lg); }
.rb-lightbox__cap { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; color: rgba(255, 255, 255, .9); font-family: var(--rb-font-head); font-size: 15px; }
.rb-lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: background .2s ease; }
.rb-lightbox__btn:hover { background: var(--rb-green); }
.rb-lightbox__close { top: 20px; right: 20px; }
.rb-lightbox__nav { top: 50%; transform: translateY(-50%); }
.rb-lightbox__nav--prev { left: 20px; }
.rb-lightbox__nav--next { right: 20px; }

/* ---------------------------------------------------------------------------
   24. Service detail page
   --------------------------------------------------------------------------- */
.rb-sd-checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.rb-sd-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--rb-ink); }
.rb-sd-checklist li i { color: var(--rb-green-bright); margin-top: 4px; flex-shrink: 0; }
/* "Serving the Entire GTA" — keep the city chips on a single line */
.rb-sd-areas .rb-team__roles { flex-wrap: nowrap; }
.rb-sd-areas .rb-team__roles li { flex: 0 1 auto; min-width: 0; white-space: nowrap; }

/* Cost + Permit facts cards */
.rb-sd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; align-items: stretch; }
.rb-sd-facts > * { min-width: 0; }
.rb-sd-fact { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rb-border); border-radius: var(--rb-radius); padding: 38px 34px; box-shadow: var(--rb-shadow); overflow: hidden; }
.rb-sd-fact::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.rb-sd-fact--cost::before { background: var(--rb-amber); }
.rb-sd-fact--permit::before { background: var(--rb-green); }
.rb-sd-fact__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.rb-sd-fact__icon { width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 23px; background: #FEF3D8; color: var(--rb-amber-dark); }
.rb-sd-fact__icon--green { background: var(--rb-green-soft); color: var(--rb-green); }
.rb-sd-fact__title { font-size: 22px; margin: 0; }
.rb-sd-fact__figure { display: flex; flex-direction: column; gap: 2px; margin: 0 0 18px; padding: 16px 20px; background: linear-gradient(135deg, #FEF3D8, #fff); border-radius: var(--rb-radius-sm); }
.rb-sd-fact__amount { font-family: var(--rb-font-head); font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--rb-ink); line-height: 1.1; }
.rb-sd-fact__amount-label { font-size: 13px; color: var(--rb-muted); font-weight: 600; }
.rb-sd-fact__badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: var(--rb-green-soft); color: var(--rb-green); font-family: var(--rb-font-head); font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px; margin-bottom: 18px; }
.rb-sd-fact__text { font-size: 15.5px; color: var(--rb-body); margin: 0; line-height: 1.65; }

/* ---------------------------------------------------------------------------
   27. 404 + Thank You
   --------------------------------------------------------------------------- */
.rb-404__code { font-size: clamp(72px, 16vw, 150px); line-height: 1; margin: 6px 0 14px; letter-spacing: -2px; }
.rb-404-links { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.rb-404-links a { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--rb-border); border-radius: 999px; padding: 11px 22px; font-family: var(--rb-font-head); font-weight: 600; font-size: 14.5px; color: var(--rb-ink); transition: border-color .2s, color .2s; }
.rb-404-links a:hover { border-color: var(--rb-green); color: var(--rb-green); }
.rb-404-links i { color: var(--rb-green); }

.rb-thankyou__inner { text-align: center; }
.rb-thankyou__check { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; background: var(--rb-green-soft); color: var(--rb-green); display: grid; place-items: center; font-size: 38px; animation: rb-pop .4s ease; }
@keyframes rb-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.rb-thankyou__title { margin: 14px 0 14px; }
.rb-thankyou__text { font-size: 17px; color: var(--rb-body); margin: 0 auto 28px; max-width: 600px; }
.rb-thankyou__steps { list-style: none; padding: 0; margin: 0 auto 34px; max-width: 460px; display: grid; gap: 14px; text-align: left; }
.rb-thankyou__steps li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--rb-ink); background: #fff; border: 1px solid var(--rb-border); border-radius: var(--rb-radius-sm); padding: 14px 18px; }
.rb-thankyou__num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--rb-green); color: #fff; font-family: var(--rb-font-head); font-weight: 700; font-size: 14px; display: grid; place-items: center; }

/* ---------------------------------------------------------------------------
   26. Location landing pages
   --------------------------------------------------------------------------- */
.rb-loc-intro { font-size: 16.5px; color: rgba(255, 255, 255, .9); max-width: 680px; margin: 0 0 28px; }
.rb-trust-strip { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.rb-trust-strip li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--rb-font-head); font-weight: 600; font-size: 14px; color: #fff; }
.rb-trust-strip i { color: #4ADE80; }

/* ---------------------------------------------------------------------------
   25. Blog (listing + single)
   --------------------------------------------------------------------------- */
.rb-blog-meta { color: rgba(255,255,255,.85); font-size: 14px; margin: 16px 0 0; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
/* Listing grid */
.rb-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rb-blog-grid > * { min-width: 0; }
.rb-blog-card { background: #fff; border: 1px solid var(--rb-border); border-radius: var(--rb-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.rb-blog-card:hover { transform: translateY(-6px); box-shadow: var(--rb-shadow); }
.rb-blog-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.rb-blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rb-blog-card:hover .rb-blog-card__media img { transform: scale(1.05); }
.rb-blog-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.rb-blog-card__cat { align-self: flex-start; font-family: var(--rb-font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rb-green); background: var(--rb-green-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.rb-blog-card__title { font-size: 19px; line-height: 1.3; margin: 0 0 10px; }
.rb-blog-card__title a:hover { color: var(--rb-green); }
.rb-blog-card__excerpt { font-size: 14.5px; color: var(--rb-body); margin: 0 0 18px; }
.rb-blog-card__more { margin-top: auto; align-self: flex-start; font-family: var(--rb-font-head); font-weight: 600; font-size: 14.5px; color: var(--rb-green); display: inline-flex; align-items: center; gap: 8px; transition: gap .2s ease; }
.rb-blog-card__more:hover { gap: 12px; }
/* Pagination */
.rb-pagination { margin-top: 48px; }
.rb-pagination ul { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.rb-pagination a, .rb-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--rb-border); background: #fff; font-family: var(--rb-font-head); font-weight: 600; color: var(--rb-ink); }
.rb-pagination a:hover { border-color: var(--rb-green); color: var(--rb-green); }
.rb-pagination .current { background: var(--rb-green); border-color: var(--rb-green); color: #fff; }
/* Single — two-column (content + sidebar) */
.rb-blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
.rb-blog-main { min-width: 0; }
.rb-blog-main .rb-prose, .rb-blog-main .rb-blog-single__cover { text-align: left; }
.rb-blog-sidebar { position: sticky; top: 110px; display: grid; gap: 24px; }
.rb-sidebar-card { background: #fff; border: 1px solid var(--rb-border); border-radius: var(--rb-radius); padding: 26px 24px; box-shadow: var(--rb-shadow); }
.rb-sidebar-card__title { font-size: 18px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 2px solid var(--rb-green-soft); }
.rb-recent { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.rb-recent__item { display: flex; gap: 14px; align-items: flex-start; }
.rb-recent__thumb { flex-shrink: 0; width: 72px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--rb-green-soft); }
.rb-recent__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rb-recent__body { display: flex; flex-direction: column; gap: 4px; }
.rb-recent__title { font-family: var(--rb-font-head); font-weight: 600; font-size: 14px; line-height: 1.35; color: var(--rb-ink); }
.rb-recent__title:hover { color: var(--rb-green); }
.rb-recent__date { font-size: 12px; color: var(--rb-muted); display: inline-flex; align-items: center; gap: 5px; }
.rb-sidebar-card--cta { background: linear-gradient(111.12deg, #041F10 0%, #0A5C2E 55%, #15803D 100%); border: 0; color: #fff; text-align: center; }
.rb-sidebar-card--cta .rb-sidebar-card__title { color: #fff; border-bottom-color: rgba(255,255,255,.18); }
.rb-sidebar-card--cta p { font-size: 14.5px; color: rgba(255,255,255,.85); margin: 0 0 18px; }
.rb-sidebar-card--cta .rb-btn { width: 100%; }
/* Single — cover */
.rb-blog-single__cover { margin: 0 0 36px; border-radius: var(--rb-radius); overflow: hidden; box-shadow: var(--rb-shadow); }
.rb-blog-single__cover img { width: 100%; height: auto; display: block; }
.rb-blog-single__back { margin-top: 36px; }
/* Prose typography */
.rb-prose { font-size: 16.5px; color: var(--rb-body); line-height: 1.75; }
.rb-prose > *:first-child { margin-top: 0; }
.rb-prose h2 { font-size: clamp(22px, 3vw, 28px); color: var(--rb-ink); margin: 38px 0 14px; }
.rb-prose h3 { font-size: 20px; color: var(--rb-ink); margin: 28px 0 12px; }
.rb-prose p { margin: 0 0 18px; }
.rb-prose ul, .rb-prose ol { margin: 0 0 20px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.rb-prose ul li { position: relative; padding-left: 30px; }
.rb-prose ul li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--rb-green-bright); position: absolute; left: 0; top: 2px; font-size: 13px; }
.rb-prose ol { counter-reset: rb; }
.rb-prose ol li { position: relative; padding-left: 42px; counter-increment: rb; }
.rb-prose ol li::before { content: counter(rb); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--rb-green-soft); color: var(--rb-green); font-family: var(--rb-font-head); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.rb-prose strong { color: var(--rb-ink); }
.rb-prose a { color: var(--rb-green); text-decoration: underline; }

/* ---------------------------------------------------------------------------
   17. Responsive
   --------------------------------------------------------------------------- */
/* Testimonials: swap the tab bar for a select once the long pills get tight. */
@media (max-width: 1050px) {
	.rb-tabs__nav { display: none; }
	.rb-tabs__select { display: block; }
}

/* Collapse the header CTA buttons to icon-only to save space on narrow nav. */
@media (max-width: 1180px) {
	.rb-navbar__actions .rb-btn { padding-left: 14px; padding-right: 14px; }
	.rb-navbar__actions .rb-btn__label { display: none; }
	.rb-navbar__actions .rb-btn i { display: inline-block; font-size: 16px; }
}

@media (max-width: 1024px) {
	.rb-hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.rb-hero__form-wrap { justify-content: flex-start; }
	.rb-spec-grid,
	.rb-areas-grid { grid-template-columns: repeat(2, 1fr); }
	.rb-steps-grid { grid-template-columns: repeat(2, 1fr); }
	.rb-trust__inner { grid-template-columns: 1fr; gap: 36px; }
	.rb-footer__inner { grid-template-columns: 1fr 1fr; }
	/* About page */
	.rb-about-story__inner { grid-template-columns: 1fr; gap: 48px; }
	.rb-about-story--reverse .rb-about-story__media { order: 0; }
	.rb-why-grid { grid-template-columns: repeat(2, 1fr); }
	/* Contact page */
	.rb-contact__inner { grid-template-columns: 1fr; gap: 44px; }
	.rb-contact__form-wrap .rb-quote-card { position: static; }
	/* Testimonials */
	.rb-testi-grid { grid-template-columns: repeat(2, 1fr); }
	/* Portfolio */
	.rb-pf-grid { grid-template-columns: repeat(2, 1fr); }
	/* Blog */
	.rb-blog-grid { grid-template-columns: repeat(2, 1fr); }
	.rb-blog-layout { grid-template-columns: 1fr; gap: 40px; }
	.rb-blog-sidebar { position: static; }
}

@media (max-width: 991px) {
	.rb-nav { display: none; }
	.rb-nav-toggle { display: inline-flex; order: 3; }
	/* Push the CTA buttons + hamburger together to the right, in one row. */
	.rb-navbar__actions { margin-left: auto; }
	.rb-navbar__inner { gap: 12px; }
	.rb-nav.is-open {
		display: block; position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; border-bottom: 1px solid var(--rb-border); box-shadow: var(--rb-shadow); padding: 12px 24px;
	}
	.rb-nav.is-open .rb-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.rb-nav.is-open .rb-menu > li { position: relative; border-bottom: 1px solid var(--rb-border); }
	.rb-nav.is-open .rb-menu > li:last-child { border-bottom: 0; }
	.rb-nav.is-open .rb-menu > li > a { padding: 14px 48px 14px 2px; border-bottom: 0; }
	.rb-nav.is-open .rb-menu > li > a:hover { border-bottom: 0; }

	/* Hide the desktop hover caret; use the clickable arrow button instead. */
	.rb-nav.is-open .rb-menu > li.menu-item-has-children > a::after { display: none; }
	.rb-nav.is-open .rb-submenu-toggle {
		display: flex; align-items: center; justify-content: center;
		position: absolute; top: 0; right: 0; width: 48px; height: 50px;
		background: none; border: 0; color: var(--rb-ink); cursor: pointer; font-size: 13px;
	}
	.rb-nav.is-open .rb-submenu-toggle i { transition: transform .25s ease; }
	.rb-nav.is-open .rb-menu > li.is-submenu-open > .rb-submenu-toggle i { transform: rotate(180deg); }

	/* Submenus collapsed by default; expand only when the item is open. */
	.rb-nav.is-open .rb-menu .sub-menu {
		display: none; position: static; opacity: 1; visibility: visible;
		transform: none; box-shadow: none; border: 0;
		min-width: 0; width: auto; max-width: none;
		margin: 6px 0 8px; padding: 0;
		background: #0a5c2e; border-radius: 8px; overflow: hidden;
	}
	.rb-nav.is-open .rb-menu .sub-menu a {
		white-space: normal;
		color: #fff;
		padding: 12px 16px;
		border-radius: 0;
		border-bottom: 1px solid rgba(255, 255, 255, .22);
		transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
	}
	.rb-nav.is-open .rb-menu .sub-menu li:last-child a { border-bottom: 0; }
	.rb-nav.is-open .rb-menu .sub-menu a:hover,
	.rb-nav.is-open .rb-menu .sub-menu a:focus {
		background: rgba(255, 255, 255, .14);
		color: var(--rb-amber);
		padding-left: 20px;
	}
	.rb-nav.is-open .rb-menu > li.is-submenu-open > .sub-menu { display: block; }

	.rb-topbar { display: none; }

	/* Slightly tighter arrow gutters on tablets. */
	.rb-reviews-slider .rb-reviews-slider__viewport { margin: 0 50px; }
}

@media (max-width: 680px) {
	.rb-container { padding: 0 16px; }
	.rb-section { padding: 60px 0; }
	.rb-hero { padding: 48px 0 64px; }
	.rb-hero__title { font-size: clamp(28px, 8vw, 38px); }
	.rb-quote-card { padding: 30px 20px 22px; }
    .rb-footer{padding-top: 30px;}
	/* About page */
	.rb-page-hero { padding: 60px 0 56px; }
	.rb-page-hero__actions .rb-btn { flex: 1 1 auto; }
	.rb-why-grid { grid-template-columns: 1fr; }
	.rb-testi-grid { grid-template-columns: 1fr; }
	.rb-sd-checklist { grid-template-columns: 1fr; }
	.rb-sd-facts { grid-template-columns: 1fr; }
	.rb-blog-grid { grid-template-columns: 1fr; }
	.rb-about-story__badge { left: 12px; bottom: -18px; padding: 13px 18px; }
	.rb-about-story__badge-num { font-size: 28px; }
	.rb-mission__text { font-size: 17px; }
	/* Compact header so logo + CTA fit small screens */
	.rb-navbar__inner { gap: 10px; min-height: 64px; }
	.rb-logo__mark { width: 38px; height: 38px; font-size: 16px; }
	.rb-logo__text strong { font-size: 18px; }
	.rb-logo__text small { font-size: 9px; }
	/* Both header CTAs are icon-only here — make them equal-sized squares. */
	.rb-navbar__actions .rb-btn { width: 44px; height: 44px; padding: 0; }
	.rb-navbar__actions .rb-btn i { font-size: 16px; }
	.rb-stats__inner { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
	.rb-spec-grid,
	.rb-steps-grid,
	.rb-areas-grid { grid-template-columns: 1fr; }
	.rb-hero__features { grid-template-columns: 1fr; }
	/* Smaller arrows + tighter gutters on phones so slides stay readable. */
	.rb-reviews-slider { padding-bottom: 40px; }
	.rb-reviews-slider .rb-reviews-slider__viewport { margin: 0 42px; padding: 10px 2px; }
	.rb-reviews-slider .swiper-button-prev,
	.rb-reviews-slider .swiper-button-next { width: 36px; height: 36px; margin-top: -20px; }
	.rb-reviews-slider .swiper-button-prev::after,
	.rb-reviews-slider .swiper-button-next::after { font-size: 13px; }
	.rb-reviews__head { flex-direction: column; align-items: flex-start; }
	.rb-guarantee__box { flex-direction: column; text-align: center; padding: 36px 24px; }
	.rb-footer__inner { grid-template-columns: 1fr; gap: 0; }
	.rb-footer__brand { margin-bottom: 24px; }
	/* Footer link columns become accordions (one open at a time, via JS). */
	.rb-footer__col { border-top: 1px solid rgba(255, 255, 255, .12); }
	.rb-footer__col h4 { margin: 0; }
	.rb-footer__col-toggle { display: flex; width: 100%; padding: 16px 0; cursor: pointer; }
	.rb-footer__col-toggle i { display: inline-block; font-size: 13px; }
	.rb-footer__col.is-open .rb-footer__col-toggle i { transform: rotate(180deg); }
	.rb-footer__col ul { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding-bottom .3s ease; }
	.rb-footer__col.is-open ul { max-height: 480px; padding-bottom: 18px; }
	.rb-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
	.rb-quote-card .gform_fields { grid-template-columns: 1fr !important; }
	.rb-quote-card .gform_fields > .gfield { grid-column: 1 / -1 !important; }
}
