/**
 * Footer — clean, minimal (white), with an underline-style Contact Form 7 form.
 * Selectors use two classes so theme / page-builder rules cannot win.
 */

.ki-footer {
	position: relative;
	background: #ffffff;
	color: #353535;
	border-top: 1px solid #ece7dc;
}

.ki-footer__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 80px 24px 0;
}

/* ---------- Brand ---------- */

.ki-footer__brand {
	text-align: center;
	margin-bottom: 64px;
}

.ki-footer .ki-footer__logo {
	display: inline-block;
	width: auto;
	height: auto;
	max-width: 220px;
	max-height: 80px;
}

.ki-footer .ki-footer__name {
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
	color: #1a1a1a;
}

.ki-footer .ki-footer__brand-text {
	margin: 18px auto 0;
	max-width: 520px;
	font-size: 1rem;
	line-height: 1.8;
	color: #666666;
}

/* ---------- Columns ---------- */

.ki-footer__cols {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 80px;
}

/* Heading with a small accent ornament, like "— ◇ Connect With Us". */
.ki-footer .ki-footer__title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	color: #1a1a1a;
}

.ki-footer__orn {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex: none;
	width: 46px;
	height: 12px;
}

.ki-footer__orn::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	height: 1px;
	background: var(--ki-color-accent, #7cb8ae);
}

.ki-footer__orn i {
	position: absolute;
	right: 4px;
	top: 50%;
	width: 9px;
	height: 9px;
	margin-top: -4.5px;
	background: #ffffff;
	border: 1px solid var(--ki-color-accent-deep, #146131);
	transform: rotate(45deg);
}

.ki-footer .ki-footer__title--nav {
	margin-top: 54px;
}

.ki-footer .ki-footer__lead {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.5;
	color: #1a1a1a;
}

.ki-footer .ki-footer__intro {
	margin: 0 0 30px;
	max-width: 520px;
	font-size: 0.92rem;
	line-height: 1.8;
	color: #666666;
}

/* ---------- Contact + lists ---------- */

.ki-footer .ki-footer__contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ki-footer .ki-footer__contact li {
	margin: 0 0 10px;
	font-size: 0.92rem;
	line-height: 1.7;
	color: #555555;
}

.ki-footer .ki-footer__contact a,
.ki-footer .ki-footer__menu a,
.ki-footer .ki-footer__socials a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s linear;
}

.ki-footer .ki-footer__contact a:hover,
.ki-footer .ki-footer__menu a:hover,
.ki-footer .ki-footer__socials a:hover,
.ki-footer .ki-footer__contact a:focus-visible,
.ki-footer .ki-footer__menu a:focus-visible,
.ki-footer .ki-footer__socials a:focus-visible {
	color: var(--ki-color-accent-deep, #146131);
}

.ki-footer__lists {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.ki-footer .ki-footer__list-title {
	margin: 0 0 14px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ki-color-accent-deep, #146131);
}

.ki-footer .ki-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ki-footer .ki-footer__menu li {
	margin: 0 0 10px;
	font-size: 0.86rem;
	line-height: 1.5;
	color: #555555;
}

/* ---------- Contact Form 7 (minimal underline fields) ---------- */

.ki-footer .ki-footer__form .wpcf7-form {
	margin: 0;
}

.ki-footer .ki-footer__form .ki-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 30px;
}

.ki-footer .ki-footer__form .ki-form__full {
	grid-column: 1 / -1;
}

.ki-footer .ki-footer__form .ki-form__grid p {
	margin: 0;
}

.ki-footer .ki-footer__form .wpcf7-form-control-wrap {
	display: block;
}

.ki-footer .ki-footer__form input[type="text"],
.ki-footer .ki-footer__form input[type="tel"],
.ki-footer .ki-footer__form input[type="email"],
.ki-footer .ki-footer__form select,
.ki-footer .ki-footer__form textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 8px 0;
	border: 0;
	border-bottom: 1px solid #bdbdbd;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font: inherit;
	font-size: 0.92rem;
	color: #1a1a1a;
	transition: border-color 0.3s linear;
}

.ki-footer .ki-footer__form textarea {
	height: 70px;
	min-height: 70px;
	resize: vertical;
}

.ki-footer .ki-footer__form select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%);
	background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

.ki-footer .ki-footer__form input:focus,
.ki-footer .ki-footer__form select:focus,
.ki-footer .ki-footer__form textarea:focus {
	outline: none;
	border-bottom-color: var(--ki-color-accent-deep, #146131);
	box-shadow: 0 1px 0 0 var(--ki-color-accent-deep, #146131);
}

.ki-footer .ki-footer__form ::placeholder {
	color: #7a7a7a;
	opacity: 1;
}

.ki-footer .ki-footer__form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.ki-footer .ki-footer__form .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.8rem;
	line-height: 1.6;
	color: #666666;
}

.ki-footer .ki-footer__form .wpcf7-acceptance input {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 3px 0 0;
	accent-color: var(--ki-color-accent-deep, #146131);
}

.ki-footer .ki-footer__form .wpcf7-acceptance a {
	color: var(--ki-color-accent-deep, #146131);
}

/* Button: the sitewide green pill. */
.ki-footer .ki-footer__form input[type="submit"],
.ki-footer .ki-footer__form .wpcf7-submit {
	display: inline-block;
	padding: 16px 34px;
	border: 0;
	border-radius: 999px;
	background: var(--ki-color-accent-deep, #146131);
	font: inherit;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.3s linear, color 0.3s linear;
}

.ki-footer .ki-footer__form input[type="submit"]:hover,
.ki-footer .ki-footer__form input[type="submit"]:focus-visible {
	background: var(--ki-color-accent, #7cb8ae);
	color: #0f1412;
}

/* Locked until the consent box is ticked. */
.ki-footer .ki-footer__form input[type="submit"]:disabled {
	background: #c9d3cd;
	color: #ffffff;
	cursor: not-allowed;
}

.ki-footer .ki-footer__form .wpcf7-spinner {
	margin: 0 0 0 12px;
}

.ki-footer .ki-footer__form .wpcf7-not-valid-tip {
	margin-top: 4px;
	font-size: 0.74rem;
	color: #b3261e;
}

.ki-footer .ki-footer__form .wpcf7-response-output {
	margin: 22px 0 0;
	padding: 12px 16px;
	border: 1px solid var(--ki-color-accent, #7cb8ae);
	border-radius: 12px;
	font-size: 0.86rem;
	color: #353535;
}

.ki-footer .ki-footer__form form.invalid .wpcf7-response-output,
.ki-footer .ki-footer__form form.failed .wpcf7-response-output {
	border-color: #b3261e;
}

/* ---------- Bottom bar ---------- */

.ki-footer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px 24px;
	margin-top: 70px;
	padding: 22px 72px 26px 0; /* right gap keeps the floating call button off the social links */
	border-top: 1px solid #ece7dc;
}

.ki-footer .ki-footer__copy {
	margin: 0;
	font-size: 0.78rem;
	color: #777777;
}

.ki-footer .ki-footer__socials {
	display: flex;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ki-footer .ki-footer__socials li {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #555555;
}

/* ---------- Tablet / phone ---------- */

@media (max-width: 900px) {
	.ki-footer__inner {
		padding-top: 60px;
	}

	.ki-footer__cols {
		grid-template-columns: 1fr;
		gap: 56px;
	}

	.ki-footer__brand {
		margin-bottom: 48px;
	}
}

@media (max-width: 560px) {
	.ki-footer .ki-footer__form .ki-form__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.ki-footer__lists {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ki-footer__bar {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ki-footer .ki-footer__form input[type="submit"],
	.ki-footer .ki-footer__contact a,
	.ki-footer .ki-footer__menu a,
	.ki-footer .ki-footer__socials a {
		transition: none;
	}
}
