/*
 * Theme: Recrete
 * Description: Global styles for the Recrete theme based on dark mockup design.
 */

/* ===== CUSTOM PROPERTIES ===== */
:root {
	--recrete-orange: var(--wp--preset--color--amber);
	--recrete-orange-hover: var(--wp--preset--color--amber-hover);
	--recrete-dark: var(--wp--preset--color--black);
	--recrete-dark-card: var(--wp--preset--color--asphalt);
	--recrete-dark-surface: var(--wp--preset--color--dark-surface);
	--recrete-text-primary: var(--wp--preset--color--white);
	--recrete-text-secondary: var(--wp--preset--color--dust);
	--recrete-text-muted: var(--wp--preset--color--steel);
	--recrete-radius: 12px;
	--recrete-border-subtle: 1px solid rgba(255, 255, 255, 0.06);
	--recrete-max-width: 1200px;
	/* Amber alpha tokens */
	--recrete-amber-glow: color-mix(in srgb, var(--recrete-orange) 35%, transparent);
	--recrete-amber-bg: color-mix(in srgb, var(--recrete-orange) 10%, transparent);
	--recrete-amber-border: color-mix(in srgb, var(--recrete-orange) 35%, transparent);
}

/* ===== LIGHT BACKGROUND OVERRIDES ===== */
/* When blocks sit inside a light-background container, flip the
   dark-theme custom properties so text, borders, and cards adapt. */
.has-white-background-color,
.has-limestone-background-color {
	--recrete-dark-card: var(--wp--preset--color--white);
	--recrete-dark-surface: #f0f0f0;
	--recrete-text-primary: var(--wp--preset--color--asphalt);
	--recrete-text-secondary: var(--wp--preset--color--steel);
	--recrete-text-muted: var(--wp--preset--color--dust);
	--recrete-border-subtle: 1px solid rgba(0, 0, 0, 0.08);
	color: var(--wp--preset--color--asphalt);
}

/* Default heading and paragraph colors on light backgrounds —
   catches reusable blocks and any content without explicit textColor */
.has-white-background-color h1,
.has-white-background-color h2,
.has-white-background-color h3,
.has-white-background-color h4,
.has-limestone-background-color h1,
.has-limestone-background-color h2,
.has-limestone-background-color h3,
.has-limestone-background-color h4 {
	color: var(--wp--preset--color--asphalt);
}

.has-white-background-color p,
.has-white-background-color li,
.has-limestone-background-color p,
.has-limestone-background-color li {
	color: var(--wp--preset--color--steel);
}

/* Preserve explicit WP color classes — don't override amber labels etc. */
.has-white-background-color .has-amber-color,
.has-limestone-background-color .has-amber-color {
	color: var(--wp--preset--color--amber) !important;
}

.has-white-background-color .has-asphalt-color,
.has-limestone-background-color .has-asphalt-color {
	color: var(--wp--preset--color--asphalt) !important;
}

.has-white-background-color .has-steel-color,
.has-limestone-background-color .has-steel-color {
	color: var(--wp--preset--color--steel) !important;
}

/* Service cards on light backgrounds: use a subtle elevated card style */
.has-white-background-color .wp-block-recrete-service-card,
.has-limestone-background-color .wp-block-recrete-service-card {
	background: #fff;
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.has-white-background-color .wp-block-recrete-service-card:hover,
.has-limestone-background-color .wp-block-recrete-service-card:hover {
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
	border-color: rgba(212, 137, 63, 0.3);
}

/* Portfolio gallery filter buttons on light backgrounds */
.has-white-background-color .recrete-gallery__filter-btn,
.has-limestone-background-color .recrete-gallery__filter-btn {
	border-color: rgba(0, 0, 0, 0.12);
	color: var(--wp--preset--color--steel);
}

.has-white-background-color .recrete-gallery__tag-pill,
.has-limestone-background-color .recrete-gallery__tag-pill {
	border-color: rgba(0, 0, 0, 0.12);
	color: var(--wp--preset--color--steel);
}

/* Load more button on light backgrounds */
.has-white-background-color .recrete-gallery__load-more,
.has-limestone-background-color .recrete-gallery__load-more {
	border-color: rgba(0, 0, 0, 0.15);
	color: var(--wp--preset--color--steel);
}

/* Google reviews widget on light backgrounds.
   Plugin adds .wp-dark which forces near-white text — override aggressively. */
.has-white-background-color .wp-gr.wp-dark,
.has-white-background-color .wp-gr.wp-dark *:not(img):not(svg),
.has-limestone-background-color .wp-gr.wp-dark,
.has-limestone-background-color .wp-gr.wp-dark *:not(img):not(svg) {
	color: var(--wp--preset--color--steel) !important;
}

.has-white-background-color .wp-gr.wp-dark .wp-google-name,
.has-white-background-color .wp-gr.wp-dark .grw-place-name,
.has-white-background-color .wp-gr.wp-dark .grw-place-name a,
.has-limestone-background-color .wp-gr.wp-dark .wp-google-name,
.has-limestone-background-color .wp-gr.wp-dark .grw-place-name,
.has-limestone-background-color .wp-gr.wp-dark .grw-place-name a {
	color: var(--wp--preset--color--asphalt) !important;
	font-weight: 600 !important;
}

.has-white-background-color .wp-gr.wp-dark .grw-row,
.has-limestone-background-color .wp-gr.wp-dark .grw-row {
	background: #fff !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

.has-white-background-color .wp-gr.wp-dark .grw-review-inner,
.has-white-background-color .wp-gr.wp-dark .grw-backgnd,
.has-limestone-background-color .wp-gr.wp-dark .grw-review-inner,
.has-limestone-background-color .wp-gr.wp-dark .grw-backgnd {
	background: #fff !important;
	border-color: rgba(0, 0, 0, 0.06) !important;
}

.has-white-background-color .wp-gr.wp-dark .rpi-ltgt,
.has-limestone-background-color .wp-gr.wp-dark .rpi-ltgt {
	background: #f0f0f0 !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
	color: var(--wp--preset--color--steel) !important;
}

.has-white-background-color .wp-gr.wp-dark .grw-review-btn,
.has-limestone-background-color .wp-gr.wp-dark .grw-review-btn {
	color: var(--wp--preset--color--amber) !important;
}

/* Outline buttons on light backgrounds */
.has-white-background-color .is-style-outline .wp-block-button__link,
.has-limestone-background-color .is-style-outline .wp-block-button__link {
	color: var(--wp--preset--color--asphalt);
	border-color: rgba(0, 0, 0, 0.15);
}

/* Remove default block margins between full-width sections to prevent
   body background bleeding through as gray spacers */
.wp-block-group.alignfull.has-white-background-color,
.wp-block-group.alignfull.has-limestone-background-color {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Reviews widget: ensure full width and centering inside constrained layouts */
.has-white-background-color .wp-gr,
.has-limestone-background-color .wp-gr {
	max-width: 100% !important;
	width: 100% !important;
}

/* Reviews widget centering: center the widget inside constrained layouts */

/* ===== GLOBAL RESET OVERRIDES ===== */
body {
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	transition: color 0.2s;
}

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

/* Spacer blocks: neutralise blockGap margin so only the
   inline height set in the editor is rendered. */
.wp-block-spacer {
	margin-block-start: 0 !important;
}

/* Remove double spacing between main content and footer (homepage only) */
.home .wp-site-blocks > .wp-block-template-part:last-child {
	margin-block-start: 0;
}

/* ===== BUTTONS ===== */
.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0.65rem 1.5rem;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: all 0.25s;
	text-decoration: none;
}

.btn-primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--recrete-orange);
	color: var(--recrete-dark);
}

.btn-primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: var(--recrete-orange-hover);
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(212, 137, 63, 0.3);
	color: var(--recrete-dark);
}

.btn-outline,
.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--recrete-text-primary);
	border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--recrete-orange);
	color: var(--recrete-orange);
	background: transparent;
}

.btn-lg {
	padding: 0.9rem 2rem;
	font-size: 1rem;
	border-radius: 10px;
}

/* ===== SECTION LABELS ===== */
.recrete-section-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--recrete-orange);
	margin-bottom: 0.75rem;
}

/* ===== SECTION TITLE & DESC ===== */
.recrete-section-title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	color: var(--recrete-text-primary);
	line-height: 1.15;
	letter-spacing: -0.5px;
}

.recrete-section-desc {
	font-size: 1.05rem;
	color: var(--recrete-text-secondary);
	max-width: 560px;
	margin-top: 1rem;
	line-height: 1.7;
}

/* ===== HEADER ===== */
.recrete-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1100;
	background: rgba(17, 17, 17, 0.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: var(--recrete-border-subtle);
	transition: background 0.3s;
}

.recrete-header.is-scrolled {
	background: rgba(17, 17, 17, 0.97);
}

.admin-bar .recrete-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .recrete-header {
		top: 46px;
	}
}

.recrete-header-inner {
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto;
	padding: 0 var(--wp--style--root--padding-right);
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.recrete-header .wp-block-site-logo {
	flex-shrink: 0;
}

.recrete-header .wp-block-site-logo img {
	max-height: 48px;
	width: auto;
	display: block;
}

.recrete-header-nav {
	display: flex;
	align-items: center;
	flex: 1;
	justify-content: flex-end;
	padding-right: 1rem;
	padding-left: 1rem;
}

/* Override the shared .recrete-nav-location gap for the header —
   needs chained class to beat the generic .recrete-nav-location rule later in the file */
.recrete-header-nav.recrete-nav-location .wp-block-navigation__container {
	gap: 1.5rem;
	justify-content: flex-end;
}

.recrete-header-nav > .wp-block-navigation__container > .wp-block-navigation-item > a {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--recrete-text-secondary);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: color 0.2s;
}

.recrete-header-nav > .wp-block-navigation__container > .wp-block-navigation-item > a:hover,
.recrete-header-nav > .wp-block-navigation__container > .wp-block-navigation-item.has-child:hover > a {
	color: var(--wp--preset--color--amber);
}

/* Chevron indicator for items with sub-menus */
.recrete-header-nav .has-child > a::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid currentColor;
	margin-left: 5px;
	vertical-align: middle;
	opacity: 0.5;
}

/* Sub-menu dropdown — specificity must beat WP core's
   .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container */
.recrete-header-nav .has-child {
	position: relative;
}

.recrete-header-nav.wp-block-navigation .wp-block-navigation__submenu-container {
	background: var(--recrete-dark-surface);
	border: var(--recrete-border-subtle);
	border-radius: 0;
	padding: 0.35rem 0;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
	list-style: none;
	margin: 0;
	color: var(--recrete-text-secondary);
	min-width: 210px;
}

.recrete-header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item {
	position: relative;
}

.recrete-header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	padding: 0.5rem 1.2rem;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--recrete-text-secondary);
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-left: 2px solid transparent;
	transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.recrete-header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: var(--recrete-text-primary);
	background: var(--recrete-amber-bg);
	border-left-color: var(--recrete-orange);
}

/* Chevron for submenu parents inside dropdowns */
.recrete-header-nav .wp-block-navigation__submenu-container .has-child > a {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.recrete-header-nav .wp-block-navigation__submenu-container .has-child > a::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-top: 3.5px solid transparent;
	border-bottom: 3.5px solid transparent;
	border-left: 4px solid currentColor;
	border-right: 0;
	margin-left: 12px;
	opacity: 0.4;
}

/* Tertiary (3rd-level) sub-menus — fly out to the right */
.recrete-header-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	top: -0.35rem;
	left: 100%;
	margin-left: 2px;
	background: var(--recrete-dark-card);
}

.recrete-header-right {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.recrete-header-right .wp-block-shortcode {
	display: flex;
	align-items: center;
}

.recrete-header-phone {
	margin: 0;
}

.recrete-footer-phone {
	display: block;
	color: var(--wp--preset--color--amber);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	margin-bottom: 0.25rem;
	text-align: right;
	transition: color 0.2s;
}

.recrete-footer-phone:hover {
	color: #ffffff;
}

.recrete-footer-address {
	font-size: 0.85rem;
	color: var(--wp--preset--color--dust);
	display: block;
	margin-top: 0.35rem;
	text-align: right;
}

.recrete-header-phone a {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--wp--preset--color--dust);
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.2s;
}

.recrete-header-phone a:hover {
	color: var(--wp--preset--color--amber);
}

.recrete-header-phone a::before {
	content: "";
	display: inline-block;
	width: 13px;
	height: 13px;
	flex-shrink: 0;
	background-color: var(--wp--preset--color--amber);
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12 19.79 19.79 0 0 1 1.61 3.44 2 2 0 0 1 3.59 1h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.91 8.56a16 16 0 0 0 5.53 5.53l.96-.86a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12 19.79 19.79 0 0 1 1.61 3.44 2 2 0 0 1 3.59 1h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.91 8.56a16 16 0 0 0 5.53 5.53l.96-.86a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
}

/* ===== HERO (standalone) ===== */
.recrete-hero {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--recrete-dark);
}

.recrete-hero__bg {
	position: absolute;
	inset: 0;
}

.recrete-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}

.recrete-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.82) 0%,
		rgba(0, 0, 0, 0.45) 50%,
		rgba(0, 0, 0, 0.6) 100%
	);
}

.recrete-hero__content {
	position: relative;
	z-index: 2;
	max-width: var(--recrete-max-width);
	margin: 0 auto;
	padding: 8rem 2rem 6rem;
	width: 100%;
}

.recrete-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0.4rem 1rem;
	background: rgba(212, 137, 63, 0.15);
	border: 1px solid rgba(212, 137, 63, 0.3);
	border-radius: 100px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--recrete-orange);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
}

.recrete-hero__badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--recrete-orange);
}

.recrete-hero h1 {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2.8rem, 6vw, 4.5rem);
	font-weight: 800;
	color: #fff;
	line-height: 1.08;
	letter-spacing: -1.5px;
	max-width: 700px;
	margin-bottom: 1.25rem;
	text-transform: none;
}

.recrete-hero__sub {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.7);
	max-width: 520px;
	margin-bottom: 2.5rem;
	line-height: 1.7;
}

.recrete-hero__actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* ===== HERO STATS BAR ===== */
.recrete-hero__stats {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	background: rgba(17, 17, 17, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-top: var(--recrete-border-subtle);
}

.recrete-hero__stats-inner {
	max-width: var(--recrete-max-width);
	margin: 0 auto;
	padding: 1.5rem 2rem;
	display: flex;
	justify-content: flex-start;
	gap: 4rem;
}

.recrete-hero__stat-number {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2rem;
	font-weight: 700;
	color: var(--recrete-orange);
}

.recrete-hero__stat-label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--recrete-text-secondary);
	margin-top: 2px;
}

/* ===== PARALLAX TEXTURE DIVIDERS ===== */
.recrete-parallax-divider {
	position: relative;
	height: 240px;
	overflow: hidden;
}

.recrete-parallax-divider img {
	position: absolute;
	top: -60px;
	left: 0;
	width: 100%;
	height: calc(100% + 120px);
	object-fit: cover;
	will-change: transform;
}

.recrete-parallax-divider::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(17, 17, 17, 0.7) 0%,
		rgba(17, 17, 17, 0.3) 50%,
		rgba(17, 17, 17, 0.7) 100%
	);
	pointer-events: none;
}

.recrete-parallax-divider__quote {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2rem;
}

.recrete-parallax-divider__quote span {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.5px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* ===== SERVICES SECTION HEADER ===== */
.recrete-services-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 3rem;
	flex-wrap: wrap;
	gap: 2rem;
}

/* ===== FEATURED WORK / GALLERY GRID ===== */
.recrete-work-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto auto;
	gap: 0.75rem;
	margin-top: 3rem;
}

.recrete-work-item {
	border-radius: var(--recrete-radius);
	overflow: hidden;
	position: relative;
	aspect-ratio: 4/3;
	cursor: pointer;
}

.recrete-work-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.recrete-work-item:hover img {
	transform: scale(1.08);
}

.recrete-work-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
	opacity: 0;
	transition: opacity 0.3s;
}

.recrete-work-item:hover::after {
	opacity: 1;
}

.recrete-work-item.tall {
	grid-row: span 2;
	aspect-ratio: auto;
}

.recrete-work-cta {
	text-align: center;
	margin-top: 2.5rem;
}

/* ===== REVIEWS ===== */
.recrete-google-rating {
	display: flex;
	align-items: center;
	gap: 12px;
}

.recrete-google-rating .stars {
	color: #fbbc04;
	font-size: 1.2rem;
	letter-spacing: 2px;
}

.recrete-google-rating .rating-text {
	font-size: 0.9rem;
	color: var(--recrete-text-secondary);
}

.recrete-google-rating .rating-text strong {
	color: var(--recrete-text-primary);
}

.recrete-reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.recrete-review-card {
	background: var(--recrete-dark-card);
	border: var(--recrete-border-subtle);
	border-radius: var(--recrete-radius);
	padding: 2rem;
}

.recrete-review-stars {
	color: #fbbc04;
	font-size: 0.9rem;
	letter-spacing: 2px;
	margin-bottom: 1rem;
}

.recrete-review-text {
	font-size: 0.92rem;
	color: var(--recrete-text-secondary);
	line-height: 1.7;
	margin-bottom: 1.25rem;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.recrete-review-author {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 1rem;
	border-top: var(--recrete-border-subtle);
}

.recrete-review-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--recrete-dark-surface);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--recrete-orange);
}

.recrete-review-name {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--recrete-text-primary);
}

.recrete-review-date {
	font-size: 0.75rem;
	color: var(--recrete-text-muted);
}

/* ===== CTA SECTION ===== */
.recrete-cta-section {
	background: linear-gradient(135deg, var(--recrete-dark) 0%, #1a1511 100%);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.recrete-cta-section::before {
	content: "";
	position: absolute;
	top: -200px;
	right: -200px;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(212, 137, 63, 0.08), transparent 70%);
}

/* ===== SERVICE AREAS ===== */
.recrete-areas {
	position: relative;
	overflow: hidden;
}

.recrete-areas-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: radial-gradient(
		ellipse at center,
		rgba(17, 17, 17, 0.55) 0%,
		rgba(17, 17, 17, 0.7) 60%,
		rgba(17, 17, 17, 0.88) 100%
	);
	pointer-events: none;
}

.recrete-areas-content {
	position: relative;
	z-index: 2;
	text-align: center;
}

/* ===== HEADER OFFSET ===== */
/* Inner pages: the template inline margin-top (spacing-60) can be smaller
   than the fixed header.  Override to guarantee content clears the nav. */
body:not(.home) main.wp-block-group {
	margin-top: 80px !important;
}
@media (max-width: 900px) {
	body:not(.home) main.wp-block-group {
		margin-top: 72px !important;
	}
}

/* ===== HOMEPAGE SECTION SPACING ===== */
/* Hero sits behind fixed header — no top margin on home */
.home main.wp-block-group {
	margin-top: 0 !important;
}

/* Account for the 72px fixed header — adds space above whatever
   block comes first so content never hides behind the nav bar. */
.home .wp-block-post-content > *:first-child {
	margin-top: 72px;
}

/* Section labels: amber paragraphs at the start of each section */
.home .has-amber-color.has-text-color {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-bottom: 0;
}

/* Tighten gap between section label and heading */
.home .has-amber-color.has-text-color + .wp-block-heading {
	margin-block-start: 0.5rem;
}

/* Tighten gap between heading and description */
.home .wp-block-heading + p:not(.has-amber-color):not(.has-text-align-center) {
	margin-block-start: 0.75rem;
}

/* Homepage sections: breathing room between content groups */
.home .wp-block-post-content > .wp-block-group:not(:first-child) {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}

/* When two groups sit back-to-back (e.g. section heading + grid),
   collapse the inner padding so they read as one section. */
.home .wp-block-post-content > .wp-block-group:has(+ .wp-block-group) {
	padding-bottom: 0;
}
.home .wp-block-post-content > .wp-block-group + .wp-block-group {
	padding-top: 0;
}

/* CTA section: center text and add padding */
.home .wp-block-post-content > .wp-block-group:has(.is-content-justification-center) {
	text-align: center;
}

.home .wp-block-post-content > .wp-block-group:has(.is-content-justification-center) > p {
	margin-left: auto;
	margin-right: auto;
	max-width: 500px;
}



/* ===== FAQ ACCORDION ===== */
/* Plugin hardcodes the +/- icon color to #000 — invisible on dark bg. */
#rank-math-faq .rank-math-question::after {
	color: var(--recrete-orange, var(--wp--preset--color--amber));
}

/* ===== GOOGLE REVIEWS ===== */
/* Extra breathing room for the section containing the reviews widget.
   Plugin wraps output in .wp-gr > .grw-row (no WP block wrapper). */
.home .wp-block-post-content > .wp-block-group:has(.wp-gr) {
	padding-top: var(--wp--preset--spacing--70) !important;
	padding-bottom: var(--wp--preset--spacing--70) !important;
}

/* Space between heading and the reviews widget wrapper.
   Plugin sets margin:0 auto!important inline + possible style_vars, so use padding+!important. */
.wp-gr {
	padding-top: 2.5rem !important;
}

/* Override the plugin's inline padding-bottom: 24px on .grw-row */
.grw-row {
	padding: 1.5rem !important;
	background: var(--recrete-dark-card) !important;
	border: var(--recrete-border-subtle) !important;
	border-radius: var(--recrete-radius) !important;
}

/* Internal padding inside each review card */
.grw-review-inner,
.grw-backgnd {
	background: var(--recrete-dark-card) !important;
	border: var(--recrete-border-subtle) !important;
	border-radius: var(--recrete-radius) !important;
}

.grw-review-inner {
	padding: 1.5rem !important;
}

.wp-google-name,
.wp-google-text {
	color: var(--recrete-text-secondary) !important;
}

.wp-google-name {
	color: var(--recrete-text-primary) !important;
	font-weight: 600 !important;
}

.wp-google-time {
	color: var(--recrete-text-muted) !important;
}

.rpi-ltgt {
	background: var(--recrete-dark-surface) !important;
	border: var(--recrete-border-subtle) !important;
}

.rpi-dots .rpi-active {
	background: var(--recrete-orange) !important;
}

/* ===== FOOTER ===== */
.recrete-footer {
	background: var(--wp--preset--color--deep-black);
	border-top: var(--recrete-border-subtle);
}

.recrete-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 3rem;
}

.recrete-footer .logo-img {
	height: 40px;
	margin-bottom: 1.5rem;
}

.recrete-footer .wp-block-site-tagline {
	margin-top: 0.75rem;
	font-size: 0.85rem;
	color: var(--wp--preset--color--dust);
	opacity: 0.75;
}

.recrete-footer h4 {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--recrete-text-primary);
	margin-bottom: 1.25rem;
}

.recrete-nav-location .wp-block-navigation__container {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.5rem;
}

/* Footer columns stack vertically, right-aligned */
.recrete-nav-footer .wp-block-navigation__container {
	flex-direction: column;
	align-items: flex-end;
}

.recrete-nav-location .wp-block-navigation-item__content {
	text-decoration: none;
	transition: color 0.2s;
}

.recrete-nav-footer .wp-block-navigation-item__content {
	color: var(--wp--preset--color--dust);
	font-size: 0.88rem;
	text-align: right;
}

.recrete-nav-footer .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--amber);
}

.recrete-footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 2rem;
	border-top: var(--recrete-border-subtle);
	font-size: 0.8rem;
	color: var(--recrete-text-muted);
}

/* ===== HAMBURGER MENU ===== */
.recrete-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 28px;
	height: 28px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	z-index: 1100;
}

.recrete-hamburger span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--recrete-text-primary);
	border-radius: 2px;
	transition: all 0.3s ease;
	transform-origin: center;
}

.recrete-hamburger.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.recrete-hamburger.is-active span:nth-child(2) {
	opacity: 0;
}

.recrete-hamburger.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE MENU OVERLAY ===== */
.recrete-mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(17, 17, 17, 0.98);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	z-index: 1050;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.recrete-mobile-menu.is-open {
	opacity: 1;
	pointer-events: auto;
}

.recrete-mobile-menu > a {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2rem;
	font-weight: 700;
	color: var(--recrete-text-primary);
	padding: 0.6rem 0;
	text-decoration: none;
	transform: translateY(20px);
	opacity: 0;
	transition: all 0.3s ease;
}

.recrete-mobile-menu.is-open > a {
	transform: translateY(0);
	opacity: 1;
}

.recrete-mobile-menu.is-open > a:nth-child(1) { transition-delay: 0.05s; }
.recrete-mobile-menu.is-open > a:nth-child(2) { transition-delay: 0.1s; }
.recrete-mobile-menu.is-open > a:nth-child(3) { transition-delay: 0.15s; }
.recrete-mobile-menu.is-open > a:nth-child(4) { transition-delay: 0.2s; }
.recrete-mobile-menu.is-open > a:nth-child(5) { transition-delay: 0.25s; }
.recrete-mobile-menu.is-open > a:nth-child(6) { transition-delay: 0.3s; }
.recrete-mobile-menu.is-open > a:nth-child(7) { transition-delay: 0.35s; }

.recrete-mobile-menu > a:hover {
	color: var(--recrete-orange);
}

.recrete-mobile-menu__cta {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	transform: translateY(20px);
	opacity: 0;
	transition: all 0.3s ease 0.4s;
}

.recrete-mobile-menu.is-open .recrete-mobile-menu__cta {
	transform: translateY(0);
	opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
	.recrete-hamburger {
		display: flex;
	}

	.recrete-header-inner {
		height: 64px;
	}

	.recrete-header-nav {
		display: none;
	}

	.recrete-header-phone {
		display: none;
	}

	.recrete-header-right .wp-block-shortcode {
		display: none;
	}

	.recrete-header-right .wp-block-buttons {
		display: none;
	}

	.recrete-hero__stats-inner {
		gap: 2rem;
		flex-wrap: wrap;
	}

	.recrete-reviews-grid {
		grid-template-columns: 1fr;
	}

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

	.recrete-work-item.tall {
		grid-row: span 1;
		aspect-ratio: 4/3;
	}

	.recrete-footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.recrete-parallax-divider {
		height: 180px;
	}
}

@media (min-width: 901px) and (max-width: 1100px) {
	.recrete-reviews-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
