/* Nima Print — homepage design system
   Self-contained: does not depend on the legacy Foundation/Stacks grid.
   One container width, one spacing scale, one card component — used everywhere. */

:root {
	--brand: #409cff;
	--brand-dark: #2f7fe0;
	--navy: #10233f;
	--navy-2: #1c3a63;
	--ink: #101828;
	--ink-soft: #52606d;
	--surface: #ffffff;
	--surface-alt: #f5f8fc;
	--border: #e3e8f0;
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 26px;
	--shadow-sm: 0 4px 14px rgba(16, 23, 40, 0.06);
	--shadow-md: 0 14px 32px rgba(16, 23, 40, 0.09);
	--shadow-brand: 0 14px 30px rgba(64, 156, 255, 0.28);
	--container: 1340px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--ink);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.6;
}

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

a {
	color: var(--brand-dark);
	text-decoration: none;
	transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

::selection {
	background: var(--brand);
	color: #fff;
}

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

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.section {
	padding: 4rem 0;
}

h1, h2, h3, h4 {
	font-family: inherit;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: 0 0 0.75rem;
}

h1 {
	font-size: clamp(2rem, 4vw, 2.9rem);
	line-height: 1.15;
}

.section-title {
	text-align: center;
	margin-bottom: 2rem;
}

p {
	color: var(--ink-soft);
	margin: 0 0 1rem;
}

/* Reveal-on-scroll */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Buttons */
.button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.75rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease;
}

.button-primary {
	background: var(--brand);
	color: #fff;
	box-shadow: var(--shadow-brand);
}

.button-primary:hover {
	background: var(--brand-dark);
	transform: translateY(-2px);
	color: #fff;
}

.button-ghost {
	background: transparent;
	border-color: var(--border);
	color: var(--ink);
}

.button-ghost:hover {
	border-color: var(--brand);
	color: var(--brand-dark);
	transform: translateY(-2px);
}

.button-sm {
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
	white-space: nowrap;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--border);
}

.header-row {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 0.85rem 1.5rem;
}

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

.brand img {
	height: 58px;
	width: auto;
}

.main-nav {
	flex: 1 1 auto;
}

.main-nav ul {
	display: flex;
	flex-wrap: nowrap;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav a {
	color: var(--ink);
	font-weight: 600;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	white-space: nowrap;
	position: relative;
	padding-bottom: 4px;
}

.main-nav a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 200ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
	transform: scaleX(1);
}

.header-actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 1.1rem;
}

.header-phone {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--ink);
	white-space: nowrap;
}

.header-phone:hover {
	color: var(--brand-dark);
}

.header-icon {
	font-size: 1.15rem;
	color: var(--ink-soft);
}

.header-icon:hover {
	color: var(--brand-dark);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	height: 2px;
	margin: 0 8px;
	background: var(--ink);
	transition: transform 200ms ease, opacity 200ms ease;
}

.mobile-nav {
	display: none;
}

/* Hero */
.hero {
	padding: 3.5rem 0;
	background: linear-gradient(160deg, var(--surface-alt) 0%, #eaf2fe 100%);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 3rem;
	align-items: center;
}

.hero-lead {
	font-size: 1.1rem;
	max-width: 46ch;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.5rem;
}

.hero-review {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ink-soft);
}

.hero-review:hover {
	color: var(--brand-dark);
}

.hero-review-stars {
	color: #f5b301;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
}

.hero-media img {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Trust strip */
.trust-strip {
	padding: 2.5rem 0;
}

.trust-strip + .section {
	padding-top: 0.5rem;
}

.trust-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.25rem;
}

.trust-grid a {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	height: 100%;
}

.trust-grid a:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.trust-grid a:hover img {
	transform: scale(1.06);
}

.trust-grid img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.trust-grid span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.55rem 0.5rem;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--ink);
	text-align: center;
	line-height: 1.3;
}

/* Card grid */
.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
}

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	padding: 2rem 1.75rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-md);
}

.card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 1rem;
	border-radius: 999px;
	background: linear-gradient(145deg, rgba(64, 156, 255, 0.16), rgba(64, 156, 255, 0.05));
	color: var(--brand-dark);
	font-size: 1.5rem;
}

.card h3 {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

.card p {
	font-size: 0.92rem;
	margin: 0;
}

/* Finishing */
.finishing {
	background: var(--surface-alt);
	border-radius: var(--radius-lg);
	margin: 0 1.5rem;
}

.finishing-grid {
	text-align: center;
}

.finishing h3 {
	margin-bottom: 1.25rem;
}

.pill-list {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
}

.pill-list li {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 0.5rem 1.1rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ink-soft);
}

/* Testimonials */
.testimonials blockquote {
	max-width: 760px;
	margin: 0 auto;
	padding: 2.25rem 2.5rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 4px solid var(--brand);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	font-style: italic;
	font-size: 1.1rem;
	color: var(--ink);
}

.testimonials cite {
	display: block;
	margin-top: 1rem;
	font-style: normal;
	font-size: 0.85rem;
	color: var(--ink-soft);
}

.testimonials-cta {
	text-align: center;
	margin: 1.75rem 0 0;
}

/* CTA band */
.cta-band {
	background: linear-gradient(135deg, var(--navy), var(--navy-2));
	border-radius: var(--radius-lg);
	max-width: var(--container);
	margin: 0 auto;
	color: #fff;
}

.cta-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.cta-band h3 {
	color: #fff;
	margin: 0;
}

/* Footer */
.site-footer {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.82);
	margin-top: 4rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem;
	padding: 3.5rem 1.5rem 2.5rem;
}

.footer-brand img {
	height: 34px;
	width: auto;
	filter: brightness(0) invert(1);
	margin-bottom: 1rem;
}

.footer-brand p {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.9rem;
}

.footer-social {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}

.footer-social a {
	color: rgba(255, 255, 255, 0.75);
	font-size: 1.25rem;
}

.footer-social a:hover {
	color: var(--brand);
}

.footer-col h4 {
	color: #fff;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 1rem;
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.footer-col a {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.footer-col a:hover {
	color: var(--brand);
}

.footer-col li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.9rem;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-row {
	padding: 1.25rem 1.5rem;
}

.copyright {
	margin: 0;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.55);
}

/* Responsive */
@media (max-width: 960px) {
	.main-nav,
	.header-actions {
		display: none;
	}

	.header-row {
		justify-content: space-between;
	}

	.nav-toggle {
		display: flex;
	}

	.mobile-nav {
		display: none;
		flex-direction: column;
		gap: 1.25rem;
		padding: 1.25rem 1.5rem 1.75rem;
		border-top: 1px solid var(--border);
	}

	.mobile-nav.is-open {
		display: flex;
	}

	.mobile-nav ul {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	.mobile-nav a {
		font-weight: 600;
		color: var(--ink);
	}

	.hero-grid {
		grid-template-columns: 1fr;
	}

	.hero-media {
		order: -1;
	}

	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.trust-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.header-row {
		padding: 0.75rem 1.25rem;
	}

	.section {
		padding: 2.75rem 0;
	}

	.card-grid {
		grid-template-columns: 1fr;
	}

	.trust-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.cta-grid {
		text-align: center;
		justify-content: center;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		padding: 2.5rem 1.25rem 2rem;
	}

	.finishing,
	.cta-band {
		margin: 0 0.75rem;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}
}

/* Shared: inner page hero */
.page-hero {
	padding: 3rem 0 2.5rem;
	background: linear-gradient(160deg, var(--surface-alt) 0%, #eaf2fe 100%);
}

.page-hero h1 {
	margin: 0;
}

.page-hero p {
	margin-top: 0.75rem;
	max-width: 60ch;
	font-size: 1.05rem;
}

/* Shared: readable prose content */
.prose {
	max-width: 760px;
	margin: 0 auto;
}

.prose h2 {
	font-size: 1.6rem;
	margin-top: 0;
}

.prose p {
	font-size: 1.05rem;
}

.prose img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	margin: 1.75rem 0;
}

.prose ul {
	margin: 0 0 1.25rem;
	padding-left: 1.25rem;
}

.prose ul li {
	color: var(--ink-soft);
	margin-bottom: 0.4rem;
}

/* Shared: contact layout */
.contact-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 2.5rem;
	align-items: start;
}

.contact-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	padding: 2rem;
}

.contact-card li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--ink);
	font-weight: 600;
}

.contact-map {
	margin-top: 2.5rem;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border);
}

.contact-map iframe {
	display: block;
	width: 100%;
	height: 380px;
	border: 0;
}

.contact-card h4 {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-soft);
	margin: 0 0 1.25rem;
}

.contact-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-card a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--ink);
	font-weight: 600;
}

.contact-card a:hover {
	color: var(--brand-dark);
}

.contact-card .fa {
	color: var(--brand-dark);
	width: 1.2rem;
	text-align: center;
}

/* Shared: team grid */
.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 240px));
	justify-content: center;
	gap: 2rem;
}

.team-card {
	text-align: center;
}

.team-card img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.team-card h3 {
	margin: 1.1rem 0 0.15rem;
}

.team-card p {
	margin: 0;
	color: var(--ink-soft);
	font-weight: 600;
	font-size: 0.9rem;
}
