/* Homepage landing — brand-first hero + services */

.home-landing {
	padding-top: 0;
}

.home-container {
	width: min(1120px, calc(100% - 2rem));
	margin: 0 auto;
}

/* Full-bleed hero — finished project photo, lighter on the right so the room shows */
.home-hero {
	position: relative;
	min-height: min(88vh, 780px);
	display: flex;
	align-items: flex-end;
	color: #f8f9fa;
	overflow: hidden;
	background: #001540;
}

.home-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.home-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 42%;
	display: block;
	transform: scale(1.04);
	filter: saturate(1.08) contrast(1.05) brightness(1.06);
}

.home-hero__scrim {
	position: absolute;
	inset: 0;
	/* Left-weighted: readable copy, kitchen detail visible on the right */
	background:
		linear-gradient(
			105deg,
			rgba(0, 21, 64, 0.88) 0%,
			rgba(0, 21, 64, 0.72) 38%,
			rgba(0, 21, 64, 0.28) 68%,
			rgba(0, 21, 64, 0.18) 100%
		),
		linear-gradient(
			180deg,
			rgba(0, 21, 64, 0.25) 0%,
			transparent 40%,
			rgba(0, 21, 64, 0.55) 100%
		);
}

.home-hero__content {
	position: relative;
	z-index: 1;
	width: min(1120px, calc(100% - 2rem));
	margin: 0 auto;
	padding: 7.5rem 0 3.75rem;
}

.home-hero__content > * {
	max-width: 34rem;
}

.home-hero__brand {
	font-family: var(--font-primary, 'Poppins', sans-serif);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #ffc107;
	margin: 0 0 0.75rem;
	line-height: 1.15;
}

.home-hero__title {
	font-size: clamp(1.35rem, 2.8vw, 2rem);
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 0.85rem;
	max-width: 18ch;
	color: #f8f9fa;
}

.home-hero__lede {
	font-size: 1.05rem;
	line-height: 1.55;
	max-width: 38rem;
	margin: 0 0 1.75rem;
	opacity: 0.95;
}

.home-hero__actions,
.home-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	align-items: center;
}

.home-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #ffc107;
	color: #001540;
	font-weight: 700;
	text-decoration: none;
	padding: 0.95rem 1.6rem;
	border-radius: 4px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.home-hero__cta:hover {
	background: #ffb300;
	transform: translateY(-1px);
	color: #001540;
}

.home-hero__phone,
.home-cta__phone {
	color: #f8f9fa;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(248, 249, 250, 0.45);
	padding: 0.35rem 0;
}

.home-hero__phone:hover,
.home-cta__phone:hover {
	color: #ffc107;
	border-bottom-color: #ffc107;
}

/* Sections */
.home-section-head {
	text-align: center;
	margin-bottom: 2.5rem;
}

.home-section-head h2 {
	color: #014385;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	margin: 0 0 0.5rem;
}

.home-section-head p {
	color: #555;
	font-size: 1.1rem;
	margin: 0 auto;
	max-width: 40rem;
}

.home-services {
	padding: 4.5rem 0 3rem;
	background: #f8f9fa;
}

.home-services__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.home-service-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	text-decoration: none;
	color: inherit;
	border: 1px solid rgba(1, 67, 133, 0.08);
	border-radius: 8px;
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-service-card:hover {
	border-color: rgba(1, 67, 133, 0.28);
	transform: translateY(-2px);
}

.home-service-card__media {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #e8eef5;
}

.home-service-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-service-card__body {
	padding: 1rem 1.1rem 1.25rem;
}

.home-service-card__body h3 {
	color: #014385;
	font-size: 1.05rem;
	margin: 0 0 0.4rem;
}

.home-service-card__body p {
	color: #555;
	font-size: 0.92rem;
	line-height: 1.45;
	margin: 0;
}

/* Portfolio strip */
.home-portfolio {
	padding: 4rem 0;
	background: #fff;
}

.home-portfolio__strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
}

.home-portfolio__item {
	margin: 0;
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	aspect-ratio: 4 / 3;
}

.home-portfolio__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-portfolio__item figcaption {
	position: absolute;
	left: 0.75rem;
	bottom: 0.75rem;
	background: rgba(0, 21, 64, 0.72);
	color: #f8f9fa;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.25rem 0.55rem;
	border-radius: 3px;
}

.home-portfolio__more {
	text-align: center;
	margin: 1.75rem 0 0;
}

.home-portfolio__more a {
	color: #014385;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid #d4a017;
}

.home-portfolio__more a:hover {
	color: #0a5caa;
}

/* Trust */
.home-trust {
	padding: 3.5rem 0;
	background: #f3f6fa;
}

.home-trust__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.home-trust__item {
	background: #fff;
	padding: 1.35rem 1.1rem;
	border-radius: 8px;
	border: 1px solid rgba(1, 67, 133, 0.08);
	text-align: center;
}

.home-trust__item strong {
	display: block;
	color: #014385;
	font-size: 1.05rem;
	margin-bottom: 0.35rem;
}

.home-trust__item span {
	color: #666;
	font-size: 0.92rem;
}

/* Online quotes */
.home-quotes {
	padding: 4rem 0 3.5rem;
	background:
		linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.home-quotes__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.home-quotes__card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.35rem 1.25rem;
	background: #fff;
	border: 1px solid rgba(1, 67, 133, 0.12);
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-quotes__card:hover {
	border-color: #014385;
	transform: translateY(-2px);
}

.home-quotes__card h3 {
	margin: 0;
	font-size: 1.1rem;
	color: #014385;
}

.home-quotes__card p {
	margin: 0;
	flex: 1;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #445;
}

.home-quotes__card span {
	font-weight: 600;
	font-size: 0.92rem;
	color: #014385;
}

.home-quotes__more {
	margin: 1.5rem 0 0;
	text-align: center;
}

.home-quotes__more a {
	color: #014385;
	font-weight: 600;
	text-decoration: none;
}

.home-quotes__more a:hover {
	text-decoration: underline;
}

.home-hero__cta--secondary {
	background: transparent;
	border: 2px solid #ffc107;
	color: #ffc107;
}

.home-hero__cta--secondary:hover {
	background: rgba(255, 193, 7, 0.12);
	color: #ffc107;
}

/* CTA */
.home-cta {
	padding: 4rem 0;
	background: #014385;
	color: #f8f9fa;
}

.home-cta__inner {
	text-align: center;
	max-width: 720px;
}

.home-cta h2 {
	color: #f8f9fa;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin: 0 0 0.75rem;
}

.home-cta p {
	margin: 0 0 1.75rem;
	opacity: 0.95;
	line-height: 1.55;
}

.home-cta__actions {
	justify-content: center;
}

@media (max-width: 980px) {
	.home-services__grid,
	.home-portfolio__strip,
	.home-trust__grid,
	.home-quotes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-hero {
		min-height: min(78vh, 640px);
	}

	.home-hero__img {
		object-position: 55% 40%;
	}

	.home-hero__scrim {
		background:
			linear-gradient(
				180deg,
				rgba(0, 21, 64, 0.55) 0%,
				rgba(0, 21, 64, 0.72) 45%,
				rgba(0, 21, 64, 0.9) 100%
			);
	}

	.home-hero__content {
		padding-top: 6.5rem;
	}
}

@media (max-width: 560px) {
	.home-services__grid,
	.home-portfolio__strip,
	.home-trust__grid,
	.home-quotes__grid {
		grid-template-columns: 1fr;
	}

	.home-hero__title {
		max-width: none;
	}

	.home-hero__content > * {
		max-width: none;
	}

	.home-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.home-hero__cta {
		text-align: center;
	}
}
