/*
Theme Name: Loving Arms
Theme URI: https://lovingarms.com.pk
Author: Loving Arms Daycare & Preschool
Description: A ground-up custom WordPress theme built for Loving Arms Daycare & Preschool. No parent theme, no page builder dependency — standard PHP templates plus native block editor patterns for section content.
Version: 1.0.0
Requires at least: 6.0
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: loving-arms
*/

/* ==========================================================================
   Stage 2 — branding, typography, and animation.
   Tone: playful, rounded, hand-drawn — built for parents of young
   children, not a corporate audience. Chunky "sticker" buttons with a
   hard offset shadow, bouncy hovers, soft floating shapes, a wavy
   footer divider. Fonts loaded via wp_enqueue_style in
   inc/theme-setup.php, not @import (keeps this a pure stylesheet, no
   network request buried inside it).
   ========================================================================== */

:root {
	--color-orange: #F4592D; /* primary CTAs */
	--color-teal: #35BFB0;   /* links, secondary accent */
	--color-blue: #2362A7;   /* footer / dark sections */
	--color-green: #9ECB3D;  /* tertiary accent */
	--color-ink: #1B2B29;    /* body text / headings */
	--color-bg: #FBFAF7;     /* warm page background */
	--color-bg-alt: #EEF6F4; /* light surface / alt sections */
	--font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--radius: 18px;
	--radius-lg: 22px;
	--shadow-offset: 5px;
}

/* ---- Reset ---- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	line-height: 1.6;
	font-family: var(--font-family);
	color: var(--color-ink);
	background: var(--color-bg);
}

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

a {
	color: var(--color-teal);
	text-decoration: none;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-family);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 0.5em;
	color: var(--color-ink);
}

p {
	margin: 0 0 1em;
}

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

.screen-reader-text:focus {
	position: static;
	width: auto;
	height: auto;
	clip: auto;
}

.container {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

/* ---- Keyframes ---- */

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50%      { transform: translateY(-16px) rotate(4deg); }
}
@keyframes float-slow {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50%      { transform: translateY(-10px) rotate(-5deg); }
}
@keyframes wiggle {
	0%, 100% { transform: rotate(-4deg); }
	50%      { transform: rotate(4deg); }
}
@keyframes pop-in {
	0%   { opacity: 0; transform: translateY(24px) scale(0.92); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Header & navigation ---- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--color-bg);
	box-shadow: 0 2px 14px rgba(27, 43, 41, 0.06);
	transition: box-shadow 0.2s ease;
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 10px;
}

.site-branding:hover img {
	animation: wiggle 0.5s ease;
}

.site-branding img {
	max-height: 60px;
	width: auto;
}

.site-branding .site-title {
	font-family: var(--font-family);
	font-weight: 800;
	font-size: 21px;
	color: var(--color-ink);
}

.primary-navigation {
	display: flex;
	align-items: center;
	gap: 8px;
}

.primary-navigation .menu-toggle {
	display: none;
	background: transparent;
	border: 2px solid var(--color-ink);
	border-radius: 10px;
	font-size: 20px;
	line-height: 1;
	padding: 8px 12px;
	cursor: pointer;
	color: var(--color-ink);
}

.primary-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 2px;
}

.primary-navigation li {
	position: relative;
}

.primary-navigation a {
	display: inline-block;
	font-weight: 700;
	font-size: 16px;
	color: var(--color-ink);
	padding: 10px 16px;
	border-radius: 999px;
	transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.primary-navigation > ul > li:nth-child(even) > a:hover,
.primary-navigation > ul > li:nth-child(even) > a:focus {
	transform: translateY(-2px) rotate(1deg);
}

.primary-navigation a:hover,
.primary-navigation a:focus {
	background: var(--color-bg-alt);
	color: var(--color-teal);
	transform: translateY(-2px) rotate(-1deg);
}

.primary-navigation .current-menu-item > a {
	color: var(--color-orange);
	background: var(--color-bg-alt);
}

.primary-navigation ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	flex-direction: column;
	min-width: 200px;
	background: #fff;
	border: 3px solid var(--color-ink);
	border-radius: var(--radius);
	padding: 8px;
	box-shadow: 5px 5px 0 var(--color-ink);
	z-index: 20;
}

.primary-navigation li:hover > ul,
.primary-navigation li:focus-within > ul {
	display: flex;
}

.primary-navigation ul ul a {
	border-radius: 10px;
}

/* Header CTA — give the nav's last menu item, or a widget/button you add,
   the "button" class to get the sticker treatment. */
.primary-navigation .button,
.header-cta {
	background: var(--color-orange) !important;
	color: var(--color-ink) !important;
	font-weight: 800;
	border: 3px solid var(--color-ink);
	border-radius: 999px;
	padding: 9px 22px !important;
	box-shadow: 4px 4px 0 var(--color-ink);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.primary-navigation .button:hover,
.header-cta:hover {
	background: #ffb703 !important;
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--color-ink);
}

/* ---- Buttons (used inside block-pattern content) ---- */

.btn,
.wp-block-button__link {
	display: inline-block;
	font-family: var(--font-family);
	font-weight: 800;
	font-size: 15px;
	border-radius: 999px;
	padding: 13px 28px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--color-orange);
	color: var(--color-ink);
	border: 3px solid var(--color-ink);
	box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-ink);
}

.btn-primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: #ffb703;
	color: var(--color-ink);
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--color-ink);
}

.btn-outline,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: #fff;
	border: 3px solid #fff;
}

.btn-outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	transform: translate(2px, 2px);
}

/* ---- Main content ---- */

.site-main {
	min-height: 40vh;
}

.page-container,
.single-post-container,
.blog-container {
	padding-top: 48px;
	padding-bottom: 64px;
}

.page-header .page-title,
.entry-header .entry-title {
	font-size: clamp(28px, 4vw, 40px);
}

.entry-meta {
	font-size: 14px;
	color: var(--color-teal);
	font-weight: 700;
}

.entry-thumbnail {
	margin: 24px 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 3px solid var(--color-ink);
}

/* ---- Blog post cards ---- */

.post-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	margin-top: 32px;
}

.post-card {
	background: #fff;
	border: 3px solid var(--color-ink);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 6px 6px 0 var(--color-ink);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
	transform: translate(-2px, -4px) rotate(-1deg);
	box-shadow: 8px 8px 0 var(--color-ink);
}

.post-card-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--color-bg-alt);
	border-bottom: 3px solid var(--color-ink);
}

.post-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card-body {
	padding: 20px 20px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.post-card-date {
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-teal);
	margin-bottom: 8px;
}

.post-card-title {
	font-size: 19px;
	margin: 0 0 10px;
}

.post-card-title a {
	color: var(--color-ink);
}

.post-card-title a:hover {
	color: var(--color-teal);
}

.post-card-excerpt {
	font-size: 14.5px;
	color: var(--color-ink);
	margin-bottom: 16px;
	flex: 1;
}

.post-card-more {
	align-self: flex-start;
	font-weight: 800;
	font-size: 14px;
	color: var(--color-ink);
	background: var(--color-bg-alt);
	border: 3px solid var(--color-ink);
	border-radius: 999px;
	padding: 8px 18px;
	box-shadow: 4px 4px 0 var(--color-ink);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.post-card-more:hover {
	color: var(--color-ink);
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--color-ink);
}

.no-posts-found {
	text-align: center;
	padding: 40px 24px;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 40px;
}

.pagination a,
.pagination span {
	font-weight: 700;
	font-size: 14px;
	color: var(--color-ink);
	background: #fff;
	border: 2.5px solid var(--color-ink);
	border-radius: 999px;
	padding: 8px 16px;
}

.pagination .current {
	background: var(--color-orange);
}

/* ---- Section heading helper (used by block patterns) ---- */

.eyebrow {
	display: inline-block;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-teal);
	margin-bottom: 8px;
}

.section-head {
	max-width: 680px;
	margin: 0 auto 40px;
	text-align: center;
}

.section-head h2 {
	font-size: clamp(26px, 3.4vw, 36px);
}

/* ---- Footer ---- */

.site-footer {
	position: relative;
	background: var(--color-blue);
	color: #fff;
	margin-top: 60px;
}

.site-footer::before {
	content: "";
	position: absolute;
	top: -39px;
	left: 0;
	width: 100%;
	height: 40px;
	background-color: var(--color-blue);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20 C 150 0 300 40 450 20 C 600 0 750 40 900 20 C 1050 0 1150 30 1200 20 L1200 40 L0 40 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20 C 150 0 300 40 450 20 C 600 0 750 40 900 20 C 1050 0 1150 30 1200 20 L1200 40 L0 40 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}

.site-footer .container {
	padding-top: 44px;
	padding-bottom: 26px;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover {
	color: #ffd166;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	margin-bottom: 24px;
}

.footer-widgets .widget-title {
	font-family: var(--font-family);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.03em;
	color: #fff;
	margin-bottom: 12px;
}

.footer-navigation ul {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.footer-copyright {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 18px;
	margin: 0;
}

/* ---- Floating "Chat with us" CTA ---- */

.floating-cta {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 999;
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--color-green);
	color: var(--color-ink);
	border: 3px solid var(--color-ink);
	border-radius: 999px;
	padding: 12px 20px 12px 14px;
	font-weight: 800;
	font-size: 15px;
	box-shadow: 5px 5px 0 var(--color-ink);
	animation: float 3.2s ease-in-out infinite;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease, box-shadow 0.15s ease;
}

.floating-cta.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.floating-cta:hover {
	color: var(--color-ink);
	box-shadow: 2px 2px 0 var(--color-ink);
}

.floating-cta .cta-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	flex: none;
}

/* ---- Mobile ---- */

@media (max-width: 780px) {
	.primary-navigation .menu-toggle {
		display: inline-block;
	}

	.primary-navigation ul {
		display: none;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 4px;
		position: absolute;
		top: 100%;
		left: 0;
		background: var(--color-bg);
		border-bottom: 3px solid var(--color-ink);
		padding: 12px 24px 20px;
	}

	.primary-navigation.is-open ul {
		display: flex;
	}

	.primary-navigation ul ul {
		position: static;
		display: flex;
		min-width: 0;
		border: none;
		box-shadow: none;
		padding-left: 16px;
	}

	.primary-navigation li:hover > ul,
	.primary-navigation li:focus-within > ul {
		display: none;
	}

	.primary-navigation li.submenu-open > ul {
		display: flex;
	}

	.site-header {
		position: relative;
	}

	.post-card-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 980px) and (min-width: 781px) {
	.post-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ==========================================================================
   Stage 3 — content section components, used by the patterns in /patterns/
   and inserted automatically by inc/provisioning.php.
   ========================================================================== */

/* ---- Homepage hero ---- */

.hero {
	position: relative;
	overflow: hidden;
	min-height: 76vh;
	display: flex;
	align-items: center;
	padding: 0 24px;
	background:
		radial-gradient(circle at 20% 25%, rgba(244, 89, 45, 0.55), transparent 55%),
		radial-gradient(circle at 80% 15%, rgba(53, 191, 176, 0.55), transparent 50%),
		radial-gradient(circle at 65% 90%, rgba(35, 98, 167, 0.55), transparent 55%),
		linear-gradient(160deg, #2b3a3c, #16211f);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(10, 16, 15, 0.75) 0%, rgba(10, 16, 15, 0.3) 55%, rgba(10, 16, 15, 0.08) 100%);
}

.hero-shape {
	position: absolute;
	z-index: 1;
	font-size: 42px;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
	animation: float 4s ease-in-out infinite;
}
.hero-shape.s1 { top: 14%; left: 8%; }
.hero-shape.s2 { top: 22%; right: 12%; font-size: 34px; animation-delay: 0.6s; }
.hero-shape.s3 { bottom: 16%; right: 20%; font-size: 48px; animation-delay: 1.2s; }
.hero-shape.s4 { bottom: 22%; left: 14%; font-size: 30px; animation-delay: 1.8s; }

.hero-inner {
	position: relative;
	z-index: 2;
	max-width: 1180px;
	margin: 0 auto;
	width: 100%;
}

.hero h1 {
	color: #fff;
	font-size: clamp(32px, 5.2vw, 52px);
	line-height: 1.14;
	max-width: 14ch;
	animation: pop-in 0.7s ease both;
}

.hero p {
	font-weight: 500;
	color: rgba(255, 255, 255, 0.94);
	font-size: clamp(17px, 2vw, 20px);
	max-width: 44ch;
	margin: 18px 0 0;
	animation: pop-in 0.7s ease 0.1s both;
}

.hero .wp-block-buttons {
	margin-top: 28px;
	animation: pop-in 0.7s ease 0.2s both;
}

/* ---- Fun-facts stat bar ---- */

.stats-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	padding: 44px 24px;
	background: var(--color-bg-alt);
}

.stat {
	background: #fff;
	border: 3px solid var(--color-ink);
	border-radius: var(--radius-lg);
	padding: 18px 26px;
	text-align: center;
	min-width: 150px;
	box-shadow: 5px 5px 0 var(--color-ink);
	opacity: 0;
	transform: translateY(24px) scale(0.92);
	transition: transform 0.5s ease, opacity 0.5s ease;
}

.stat.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.stat:nth-child(2) { border-color: var(--color-teal); }
.stat:nth-child(3) { border-color: var(--color-orange); }
.stat:nth-child(4) { border-color: var(--color-green); }

.stat .num {
	display: block;
	font-size: 34px;
	font-weight: 800;
	color: var(--color-orange);
}

.stat .lbl {
	display: block;
	font-weight: 700;
	font-size: 13px;
	margin-top: 4px;
}

/* ---- Services / program cards ---- */

.services {
	max-width: 1180px;
	margin: 70px auto;
	padding: 0 24px;
}

.services-grid {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.service-card {
	flex: 1;
	min-width: 250px;
	border-radius: var(--radius-lg);
	border: 3px solid var(--color-ink);
	background: #fff;
	padding: 28px 24px;
	box-shadow: 6px 6px 0 var(--color-ink);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
	transform: translate(-2px, -4px) rotate(-1deg);
	box-shadow: 8px 8px 0 var(--color-ink);
}

.service-card .card-icon {
	width: 60px;
	height: 60px;
	margin-bottom: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	border: 3px solid var(--color-ink);
	animation: float 4s ease-in-out infinite;
}

.card--orange .card-icon { background: rgba(244, 89, 45, 0.18); }
.card--green .card-icon  { background: rgba(158, 203, 61, 0.22); }
.card--blue .card-icon   { background: rgba(35, 98, 167, 0.18); }

.service-card h3 {
	font-size: 20px;
	margin: 0 0 10px;
}

.service-card p {
	font-size: 15px;
	color: var(--color-ink);
	margin: 0;
	flex: 1;
}

/* Higher specificity than ".wp-block-button:not(.is-style-outline)
   .wp-block-button__link" (Stage 2) on purpose — "Learn More" links are
   real wp:button blocks now (Stage 3), and without this they'd otherwise
   inherit the big primary-CTA sticker treatment instead of this smaller,
   quieter style. */
.wp-block-button.btn-small .wp-block-button__link,
a.btn-small {
	display: inline-block;
	font-weight: 800 !important;
	font-size: 14px !important;
	color: var(--color-ink) !important;
	background: var(--color-bg-alt) !important;
	border: 3px solid var(--color-ink) !important;
	border-radius: 999px !important;
	padding: 8px 18px !important;
	box-shadow: 4px 4px 0 var(--color-ink) !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wp-block-button.btn-small .wp-block-button__link:hover,
a.btn-small:hover {
	color: var(--color-ink) !important;
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--color-ink) !important;
}

/* ---- Testimonials grid ---- */

.testimonials {
	max-width: 1180px;
	margin: 70px auto;
	padding: 0 24px;
}

.testimonials-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.testimonial-card {
	width: 290px;
	flex: none;
	background: #fff;
	border: 3px solid var(--color-ink);
	border-radius: var(--radius-lg);
	padding: 22px 22px 20px;
	box-shadow: 5px 5px 0 var(--color-ink);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
	transform: translate(-2px, -4px) rotate(-1deg);
	box-shadow: 7px 7px 0 var(--color-ink);
}

.testimonial-card:nth-child(3n+1) { border-color: var(--color-orange); }
.testimonial-card:nth-child(3n+2) { border-color: var(--color-teal); }
.testimonial-card:nth-child(3n)   { border-color: var(--color-green); }

.testimonial-card .stars {
	color: #ffb703;
	font-size: 15px;
	letter-spacing: 2px;
}

.testimonial-card h4 {
	font-size: 16px;
	margin: 8px 0 8px;
}

.testimonial-card p {
	font-size: 14.5px;
	line-height: 1.55;
	margin: 0 0 14px;
	font-weight: 400;
}

.testimonial-name {
	font-weight: 700;
	font-size: 14px;
	color: var(--color-teal);
}

/* ---- Map ---- */

.map-section {
	max-width: 900px;
	margin: 70px auto;
	padding: 0 24px;
	text-align: center;
}

.map-section h2 {
	font-size: clamp(26px, 3.4vw, 36px);
	margin: 0 0 8px;
}

.map-section > p {
	color: var(--color-ink);
	margin: 0;
}

.map-frame {
	position: relative;
	width: 100%;
	padding-top: 52%;
	border-radius: var(--radius-lg);
	border: 3px solid var(--color-ink);
	box-shadow: 6px 6px 0 var(--color-ink);
	overflow: hidden;
	margin: 26px 0 22px;
}

.map-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---- Inner-page hero banner (About, Services, Contact, etc.) ---- */

.page-hero {
	position: relative;
	overflow: hidden;
	padding: 60px 24px;
	text-align: center;
	background:
		radial-gradient(circle 100px at 10% 20%, rgba(158, 203, 61, 0.35), transparent 70%),
		radial-gradient(circle 90px at 90% 15%, rgba(53, 191, 176, 0.35), transparent 70%),
		radial-gradient(circle 120px at 85% 90%, rgba(244, 89, 45, 0.28), transparent 70%),
		var(--color-bg-alt);
}

.page-hero .eyebrow {
	color: var(--color-orange);
}

.page-hero h1 {
	font-size: clamp(28px, 4.4vw, 44px);
	max-width: 16ch;
	margin: 0 auto;
}

.page-hero p {
	font-size: clamp(16px, 1.6vw, 18px);
	color: var(--color-ink);
	max-width: 56ch;
	margin: 14px auto 0;
	font-weight: 400;
}

/* ---- Prose content blocks (About, Privacy Policy) ---- */

.content {
	max-width: 760px;
	margin: 56px auto;
	padding: 0 24px;
	font-size: 16.5px;
	line-height: 1.75;
}

.content h2 {
	font-size: clamp(22px, 2.8vw, 28px);
	margin: 44px 0 14px;
}

.content h2:first-child {
	margin-top: 0;
}

.content ul,
.content ol {
	margin: 0 0 16px;
	padding-left: 22px;
}

.content li {
	margin-bottom: 8px;
}

.pull-quote {
	margin: 36px 0;
	padding: 26px 28px;
	background: #fff;
	border: 3px solid var(--color-ink);
	border-radius: var(--radius-lg);
	box-shadow: 6px 6px 0 var(--color-ink);
	font-weight: 700;
	font-size: 19px;
	line-height: 1.5;
}

.pull-quote p {
	margin: 0;
}

.pull-quote cite {
	display: block;
	margin-top: 12px;
	font-weight: 700;
	font-size: 13.5px;
	font-style: normal;
	color: var(--color-teal);
}

/* ---- Team grid ---- */

.team {
	max-width: 1000px;
	margin: 60px auto;
	padding: 0 24px;
}

.team-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	justify-content: center;
}

.team-card {
	width: 200px;
	text-align: center;
	background: #fff;
	border: 3px solid var(--color-ink);
	border-radius: var(--radius-lg);
	padding: 20px 16px 22px;
	box-shadow: 5px 5px 0 var(--color-ink);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
	transform: translate(-2px, -4px) rotate(-1deg);
	box-shadow: 7px 7px 0 var(--color-ink);
}

.team-card .avatar-lg {
	width: 84px;
	height: 84px;
	margin: 0 auto 12px;
	border-radius: 50%;
	border: 3px solid var(--color-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 22px;
	animation: float 5s ease-in-out infinite;
	background: var(--color-bg-alt);
}

.team-card h4 {
	font-size: 16px;
	margin: 0 0 4px;
}

.team-card span {
	font-size: 13px;
	font-weight: 700;
	color: var(--color-teal);
}

/* ---- Closing CTA band ---- */

.cta-band {
	text-align: center;
	padding: 56px 24px;
	margin-top: 60px;
	background: var(--color-blue);
	color: #fff;
}

.cta-band h2 {
	font-size: clamp(24px, 3vw, 32px);
	margin: 0 0 10px;
	color: #fff;
}

.cta-band p {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 400;
}

/* ---- Service detail pages ---- */

.service-detail {
	max-width: 900px;
	margin: 56px auto;
	padding: 0 24px;
}

.back-link {
	display: inline-block;
	font-weight: 700;
	font-size: 14px;
	color: var(--color-teal);
	margin-bottom: 18px;
}

.feature-list {
	list-style: none;
	margin: 24px 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.feature-list li {
	position: relative;
	list-style: none;
	padding-left: 38px;
	font-size: 16px;
	line-height: 1.5;
}

/* Checkmark drawn with CSS instead of a hand-placed span in the markup —
   this is a native wp:list block now, so each <li> is just plain text an
   editor can click into, same as any other list item. */
.feature-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--color-green);
	border: 2px solid var(--color-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
	color: var(--color-ink);
}

/* ---- Contact page ---- */

.contact-cards {
	max-width: 1000px;
	margin: 56px auto;
	padding: 0 24px;
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}

.contact-card {
	flex: 1;
	min-width: 220px;
	text-align: center;
	background: #fff;
	border: 3px solid var(--color-ink);
	border-radius: var(--radius-lg);
	padding: 26px 20px;
	box-shadow: 5px 5px 0 var(--color-ink);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
	transform: translate(-2px, -4px) rotate(-1deg);
	box-shadow: 7px 7px 0 var(--color-ink);
}

.contact-card .card-icon {
	width: 54px;
	height: 54px;
	margin: 0 auto 12px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	border: 3px solid var(--color-ink);
}

.contact-card h4 {
	font-size: 16px;
	margin: 0 0 6px;
}

.contact-card a,
.contact-card span {
	font-size: 14.5px;
}

/* ---- Enquiry form ---- */

.form-wrap {
	max-width: 640px;
	margin: 20px auto 56px;
	padding: 0 24px;
}

.enquiry-form {
	background: #fff;
	border: 3px solid var(--color-ink);
	border-radius: var(--radius-lg);
	padding: 32px 28px;
	box-shadow: 6px 6px 0 var(--color-ink);
	display: grid;
	gap: 16px;
}

.enquiry-form .form-row {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr 1fr;
}

.enquiry-form label {
	display: block;
	font-weight: 700;
	font-size: 13.5px;
	margin-bottom: 6px;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
	width: 100%;
	font-family: var(--font-family);
	font-size: 15px;
	color: var(--color-ink);
	background: var(--color-bg-alt);
	border: 2.5px solid var(--color-ink);
	border-radius: 14px;
	padding: 11px 14px;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.enquiry-form textarea {
	resize: vertical;
	min-height: 110px;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
	outline: none;
	box-shadow: 3px 3px 0 var(--color-teal);
	transform: translate(-1px, -1px);
}

.enquiry-form button[type="submit"] {
	justify-self: start;
}

.form-note {
	font-size: 13px;
	margin-top: -4px;
}

.form-success,
.form-error {
	font-weight: 700;
	font-size: 14.5px;
	border-radius: 14px;
	padding: 12px 16px;
	margin-bottom: 4px;
}

.form-success {
	background: rgba(158, 203, 61, 0.22);
	border: 2px solid var(--color-green);
}

.form-error {
	background: rgba(244, 89, 45, 0.15);
	border: 2px solid var(--color-orange);
}

@media (max-width: 620px) {
	.enquiry-form .form-row {
		grid-template-columns: 1fr;
	}
}
