/* Nova Living — navy / cyan / green marketing theme */

:root {
	--nl-navy: #00205B;
	--nl-cyan: #0072CE;
	--nl-green: #72BF44;
	--nl-bg: #FFFFFF;
	--nl-muted: #F5F7FA;
	--nl-text: #1A1A2E;
	--nl-max: 1120px;
	--nl-header-h: 4.25rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nl-header-h) + 0.75rem);
}

body {
	margin: 0;
	font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--nl-text);
	background: var(--nl-bg);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--nl-cyan);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--nl-navy);
}

h1,
h2,
h3,
h4,
.nl-site-title,
.nl-hero__brand,
.nl-tagline,
.nl-btn {
	font-family: Outfit, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

h1,
h2,
h3 {
	color: var(--nl-navy);
	line-height: 1.25;
	font-weight: 600;
	margin: 0 0 0.75rem;
}

p {
	margin: 0 0 1rem;
}

ul,
ol {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.nl-container {
	width: 100%;
	max-width: var(--nl-max);
	margin-inline: auto;
	padding-inline: 1.25rem;
}

.nl-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	padding: 0.5rem 0.85rem;
	background: var(--nl-navy);
	color: #fff;
}

.nl-skip-link:focus {
	left: 1rem;
	top: 1rem;
	color: #fff;
}

.nl-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Header */

.nl-header {
	position: sticky;
	top: 0;
	z-index: 130;
	background: var(--nl-bg);
	border-bottom: 1px solid rgba(0, 32, 91, 0.08);
}

.nl-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--nl-header-h);
}

.nl-brand .custom-logo-link,
.nl-brand .custom-logo {
	display: flex;
	align-items: center;
}

.nl-brand img,
.nl-header .custom-logo {
	max-height: 48px;
	width: auto;
}

.nl-site-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--nl-navy);
	text-decoration: none;
	letter-spacing: 0.01em;
}

.nl-site-title:hover {
	color: var(--nl-cyan);
}

.nl-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0.4rem 0.75rem;
	border: 1px solid var(--nl-navy);
	background: transparent;
	color: var(--nl-navy);
	font-family: inherit;
	font-size: 0.9rem;
	cursor: pointer;
}

.nl-primary-nav .nl-nav-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.15rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nl-primary-nav a {
	color: var(--nl-navy);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
}

.nl-primary-nav a:hover,
.nl-primary-nav .current-menu-item > a {
	color: var(--nl-cyan);
}

/* Buttons */

.nl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.35rem;
	border-radius: 2px;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nl-btn--primary {
	background: var(--nl-green);
	color: #fff;
	border-color: var(--nl-green);
}

.nl-btn--primary:hover {
	background: #5ea836;
	border-color: #5ea836;
	color: #fff;
	transform: translateY(-1px);
}

.nl-btn--ghost {
	background: transparent;
	color: var(--nl-navy);
	border-color: var(--nl-navy);
}

.nl-btn--ghost:hover {
	background: var(--nl-navy);
	color: #fff;
	transform: translateY(-1px);
}

.nl-text-link {
	font-weight: 600;
	color: var(--nl-cyan);
	text-decoration: none;
}

.nl-text-link:hover {
	color: var(--nl-navy);
}

/* Hero */

.nl-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	min-height: min(78vh, 720px);
	display: flex;
	align-items: center;
	padding: 4.5rem 0 5rem;
	background:
		radial-gradient(ellipse 70% 55% at 88% 12%, rgba(0, 114, 206, 0.5), transparent 58%),
		radial-gradient(ellipse 45% 40% at 8% 92%, rgba(114, 191, 68, 0.1), transparent 52%),
		linear-gradient(135deg, #00112f 0%, var(--nl-navy) 40%, #00356f 70%, var(--nl-cyan) 100%);
	animation: nl-fade-in 0.85s ease both;
}

.nl-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--nl-green);
}

.nl-hero__inner {
	position: relative;
	z-index: 1;
}

.nl-tagline {
	margin: 0 0 0.85rem;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
}

.nl-tagline--on-light {
	color: var(--nl-cyan);
	margin-top: 2.5rem;
}

.nl-hero__brand {
	margin: 0 0 1rem;
	font-size: clamp(2.4rem, 6vw, 4rem);
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.02em;
}

.nl-hero__lead {
	max-width: 36rem;
	margin: 0 0 1.75rem;
	font-size: clamp(1.05rem, 2.1vw, 1.3rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
}

.nl-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.nl-hero .nl-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.85);
}

.nl-hero .nl-btn--ghost:hover {
	background: #fff;
	color: var(--nl-navy);
	border-color: #fff;
}

@keyframes nl-fade-in {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

[data-reveal] {
	opacity: 1;
	transform: none;
}

html.js [data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* Sections */

.nl-main {
	min-height: 50vh;
}

.nl-section {
	padding: 4.25rem 0;
}

.nl-section--muted {
	background: var(--nl-muted);
}

.nl-section__title {
	font-size: clamp(1.45rem, 2.4vw, 1.85rem);
	margin-bottom: 0.65rem;
}

.nl-section__intro,
.nl-prose {
	max-width: 40rem;
	margin-bottom: 1.75rem;
	color: var(--nl-text);
}

.nl-section__more {
	margin: 1.5rem 0 0;
}

.nl-page-title {
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	margin: 2.25rem 0 1rem;
}

.nl-page-header,
.nl-main > .nl-page,
.nl-main > .nl-single,
.nl-main > .nl-404 {
	max-width: var(--nl-max);
	margin-inline: auto;
	padding-inline: 1.25rem;
	padding-bottom: 3rem;
}

.nl-main > .nl-page.nl-page--solutions,
.nl-main > .nl-page.nl-page--products,
.nl-main > .nl-page.nl-page--about,
.nl-main > .nl-page.nl-page--contact {
	max-width: none;
	margin-inline: 0;
	padding-inline: 0;
}

.nl-page--solutions .nl-page-title,
.nl-page--products .nl-page-title,
.nl-page--about .nl-page-title,
.nl-page--contact .nl-page-title {
	margin-top: 0.35rem;
}

.nl-content {
	padding-bottom: 2.5rem;
}

.nl-content > *:last-child,
.nl-prose:last-child {
	margin-bottom: 0;
}

.nl-meta {
	color: #5c6470;
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}

.nl-404 {
	padding: 3rem 0 4rem;
}

.nl-home-link {
	font-weight: 600;
}

/* Cards — services / cases / products only */

.nl-card-grid,
.nl-card-list {
	display: grid;
	gap: 1.25rem;
}

.nl-card-list {
	max-width: var(--nl-max);
	margin: 0 auto 3rem;
	padding-inline: 1.25rem;
	padding-bottom: 1rem;
}

.nl-card {
	background: var(--nl-bg);
	border: 1px solid rgba(0, 32, 91, 0.1);
	border-radius: 4px;
	padding: 1.35rem 1.4rem;
	overflow: hidden;
}

.nl-card-list .nl-card {
	margin: 0;
}

.nl-card--link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.nl-card--link:hover {
	border-color: var(--nl-cyan);
	color: inherit;
}

.nl-card--link:hover .nl-card__title {
	color: var(--nl-cyan);
}

.nl-card__media {
	display: block;
	margin: -1.35rem -1.4rem 1rem;
}

.nl-card__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.nl-card__title {
	font-size: 1.15rem;
	margin: 0 0 0.5rem;
}

.nl-card__title a {
	color: var(--nl-navy);
	text-decoration: none;
}

.nl-card__title a:hover {
	color: var(--nl-cyan);
}

.nl-card__excerpt {
	margin: 0;
	color: var(--nl-text);
	font-size: 0.95rem;
}

.nl-card__excerpt p {
	margin: 0;
}

.nl-why-grid {
	display: grid;
	gap: 1.75rem 2rem;
}

.nl-why-item__title {
	font-size: 1.05rem;
	margin-bottom: 0.4rem;
}

.nl-why-item p {
	margin: 0;
}

/* Forms & CTA */

.nl-cta__grid {
	display: grid;
	gap: 2rem;
}

.nl-cta__channels {
	padding: 0.25rem 0;
}

.nl-cta__channels-title {
	font-size: 1.1rem;
}

.nl-channel-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nl-channel-list li {
	margin: 0 0 0.65rem;
}

.nl-channel-list a {
	color: var(--nl-navy);
	text-decoration: none;
	font-weight: 500;
}

.nl-channel-list a:hover {
	color: var(--nl-cyan);
}

.nl-address {
	margin-bottom: 1.25rem;
}

.nl-contact-form-wrap {
	max-width: 32rem;
}

.nl-contact-form label {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 600;
	color: var(--nl-navy);
	font-size: 0.92rem;
}

.nl-contact-form p {
	margin: 0 0 1rem;
}

.nl-contact-form input[type="text"],
.nl-contact-form input[type="email"],
.nl-contact-form input[type="tel"],
.nl-contact-form textarea {
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid rgba(0, 32, 91, 0.18);
	border-radius: 2px;
	font: inherit;
	color: var(--nl-text);
	background: var(--nl-bg);
}

.nl-contact-form input:focus,
.nl-contact-form textarea:focus {
	outline: 2px solid var(--nl-cyan);
	outline-offset: 1px;
	border-color: var(--nl-cyan);
}

.nl-form-notice {
	padding: 0.75rem 0.9rem;
	margin-bottom: 1rem;
	border-left: 3px solid var(--nl-navy);
	background: var(--nl-muted);
}

.nl-form-notice--success {
	border-left-color: var(--nl-green);
}

.nl-form-notice--error {
	border-left-color: #b42318;
}

/* Footer */

.nl-footer {
	background: var(--nl-navy);
	color: rgba(255, 255, 255, 0.88);
	padding: 2.5rem 0 1.75rem;
}

.nl-footer a {
	color: #fff;
	text-decoration: none;
}

.nl-footer a:hover {
	color: #c8e6a8;
}

.nl-footer__tagline {
	font-family: Outfit, "PingFang SC", "Microsoft YaHei", sans-serif;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.8rem;
	margin-bottom: 1.25rem;
}

.nl-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.nl-footer-contact {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
}

.nl-copyright {
	margin: 0;
	font-size: 0.85rem;
	opacity: 0.75;
}

.nl-no-results {
	padding: 0 0 3rem;
}

/* Responsive: 768 / 1024 */

@media (min-width: 768px) {
	.nl-card-grid,
	.nl-card-list,
	.nl-why-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.nl-cta__grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		align-items: start;
		gap: 3rem;
	}
}

@media (min-width: 1024px) {
	.nl-card-grid--3,
	.nl-card-list {
		grid-template-columns: repeat(3, 1fr);
	}

	.nl-hero {
		padding: 5.5rem 0 6rem;
	}
}

@media (max-width: 767px) {
	.nl-nav-toggle {
		display: inline-flex;
	}

	.nl-primary-nav {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 120;
		width: min(82vw, 320px);
		height: 100vh;
		padding: 4.5rem 1.5rem 1.5rem;
		background: var(--nl-bg);
		box-shadow: -8px 0 24px rgba(0, 32, 91, 0.12);
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.25s ease, visibility 0.25s ease;
	}

	.nl-primary-nav.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	.nl-primary-nav .nl-nav-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.85rem;
	}

	.nl-primary-nav a {
		font-size: 1.05rem;
	}

	.nl-section {
		padding: 3rem 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.nl-hero,
	[data-reveal],
	html.js [data-reveal],
	.nl-btn,
	.nl-primary-nav {
		animation: none;
		transition: none;
	}

	[data-reveal],
	html.js [data-reveal] {
		opacity: 1;
		transform: none;
	}

	.nl-btn:hover {
		transform: none;
	}
}
