/*
Theme Name: Kingdom Path Homecare
Theme URI: https://example.com/kingdom-path-home-care
Author: Kingdom Path Homecare
Author URI: https://example.com
Description: Premium in-home care marketing theme with homepage, About, Services, Careers, and Contact. Elementor-friendly (full-width content, no bloated builder styles).
Version: 1.7.9
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: kingdom-path-home-care
Tags: custom-menu, featured-images, full-width-template, translation-ready, blog

Kingdom Path Homecare — production-ready home care lead generation theme.
*/

/* --------------------------------------------------------------------------
   CSS variables & reset
   -------------------------------------------------------------------------- */
:root {
	--kp-color-bg: #faf8f5;
	--kp-color-surface: #ffffff;
	--kp-color-ink: #1e1e1e;
	--kp-color-muted: #5c5c5c;
	--kp-color-primary: #0f2748;
	--kp-color-primary-soft: #1a3d5c;
	--kp-color-accent: #c9a227;
	--kp-color-accent-hover: #ddb82e;
	--kp-font-heading: "Outfit", system-ui, sans-serif;
	--kp-font-body: "Outfit", system-ui, sans-serif;
	--kp-radius: 12px;
	--kp-shadow: 0 18px 50px rgba(15, 39, 72, 0.08);
	--kp-max: 1140px;
	--kp-header-h: 112px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--kp-font-body);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.65;
	color: var(--kp-color-ink);
	background: var(--kp-color-bg);
	padding-bottom: 72px;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar {
	padding-bottom: 104px;
}

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

a {
	color: var(--kp-color-primary-soft);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--kp-color-accent);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
	font-family: var(--kp-font-heading);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
	margin: 0 0 0.5em;
	color: var(--kp-color-primary);
}

h1 { font-size: clamp(2.35rem, 4.2vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.55rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }

p {
	margin: 0 0 1em;
}

.kp-lead {
	font-size: 1.15rem;
	font-weight: 500;
	color: var(--kp-color-muted);
	max-width: 38rem;
}

.kp-section-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--kp-color-accent);
	font-weight: 800;
	margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Layout utilities
   -------------------------------------------------------------------------- */
.kp-wrap {
	width: min(100% - 2.5rem, var(--kp-max));
	margin-inline: auto;
}

.kp-section {
	padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.kp-section--alt {
	background: var(--kp-color-surface);
}

.kp-grid-2 {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: center;
}

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

.kp-grid-cards {
	display: grid;
	gap: 1.25rem;
}

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

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

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

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.kp-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(250, 248, 245, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(15, 39, 72, 0.06);
}

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

.kp-logo {
	font-family: var(--kp-font-heading);
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--kp-color-primary);
	text-decoration: none;
	letter-spacing: -0.03em;
}

.kp-logo:hover {
	color: var(--kp-color-primary);
	text-decoration: none;
}

.kp-logo-wrap {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.kp-logo-wrap .custom-logo-link,
.kp-logo-wrap .kp-logo-link {
	display: flex;
	align-items: center;
	line-height: 0;
}

.kp-logo-wrap .custom-logo,
.kp-logo-wrap .kp-logo-img {
	max-height: 68px;
	width: auto;
	max-width: min(170px, 46vw);
	height: auto;
	object-fit: contain;
}

@media (min-width: 900px) {
	.kp-logo-wrap .custom-logo,
	.kp-logo-wrap .kp-logo-img {
		max-height: 96px;
		max-width: 220px;
	}
}

.kp-logo span {
	color: var(--kp-color-accent);
}

.kp-nav-toggle {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}

.kp-nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--kp-color-primary);
}

@media (min-width: 900px) {
	.kp-nav-toggle {
		display: none;
	}
}

.kp-nav {
	display: none;
	flex-direction: column;
	gap: 0;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--kp-color-surface);
	border-bottom: 1px solid rgba(15, 39, 72, 0.08);
	padding: 1rem 1.25rem 1.25rem;
	box-shadow: var(--kp-shadow);
}

.kp-nav.is-open {
	display: flex;
}

@media (min-width: 900px) {
	.kp-nav {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 0.25rem;
		position: static;
		background: transparent;
		border: 0;
		padding: 0;
		box-shadow: none;
	}
}

.kp-nav .kp-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.kp-nav .kp-nav-list li {
	margin: 0;
}

@media (min-width: 900px) {
	.kp-nav .kp-nav-list {
		display: flex;
		align-items: center;
		gap: 0.25rem;
	}
}

.kp-nav a {
	display: block;
	padding: 0.65rem 0.85rem;
	color: var(--kp-color-ink);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9375rem;
	border-radius: 8px;
}

@media (min-width: 900px) {
	.kp-nav a {
		padding: 0.5rem 0.55rem;
		font-size: 0.875rem;
	}
}

.kp-nav a:hover {
	background: rgba(15, 39, 72, 0.06);
	color: var(--kp-color-primary);
	text-decoration: none;
}

.kp-nav a.kp-nav__active,
.kp-nav .current-menu-item > a,
.kp-nav .current-page-ancestor > a {
	background: rgba(15, 39, 72, 0.1);
	color: var(--kp-color-primary);
	font-weight: 700;
}

.kp-header__cta {
	display: none;
}

@media (min-width: 900px) {
	.kp-header__cta {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 0.15rem;
		line-height: 1.2;
	}
}

.kp-header__phone {
	font-weight: 700;
	color: var(--kp-color-primary);
	text-decoration: none;
	white-space: nowrap;
	font-size: 0.95rem;
}

.kp-header__phone--alt {
	font-weight: 600;
	font-size: 0.85rem;
	opacity: 0.85;
}

.kp-header__phone:hover {
	text-decoration: none;
	color: var(--kp-color-accent);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.kp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.35rem;
	font-family: var(--kp-font-body);
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.kp-btn:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

.kp-btn--primary {
	background: var(--kp-color-accent);
	color: var(--kp-color-primary);
	border-color: var(--kp-color-accent);
}

.kp-btn--primary:hover {
	background: var(--kp-color-accent-hover);
	border-color: var(--kp-color-accent-hover);
	color: var(--kp-color-primary);
}

.kp-btn--outline {
	background: transparent;
	color: var(--kp-color-primary);
	border-color: rgba(15, 39, 72, 0.25);
}

.kp-btn--outline:hover {
	border-color: var(--kp-color-primary);
	background: rgba(15, 39, 72, 0.04);
	color: var(--kp-color-primary);
}

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

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.kp-hero {
	padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5rem);
	background: linear-gradient(160deg, #f5f1ea 0%, var(--kp-color-bg) 45%, #eef4f8 100%);
}

.kp-hero__grid {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

@media (min-width: 900px) {
	.kp-hero__grid {
		grid-template-columns: 1.05fr 0.95fr;
	}
}

.kp-hero__media {
	position: relative;
	border-radius: var(--kp-radius);
	overflow: hidden;
	box-shadow: var(--kp-shadow);
	aspect-ratio: 4/3;
}

.kp-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kp-hero__badge {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	right: 1rem;
	background: rgba(255, 255, 255, 0.95);
	padding: 0.85rem 1rem;
	border-radius: 10px;
	font-size: 0.9rem;
	color: var(--kp-color-muted);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   Homepage hero slider (in-home care imagery)
   -------------------------------------------------------------------------- */
.kp-hero-slider {
	position: relative;
	background: var(--kp-color-primary);
	color: #fff;
	overflow: hidden;
}

.kp-hero-slider--visual .kp-hero-slider__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 39, 72, 0.05) 0%, rgba(15, 39, 72, 0.22) 100%);
	pointer-events: none;
}

.kp-hero-slider__viewport {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: min(78vh, 780px);
	min-height: 420px;
}

@media (min-width: 900px) {
	.kp-hero-slider__viewport {
		aspect-ratio: 21 / 9;
		max-height: min(78vh, 760px);
	}
}

.kp-hero-slider__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.kp-hero-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.65s ease, visibility 0.65s ease;
}

.kp-hero-slider__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.kp-hero-slider__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kp-hero-slider__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	background: linear-gradient(180deg, rgba(15, 39, 72, 0.08) 0%, rgba(15, 39, 72, 0.55) 55%, rgba(15, 39, 72, 0.82) 100%);
	padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.kp-hero-slider__content {
	max-width: 46rem;
}

.kp-hero-slider__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.15rem;
}

.kp-hero-slider__phones {
	margin: 0.85rem 0 0;
	color: rgba(255, 255, 255, 0.92);
	font-weight: 600;
}

.kp-hero-slider__phones a {
	color: #fff;
	text-decoration: none;
}

.kp-hero-slider__phones a:hover {
	color: var(--kp-color-accent);
}

.kp-trust-bar {
	background: var(--kp-color-primary);
	color: #fff;
	padding: 0.9rem 0;
}

.kp-trust-bar__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem 1.5rem;
	font-size: 0.88rem;
	font-weight: 650;
	letter-spacing: 0.01em;
}

.kp-trust-bar__list li {
	position: relative;
}

@media (min-width: 700px) {
	.kp-trust-bar__list li:not(:last-child)::after {
		content: "";
		position: absolute;
		right: -0.8rem;
		top: 50%;
		width: 4px;
		height: 4px;
		border-radius: 50%;
		background: var(--kp-color-accent);
		transform: translateY(-50%);
	}
}

.kp-hero-slider__title {
	color: #fff;
	margin-bottom: 0.65rem;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.kp-hero-slider__text {
	color: rgba(255, 255, 255, 0.92);
	max-width: 36rem;
}

.kp-hero-slider__overlay .kp-section-label {
	color: var(--kp-color-accent-hover);
}

.kp-btn--on-dark {
	border-color: rgba(255, 255, 255, 0.85);
	color: #fff;
}

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

.kp-hero-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 2.75rem;
	height: 2.75rem;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--kp-color-primary);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transition: background 0.2s ease, transform 0.2s ease;
}

.kp-hero-slider__arrow:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.04);
}

.kp-hero-slider__arrow--prev { left: 1rem; }
.kp-hero-slider__arrow--next { right: 1rem; }

.kp-hero-slider__dots {
	position: absolute;
	left: 50%;
	bottom: 1rem;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 0.5rem;
}

.kp-hero-slider__dot {
	width: 10px;
	height: 10px;
	border: none;
	border-radius: 50%;
	padding: 0;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.kp-hero-slider__dot.is-active {
	background: var(--kp-color-accent);
	transform: scale(1.15);
}

@media (max-width: 640px) {
	.kp-hero-slider__arrow {
		width: 2.25rem;
		height: 2.25rem;
		font-size: 1.4rem;
	}

	.kp-hero-slider__arrow--prev { left: 0.5rem; }
	.kp-hero-slider__arrow--next { right: 0.5rem; }
}

/* Commitment band beneath slider (Samaritan-style) */
.kp-hero-commit {
	background: var(--kp-color-primary);
	color: #fff;
	padding: clamp(1.75rem, 4vw, 2.5rem) 0;
	border-bottom: 4px solid var(--kp-color-accent);
}

.kp-hero-commit__inner {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2rem);
	align-items: center;
}

@media (min-width: 900px) {
	.kp-hero-commit__inner {
		grid-template-columns: 1fr 1.2fr;
	}
}

.kp-hero-commit__tagline {
	margin: 0 0 0.35rem;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.82);
	letter-spacing: 0.02em;
}

.kp-hero-commit__head h1 {
	color: #fff;
	margin: 0 0 1rem;
	font-size: clamp(1.65rem, 3.5vw, 2.25rem);
}

.kp-hero-commit__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
	.kp-hero-commit__links {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.kp-hero-commit__links a {
	display: block;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--kp-radius);
	padding: 0.85rem 0.75rem;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.92rem;
	line-height: 1.35;
	min-height: 100%;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.kp-hero-commit__links a:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: var(--kp-color-accent);
	transform: translateY(-1px);
}

.kp-service-tiles {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 700px) {
	.kp-service-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.kp-service-tile {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	background: var(--kp-color-surface);
	border-radius: var(--kp-radius);
	overflow: hidden;
	box-shadow: var(--kp-shadow);
	border: 1px solid rgba(15, 39, 72, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kp-service-tile:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(15, 39, 72, 0.12);
}

.kp-service-tile__img {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #e8eef3;
}

.kp-service-tile__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kp-service-tile__title {
	display: block;
	padding: 0.85rem 1rem 0.25rem;
	font-weight: 700;
	font-size: 1rem;
	color: var(--kp-color-primary);
}

.kp-service-tile__desc {
	display: block;
	padding: 0 1rem 1rem;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--kp-color-muted);
	font-weight: 500;
}

.kp-promo-duo {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.kp-promo-duo {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.kp-promo-duo__card {
	height: 100%;
}

.kp-steps {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	gap: 1.25rem;
	counter-reset: none;
}

@media (min-width: 700px) {
	.kp-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.kp-steps li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: var(--kp-color-surface);
	border: 1px solid rgba(15, 39, 72, 0.08);
	border-radius: var(--kp-radius);
	padding: 1.35rem 1.35rem 1.25rem;
	box-shadow: var(--kp-shadow);
}

.kp-steps li::before {
	content: none;
}

.kp-steps__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--kp-color-primary);
	color: #fff;
	font-weight: 800;
	font-size: 0.9rem;
	margin-bottom: 0.75rem;
	flex-shrink: 0;
}

.kp-steps strong {
	display: block;
	font-size: 1.05rem;
	line-height: 1.35;
	color: var(--kp-color-ink);
}

.kp-steps p {
	margin: 0.45rem 0 0;
	color: var(--kp-color-muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.kp-quotes {
	display: grid;
	gap: 1.25rem;
	margin-top: 2rem;
}

@media (min-width: 800px) {
	.kp-quotes {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.kp-quote {
	margin: 0;
	background: var(--kp-color-surface);
	border-radius: var(--kp-radius);
	padding: 1.35rem 1.25rem;
	box-shadow: var(--kp-shadow);
	border: 1px solid rgba(15, 39, 72, 0.06);
}

.kp-quote p {
	margin: 0 0 0.85rem;
	font-style: italic;
}

.kp-quote footer {
	font-size: 0.85rem;
	font-weight: 650;
	color: var(--kp-color-muted);
}

.kp-faq {
	max-width: 48rem;
	margin-inline: auto;
}

.kp-faq__list {
	margin-top: 1.5rem;
}

.kp-faq__item {
	border: 1px solid rgba(15, 39, 72, 0.1);
	border-radius: 12px;
	padding: 0.85rem 1rem;
	margin-bottom: 0.65rem;
	background: var(--kp-color-surface);
}

.kp-faq__item summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--kp-color-primary);
}

.kp-faq__item p {
	margin: 0.75rem 0 0.25rem;
	color: var(--kp-color-muted);
}

.kp-cta-band__phones {
	margin: 1rem 0 0;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 650;
}

.kp-cta-band__phones a {
	color: #fff;
}

/* --------------------------------------------------------------------------
   Homepage Ohio active locations
   -------------------------------------------------------------------------- */
.kp-ohio-locations__grid {
	display: grid;
	gap: clamp(1.75rem, 4vw, 2.75rem);
	align-items: stretch;
}

@media (min-width: 900px) {
	.kp-ohio-locations__grid {
		grid-template-columns: 0.95fr 1.05fr;
	}
}

.kp-ohio-locations__list {
	list-style: none;
	margin: 1.25rem 0 1.25rem;
	padding: 0;
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
	.kp-ohio-locations__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.kp-ohio-locations__list li {
	position: relative;
	padding-left: 1.25rem;
	color: var(--kp-color-ink);
	font-weight: 600;
}

.kp-ohio-locations__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--kp-color-accent);
}

.kp-ohio-locations__frame {
	border-radius: var(--kp-radius);
	overflow: hidden;
	box-shadow: var(--kp-shadow);
	border: 1px solid rgba(15, 39, 72, 0.08);
	min-height: 320px;
	background: #e8eef3;
}

.kp-ohio-locations__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 0;
}

/* --------------------------------------------------------------------------
   Cards & lists
   -------------------------------------------------------------------------- */
.kp-card {
	background: var(--kp-color-surface);
	padding: 1.5rem 1.35rem;
	border-radius: var(--kp-radius);
	border: 1px solid rgba(15, 39, 72, 0.06);
	box-shadow: 0 4px 20px rgba(15, 39, 72, 0.04);
}

.kp-check-list {
	list-style: none;
	padding: 0;
	margin: 1.25rem 0 0;
}

.kp-check-list li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.65rem;
}

.kp-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45rem;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--kp-color-accent);
	box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}

/* --------------------------------------------------------------------------
   Services   -------------------------------------------------------------------------- */
.kp-service-card h3 {
	margin-bottom: 0.35rem;
	font-size: 1.15rem;
}

.kp-service-card p {
	margin: 0;
	font-size: 0.98rem;
	color: var(--kp-color-muted);
}

/* --------------------------------------------------------------------------
   Services — full-width detail rows (image + copy, alternating)
   -------------------------------------------------------------------------- */
.kp-service-detail__grid {
	display: grid;
	gap: clamp(1.75rem, 4vw, 2.75rem);
	align-items: center;
}

@media (min-width: 900px) {
	.kp-service-detail__grid {
		grid-template-columns: 1fr 1fr;
	}

	.kp-service-detail__grid.kp-service-detail--flip .kp-service-detail__media {
		order: 2;
	}

	.kp-service-detail__grid.kp-service-detail--flip .kp-service-detail__text {
		order: 1;
	}
}

.kp-service-detail__media {
	border-radius: var(--kp-radius);
	overflow: hidden;
	box-shadow: var(--kp-shadow);
}

.kp-service-detail__media img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	max-height: 420px;
	object-fit: cover;
	display: block;
}

@media (min-width: 900px) {
	.kp-service-detail__media img {
		max-height: none;
		min-height: 320px;
	}
}

.kp-service-detail__tagline {
	font-size: 1.08rem;
	font-weight: 600;
	color: var(--kp-color-primary-soft);
	margin: 0 0 0.85rem;
	line-height: 1.45;
}

.kp-service-detail__text h2 {
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	margin-bottom: 0.65rem;
}

.kp-service-detail__body {
	color: var(--kp-color-muted);
	margin: 0 0 1rem;
	font-size: 1.02rem;
}

.kp-service-detail__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.kp-service-detail__list li {
	position: relative;
	padding-left: 1.35rem;
	margin-bottom: 0.5rem;
	color: var(--kp-color-ink);
	font-weight: 500;
	font-size: 0.98rem;
}

.kp-service-detail__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5rem;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--kp-color-accent);
}

/* --------------------------------------------------------------------------
   Page hero (inner)
   -------------------------------------------------------------------------- */
.kp-page-hero {
	padding: clamp(2.5rem, 5vw, 3.5rem) 0;
	background: linear-gradient(135deg, var(--kp-color-primary) 0%, var(--kp-color-primary-soft) 100%);
	color: #fff;
	text-align: center;
}

.kp-page-hero h1 {
	color: #fff;
	margin-bottom: 0.35rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.kp-page-hero p {
	color: rgba(255, 255, 255, 0.88);
	max-width: 36rem;
	margin: 0 auto;
	font-size: 1.1rem;
	font-weight: 500;
}

/* --------------------------------------------------------------------------
   About / split with image
   -------------------------------------------------------------------------- */
.kp-split-img {
	border-radius: var(--kp-radius);
	overflow: hidden;
	box-shadow: var(--kp-shadow);
}

.kp-about-story {
	max-width: 46rem;
	margin-top: 2.5rem;
}

.kp-about-story h3 {
	margin: 1.75rem 0 0.5rem;
	font-size: 1.2rem;
}

.kp-about-story h3:first-child {
	margin-top: 0;
}

.kp-about-story p {
	margin: 0;
	color: var(--kp-color-muted);
}

.kp-about-story p + p {
	margin-top: 0.85rem;
}

/* --------------------------------------------------------------------------
   Contact   -------------------------------------------------------------------------- */
.kp-contact-grid {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 900px) {
	.kp-contact-grid {
		grid-template-columns: 1fr 1.1fr;
		align-items: start;
	}
}

/* Contact page: hero image + stacked info / form */
.kp-contact-layout__grid {
	display: grid;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 900px) {
	.kp-contact-layout__grid {
		grid-template-columns: 1fr 1.05fr;
		align-items: stretch;
	}
}

.kp-contact-layout__visual {
	border-radius: var(--kp-radius);
	overflow: hidden;
	box-shadow: var(--kp-shadow);
	min-height: 220px;
}

.kp-contact-layout__visual img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
}

.kp-contact-layout__panel {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.kp-contact-layout__panel .kp-card {
	margin: 0;
}

.kp-form label {
	display: block;
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 0.35rem;
	color: var(--kp-color-primary);
}

.kp-form input,
.kp-form select,
.kp-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	font-family: var(--kp-font-body);
	font-size: 1rem;
	border: 1px solid rgba(15, 39, 72, 0.15);
	border-radius: 10px;
	background: var(--kp-color-surface);
	margin-bottom: 1rem;
}

.kp-form select {
	appearance: auto;
	min-height: 2.85rem;
}

.kp-form textarea {
	min-height: 140px;
	resize: vertical;
}

.kp-form .kp-btn {
	margin-top: 0.25rem;
	border: 0;
}

.kp-req {
	color: #c62828;
	font-weight: 800;
}

.kp-form-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-weight: 500;
	font-size: 0.9rem;
	line-height: 1.45;
	margin: 0.35rem 0 1rem;
	color: var(--kp-color-ink);
}

.kp-form-consent input[type="checkbox"] {
	width: auto;
	min-width: 1.1rem;
	margin: 0.2rem 0 0;
	padding: 0;
	flex-shrink: 0;
}

.kp-form-intro {
	color: var(--kp-color-muted);
	margin-bottom: 1.25rem;
	line-height: 1.6;
}

.kp-referral-layout__grid {
	display: grid;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 900px) {
	.kp-referral-layout__grid {
		grid-template-columns: 0.9fr 1.1fr;
		align-items: stretch;
	}
}

.kp-referral-layout__visual {
	border-radius: var(--kp-radius);
	overflow: hidden;
	box-shadow: var(--kp-shadow);
	min-height: 220px;
}

.kp-referral-layout__visual img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
}

.kp-referral-layout__form {
	margin: 0;
}

.kp-referral-person {
	border: 0;
	margin: 0 0 1rem;
	padding: 0;
}

.kp-referral-person legend {
	font-weight: 700;
	color: var(--kp-color-primary);
	margin-bottom: 0.65rem;
	padding: 0;
}

.kp-form-row-3 {
	display: grid;
	gap: 0.75rem;
}

@media (min-width: 720px) {
	.kp-form-row-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

.kp-form-row-3 label {
	font-size: 0.85rem;
}

.kp-form-row-3 input {
	margin-bottom: 0;
}

.kp-file-upload {
	margin: 1rem 0 1.25rem;
}

.kp-file-upload__label {
	margin: 0 0 0.5rem;
}

.kp-file-upload__zone {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	padding: 1.25rem 1rem;
	border: 2px dashed rgba(15, 39, 72, 0.2);
	border-radius: 10px;
	background: rgba(250, 248, 245, 0.8);
	cursor: pointer;
	margin-bottom: 0.65rem;
}

.kp-file-upload__zone input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.kp-file-upload__btn {
	display: inline-flex;
	padding: 0.45rem 0.85rem;
	border-radius: 8px;
	background: var(--kp-color-primary);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
}

.kp-form-note {
	font-size: 0.82rem;
	color: var(--kp-color-muted);
	line-height: 1.55;
	margin: 0;
}

.kp-alert {
	padding: 1rem 1.15rem;
	border-radius: 10px;
	margin-bottom: 1.25rem;
	font-size: 0.95rem;
}

.kp-alert--success {
	background: #e8f5e9;
	color: #1b5e20;
	border: 1px solid #a5d6a7;
}

.kp-alert--error {
	background: #ffebee;
	color: #b71c1c;
	border: 1px solid #ef9a9a;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.kp-cta-band {
	background: var(--kp-color-primary);
	color: #fff;
	text-align: center;
	padding: clamp(3rem, 6vw, 4rem) 1.5rem;
	border-radius: var(--kp-radius);
	margin: 0 auto;
	max-width: var(--kp-max);
}

.kp-cta-band h2 {
	color: #fff;
	margin-bottom: 0.5rem;
}

.kp-cta-band p {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 1.25rem;
}

.kp-cta-band .kp-btn--primary {
	background: var(--kp-color-accent);
	color: var(--kp-color-primary);
}

.kp-cta-band .kp-btn--outline {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
}

.kp-cta-band .kp-btn--outline:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.kp-footer {
	background: var(--kp-color-primary);
	color: rgba(255, 255, 255, 0.85);
	padding: 3rem 0 2rem;
	margin-top: 0;
}

.kp-footer a {
	color: #fff;
	text-decoration: none;
}

.kp-footer a:hover {
	color: var(--kp-color-accent);
	text-decoration: underline;
}

.kp-footer__grid {
	display: grid;
	gap: 2rem;
}

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

.kp-footer__logo {
	display: inline-block;
	background: #faf8f5;
	border-radius: 12px;
	padding: 0.4rem 0.55rem 0.3rem;
	margin-bottom: 0.85rem;
	line-height: 0;
}

.kp-footer__logo-link {
	display: block;
	line-height: 0;
}

.kp-footer__logo-img {
	display: block;
	width: auto;
	height: auto;
	max-height: 88px;
	max-width: 160px;
	object-fit: contain;
}

.kp-footer__brand {
	font-family: var(--kp-font-heading);
	font-size: 1.35rem;
	font-weight: 800;
	color: #fff;
	margin-bottom: 0.5rem;
	letter-spacing: -0.03em;
}

.kp-footer__meta {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 0.75rem;
}

.kp-footer__bottom {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 0.9rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.65);
}

/* --------------------------------------------------------------------------
   Sticky mobile CTA
   -------------------------------------------------------------------------- */
.kp-sticky-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99;
	display: flex;
	gap: 0.5rem;
	padding: 0.65rem 1rem;
	background: rgba(250, 248, 245, 0.98);
	backdrop-filter: blur(8px);
	border-top: 1px solid rgba(15, 39, 72, 0.1);
	box-shadow: 0 -8px 30px rgba(15, 39, 72, 0.08);
}

.kp-sticky-cta .kp-btn {
	flex: 1 1 0;
	min-width: 0;
	padding: 0.75rem 0.5rem;
	font-size: 0.85rem;
}

@media (min-width: 900px) {
	.kp-sticky-cta {
		display: none;
	}

	body {
		padding-bottom: 0;
	}

	body.admin-bar {
		padding-bottom: 32px;
	}
}

/* --------------------------------------------------------------------------
   WordPress / Elementor compatibility
   -------------------------------------------------------------------------- */
.alignwide {
	max-width: min(100%,1200px);
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	max-width: 100%;
	width: 100%;
}

/* Let Elementor sections breathe when user builds with Elementor on a page */
.elementor-page .kp-page-hero {
	margin-bottom: 0;
}

/* Elementor: theme defers to post content — full width canvas */
.kp-main--elementor {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.kp-main--elementor > .elementor {
	width: 100%;
	max-width: none;
}

/* Elementor widgets inherit theme typography where useful */
.elementor-widget-text-editor,
.elementor-widget-theme-post-content {
	font-family: var(--kp-font-body);
	color: var(--kp-color-ink);
}

/* Theme Builder header/footer: avoid double spacing under fixed headers */
.elementor-location-header + #kp-main,
.elementor-location-header + .elementor {
	margin-top: 0;
}

/* Boxed sections: align with theme content max (--kp-max) unless Elementor kit overrides */
.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: min(100%, var(--kp-max, 1140px));
}

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

/* --------------------------------------------------------------------------
   Block / page content
   -------------------------------------------------------------------------- */
.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   Mobile fit — same layout, scale text/images so they stay in frame
   -------------------------------------------------------------------------- */
html {
	overflow-x: clip;
}

img,
video,
iframe,
svg {
	max-width: 100%;
}

iframe {
	width: 100%;
}

h1, h2, h3, p, li {
	overflow-wrap: break-word;
}

@media (max-width: 899px) {
	.kp-wrap {
		width: min(100% - 1.75rem, var(--kp-max));
	}

	h1 {
		font-size: clamp(1.55rem, 7vw, 2.15rem);
	}

	h2 {
		font-size: clamp(1.3rem, 5.5vw, 1.85rem);
	}

	.kp-lead {
		font-size: 1.02rem;
	}

	.kp-hero-slider__viewport {
		min-height: 34rem;
		max-height: none;
	}

	.kp-hero-slider__overlay {
		padding: 1.15rem 0 3rem;
	}

	.kp-hero-slider__title {
		font-size: clamp(1.45rem, 6.8vw, 2rem);
		line-height: 1.2;
	}

	.kp-hero-slider__text {
		font-size: 0.95rem;
		line-height: 1.5;
	}

	.kp-hero-slider__actions {
		gap: 0.5rem;
	}

	.kp-hero-slider__actions .kp-btn {
		padding: 0.7rem 1.05rem;
		font-size: 0.88rem;
		max-width: 100%;
	}

	.kp-btn {
		max-width: 100%;
		white-space: normal;
		text-align: center;
	}

	.kp-service-tile__title {
		font-size: 0.92rem;
		padding: 0.7rem 0.75rem 0.2rem;
	}

	.kp-service-tile__desc {
		font-size: 0.82rem;
		padding: 0 0.75rem 0.85rem;
	}

	.kp-service-detail__media img,
	.kp-contact-layout__visual img,
	.kp-referral-layout__visual img,
	.kp-split-img img {
		width: 100%;
		height: auto;
		max-height: 320px;
		object-fit: cover;
	}

	.kp-form input,
	.kp-form select,
	.kp-form textarea {
		max-width: 100%;
		font-size: 16px;
	}

	.kp-ohio-locations__frame iframe {
		max-width: 100%;
	}
}
