/*
 * PSSP Associates — Main Stylesheet
 *
 * Table of contents:
 *  1.  CSS Custom Properties (brand design tokens)
 *  2.  Base reset
 *  3.  Typography base
 *  4.  Layout — container & site wrapper
 *  5.  Utility classes
 *  6.  Buttons
 *  7.  Section heading pattern
 *  8.  Top bar (social)
 *  9.  Site header & navigation
 * 10.  Hero section
 * 11.  Feature cards section
 * 12.  Who We Are section
 * 13.  Our Services section
 * 14.  Contact CTA section
 * 15.  Site footer — main
 * 16.  Site footer — bottom bar
 * 17.  WordPress core classes
 */

/* ============================================================================
   1. CSS Custom Properties (brand design tokens)
   ============================================================================ */

:root {

	/* ── Brand palette ──────────────────────────────────────────── */
	--color-brand-dark:    #063F55;
	--color-brand-darker:  #042e3e;
	--color-accent:        #55C99A;
	--color-accent-dark:   #3cb882;

	/* ── Semantic aliases ───────────────────────────────────────── */
	--color-primary:       var(--color-brand-dark);
	--color-primary-dark:  var(--color-brand-darker);
	--color-primary-light: #e5f3f8;

	/* ── Neutral palette ────────────────────────────────────────── */
	--color-text:          #3a3a3a;
	--color-text-muted:    #666666;
	--color-heading:       var(--color-brand-dark);
	--color-bg:            #ffffff;
	--color-bg-alt:        #f7f9fb;
	--color-border:        #e4e4e4;
	--color-white:         #ffffff;
	--color-black:         #000000;

	/* ── Typography ─────────────────────────────────────────────── */
	--font-family-base:     "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
	--font-family-heading:  var(--font-family-base);

	--font-size-xs:    0.75rem;    /* 12px */
	--font-size-sm:    0.875rem;   /* 14px */
	--font-size-base:  1rem;       /* 16px */
	--font-size-lg:    1.125rem;   /* 18px */
	--font-size-xl:    1.25rem;    /* 20px */
	--font-size-2xl:   1.5rem;     /* 24px */
	--font-size-3xl:   1.875rem;   /* 30px */
	--font-size-4xl:   2.25rem;    /* 36px */

	--font-weight-normal:   400;
	--font-weight-medium:   500;
	--font-weight-semibold: 600;
	--font-weight-bold:     700;
	--font-weight-extrabold:800;

	--line-height-base:    1.65;
	--line-height-tight:   1.2;
	--line-height-heading: 1.25;

	/* ── Spacing ────────────────────────────────────────────────── */
	--space-1:   0.25rem;
	--space-2:   0.5rem;
	--space-3:   0.75rem;
	--space-4:   1rem;
	--space-5:   1.25rem;
	--space-6:   1.5rem;
	--space-8:   2rem;
	--space-10:  2.5rem;
	--space-12:  3rem;
	--space-16:  4rem;
	--space-20:  5rem;
	--space-24:  6rem;

	/* ── Layout ──────────────────────────────────────────────────── */
	--container-max:    1200px;
	--container-gutter: 1.5rem;

	/* ── Borders & radius ────────────────────────────────────────── */
	--radius-sm:   4px;
	--radius-md:   8px;
	--radius-lg:  16px;
	--radius-full: 9999px;
	--border-width: 1px;

	/* ── Shadows ─────────────────────────────────────────────────── */
	--shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
	--shadow-md:  0 4px 16px rgba(0,0,0,0.10);
	--shadow-lg:  0 8px 32px rgba(0,0,0,0.12);

	/* ── Transitions ──────────────────────────────────────────────── */
	--transition-fast: 150ms ease;
	--transition-base: 250ms ease;
	--transition-slow: 400ms ease;

	/* ── Z-index ─────────────────────────────────────────────────── */
	--z-header:  100;
	--z-overlay: 200;
	--z-modal:   300;
}


/* ============================================================================
   2. Base reset
   ============================================================================ */

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

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
}

body {
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-normal);
	line-height: var(--line-height-base);
	color: var(--color-text);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a {
	color: var(--color-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color var(--transition-fast);
}

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

ul,
ol {
	list-style: none;
}

button,
input,
select,
textarea {
	font: inherit;
}


/* ============================================================================
   3. Typography base
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
	font-family:  var(--font-family-heading);
	font-weight:  var(--font-weight-bold);
	line-height:  var(--line-height-heading);
	color:        var(--color-heading);
	margin-bottom: var(--space-4);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
	margin-bottom: var(--space-4);
}

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


/* ============================================================================
   4. Layout — container & site wrapper
   ============================================================================ */

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-gutter);
}

.site-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1;
	padding-block: var(--space-16);
}

/* Home page: sections control their own spacing — no outer padding */
.site-main--home {
	padding-block: 0;
}


/* ============================================================================
   5. Utility classes
   ============================================================================ */

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

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


/* ============================================================================
   6. Buttons
   ============================================================================ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	padding: 10px var(--space-6);
	font-size: var(--font-size-sm);
	font-weight: var(--font-weight-semibold);
	line-height: 1;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	cursor: pointer;
	white-space: nowrap;
	transition:
		background-color var(--transition-fast),
		color var(--transition-fast),
		border-color var(--transition-fast);
}

.btn:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
}

/* Green button — primary action */
.btn--green {
	background-color: var(--color-accent);
	color: var(--color-white);
	border-color: var(--color-accent);
	border-radius: 0;
	letter-spacing: 0.02em;
}

.btn--green:hover,
.btn--green:focus {
	background-color: var(--color-accent-dark);
	border-color: var(--color-accent-dark);
	color: var(--color-white);
}

/* Dark outline */
.btn--outline {
	background-color: transparent;
	color: var(--color-brand-dark);
	border-color: var(--color-brand-dark);
}

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


/* ============================================================================
   7. Section heading pattern (green line + uppercase heading)
   ============================================================================ */

.section-heading-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: var(--space-6);
}

.section-line {
	display: block;
	flex-shrink: 0;
	width: 32px;
	height: 2px;
	background-color: var(--color-accent);
}

.section-heading {
	color: var(--color-brand-dark);
	font-size: var(--font-size-2xl);
	font-weight: 700;
	text-transform: uppercase;
	
	line-height: var(--line-height-tight);
	margin-bottom: 0;
}


/* ============================================================================
   8. Top bar (social)
   ============================================================================ */

.topbar {
	background-color: var(--color-white);
	border-bottom: 1px solid var(--color-border);
	padding-block:12px;
}

.topbar__inner {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
}

.topbar__label {
	color: var(--color-text-muted);
	font-size: 1rem;
}

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

.topbar__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: var(--color-accent);
	text-decoration: none;
	border: 1.5px solid var(--color-accent);
	border-radius: 50%;
	transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.topbar__social-link svg,
.topbar__social-link .topbar__social-img {
	width: 16px;
	height: 16px;
	display: block;
}


/* ============================================================================
   9. Site header & navigation
   ============================================================================ */

.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background-color: var(--color-white);
}

.site-header__main {
	box-shadow: 0 2px 8px rgba(6,63,85,0.07);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6);
	min-height: 70px;
}

/* Logo */
.site-header__brand {
	flex-shrink: 0;
}

.site-header__brand .custom-logo,
.site-header__brand img {
	max-height: 100px;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
}

.site-header__logo-link {
	display: inline-block;
	line-height: 0;
}

.site-header__site-name {
	text-decoration: none;
	color: var(--color-brand-dark);
	font-weight: var(--font-weight-extrabold);
	font-size: var(--font-size-xl);
	letter-spacing: 0.04em;
}

/* Nav wrapper */
.site-header__nav {
	display: flex;
	align-items: center;
}

/* Menu list */
.site-header__menu {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
}

.site-header__menu > li > a {
	display: flex;
    flex-direction: row;
    align-items: center;
    color: #181818;
    text-decoration: none;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    padding-block: 4px;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.site-header__menu > li > a:hover {
	color: var(--color-accent);
}

/* Active/current item */
.site-header__menu > .current-menu-item > a,
.site-header__menu > .current-page-ancestor > a {
	color: var(--color-accent);
	font-weight: var(--font-weight-semibold);
}

/* Hamburger toggle (hidden on desktop) */
.site-header__nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: var(--space-2);
	flex-direction: column;
	gap: 5px;
}

.site-header__hamburger {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.site-header__hamburger span {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--color-brand-dark);
	transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hamburger → X animation when open */
.site-header__nav-toggle[aria-expanded="true"] .site-header__hamburger span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

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

.site-header__nav-toggle[aria-expanded="true"] .site-header__hamburger span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ── Dropdown menus ─────────────────────────────────────── */

/* Position context so dropdowns anchor to each li */
.site-header__menu > li {
	position: relative;
}

/* Down-arrow caret on top-level items that have children */
.site-header__menu > li.menu-item-has-children > a::after {
	content: '▾';
	margin-left: 5px;
	font-size: 0.78em;
	line-height: 1;
	flex-shrink: 0;
	display: inline-block;
	transition: color var(--transition-fast);
}

.site-header__menu > li.menu-item-has-children:hover > a::after {
	color: var(--color-accent);
}

/* Shared dropdown panel (first-level and nested) */
.site-header__menu .sub-menu {
	position: absolute;
	min-width: 210px;
	background-color: var(--color-white);
	box-shadow: 0 6px 24px rgba(0,0,0,0.11);
	list-style: none;
	padding: 8px 0;
	z-index: calc(var(--z-header) + 10);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity    var(--transition-fast),
		visibility var(--transition-fast),
		transform  var(--transition-fast);
}

/* First-level: slides down from beneath the nav link */
.site-header__menu > li > .sub-menu {
	top: 100%;
	left: 0;
	transform: translateY(6px);
}

/* Reveal first-level on hover */
.site-header__menu > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* Dropdown item links */
.site-header__menu .sub-menu > li > a {
	display: flex;
	align-items: center;
	padding: 10px 20px;
	color: var(--color-text);
	text-decoration: none;
	font-size: var(--font-size-sm);
	font-weight: var(--font-weight-medium);
	white-space: nowrap;
	transition: color var(--transition-fast);
}

.site-header__menu .sub-menu > li > a:hover {
	color: var(--color-accent);
}

/* Active/current dropdown item — green text */
.site-header__menu .sub-menu > .current-menu-item > a,
.site-header__menu .sub-menu > .current-menu-ancestor > a,
.site-header__menu .sub-menu > .current-page-ancestor > a {
	color: var(--color-accent);
}

/* Position context for nested dropdown items */
.site-header__menu .sub-menu > li {
	position: relative;
}

/* Right-chevron indicator on sub-items that have a nested menu */
.site-header__menu .sub-menu > li.menu-item-has-children > a::after {
	content: '\203A';
	margin-left: 6px;
	font-size: 1.1em;
	line-height: 1;
	color: var(--color-text-muted);
	font-weight: var(--font-weight-normal);
	flex-shrink: 0;
}

/* Second-level submenu — flies out to the right */
.site-header__menu .sub-menu > li > .sub-menu {
	top: -8px;
	left: 100%;
	transform: translateX(6px);
}

/* Reveal second-level on hover */
.site-header__menu .sub-menu > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	pointer-events: auto;
}


/* ============================================================================
   10. Hero section
   ============================================================================ */

.hero {
	position: relative;
	min-height: 520px;
	background-color: var(--color-brand-dark);  /* fallback if no image */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	overflow: hidden;
}

/* Subtle dark overlay so text remains readable over any image */
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(6, 63, 85, 0.22);
	pointer-events: none;
}

.hero__container {
	position: relative;
	z-index: 1;
	padding-block: 80px;
}

.hero__content {
	max-width: 460px;
	background-color: rgba(255, 255, 255, 0.93);
	padding: 40px 36px;
	border-radius: 12px;
}

.hero__welcome {
	display: block;
	color: var(--color-accent);
	font-size: var(--font-size-2xl);
	font-style: italic;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 6px;
}

.hero__title {
	color: var(--color-brand-dark);
	font-size: 2.4rem;
	font-weight: var(--font-weight-extrabold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.15;
	margin-bottom: var(--space-4);
}

.hero__pipe {
	color: var(--color-accent);
	font-weight: var(--font-weight-normal);
}

.hero__desc {
	color: #444;
	font-size:1rem;
	line-height: 1.8;
	margin-bottom: 0;
}


/* ============================================================================
   11. Feature cards section
   ============================================================================ */

.feature-cards {
	padding-block: var(--space-12);
	background-color: var(--color-bg);
}

.feature-cards__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-6);
}

.feature-card {
	background-color: var(--color-white);
	box-shadow: var(--shadow-md);
	padding: var(--space-8) var(--space-6);
	display: flex;
	flex-direction: column;
	border-radius:16px;
	border: solid 1px #e4e4e4;
}

.feature-card__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-5);
	margin-bottom: var(--space-4);
}

.feature-card__icon {
	flex-shrink: 0;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	border: 2px solid var(--color-accent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-card__icon-img {
	display: block;
	width: auto;
	height: auto;
	object-fit: contain;
}

.feature-card__line {
	display: block;
	flex-shrink: 0;
	width: 28px;
	height: 2px;
	background-color: var(--color-accent);
}

.feature-card__title {
	color: var(--color-brand-dark);
	font-size: 1.2rem;
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	line-height: 1.2;
	margin-bottom: 0;
}

.feature-card__text {
	color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.75;
    flex: 1;
    margin-bottom: 20px;
}

.feature-card .btn--green {
	align-self: flex-start;
	padding: 9px 20px;
	font-size: var(--font-size-sm);
}

/* ============================================================================
   11a. Feature cards — hover & transition effects
   ============================================================================ */

/* Card: smooth lift + green top accent line via box-shadow */
.feature-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.feature-card:focus-within {
	transform: translateY(-8px);
	box-shadow:
		0 16px 40px rgba(0, 0, 0, 0.13),
		0 -3px 0 0 var(--color-accent);
	border: solid 1px #55C99A;
}

/* Green accent line: expand width on hover */
.feature-card__line {
	transition: width 0.3s ease;
}

.feature-card:hover .feature-card__line,
.feature-card:focus-within .feature-card__line {
	width: 44px;
}

/* Heading: subtle shift to accent green on hover */
.feature-card__title {
	transition: color var(--transition-base);
}

.feature-card:hover .feature-card__title,
.feature-card:focus-within .feature-card__title {
	color: var(--color-accent-dark);
}

/* Reduced motion: retain colour/shadow feedback, remove all transforms */
@media (prefers-reduced-motion: reduce) {
	.feature-card,
	.feature-card__line,
	.feature-card__title {
		transition: none;
	}

	.feature-card:hover,
	.feature-card:focus-within {
		transform: none;
		box-shadow: 0 -3px 0 0 var(--color-accent), var(--shadow-md);
	}
}


/* ============================================================================
   12. Who We Are section
   ============================================================================ */

.who-we-are {
	padding-block: var(--space-20);
	background-color: var(--color-white);
}

.who-we-are__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-12);
	align-items: center;
}

/* Video column */
.who-we-are__media {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	border: 2px solid var(--color-border);
	box-shadow: var(--shadow-md);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.who-we-are__video-wrap {
	position: relative;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: #0a0a0a;
}

.who-we-are__video-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

.who-we-are__video-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: #111;
}

/* Content column */
.who-we-are__content {
	/* intentionally no extra padding — grid gap handles spacing */
}

.who-we-are__desc {
	color: var(--color-text-muted);
	font-size: var(--font-size-base);
	line-height: 1.85;
	margin-bottom: var(--space-8);
	text-align: left;
}

.who-we-are__desc p {
	margin-bottom: 0;
	font-size: var(--font-size-base);
	line-height: 1.85;
	text-align: left;
	color: #666666;
}

/* Values row */
.values-grid {
	display: flex;
	gap: 40px;
	margin-top: var(--space-8);
}

.value-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--space-3);
	transition: transform 0.3s ease;
}

.value-item__icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background-color: rgba(85, 201, 154, 0.14);
	border: 2px solid #55C99A;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.value-item__icon img,
.value-item__icon-img {
	display: block;
	width: auto;
	height:auto;
	object-fit: contain;
}

.value-item__title {
	color: var(--color-brand-dark);
	font-size: var(--font-size-sm);
	font-weight: var(--font-weight-bold);
	text-align: center;
	margin-bottom: 0;
	transition: color 0.3s ease;
}


/* ============================================================================
   12a. Who We Are — hover & transition effects
   ============================================================================ */

/* Video column: lift + accent border on hover/focus */
.who-we-are__media:hover,
.who-we-are__media:focus-within {
	transform: translateY(-4px);
	border-color: var(--color-accent);
	box-shadow: var(--shadow-lg);
}

/* Placeholder play SVG: scale + green glow when the column is hovered */
.who-we-are__video-placeholder svg {
	transition: transform 0.3s ease, filter 0.3s ease;
}

.who-we-are__media:hover .who-we-are__video-placeholder svg,
.who-we-are__media:focus-within .who-we-are__video-placeholder svg {
	transform: scale(1.08);
	filter: drop-shadow(0 0 10px rgba(85, 201, 154, 0.60));
}

/* Value items: lift entire item */
.value-item:hover,
.value-item:focus-within {
	transform: translateY(-5px);
}

/* Icon: gentle scale + brightness boost */
.value-item:hover .value-item__icon,
.value-item:focus-within .value-item__icon {
	transform: scale(1.06);
	filter: brightness(1.15);
}

/* Title: shift to brand accent green */
.value-item:hover .value-item__title,
.value-item:focus-within .value-item__title {
	color: var(--color-accent);
}

/* Reduced motion — disable transforms; colour feedback is preserved */
@media (prefers-reduced-motion: reduce) {
	.who-we-are__media,
	.who-we-are__video-placeholder svg,
	.value-item,
	.value-item__icon,
	.value-item__title {
		transition: none;
	}

	.who-we-are__media:hover,
	.who-we-are__media:focus-within {
		transform: none;
		border-color: var(--color-border);
	}

	.who-we-are__media:hover .who-we-are__video-placeholder svg,
	.who-we-are__media:focus-within .who-we-are__video-placeholder svg {
		transform: none;
		filter: none;
	}

	.value-item:hover,
	.value-item:focus-within {
		transform: none;
	}

	.value-item:hover .value-item__icon,
	.value-item:focus-within .value-item__icon {
		transform: none;
		filter: none;
	}
}


/* ============================================================================
   13. Our Services section
   ============================================================================ */

.services-section {
	padding-block: var(--space-16);
	background-color: var(--color-bg-alt);
}

.services-section__header {
	text-align: center;
	margin-bottom: var(--space-12);
}

.services-section .section-heading-wrap {
	justify-content: center;
}

.services-section__subtitle {
	color: var(--color-text-muted);
	font-size: 18px;
	line-height: 28px;
	margin-top: var(--space-3);
	margin-bottom: 0;
	margin-inline: auto;
}

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

.service-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background-color: var(--color-white);
	border: solid 1px #e4e4e4;
	border-radius: 20px;
	padding: var(--space-8) var(--space-6);
	box-shadow: 0 4px 16px rgba(6, 63, 85, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-item__icon {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	border: 2px solid #55C99A;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-bottom: var(--space-5);
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-item__icon img {
	width: auto;
	height:auto;
	object-fit: contain;
}

.service-item__body {
	flex: 1;
}

.service-item__title {
	color: var(--color-brand-dark);
	font-size: var(--font-size-lg);
	font-weight: var(--font-weight-bold);
	line-height: 1.3;
	margin-bottom: var(--space-2);
	transition: color 0.3s ease;
}

.service-item__text {
	color: var(--color-text-muted);
	font-size: 16px;
	line-height: 28px;
	margin-bottom: 0;
}

/* Optional per-card button — used by the Services listing page only; the
   homepage's identical .service-item markup has no button, so this rule
   has no effect there. */
.service-item__btn {
	margin-top: var(--space-5);
}


/* ============================================================================
   13a. Our Services — hover / focus states
   ============================================================================ */

.service-item:hover,
.service-item:focus-within {
	transform: translateY(-8px);
	box-shadow: 0 16px 40px rgba(6, 63, 85, 0.12), 0 -3px 0 0 var(--color-accent);
	border:1px solid #55C99A;
}

.service-item:hover .service-item__icon,
.service-item:focus-within .service-item__icon {
	transform: scale(1.1);
	background-color: rgba(85, 201, 154, 0.20);
}

.service-item:hover .service-item__title,
.service-item:focus-within .service-item__title {
	color: var(--color-accent);
}

/* Optional per-card link — the whole card is clickable when a URL is set.
   The stretched anchor covers the card; its text stays visually hidden. */
.service-item--link {
	position: relative;
	cursor: pointer;
}

.service-item__link {
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: inherit;
	font-size: 0;
	line-height: 0;
	color: transparent;
}

.service-item__link:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.service-item,
	.service-item__icon,
	.service-item__title {
		transition: none;
	}

	.service-item:hover,
	.service-item:focus-within {
		transform: none;
		box-shadow: 0 -3px 0 0 var(--color-accent), var(--shadow-md);
	}

	.service-item:hover .service-item__icon,
	.service-item:focus-within .service-item__icon {
		transform: none;
	}
}


/* ============================================================================
   14. Contact CTA section
   ============================================================================ */

.contact-cta {
	padding-block: var(--space-16) var(--space-20);
}

.contact-cta__box {
	background: linear-gradient(135deg, var(--color-brand-dark) 0%, #0b5e7d 100%);
	border-radius: 24px;
	padding: var(--space-16) var(--space-12);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--space-5);
}

.contact-cta__title {
	color: var(--color-white);
	font-size: var(--font-size-2xl);
	font-weight:600;
	line-height: var(--line-height-tight);
	margin-bottom: 0;
}

.contact-cta__subtitle {
	color: rgba(255, 255, 255, 0.78);
	font-size: var(--font-size-base);
	line-height: 1.7;
	margin-bottom: 0;
}

.contact-cta__btn {
	margin-top: var(--space-3);
	padding: 14px 30px;
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	border-radius: var(--radius-full);
	background-color: var(--color-white);
	color: var(--color-brand-dark);
	border-color: var(--color-white);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color var(--transition-base), color var(--transition-base);
}

.contact-cta__btn:hover,
.contact-cta__btn:focus-visible {
	background-color: var(--color-white);
	color: var(--color-brand-dark);
	border-color: var(--color-white);
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: reduce) {
	.contact-cta__btn {
		transition: background-color var(--transition-base), color var(--transition-base);
	}

	.contact-cta__btn:hover,
	.contact-cta__btn:focus-visible {
		transform: none;
		box-shadow: none;
	}
}


/* ============================================================================
   15. Site footer — main
   ============================================================================ */

.site-footer {
	/* outer shell — holds both .footer-main and .footer-bottom */
}

.footer-main {
	background-color: var(--color-brand-dark);
	padding-block: var(--space-16) var(--space-20);
}

.footer-main__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.3fr;
	gap: var(--space-12);
	align-items: start;
}

/* ── Column 1: Brand ─────────────────────────────────────── */
.footer-brand__logo {
	margin-bottom: var(--space-4);
}

.footer-brand__logo a { display: inline-block; }
.footer-brand__logo img { max-height: 54px; width: auto; }

.footer-brand__name {
	color: var(--color-white);
	text-decoration: none;
	font-size: var(--font-size-xl);
	font-weight: var(--font-weight-extrabold);
	letter-spacing: 0.02em;
}

.footer-brand__tagline {
	color: rgba(255, 255, 255, 0.65);
	font-size: 1rem;
	line-height: 1.7;
	margin-top: var(--space-3);
	margin-bottom: var(--space-5);
	max-width: 300px;
}

/* ── Social icons ────────────────────────────────────────── */
.footer-social {
	display: flex;
	gap: 10px;
	margin-top: var(--space-2);
}

.footer-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background-color: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.80);
	text-decoration: none;
	transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.footer-social__link:hover {
	background-color: #fff;
	border-color: var(--color-accent);
	color: var(--color-white);
}

.footer-social__link svg,
.footer-social__icon-img,
.footer-contact__icon-img {
	width: 20px;
	height: 30px;
	display: block;
	object-fit: contain;
}

/* ── Column headings ─────────────────────────────────────── */
.footer-col__heading {
	color: var(--color-white);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	padding-bottom: var(--space-3);
	margin-bottom: var(--space-5);
}

/* ── Service links ───────────────────────────────────────── */
.footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.68);
	text-decoration: none;
	font-size: 1rem;
	line-height: 1.5;
	transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
	color: var(--color-accent);
	padding-left: 4px;
}

/* ── Contact column ──────────────────────────────────────── */
.footer-contact {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.footer-contact__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.footer-contact__icon {
	flex-shrink: 0;
	color: var(--color-accent);
	margin-top: 2px;
}

.footer-contact__icon svg {
	width: 20px;
    height: 30px;
	display: block;
}

.footer-contact__text,
.footer-contact__text a {
	color: rgba(255, 255, 255, 0.72);
	font-size: 1rem;
	line-height: 1.7;
	text-decoration: none;
}

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

/* Multiple phone numbers — one per line */
.footer-contact__text--phones {
	display: flex;
	flex-direction: column;
}


/* ============================================================================
   16. Site footer — bottom bar
   ============================================================================ */

.footer-bottom {
	background-color: var(--color-accent);
	padding-block: 14px;
}

.footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	flex-wrap: wrap;
}

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

.footer-bottom__nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

/* wp_nav_menu outputs <li><a> — style the anchors */
.footer-bottom__nav li {
	display: flex;
	align-items: center;
}

.footer-bottom__nav li + li::before {
	content: '|';
	color: rgba(255,255,255,0.55);
	margin-right: 4px;
	font-size: var(--font-size-xs);
}

.footer-bottom__nav a,
.footer-bottom__nav .back-to-top {
	color: var(--color-white);
	text-decoration: none;
	font-size: var(--font-size-xs);
	transition: opacity var(--transition-fast);
	white-space: nowrap;
}

.footer-bottom__nav a:hover,
.footer-bottom__nav .back-to-top:hover {
	opacity: 0.75;
	color: var(--color-white);
}

.back-to-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.30);
	margin-left: var(--space-3);
	text-decoration: none;
	color: var(--color-white);
	transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.back-to-top:hover {
	background-color: var(--color-brand-dark);
	border-color: var(--color-brand-dark);
	transform: translateY(-2px);
	opacity: 1;
}


/* ============================================================================
   17. WordPress core classes
   ============================================================================ */

.alignleft  { float: left;  margin: 0 var(--space-6) var(--space-4) 0; }
.alignright { float: right; margin: 0 0 var(--space-4) var(--space-6); }
.aligncenter { display: block; margin-inline: auto; }

.wp-block-image figcaption,
.wp-caption-text {
	font-size: var(--font-size-sm);
	color: var(--color-text-muted);
	text-align: center;
	margin-top: var(--space-2);
}
