/*
Theme Name: NextMultiple
Theme URI: https://nextmultiple.co
Author: NextMultiple
Description: Custom hand-coded theme for the NextMultiple agency site — gradient brand system, bilingual one-pager, blog, native contact form. Faithful port of the Next.js design.
Version: 1.0.6
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: nextmultiple
*/

/* ============================================================
   Brand tokens — identical to the Next.js globals.css
   ============================================================ */
:root {
	--navy: #03102f;
	--navy-2: #071336;
	--indigo: #5454b6;
	--blue: #38b6ff;
	--magenta: #c840a0;
	--mist: #e9eefc;
	--white: #ffffff;
	--slate: #4a5578;
	--cloud: #c9d2e6;
	--line: #e2e6f3;
	--font-display: "Onest", "Montserrat", system-ui, sans-serif;
	--font-body: "Montserrat", system-ui, sans-serif;
	--container: 72rem;
	--grad: linear-gradient(90deg, var(--blue) 0%, var(--indigo) 55%, var(--magenta) 100%);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--slate);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	letter-spacing: -0.02em;
	margin: 0;
}

p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input { font-family: inherit; font-size: 100%; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---- Shared utilities ---- */

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.25rem;
}
@media (min-width: 640px) { .container { padding: 0 2rem; } }

.grad-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.grad-bg { background: var(--grad); }

.section-dark {
	background:
		radial-gradient(1100px 560px at 50% -10%, rgba(84, 84, 182, 0.55), transparent 62%),
		linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
	color: var(--white);
}

.eyebrow {
	font-family: var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-weight: 600;
	font-size: 0.75rem;
	color: var(--blue);
}

.x-watermark { position: relative; overflow: hidden; }
.x-watermark > * { position: relative; z-index: 1; }
.x-watermark::before {
	content: "\2715";
	position: absolute;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(280px, 40vw, 560px);
	line-height: 1;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	color: var(--indigo);
	opacity: 0.06;
	pointer-events: none;
	user-select: none;
	z-index: 0;
}

/* Sections */
.section { position: relative; padding: 5rem 0; }
@media (min-width: 640px) { .section { padding: 7rem 0; } }
.section--light { background: var(--white); }
.section--mist { background: var(--mist); }

/* Section heading */
.sec-head { max-width: 42rem; }
.sec-head--center { margin: 0 auto; text-align: center; }
.sec-head h2 {
	margin-top: 0.75rem;
	font-size: 1.875rem;
	font-weight: 800;
	line-height: 1.1;
	color: var(--navy);
}
.sec-head--dark h2 { color: var(--white); }
@media (min-width: 640px) { .sec-head h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .sec-head h2 { font-size: 3rem; } }
.sec-head .rule {
	height: 0.25rem; width: 3.5rem;
	border-radius: 999px;
	background: var(--grad);
	margin-top: 1.25rem;
}
.sec-head--center .rule { margin-left: auto; margin-right: auto; }
.sec-head .sub { margin-top: 1.25rem; font-size: 1rem; color: var(--slate); }
.sec-head--dark .sub { color: var(--cloud); }
@media (min-width: 640px) { .sec-head .sub { font-size: 1.125rem; } }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 999px;
	padding: 0.75rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	border: 0;
	cursor: pointer;
	transition: all 0.2s ease;
}
.btn .icon { width: 1rem; height: 1rem; }
.btn--primary {
	background: var(--grad);
	color: var(--white);
	box-shadow: 0 10px 25px -5px rgba(84, 84, 182, 0.3);
}
.btn--primary:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn--ghost-light {
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: var(--white);
	background: transparent;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* Cards */
.card {
	border-radius: 1rem;
	border: 1px solid var(--line);
	background: var(--white);
	box-shadow: 0 16px 50px -24px rgba(3, 16, 47, 0.35);
}

/* Icons */
.icon { width: 1rem; height: 1rem; flex: none; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in {
	animation: nmFadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes nmFadeUp {
	to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal, .reveal.in { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Navbar
   ============================================================ */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	transition: all 0.3s ease;
	background: transparent;
}
.site-header.is-solid,
.site-header.is-static {
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 8px 30px -12px rgba(3, 16, 47, 0.25);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4rem;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.25rem;
}
@media (min-width: 640px) { .nav { height: 5rem; padding: 0 2rem; } }

.nav__logo img { height: 2rem; width: auto; }
@media (min-width: 640px) { .nav__logo img { height: 2.25rem; } }
.nav__logo .logo-dark { display: block; }
.nav__logo .logo-light { display: none; }
.is-solid .nav__logo .logo-dark { display: none; }
.is-solid .nav__logo .logo-light { display: block; }
.site-header.is-static .nav__logo .logo-dark { display: none; }
.site-header.is-static .nav__logo .logo-light { display: block; }

.nav__links { display: none; align-items: center; gap: 2rem; }
.nav__links a {
	font-size: 0.875rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }
.is-solid .nav__links a, .is-static .nav__links a { color: var(--slate); }
.is-solid .nav__links a:hover, .is-static .nav__links a:hover { color: var(--navy); }

.nav__actions { display: none; align-items: center; gap: 1rem; }
@media (min-width: 1024px) {
	.nav__links, .nav__actions { display: flex; }
	.nav__burger { display: none; }
}

/* Social icon buttons */
.socials { display: flex; align-items: center; gap: 0.625rem; }
.socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem; height: 2.25rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: rgba(255, 255, 255, 0.85);
	transition: all 0.2s ease;
}
.socials a:hover { border-color: var(--white); color: var(--white); transform: translateY(-2px); }
.socials .icon { width: 1.125rem; height: 1.125rem; }
.is-solid .socials a, .is-static .socials a, .socials--light a {
	border-color: var(--line);
	color: var(--slate);
}
.is-solid .socials a:hover, .is-static .socials a:hover, .socials--light a:hover {
	border-color: var(--blue);
	color: var(--blue);
}
.socials--dark a { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.85); }
.socials--dark a:hover { border-color: var(--white); color: var(--white); }

/* Language toggle */
.lang {
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	padding: 0.125rem;
	font-size: 0.75rem;
	font-weight: 600;
}
.is-solid .lang, .is-static .lang, .lang--light { border-color: var(--line); }
.lang a {
	border-radius: 999px;
	padding: 0.25rem 0.625rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--cloud);
	transition: color 0.2s;
}
.is-solid .lang a, .is-static .lang a, .lang--light a { color: var(--slate); }
.lang a:hover { color: var(--white); }
.is-solid .lang a:hover, .is-static .lang a:hover, .lang--light a:hover { color: var(--navy); }
.lang a.active { background: var(--grad); color: var(--white); }

.nav__burger {
	background: none;
	border: 0;
	padding: 0.25rem;
	color: var(--white);
	cursor: pointer;
}
.nav__burger .icon { width: 1.75rem; height: 1.75rem; }
.is-solid .nav__burger, .is-static .nav__burger { color: var(--navy); }
.nav__burger .icon-close { display: none; }
.menu-open .nav__burger .icon-close { display: block; }
.menu-open .nav__burger .icon-menu { display: none; }

/* Mobile menu */
.mobile-menu {
	display: none;
	border-top: 1px solid var(--line);
	background: var(--white);
}
.menu-open .mobile-menu { display: block; }
@media (min-width: 1024px) { .menu-open .mobile-menu { display: none; } }
.mobile-menu__inner {
	max-width: var(--container);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1rem 1.25rem;
}
.mobile-menu__inner > a {
	border-radius: 0.5rem;
	padding: 0.75rem 0.5rem;
	font-size: 1rem;
	font-weight: 500;
	color: var(--navy);
}
.mobile-menu__inner > a:hover { background: var(--mist); }
.mobile-menu__row {
	margin-top: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.mobile-menu__row .cluster { display: flex; align-items: center; gap: 1rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 92vh;
	padding: 6rem 0 4rem;
	overflow: hidden;
	text-align: center;
}
@media (min-width: 640px) { .hero { padding-top: 7rem; } }
.hero__orb {
	position: absolute;
	border-radius: 999px;
	filter: blur(64px);
	pointer-events: none;
}
.hero__orb--l {
	left: -6rem; top: 6rem;
	width: 18rem; height: 18rem;
	background: rgba(56, 182, 255, 0.2);
}
.hero__orb--r {
	right: -4rem; bottom: 2rem;
	width: 20rem; height: 20rem;
	background: rgba(200, 64, 160, 0.2);
}
.hero__badge {
	display: inline-block;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.05);
	border-radius: 999px;
	padding: 0.375rem 1rem;
}
.hero h1 {
	max-width: 56rem;
	margin: 1.5rem auto 0;
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--white);
}
@media (min-width: 640px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 4.5rem; } }
.hero__sub {
	max-width: 42rem;
	margin: 1.5rem auto 0;
	font-size: 1.125rem;
	color: var(--cloud);
}
@media (min-width: 640px) { .hero__sub { font-size: 1.25rem; } }
.hero__ctas {
	margin-top: 2.25rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}
@media (min-width: 640px) { .hero__ctas { flex-direction: row; } }
.hero__ctas .btn { width: 100%; }
@media (min-width: 640px) { .hero__ctas .btn { width: auto; } }

/* ============================================================
   Services (primary)
   ============================================================ */
.grid { display: grid; gap: 1.5rem; }
.services-grid { margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-card { display: flex; flex-direction: column; height: 100%; padding: 2rem; }
.svc-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem; height: 3.5rem;
	border-radius: 1rem;
	background: rgba(56, 182, 255, 0.1);
	color: var(--blue);
}
.svc-card__icon .icon { width: 1.75rem; height: 1.75rem; }
.svc-card h3 { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.svc-card > p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.65; color: var(--slate); }
.checklist { margin-top: 1.5rem; display: grid; gap: 0.625rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--slate); }
.checklist .icon { margin-top: 0.125rem; color: var(--blue); }
.svc-card__link {
	margin-top: auto;
	padding-top: 2rem;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--navy);
	transition: color 0.2s;
}
.svc-card__link:hover { color: var(--blue); }

/* ============================================================
   Additional services
   ============================================================ */
.addsvc-grid { margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .addsvc-grid { grid-template-columns: repeat(2, 1fr); } }
.addsvc-card { display: flex; gap: 1.25rem; height: 100%; padding: 1.75rem; }
.addsvc-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 3rem; height: 3rem;
	border-radius: 0.75rem;
	background: var(--grad);
	color: var(--white);
}
.addsvc-card__icon .icon { width: 1.5rem; height: 1.5rem; }
.addsvc-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.addsvc-card .checklist { margin-top: 1rem; gap: 0.5rem; }
.center-cta { margin-top: 3rem; text-align: center; }

/* ============================================================
   Process
   ============================================================ */
.process { padding: 5rem 0; }
@media (min-width: 640px) { .process { padding: 7rem 0; } }
.process__timeline { position: relative; margin-top: 4rem; display: none; }
@media (min-width: 768px) { .process__timeline { display: block; } }
.process__line {
	position: absolute;
	left: 10%; right: 10%; top: 1.75rem;
	height: 2px;
	transform: translateY(-50%);
	background: var(--grad);
	opacity: 0.7;
}
.process__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.process__step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.process__node {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 3.5rem; height: 3.5rem;
	border-radius: 999px;
	border: 2px solid var(--blue);
	background: var(--navy);
	font-size: 1.125rem;
	font-weight: 800;
	color: var(--white);
	box-shadow: 0 0 28px rgba(56, 182, 255, 0.55);
}
.process__step h3 { margin-top: 1.25rem; font-size: 1rem; font-weight: 700; color: var(--white); }
.process__step p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.65; color: var(--cloud); }

.process__mobile { position: relative; margin-top: 3rem; }
@media (min-width: 768px) { .process__mobile { display: none; } }
.process__vline {
	position: absolute;
	top: 1rem; bottom: 1rem; left: 1.75rem;
	width: 2px;
	transform: translateX(-50%);
	background: var(--grad);
	opacity: 0.7;
}
.process__mobile li { position: relative; display: flex; gap: 1.25rem; padding-bottom: 2rem; }
.process__mobile li:last-child { padding-bottom: 0; }
.process__mobile h3 { font-size: 1rem; font-weight: 700; color: var(--white); }
.process__mobile p { margin-top: 0.375rem; font-size: 0.875rem; line-height: 1.65; color: var(--cloud); }
.process__mobile .pt { padding-top: 0.375rem; }
.process .center-cta { margin-top: 4rem; }

/* ============================================================
   About
   ============================================================ */
.team-grid {
	max-width: 48rem;
	margin: 3.5rem auto 0;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card {
	height: 100%;
	overflow: hidden;
	border-radius: 1.5rem;
	border: 1px solid var(--line);
	background: var(--white);
	box-shadow: 0 20px 60px -30px rgba(3, 16, 47, 0.35);
}
.team-card__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.team-card__photo img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.team-card:hover .team-card__photo img { transform: scale(1.03); }
.team-card__photo::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 0.25rem;
	background: var(--grad);
}
.team-card__body { padding: 1.5rem; }
.team-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.team-card ul { margin-top: 0.625rem; display: grid; gap: 0.375rem; }
.team-card li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--slate); }
.team-card .dot {
	width: 0.375rem; height: 0.375rem;
	flex: none;
	border-radius: 999px;
	background: var(--blue);
}

.values-panel {
	margin-top: 4rem;
	border-radius: 1.5rem;
	padding: 2rem;
}
@media (min-width: 640px) { .values-panel { padding: 2.5rem; } }
@media (min-width: 1024px) { .values-panel { padding: 3rem; } }
.values-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .values-grid { grid-template-columns: 1.25fr 1fr; gap: 3rem; } }
.values-panel h3 { font-size: 1.5rem; font-weight: 700; color: var(--white); }
@media (min-width: 640px) { .values-panel h3 { font-size: 1.875rem; } }
.values-panel .rule {
	height: 0.25rem; width: 3rem;
	border-radius: 999px;
	background: var(--grad);
	margin-top: 0.75rem;
}
.approach-steps { margin-top: 1.75rem; display: grid; gap: 1.75rem; }
.approach-step { display: flex; gap: 1.25rem; }
.approach-step__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 2.75rem; height: 2.75rem;
	border-radius: 0.75rem;
	background: var(--grad);
	font-size: 0.875rem;
	font-weight: 800;
	color: var(--white);
}
.approach-step h4 { font-size: 1.125rem; font-weight: 700; color: var(--white); }
.approach-step p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.65; color: var(--cloud); }

.beliefs {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 2rem;
}
@media (min-width: 1024px) {
	.beliefs {
		border-top: 0;
		border-left: 1px solid rgba(255, 255, 255, 0.1);
		padding-top: 0;
		padding-left: 3rem;
	}
}
.beliefs ul { margin-top: 1.75rem; display: grid; gap: 1rem; }
.beliefs li { display: flex; align-items: flex-start; gap: 0.75rem; }
.beliefs .badge {
	margin-top: 0.125rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 1.5rem; height: 1.5rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
}
.beliefs .badge .icon { width: 0.875rem; height: 0.875rem; color: var(--blue); }
.beliefs span.txt { font-size: 0.875rem; font-weight: 600; line-height: 1.65; color: var(--white); }
.about-cta { margin-top: 3.5rem; text-align: center; }

/* ============================================================
   Comparison
   ============================================================ */
.cmp-wrap { max-width: 56rem; margin: 3.5rem auto 0; }
.cmp-table {
	display: none;
	overflow: hidden;
	border-radius: 1rem;
	border: 1px solid var(--line);
	background: var(--white);
	box-shadow: 0 20px 60px -30px rgba(3, 16, 47, 0.35);
}
@media (min-width: 640px) { .cmp-table { display: block; } }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.cmp-row--alt { background: rgba(233, 238, 252, 0.4); }
.cmp-head-empty { background: var(--white); padding: 1.25rem; }
.cmp-head-them {
	padding: 1.25rem;
	text-align: center;
	font-size: 1rem;
	font-weight: 700;
	color: var(--slate);
}
.cmp-head-us {
	background: var(--grad);
	padding: 1.25rem;
	text-align: center;
	font-size: 1rem;
	font-weight: 700;
	color: var(--white);
}
.cmp-label {
	display: flex;
	align-items: center;
	border-top: 1px solid var(--line);
	padding: 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--navy);
}
.cmp-cell {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
	padding: 1.25rem;
	font-size: 0.875rem;
}
.cmp-cell .icon { margin-top: 0.125rem; }
.cmp-cell--them { color: var(--slate); }
.cmp-cell--them .icon { color: rgba(74, 85, 120, 0.5); }
.cmp-cell--us { background: rgba(56, 182, 255, 0.04); color: var(--navy); }
.cmp-cell--us .icon { color: var(--blue); }

.cmp-cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .cmp-cards { display: none; } }
.cmp-card {
	border-radius: 1rem;
	border: 1px solid var(--line);
	background: var(--white);
	padding: 1.25rem;
	box-shadow: 0 2px 16px -8px rgba(3, 16, 47, 0.25);
}
.cmp-card .tag {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--blue);
}
.cmp-card__line { margin-top: 0.75rem; display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; }
.cmp-card__line + .cmp-card__line { margin-top: 0.625rem; }
.cmp-card__line .icon { margin-top: 0.125rem; }
.cmp-card__line--them { color: var(--slate); }
.cmp-card__line--them .icon { color: rgba(74, 85, 120, 0.5); }
.cmp-card__line--us { color: var(--navy); }
.cmp-card__line--us .icon { color: var(--blue); }
.cmp-card__line b { font-weight: 600; }

/* ============================================================
   Clients
   ============================================================ */
.clients-grid { margin-top: 3.5rem; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .clients-grid { gap: 1.5rem; } }
.client-tile {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 0.75rem;
	border: 1px solid var(--line);
	background: var(--white);
	transition: all 0.2s ease;
}
.client-tile:hover {
	transform: translateY(-2px);
	border-color: rgba(56, 182, 255, 0.4);
	box-shadow: 0 12px 30px -16px rgba(56, 182, 255, 0.6);
}
.client-tile img { width: 100%; height: 100%; object-fit: cover; }
.clients-more {
	margin-top: 2.5rem;
	text-align: center;
	font-size: 1.125rem;
	font-weight: 600;
	font-style: italic;
	color: var(--slate);
}

/* ============================================================
   Contact
   ============================================================ */
.contact { padding: 5rem 0; }
@media (min-width: 640px) { .contact { padding: 7rem 0; } }
.contact__grid {
	display: grid;
	gap: 3rem;
	grid-template-columns: 1fr;
	align-items: center;
}
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
.contact h2 {
	margin-top: 0.75rem;
	font-size: 1.875rem;
	font-weight: 800;
	line-height: 1.1;
	color: var(--white);
}
@media (min-width: 640px) { .contact h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .contact h2 { font-size: 3rem; } }
.contact .rule { height: 0.25rem; width: 3.5rem; border-radius: 999px; background: var(--grad); margin-top: 1.25rem; }
.contact__sub { margin-top: 1.25rem; max-width: 28rem; font-size: 1rem; color: var(--cloud); }
@media (min-width: 640px) { .contact__sub { font-size: 1.125rem; } }
.contact__direct { margin-top: 2rem; }
.contact__direct > p { font-size: 0.875rem; color: var(--cloud); }
.contact__emails { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.contact__emails a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--white);
	transition: color 0.2s;
}
.contact__emails a:hover { color: var(--blue); }
.contact__emails .icon { width: 1.25rem; height: 1.25rem; }

.form-card {
	border-radius: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	padding: 1.5rem;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.form-card .field { margin-bottom: 1.25rem; }
.form-card label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--cloud);
}
.form-card label .req { color: var(--blue); }
.form-card input[type="text"],
.form-card input[type="tel"],
.form-card input[type="email"] {
	width: 100%;
	border-radius: 0.75rem;
	border: 1px solid transparent;
	background: var(--white);
	padding: 0.75rem 1rem;
	color: var(--navy);
	transition: box-shadow 0.2s, border-color 0.2s;
}
.form-card input::placeholder { color: rgba(74, 85, 120, 0.5); }
.form-card input:focus { outline: none; box-shadow: 0 0 0 2px var(--blue); }
.form-card input.error { border-color: var(--magenta); }
.field-error { margin-top: 0.375rem; font-size: 0.875rem; color: var(--magenta); display: none; }
.field-error.show { display: block; }
.form-error { font-size: 0.875rem; font-weight: 500; color: var(--magenta); margin-bottom: 1rem; display: none; }
.form-error.show { display: block; }
.hp-wrap { position: absolute; left: -9999px; }

.form-submit {
	display: inline-flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: 0;
	border-radius: 999px;
	background: var(--grad);
	padding: 0.875rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--white);
	cursor: pointer;
	box-shadow: 0 10px 30px -10px rgba(56, 182, 255, 0.7);
	transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.95; }
.form-submit[disabled] { opacity: 0.6; cursor: not-allowed; }

.form-success {
	display: none;
	min-height: 22rem;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.form-success.show { display: flex; }
.form-success .badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem; height: 4rem;
	border-radius: 999px;
	background: var(--grad);
	color: var(--white);
}
.form-success .badge .icon { width: 2rem; height: 2rem; }
.form-success p { margin-top: 1.5rem; max-width: 24rem; font-size: 1.125rem; font-weight: 600; color: var(--white); }
form.hidden { display: none; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-2); padding: 3.5rem 0; color: var(--cloud); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer .brand img { height: 2rem; width: auto; }
.site-footer .brand p { margin-top: 1rem; max-width: 20rem; font-size: 0.875rem; color: rgba(201, 210, 230, 0.8); }
.site-footer .brand .socials { margin-top: 1.25rem; }
.site-footer h3 {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--white);
}
.site-footer ul { margin-top: 1rem; display: grid; gap: 0.625rem; }
.site-footer ul a { font-size: 0.875rem; color: rgba(201, 210, 230, 0.8); transition: color 0.2s; }
.site-footer ul a:hover { color: var(--white); }
.footer-bottom {
	margin-top: 3rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1.5rem;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(201, 210, 230, 0.6); }

/* ============================================================
   Blog
   ============================================================ */
.blog-hero { padding: 9rem 0 4rem; text-align: center; }
.blog-grid { margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	height: 100%;
	border-radius: 1rem;
	border: 1px solid var(--line);
	background: var(--white);
	box-shadow: 0 16px 50px -24px rgba(3, 16, 47, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-3px); }
.post-card__thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.post-card time { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); }
.post-card h2, .post-card h3 { margin-top: 0.625rem; font-size: 1.25rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.post-card p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.65; color: var(--slate); }
.post-card .more {
	margin-top: auto;
	padding-top: 1.25rem;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--navy);
}
.post-card:hover .more { color: var(--blue); }
.blog-empty { margin-top: 3rem; text-align: center; font-size: 1.125rem; color: var(--slate); }

.single-hero { padding: 9rem 0 4rem; }
.single-hero .meta { display: flex; gap: 1rem; font-size: 0.875rem; color: var(--cloud); margin-top: 1.25rem; }
.single-hero h1 {
	margin-top: 1rem;
	max-width: 56rem;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.15;
	color: var(--white);
}
@media (min-width: 768px) { .single-hero h1 { font-size: 3rem; } }
.single-cover { max-width: var(--container); margin: -2rem auto 0; padding: 0 1.25rem; }
@media (min-width: 640px) { .single-cover { padding: 0 2rem; } }
.single-cover img { border-radius: 1.5rem; width: 100%; }

.prose {
	max-width: 46rem;
	margin: 0 auto;
	padding: 3.5rem 1.25rem 5rem;
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--slate);
}
.prose h2, .prose h3 { color: var(--navy); margin: 2rem 0 0.75rem; }
.prose p { margin: 0 0 1.25rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.25rem; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.375rem; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose img { border-radius: 1rem; margin: 1.5rem 0; }
.prose blockquote {
	margin: 1.5rem 0;
	border-left: 3px solid var(--blue);
	padding-left: 1.25rem;
	font-style: italic;
	color: var(--navy);
}
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--blue);
}

/* 404 */
.err-page { padding: 10rem 0 6rem; text-align: center; }
.err-page h1 { font-size: 5rem; font-weight: 800; }
.err-page p { margin-top: 1rem; color: var(--slate); }
.err-page .btn { margin-top: 2rem; }
