/*
Theme Name: AquaPro
Theme URI: https://example.com/aquapro
Author: AquaPro
Author URI: https://example.com
Description: Premium water filtration theme for Australian businesses. Modern, conversion-focused, fully responsive.
Version: 1.5.1
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: aquapro
Tags: custom-menu, featured-images, full-width-template, one-column, custom-colors

AquaPro — Pure water. Healthier life.
*/

/* ==========================================================================
   CSS Variables & Base
   ========================================================================== */

:root {
	--ap-primary: #00aeef;
	--ap-primary-dark: #0095d0;
	--ap-secondary: #0a2540;
	--ap-accent: #00d1ff;
	--ap-white: #ffffff;
	--ap-bg: #f6fbfd;
	--ap-bg-gradient: linear-gradient(180deg, #ffffff 0%, #eef8fc 50%, #f6fbfd 100%);
	--ap-text: #1a2b3c;
	--ap-text-muted: #5a6b7c;
	--ap-border: rgba(10, 37, 64, 0.08);
	--ap-shadow: 0 8px 32px rgba(10, 37, 64, 0.08);
	--ap-shadow-lg: 0 24px 64px rgba(10, 37, 64, 0.12);
	--ap-radius: 16px;
	--ap-radius-sm: 12px;
	--ap-max: 1200px;
	--ap-header-h: 80px;
	--ap-font: "Inter", system-ui, -apple-system, sans-serif;
	--ap-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--ap-font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ap-text);
	background: var(--ap-bg);
	background-image: var(--ap-bg-gradient);
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--ap-primary);
	text-decoration: none;
	transition: color var(--ap-transition), opacity var(--ap-transition);
}

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

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.2;
	color: var(--ap-secondary);
	margin-top: 0;
}

p {
	margin-top: 0;
}

ul, ol {
	margin: 0;
	padding: 0;
}

.ap-container {
	width: 100%;
	max-width: var(--ap-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.ap-section {
	padding: 4rem 0;
}

@media (min-width: 768px) {
	.ap-section {
		padding: 5.5rem 0;
	}
}

.ap-section-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	text-align: center;
	margin-bottom: 0.75rem;
	letter-spacing: -0.02em;
}

.ap-section-sub {
	text-align: center;
	color: var(--ap-text-muted);
	max-width: 560px;
	margin: 0 auto 2.5rem;
	font-size: 1.05rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.ap-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 1.75rem;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	transition: transform var(--ap-transition), box-shadow var(--ap-transition);
}

.ap-btn--primary {
	background: linear-gradient(135deg, var(--ap-primary) 0%, #00c4f0 100%);
	color: var(--ap-white);
	box-shadow: 0 4px 24px rgba(0, 174, 239, 0.35);
}

.ap-btn--primary:hover {
	color: var(--ap-white);
	transform: translateY(-2px);
	box-shadow: 0 8px 32px rgba(0, 174, 239, 0.45);
}

.ap-btn--primary::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 60%);
	opacity: 0;
	transition: opacity 0.4s;
	pointer-events: none;
}

.ap-btn--primary:hover::after {
	opacity: 1;
}

.ap-btn--outline {
	background: transparent;
	color: var(--ap-secondary);
	border: 2px solid rgba(10, 37, 64, 0.15);
	box-shadow: none;
}

.ap-btn--outline:hover {
	border-color: var(--ap-primary);
	color: var(--ap-primary);
	transform: translateY(-2px);
}

.ap-btn--light {
	background: var(--ap-white);
	color: var(--ap-secondary);
	box-shadow: var(--ap-shadow);
}

.ap-btn--light:hover {
	color: var(--ap-primary);
	box-shadow: var(--ap-shadow-lg);
}

/* ==========================================================================
   Header
   ========================================================================== */

.ap-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--ap-header-h);
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: background var(--ap-transition), box-shadow var(--ap-transition), border-color var(--ap-transition);
}

.ap-header.is-scrolled {
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 4px 24px rgba(10, 37, 64, 0.06);
	border-bottom-color: var(--ap-border);
}

.ap-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--ap-header-h);
	gap: 0.75rem;
	min-width: 0;
}

.ap-header__brand {
	flex-shrink: 0;
	min-width: 0;
}

.ap-header .ap-logo__img {
	height: 50px;
	max-height: 50px;
	width: auto;
	max-width: 150px;
	object-fit: contain;
	object-position: left center;
}

.ap-header__brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.ap-header__brand .custom-logo-link img {
	max-height: 44px;
	width: auto;
	height: auto;
}

.ap-logo {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 800;
	font-size: 1.35rem;
	color: var(--ap-secondary);
	letter-spacing: -0.03em;
}

.ap-logo--image {
	gap: 0;
	line-height: 0;
}

.ap-logo__img {
	display: block;
	flex-shrink: 0;
	height: 62px;
	width: auto;
	max-height: 62px;
	object-fit: contain;
	object-position: left center;
	border-radius: 6px;
}

.ap-logo--footer .ap-logo__img {
	height: 72px;
	max-height: 72px;
}

.ap-logo:hover {
	color: var(--ap-secondary);
}

.ap-logo__mark {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(145deg, var(--ap-primary), var(--ap-accent));
	display: grid;
	place-items: center;
	color: var(--ap-white);
	font-size: 1.1rem;
	box-shadow: 0 4px 16px rgba(0, 174, 239, 0.35);
}

.ap-nav {
	display: none;
	flex: 1 1 auto;
	min-width: 0;
}

@media (min-width: 1100px) {
	.ap-nav {
		display: block;
	}
}

.ap-nav ul,
.ap-nav .ap-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 1rem;
}

@media (min-width: 1280px) {
	.ap-nav ul,
	.ap-nav .ap-nav-list {
		gap: 1.5rem;
	}
}

.ap-nav a {
	color: var(--ap-secondary);
	font-weight: 500;
	font-size: 0.875rem;
	white-space: nowrap;
}

@media (min-width: 1280px) {
	.ap-nav a {
		font-size: 0.95rem;
	}
}

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

.ap-header__cta {
	display: none;
}

.ap-header__actions {
	display: none;
	flex-shrink: 0;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.5rem;
}

@media (min-width: 1100px) {
	.ap-header__actions {
		display: flex;
	}
}

@media (min-width: 1100px) and (max-width: 1279px) {
	.ap-header__actions .ap-btn--header-ghost {
		display: none;
	}
}

.ap-btn--header {
	font-family: var(--pl-font-display, inherit);
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.65rem 1rem;
	min-height: 2.5rem;
	white-space: nowrap;
	border: 2px solid transparent;
}

@media (min-width: 1280px) {
	.ap-btn--header {
		font-size: 0.6875rem;
		letter-spacing: 0.12em;
		padding: 0.7rem 1.35rem;
		min-height: 2.75rem;
	}
}

.ap-btn--header-solid {
	background: linear-gradient(180deg, #00d1ff 0%, #00aeef 100%);
	color: #0f172a;
	box-shadow: 0 6px 28px rgba(0, 174, 239, 0.4);
}

.ap-btn--header-solid:hover {
	color: #0f172a;
	transform: translateY(-2px);
	box-shadow: 0 10px 36px rgba(0, 209, 255, 0.5);
}

.ap-btn--header-ghost {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.ap-btn--header-ghost:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.65);
	color: #fff;
	transform: translateY(-2px);
}

.ap-header.is-scrolled .ap-btn--header-ghost,
body:not(.aquapro-premium-home) .ap-btn--header-ghost {
	background: #fff;
	color: #1e3a8a;
	border-color: rgba(30, 58, 138, 0.2);
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.ap-header.is-scrolled .ap-btn--header-ghost:hover,
body:not(.aquapro-premium-home) .ap-btn--header-ghost:hover {
	border-color: #00aeef;
	color: #1e3a8a;
}

.ap-btn__icon {
	flex-shrink: 0;
}

.ap-mobile-nav__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.85rem;
	margin-top: 1.25rem;
	padding: 1.25rem 0.25rem 0.5rem;
	border-top: 1px solid var(--ap-border);
}

.ap-mobile-nav__actions .ap-btn--header {
	display: flex;
	width: 100%;
	max-width: 100%;
	margin: 0;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}

.ap-mobile-nav__actions .ap-btn--header-solid {
	box-shadow: 0 4px 20px rgba(0, 174, 239, 0.32);
}

.ap-mobile-nav__actions .ap-btn--header-solid:hover,
.ap-mobile-nav__actions .ap-btn--header-solid:focus-visible {
	transform: none;
	box-shadow: 0 6px 24px rgba(0, 174, 239, 0.4);
}

.ap-mobile-nav__actions .ap-btn--header-ghost {
	background: #fff;
	color: #1e3a8a;
	border-color: rgba(30, 58, 138, 0.2);
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.ap-mobile-nav__actions .ap-btn--header-ghost:hover,
.ap-mobile-nav__actions .ap-btn--header-ghost:focus-visible {
	background: #fff;
	color: #1e3a8a;
	border-color: #00aeef;
	transform: none;
}

.ap-menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 8px;
}

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

.ap-menu-toggle span {
	display: block;
	height: 2px;
	width: 24px;
	background: var(--ap-secondary);
	border-radius: 2px;
	transition: transform var(--ap-transition);
}

.ap-menu-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.ap-menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.ap-menu-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

.ap-mobile-nav {
	position: fixed;
	top: var(--ap-header-h);
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	padding: 1.25rem clamp(1.25rem, 5vw, 1.75rem);
	padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
	transform: translateX(100%);
	transition: transform var(--ap-transition), visibility var(--ap-transition);
	z-index: 1001;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	visibility: hidden;
	pointer-events: none;
}

.ap-mobile-nav.is-open {
	transform: translateX(0);
	visibility: visible;
	pointer-events: auto;
}

.ap-mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.ap-mobile-nav a {
	display: block;
	padding: 0.85rem 0;
	font-weight: 600;
	color: var(--ap-secondary);
	border-bottom: 1px solid var(--ap-border);
}

.ap-mobile-nav .ap-btn {
	margin-top: 0;
	width: 100%;
}

body.ap-nav-open {
	overflow: hidden;
}

body.ap-nav-open .ap-header {
	z-index: 1002;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.ap-hero {
	position: relative;
	min-height: min(92vh, 880px);
	padding-top: calc(var(--ap-header-h) + 3rem);
	padding-bottom: 4rem;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.ap-hero__bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(165deg, #e8f7fc 0%, #ffffff 45%, #f0fbff 100%);
	z-index: 0;
}

.ap-hero__blobs {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.ap-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(1px);
	opacity: 0.55;
	animation: ap-float 18s ease-in-out infinite;
}

.ap-blob--1 {
	width: min(55vw, 420px);
	height: min(55vw, 420px);
	background: radial-gradient(circle, rgba(0, 209, 255, 0.45) 0%, rgba(0, 174, 239, 0.1) 70%);
	top: -10%;
	right: -5%;
	animation-delay: 0s;
}

.ap-blob--2 {
	width: min(40vw, 320px);
	height: min(40vw, 320px);
	background: radial-gradient(circle, rgba(0, 174, 239, 0.35) 0%, transparent 70%);
	bottom: 10%;
	left: -8%;
	animation-delay: -6s;
	animation-duration: 22s;
}

.ap-blob--3 {
	width: min(25vw, 200px);
	height: min(25vw, 200px);
	background: radial-gradient(circle, rgba(0, 209, 255, 0.4) 0%, transparent 70%);
	top: 40%;
	left: 35%;
	animation-delay: -12s;
	animation-duration: 15s;
}

@keyframes ap-float {
	0%, 100% {
		transform: translate(0, 0) scale(1);
	}
	33% {
		transform: translate(12px, -20px) scale(1.03);
	}
	66% {
		transform: translate(-8px, 12px) scale(0.98);
	}
}

.ap-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

@media (min-width: 900px) {
	.ap-hero__grid {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
}

.ap-hero__content {
	max-width: 560px;
}

.ap-hero__eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--ap-primary);
	margin-bottom: 1rem;
}

.ap-hero__title {
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	letter-spacing: -0.03em;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, var(--ap-secondary) 0%, #1a4a6e 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.ap-hero__text {
	font-size: 1.15rem;
	color: var(--ap-text-muted);
	margin-bottom: 1.75rem;
	line-height: 1.65;
}

.ap-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.ap-hero__note {
	font-size: 0.875rem;
	color: var(--ap-text-muted);
	margin-top: 1.25rem;
}

.ap-hero__visual {
	position: relative;
	min-height: 280px;
}

@media (min-width: 900px) {
	.ap-hero__visual {
		min-height: 380px;
	}
}

.ap-hero__card {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	max-width: 400px;
	background: var(--ap-white);
	border-radius: var(--ap-radius);
	padding: 1.75rem;
	box-shadow: var(--ap-shadow-lg);
	border: 1px solid var(--ap-border);
}

.ap-hero__stat {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--ap-border);
}

.ap-hero__stat:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.ap-hero__stat-num {
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--ap-primary);
	line-height: 1;
}

.ap-hero__stat-label {
	font-size: 0.9rem;
	color: var(--ap-text-muted);
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.ap-trust {
	background: var(--ap-secondary);
	color: var(--ap-white);
	padding: 1.25rem 0;
}

.ap-trust__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem 2.5rem;
	align-items: center;
	text-align: center;
}

@media (min-width: 768px) {
	.ap-trust__row {
		justify-content: space-between;
	}
}

.ap-trust__item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.95rem;
	font-weight: 600;
}

.ap-trust__icon {
	width: 22px;
	height: 22px;
	color: var(--ap-accent);
	flex-shrink: 0;
}

/* ==========================================================================
   Cards & grids
   ========================================================================== */

.ap-grid-2 {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.ap-grid-2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ap-grid-3 {
	display: grid;
	gap: 1.5rem;
}

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

.ap-grid-4 {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.ap-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.ap-grid-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

.ap-card {
	background: var(--ap-white);
	border-radius: var(--ap-radius);
	padding: 1.75rem;
	border: 1px solid var(--ap-border);
	box-shadow: var(--ap-shadow);
	transition: transform var(--ap-transition), box-shadow var(--ap-transition), border-color var(--ap-transition);
}

.ap-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--ap-shadow-lg);
	border-color: rgba(0, 174, 239, 0.25);
}

.ap-card__icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: linear-gradient(145deg, rgba(0, 174, 239, 0.12), rgba(0, 209, 255, 0.08));
	display: grid;
	place-items: center;
	margin-bottom: 1.25rem;
	color: var(--ap-primary);
}

.ap-card__icon svg {
	width: 28px;
	height: 28px;
}

.ap-card__title {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

.ap-card__text {
	font-size: 0.95rem;
	color: var(--ap-text-muted);
	margin-bottom: 1.25rem;
}

/* ==========================================================================
   How it works
   ========================================================================== */

.ap-steps {
	counter-reset: ap-step;
}

.ap-step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem;
	align-items: start;
	margin-bottom: 2rem;
}

.ap-step:last-child {
	margin-bottom: 0;
}

.ap-step::before {
	counter-increment: ap-step;
	content: counter(ap-step);
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: linear-gradient(145deg, var(--ap-primary), var(--ap-accent));
	color: var(--ap-white);
	font-weight: 800;
	font-size: 1.1rem;
	display: grid;
	place-items: center;
	box-shadow: 0 6px 20px rgba(0, 174, 239, 0.35);
}

.ap-step h3 {
	font-size: 1.15rem;
	margin-bottom: 0.35rem;
}

.ap-step p {
	color: var(--ap-text-muted);
	font-size: 0.95rem;
	margin: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.ap-testimonial {
	background: var(--ap-white);
	border-radius: var(--ap-radius);
	padding: 1.75rem;
	border: 1px solid var(--ap-border);
	box-shadow: var(--ap-shadow);
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform var(--ap-transition), box-shadow var(--ap-transition);
}

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

.ap-testimonial__stars {
	color: #f5b301;
	font-size: 1rem;
	letter-spacing: 2px;
	margin-bottom: 1rem;
}

.ap-testimonial__text {
	flex: 1;
	font-size: 0.95rem;
	color: var(--ap-text-muted);
	line-height: 1.65;
	margin-bottom: 1.25rem;
	font-style: italic;
}

.ap-testimonial__author {
	font-weight: 700;
	color: var(--ap-secondary);
	font-size: 0.95rem;
}

.ap-testimonial__loc {
	font-size: 0.85rem;
	color: var(--ap-text-muted);
	margin-top: 0.2rem;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.ap-cta-band {
	position: relative;
	padding: 4rem 0;
	overflow: hidden;
}

.ap-cta-band__bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--ap-secondary) 0%, #0d3558 50%, #0a2540 100%);
	z-index: 0;
}

.ap-cta-band__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 80% 20%, rgba(0, 174, 239, 0.25) 0%, transparent 50%),
		radial-gradient(ellipse 60% 50% at 10% 90%, rgba(0, 209, 255, 0.15) 0%, transparent 45%);
}

.ap-cta-band__inner {
	position: relative;
	z-index: 1;
	text-align: center;
	color: var(--ap-white);
	max-width: 720px;
	margin: 0 auto;
}

.ap-cta-band h2 {
	color: var(--ap-white);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	margin-bottom: 1rem;
}

.ap-cta-band p {
	opacity: 0.92;
	font-size: 1.1rem;
	margin-bottom: 1.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ap-footer {
	background: #071a2e;
	color: rgba(255, 255, 255, 0.85);
	padding: 3.5rem 0 1.5rem;
}

.ap-footer__grid {
	display: grid;
	gap: 2.5rem;
	margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
	.ap-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
	}
}

.ap-footer__brand .ap-logo {
	color: var(--ap-white);
	margin-bottom: 1rem;
}

.ap-footer__brand p {
	font-size: 0.95rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}

.ap-footer h4 {
	color: var(--ap-white);
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 1.25rem;
}

.ap-footer ul {
	list-style: none;
}

.ap-footer ul li {
	margin-bottom: 0.65rem;
}

.ap-footer a {
	color: rgba(255, 255, 255, 0.75);
}

.ap-footer a:hover {
	color: var(--ap-accent);
}

.ap-footer__social {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.ap-footer__social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--ap-white);
	transition: background var(--ap-transition), transform var(--ap-transition);
}

.ap-footer__social a:hover {
	background: var(--ap-primary);
	color: var(--ap-white);
	transform: translateY(-2px);
}

.ap-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.5);
}

.ap-footer__legal {
	margin: 0;
	font-size: 0.875rem;
}

.ap-footer__legal a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

.ap-footer__legal a:hover {
	color: #fff;
	text-decoration: underline;
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

.ap-page-hero {
	padding-top: calc(var(--ap-header-h) + 3.5rem);
	padding-bottom: 2.5rem;
	background: linear-gradient(180deg, #e8f7fc 0%, #ffffff 100%);
	border-bottom: 1px solid var(--ap-border);
}

.ap-page-hero h1 {
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin-bottom: 0.5rem;
}

.ap-page-hero p {
	color: var(--ap-text-muted);
	font-size: 1.1rem;
	margin: 0;
	max-width: 640px;
}

.ap-page-content {
	padding: 3rem 0 4rem;
}

.ap-page-content .ap-container > *:first-child {
	margin-top: 0;
}

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

.ap-page-content p,
.ap-page-content li {
	color: var(--ap-text-muted);
}

.ap-page-content ul {
	padding-left: 1.25rem;
	margin-bottom: 1rem;
}

.ap-prose .entry-content > * + * {
	margin-top: 1rem;
}

.ap-prose .alignwide {
	max-width: 100%;
}

.ap-split {
	display: grid;
	gap: 2.5rem;
	align-items: start;
}

@media (min-width: 900px) {
	.ap-split {
		grid-template-columns: 1fr 1fr;
	}
}

/* Contact */
.ap-form {
	display: grid;
	gap: 1.25rem;
}

.ap-form label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--ap-secondary);
	margin-bottom: 0.4rem;
}

.ap-form input,
.ap-form textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	font-family: inherit;
	font-size: 1rem;
	border: 1px solid var(--ap-border);
	border-radius: var(--ap-radius-sm);
	background: var(--ap-white);
	transition: border-color var(--ap-transition), box-shadow var(--ap-transition);
}

.ap-form input:focus,
.ap-form textarea:focus {
	outline: none;
	border-color: var(--ap-primary);
	box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}

.ap-form textarea {
	min-height: 160px;
	resize: vertical;
}

.ap-notice {
	padding: 1rem 1.25rem;
	border-radius: var(--ap-radius-sm);
	font-size: 0.95rem;
}

.ap-notice--success {
	background: rgba(0, 174, 239, 0.12);
	color: var(--ap-secondary);
	border: 1px solid rgba(0, 174, 239, 0.3);
}

.ap-notice--error {
	background: rgba(220, 53, 69, 0.1);
	color: #842029;
	border: 1px solid rgba(220, 53, 69, 0.25);
}

.ap-map-embed {
	border-radius: var(--ap-radius);
	overflow: hidden;
	border: 1px solid var(--ap-border);
	box-shadow: var(--ap-shadow);
	background: #e8f4f8;
}

.ap-map-embed iframe {
	display: block;
	width: 100%;
	min-height: 320px;
	height: clamp(280px, 45vw, 420px);
}

.ap-map-embed__caption {
	margin: 0;
	padding: 0.75rem 1rem;
	text-align: center;
	font-size: 0.875rem;
	background: var(--ap-white);
	border-top: 1px solid var(--ap-border);
}

.ap-map-embed__caption a {
	font-weight: 600;
	color: var(--ap-primary);
	text-decoration: none;
}

.ap-map-embed__caption a:hover {
	text-decoration: underline;
}

.ap-contact-card {
	background: var(--ap-white);
	border: 1px solid var(--ap-border);
	border-radius: var(--ap-radius);
	padding: 2rem;
	box-shadow: var(--ap-shadow);
}

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

.ap-contact-row {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	margin-bottom: 1rem;
	font-size: 0.95rem;
	color: var(--ap-text-muted);
}

.ap-contact-row:last-child {
	margin-bottom: 0;
}

.ap-contact-row strong {
	color: var(--ap-secondary);
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.2rem;
}

/* Blog / archive */
.ap-post-list article {
	margin-bottom: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid var(--ap-border);
}

.ap-post-list h2 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

.ap-post-list h2 a {
	color: var(--ap-secondary);
}

.ap-post-meta {
	font-size: 0.875rem;
	color: var(--ap-text-muted);
	margin-bottom: 0.75rem;
}

/* ==========================================================================
   Animations (scroll)
   ========================================================================== */

.ap-animate {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.ap-animate.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ap-delay-1 { transition-delay: 0.1s; }
.ap-delay-2 { transition-delay: 0.2s; }
.ap-delay-3 { transition-delay: 0.3s; }
.ap-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Utilities
   ========================================================================== */

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

.skip-link:focus {
	clip: auto !important;
	height: auto;
	width: auto;
	left: 8px;
	top: 8px;
	z-index: 100001;
	padding: 0.5rem 1rem;
	background: var(--ap-primary);
	color: var(--ap-white);
	border-radius: 4px;
}
