/* Kilby hero — homepage only, injected by kilby_hero_section() in functions.php.
   Palette matches the existing site: accent #da2f10, near-black #1b1b1b,
   warm off-white #f5f1f0. Background is the site's own kitchen-extension
   photograph (uploads/2015/06/01.jpg, 1200x500). */
.kilby-hero {
	position: relative;
	background-color: #1b1b1b;
	background-image: url("https://www.kilbydevelopments.co.uk/wp-content/uploads/2015/06/01.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #ffffff;
}
.kilby-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(17, 17, 17, 0.84) 0%, rgba(17, 17, 17, 0.64) 46%, rgba(17, 17, 17, 0.20) 78%, rgba(17, 17, 17, 0.06) 100%);
}
.kilby-hero__inner {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	padding: 88px 30px 80px;
}
.kilby-hero__eyebrow {
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.5;
	text-transform: uppercase;
	color: #ffffff;
}
.kilby-hero__eyebrow::before {
	content: "";
	display: block;
	width: 44px;
	height: 3px;
	margin-bottom: 16px;
	background: #da2f10;
}
.kilby-hero__title {
	margin: 0 0 20px;
	max-width: 640px;
	font-size: 52px;
	font-weight: 700;
	line-height: 1.06;
	color: #ffffff;
}
.kilby-hero__sub {
	margin: 0 0 32px;
	max-width: 560px;
	font-size: 19px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
}
.kilby-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 36px;
}
.kilby-hero__btn {
	display: inline-block;
	padding: 15px 30px;
	border-radius: 2px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.kilby-hero__btn--primary {
	background: #da2f10;
	border: 1px solid #da2f10;
	color: #ffffff !important;
}
.kilby-hero__btn--primary:hover {
	background: #1b1b1b;
	border-color: #1b1b1b;
	color: #ffffff !important;
}
.kilby-hero__btn--ghost {
	background: transparent;
	border: 1px solid #ffffff;
	color: #ffffff !important;
}
.kilby-hero__btn--ghost:hover {
	background: #ffffff;
	color: #1b1b1b !important;
}
.kilby-hero__points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 0;
	padding: 22px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.28);
	list-style: none;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: rgba(255, 255, 255, 0.92);
}
.kilby-hero__points li::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 10px;
	border-radius: 50%;
	background: #da2f10;
	vertical-align: 2px;
}
@media (max-width: 800px) {
	.kilby-hero {
		background-position: 64% center;
	}
	.kilby-hero::before {
		background: linear-gradient(180deg, rgba(17, 17, 17, 0.82) 0%, rgba(17, 17, 17, 0.68) 60%, rgba(17, 17, 17, 0.52) 100%);
	}
	.kilby-hero__inner {
		padding: 60px 20px 52px;
	}
	.kilby-hero__title {
		font-size: 34px;
		line-height: 1.1;
	}
	.kilby-hero__sub {
		font-size: 17px;
	}
	.kilby-hero__cta {
		margin-bottom: 30px;
	}
}
@media (max-width: 480px) {
	.kilby-hero__btn {
		width: 100%;
		text-align: center;
	}
	.kilby-hero__points {
		flex-direction: column;
		gap: 8px;
	}
}
