/*
Theme Name:   Pops Theme
Theme URI:    https://popsindoorgolf.com
Description:  GeneratePress child theme for Pop's Indoor Golf
Author:       Communal MFG
Author URI:   https://communalmfg.com
Template:     generatepress
Version:      1.0.0
License:      GPL-2.0-or-later
Text Domain:  pops-theme
*/

/* ==========================================================================
   DESIGN SYSTEM — CSS Custom Properties
   Match exactly to PROJECT_SPEC.md Section 0
   ========================================================================== */

:root {
	/* Colors */
	--color-cream:        #EFE8DF;
	--color-navy:         #0F3D2E;
	--color-navy-light:   #1A5240;

	/* Override GP's --accent so any var(--accent) reference in GP's
	   dynamic inline CSS resolves to our green-navy instead of the
	   default WordPress blue (#1e73be). */
	--accent:             #0F3D2E;
	--color-green:        #2A5C45;
	--color-orange:       #E07B39;
	--color-orange-dark:  #C4662A;
	--color-orange-a11y:  #b05316; /* 5.1:1 contrast on white — WCAG AA */
	--color-white:        #FFFFFF;
	--color-text:         #0F3D2E;
	--color-text-muted:   #5A7585;
	--color-border:       #D9CFC5;

	/* Typography */
	--font-display:       'Bebas Neue', sans-serif;
	--font-subhead:       'Barlow Condensed', sans-serif;
	--font-body:          'DM Sans', sans-serif;

	/* Type Scale */
	--text-h1:    4rem;       /* 64px */
	--text-h2:    3rem;       /* 48px */
	--text-h3:    1.75rem;    /* 28px */
	--text-h4:    1.375rem;   /* 22px */
	--text-body:  1.0625rem;  /* 17px */
	--text-small: 0.875rem;   /* 14px */
	--text-label: 0.8125rem;  /* 13px */

	/* Spacing */
	--section-py:         80px;
	--section-py-mobile:  48px;
	--max-width:          1200px;
	--gutter:             24px;

	/* Radius */
	--radius-card: 6px;
	--radius-pill: 9999px;

	/* Transitions */
	--transition: 0.2s ease;
}

/* ==========================================================================
   BASE RESETS & GLOBALS
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--color-cream);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: var(--text-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: var(--color-orange-a11y); /* 5.1:1 on white — WCAG AA */
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--color-orange-dark);
}

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, .h1 {
	font-family: var(--font-display);
	font-size: var(--text-h1);
	font-weight: 400; /* Bebas Neue displays bold at 400 */
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: inherit;
	margin: 0 0 0.5em;
}

h2, .h2 {
	font-family: var(--font-display);
	font-size: var(--text-h2);
	font-weight: 400;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: inherit;
	margin: 0 0 0.5em;
}

h3, .h3 {
	font-family: var(--font-subhead);
	font-size: var(--text-h3);
	font-weight: 700;
	line-height: 1.2;
	color: inherit;
	margin: 0 0 0.5em;
}

h4, .h4 {
	font-family: var(--font-subhead);
	font-size: var(--text-h4);
	font-weight: 600;
	line-height: 1.3;
	color: inherit;
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

.text-label {
	font-family: var(--font-body);
	font-size: var(--text-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.text-muted {
	color: var(--color-text-muted);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
	max-width: var(--max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.section {
	padding-top: var(--section-py);
	padding-bottom: var(--section-py);
}

/* ==========================================================================
   COMPONENT: BUTTONS
   ========================================================================== */

.btn-primary,
.btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 14px 32px;
	border-radius: 10px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
	text-decoration: none;
	white-space: nowrap;
}

.btn-primary {
	background: var(--color-orange-a11y); /* 5.1:1 contrast for white text */
	color: var(--color-white);
	border-color: var(--color-orange-a11y);
}

.btn-primary:hover,
.btn-primary:focus {
	background: var(--color-orange-dark);
	border-color: var(--color-orange-dark);
	color: var(--color-white);
	transform: translateY(-1px);
}

.btn-secondary {
	background: transparent;
	color: var(--color-white);
	border-color: var(--color-white);
}

.btn-secondary:hover,
.btn-secondary:focus {
	background: rgba(255, 255, 255, 0.12);
	color: var(--color-white);
	transform: translateY(-1px);
}

.btn-outline-orange {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 14px 32px;
	border-radius: 10px;
	border: 2px solid var(--color-orange-a11y);
	background: transparent;
	color: var(--color-orange-a11y); /* accessible on light/white backgrounds */
	cursor: pointer;
	transition: background-color var(--transition), color var(--transition), transform var(--transition);
	text-decoration: none;
	white-space: nowrap;
}

.btn-outline-orange:hover {
	background: var(--color-orange);
	color: var(--color-white);
}

/* ==========================================================================
   COMPONENT: SECTION BACKGROUNDS
   ========================================================================== */

.section-dark {
	background-color: #0F3D2E;
	background-color: var(--color-navy);
	color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
	color: var(--color-white);
}

.section-dark p,
.section-dark li {
	color: rgba(255, 255, 255, 0.87);
}

.section-dark a:not(.btn-primary):not(.btn-secondary) {
	color: var(--color-orange);
}

.section-dark .container {
	background-color: transparent;
}

.section-light {
	background-color: var(--color-cream);
	color: var(--color-text);
}

.section-white {
	background-color: var(--color-white);
}

/* ==========================================================================
   COMPONENT: SECTION CURVE (curved bottom edge)
   ========================================================================== */

.section-curve {
	position: relative;
	z-index: 3;
}

.section-curve::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 60px;
	background-color: var(--color-cream);
	clip-path: ellipse(55% 100% at 50% 100%);
}

/* Curve into white background */
.section-curve--white::after {
	background-color: var(--color-white);
}

/* ==========================================================================
   COMPONENT: CARD
   ========================================================================== */

.card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	padding: 32px;
}

/* Cards on cream (section-light) backgrounds — transparent fill, border only */
.card-on-cream {
	background: transparent;
}

.card--hover {
	transition: box-shadow var(--transition), transform var(--transition);
}

.card--hover:hover {
	box-shadow: 0 8px 32px rgba(15, 61, 46, 0.12);
	transform: translateY(-2px);
}

/* ==========================================================================
   COMPONENT: GRID LAYOUTS
   ========================================================================== */

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gutter);
}

.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--gutter);
}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--gutter);
}

/* ==========================================================================
   COMPONENT: SECTION EYEBROW
   ========================================================================== */

.eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-size: var(--text-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-orange-a11y); /* #b05316 — 5.1:1 on white/cream, WCAG AA */
	margin-bottom: 12px;
}

.eyebrow-dark {
	color: var(--color-cream); /* #EFE8DF — 10:1 on dark navy, WCAG AAA */
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
	position: relative;
	min-height: 680px;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding-top: 100px;
	padding-bottom: 120px;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background-color: var(--color-navy);
	z-index: 0;
}

.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.45;
}

/* Hero sections without a photo — solid #0F3D2E, no image element needed */
.hero-solid {
	background-color: #0F3D2E;
	background-color: var(--color-navy);
}

.hero__inner {
	position: relative;
	z-index: 1;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	width: 100%;
}

.hero__content {
	max-width: 640px;
}

.hero__content h1 {
	color: var(--color-white);
	font-size: clamp(2.5rem, 6vw, var(--text-h1));
	margin-bottom: 0.35em;
}

.hero__subhead {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.87);
	margin-bottom: 2rem;
	line-height: 1.5;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */

.trust-bar {
	padding: 36px 0;
	background: #ffffff;
	border-bottom: 1px solid var(--color-border);
	border-top: 1px solid var(--color-border);
}

.trust-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 40px;
}

.trust-bar__label {
	font-size: var(--text-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-text-muted);
	white-space: nowrap;
}

.trust-bar__logos {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 36px;
}

.trust-bar__logos img {
	height: 64px;
	width: auto;
	object-fit: contain;
	transition: opacity var(--transition);
}

.trust-bar__logos img:hover {
	opacity: 0.8;
}

/* ==========================================================================
   WHAT WE DO — 3-column section
   ========================================================================== */

.what-we-do__icon {
	width: 48px;
	height: 48px;
	background: var(--color-orange);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.what-we-do__icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: var(--color-white);
	stroke-width: 2;
}

/* ==========================================================================
   GALLERY GRID (preview + full gallery)
   ========================================================================== */

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-card);
	aspect-ratio: 4 / 3;
	background-color: var(--color-navy);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery-item:hover img {
	transform: scale(1.04);
}

.gallery-item__tags {
	position: absolute;
	bottom: 12px;
	left: 12px;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.gallery-item__tag {
	background: rgba(15, 61, 46, 0.85);
	color: var(--color-white);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 4px 10px;
	border-radius: 9999px;
	backdrop-filter: blur(4px);
}

/* Gallery filter buttons */
.gallery-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}

.gallery-filter-btn {
	background: transparent;
	color: var(--color-text);
	border: 1.5px solid var(--color-border);
	border-radius: var(--radius-pill);
	padding: 8px 20px;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.is-active {
	background: var(--color-navy);
	color: var(--color-white);
	border-color: var(--color-navy);
}

/* ==========================================================================
   HOW IT WORKS — 4-step process
   ========================================================================== */

.process-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--gutter);
	position: relative;
}

.process-step {
	text-align: center;
	position: relative;
}

.process-step__number {
	width: 56px;
	height: 56px;
	background: var(--color-orange-dark); /* 4:1 contrast, passes 3:1 for large text */
	color: var(--color-white);
	font-family: var(--font-display);
	font-size: 1.5rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}

.process-step__title {
	font-family: var(--font-subhead);
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--color-white);
}

.process-step__desc {
	font-size: var(--text-small);
	color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   PRICE ANCHOR SECTION
   ========================================================================== */

.price-anchor {
	text-align: center;
}

.price-range {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	color: var(--color-orange-a11y); /* 5.1:1 on white/cream */
	margin: 0.25em 0;
}

/* Pricing table */
.pricing-table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	font-size: 0.9375rem;
}

.pricing-table th {
	background: var(--color-navy);
	color: var(--color-white);
	padding: 14px 20px;
	text-align: left;
	font-family: var(--font-subhead);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.pricing-table td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--color-border);
	vertical-align: top;
}

.pricing-table tr:last-child td {
	border-bottom: none;
}

.pricing-table tr:nth-child(odd) td {
	background-color: #fff;
}

.pricing-table tr:nth-child(even) td {
	background: rgba(239, 232, 223, 0.5);
}

.pricing-table .price {
	font-weight: 600;
	color: var(--color-navy);
	white-space: nowrap;
}

/* ==========================================================================
   CITY LINKS
   ========================================================================== */

.city-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

@media (min-width: 769px) {
	.city-links {
		display: grid;
		grid-template-columns: repeat(8, auto);
		justify-content: center;
	}
}

.city-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--color-text-muted);
	font-size: 0.9rem;
	font-weight: 500;
	padding: 6px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	transition: all var(--transition);
}

.city-links a:hover {
	background: var(--color-navy);
	color: var(--color-white);
	border-color: var(--color-navy);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonial-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	padding: 32px;
}

.testimonial-card__quote {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--color-text);
	margin-bottom: 20px;
	font-style: italic;
}

.testimonial-card__quote::before {
	content: '\201C';
	font-family: var(--font-display);
	font-size: 3rem;
	color: var(--color-orange);
	line-height: 0;
	vertical-align: -0.5em;
	margin-right: 4px;
}

.testimonial-card__author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.testimonial-card__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--color-navy);
	flex-shrink: 0;
	overflow: hidden;
}

.testimonial-card__name {
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--color-text);
}

.testimonial-card__meta {
	font-size: var(--text-small);
	color: var(--color-text-muted);
}

/* ==========================================================================
   TEAM CARDS
   ========================================================================== */

.team-card {
	text-align: center;
	padding: 32px 24px;
}

.team-card__photo {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--color-navy);
	color: var(--color-white);
	font-family: var(--font-subhead);
	font-size: 1.75rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	flex-shrink: 0;
	overflow: hidden;
}

.about-team-grid .team-card__photo {
	width: 192px;
	height: 192px;
}

.team-card__name {
	font-family: var(--font-subhead);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 4px;
}

.team-card__title {
	font-size: var(--text-small);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--color-orange);
	margin-bottom: 12px;
}

.team-card__bio {
	font-size: var(--text-small);
	color: var(--color-text-muted);
	margin: 0;
}

/* ==========================================================================
   CTA BLOCK
   ========================================================================== */

.cta-block {
	text-align: center;
	padding: var(--section-py) var(--gutter);
}

.cta-block h2 {
	margin-bottom: 0.4em;
}

.cta-block p {
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 2rem;
}

/* ==========================================================================
   HUBSPOT FORM EMBED
   ========================================================================== */

.hs-form-wrapper {
	max-width: 480px;
	margin: 0 auto;
}

/* Override HubSpot form styles to match design system */
.hs-form-wrapper .hs-form input[type="text"],
.hs-form-wrapper .hs-form input[type="email"],
.hs-form-wrapper .hs-form input[type="tel"],
.hs-form-wrapper .hs-form select,
.hs-form-wrapper .hs-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid var(--color-border);
	border-radius: var(--radius-card);
	font-family: var(--font-body);
	font-size: var(--text-body);
	color: var(--color-text);
	background: var(--color-white);
	transition: border-color var(--transition);
}

.hs-form-wrapper .hs-form input:focus,
.hs-form-wrapper .hs-form select:focus,
.hs-form-wrapper .hs-form textarea:focus {
	outline: none;
	border-color: var(--color-orange);
}

.hs-form-wrapper .hs-form .hs-button {
	background: var(--color-orange);
	color: var(--color-white);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 14px 32px;
	border-radius: var(--radius-pill);
	border: none;
	cursor: pointer;
	transition: background-color var(--transition);
	width: 100%;
}

.hs-form-wrapper .hs-form .hs-button:hover {
	background: var(--color-orange-dark);
}

/* ==========================================================================
   BRAND CARD (Equipment page)
   ========================================================================== */

.brand-card {
	background: #FFFFFF;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	padding: 32px 24px;
	text-align: center;
	transition: box-shadow var(--transition), transform var(--transition);
}

.brand-card:hover {
	box-shadow: 0 8px 32px rgba(15, 61, 46, 0.1);
	transform: translateY(-2px);
}

.brand-card__logo {
	display: block;
	max-width: 160px;
	width: 100%;
	height: auto;
	margin: 0 auto 20px;
}

.brand-card__name {
	font-family: var(--font-subhead);
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.brand-card__desc {
	font-size: var(--text-small);
	color: var(--color-text-muted);
	line-height: 1.6;
	margin-bottom: 12px;
}

.brand-card__price {
	font-size: var(--text-small);
	font-weight: 600;
	color: var(--color-orange);
}

/* ==========================================================================
   GET A QUOTE PAGE — stripped nav
   ========================================================================== */

.quote-header {
	padding: 20px 0;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-white);
}

.quote-header__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.quote-steps-container {
	max-width: 600px;
	margin: 0 auto;
}

.quote-step {
	display: none;
}

.quote-step.is-active {
	display: block;
}

.quote-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 40px;
}

.quote-progress__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--color-border);
	transition: background var(--transition);
}

.quote-progress__dot.is-done {
	background: var(--color-orange);
}

.quote-progress__dot.is-active {
	background: var(--color-orange);
	width: 28px;
	border-radius: var(--radius-pill);
}

.quote-progress__line {
	flex: 1;
	height: 2px;
	background: var(--color-border);
	max-width: 48px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

/* "Get a Quote" nav item styled as orange pill */
.nav-quote-btn a,
.menu-item-type-cta a {
	background: var(--color-orange-a11y) !important; /* 5.1:1 contrast for white text */
	color: var(--color-white) !important;
	padding: 8px 20px !important;
	border-radius: 10px !important;
	font-weight: 600 !important;
	transition: background-color var(--transition) !important;
}

.nav-quote-btn a:hover,
.menu-item-type-cta a:hover {
	background: var(--color-orange-dark) !important;
	color: var(--color-white) !important;
}

/* GeneratePress header overrides */
/* ==========================================================================
   SPLIT NAV HEADER
   ========================================================================== */

.site-header.pops-split-header {
	background: var(--color-cream);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 999;
}

.inside-header.pops-split-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1280px;
	margin: 0 auto;
	padding: 10px 40px;
}

/* Logo — center column */
.pops-logo {
	flex: 0 0 auto;
	padding: 0 32px;
}

.pops-logo a {
	display: flex;
	align-items: center;
}

.pops-logo img,
.pops-logo .header-image.is-logo-image {
	max-width: 200px;
	width: auto;
	height: auto;
	display: block;
}

/* Left and right nav columns */
.pops-nav {
	flex: 1;
	display: flex;
	align-items: center;
}

.pops-nav--left {
	justify-content: flex-end;
}

.pops-nav--right {
	justify-content: flex-start;
}

.pops-nav-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
	gap: 0;
}

.pops-nav-list > li > a {
	display: block;
	color: var(--color-navy);
	font-weight: 600;
	font-size: 1.25rem;
	text-transform: uppercase;
	padding: 8px 12px;
	text-decoration: none;
	letter-spacing: 0.03em;
	transition: color var(--transition);
	white-space: nowrap;
}

.pops-nav-list > li > a:hover,
.pops-nav-list > li.current-menu-item > a,
.pops-nav-list > li.current-page-ancestor > a {
	color: var(--color-orange);
}

/* "Get a Quote" styled as a button */
.pops-nav-list > li.nav-quote-btn > a {
	background: var(--color-orange);
	color: var(--color-white) !important;
	border-radius: 10px;
	padding: 10px 20px;
	margin-left: 8px;
}

.pops-nav-list > li.nav-quote-btn > a:hover {
	background: #C5652A;
	color: var(--color-white) !important;
}

/* Override GP's .one-container .container white background on all sections.
   GP inline CSS (specificity 0,2,0) sets container to white; ours (0,2,0) wins
   because our linked stylesheet is parsed after the inline <style> block. */
.one-container .container {
	background-color: transparent;
}

/* Hamburger button — hidden on desktop */
.pops-hamburger {
	display: none;
}

/* Mobile nav panel — hidden by default */
.pops-mobile-nav {
	display: none;
}

/* Our Story two-column grid (desktop) */

@media (max-width: 768px) {
	/* Header bar: logo left, hamburger right.
	   !important overrides GP's .has-inline-mobile-toggle .inside-header { flex-wrap: wrap } */
	.inside-header.pops-split-inner {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		justify-content: flex-start !important;
		align-items: center !important;
		padding: 10px 20px;
	}

	/* Hide desktop left/right navs */
	.pops-nav--left,
	.pops-nav--right {
		display: none !important;
	}

	/* Logo: 100px, left-aligned */
	.pops-logo {
		flex: 0 0 auto !important;
		padding: 0;
		order: 1;
	}

	.pops-logo img,
	.pops-logo .header-image.is-logo-image {
		max-width: 150px;
	}

	/* Hamburger button — margin-left: auto pushes it to the far right */
	.pops-hamburger {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		order: 2;
		flex-shrink: 0;
		margin-left: auto;
		width: 28px;
		height: 20px;
		background: none;
		border: none;
		cursor: pointer;
		padding: 0;
	}

	.pops-hamburger span {
		display: block;
		width: 100%;
		height: 2px;
		background: var(--color-navy);
		border-radius: 2px;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.pops-hamburger.is-open span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}

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

	.pops-hamburger.is-open span:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}

	/* Mobile nav dropdown panel */
	.pops-mobile-nav {
		background: var(--color-cream);
		border-top: 1px solid var(--color-border);
		padding: 8px 20px 16px;
	}

	.pops-mobile-nav.is-open {
		display: block;
	}

	.pops-mobile-list {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.pops-mobile-list li a {
		display: block;
		padding: 12px 0;
		color: var(--color-navy);
		font-size: 1.25rem;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		text-decoration: none;
		border-bottom: 1px solid var(--color-border);
		transition: color var(--transition);
	}

	.pops-mobile-list li a:hover {
		color: var(--color-orange);
	}

	.pops-mobile-list li:last-child a {
		border-bottom: none;
	}

	.pops-mobile-list li.nav-quote-btn a {
		color: var(--color-orange);
		border-bottom: none;
	}
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
	background: #0F3D2E;
	color: #fff;
	padding: 60px 0 32px;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

.footer-grid {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	margin-bottom: 48px;
	text-align: center;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.footer-logo {
	width: 160px;
	height: auto;
	display: block;
}

.footer-tagline {
	font-family: var(--font-body);
	font-size: var(--text-small);
	color: #fff;
	margin-top: 12px;
	margin-bottom: 0;
}

.footer-nav {
	display: flex;
	justify-content: center;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 32px;
}

.footer-links a {
	color: #fff;
	font-family: var(--font-body);
	font-size: var(--text-small);
	text-decoration: none;
	transition: opacity var(--transition);
}

.footer-links a:hover {
	opacity: 0.75;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 24px;
}

.footer-copy {
	font-family: var(--font-body);
	font-size: var(--text-small);
	color: rgba(255, 255, 255, 0.65);
	text-align: center;
	margin: 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-item {
	border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
	border-top: 1px solid var(--color-border);
}

.faq-question {
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 20px 0;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--font-subhead);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--color-text);
	gap: 16px;
}

.faq-question svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	transition: transform var(--transition);
	stroke: var(--color-orange);
}

.faq-item.is-open .faq-question svg {
	transform: rotate(180deg);
}

.faq-answer {
	display: none;
	padding: 0 0 20px;
	color: var(--color-text-muted);
	line-height: 1.7;
}

.faq-item.is-open .faq-answer {
	display: block;
}

/* ==========================================================================
   ESTIMATOR PLACEHOLDER
   ========================================================================== */

.estimator-placeholder {
	background: var(--color-navy);
	border: 2px dashed rgba(255, 255, 255, 0.2);
	border-radius: var(--radius-card);
	padding: 60px 40px;
	text-align: center;
	color: var(--color-white);
}

.estimator-placeholder__badge {
	display: inline-block;
	background: var(--color-orange);
	color: var(--color-white);
	font-size: var(--text-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 6px 16px;
	border-radius: var(--radius-pill);
	margin-bottom: 16px;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.team-member {
	text-align: center;
}

.team-member__photo {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 16px;
	background: var(--color-navy);
	display: flex;
	align-items: center;
	justify-content: center;
}

.team-member__name {
	font-family: var(--font-subhead);
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.team-member__role {
	font-size: var(--text-small);
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
}

.certifications-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.cert-badge {
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	padding: 16px 24px;
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.9375rem;
	font-weight: 600;
}

/* ==========================================================================
   FULL-WIDTH SECTION LAYOUT — homepage + all custom-template inner pages
   GP's .site-content is display:flex for its sidebar/content split.
   Section blocks are direct children of .site-content; override to block
   so sections stack and backgrounds bleed edge-to-edge.

   Root cause on inner pages: the outer GP wrapper (#page) carries GP's
   "container" class, so our .container rule applies 24px gutter padding
   to it. The rules below zero that out with higher specificity (0,3,0)
   for every page using a pops custom template (full-width-content body
   class) or the homepage (.home).
   ========================================================================== */

.home .site.grid-container,
.home .grid-container.grid-parent,
.full-width-content .site.grid-container,
.full-width-content .grid-container.grid-parent {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

/* Override GP's global .site-content { display:flex } for every page that uses our
   custom templates. All these pages have full-width-content + separate-containers in
   the body class (added by pops_body_classes and GP respectively). */
.home .site-content,
.full-width-content.separate-containers .site-content,
.full-width-content.one-container .site-content,
.error404 .site-content {
	display: block;
	padding: 0;
}

/* ==========================================================================
   RESPONSIVE — Mobile
   ========================================================================== */

@media (max-width: 767px) {
	:root {
		--text-h1: 3rem;
		--text-h2: 2.25rem;
		--text-h3: 1.5rem;
		--section-py: var(--section-py-mobile);
	}

	.grid-3,
	.grid-4 {
		grid-template-columns: 1fr;
	}

	.grid-2 {
		grid-template-columns: 1fr;
	}

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

	.process-steps {
		grid-template-columns: 1fr;
		max-width: 360px;
		margin: 0 auto;
	}

	.footer-links {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		flex-direction: unset;
		flex-wrap: unset;
		text-align: center;
	}

	.hero {
		min-height: 540px;
		padding-top: 80px;
		padding-bottom: 100px;
	}

	.team-grid {
		grid-template-columns: 1fr;
	}

	.trust-bar__inner {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 20px;
	}

	.trust-bar__logos {
		justify-content: center;
		align-items: center;
		gap: 24px;
	}

}

@media (min-width: 768px) and (max-width: 1023px) {
	.grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}

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

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

}

/* ==========================================================================
   LOCATIONS PAGE — Browse by City grid
   ========================================================================== */

.locations-metro-heading {
	font-family: var(--font-display);
	font-size: 1.75rem;
	color: var(--color-navy);
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--color-border);
}

.locations-city-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px 24px;
}

.locations-city-list li a {
	color: var(--color-text);
	font-size: var(--text-small);
	font-weight: 500;
	text-decoration: none;
	transition: color var(--transition);
}

.locations-city-list li a:hover {
	color: var(--color-orange);
}

@media (max-width: 767px) {
	.locations-city-list {
		grid-template-columns: 1fr;
	}
}
