:root {
	--np-deep: #071d14;
	--np-deeper: #04150f;
	--np-green: #2f694c;
	--np-mid: #65964f;
	--np-lime: #a8cb64;
	--np-cream: #f7f4ec;
	--np-white: #fff;
	--np-ink: #10241a;
	--np-muted: #67796e;
	--np-line: rgba(16, 36, 26, .14);
}

/*
 * One centred 2280px canvas. On ultra-wide monitors the body becomes a soft
 * branded frame; at ordinary widths the canvas still fills the viewport.
 */
body.home {
	background:
		radial-gradient(circle at 8% 18%, rgba(168, 203, 100, .38), transparent 30%),
		radial-gradient(circle at 92% 78%, rgba(47, 105, 76, .55), transparent 34%),
		linear-gradient(135deg, #071d14 0%, #183d2a 46%, #0a2b1e 100%);
	background-attachment: fixed;
}
body.home #main-footer { display: none !important; }
body.home #page-container {
	width: 100%;
	max-width: 2280px;
	margin-right: auto;
	margin-left: auto;
	overflow: hidden;
	background: var(--np-cream);
	box-shadow: 0 0 90px rgba(2, 18, 11, .3);
}

.np-home,
.np-home * {
	box-sizing: border-box;
}

.np-home {
	position: relative;
	width: 100%;
	max-width: 2280px;
	margin-right: auto;
	margin-left: auto;
	color: var(--np-ink);
	background: var(--np-cream);
	font-family: "Nunito", ui-rounded, "SF Pro Rounded", "Avenir Next Rounded", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

/*
 * The migrated Divi homepage already contains its featured-businesses row.
 * Replace only its old navigation/hero/services opening and leave that row,
 * and everything added below it, available for the next phase.
 */
body.home .et_pb_section_0,
body.home .et_pb_section_1 > .et_pb_row_2,
body.home .et_pb_section_1 > .et_pb_row_3,
body.home .et_pb_section_1 > .et_pb_row_4 {
	display: none !important;
}

.np-home a {
	text-decoration: none;
}

.np-nav {
	position: absolute;
	z-index: 5;
	top: 0;
	right: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: 104px;
	padding: 15px clamp(24px, 5vw, 82px);
	color: #fff;
	background: linear-gradient(180deg, rgba(3, 17, 12, .9), rgba(3, 17, 12, .36) 72%, transparent);
	border-bottom: 1px solid rgba(255, 255, 255, .13);
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
}

.np-brand {
	display: block;
	flex: 0 0 auto;
}

.np-brand img {
	display: block;
	width: auto;
	height: clamp(58px, 5.2vw, 78px);
	max-width: min(32vw, 300px);
	object-fit: contain;
}

.np-nav nav {
	display: flex;
	align-items: center;
	gap: clamp(22px, 3vw, 48px);
	margin-left: auto;
}

.np-nav nav a {
	color: rgba(255, 255, 255, .87);
	font-size: 15px;
	font-weight: 650;
}

.np-nav nav a:hover,
.np-nav nav a:focus-visible {
	color: var(--np-lime);
}

.np-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 13px 25px;
	border: 1px solid var(--np-mid);
	border-radius: 8px;
	background: linear-gradient(135deg, #76aa5b, #5d8e49);
	color: #fff !important;
	font-weight: 750;
	box-shadow: 0 9px 24px rgba(0, 0, 0, .12);
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.np-button:hover,
.np-button:focus-visible {
	transform: translateY(-2px);
	filter: brightness(1.06);
	box-shadow: 0 13px 28px rgba(0, 0, 0, .18);
}

.np-button-small {
	min-height: 46px;
	padding: 10px 21px;
	white-space: nowrap;
}

.np-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(480px, .9fr);
	gap: clamp(40px, 6vw, 92px);
	align-items: center;
	min-height: 820px;
	padding: clamp(168px, 14vw, 220px) clamp(24px, 5vw, 82px) clamp(72px, 7vw, 112px);
	background:
		linear-gradient(90deg, rgba(2, 18, 12, .96) 0%, rgba(4, 27, 18, .89) 37%, rgba(6, 31, 21, .64) 64%, rgba(5, 24, 17, .47) 100%),
		linear-gradient(180deg, rgba(4, 20, 14, .34) 0%, rgba(3, 18, 12, .1) 42%, rgba(3, 18, 12, .73) 100%),
		url("https://agoodwebsite.co.uk/nottinghamhomes/wp-content/uploads/2026/06/Nottingham-Homes.jpg") center / cover no-repeat;
	color: #fff;
}

.np-hero:after {
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		radial-gradient(circle at 76% 36%, rgba(168, 203, 100, .17), transparent 28%),
		linear-gradient(110deg, rgba(7, 29, 20, .2), transparent 55%);
	content: "";
	pointer-events: none;
}

.np-hero-copy {
	max-width: 720px;
	text-shadow: 0 2px 26px rgba(0, 0, 0, .38);
}

.np-eyebrow,
.np-kicker {
	margin: 0 0 18px;
	color: var(--np-lime);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.np-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 12px;
	border: 1px solid rgba(168, 203, 100, .42);
	border-radius: 999px;
	background: rgba(5, 27, 18, .58);
	letter-spacing: .02em;
	text-transform: none;
}

.np-eyebrow span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--np-lime);
	box-shadow: 0 0 0 5px rgba(168, 203, 100, .12);
}

.np-hero h1,
.np-hero h2,
.np-services h2 {
	margin: 0;
	font-family: "Nunito", ui-rounded, "SF Pro Rounded", "Avenir Next Rounded", system-ui, sans-serif;
	font-weight: 800;
	letter-spacing: -.045em;
}

.np-hero h1 {
	max-width: 680px;
	color: #fff !important;
	font-size: clamp(54px, 6vw, 96px);
	line-height: .98;
}

.np-hero-copy h2 {
	margin-top: 16px;
	color: var(--np-lime);
	font-size: clamp(27px, 3vw, 44px);
	line-height: 1.12;
}

.np-lead {
	max-width: 630px;
	margin: 26px 0 0;
	color: rgba(255, 255, 255, .78);
	font-size: clamp(17px, 1.4vw, 20px);
	line-height: 1.65;
}

.np-hero-actions {
	display: flex;
	gap: 16px;
	margin-top: 34px;
}

.np-button-outline {
	border-color: rgba(255, 255, 255, .58);
	background: transparent;
	box-shadow: none;
}

.np-form-card {
	position: relative;
	padding: clamp(28px, 3vw, 42px);
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 28px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .055)),
		rgba(10, 30, 21, .58);
	color: #fff;
	box-shadow:
		0 32px 80px rgba(0, 0, 0, .38),
		inset 0 1px 0 rgba(255, 255, 255, .22);
	backdrop-filter: blur(24px) saturate(125%);
	-webkit-backdrop-filter: blur(24px) saturate(125%);
}

.np-form-card:before {
	position: absolute;
	inset: 12px 12px auto auto;
	width: 94px;
	height: 94px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(168, 203, 100, .26), transparent 68%);
	content: "";
	pointer-events: none;
}

.np-form-heading h2 {
	margin: 0 0 9px;
	font-family: "Nunito", ui-rounded, "SF Pro Rounded", "Avenir Next Rounded", system-ui, sans-serif;
	letter-spacing: -.035em;
	font-size: clamp(30px, 2.8vw, 44px);
	line-height: 1.08;
	color: #fff !important;
}

.np-form-intro {
	max-width: 590px;
	margin: 0 0 25px;
	color: rgba(255, 255, 255, .72);
}

.np-form-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.np-form-meta .np-kicker {
	margin-bottom: 14px;
}

.np-step-count {
	margin: 0 0 14px;
	color: rgba(255, 255, 255, .7);
	font-size: 14px;
}

.np-step-count strong {
	color: var(--np-lime);
}

.np-step-progress {
	height: 4px;
	margin: -10px 0 24px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255, 255, 255, .14);
}

.np-step-progress span {
	display: block;
	width: 50%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--np-mid), var(--np-lime));
	box-shadow: 0 0 18px rgba(168, 203, 100, .45);
	transition: width .3s ease;
}

.np-form-step[hidden] {
	display: none !important;
}

.np-form-step.is-active {
	animation: np-step-in .3s ease both;
}

@keyframes np-step-in {
	from {
		opacity: 0;
		transform: translateX(12px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.np-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.np-form-card label {
	display: block;
	margin: 0 0 14px;
	color: rgba(255, 255, 255, .92);
	font-size: 14px;
	font-weight: 750;
}

.np-form-card input:not([type="checkbox"]),
.np-form-card select,
.np-form-card textarea {
	display: block;
	width: 100%;
	min-height: 50px;
	margin-top: 7px;
	padding: 11px 13px;
	border: 1px solid rgba(255, 255, 255, .26);
	border-radius: 11px;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font: inherit;
	font-size: 16px;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.np-form-card textarea {
	min-height: 104px;
	resize: vertical;
}

.np-form-card input::placeholder,
.np-form-card textarea::placeholder {
	color: rgba(255, 255, 255, .5);
}

.np-form-card select option {
	background: #10241a;
	color: #fff;
}

.np-form-card input:focus,
.np-form-card select:focus,
.np-form-card textarea:focus {
	border-color: rgba(168, 203, 100, .8);
	background: rgba(255, 255, 255, .14);
	box-shadow: 0 0 0 4px rgba(168, 203, 100, .13);
}

.np-consent {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	margin: 4px 0 16px !important;
	color: rgba(255, 255, 255, .7) !important;
	font-weight: 500 !important;
	line-height: 1.45;
}

.np-consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--np-mid);
}

.np-consent a {
	color: var(--np-lime);
	font-weight: 750;
	text-decoration: underline;
}

.np-submit {
	width: 100%;
	border: 0;
	cursor: pointer;
	font: inherit;
}

.np-form-buttons {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 12px;
	align-items: stretch;
}

.np-back-step {
	min-height: 52px;
	padding: 12px 18px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 8px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font: inherit;
	font-weight: 750;
	cursor: pointer;
}

.np-back-step:hover,
.np-back-step:focus-visible {
	border-color: rgba(168, 203, 100, .7);
	background: rgba(255, 255, 255, .13);
}

.np-submit span {
	margin-left: 10px;
	font-size: 20px;
}

.np-form-footnote {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, .58);
	font-size: 13px;
	text-align: center;
}

.np-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.np-form-notice {
	margin: 0 0 18px;
	padding: 13px 15px;
	border-radius: 8px;
	font-size: 14px;
}

.np-form-success {
	background: #eaf5e6;
	color: #23491f;
}

.np-form-error {
	background: #fff0ed;
	color: #7a2f25;
}

.np-trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 0 clamp(24px, 5vw, 82px);
	background: #082419;
	color: #fff;
	border-top: 1px solid rgba(168, 203, 100, .18);
}

.np-trust > div {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 112px;
	padding: 20px clamp(14px, 2vw, 32px);
	border-right: 1px solid rgba(255, 255, 255, .18);
	color: rgba(255, 255, 255, .82);
}

.np-trust > div:first-child {
	padding-left: 0;
}

.np-trust > div:last-child {
	border-right: 0;
}

.np-trust svg {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	color: var(--np-lime);
}

.np-trust strong {
	display: block;
	color: #fff;
}

.np-services {
	padding: clamp(60px, 7vw, 102px) clamp(24px, 5vw, 82px);
	background:
		radial-gradient(circle at 95% 20%, rgba(168, 203, 100, .13), transparent 25%),
		var(--np-cream);
}

.np-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 32px;
}

.np-section-heading .np-kicker {
	margin-bottom: 7px;
	color: var(--np-green);
}

.np-services h2 {
	font-size: clamp(38px, 4vw, 58px);
	line-height: 1.08;
}

.np-section-heading > a {
	padding-bottom: 7px;
	color: var(--np-green);
	font-weight: 800;
}

.np-service-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
}

.np-service-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 210px;
	padding: 24px 15px;
	border: 1px solid var(--np-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, .72);
	color: var(--np-ink);
	text-align: center;
	box-shadow: 0 12px 35px rgba(15, 40, 27, .045);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.np-service-card:hover,
.np-service-card:focus-visible {
	transform: translateY(-5px);
	border-color: rgba(101, 150, 79, .55);
	box-shadow: 0 18px 40px rgba(15, 40, 27, .1);
}

.np-service-icon {
	display: grid;
	place-items: center;
	width: 70px;
	height: 70px;
	margin-bottom: 17px;
	border-radius: 50%;
	background: #edf2e7;
	color: var(--np-green);
}

.np-service-icon svg {
	width: 40px;
	height: 40px;
}

.np-service-card strong {
	max-width: 150px;
	font-size: 16px;
	line-height: 1.25;
}

.np-service-card > span:last-child {
	margin-top: 7px;
	color: var(--np-muted);
	font-size: 13px;
}

@media (max-width: 1120px) {
	.np-nav nav {
		display: none;
	}
	.np-hero {
		grid-template-columns: 1fr;
		padding-top: 150px;
	}
	.np-hero-copy {
		max-width: 820px;
	}
	.np-service-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 760px) {
	.np-nav {
		min-height: 72px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.np-brand img {
		height: 54px;
		max-width: 46vw;
	}
	.np-button-small {
		padding: 9px 13px;
		font-size: 13px;
	}
	.np-hero {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
		padding-top: 128px;
		background-position: 58% center;
	}
	.np-hero h1 {
		font-size: clamp(47px, 14vw, 68px);
	}
	.np-hero-actions {
		flex-direction: column;
	}
	.np-form-card {
		padding: 25px 18px;
		border-radius: 16px;
	}
	.np-form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.np-trust {
		grid-template-columns: 1fr 1fr;
	}
	.np-trust > div,
	.np-trust > div:first-child {
		min-height: 96px;
		padding: 16px 10px;
		border-bottom: 1px solid rgba(255, 255, 255, .14);
		font-size: 14px;
	}
	.np-trust svg {
		width: 30px;
		height: 30px;
		flex-basis: 30px;
	}
	.np-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}
	.np-service-grid {
		grid-template-columns: 1fr 1fr;
	}
	.np-service-card {
		min-height: 170px;
	}
}

@media (max-width: 430px) {
	.np-brand img {
		height: 46px;
		max-width: 47vw;
	}
	.np-button-small {
		min-height: 42px;
		padding-inline: 10px;
	}
	.np-form-buttons {
		grid-template-columns: 1fr;
	}
	.np-trust {
		grid-template-columns: 1fr;
	}
	.np-trust > div {
		border-right: 0;
	}
	.np-service-grid {
		grid-template-columns: 1fr;
	}
}
