/*
Theme Name: Prime Elite Auto Glass
Theme URI: https://primeeliteautoglass.ca
Author: Prime Elite Auto Glass
Author URI: https://primeeliteautoglass.ca
Description: Custom theme for Prime Elite Auto Glass - mobile windshield repair and replacement services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: primeelite-autoglass
Tags: business, one-column, custom-menu, featured-images, responsive
*/

/* ==========================================================================
   Table of Contents
   1. CSS Variables
   2. Reset & Base
   3. Typography
   4. Layout & Utilities
   5. Header & Navigation
   6. Hero
   7. Buttons
   8. Sections
   9. Services
   10. Why Choose Us
   11. Testimonials
   12. CTA Banner
   13. Contact / Quote Form
   14. Footer
   15. Responsive
   ========================================================================== */

/* 1. CSS Variables */
:root {
	--navy: #161d27;
	--navy-light: #1f2833;
	--green: #1d8660;
	--green-dark: #146b4c;
	--green-bright: #25d366;
	--yellow: #ffd700;
	--white: #ffffff;
	--off-white: #f9fbfa;
	--gray: #5b687b;
	--gray-light: #e6ece9;
	--border: #dce5e1;
	--shadow: 0 10px 30px rgba(22, 29, 39, 0.12);
	--radius: 12px;
	--font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
	--font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* 2. Reset & Base */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	color: #22303f;
	background: var(--white);
	line-height: 1.7;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--green);
	text-decoration: none;
	transition: color 0.2s ease;
}

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

ul {
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--navy);
	line-height: 1.25;
	font-weight: 700;
}

/* 3. Typography */
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

.section-title {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 2.5rem;
}

.section-title .eyebrow {
	display: inline-block;
	color: var(--green);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.8rem;
	margin-bottom: 0.6rem;
}

.section-title p {
	color: var(--gray);
	margin-top: 0.8rem;
}

/* 4. Layout & Utilities */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 5rem 0;
}

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

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

/* 5. Header & Navigation */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--navy);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.topbar {
	background: var(--green);
	color: var(--white);
	font-size: 0.85rem;
}

.topbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 0.4rem;
	padding-bottom: 0.4rem;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.topbar a {
	color: var(--white);
	font-weight: 600;
}

.topbar .topbar-phone {
	font-weight: 700;
}

.header-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.9rem 20px;
	max-width: 1200px;
	margin: 0 auto;
	gap: 1rem;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.site-branding .logo-mark {
	width: 44px;
	height: 44px;
	display: block;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.site-title {
	font-size: 1.15rem;
	color: var(--white);
	line-height: 1.1;
}

.site-title span {
	display: block;
	font-size: 0.72rem;
	font-weight: 400;
	color: #aebfd0;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 1.6rem;
}

.main-navigation li {
	position: relative;
}

/* Base dropdown (non-mega) */
.main-navigation .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--navy);
	border-radius: 10px;
	padding: 0.6rem 0;
	min-width: 220px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	z-index: 50;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	display: block;
}

.main-navigation .sub-menu li {
	width: 100%;
}

.main-navigation .sub-menu a {
	display: block;
	padding: 0.55rem 1.2rem;
	font-size: 0.9rem;
	white-space: nowrap;
}

.main-navigation .sub-menu a:hover {
	background: rgba(29, 134, 96, 0.2);
	color: var(--yellow);
}

.menu-item-has-children > a::after {
	content: ' \25BE';
	font-size: 0.7rem;
	opacity: 0.7;
}

/* Mega Menu — desktop only */
@media (min-width: 769px) {
	.main-navigation li.has-mega-menu {
		position: relative;
	}

	.main-navigation li.has-mega-menu:hover > .mega-menu,
	.main-navigation li.has-mega-menu:focus-within > .mega-menu,
	.main-navigation li.has-mega-menu.is-open > .mega-menu {
		display: grid;
	}

	.mega-menu {
		display: none;
		position: absolute;
		top: calc(100% + 12px);
		left: 50%;
		transform: translateX(-50%);
		width: 760px;
		max-width: 90vw;
		grid-template-columns: 1.1fr 0.9fr;
		background: var(--navy);
		border-radius: 16px;
		padding: 2rem;
		gap: 2rem;
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
		z-index: 100;
		border: 1px solid rgba(255, 255, 255, 0.08);
	}

	/* Hover bridge between nav link and mega menu. */
	.mega-menu::after {
		content: '';
		position: absolute;
		top: -12px;
		left: 0;
		right: 0;
		height: 12px;
		background: transparent;
	}

	/* Arrow pointer above mega menu. */
	.mega-menu::before {
		content: '';
		position: absolute;
		top: -10px;
		left: 50%;
		transform: translateX(-50%);
		width: 0;
		height: 0;
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-bottom: 10px solid var(--navy);
	}

	.mega-menu-left {
		display: flex;
		flex-direction: column;
	}

	.mega-menu-left .sub-menu {
		position: static;
		display: flex !important;
		flex-direction: column;
		gap: 0.35rem;
		background: transparent;
		box-shadow: none;
		border-radius: 0;
		padding: 0;
		min-width: auto;
	}

	.mega-menu-left .sub-menu li {
		width: 100%;
	}

	.mega-menu-left .sub-menu a {
		display: flex;
		align-items: center;
		gap: 0.7rem;
		padding: 0.85rem 1rem;
		border-radius: 10px;
		color: #d7e2ee;
		font-size: 1rem;
		font-weight: 500;
		transition: all 0.2s ease;
		white-space: normal;
		line-height: 1.3;
	}

	.mega-menu-left .sub-menu a::before {
		content: '\203A';
		color: var(--green);
		font-size: 1.2rem;
		font-weight: 700;
		transition: color 0.2s ease;
	}

	.mega-menu-left .sub-menu a:hover {
		background: rgba(29, 134, 96, 0.15);
		color: var(--yellow);
		padding-left: 1.2rem;
	}

	.mega-menu-left .sub-menu a:hover::before {
		color: var(--yellow);
	}

	.mega-menu-left .sub-menu a.is-active {
		background: rgba(29, 134, 96, 0.15);
		color: var(--yellow);
		padding-left: 1.2rem;
	}

	.mega-menu-left .sub-menu a.is-active::before {
		color: var(--yellow);
	}

	.mega-menu-right {
		display: flex;
		align-items: stretch;
	}

	.mega-feature {
		background: rgba(255, 255, 255, 0.04);
		border: 1px solid rgba(255, 255, 255, 0.08);
		border-radius: 14px;
		overflow: hidden;
		display: flex;
		flex-direction: column;
	}

	.mega-feature-visual {
		position: relative;
		overflow: hidden;
	}

	.mega-feature-img {
		width: 100%;
		height: auto;
		display: block;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		transition: opacity 0.2s ease;
	}

	.mega-feature-icon {
		position: absolute;
		right: 14px;
		bottom: 14px;
		font-size: 2rem;
		line-height: 1;
		background: rgba(0, 0, 0, 0.35);
		border-radius: 50%;
		width: 3rem;
		height: 3rem;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: transform 0.2s ease;
	}

	.mega-feature.is-updating .mega-feature-icon {
		transform: scale(1.15);
	}

	.mega-feature-body {
		padding: 1.2rem;
		flex: 1;
		transition: opacity 0.15s ease;
	}

	.mega-feature-body h4 {
		color: var(--white);
		font-size: 1.05rem;
		margin-bottom: 0.5rem;
	}

	.mega-feature-body p {
		color: #aebfd0;
		font-size: 0.85rem;
		line-height: 1.6;
		margin-bottom: 0.9rem;
	}

	.mega-feature-link {
		color: var(--yellow);
		font-weight: 700;
		font-size: 0.85rem;
	}

	.mega-feature-link:hover {
		color: #ffdf33;
	}
}

/* Mobile: keep simple dropdown. */
@media (max-width: 768px) {
	.mega-menu {
		display: none;
		position: static;
		width: 100%;
		max-width: none;
		grid-template-columns: 1fr;
		background: transparent;
		box-shadow: none;
		border: none;
		padding: 0.5rem 0 0;
		margin: 0;
		gap: 0;
	}

	.main-navigation li.has-mega-menu.is-open > .mega-menu {
		display: block;
	}

	.mega-menu::before {
		display: none;
	}

	.mega-menu-right {
		display: none;
	}

	.mega-menu-left .sub-menu {
		display: flex !important;
		flex-direction: column;
		gap: 0.35rem;
	}

	.mega-menu-left .sub-menu a {
		padding: 0.5rem 1rem;
		font-size: 0.9rem;
	}

	.main-navigation li.has-mega-menu {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		width: 100%;
	}

	.main-navigation li.has-mega-menu > a {
		flex: 1;
	}

	.mega-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		flex-shrink: 0;
		background: rgba(255, 255, 255, 0.08);
		border: none;
		border-radius: 6px;
		color: var(--white);
		font-size: 0.85rem;
		cursor: pointer;
		transition: transform 0.2s ease, background 0.2s ease;
	}

	.main-navigation li.has-mega-menu.is-open .mega-menu-toggle {
		transform: rotate(180deg);
		background: rgba(255, 255, 255, 0.18);
	}
}

@media (min-width: 769px) {
	.mega-menu-toggle {
		display: none;
	}
}

.main-navigation a {
	color: #d7e2ee;
	font-weight: 500;
	font-size: 0.95rem;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	color: var(--yellow);
}

.main-navigation .nav-cta,
.main-navigation .nav-cta:link,
.main-navigation .nav-cta:visited,
.main-navigation .nav-cta > a,
.main-navigation .nav-cta > a:link,
.main-navigation .nav-cta > a:visited {
	background: var(--yellow) !important;
	color: #000000 !important;
	padding: 0.55rem 1.2rem !important;
	border-radius: 8px;
	font-weight: 700 !important;
}

.main-navigation .nav-cta:hover,
.main-navigation .nav-cta:focus,
.main-navigation .nav-cta > a:hover,
.main-navigation .nav-cta > a:focus {
	background: #ffc233 !important;
	color: #000000 !important;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--white);
	font-size: 1.6rem;
	cursor: pointer;
}

/* 6. Hero */
.hero {
	position: relative;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	color: var(--white);
	padding: 6rem 0;
	overflow: hidden;
}

.hero::after {
	content: '';
	position: absolute;
	right: -120px;
	top: -120px;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(30, 144, 255, 0.35), transparent 70%);
	border-radius: 50%;
}

.hero .container {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 3rem;
	align-items: center;
}

.hero h1 {
	color: var(--white);
	margin-bottom: 1.2rem;
}

.hero h1 .accent {
	color: var(--yellow);
}

.hero p.lead {
	font-size: 1.15rem;
	color: #c6d4e2;
	margin-bottom: 2rem;
	max-width: 540px;
}

.hero-badges {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	margin-top: 2rem;
}

.hero-badge {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.82rem;
	line-height: 1.25;
	color: #d7e2ee;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	padding: 0.7rem 0.6rem;
	min-height: 56px;
}

.hero-badge .icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	background: rgba(30, 144, 255, 0.2);
	color: var(--yellow);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-badge .icon .icon-svg {
	width: 18px;
	height: 18px;
}

.hero-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow);
	color: #22303f;
}

.hero-card h3 {
	margin-bottom: 1rem;
}

.hero-card-logo {
	display: flex;
	justify-content: center;
	margin-bottom: 1.2rem;
}

.hero-card-logo .logo-sweep-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.4rem 1.1rem;
	border-radius: 14px;
	overflow: hidden;
}

.hero-card-logo-mark {
	width: 48px;
	height: 48px;
	display: block;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	flex-shrink: 0;
}

.hero-card-logo-title {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	text-align: left;
}

.hero-card-logo-name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--navy);
}

.hero-card-logo-tagline {
	font-size: 0.68rem;
	font-weight: 400;
	color: #6b7c8d;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.hero-card-logo .logo-sweep-wrap::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 200%;
	height: 100%;
	transform: translateX(-75%) skewX(-20deg);
	background: linear-gradient(
		100deg,
		rgba(255, 255, 255, 0) 35%,
		rgba(255, 255, 255, 0.85) 50%,
		rgba(255, 255, 255, 0) 65%
	);
	pointer-events: none;
	animation: heroLogoSweep 3.2s ease-in-out infinite;
}

@keyframes heroLogoSweep {
	0% {
		transform: translateX(-75%) skewX(-20deg);
	}
	40%,
	100% {
		transform: translateX(25%) skewX(-20deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-card-logo .logo-sweep-wrap::after {
		animation: none;
	}
}

/* Marquee */
.marquee {
	background: var(--navy);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	overflow: hidden;
	padding: 1rem 0;
}

.marquee-track {
	display: flex;
	width: max-content;
	animation: peag-marquee 32s linear infinite;
}

.marquee-item {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	white-space: nowrap;
	color: var(--white);
	font-weight: 600;
	font-size: 1.05rem;
	padding: 0 1.6rem;
}

.marquee-star {
	width: 16px;
	height: 16px;
	color: var(--yellow);
	flex-shrink: 0;
}

@keyframes peag-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.marquee-track {
		animation: none;
	}
}

/* Stats */
.stats-section {
	background: var(--white);
	padding: 4rem 0;
}

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

.stat-item {
	text-align: center;
}

.stat-value {
	font-family: var(--font-display, inherit);
	font-size: 2.6rem;
	font-weight: 800;
	color: var(--green);
	line-height: 1.1;
}

.stat-label {
	margin-top: 0.5rem;
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--gray);
}

.hero-card .quote-form label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 0.3rem;
}

.hero-card .quote-form input,
.hero-card .quote-form select,
.hero-card .quote-form textarea {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-family: var(--font-body);
	font-size: 0.95rem;
	margin-bottom: 0.9rem;
	background: var(--off-white);
}

.hero-card .quote-form input:focus,
.hero-card .quote-form select:focus,
.hero-card .quote-form textarea:focus {
	outline: none;
	border-color: var(--green);
	background: var(--white);
}

/* 7. Buttons */
.btn {
	display: inline-block;
	padding: 0.8rem 1.6rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	border: none;
	transition: all 0.2s ease;
	text-align: center;
}

.btn--primary {
	background: var(--green);
	color: var(--white);
}

.btn--primary:hover {
	background: var(--green-dark);
	color: var(--white);
}

.btn--yellow {
	background: var(--yellow);
	color: var(--navy);
}

.btn--yellow:hover {
	background: #ffc233;
	color: var(--navy);
}

.btn--outline {
	background: transparent;
	color: var(--white);
	border: 2px solid rgba(255, 255, 255, 0.5);
}

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

.btn--block {
	display: block;
	width: 100%;
}

/* 8. Sections */
/* 9. Services */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.6rem;
}

.service-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
}

.service-card .icon {
	width: 60px;
	height: 60px;
	background: rgba(29, 134, 96, 0.12);
	color: var(--green);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.2rem;
}

.icon-svg {
	width: 28px;
	height: 28px;
	display: block;
}

.service-card h3 {
	margin-bottom: 0.6rem;
}

.service-card p {
	color: var(--gray);
	font-size: 0.95rem;
}

/* 10. Why Choose Us */
.why-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.6rem;
}

.why-item {
	display: flex;
	gap: 1rem;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
}

.why-item .icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	background: var(--yellow);
	color: var(--navy);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.why-item .icon .icon-svg {
	width: 24px;
	height: 24px;
}

.why-item h4 {
	margin-bottom: 0.3rem;
}

.why-item p {
	color: var(--gray);
	font-size: 0.92rem;
}

/* 11. Testimonials */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.6rem;
}

.testimonial {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.8rem;
}

.testimonial .stars {
	color: var(--yellow);
	margin-bottom: 0.8rem;
	letter-spacing: 2px;
}

.testimonial blockquote {
	font-size: 0.95rem;
	color: #33414f;
	margin-bottom: 1rem;
}

.testimonial .author {
	font-weight: 700;
	color: var(--navy);
	font-size: 0.9rem;
}

.testimonial .author span {
	display: block;
	font-weight: 400;
	color: var(--gray);
	font-size: 0.82rem;
}

/* 12. CTA Banner */
.cta-banner {
	background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
	color: var(--white);
	padding: 3.5rem 0;
	text-align: center;
}

.cta-banner h2 {
	color: var(--white);
	margin-bottom: 0.8rem;
}

.cta-banner p {
	color: rgba(255, 255, 255, 0.9);
	max-width: 640px;
	margin: 0 auto 1.8rem;
}

.cta-banner .btn--yellow {
	margin-right: 0.6rem;
}

/* 13. Contact / Quote Form */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}

.contact-info h3 {
	margin-bottom: 1rem;
}

.contact-info .info-row {
	display: flex;
	gap: 0.9rem;
	margin-bottom: 1.2rem;
	align-items: flex-start;
}

.contact-info .info-row .icon {
	width: 44px;
	height: 44px;
	background: rgba(30, 144, 255, 0.12);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	flex-shrink: 0;
}

.contact-info .info-row strong {
	display: block;
	color: var(--navy);
}

.contact-info .info-row p {
	color: var(--gray);
	font-size: 0.95rem;
}

.map-embed {
	position: relative;
	width: 100%;
	padding-top: 45%;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.map-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.quote-form-wrap {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow);
}

.quote-form label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 0.3rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-family: var(--font-body);
	font-size: 0.95rem;
	margin-bottom: 1rem;
	background: var(--off-white);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
	outline: none;
	border-color: var(--green);
	background: var(--white);
}

.form-note {
	font-size: 0.8rem;
	color: var(--gray);
	margin-top: 0.6rem;
}

.form-success {
	background: #e6f7ee;
	border: 1px solid #b7e6cd;
	color: #1a7a44;
	padding: 1rem;
	border-radius: 8px;
	margin-bottom: 1rem;
	font-weight: 600;
}

/* 14. Footer */
.site-footer {
	background: var(--navy);
	color: #aebfd0;
	padding: 3.5rem 0 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 2.5rem;
	padding-bottom: 2.5rem;
}

.site-footer h4 {
	color: var(--white);
	margin-bottom: 1rem;
	font-size: 1rem;
}

.site-footer p {
	font-size: 0.9rem;
}

.site-footer ul li {
	margin-bottom: 0.6rem;
}

.site-footer ul a {
	color: #aebfd0;
	font-size: 0.9rem;
}

.site-footer ul a:hover {
	color: var(--yellow);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.2rem 0;
	text-align: center;
	font-size: 0.82rem;
}

/* 15. Multi-step Form */
.ms-progress {
	margin-bottom: 1.4rem;
}

.ms-progress-bar {
	height: 6px;
	background: var(--gray-light);
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 0.8rem;
}

.ms-progress-bar span {
	display: block;
	height: 100%;
	width: 33.33%;
	background: var(--green);
	border-radius: 6px;
	transition: width 0.3s ease;
}

.ms-steps {
	display: flex;
	justify-content: space-between;
}

.ms-step {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--gray-light);
	color: var(--gray);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
	transition: all 0.3s ease;
}

.ms-step.is-active {
	background: var(--green);
	color: var(--white);
}

.ms-step.is-done {
	background: var(--green-bright);
	color: var(--white);
}

.ms-panel {
	display: none;
}

.ms-panel.is-active {
	display: block;
}

.ms-title {
	margin-bottom: 1rem;
	font-size: 1.05rem;
}

.ms-nav {
	display: flex;
	gap: 0.6rem;
	margin-top: 0.4rem;
}

.ms-nav .btn {
	flex: 1;
}

.btn--ghost {
	background: var(--gray-light);
	color: var(--navy);
}

.btn--ghost:hover {
	background: var(--border);
	color: var(--navy);
}

/* Service Areas */
.areas-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.9rem;
	max-width: 900px;
	margin: 0 auto;
}

.area-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 50px;
	padding: 0.6rem 1.2rem;
	font-weight: 600;
	color: var(--navy);
	font-size: 0.95rem;
	text-decoration: none;
	transition: all 0.2s ease;
}

.area-chip:hover {
	background: var(--green);
	border-color: var(--green);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.area-pin {
	color: var(--green);
	font-size: 1rem;
}

.area-chip:hover .area-pin {
	color: var(--yellow);
}

.page-intro {
	font-size: 1.1rem;
	color: var(--gray);
	max-width: 760px;
	margin: 0 auto 2rem;
	text-align: center;
}

.page-content {
	max-width: 820px;
	margin: 0 auto;
}

.page-content h2 {
	margin: 2rem 0 1rem;
	font-size: 1.6rem;
}

.page-content h3 {
	margin: 1.5rem 0 0.8rem;
}

.page-content p {
	color: var(--gray);
	margin-bottom: 1.1rem;
	line-height: 1.8;
}

.page-content ul {
	list-style: disc;
	padding-left: 1.4rem;
	margin-bottom: 1.1rem;
	color: var(--gray);
}

.page-content li {
	margin-bottom: 0.5rem;
}

.page-content .btn {
	margin-top: 0.5rem;
}

/* 16. Service Pages */
.page-hero {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	color: var(--white);
	padding: 4rem 0;
	text-align: center;
}

.page-hero h1 {
	color: var(--white);
	margin-bottom: 0.8rem;
}

.page-hero p {
	color: #c6d4e2;
	max-width: 640px;
	margin: 0 auto;
}

.service-hero {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	color: var(--white);
	padding: 3.5rem 0 4.5rem;
	position: relative;
	overflow: hidden;
}

.service-hero::after {
	content: '';
	position: absolute;
	right: -100px;
	top: -100px;
	width: 380px;
	height: 380px;
	background: radial-gradient(circle, rgba(29, 134, 96, 0.4), transparent 70%);
	border-radius: 50%;
}

.service-hero .container {
	position: relative;
	z-index: 2;
}

.breadcrumb {
	font-size: 0.85rem;
	margin-bottom: 2rem;
	color: #aebfd0;
}

.breadcrumb a {
	color: #aebfd0;
}

.breadcrumb a:hover {
	color: var(--yellow);
}

.breadcrumb .sep {
	margin: 0 0.5rem;
	color: #5b687b;
}

.breadcrumb .current {
	color: var(--yellow);
}

.service-hero-inner {
	max-width: 760px;
}

.service-hero-icon {
	width: 72px;
	height: 72px;
	background: rgba(29, 134, 96, 0.25);
	border: 1px solid rgba(29, 134, 96, 0.5);
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--yellow);
	margin-bottom: 1.4rem;
}

.service-hero-icon .icon-svg {
	width: 34px;
	height: 34px;
}

.service-hero h1 {
	color: var(--white);
	margin-bottom: 0.8rem;
}

.service-hero-sub {
	font-size: 1.15rem;
	color: #c6d4e2;
	max-width: 600px;
	margin-bottom: 1.8rem;
}

.service-hero-actions {
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;
}

.service-overview-text {
	max-width: 820px;
	margin: 0 auto;
	color: var(--gray);
	font-size: 1.05rem;
}

.service-content {
	max-width: 820px;
	margin: 0 auto;
}

.service-content h2 {
	margin: 2rem 0 1rem;
}

.service-content p {
	color: var(--gray);
	margin-bottom: 1rem;
}

/* Process */
.process-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.6rem;
}

.process-step {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem;
	text-align: center;
	position: relative;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
}

.process-num {
	width: 48px;
	height: 48px;
	background: var(--green);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.2rem;
	margin: 0 auto 1rem;
}

.process-step h3 {
	margin-bottom: 0.5rem;
}

.process-step p {
	color: var(--gray);
	font-size: 0.92rem;
}

/* Benefits */
.benefits-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.2rem;
	max-width: 820px;
	margin: 0 auto;
}

.benefit-item {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.2rem 1.4rem;
	font-weight: 600;
	color: var(--navy);
}

.benefit-check {
	width: 32px;
	height: 32px;
	background: var(--green);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	flex-shrink: 0;
}

/* FAQ */
.faq-list {
	max-width: 760px;
	margin: 0 auto;
}

.faq-item {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	margin-bottom: 0.8rem;
	overflow: hidden;
	background: var(--white);
}

.faq-question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.1rem 1.4rem;
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1rem;
	color: var(--navy);
	text-align: left;
}

.faq-toggle {
	font-size: 1.4rem;
	color: var(--green);
	transition: transform 0.2s ease;
}

.faq-item.is-open .faq-toggle {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0 1.4rem;
	color: var(--gray);
	font-size: 0.95rem;
}

.faq-item.is-open .faq-answer {
	max-height: 300px;
	padding: 0 1.4rem 1.2rem;
}

/* Service card link */
.service-card--link {
	display: block;
	color: inherit;
}

.service-card--link:hover {
	color: inherit;
}

.service-card-more {
	display: inline-block;
	margin-top: 1rem;
	color: var(--green);
	font-weight: 700;
	font-size: 0.9rem;
}

.service-card--link:hover .service-card-more {
	color: var(--green-dark);
}

/* 17. Responsive */
@media (max-width: 992px) {
	.services-grid,
	.testimonials-grid,
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.hero .container {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.contact-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.menu-toggle {
		display: block;
	}
	.main-navigation {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--navy);
		padding: 1rem 20px;
	}
	.main-navigation.open {
		display: block;
	}
	.main-navigation ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	.services-grid,
	.testimonials-grid,
	.why-grid {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.hero-badges {
		grid-template-columns: repeat(2, 1fr);
	}
	.topbar .container {
		justify-content: center;
		text-align: center;
	}
	.map-embed {
		padding-top: 75%;
	}
}
