/* ==========================================================================
   The Green Guard Turf — PUTTING GREENS page (clean rebuild of the live
   Elementor page, post id 1133). Loads AFTER /assets/css/base.css.
   Exact values ported from post-1133.css + the live page's wp-custom-css.
   ========================================================================== */

/* ---------- page scaffolding ---------- */
.pg-main {
	font-family: 'Montserrat', sans-serif;
	/* theme body typography: 14px/1.43em desktop, 17px/1.4em mobile — the
	   em line-height inherits as a computed length (20px / 23.8px) */
	font-size: 14px;
	line-height: 1.4286em;
	color: #fff;
}
@media (max-width: 767px) {
	.pg-main { font-size: 16px; line-height: 1.5em; }
}
.pg-main :where(h1, h2, h3) { margin: 0; font-family: 'Montserrat', sans-serif; }
.pg-main :where(p) { margin: 0; }
.pg-main a { text-decoration: none; }
.pg-main img { display: block; max-width: 100%; height: auto; }

.pg-lime { color: #8ee000; }

.pg-boxed {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 30px;
}
/* quote section content is capped at 1293px on desktop (Elementor content-width) */
@media (min-width: 768px) {
	.pg-boxed--quote { max-width: calc(1293px + 60px); }
}

/* sections sit in normal flow so the 5rem margins collapse to a single 80px gap */
.pg-section { margin: 80px 0; }
.pg-faqsec { margin: 0; }

/* ---------- shared bits ---------- */
.pg-pillrow.is-center { text-align: center; }

/* green pill (from the live site's wp-custom-css; --gg-green-bright is
   undefined on the original, so the color falls back to inherited white) */
.pt-pill {
	display: inline-block;
	padding: 6px 18px;
	border-radius: 999px;
	background: rgba(132, 189, 0, .14);
	border: 1px solid rgba(132, 189, 0, .35);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .6px;
}

.pg-h2 {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
}
.pg-h2--lg { font-size: 38px; }
.pg-h2.is-center { text-align: center; }
@media (max-width: 767px) {
	.pg-h2--lg { font-size: 26px; }
}

.pg-text {
	font-size: 16px;
	color: #9AA0A6;
}

/* buttons — the Elementor kit's button typography/padding wins over
   .elementor-size-sm on the live site: 14px / 1.1em, padding 16px 25px
   (13px 20px <=1024, 12px 19px <=767); weight 700 + radius 8px come from
   the page's own per-element CSS (post-1133) */
.pg-btn {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.1;
	padding: 16px 25px;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
	text-align: center;
}
.pg-btn--lime { background-color: #84BD00; color: #0A0A0A; }
.pg-btn--lime:hover { background-color: #8ee000; }
.pg-btn--ghost { background-color: transparent; color: #fff; border: 1px solid #FFFFFF; }
.pg-btn--ghost:hover { background-color: rgba(255, 255, 255, .12); }
.pg-btn--dark { background-color: transparent; color: #fff; border: 1px solid #3A3A3A; }
.pg-btn--dark:hover { border-color: #8ee000; }

/* dark panel card */
.pg-card {
	background-color: #121212;
	border-radius: 8px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* generic split row */
.pg-split { display: flex; flex-direction: row; gap: 20px; }
.pg-split > * { min-width: 0; }

/* ---------- entrance animations (subtle, IntersectionObserver) ---------- */
@media (prefers-reduced-motion: no-preference) {
	[data-gg-anim] { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
	[data-gg-anim="up"] { transform: translateY(28px); }
	[data-gg-anim].gg-in { opacity: 1; transform: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.pg-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 520px;
	padding: 80px 22px 60px;
	background-color: #0D1F12;
	background-image: url("/assets/images/putting-green-hero.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.pg-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: #000;
	opacity: .43;
}
.pg-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1600px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
.pg-hero__title {
	font-size: 52px;
	font-weight: 900;
	line-height: 1.08;
	color: #fff;
	text-align: center;
}
.pg-hero__sub {
	font-size: 17px;
	color: #CFD4D8;
	text-align: center;
	max-width: 620px;
	margin: 0 auto;
}
.pg-hero__cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
	padding: 20px 0;
}
.pg-hero__trust { width: 100%; }
.pt-trustbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	max-width: 820px;
	margin: 0 auto;
}
.pt-trustbar span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .05);
	/* --pt-line is undefined on the live site, so its border never renders */
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: #e4e7ea;
}
.pt-trustbar span::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #8ee000;
	flex: none;
}
.pg-hero__loc {
	text-align: center;
	/* the theme's default p bottom margin survives on the original (inline
	   style only sets margin-top) */
	margin: 28px 0 14px;
	font-size: 12.5px;
	color: #7d838a;
	letter-spacing: .5px;
}
@media (max-width: 767px) {
	.pg-hero__title { font-size: 32px; }
}

/* ==========================================================================
   ENGINEERED FOR TRUE ROLL
   ========================================================================== */
.pg-split--eng > .pg-eng__media { width: 30%; }
.pg-split--eng > .pg-eng__body {
	width: 70%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
/* the original's theme gives this paragraph default block margins */
.pg-eng__body .pg-text { margin: 16px 0; }

.pg-tiles { display: flex; gap: 20px; }
.pg-tiles > * { min-width: 0; }
.pg-tiles--process { gap: 1rem; padding-top: 1rem; }
.pg-tile {
	flex: 1 1 0;
	background-color: #191919;
	border: 1px solid #262626;
	border-radius: 10px;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.pg-tile__num {
	font-size: 2rem;
	font-weight: 900;
	line-height: 1.2;
	color: #8EE000;
}
.pg-tile__content { margin-top: 15px; }
.pg-tile__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}
.pg-tile__desc {
	color: #B9B9B9;
	/* no explicit size on the original widget — inherits the theme body size */
	font-size: inherit;
	margin: 0;
}

/* ==========================================================================
   DESIGN OPTIONS
   ========================================================================== */
/* nested Elementor containers each carry the kit's default 30px side padding */
.pg-split--design { padding: 0 30px; }
.pg-split--design > .pg-design__body,
.pg-split--design > .pg-design__media {
	flex: 1 1 0;
	padding: 0 30px;
}
.pg-split--design > .pg-design__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.pg-h2--lg + .pg-list { margin-top: 0; }
.pg-list {
	color: #9aa0a6;
	font-size: 16px;
	line-height: 1.9;
	max-width: 760px;
	margin: 20px auto 0;
	padding-left: 20px;
	list-style: disc;
}
.pg-design__body .pg-list { margin: 20px 0 0; }

/* ==========================================================================
   OUR WORK / GALLERY
   ========================================================================== */
.pg-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 19px;
}
.pg-gallery__item { margin: 0; }
.pg-gallery__item img { width: 100%; border-radius: 10px; }
.pg-gallery__item figcaption {
	margin-top: 19px;
	color: #A8A8A8;
}
@media (max-width: 767px) {
	.pg-gallery { grid-template-columns: 1fr; }
}

/* ==========================================================================
   THE NUMBERS
   ========================================================================== */
.pg-numbers__intro {
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
}
.pg-stats {
	display: flex;
	gap: 1rem;
	padding-top: 1rem;
}
.pg-stats > * { min-width: 0; }
.pg-stat {
	flex: 1 1 0;
	background-color: #191919;
	border: 1px solid #262626;
	border-radius: 10px;
	padding: 1.5rem 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
.pg-stat__num {
	font-size: 2.2rem;
	font-weight: 800;
	line-height: 1.2;
	color: #8EE000;
	text-align: center;
}
.pg-stat__label {
	text-align: center;
	color: #9AA0A6;
	font-size: 13px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.pg-faqsec .pg-pillrow { margin-bottom: 20px; }
.pg-faq {
	max-width: 800px;
	margin: 20px auto 0;
	padding: 20px;
}
.pg-faq .faq-item {
	margin-bottom: 10px;
	border: 1px solid #54780A;
	border-radius: 8px;
	overflow: hidden;
}
.pg-faq .faq-header { margin: 0; }
.pg-faq .faq-button {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	width: 100%;
	background-color: #191919;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
	padding: 15px 20px;
	border: none;
	cursor: pointer;
}
.pg-faq .faq-icon {
	color: #8EE000;
	font-size: 1.2rem;
	font-weight: 700;
	flex-shrink: 0;
}
.pg-faq .faq-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height .3s ease-out;
	background-color: #191919;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 500;
}
.pg-faq .faq-body { padding: 0 20px; line-height: 1.5; }
.pg-faq .faq-body.active { padding: 15px 20px; }

/* ==========================================================================
   FREE DESIGN QUOTE
   ========================================================================== */
.pg-split--quote > .pg-quote__body,
.pg-split--quote > .pg-quote__form {
	flex: 1 1 0;
}
.pg-split--quote > .pg-quote__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}
/* theme default p margins survive on the original (no inline margins here) */
.pg-quote__body .pg-text { margin: 16px 0; }
.pg-quote__serving { margin: 16px 0; }
.pg-quote__serving {
	padding-left: 1rem;
	border-left: 2px solid #8EE000;
	font-size: 0.8rem;
	color: #9AA0A6;
}

/* The quote form itself is the shared .gg-form design system
   (/assets/css/components/form.css) — this page adds nothing to it. */

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
	.pg-boxed { padding: 0 20px; }
	.pg-split--design { padding: 0 20px; }
	.pg-split--design > .pg-design__body,
	.pg-split--design > .pg-design__media { padding: 0 20px; }
	.pg-btn { padding: 13px 20px; }
}

@media (max-width: 767px) {
	.pg-btn { padding: 12px 19px; }
	.pg-split { flex-direction: column; }
	.pg-split--eng > .pg-eng__media,
	.pg-split--eng > .pg-eng__body { width: 100%; }
	.pg-tiles { flex-direction: column; }
	.pg-stats { flex-direction: column; }
}
