/*
Theme Name: CleanerTurf
Theme URI: https://cleanerturf.com
Author: CleanerTurf
Description: A modern, animated block theme for turf cleaning and artificial grass services. Fully editable in the WordPress Site Editor — every section is a block pattern you can rearrange, restyle and rewrite without code.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cleanerturf
Tags: full-site-editing, block-patterns, one-column, custom-colors, wide-blocks, accessibility-ready
*/

/* =========================================================================
   Tokens
   ====================================================================== */
:root {
	--ct-forest: var(--wp--preset--color--forest, #003113);
	--ct-primary: var(--wp--preset--color--primary, #047631);
	--ct-teal: var(--wp--preset--color--teal, #006d5b);
	--ct-deep: var(--wp--preset--color--deep-teal, #00473b);
	--ct-amber: var(--wp--preset--color--amber, #ffb000);
	--ct-mist: var(--wp--preset--color--mist, #edf5f4);
	--ct-leaf: var(--wp--preset--color--leaf, #eef8ee);
	--ct-night: var(--wp--preset--color--night, #111f14);
	--ct-line: rgba(0, 49, 19, 0.1);
	--ct-radius: 20px;
	--ct-shadow: 0 18px 40px -22px rgba(0, 49, 19, 0.35);
	--ct-shadow-lg: 0 30px 60px -28px rgba(0, 49, 19, 0.45);
	--ct-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 110px;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

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

h1,
h2,
h3 {
	text-wrap: balance;
}

/* =========================================================================
   Layout helpers
   ====================================================================== */
.ct-section {
	padding: clamp(56px, 7vw, 104px) 24px;
	margin-block: 0;
}

.ct-section--tint {
	background: linear-gradient(180deg, var(--ct-leaf), #fff);
}

.ct-section--mist {
	background: var(--ct-mist);
}

.ct-center {
	text-align: center;
}

.ct-lead {
	font-size: 1.125rem;
	max-width: 660px;
}

.ct-center.ct-lead {
	margin-inline: auto;
}

.ct-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 0.75rem;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ct-teal);
}

.ct-eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--ct-amber);
	border-radius: 2px;
}

.ct-eyebrow.ct-center {
	justify-content: center;
}

.ct-eyebrow.ct-center::after {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--ct-amber);
	border-radius: 2px;
}

.hl {
	background-image: linear-gradient(transparent 64%, rgba(255, 176, 0, 0.5) 64%);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	padding: 0 0.12em;
	margin: 0 -0.12em;
	border-radius: 4px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.ct-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 7px 16px;
	background: #fff;
	border: 1px solid var(--ct-line);
	border-radius: 999px;
	box-shadow: 0 6px 18px -10px rgba(0, 49, 19, 0.3);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ct-forest);
}

/* =========================================================================
   Buttons
   ====================================================================== */
.wp-block-button__link {
	transition: transform 0.25s var(--ct-ease), box-shadow 0.25s var(--ct-ease), background-color 0.2s, color 0.2s;
	box-shadow: 0 10px 22px -12px rgba(4, 118, 49, 0.75);
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 28px -14px rgba(0, 49, 19, 0.7);
}

.wp-block-button__link:active {
	transform: translateY(0);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: #fff;
	color: var(--ct-forest);
	border: 2px solid var(--ct-line);
	box-shadow: none;
	padding: calc(0.9rem - 2px) calc(1.6rem - 2px);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--ct-forest);
	border-color: var(--ct-forest);
	color: #fff;
}

.ct-btn-amber .wp-block-button__link {
	background: var(--ct-amber);
	color: var(--ct-forest);
	box-shadow: 0 12px 24px -14px rgba(255, 176, 0, 0.9);
}

.ct-btn-amber .wp-block-button__link:hover {
	background: #fff;
	color: var(--ct-forest);
}

.ct-btn-arrow .wp-block-button__link::after {
	content: "\2192";
	display: inline-block;
	margin-left: 0.55em;
	transition: transform 0.25s var(--ct-ease);
}

.ct-btn-arrow .wp-block-button__link:hover::after {
	transform: translateX(5px);
}

.ct-btn-ghost-light .wp-block-button__link {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.4);
	box-shadow: none;
	padding: calc(0.9rem - 2px) calc(1.6rem - 2px);
}

.ct-btn-ghost-light .wp-block-button__link:hover {
	background: #fff;
	color: var(--ct-forest);
	border-color: #fff;
}

/* =========================================================================
   Top bar + header
   ====================================================================== */
.ct-topbar {
	background: var(--ct-forest);
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.78rem;
	font-weight: 500;
	padding: 8px 24px;
}

.ct-topbar p {
	margin: 0;
}

.ct-topbar a {
	color: var(--ct-amber);
	text-decoration: none;
	font-weight: 600;
}

.ct-topbar .ct-topbar__inner {
	max-width: 1280px;
	margin: 0 auto;
	justify-content: space-between;
	gap: 8px 24px;
}

.ct-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
}

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

@media (max-width: 782px) {
	.admin-bar .ct-site-header {
		top: 46px;
	}
}

.ct-header {
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	padding: 14px 24px;
	transition: padding 0.3s var(--ct-ease), box-shadow 0.3s, border-color 0.3s;
}

.ct-header.is-scrolled {
	padding-block: 8px;
	border-bottom-color: var(--ct-line);
	box-shadow: 0 10px 30px -20px rgba(0, 49, 19, 0.5);
}

.ct-header__inner {
	max-width: 1280px;
	margin: 0 auto;
	gap: 24px;
}

.ct-brand {
	gap: 10px;
}

.ct-brand .wp-block-site-title {
	margin: 0;
	font-size: 1.45rem;
	letter-spacing: -0.02em;
	line-height: 1;
}

.ct-brand .wp-block-site-title a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--ct-forest);
	text-decoration: none;
}

.ct-brand .wp-block-site-title a::before {
	content: "";
	width: 30px;
	height: 30px;
	flex: none;
	background: linear-gradient(160deg, #3ac15f, var(--ct-primary));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 30C15 22 14 14 11 4c4 4 5 11 5 26zM16 30c0-9 2-17 8-24-1 8-3 16-8 24zM16 30C13 24 8 20 2 17c6 0 11 3 14 13zM16 30c2-5 6-9 14-11-4 4-8 7-14 11z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 30C15 22 14 14 11 4c4 4 5 11 5 26zM16 30c0-9 2-17 8-24-1 8-3 16-8 24zM16 30C13 24 8 20 2 17c6 0 11 3 14 13zM16 30c2-5 6-9 14-11-4 4-8 7-14 11z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ct-brand:has(.wp-block-site-logo img) .wp-block-site-title {
	display: none;
}

.ct-header .wp-block-navigation {
	font-family: var(--wp--preset--font-family--outfit);
	font-weight: 600;
	font-size: 0.97rem;
}

.ct-header .wp-block-navigation a {
	color: var(--ct-forest);
	text-decoration: none;
	position: relative;
}

.ct-header .wp-block-navigation .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 2px;
	background: var(--ct-amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ct-ease);
}

.ct-header .wp-block-navigation .wp-block-navigation-item__content:hover::after {
	transform: scaleX(1);
}

.ct-header__actions {
	gap: 12px;
}

.ct-phone-link {
	margin: 0;
	font-family: var(--wp--preset--font-family--outfit);
	font-weight: 700;
	font-size: 0.95rem;
}

.ct-phone-link a {
	color: var(--ct-forest);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid var(--ct-line);
	border-radius: 10px;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.ct-phone-link a:hover {
	border-color: var(--ct-primary);
	box-shadow: 0 8px 18px -12px rgba(4, 118, 49, 0.6);
}

.ct-header .wp-block-button__link {
	padding: 0.7rem 1.2rem;
	font-size: 0.9rem;
}

@media (max-width: 960px) {
	.ct-hide-mobile {
		display: none !important;
	}
}

/* =========================================================================
   Hero
   ====================================================================== */
.ct-hero {
	position: relative;
	overflow: hidden;
	padding-top: clamp(40px, 6vw, 84px);
	padding-bottom: clamp(88px, 10vw, 140px);
	background:
		radial-gradient(900px 420px at 88% -5%, rgba(120, 205, 130, 0.38), transparent 62%),
		radial-gradient(700px 380px at -5% 105%, rgba(255, 176, 0, 0.14), transparent 60%),
		linear-gradient(180deg, #eef8ee 0%, #ffffff 100%);
}

.ct-hero .wp-block-columns {
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
	margin: 0;
}

.ct-hero__text > * {
	margin-block: 0;
}

.ct-hero__text h1 {
	margin-top: 1rem;
	font-size: clamp(2.3rem, 5vw, 3.6rem);
}

.ct-hero__sub {
	margin-top: 1.25rem !important;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--ct-primary);
}

.ct-hero__body {
	margin-top: 0.75rem !important;
	max-width: 540px;
}

.ct-hero__text .wp-block-buttons {
	margin-top: 1.75rem !important;
}

.ct-hero__fine {
	margin-top: 1.25rem !important;
	font-size: 0.85rem;
	color: #5c6b5f;
}

.ct-hero-media {
	position: relative;
}

.ct-hero-media .wp-block-image {
	margin: 0;
}

.ct-hero-media .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3.4;
	object-fit: cover;
	border-radius: 28px;
	border: 6px solid #fff;
	box-shadow: var(--ct-shadow-lg);
}

.ct-float-badge {
	position: absolute;
	z-index: 2;
	gap: 10px;
	padding: 12px 18px;
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--ct-shadow);
	font-size: 0.82rem;
	line-height: 1.3;
	font-weight: 600;
	color: var(--ct-forest);
}

.ct-float-badge p {
	margin: 0;
}

.ct-float-badge strong {
	display: block;
	font-size: 1rem;
	color: var(--ct-primary);
}

.ct-float-badge--tr {
	top: -18px;
	right: -14px;
}

.ct-float-badge--bl {
	left: -22px;
	bottom: 26px;
	background: var(--ct-forest);
	color: #fff;
}

.ct-float-badge--bl strong {
	color: var(--ct-amber);
}

@media (max-width: 782px) {
	.ct-float-badge--tr {
		right: 8px;
	}

	.ct-float-badge--bl {
		left: 8px;
	}
}

/* Grass-blade divider along the bottom of the hero */
.ct-grass-edge {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	height: 56px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 56' preserveAspectRatio='none'%3E%3Cpath fill='%23047631' d='M0 56V34l5-20 4 22 6-26 5 28 6-18 4 20 7-30 5 32 6-16 4 18 6-24 5 28 7-20 4 20 6-28 5 30 6-18 4 16 7-26 5 30 6-20 4 22 6-24 5 26 7-18 4 20 6-30 5 32 6-16 4 18 7-22 5 26 6-20 4 20 6-28 5 30 7-18 4 16 6-24 5 28 6-20 4 22 7-26 5 28v10z'/%3E%3C/svg%3E") repeat-x left bottom / 240px 56px;
	pointer-events: none;
}

/* =========================================================================
   Steps band (dark strip under hero)
   ====================================================================== */
.ct-band {
	background: var(--ct-primary);
	color: #fff;
	padding: 0 24px;
	position: relative;
	z-index: 1;
}

.ct-band__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding-block: 26px;
	justify-content: space-between;
	gap: 18px 32px;
}

.ct-band__item {
	gap: 14px;
	flex: 1 1 240px;
}

.ct-band__item p {
	margin: 0;
	font-size: 0.97rem;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.92);
}

.ct-band__item strong {
	color: #fff;
}

.ct-stepnum {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--ct-amber);
	color: var(--ct-forest) !important;
	font-weight: 800;
	font-family: var(--wp--preset--font-family--outfit);
}

/* =========================================================================
   Trust / marquee
   ====================================================================== */
.ct-trust {
	padding: 44px 0 52px;
	background: #fff;
	text-align: center;
}

.ct-trust__label {
	margin: 0 0 1.5rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #6b7a6e;
}

.ct-marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ct-marquee__track {
	gap: 18px;
	justify-content: center;
	flex-wrap: wrap;
}

.ct-chip {
	margin: 0;
	display: inline-block;
	padding: 10px 22px;
	background: var(--ct-leaf);
	border: 1px solid var(--ct-line);
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--outfit);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--ct-forest);
	white-space: nowrap;
}

/* =========================================================================
   Stats
   ====================================================================== */
.ct-stats {
	padding: 0 24px clamp(56px, 7vw, 96px);
	background: #fff;
}

.ct-stats .wp-block-columns {
	gap: 20px;
	margin: 0;
}

.ct-stat {
	text-align: center;
	padding: 28px 16px;
	background: var(--ct-leaf);
	border-radius: var(--ct-radius);
	border: 1px solid var(--ct-line);
}

.ct-stat p {
	margin: 0;
}

.ct-count {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(2.2rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.1;
	color: var(--ct-primary);
}

.ct-stat__label {
	margin-top: 0.35rem !important;
	font-size: 0.9rem;
	font-weight: 500;
	color: #55645a;
}

/* =========================================================================
   About
   ====================================================================== */
.ct-about .wp-block-columns {
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	margin: 0;
}

.ct-about h2 {
	margin-block: 0 1rem;
}

.ct-check-list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
	display: grid;
	gap: 14px;
}

.ct-check-list li {
	position: relative;
	padding: 16px 18px 16px 62px;
	background: #fff;
	border: 1px solid var(--ct-line);
	border-radius: 16px;
	box-shadow: 0 8px 20px -16px rgba(0, 49, 19, 0.4);
	transition: transform 0.3s var(--ct-ease), box-shadow 0.3s;
}

.ct-check-list li:hover {
	transform: translateX(4px);
	box-shadow: var(--ct-shadow);
}

.ct-check-list li::before {
	content: "\2713";
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ct-primary);
	color: #fff;
	font-weight: 800;
	font-size: 0.95rem;
}

.ct-check-list strong {
	display: block;
	color: var(--ct-forest);
}

.ct-about__media {
	position: relative;
}

.ct-about__media .wp-block-image {
	margin: 0;
}

.ct-about__media img {
	width: 100%;
	display: block;
	border-radius: 28px;
	box-shadow: var(--ct-shadow-lg);
	aspect-ratio: 5 / 4.4;
	object-fit: cover;
}

.ct-about__media::before {
	content: "";
	position: absolute;
	inset: 24px -18px -18px 24px;
	border-radius: 28px;
	background: linear-gradient(135deg, var(--ct-amber), #ffd36b);
	opacity: 0.55;
	z-index: -1;
}

/* =========================================================================
   Cards, plans, services, process
   ====================================================================== */
.ct-section-head {
	max-width: 760px;
	margin: 0 auto clamp(32px, 4vw, 56px);
	text-align: center;
}

.ct-section-head h2 {
	margin: 0;
}

.ct-section-head p {
	margin-inline: auto;
}

.ct-grid-cols {
	gap: 24px !important;
	margin-block-end: 0;
}

.ct-grid-cols + .ct-grid-cols {
	margin-top: 24px !important;
}

.ct-grid-cols + .wp-block-buttons,
.ct-areas-list + .wp-block-buttons,
.ct-compare-wrap .wp-block-buttons,
.ct-cta__list + .wp-block-buttons {
	margin-top: 2.5rem;
}

.ct-cta__list + .wp-block-buttons {
	margin-top: 1.75rem;
}

.ct-card {
	position: relative;
	height: 100%;
	padding: 32px 28px;
	background: #fff;
	border: 1px solid var(--ct-line);
	border-radius: var(--ct-radius);
	box-shadow: 0 1px 2px rgba(0, 49, 19, 0.04);
	transition: transform 0.35s var(--ct-ease), box-shadow 0.35s, border-color 0.35s;
}

.ct-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--ct-shadow-lg);
	border-color: rgba(4, 118, 49, 0.35);
}

.ct-card > * {
	margin-block: 0;
}

.ct-card > * + * {
	margin-top: 0.85rem;
}

.ct-card h3 {
	font-size: 1.25rem;
}

.ct-card p {
	font-size: 0.97rem;
}

.ct-icon {
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	margin: 0 0 1.1rem !important;
	border-radius: 16px;
	background: linear-gradient(145deg, var(--ct-leaf), #d6efd9);
	font-size: 1.7rem;
	line-height: 1;
	transition: transform 0.4s var(--ct-ease);
}

.ct-card:hover .ct-icon {
	transform: rotate(-6deg) scale(1.08);
}

/* Pricing plans */
.ct-plan {
	display: flex;
	flex-direction: column;
	padding: 36px 30px;
}

.ct-plan__level {
	margin: 0;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ct-teal);
}

.ct-plan__price {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.1;
	color: var(--ct-primary);
}

.ct-plan__tag {
	display: inline-block;
	align-self: flex-start;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--ct-leaf);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--ct-primary);
}

.ct-plan ul {
	list-style: none;
	margin: 1.25rem 0 1.75rem;
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--ct-line);
	display: grid;
	gap: 10px;
	flex: 1;
}

.ct-plan li {
	position: relative;
	padding-left: 28px;
	font-size: 0.93rem;
}

.ct-plan li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 1px;
	width: 19px;
	height: 19px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ct-leaf);
	color: var(--ct-primary);
	font-size: 0.7rem;
	font-weight: 800;
}

.ct-plan .wp-block-buttons {
	margin-top: auto;
}

.ct-plan .wp-block-button,
.ct-plan .wp-block-button__link {
	width: 100%;
	text-align: center;
}

.ct-plan--featured {
	background: linear-gradient(160deg, var(--ct-forest), var(--ct-deep));
	border-color: transparent;
	color: rgba(255, 255, 255, 0.86);
	box-shadow: var(--ct-shadow-lg);
	transform: translateY(-10px);
}

.ct-plan--featured:hover {
	transform: translateY(-16px);
}

.ct-plan--featured h3,
.ct-plan--featured .ct-plan__price {
	color: #fff;
}

.ct-plan--featured .ct-plan__level {
	color: var(--ct-amber);
}

.ct-plan--featured .ct-plan__tag {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.ct-plan--featured ul {
	border-top-color: rgba(255, 255, 255, 0.18);
}

.ct-plan--featured li::before {
	background: var(--ct-amber);
	color: var(--ct-forest);
}

.ct-plan--featured .wp-block-button__link {
	background: var(--ct-amber);
	color: var(--ct-forest);
}

.ct-plan--featured .wp-block-button__link:hover {
	background: #fff;
}

.ct-ribbon {
	position: absolute !important;
	top: -13px;
	right: 24px;
	margin: 0 !important;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--ct-amber);
	color: var(--ct-forest);
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

@media (max-width: 782px) {
	.ct-plan--featured,
	.ct-plan--featured:hover {
		transform: none;
	}
}

/* Process steps */
.ct-step {
	text-align: left;
}

.ct-step__num {
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	margin: 0 0 1.1rem !important;
	border-radius: 14px;
	background: var(--ct-primary);
	color: #fff;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.15rem;
	font-weight: 800;
	box-shadow: 0 10px 20px -10px rgba(4, 118, 49, 0.8);
}

/* =========================================================================
   Before / after compare
   ====================================================================== */
.ct-compare-wrap {
	max-width: 960px;
	margin: 0 auto;
}

.ct-compare {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	box-shadow: var(--ct-shadow-lg);
	border: 6px solid #fff;
	background: var(--ct-mist);
	margin: 0;
	line-height: 0;
}

.ct-compare .wp-block-image {
	margin: 0;
}

.ct-compare .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.ct-compare.is-ready {
	--pos: 50%;
	cursor: ew-resize;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.ct-compare.is-ready .wp-block-image:nth-child(2) {
	position: absolute;
	inset: 0;
	clip-path: inset(0 0 0 var(--pos));
}

.ct-compare.is-ready .wp-block-image:nth-child(2) img {
	height: 100%;
}

.ct-compare__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--pos);
	width: 3px;
	margin-left: -1.5px;
	background: #fff;
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
	pointer-events: none;
	z-index: 3;
}

.ct-compare__handle span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 54px;
	height: 54px;
	margin: -27px 0 0 -27px;
	border-radius: 50%;
	background: var(--ct-primary);
	border: 4px solid #fff;
	box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.55);
}

.ct-compare__handle span::before,
.ct-compare__handle span::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 0;
	height: 0;
	margin-top: -6px;
	border: 6px solid transparent;
}

.ct-compare__handle span::before {
	left: 7px;
	border-right-color: #fff;
}

.ct-compare__handle span::after {
	right: 7px;
	border-left-color: #fff;
}

.ct-compare__range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	z-index: 4;
}

.ct-compare__tag {
	position: absolute;
	top: 16px;
	z-index: 3;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(0, 49, 19, 0.82);
	color: #fff;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.2;
	pointer-events: none;
}

.ct-compare__tag--before {
	left: 16px;
}

.ct-compare__tag--after {
	right: 16px;
	background: var(--ct-primary);
}

.ct-compare-hint {
	margin: 1rem 0 0;
	text-align: center;
	font-size: 0.85rem;
	color: #6b7a6e;
}

/* =========================================================================
   Areas
   ====================================================================== */
.ct-areas-list {
	gap: 12px;
	justify-content: center;
}

.ct-areas-list .ct-chip {
	transition: transform 0.25s var(--ct-ease), background 0.2s, color 0.2s;
}

.ct-areas-list .ct-chip:hover {
	transform: translateY(-3px);
	background: var(--ct-primary);
	color: #fff;
}

/* =========================================================================
   Reviews
   ====================================================================== */
.ct-stars {
	margin: 0 !important;
	color: var(--ct-amber);
	font-size: 1.05rem;
	letter-spacing: 0.12em;
}

.ct-review {
	display: flex;
	flex-direction: column;
}

.ct-review p {
	font-size: 0.98rem;
}

.ct-review__who {
	margin-top: auto !important;
	padding-top: 1.25rem;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--ct-forest);
}

.ct-review__who span {
	display: block;
	font-weight: 500;
	color: #6b7a6e;
	font-size: 0.82rem;
}

/* =========================================================================
   FAQ
   ====================================================================== */
.ct-faq {
	max-width: 860px;
	margin-inline: auto;
	display: grid;
	gap: 14px;
}

.ct-faq .wp-block-details {
	margin: 0;
	background: #fff;
	border: 1px solid var(--ct-line);
	border-radius: 16px;
	padding: 0;
	transition: box-shadow 0.3s, border-color 0.3s;
}

.ct-faq .wp-block-details[open] {
	border-color: rgba(4, 118, 49, 0.4);
	box-shadow: var(--ct-shadow);
}

.ct-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 64px 20px 24px;
	position: relative;
	font-weight: 600;
	color: var(--ct-forest);
}

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

.ct-faq summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ct-leaf);
	color: var(--ct-primary);
	font-size: 1.3rem;
	line-height: 1;
	transition: transform 0.3s var(--ct-ease), background 0.2s, color 0.2s;
}

.ct-faq .wp-block-details[open] summary::after {
	transform: rotate(45deg);
	background: var(--ct-primary);
	color: #fff;
}

.ct-faq .wp-block-details > :not(summary) {
	margin: 0;
	padding: 0 24px 22px;
	font-size: 0.97rem;
}

/* =========================================================================
   CTA + form
   ====================================================================== */
.ct-cta {
	position: relative;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.88);
	background: linear-gradient(135deg, var(--ct-forest) 0%, var(--ct-deep) 100%);
}

.ct-cta::before,
.ct-cta::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.ct-cta::before {
	width: 520px;
	height: 520px;
	right: -140px;
	top: -200px;
	background: radial-gradient(circle, rgba(255, 176, 0, 0.22), transparent 65%);
}

.ct-cta::after {
	width: 420px;
	height: 420px;
	left: -160px;
	bottom: -220px;
	background: radial-gradient(circle, rgba(60, 200, 110, 0.25), transparent 65%);
}

.ct-cta .wp-block-columns {
	position: relative;
	z-index: 1;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	margin: 0;
}

.ct-cta h2 {
	color: #fff;
	margin: 0 0 1rem;
}

.ct-cta .ct-eyebrow {
	color: var(--ct-amber);
}

.ct-cta__list {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.ct-cta__list li {
	position: relative;
	padding-left: 30px;
	font-weight: 500;
	color: #fff;
}

.ct-cta__list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 1px;
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ct-amber);
	color: var(--ct-forest);
	font-size: 0.75rem;
	font-weight: 800;
}

.ct-form-card {
	background: #fff;
	color: var(--wp--preset--color--ink);
	padding: clamp(24px, 3.5vw, 40px);
	border-radius: 24px;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.ct-form-card h3 {
	margin: 0 0 0.35rem;
	font-size: 1.4rem;
}

.ct-form-card > p {
	margin: 0 0 1.25rem;
	font-size: 0.93rem;
}

.ct-form {
	display: grid;
	gap: 14px;
}

.ct-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

@media (max-width: 600px) {
	.ct-form__row {
		grid-template-columns: 1fr;
	}
}

.ct-form label {
	display: grid;
	gap: 6px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ct-forest);
}

.ct-form input[type="text"],
.ct-form input[type="email"],
.ct-form input[type="tel"],
.ct-form select,
.ct-form textarea {
	width: 100%;
	padding: 13px 14px;
	font: inherit;
	font-weight: 400;
	font-size: 0.97rem;
	color: #222;
	background: #f8fbf8;
	border: 1.5px solid #d4e2d6;
	border-radius: 12px;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--ct-primary);
	box-shadow: 0 0 0 4px rgba(4, 118, 49, 0.14);
}

.ct-form__hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0;
	overflow: hidden;
}

.ct-form__submit {
	cursor: pointer;
	padding: 15px 24px;
	border: 0;
	border-radius: 12px;
	background: var(--ct-primary);
	color: #fff;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.02rem;
	font-weight: 700;
	box-shadow: 0 14px 26px -14px rgba(4, 118, 49, 0.85);
	transition: transform 0.25s var(--ct-ease), background 0.2s, box-shadow 0.25s;
}

.ct-form__submit:hover {
	background: var(--ct-forest);
	transform: translateY(-2px);
}

.ct-form__fine {
	margin: 0;
	text-align: center;
	font-size: 0.78rem;
	color: #6b7a6e;
}

.ct-form-notice {
	margin-bottom: 14px;
	padding: 14px 16px;
	border-radius: 12px;
	font-size: 0.93rem;
}

.ct-form-notice--ok {
	background: #e6f6ea;
	color: #0c4a1f;
	border: 1px solid #b7e1c1;
}

.ct-form-notice--err {
	background: #fdecec;
	color: #7a1c1c;
	border: 1px solid #f2bcbc;
}

/* AeroForm (AeroHub) inside the theme's form cards */
.ct-form-card .aeroform {
	max-width: none;
	font-family: inherit;
}

.ct-form-card .aeroform label,
.ct-form-card .aeroform legend {
	font-size: 0.82rem;
	color: var(--ct-forest);
}

.ct-form-card .aeroform .af-check {
	color: var(--wp--preset--color--ink);
}

.ct-form-card .aeroform input[type="text"],
.ct-form-card .aeroform input[type="email"],
.ct-form-card .aeroform input[type="tel"],
.ct-form-card .aeroform input[type="number"],
.ct-form-card .aeroform select,
.ct-form-card .aeroform textarea {
	background: #f8fbf8;
	border: 1.5px solid #d4e2d6;
	padding: 13px 14px;
	font-size: 0.97rem;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ct-form-card .aeroform input:focus,
.ct-form-card .aeroform select:focus,
.ct-form-card .aeroform textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--ct-primary);
	box-shadow: 0 0 0 4px rgba(4, 118, 49, 0.14);
}

.ct-form-card .aeroform .af-submit {
	width: 100%;
	padding: 15px 24px;
	border-radius: 12px;
	background: var(--ct-primary);
	color: #fff;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.02rem;
	box-shadow: 0 14px 26px -14px rgba(4, 118, 49, 0.85);
	transition: transform 0.25s var(--ct-ease), background 0.2s;
}

.ct-form-card .aeroform .af-submit:hover {
	background: var(--ct-forest);
	filter: none;
	transform: translateY(-2px);
}

.ct-form-card .aeroform .af-done {
	background: #e6f6ea;
	color: #0c4a1f;
	border: 1px solid #b7e1c1;
}

/* =========================================================================
   Inner pages / posts
   ====================================================================== */
.ct-page-title {
	background: linear-gradient(180deg, var(--ct-leaf), #fff);
	padding: clamp(40px, 6vw, 72px) 24px clamp(24px, 3vw, 40px);
	text-align: center;
}

.ct-page-title h1 {
	margin: 0;
	font-size: clamp(2rem, 4.5vw, 3rem);
}

.ct-content {
	padding: clamp(24px, 4vw, 56px) 24px clamp(56px, 7vw, 96px);
}

.ct-post-card {
	height: 100%;
	overflow: hidden;
	padding: 0;
}

.ct-post-card .wp-block-post-featured-image {
	margin: 0;
}

.ct-post-card .wp-block-post-featured-image img {
	width: 100%;
	display: block;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.ct-post-card__body {
	padding: 22px 24px 26px;
}

.ct-post-card__body > * {
	margin-block: 0;
}

.ct-post-card__body > * + * {
	margin-top: 0.6rem;
}

.ct-post-card .wp-block-post-title {
	font-size: 1.15rem;
}

.ct-post-card .wp-block-post-title a {
	color: var(--ct-forest);
	text-decoration: none;
}

.ct-post-card .wp-block-post-date {
	font-size: 0.82rem;
	color: #6b7a6e;
}

/* =========================================================================
   Footer
   ====================================================================== */
.ct-footer {
	background: var(--ct-night);
	color: rgba(255, 255, 255, 0.72);
	padding: clamp(48px, 6vw, 80px) 24px 28px;
	font-size: 0.95rem;
}

.ct-footer a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	transition: color 0.2s;
}

.ct-footer a:hover {
	color: var(--ct-amber);
}

.ct-footer h4 {
	margin: 0 0 1rem;
	color: #fff;
	font-size: 0.82rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-family: var(--wp--preset--font-family--outfit);
}

.ct-footer .wp-block-columns {
	gap: 40px;
	margin: 0;
}

.ct-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.ct-footer p {
	margin: 0 0 0.6rem;
}

.ct-footer .ct-brand .wp-block-site-title a {
	color: #fff;
}

.ct-footer__bottom {
	margin-top: 44px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	gap: 10px 24px;
	justify-content: space-between;
	font-size: 0.82rem;
}

.ct-footer__bottom p {
	margin: 0;
}

/* Mobile sticky call/quote bar */
.ct-mobilebar {
	display: none;
}

@media (max-width: 782px) {
	.ct-mobilebar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		gap: 10px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, 0.96);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
		border-top: 1px solid var(--ct-line);
		box-shadow: 0 -10px 30px -18px rgba(0, 49, 19, 0.5);
	}

	.ct-mobilebar p {
		flex: 1;
		margin: 0;
	}

	.ct-mobilebar a {
		display: block;
		padding: 13px 10px;
		text-align: center;
		border-radius: 12px;
		font-family: var(--wp--preset--font-family--outfit);
		font-weight: 700;
		text-decoration: none;
		background: #fff;
		color: var(--ct-forest);
		border: 2px solid var(--ct-line);
	}

	.ct-mobilebar p:last-child a {
		background: var(--ct-primary);
		border-color: var(--ct-primary);
		color: #fff;
	}

	body {
		padding-bottom: 72px;
	}
}
