/*
Theme Name: LLR Energy Solutions
Theme URI: https://llrenergysolutions.com.au
Author: LLR Energy Solutions
Author URI: https://llrenergysolutions.com.au
Description: Custom WordPress theme for LLR Energy Solutions, a licensed electrical, solar & battery contractor serving the Lockyer Valley and Gatton region in Queensland. Fully editable from the WordPress dashboard with services, projects, testimonials, FAQs and an enquiry form.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: llr-energy-solutions
Tags: business, electrician, solar, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ------------------------------------------------------------------
   Design tokens
------------------------------------------------------------------ */
:root {
	--navy: #0f172a;
	--navy-700: #1e293b;
	--navy-600: #334155;
	--red: #e12d39;
	--red-dark: #c11f2b;
	--white: #ffffff;
	--muted: #f1f5f9;
	--muted-2: #f8fafc;
	--text: #0f172a;
	--text-soft: #475569;
	--text-mute: #64748b;
	--border: #e2e8f0;
	--border-dark: #1e293b;
	--radius: 0.5rem;
	--radius-lg: 0.75rem;
	--radius-xl: 1rem;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
	--shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
	--shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.18);
	--container: 1200px;
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--header-h: 84px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 20px);
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	line-height: 1.15;
	font-weight: 800;
	color: var(--navy);
	letter-spacing: -0.02em;
}

p {
	margin: 0 0 1rem;
}

ul, ol {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.accent {
	color: var(--red);
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.narrow {
	max-width: 820px;
}

.center {
	text-align: center;
}

svg {
	display: inline-block;
	vertical-align: middle;
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	background: var(--navy);
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
	left: 0;
	color: #fff;
}

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1;
	padding: 0.75rem 1.35rem;
	border-radius: var(--radius);
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn svg {
	flex-shrink: 0;
}

.btn-primary {
	background: var(--red);
	color: #fff;
	box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
	background: var(--red-dark);
	color: #fff;
}

.btn-red {
	background: var(--red);
	color: #fff;
}

.btn-red:hover {
	background: var(--red-dark);
	color: #fff;
}

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

.btn-navy:hover {
	background: var(--navy-700);
	color: #fff;
}

.btn-white {
	background: #fff;
	color: var(--navy);
}

.btn-white:hover {
	background: var(--muted);
	color: var(--navy);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(4px);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.btn-outline {
	background: transparent;
	color: var(--navy);
	border-color: var(--border);
}

.btn-outline:hover {
	background: var(--muted);
	color: var(--navy);
}

.btn-lg {
	padding: 0.95rem 1.75rem;
	font-size: 1.05rem;
}

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

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.5rem;
}

/* ------------------------------------------------------------------
   Top bar
------------------------------------------------------------------ */
.topbar {
	background: var(--navy);
	color: #cbd5e1;
	font-size: 0.85rem;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 0.6rem;
	padding-bottom: 0.6rem;
}

.topbar a {
	color: #cbd5e1;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.topbar a:hover {
	color: #fff;
}

.topbar-contact {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.topbar-area {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.topbar .ico {
	color: var(--red);
	display: inline-flex;
}

/* ------------------------------------------------------------------
   Header / navigation
------------------------------------------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
	transition: box-shadow 0.2s ease, padding 0.2s ease;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--header-h);
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	transition: min-height 0.2s ease;
}

.site-header.is-scrolled {
	box-shadow: var(--shadow);
}

.site-header.is-scrolled .header-inner {
	min-height: 68px;
}

.site-branding img,
.custom-logo {
	height: 54px;
	width: auto;
	border-radius: var(--radius);
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}

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

.nav-menu a {
	color: var(--navy);
	font-weight: 600;
	font-size: 0.95rem;
	position: relative;
	padding-bottom: 2px;
}

.nav-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 2px;
	background: var(--red);
	transition: width 0.2s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
	color: var(--red);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after {
	width: 100%;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--navy);
	cursor: pointer;
	padding: 0.35rem;
	line-height: 0;
}

.menu-toggle .icon-close {
	display: none;
}

body.menu-open .menu-toggle .icon-open {
	display: none;
}

body.menu-open .menu-toggle .icon-close {
	display: inline-flex;
}

/* Mobile nav panel */
.mobile-nav {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
	background: #fff;
	padding-top: calc(var(--header-h) + 8px);
	overflow-y: auto;
}

body.menu-open {
	overflow: hidden;
}

body.menu-open .mobile-nav {
	display: block;
}

.mobile-menu {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	border-top: 1px solid var(--border);
}

.mobile-menu li {
	border-bottom: 1px solid var(--border);
}

.mobile-menu a {
	display: block;
	padding: 1rem 0.25rem;
	color: var(--navy);
	font-weight: 600;
	font-size: 1.1rem;
}

.mobile-menu a:hover {
	color: var(--red);
}

.mobile-contact {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
}

.mobile-contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--navy);
	font-weight: 600;
}

.circle-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--muted);
	color: var(--red);
	flex-shrink: 0;
}

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------ */
.site-main {
	display: block;
}

.section {
	padding: 5rem 0;
}

.section-muted {
	background: var(--muted);
}

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

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--red);
	margin-bottom: 0.75rem;
}

.section-title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	margin-bottom: 1rem;
}

.section-title.left {
	text-align: left;
}

.section-intro {
	color: var(--text-mute);
	font-size: 1.1rem;
	margin: 0;
}

.lead {
	font-size: 1.05rem;
	color: var(--text-soft);
}

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */
.hero {
	position: relative;
	color: #fff;
	background-image: var(--hero-img);
	background-size: cover;
	background-position: center;
	background-color: var(--navy);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 45%, rgba(15, 23, 42, 0.45) 100%);
}

.hero-inner {
	position: relative;
	z-index: 1;
	padding: 6rem 1.5rem 6.5rem;
}

.hero-content {
	max-width: 640px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(225, 45, 57, 0.15);
	border: 1px solid rgba(225, 45, 57, 0.5);
	color: #fecaca;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.hero-badge svg {
	color: var(--red);
}

.hero-title {
	color: #fff;
	font-size: clamp(2.25rem, 6vw, 4rem);
	font-weight: 900;
	margin-bottom: 1.25rem;
}

.hero-subtitle {
	font-size: 1.2rem;
	color: #e2e8f0;
	margin-bottom: 2rem;
	max-width: 34rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	color: #e2e8f0;
	font-size: 0.95rem;
	font-weight: 500;
}

.hero-trust span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.hero-trust svg {
	color: var(--red);
}

/* ------------------------------------------------------------------
   Cards grids
------------------------------------------------------------------ */
.cards-grid {
	display: grid;
	gap: 1.5rem;
}

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

.cards-3 {
	grid-template-columns: repeat(3, 1fr);
}

.service-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2rem;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	height: 100%;
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: transparent;
}

.service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: var(--radius-lg);
	background: var(--navy);
	color: #fff;
	margin-bottom: 1.25rem;
	transition: background 0.2s ease;
}

.service-card:hover .service-icon {
	background: var(--red);
}

.service-card-title {
	font-size: 1.2rem;
	margin-bottom: 0.6rem;
}

.service-card-desc {
	color: var(--text-mute);
	font-size: 0.95rem;
	margin-bottom: 1.25rem;
	flex-grow: 1;
}

.learn-more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--red);
	font-weight: 600;
	font-size: 0.9rem;
	margin-top: auto;
}

.service-card:hover .learn-more {
	gap: 0.65rem;
}

/* ------------------------------------------------------------------
   About split (homepage + about page)
------------------------------------------------------------------ */
.about-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3.5rem;
	align-items: center;
}

.about-split-text-first .about-text {
	order: 1;
}

.about-media {
	position: relative;
}

.about-media-main img {
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
	width: 100%;
	object-fit: cover;
}

.about-media-float {
	position: absolute;
	right: -1.5rem;
	bottom: -1.5rem;
	width: 45%;
	border: 6px solid #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.about-media-float img {
	width: 100%;
	object-fit: cover;
}

.about-photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.about-photos img {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.about-photos .photo-1 {
	grid-row: span 2;
	height: 100%;
}

.check-list {
	list-style: none;
	margin: 1.5rem 0 2rem;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	color: var(--text-soft);
}

.check-list svg {
	color: var(--red);
	flex-shrink: 0;
	margin-top: 2px;
}

/* Values grid (about) */
.values-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 2rem;
}

.value-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.value-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--radius);
	background: var(--muted);
	color: var(--red);
	flex-shrink: 0;
}

.value-title {
	font-size: 1.05rem;
	margin-bottom: 0.25rem;
}

.value-desc {
	color: var(--text-mute);
	font-size: 0.9rem;
	margin: 0;
}

/* Commitment cards */
.commit-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2rem;
	box-shadow: var(--shadow-sm);
}

.commit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(225, 45, 57, 0.1);
	color: var(--red);
	margin-bottom: 1rem;
}

.commit-title {
	font-size: 1.15rem;
	margin-bottom: 0.6rem;
}

.commit-desc {
	color: var(--text-mute);
	font-size: 0.95rem;
	margin: 0;
}

/* ------------------------------------------------------------------
   CTA band
------------------------------------------------------------------ */
.cta {
	position: relative;
	background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), var(--cta-img);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: #fff;
	text-align: center;
}

.cta-inner {
	padding: 5rem 1.5rem;
	max-width: 720px;
}

.cta-title {
	color: #fff;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	margin-bottom: 1rem;
}

.cta-text {
	color: #e2e8f0;
	font-size: 1.15rem;
	margin-bottom: 2rem;
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

/* ------------------------------------------------------------------
   Page hero (interior pages)
------------------------------------------------------------------ */
.page-hero {
	padding: 4rem 0;
	text-align: center;
}

.page-hero-muted {
	background: var(--muted);
}

.page-hero-navy {
	background: var(--navy);
}

.page-hero-navy .page-hero-title,
.page-hero-navy .page-hero-subtitle {
	color: #fff;
}

.page-hero-title {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 0.75rem;
}

.page-hero-subtitle {
	color: var(--text-mute);
	font-size: 1.15rem;
	max-width: 640px;
	margin: 0 auto;
}

.page-hero-navy .page-hero-subtitle {
	color: #cbd5e1;
}

/* ------------------------------------------------------------------
   Prose
------------------------------------------------------------------ */
.prose {
	color: var(--text-soft);
	font-size: 1.05rem;
}

.prose h2,
.prose h3 {
	color: var(--navy);
	margin-top: 2rem;
}

.prose a {
	text-decoration: underline;
}

.prose ul,
.prose ol {
	padding-left: 1.5rem;
}

.prose img {
	border-radius: var(--radius-lg);
	margin: 1.5rem 0;
}

/* ------------------------------------------------------------------
   Services page (rows)
------------------------------------------------------------------ */
.emergency-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	background: var(--navy);
	color: #fff;
	border-radius: var(--radius-xl);
	padding: 2rem;
	margin-bottom: 4rem;
}

.emergency-info {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.emergency-icon {
	color: var(--red);
	flex-shrink: 0;
}

.emergency-title {
	color: #fff;
	margin-bottom: 0.25rem;
	font-size: 1.35rem;
}

.emergency-info p {
	margin: 0;
	color: #cbd5e1;
}

.service-list {
	display: flex;
	flex-direction: column;
	gap: 4.5rem;
}

.service-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.service-row.is-reverse .service-row-text {
	order: 2;
}

.service-row-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: var(--radius-lg);
	background: var(--navy);
	color: #fff;
	margin-bottom: 1.25rem;
}

.service-row-title {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}

.service-row-media {
	position: relative;
}

.service-row-img img {
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
	width: 100%;
	object-fit: cover;
}

.service-row-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-xl);
	background: var(--muted);
	color: #cbd5e1;
}

.check-grid {
	list-style: none;
	margin: 1.5rem 0 2rem;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.check-grid li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	color: var(--text-soft);
	font-size: 0.95rem;
}

.check-grid svg {
	color: var(--red);
	flex-shrink: 0;
	margin-top: 2px;
}

/* ------------------------------------------------------------------
   Projects
------------------------------------------------------------------ */
.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-bottom: 3rem;
}

.filter-btn {
	font-family: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.6rem 1.35rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #fff;
	color: var(--navy);
	cursor: pointer;
	transition: all 0.15s ease;
}

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

.filter-btn.is-active {
	background: var(--navy);
	color: #fff;
	border-color: var(--navy);
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.project-tile {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	box-shadow: var(--shadow);
	background: var(--navy);
}

.project-media {
	position: absolute;
	inset: 0;
}

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

.project-tile:hover .project-media img {
	transform: scale(1.05);
}

.project-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.5rem;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.1) 60%, transparent 100%);
}

.project-cat {
	display: inline-block;
	align-self: flex-start;
	background: var(--red);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	margin-bottom: 0.5rem;
}

.project-title {
	color: #fff;
	font-size: 1.2rem;
	margin: 0;
}

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

.testimonial-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2.25rem;
	box-shadow: var(--shadow-sm);
}

.stars {
	display: flex;
	gap: 0.15rem;
	color: #f59e0b;
	margin-bottom: 1rem;
}

.stars svg {
	fill: currentColor;
}

.testimonial-text {
	font-size: 1.1rem;
	color: var(--text-soft);
	font-style: italic;
	margin-bottom: 1.5rem;
}

.author-name {
	font-weight: 700;
	color: var(--navy);
}

.author-location {
	color: var(--text-mute);
	font-size: 0.9rem;
}

/* ------------------------------------------------------------------
   FAQ
------------------------------------------------------------------ */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.faq-item {
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: #fff;
	overflow: hidden;
}

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

.faq-chevron {
	color: var(--red);
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.faq-item.is-open .faq-chevron {
	transform: rotate(90deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-answer {
	max-height: 500px;
}

.faq-answer-inner {
	padding: 0 1.5rem 1.5rem;
	color: var(--text-soft);
}

.faq-cta {
	margin-top: 3rem;
	text-align: center;
	background: var(--muted);
	border-radius: var(--radius-xl);
	padding: 3rem 2rem;
}

.faq-cta h3 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

.faq-cta p {
	color: var(--text-mute);
	margin-bottom: 1.5rem;
}

/* ------------------------------------------------------------------
   Contact
------------------------------------------------------------------ */
.contact-split {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 3.5rem;
	align-items: start;
}

.contact-details {
	list-style: none;
	margin: 2rem 0;
	padding: 0;
	display: grid;
	gap: 1.5rem;
}

.contact-details li {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.contact-details h3 {
	font-size: 1rem;
	margin-bottom: 0.2rem;
}

.contact-details a,
.contact-details p {
	color: var(--text-soft);
	margin: 0;
}

.contact-details a:hover {
	color: var(--red);
}

.emergency-box {
	background: var(--navy);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	margin-top: 2rem;
}

.emergency-box-head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.emergency-box-head h3 {
	color: #fff;
	margin: 0;
	font-size: 1.2rem;
}

.emergency-box p {
	color: #cbd5e1;
	margin-bottom: 1rem;
}

.emergency-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #fff;
	font-weight: 700;
}

.emergency-link:hover {
	color: var(--red);
}

.contact-form-wrap {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 2.5rem;
	box-shadow: var(--shadow);
}

.form-heading {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.form-field {
	margin-bottom: 1.25rem;
	display: flex;
	flex-direction: column;
}

.form-field label {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--navy);
	margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
	font-family: inherit;
	font-size: 1rem;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
	color: var(--text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--red);
	box-shadow: 0 0 0 3px rgba(225, 45, 57, 0.12);
}

.form-field textarea {
	resize: vertical;
}

.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	padding: 0.85rem 1rem;
	border-radius: var(--radius);
	margin-bottom: 1.25rem;
	font-size: 0.95rem;
}

.form-success {
	text-align: center;
	padding: 1.5rem 0;
}

.success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(34, 197, 94, 0.12);
	color: #16a34a;
	margin-bottom: 1.25rem;
}

.form-success h2 {
	margin-bottom: 0.75rem;
}

.form-success p {
	color: var(--text-mute);
	margin-bottom: 1.5rem;
}

/* ------------------------------------------------------------------
   Single / archive
------------------------------------------------------------------ */
.single-layout {
	max-width: 860px;
}

.single-media {
	margin-bottom: 2rem;
}

.single-media img {
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow);
	width: 100%;
}

.single-actions {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border);
}

.tile {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	height: 100%;
}

.tile:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.tile-media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.tile-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tile-body {
	padding: 1.5rem;
}

.tile-title {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
	color: var(--navy);
}

.tile-excerpt {
	color: var(--text-mute);
	font-size: 0.95rem;
	margin: 0;
}

.pagination {
	margin-top: 3rem;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 0.5rem;
	margin: 0 0.2rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	color: var(--navy);
	font-weight: 600;
}

.pagination .page-numbers.current {
	background: var(--navy);
	color: #fff;
	border-color: var(--navy);
}

.empty {
	color: var(--text-mute);
	text-align: center;
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.site-footer {
	background: var(--navy);
	color: #cbd5e1;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 2.5rem;
	padding-top: 4rem;
	padding-bottom: 3rem;
}

.footer-logo img {
	height: auto;
	width: 200px;
	border-radius: 0;
	background: transparent;
	padding: 0.35rem 0.5rem;
	margin-bottom: 1rem;
}

.footer-tagline {
	color: #94a3b8;
	font-size: 0.95rem;
}

.footer-social {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--navy-700);
	color: #fff;
	transition: background 0.15s ease;
}

.footer-social a:hover {
	background: var(--red);
	color: #fff;
}

.footer-heading {
	color: #fff;
	font-size: 1.05rem;
	margin-bottom: 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.footer-heading .accent {
	color: var(--red);
	display: inline-flex;
}

.footer-links,
.footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.footer-links a {
	color: #cbd5e1;
	font-size: 0.95rem;
}

.footer-links a:hover {
	color: var(--red);
}

.footer-contact li {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.footer-contact .ico {
	color: var(--red);
	display: inline-flex;
	flex-shrink: 0;
	margin-top: 2px;
}

.footer-contact .label {
	display: block;
	font-size: 0.8rem;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.footer-contact a {
	color: #fff;
}

.footer-contact a:hover {
	color: var(--red);
}

.footer-bottom {
	border-top: 1px solid var(--border-dark);
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	font-size: 0.85rem;
	color: #94a3b8;
}

.footer-bottom-inner p {
	margin: 0;
}

.footer-legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.25rem;
}

.footer-legal a {
	color: #94a3b8;
	font-size: 0.85rem;
}

.footer-legal a:hover {
	color: #fff;
}

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.cards-4 {
		grid-template-columns: repeat(2, 1fr);
	}

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

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

@media (max-width: 860px) {
	.main-nav {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.section {
		padding: 3.5rem 0;
	}

	.about-split,
	.service-row,
	.service-row.is-reverse .service-row-text,
	.contact-split,
	.about-photos {
		grid-template-columns: 1fr;
	}

	.about-split-text-first .about-text,
	.service-row.is-reverse .service-row-text {
		order: 0;
	}

	.about-media {
		margin-bottom: 3rem;
	}

	.about-media-float {
		width: 40%;
		right: 0;
	}

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

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

	.hero-inner {
		padding: 4rem 1.5rem;
	}

	.cta {
		background-attachment: scroll;
	}
}

@media (max-width: 560px) {
	.cards-4,
	.cards-3,
	.projects-grid,
	.form-row,
	.check-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.topbar-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.4rem;
	}

	.topbar-area {
		display: none;
	}

	.emergency-banner {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}