/*
 * Klifesolar theme styles.
 * A hand-written port of the React site's Tailwind design.
 * Breakpoints follow Tailwind: sm 640px, md 768px, lg 1024px.
 * Brand colours/fonts come from CSS variables printed by inc/options.php.
 */

/* ---------------------------------------------------------------------
 * 1. Tokens (fallbacks — overridden inline from the admin console)
 * ------------------------------------------------------------------- */
:root {
	--k-primary: #047857;
	--k-primary-dark: #065f46;
	--k-ink: #022c22;
	--k-ink-rgb: 2, 44, 34;
	--k-accent: #14b8a6;
	--k-accent-light: #5eead4;
	--k-accent-text: #0f766e;
	--k-sky: #0ea5e9;
	--k-sky-rgb: 14, 165, 233;
	--k-shadow-rgb: 13, 148, 136;
	--k-body-bg: #fcfaf3;
	--k-header-bg: #fbf6e9;
	--k-header-bg-rgb: 251, 246, 233;
	--k-bg-1: #f2f8f1;
	--k-bg-2: #e6f4f7;
	--k-bg-3: #eaf7ee;
	--k-footer-bg: #0f172a;
	--k-font-heading: "Roboto Slab", Georgia, serif;
	--k-font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--k-container: 1152px;
	--k-header-h: 74px;
	--k-alt-1: #ffffff;
	--k-alt-2: #e8f5ef;
	--k-border: rgba(6, 78, 59, 0.1);
	--k-slate-50: #f8fafc;
	--k-slate-100: #f1f5f9;
	--k-slate-200: #e2e8f0;
	--k-slate-300: #cbd5e1;
	--k-slate-400: #94a3b8;
	--k-slate-500: #64748b;
	--k-slate-600: #475569;
	--k-slate-700: #334155;
	--k-slate-800: #1e293b;
	--k-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Accent palettes (products, services, team, contact cards). */
.k-accent-emerald { --a-text: #059669; --a-strong: #047857; --a-bg: #10b981; --a-soft: #d1fae5; }
.k-accent-teal    { --a-text: #0d9488; --a-strong: #0f766e; --a-bg: #14b8a6; --a-soft: #ccfbf1; }
.k-accent-sky     { --a-text: #0284c7; --a-strong: #0369a1; --a-bg: #0ea5e9; --a-soft: #e0f2fe; }
.k-accent-cyan    { --a-text: #0891b2; --a-strong: #0e7490; --a-bg: #06b6d4; --a-soft: #cffafe; }
.k-accent-text    { color: var(--a-text, var(--k-accent-text)); }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--k-font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--k-ink);
	background: var(--k-body-bg);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
iframe { border: 0; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--k-font-heading); color: var(--k-ink); line-height: 1.2; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--k-accent); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.k-skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100000;
	padding: 10px 16px; border-radius: 6px;
	background: var(--k-primary); color: #fff; font-weight: 600;
}
.k-skip-link:focus { top: 12px; }

.k-icon { width: 1em; height: 1em; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.k-icon--sm { width: 16px; height: 16px; }
.k-icon--md { width: 20px; height: 20px; }
.k-icon--lg { width: 24px; height: 24px; }

/* ---------------------------------------------------------------------
 * 3. Layout helpers
 * ------------------------------------------------------------------- */
.k-container {
	width: 100%;
	max-width: calc(var(--k-container) + 32px);
	margin-inline: auto;
	padding-inline: 16px;
}
.k-container--narrow { max-width: calc(896px + 32px); }
@media (min-width: 640px) {
	.k-container { max-width: calc(var(--k-container) + 48px); padding-inline: 24px; }
	.k-container--narrow { max-width: calc(896px + 48px); }
}

.k-section { position: relative; }
.k-pad    { padding-block: 80px; }
.k-pad-sm { padding-block: 80px; }
.k-pad-xs { padding-block: 64px; }
@media (min-width: 1024px) {
	.k-pad    { padding-block: 112px; }
	.k-pad-sm { padding-block: 96px; }
}

.k-bg-1 { background: var(--k-bg-1); }
.k-bg-2 { background: var(--k-bg-2); }
.k-bg-3 { background: var(--k-bg-3); }
.k-bg-slate { background: var(--k-slate-100); }
.k-bg-alt-1 { background: var(--k-alt-1); }
.k-bg-alt-2 { background: var(--k-alt-2); }
.k-bg-hero { background: linear-gradient(to bottom right, var(--k-bg-3), var(--k-bg-2), #dceef7); overflow: hidden; }
.k-bg-fade-1-2 { background: linear-gradient(to bottom, var(--k-bg-1), var(--k-bg-2)); }
.k-bg-fade-1-3 { background: linear-gradient(to bottom, var(--k-bg-1), var(--k-bg-3)); }
.k-bg-band { background: linear-gradient(to bottom right, var(--k-primary), #0d9488, #0284c7); }

.k-grid {
	display: grid;
	grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
	gap: 24px;
}
@media (min-width: 640px)  { .k-grid { grid-template-columns: repeat(var(--cols-sm, var(--cols, 1)), minmax(0, 1fr)); } }
@media (min-width: 768px)  { .k-grid { grid-template-columns: repeat(var(--cols-md, var(--cols-sm, 1)), minmax(0, 1fr)); } }
@media (min-width: 1024px) { .k-grid { grid-template-columns: repeat(var(--cols-lg, var(--cols-md, 1)), minmax(0, 1fr)); } }
.k-gap-4 { gap: 16px; }
.k-gap-6 { gap: 24px; }
.k-gap-8 { gap: 32px; }

.k-mt-6  { margin-top: 24px; }
.k-mt-7  { margin-top: 28px; }
.k-mt-8  { margin-top: 32px; }
.k-mt-10 { margin-top: 40px; }
.k-mt-12 { margin-top: 48px; }
.k-center { text-align: center; }
.k-stack-16 > * + * { margin-top: 64px; }
.k-stack-20 > * + * { margin-top: 80px; }

.k-split { display: grid; gap: 48px; }
@media (min-width: 1024px) {
	.k-split--contact-home { grid-template-columns: 1.1fr 1fr; }
	.k-split--contact-page { grid-template-columns: 1.2fr 1fr; }
}

/* Offset "brutalist" shadows + hover lift */
.k-lift, .k-lift-sm { transition: transform 0.2s ease; }
.k-lift:hover    { transform: translateY(-6px); }
.k-lift-sm:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
	.k-lift:hover, .k-lift-sm:hover { transform: none; }
}

/* ---------------------------------------------------------------------
 * 4. Typography blocks
 * ------------------------------------------------------------------- */
.k-eyebrow {
	font-size: 12px; line-height: 16px;
	font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
	color: var(--k-accent-text);
}
.k-eyebrow--emerald { color: var(--k-primary); }
.k-eyebrow--sky { color: #0369a1; }
.k-eyebrow--light { color: #99f6e4; }

.k-title {
	max-width: 42rem;
	font-family: var(--k-font-heading);
	font-size: 30px; line-height: 36px;
	font-weight: 800; letter-spacing: -0.025em;
	color: var(--k-ink);
}
.k-eyebrow + .k-title { margin-top: 12px; }
.k-title--light { color: #fff; }
@media (min-width: 640px) { .k-title { font-size: 36px; line-height: 40px; } }

.k-lead {
	margin-top: 16px; max-width: 42rem;
	line-height: 1.625;
	color: rgba(var(--k-ink-rgb), 0.6);
}
.k-head .k-title, .k-head .k-lead { margin-inline: var(--k-head-mx, 0); }
.k-head--slate .k-lead { max-width: 28rem; color: var(--k-slate-600); }
.k-head--center { --k-head-mx: auto; }
.k-head--center .k-lead { color: rgba(var(--k-ink-rgb), 0.7); }

/* Page hero */
.k-page-hero { padding-top: 48px; padding-bottom: 56px; }
.k-head--hero .k-title { max-width: 48rem; font-size: 36px; line-height: 40px; }
.k-head--hero .k-lead { margin-top: 20px; font-size: 18px; line-height: 1.625; color: rgba(var(--k-ink-rgb), 0.7); }
@media (min-width: 640px) { .k-head--hero .k-title { font-size: 48px; line-height: 1.1; } }

.k-head-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.k-head-split .k-title { max-width: 36rem; }
.k-head-split__aside { max-width: 24rem; font-size: 14px; line-height: 1.625; color: rgba(var(--k-ink-rgb), 0.6); }

.k-series { font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--a-text, var(--k-accent-text)); }

.k-more {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 14px; font-weight: 600;
	color: var(--a-text, var(--k-primary));
	transition: gap 0.15s ease, color 0.15s ease;
}
.k-more:hover { gap: 8px; }
.k-more--light { margin-top: 32px; color: #ccfbf1; }
.k-more--light:hover { color: #fff; }

/* ---------------------------------------------------------------------
 * 5. Buttons
 * ------------------------------------------------------------------- */
.k-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	border: 0; border-radius: 8px;
	font-family: var(--k-font-body); font-size: 14px; font-weight: 600; line-height: 1.25;
	text-align: center; text-decoration: none;
	transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.k-btn:active { transform: scale(0.98); }
.k-btn--primary {
	background: var(--k-primary); color: #fff;
	box-shadow: 4px 4px 0 0 rgba(var(--k-shadow-rgb), 0.3);
}
.k-btn--primary:hover { transform: translateY(-2px); color: #fff; }
.k-btn--outline {
	background: rgba(255, 255, 255, 0.6); color: #064e3b;
	border: 2px solid rgba(6, 78, 59, 0.2);
}
.k-btn--outline:hover { border-color: rgba(13, 148, 136, 0.5); color: #064e3b; }
.k-btn--lg { padding: 12px 24px; font-size: 16px; }
.k-btn--lg.k-btn--primary { box-shadow: 6px 6px 0 0 rgba(var(--k-shadow-rgb), 0.3); }
.k-btn--md { padding: 10px 20px; }
.k-btn--block { display: flex; width: 100%; margin-top: 8px; padding: 12px 16px; }
.k-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.k-btn-row--center { justify-content: center; }

/* ---------------------------------------------------------------------
 * 6. Header
 * ------------------------------------------------------------------- */
.k-header {
	position: relative; z-index: 50;
	border-bottom: 1px solid var(--k-border);
	background: rgba(var(--k-header-bg-rgb), 0.85);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.klife-fixed-header .k-header { position: fixed; top: 0; left: 0; right: 0; }
.klife-fixed-header .site-main { padding-top: var(--k-header-h); }
.admin-bar.klife-fixed-header .k-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.klife-fixed-header .k-header { top: 46px; } }

.k-header__bar { display: flex; align-items: center; justify-content: space-between; height: var(--k-header-h); }

.k-brand { display: inline-flex; align-items: center; gap: 8px; }
.k-brand__mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 6px;
	background: var(--k-primary-dark); color: var(--k-accent-light);
}
.k-brand__mark .k-icon { width: 20px; height: 20px; }
.k-brand__name { font-family: var(--k-font-heading); font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.025em; color: var(--k-ink); }
.k-brand__img { max-height: 54px; width: auto; }
.k-brand--footer .k-brand__mark { background: #2dd4bf; color: var(--k-ink); }
.k-brand--footer .k-brand__name { color: #fff; }
/* Regular (dark) logo shown on the dark footer: sit it on a light plate. */
.k-brand--footer.has-plate { padding: 10px 16px; border-radius: 10px; background: #fff; box-shadow: 4px 4px 0 0 rgba(var(--k-shadow-rgb), 0.35); }
.k-brand--footer .k-brand__img { max-height: 56px; }

.k-nav { display: none; }
.k-nav__list { display: flex; align-items: center; gap: 28px; list-style: none; }
.k-nav__list > li { position: relative; }
.k-nav__list a {
	display: block; padding-block: 8px;
	font-size: 14px; font-weight: 500;
	color: rgba(var(--k-ink-rgb), 0.7);
	transition: color 0.15s ease;
}
.k-nav__list a:hover,
.k-nav__list .current-menu-item > a,
.k-nav__list .current-menu-ancestor > a,
.k-nav__list a[aria-current="page"] { color: var(--k-primary-dark); }
/* Dropdowns */
.k-nav__list .sub-menu {
	position: absolute; top: 100%; left: -16px; z-index: 60;
	min-width: 200px; padding: 8px; list-style: none;
	background: #fff; border: 1px solid var(--k-border); border-radius: 12px;
	box-shadow: 6px 6px 0 0 rgba(var(--k-shadow-rgb), 0.12);
	opacity: 0; visibility: hidden; transform: translateY(4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.k-nav__list li:hover > .sub-menu,
.k-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.k-nav__list .sub-menu a { padding: 8px 12px; border-radius: 6px; }
.k-nav__list .sub-menu a:hover { background: rgba(6, 78, 59, 0.05); }

.k-header__actions { display: flex; align-items: center; gap: 8px; }
.k-btn--header {
	display: none;
	min-height: 0; padding: 10px 16px; border-radius: 6px;
	background: var(--k-primary-dark); color: #f0fdfa;
	box-shadow: 4px 4px 0 0 rgba(var(--k-shadow-rgb), 0.35);
}
.k-btn--header:hover { transform: translateY(-2px); color: #f0fdfa; }

.k-menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 6px; background: transparent; color: var(--k-ink);
}
.k-menu-toggle .k-icon { width: 24px; height: 24px; }
.k-menu-toggle__close, .k-menu-toggle[aria-expanded="true"] .k-menu-toggle__open { display: none; }
.k-menu-toggle[aria-expanded="true"] .k-menu-toggle__close { display: inline-block; }

.k-mobile-nav {
	max-height: calc(100vh - var(--k-header-h));
	overflow-y: auto;
	padding: 12px 16px;
	border-top: 1px solid var(--k-border);
	background: var(--k-header-bg);
}
.k-mobile-nav[hidden] { display: none; }
.k-mobile-nav__list, .k-mobile-nav__list .sub-menu { list-style: none; }
.k-mobile-nav__list a {
	display: block; padding: 12px;
	border-radius: 6px;
	font-size: 16px; font-weight: 500; color: var(--k-ink);
}
.k-mobile-nav__list a:hover { background: rgba(6, 78, 59, 0.05); }
.k-mobile-nav__list .current-menu-item > a { color: var(--k-primary-dark); }
.k-mobile-nav__list .sub-menu { padding-left: 16px; }

@media (min-width: 640px) {
	.k-btn--header { display: inline-flex; }
	.k-header__bar { padding-inline: 24px; }
}
@media (min-width: 768px) {
	.k-nav { display: block; }
	.k-menu-toggle, .k-mobile-nav { display: none !important; }
}

/* ---------------------------------------------------------------------
 * 7. Home hero
 * ------------------------------------------------------------------- */
.k-hero__grid { display: grid; gap: 48px; padding-top: 56px; padding-bottom: 80px; }
@media (min-width: 1024px) {
	.k-hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; padding-top: 96px; padding-bottom: 112px; }
}

.k-pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 16px; border-radius: 999px;
	border: 1px solid rgba(15, 118, 110, 0.2); background: rgba(255, 255, 255, 0.7);
	font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
	color: var(--k-accent-text);
}
.k-pill__icon { width: 14px; height: 14px; color: #f59e0b; }

.k-hero__title {
	margin-top: 24px;
	font-size: 36px; line-height: 1.08; font-weight: 800; letter-spacing: -0.025em;
}
@media (min-width: 640px)  { .k-hero__title { font-size: 48px; } }
@media (min-width: 1024px) { .k-hero__title { font-size: 60px; } }

.k-highlight { position: relative; display: inline-block; }
.k-highlight__text { position: relative; z-index: 1; }
.k-highlight__bar {
	position: absolute; left: 0; right: 0; bottom: 4px; z-index: 0;
	height: 12px; transform: rotate(-1deg);
	background: var(--k-accent-light); opacity: 0.7;
}

.k-hero__text { margin-top: 24px; max-width: 36rem; font-size: 18px; line-height: 1.625; color: rgba(var(--k-ink-rgb), 0.7); }
.k-hero__text strong { font-weight: 600; color: #064e3b; }
.k-hero__ctas { margin-top: 32px; }
.k-hero__ctas .k-btn--primary { box-shadow: 6px 6px 0 0 rgba(var(--k-shadow-rgb), 0.35); }

.k-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.k-chip {
	padding: 12px 20px; border-radius: 8px;
	border: 1px solid var(--k-border); background: #fff;
	box-shadow: 5px 5px 0 0 rgba(var(--k-shadow-rgb), 0.14);
}
.k-chip__value { font-family: var(--k-font-heading); font-size: 24px; line-height: 32px; font-weight: 700; color: var(--k-primary-dark); font-variant-numeric: tabular-nums; }
.k-chip__label { font-size: 12px; line-height: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.025em; color: rgba(var(--k-ink-rgb), 0.5); }

.k-hero__media { position: relative; }
.k-hero__frame { position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%); }
.k-hero__frame img { width: 100%; height: 320px; object-fit: cover; transform: scale(1.1); }
@media (min-width: 640px)  { .k-hero__frame img { height: 420px; } }
@media (min-width: 1024px) { .k-hero__frame img { height: 480px; } }

.k-tag {
	position: absolute;
	padding: 8px 16px; border-radius: 6px;
	background: var(--k-accent); color: #fff;
	font-family: var(--k-font-heading); font-size: 14px; font-weight: 700;
	box-shadow: 4px 4px 0 0 rgba(var(--k-shadow-rgb), 0.3);
}
.k-hero__badge { left: -12px; top: 24px; transform: rotate(-4deg); }

.k-float {
	position: absolute;
	padding: 16px 20px; border-radius: 8px;
	border: 1px solid var(--k-border); background: #fff;
	box-shadow: 6px 6px 0 0 rgba(var(--k-shadow-rgb), 0.16);
}
.k-float__value { font-family: var(--k-font-heading); font-size: 30px; line-height: 36px; font-weight: 800; color: var(--k-primary); font-variant-numeric: tabular-nums; }
.k-float__label { font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; color: rgba(var(--k-ink-rgb), 0.5); }
.k-float--sky { box-shadow: 6px 6px 0 0 rgba(var(--k-sky-rgb), 0.16); }
.k-float--sky .k-float__value { color: #0284c7; }
.k-hero__rating { left: 16px; bottom: -24px; }
.k-hero__savings { right: -8px; bottom: 64px; }
@media (min-width: 640px) {
	.k-hero__badge { left: -24px; }
	.k-hero__rating { left: 32px; }
	.k-hero__savings { right: -16px; }
}

/* Full-screen home sections: each is at least one screen tall, content centred. */
.klife-home-fullscreen .k-section {
	display: flex; flex-direction: column; justify-content: center;
	min-height: 100vh;
	min-height: 100svh;
}
.klife-home-fullscreen .k-section > .k-container { width: 100%; }
.klife-home-fullscreen .k-hero { min-height: calc(100vh - var(--k-header-h)); min-height: calc(100svh - var(--k-header-h)); }
.admin-bar.klife-home-fullscreen .k-hero { min-height: calc(100svh - var(--k-header-h) - 32px); }

/* ---------------------------------------------------------------------
 * 8. Cards & components
 * ------------------------------------------------------------------- */
.k-checklist { list-style: none; }
.k-checklist li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: rgba(var(--k-ink-rgb), 0.8); }
.k-checklist .k-icon { width: 16px; height: 16px; margin-top: 2px; }
.k-checklist--divided { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--k-border); }
.k-checklist--divided li + li { margin-top: 8px; }
.k-checklist--grid { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 640px) { .k-checklist--grid { grid-template-columns: 1fr 1fr; } }

.k-icon-box {
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 44px; height: 44px; border-radius: 8px;
	background: linear-gradient(to bottom right, #059669, var(--k-accent)); color: #fff;
}
.k-icon-box .k-icon { width: 20px; height: 20px; }

/* Product card */
.k-product-card {
	position: relative; height: 100%; overflow: hidden;
	border-radius: 12px; border: 1px solid var(--k-border); background: #fff;
	box-shadow: 7px 7px 0 0 rgba(var(--k-shadow-rgb), 0.12);
}
.k-product-card__corner { position: absolute; top: 0; right: 0; z-index: 2; width: 56px; height: 56px; background: var(--a-bg); clip-path: polygon(100% 0, 0 0, 100% 100%); }
.k-product-card__media { overflow: hidden; }
.k-product-card__media img { width: 100%; height: 192px; object-fit: cover; transition: transform 0.3s ease; }
.k-product-card:hover .k-product-card__media img { transform: scale(1.05); }
.k-product-card__body { padding: 24px; }
.k-product-card__title { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 20px; line-height: 28px; font-weight: 700; }
.k-product-card__title .k-icon { width: 20px; height: 20px; }
.k-product-card__blurb { margin-top: 12px; font-size: 14px; line-height: 1.625; color: rgba(var(--k-ink-rgb), 0.65); }
.k-product-card .k-more { margin-top: 20px; }

/* Panel + tabs */
.k-panel {
	position: relative;
	padding: 24px; border-radius: 16px;
	border: 1px solid var(--k-border); background: #fff;
	box-shadow: 10px 10px 0 0 rgba(var(--k-sky-rgb), 0.14);
}
@media (min-width: 640px) { .k-panel { padding: 40px; } }
.k-panel__badge {
	position: absolute; top: -16px; right: 32px; transform: rotate(2deg);
	padding: 6px 16px; border-radius: 6px;
	background: var(--k-sky); color: #fff;
	font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
	box-shadow: 3px 3px 0 0 rgba(var(--k-sky-rgb), 0.3);
}

.k-tabs__list {
	display: flex; flex-wrap: wrap; gap: 8px;
	width: 100%; padding: 6px;
	border-radius: 8px; background: var(--k-slate-100);
}
@media (min-width: 640px) { .k-tabs__list { display: inline-flex; width: auto; } }
.k-tabs__tab {
	flex: 1 1 auto;
	min-height: 44px; padding: 10px 16px;
	border: 0; border-radius: 6px; background: transparent;
	font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--k-slate-600);
	transition: background-color 0.15s ease, color 0.15s ease;
}
.k-tabs__tab:hover { color: var(--k-ink); }
.k-tabs__tab[aria-selected="true"] { background: var(--k-primary); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
@media (min-width: 640px) { .k-tabs__tab { flex: 0 0 auto; } }
.k-tabs__panel { margin-top: 32px; }
.k-tabs__panel[hidden] { display: none; }
.k-tabs__panel:focus-visible { outline-offset: 6px; border-radius: 6px; }

.k-inverter { display: grid; gap: 40px; }
@media (min-width: 1024px) { .k-inverter { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.k-inverter__headline { font-size: 24px; line-height: 32px; font-weight: 700; }
@media (min-width: 640px) { .k-inverter__headline { font-size: 30px; line-height: 36px; } }
.k-inverter__text { margin-top: 16px; line-height: 1.625; color: rgba(var(--k-ink-rgb), 0.65); }
.k-inverter .k-btn { margin-top: 24px; }

.k-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 640px) { .k-specs { grid-template-columns: repeat(3, 1fr); } }
.k-spec { padding: 14px 16px; border-radius: 6px; background: var(--k-slate-100); }
.k-spec__label { font-size: 11px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; color: var(--k-slate-500); }
.k-spec__value { margin-top: 4px; font-family: var(--k-font-heading); font-size: 16px; line-height: 24px; font-weight: 700; color: var(--k-slate-800); font-variant-numeric: tabular-nums; }

/* Service card */
.k-service-card {
	height: 100%; padding: 24px; border-radius: 12px;
	background: var(--a-soft);
	box-shadow: 6px 6px 0 0 rgba(var(--k-shadow-rgb), 0.12);
}
.k-service-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 8px;
	background: #fff; color: var(--a-strong);
	box-shadow: 3px 3px 0 0 rgba(var(--k-shadow-rgb), 0.14);
}
.k-service-card__icon .k-icon { width: 24px; height: 24px; }
.k-service-card__title { margin-top: 20px; font-size: 18px; line-height: 28px; font-weight: 700; }
.k-service-card__copy { margin-top: 8px; font-size: 14px; line-height: 1.625; color: rgba(var(--k-ink-rgb), 0.65); }

/* Brand card */
.k-brand-card {
	display: flex; align-items: center; gap: 16px;
	height: 100%; padding: 20px; border-radius: 12px;
	border: 1px solid var(--k-border); background: #fff;
	box-shadow: 5px 5px 0 0 rgba(var(--k-shadow-rgb), 0.1);
}
.k-brand-card__name { font-family: var(--k-font-heading); font-size: 14px; line-height: 20px; font-weight: 700; color: var(--k-ink); }
.k-brand-card__note { font-size: 12px; line-height: 16px; font-weight: 500; color: rgba(var(--k-ink-rgb), 0.5); }
@media (max-width: 639px) {
	.k-brand-card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
}

/* Review */
.k-review {
	position: relative; height: 100%; margin: 0; padding: 24px;
	border-radius: 12px; border: 1px solid var(--k-border); background: #fff;
	box-shadow: 6px 6px 0 0 rgba(var(--k-shadow-rgb), 0.12);
}
.k-review__quote { width: 32px; height: 32px; color: var(--k-accent-light); }
.k-stars { display: flex; gap: 2px; margin-top: 12px; }
.k-star { width: 16px; height: 16px; color: var(--k-slate-200); fill: var(--k-slate-200); }
.k-star.is-on { color: #fbbf24; fill: #fbbf24; }
.k-review__text { margin: 16px 0 0; font-size: 14px; line-height: 1.625; color: rgba(var(--k-ink-rgb), 0.75); }
.k-review__by { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--k-border); }
.k-review__name { font-family: var(--k-font-heading); font-size: 14px; line-height: 20px; font-weight: 700; color: var(--k-ink); }
.k-review__loc { font-size: 12px; line-height: 16px; color: rgba(var(--k-ink-rgb), 0.55); }
.k-review__system { margin-top: 4px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--k-accent-text); }

/* Why us */
.k-why { display: grid; gap: 48px; }
.k-why__media { position: relative; order: 2; }
.k-why__copy { order: 1; }
@media (min-width: 1024px) {
	.k-why { grid-template-columns: 1fr 1.15fr; align-items: center; }
	.k-why__media { order: 1; }
	.k-why__copy { order: 2; }
}
.k-why__frame { overflow: hidden; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 12%); }
.k-why__frame img { width: 100%; height: 380px; object-fit: cover; transform: scale(1.1); }
@media (min-width: 640px) { .k-why__frame img { height: 460px; } }
.k-badge {
	position: absolute; display: flex; align-items: center; gap: 8px;
	padding: 10px 16px; border-radius: 6px;
	font-size: 14px; font-weight: 700; color: #fff;
}
.k-badge--primary { background: var(--k-primary); box-shadow: 4px 4px 0 0 rgba(var(--k-shadow-rgb), 0.35); }
.k-badge--primary .k-icon { color: var(--k-accent-light); }
.k-badge--accent { background: var(--k-accent); box-shadow: 4px 4px 0 0 rgba(var(--k-shadow-rgb), 0.3); }
.k-why__badge1 { right: -8px; top: 32px; transform: rotate(2deg); }
.k-why__badge2 { left: -8px; bottom: 40px; transform: rotate(-2deg); }
@media (min-width: 640px) {
	.k-why__badge1 { right: -16px; }
	.k-why__badge2 { left: -16px; }
}

/* Feature cards */
.k-feature {
	height: 100%; padding: 24px; border-radius: 12px;
	border: 1px solid var(--k-border); background: #fff;
	box-shadow: 5px 5px 0 0 rgba(var(--k-shadow-rgb), 0.12);
}
.k-feature__title { margin-top: 16px; font-size: 16px; line-height: 24px; font-weight: 700; }
.k-feature__copy { margin-top: 6px; font-size: 14px; line-height: 1.625; color: rgba(var(--k-ink-rgb), 0.6); }
.k-feature--sm { padding: 20px; box-shadow: 5px 5px 0 0 rgba(var(--k-shadow-rgb), 0.1); transition: transform 0.2s ease; }
.k-feature--sm:hover { transform: translateY(-4px); }
.k-feature--sm .k-icon-box { width: 40px; height: 40px; }
.k-feature--sm .k-feature__title { margin-top: 12px; }
.k-why .k-grid { gap: 16px; }

/* Gradient "where we work" card */
.k-gradient-card {
	position: relative; padding: 32px; border-radius: 16px;
	background: linear-gradient(to bottom right, var(--k-primary), #0d9488, #0284c7);
	box-shadow: 10px 10px 0 0 rgba(var(--k-shadow-rgb), 0.18);
	color: #fff;
}
@media (min-width: 640px) { .k-gradient-card { padding: 40px; } }
.k-gradient-card__badge {
	position: absolute; top: -16px; left: 32px; transform: rotate(-2deg);
	padding: 6px 16px; border-radius: 6px; background: #2dd4bf;
	font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--k-ink);
	box-shadow: 3px 3px 0 0 rgba(var(--k-shadow-rgb), 0.35);
}
.k-gradient-card__title { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 24px; line-height: 32px; font-weight: 700; color: #fff; }
.k-gradient-card__title .k-icon { color: #99f6e4; }
.k-gradient-card__text { margin-top: 12px; font-size: 14px; line-height: 1.625; color: rgba(255, 255, 255, 0.8); }
.k-gradient-card .k-chips-list { margin-top: 24px; }

.k-chips-list { display: flex; flex-wrap: wrap; gap: 8px; }
.k-state {
	padding: 6px 14px; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.1);
	font-size: 12px; line-height: 16px; font-weight: 600; color: #fff;
}
.k-chips-list--md { gap: 10px; }
.k-chips-list--md .k-state { padding: 8px 16px; font-size: 14px; line-height: 20px; }

.k-contact-lines { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 14px; }
.k-contact-lines > * { display: flex; align-items: center; gap: 12px; font-weight: 500; color: #fff; }
.k-contact-lines > * + * { margin-top: 12px; }
.k-contact-lines a { transition: color 0.15s ease; }
.k-contact-lines a:hover { color: #99f6e4; }
.k-contact-lines .k-icon { width: 16px; height: 16px; color: #99f6e4; }
.k-contact-lines .is-muted { color: rgba(255, 255, 255, 0.8); }
.k-contact-lines .is-top { align-items: flex-start; }
.k-contact-lines .is-top .k-icon { margin-top: 2px; }

/* Product detail rows */
.k-detail { display: grid; gap: 40px; }
@media (min-width: 1024px) {
	.k-detail { grid-template-columns: 1fr 1fr; align-items: center; }
	.k-detail.is-reversed .k-detail__media { order: 2; }
}
.k-detail__media { overflow: hidden; border-radius: 16px; box-shadow: 10px 10px 0 0 rgba(var(--k-shadow-rgb), 0.16); }
.k-detail__media img { width: 100%; height: 288px; object-fit: cover; }
@media (min-width: 640px) { .k-detail__media img { height: 384px; } }
.k-detail__title { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 30px; line-height: 36px; font-weight: 800; }
.k-detail__title .k-icon { width: 28px; height: 28px; }
@media (min-width: 640px) { .k-detail__title { font-size: 36px; line-height: 40px; } }
.k-detail__text { margin-top: 16px; line-height: 1.625; color: rgba(var(--k-ink-rgb), 0.7); }
.k-detail__text p + p { margin-top: 12px; }
.k-price { padding: 12px 16px; border-radius: 8px; background: #fff; box-shadow: 4px 4px 0 0 rgba(var(--k-shadow-rgb), 0.14); }
.k-price__label { font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; color: rgba(var(--k-ink-rgb), 0.5); }
.k-price__value { font-family: var(--k-font-heading); font-size: 20px; line-height: 28px; font-weight: 700; color: var(--k-primary-dark); font-variant-numeric: tabular-nums; }

/* Service detail */
.k-service-detail {
	display: grid; gap: 32px;
	padding: 28px; border-radius: 16px;
	border: 1px solid var(--k-border); background: #fff;
	box-shadow: 8px 8px 0 0 rgba(var(--k-shadow-rgb), 0.12);
}
@media (min-width: 640px) { .k-service-detail { padding: 40px; } }
@media (min-width: 1024px) { .k-service-detail { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.k-service-detail__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 12px;
	background: var(--a-soft); color: var(--a-strong);
	box-shadow: 3px 3px 0 0 rgba(var(--k-shadow-rgb), 0.14);
}
.k-service-detail__icon .k-icon { width: 28px; height: 28px; }
.k-service-detail__title { margin-top: 20px; font-size: 24px; line-height: 32px; font-weight: 800; }
@media (min-width: 640px) { .k-service-detail__title { font-size: 30px; line-height: 36px; } }
.k-service-detail__copy { margin-top: 12px; line-height: 1.625; color: rgba(var(--k-ink-rgb), 0.7); }
.k-steps { padding: 24px; border-radius: 12px; background: var(--k-slate-50); }
.k-steps__label { font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--k-slate-500); }
.k-steps ol { margin-top: 16px; list-style: none; }
.k-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 20px; font-weight: 500; color: rgba(var(--k-ink-rgb), 0.8); }
.k-steps li + li { margin-top: 16px; }
.k-steps__num {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 28px; height: 28px; margin-top: -4px; border-radius: 999px;
	background: linear-gradient(to bottom right, #059669, var(--k-accent));
	font-size: 12px; font-weight: 700; color: #fff;
}

/* Process */
.k-process {
	height: 100%; padding: 24px; border-radius: 12px;
	border: 1px solid var(--k-border); background: #fff;
	box-shadow: 5px 5px 0 0 rgba(var(--k-shadow-rgb), 0.12);
}
.k-process__num { font-family: var(--k-font-heading); font-size: 30px; line-height: 36px; font-weight: 800; color: var(--k-accent); font-variant-numeric: tabular-nums; }
.k-process__title { margin-top: 12px; font-size: 16px; line-height: 24px; font-weight: 700; }
.k-process__copy { margin-top: 8px; font-size: 14px; line-height: 1.625; color: rgba(var(--k-ink-rgb), 0.6); }

/* Team */
.k-member {
	height: 100%; overflow: hidden; border-radius: 16px;
	border: 1px solid var(--k-border); background: #fff;
	box-shadow: 7px 7px 0 0 rgba(var(--k-shadow-rgb), 0.12);
}
.k-member__media { position: relative; overflow: hidden; }
.k-member__media img { width: 100%; height: 288px; object-fit: cover; transition: transform 0.3s ease; }
.k-member:hover .k-member__media img { transform: scale(1.05); }
.k-member__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--a-bg); }
.k-member__body { padding: 20px; }
.k-member__name { font-size: 18px; line-height: 28px; font-weight: 700; }
.k-member__role { font-size: 14px; line-height: 20px; font-weight: 600; }
.k-member__bio { margin-top: 12px; font-size: 14px; line-height: 1.625; color: rgba(var(--k-ink-rgb), 0.65); }
.k-member__social { display: inline-flex; margin-top: 12px; color: var(--a-text); }

/* Stats band */
.k-stat { text-align: center; }
.k-stat__value { font-family: var(--k-font-heading); font-size: 36px; line-height: 40px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .k-stat__value { font-size: 48px; line-height: 1; } }
.k-stat__label { margin-top: 8px; font-size: 14px; line-height: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; color: rgba(255, 255, 255, 0.8); }

/* Contact cards */
.k-contact-cards > * + * { margin-top: 16px; }
.k-contact-card {
	display: flex; align-items: flex-start; gap: 16px;
	padding: 20px; border-radius: 12px;
	border: 1px solid var(--k-border); background: #fff;
	box-shadow: 5px 5px 0 0 rgba(var(--k-shadow-rgb), 0.1);
}
.k-contact-card__icon {
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 44px; height: 44px; border-radius: 8px;
	background: var(--a-soft); color: var(--a-strong);
}
.k-contact-card__icon .k-icon { width: 20px; height: 20px; }
.k-contact-card__label { font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; color: rgba(var(--k-ink-rgb), 0.5); }
.k-contact-card__value { font-size: 14px; line-height: 1.625; font-weight: 600; color: var(--k-ink); word-break: break-word; }

/* Coverage */
.k-coverage__head { display: flex; align-items: center; gap: 8px; }
.k-coverage__head .k-icon { color: #99f6e4; }
.k-coverage__text { margin-top: 12px; max-width: 36rem; color: rgba(255, 255, 255, 0.8); }

/* Map */
.k-map { overflow: hidden; border-radius: 16px; border: 1px solid var(--k-border); box-shadow: 8px 8px 0 0 rgba(var(--k-shadow-rgb), 0.14); }
.k-map iframe { width: 100%; height: 320px; }

/* 404 */
.k-404 { padding-bottom: 96px; }
.k-404__code { font-family: var(--k-font-heading); font-size: 96px; line-height: 1; font-weight: 900; color: var(--k-accent-light); }
.k-404 .k-head { margin-top: 16px; }

/* ---------------------------------------------------------------------
 * 9. Form plugin styling (Contact Form 7, WPForms, Fluent Forms, Gravity…)
 * ------------------------------------------------------------------- */
.k-form { --k-field-border: var(--k-slate-300); }
.k-form form { margin: 0; }
.k-form p { margin: 0 0 20px; }
.k-form label,
.k-form .wpforms-field-label,
.k-form .ff-el-input--label label,
.k-form .gfield_label {
	display: block; margin-bottom: 8px;
	font-size: 14px; line-height: 20px; font-weight: 600; color: var(--k-slate-700);
}
.k-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="range"]),
.k-form select,
.k-form textarea,
.k-form .wpforms-container .wpforms-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.k-form .wpforms-container .wpforms-form select,
.k-form .wpforms-container .wpforms-form textarea {
	width: 100%; max-width: 100%;
	min-height: 46px; padding: 12px 16px;
	border: 1px solid var(--k-field-border); border-radius: 6px;
	background: #fff; box-shadow: none;
	font-family: var(--k-font-body); font-size: 14px; line-height: 20px; color: var(--k-slate-800);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	appearance: none; -webkit-appearance: none;
}
.k-form select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.k-form textarea { min-height: 112px; resize: vertical; }
.k-form ::placeholder { color: var(--k-slate-400); opacity: 1; }
.k-form input:focus,
.k-form select:focus,
.k-form textarea:focus,
.k-form .wpforms-container .wpforms-form input:focus,
.k-form .wpforms-container .wpforms-form select:focus,
.k-form .wpforms-container .wpforms-form textarea:focus {
	outline: none;
	border-color: #0d9488;
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}
.k-form input[type="submit"],
.k-form button[type="submit"],
.k-form .wpcf7-submit,
.k-form .wpforms-submit,
.k-form .ff-btn-submit,
.k-form .gform_button,
.k-form .wpforms-container .wpforms-form button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	width: auto; min-height: 44px; padding: 12px 24px;
	border: 0; border-radius: 8px;
	background: var(--k-primary); color: #fff;
	font-family: var(--k-font-body); font-size: 16px; font-weight: 600; line-height: 1.25;
	box-shadow: 6px 6px 0 0 rgba(var(--k-shadow-rgb), 0.3);
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease;
}
.k-form input[type="submit"]:hover,
.k-form button[type="submit"]:hover,
.k-form .wpforms-container .wpforms-form button[type="submit"]:hover { transform: translateY(-2px); background: var(--k-primary); }
.k-form input[type="submit"]:disabled,
.k-form button[type="submit"]:disabled { opacity: 0.6; }

/* Two-column rows: wrap fields in <div class="k-form-row">…</div> in your form markup. */
.k-form-row { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .k-form-row { grid-template-columns: 1fr 1fr; } }

/* Validation & messages */
.k-form .wpcf7-not-valid-tip,
.k-form .wpforms-error,
.k-form .error.text-danger { margin-top: 6px; font-size: 13px; font-weight: 500; color: #dc2626; }
.k-form .wpcf7 form .wpcf7-response-output,
.k-form .wpforms-confirmation-container-full,
.k-form .ff-message-success,
.k-form .gform_confirmation_message {
	margin: 20px 0 0; padding: 20px 24px;
	border: 1px solid rgba(4, 120, 87, 0.3); border-radius: 8px;
	background: #ecfdf5; color: #064e3b;
	font-size: 14px; line-height: 1.5;
	box-shadow: 5px 5px 0 0 rgba(var(--k-shadow-rgb), 0.14);
}
.k-form .wpcf7 form.invalid .wpcf7-response-output,
.k-form .wpcf7 form.failed .wpcf7-response-output,
.k-form .wpcf7 form.unaccepted .wpcf7-response-output { border-color: #fca5a5; background: #fef2f2; color: #991b1b; }
.k-form .wpcf7-spinner { margin: 0 0 0 12px; }
.k-form .wpforms-container { margin: 0; }

.k-form-empty {
	padding: 24px; border-radius: 12px;
	border: 1px dashed rgba(4, 120, 87, 0.35); background: rgba(255, 255, 255, 0.7);
	font-size: 14px; line-height: 1.6; color: var(--k-slate-600);
}
.k-form-empty p + p { margin-top: 8px; }
.k-form-empty a:not(.k-btn) { color: var(--k-primary); text-decoration: underline; }
.k-form-empty .k-btn-row { margin-top: 16px; }

/* ---------------------------------------------------------------------
 * 10. Footer
 * ------------------------------------------------------------------- */
.k-footer { padding-block: 56px; background: var(--k-footer-bg); color: var(--k-slate-300); }
.k-footer__grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .k-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.k-footer__about { margin-top: 16px; max-width: 24rem; font-size: 14px; line-height: 1.625; color: var(--k-slate-400); }
.k-footer__heading { font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--k-slate-500); }
.k-footer__links { margin-top: 16px; list-style: none; font-size: 14px; }
.k-footer__links li + li { margin-top: 10px; }
.k-footer__links a { display: inline-flex; align-items: center; gap: 8px; transition: color 0.15s ease; }
.k-footer__links a:hover { color: var(--k-accent-light); }
.k-footer__links .sub-menu { display: none; }
.k-footer__contact .k-icon { width: 16px; height: 16px; color: #2dd4bf; }
.k-footer__contact .is-address { display: flex; align-items: flex-start; gap: 8px; color: var(--k-slate-400); }
.k-footer__contact .is-address .k-icon { margin-top: 2px; }
.k-footer__bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--k-slate-800);
	font-size: 12px; line-height: 16px; color: var(--k-slate-500);
}
.k-footer__tagline { display: flex; align-items: center; gap: 6px; }
.k-footer__tagline .k-icon { width: 14px; height: 14px; color: #2dd4bf; }
.k-social { display: flex; gap: 8px; margin-top: 20px; list-style: none; }
.k-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 6px;
	background: var(--k-slate-800); color: var(--k-slate-300);
	transition: background-color 0.15s ease, color 0.15s ease;
}
.k-social a:hover { background: #2dd4bf; color: var(--k-ink); }

/* ---------------------------------------------------------------------
 * 11. Blog, content & WordPress core classes
 * ------------------------------------------------------------------- */
.k-prose { max-width: calc(768px + 48px); line-height: 1.75; color: rgba(var(--k-ink-rgb), 0.85); }
.k-prose > * + * { margin-top: 1.25em; }
.k-prose h1, .k-prose h2, .k-prose h3, .k-prose h4 { margin-top: 1.8em; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.k-prose h2 { font-size: 28px; }
.k-prose h3 { font-size: 22px; }
.k-prose h4 { font-size: 18px; }
.k-prose a { color: var(--k-primary); text-decoration: underline; text-underline-offset: 3px; }
.k-prose ul, .k-prose ol { padding-left: 1.4em; }
.k-prose li + li { margin-top: 0.4em; }
.k-prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--k-accent); font-style: italic; }
.k-prose img { border-radius: 12px; }
.k-prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.k-prose th, .k-prose td { padding: 10px 12px; border: 1px solid var(--k-border); text-align: left; }
.k-prose pre { overflow-x: auto; padding: 16px; border-radius: 8px; background: var(--k-slate-800); color: #f8fafc; }
.k-prose .alignwide { max-width: none; margin-inline: calc(50% - 50vw + 24px); }
.k-prose .alignfull { max-width: none; margin-inline: calc(50% - 50vw); }
@media (min-width: 1200px) { .k-prose .alignwide { margin-inline: -180px; } }

.alignleft { float: left; margin: 0.4em 1.5em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, .wp-element-caption, figcaption { font-size: 13px; color: var(--k-slate-500); }
.sticky .k-post-card__title::before { content: "★ "; color: #f59e0b; }
.bypostauthor { display: block; }
.gallery-caption { display: block; }

.k-post-thumb { margin: 0 0 32px; overflow: hidden; border-radius: 16px; box-shadow: 10px 10px 0 0 rgba(var(--k-shadow-rgb), 0.16); }
.k-post-meta { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--k-border); font-size: 14px; }
.k-post-meta a { color: var(--k-primary); }

.k-post-card {
	display: flex; flex-direction: column; height: 100%; overflow: hidden;
	border-radius: 12px; border: 1px solid var(--k-border); background: #fff;
	box-shadow: 7px 7px 0 0 rgba(var(--k-shadow-rgb), 0.12);
}
.k-post-card__media img { width: 100%; height: 200px; object-fit: cover; }
.k-post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.k-post-card__title { margin-top: 8px; font-size: 20px; line-height: 28px; font-weight: 700; }
.k-post-card__title a:hover { color: var(--k-primary); }
.k-post-card__excerpt { margin-top: 12px; flex: 1; font-size: 14px; line-height: 1.625; color: rgba(var(--k-ink-rgb), 0.65); }
.k-post-card .k-more { margin-top: 20px; }

.k-pagination, .navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; min-height: 44px; padding: 8px 14px;
	border: 1px solid var(--k-border); border-radius: 8px; background: #fff;
	font-weight: 600; font-size: 14px;
}
.page-numbers.current { background: var(--k-primary); border-color: var(--k-primary); color: #fff; }
.post-navigation { margin-top: 48px; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { display: block; max-width: 22rem; font-weight: 600; color: var(--k-ink); }
.k-nav-sub { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--k-accent-text); }

.k-search { display: flex; gap: 8px; max-width: 28rem; margin-inline: auto; }
.k-input {
	flex: 1; min-height: 46px; padding: 12px 16px;
	border: 1px solid var(--k-slate-300); border-radius: 6px; background: #fff;
	font: inherit; font-size: 14px;
}
.k-input:focus { outline: none; border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2); }

.k-comments { margin-top: 56px; }
.k-comments__title { font-size: 24px; }
.k-comments__list { list-style: none; margin-top: 24px; }
.k-comments__list .comment-body { padding: 20px; margin-bottom: 16px; border: 1px solid var(--k-border); border-radius: 12px; background: #fff; }
.k-comments__list .children { list-style: none; padding-left: 24px; }
.k-comments .avatar { float: left; margin-right: 12px; border-radius: 999px; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%; padding: 12px 16px; border: 1px solid var(--k-slate-300); border-radius: 6px; font: inherit; font-size: 14px;
}
.k-empty { padding: 48px 0; }

/* ---------------------------------------------------------------------
 * 12. Motion: reveal-on-scroll (only when JS is running)
 * ------------------------------------------------------------------- */
.k-js .klife-animations [data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s var(--k-ease), transform 0.6s var(--k-ease);
	transition-delay: var(--reveal-delay, 0s);
}
.k-js .klife-animations [data-reveal].is-revealed { opacity: 1; transform: none; }
.elementor-editor-active [data-reveal],
.elementor-editor-preview [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	.k-js .klife-animations [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------------
 * 13. Elementor compatibility
 * ------------------------------------------------------------------- */
/* Theme sections used as widgets span the full widget width. */
.elementor-widget-klife-section .elementor-widget-container { margin: 0; padding: 0; }
.elementor-widget-klife-section .k-section { width: 100%; }
/* Stack theme sections flush, like the original site. Spacing set in Elementor still wins. */
.elementor-widget-klife-section { --kit-widget-spacing: 0px; margin-block-end: 0; }
.elementor-widget-klife-section:not(:last-child) { margin-bottom: 0; }
.e-con:has(> .elementor-widget-klife-section) {
	--gap: 0px; --row-gap: 0px; --column-gap: 0px;
	--padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
}
/* Elementor Form widget dropped into a themed form area. */
.k-form .elementor-form .elementor-button { border-radius: 8px; background: var(--k-primary); box-shadow: 6px 6px 0 0 rgba(var(--k-shadow-rgb), 0.3); }
/* Theme Builder header from Elementor Pro: no fixed-header offset. */
.elementor-location-header + .site-main { padding-top: 0; }

/* ---------------------------------------------------------------------
 * 14. Print
 * ------------------------------------------------------------------- */
@media print {
	.k-header, .k-footer, .k-btn, .k-map { display: none !important; }
	.klife-fixed-header .site-main { padding-top: 0; }
	[data-reveal] { opacity: 1 !important; transform: none !important; }
}
