/* ============================================================================
   ALIFY — main.css
   Tokens → base → components. Signature color: Electric Blue #2B4EFF.
   Fonts: Space Grotesk (headings) · Inter (body) — swap stacks here if you
   move to Clash Display / General Sans (see inc/enqueue.php).
   ============================================================================ */

:root {
	/* Brand */
	--blue:        #2B4EFF;  /* Electric Blue — ALIFY signature */
	--blue-bright: #5C7CFF;  /* for text/accents on dark backgrounds */
	--blue-deep:   #1E3FDB;  /* hover / pressed */
	--coral:       #FF6B4A;  /* secondary accent — sparingly: tags, small highlights */

	/* Neutrals */
	--ink:      #0D0D0D;
	--ink-2:    #161618;
	--paper:    #F7F7F5;
	--white:    #FFFFFF;
	--gray-900: #1C1C1E;   /* headings on light */
	--gray-600: #4A4A4E;   /* body text */
	--gray-400: #8E8E93;   /* muted */
	--gray-200: #E6E6E3;   /* borders */

	/* Type */
	--font-head: 'Space Grotesk', system-ui, -apple-system, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;

	/* Rhythm */
	--container: 1200px;
	--radius:    14px;
	--radius-lg: 20px;

	--shadow:    0 10px 30px rgba(13, 13, 13, .06);
	--shadow-lg: 0 24px 60px rgba(13, 13, 13, .12);

	--header-h: 76px;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--gray-600);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.12;
	color: var(--gray-900);
	margin: 0 0 .5em;
	letter-spacing: -.01em;
}

p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
ul, ol { padding-left: 1.2em; }

::selection { background: var(--blue); color: var(--white); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	white-space: nowrap;
}
.skip-link {
	position: fixed; top: -100px; left: 1rem; z-index: 1000;
	background: var(--ink); color: var(--white);
	padding: .6rem 1rem; border-radius: 8px;
	transition: top .2s;
}
.skip-link:focus { top: 1rem; text-decoration: none; }

/* ── Layout helpers ───────────────────────────────────────────────────────── */

.container {
	width: min(100% - 2.5rem, var(--container));
	margin-inline: auto;
}

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--dark { background: var(--ink); color: #C9C9CE; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--tint { background: #EEF1FF; }  /* pale electric-blue wash */

.section-head {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 1.5rem; flex-wrap: wrap;
	margin-bottom: 2.5rem;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 2rem; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.link-arrow {
	font-family: var(--font-head); font-weight: 600;
	color: var(--blue); white-space: nowrap;
}
.section--dark .link-arrow { color: var(--blue-bright); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .85rem 1.7rem;
	border: 1.5px solid transparent; border-radius: 999px;
	font-family: var(--font-head); font-weight: 600; font-size: .98rem;
	line-height: 1; text-decoration: none;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-deep); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.section--dark .btn--ghost:hover { border-color: var(--blue-bright); color: var(--blue-bright); }
.btn--text { background: none; border: 0; padding: .5rem 0; color: inherit; }
.btn--text:hover { color: var(--blue-bright); transform: none; }
.btn--sm { padding: .6rem 1.2rem; font-size: .9rem; }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }
.btn.is-loading { opacity: .65; pointer-events: none; }
.btn.is-loading::after {
	content: ''; width: 14px; height: 14px; border-radius: 50%;
	border: 2px solid currentColor; border-top-color: transparent;
	animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Header / nav ─────────────────────────────────────────────────────────── */

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(247, 247, 245, .85);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--gray-200);
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 2rem; min-height: var(--header-h);
}
.site-header__logo { display: inline-flex; align-items: center; }
.site-header__wordmark {
	font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
	color: var(--ink); letter-spacing: .04em;
}
.site-header__logo:hover { text-decoration: none; }

.site-nav__list {
	display: flex; gap: 1.75rem;
	list-style: none; margin: 0; padding: 0;
}
.site-nav__list a {
	color: var(--gray-900); font-weight: 500; font-size: .95rem;
}
.site-nav__list a:hover { color: var(--blue); text-decoration: none; }
.site-nav__list .current-menu-item > a { color: var(--blue); }

.site-header__actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
	display: none;
	flex-direction: column; gap: 5px;
	background: none; border: 0; padding: .5rem;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Heroes ───────────────────────────────────────────────────────────────── */

.hero { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.hero__eyebrow {
	font-family: var(--font-head); font-weight: 600;
	text-transform: uppercase; letter-spacing: .14em; font-size: .82rem;
	color: var(--blue-bright); margin-bottom: 1.25rem;
}
.hero__title {
	font-size: clamp(2.4rem, 6vw, 4.4rem);
	font-weight: 700; max-width: 16ch;
}
.hero__sub { font-size: 1.2rem; max-width: 52ch; }
.hero__cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero__title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 20ch; }
.page-hero__sub { font-size: 1.15rem; max-width: 56ch; margin: 0; }

.service-hero__icon { display: inline-flex; color: var(--blue-bright); margin-bottom: 1rem; }
.service-hero__icon svg { width: 44px; height: 44px; }

/* ── Cards: services ─────────────────────────────────────────────────────── */

.service-card__link {
	display: block; height: 100%;
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-lg);
	padding: 1.9rem;
	color: inherit;
	transition: transform .25s, border-color .25s, box-shadow .25s;
}
.service-card__link:hover {
	text-decoration: none;
	transform: translateY(-5px);
	border-color: var(--blue);
	box-shadow: var(--shadow);
}
.service-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 14px;
	background: rgba(43, 78, 255, .09); color: var(--blue);
	margin-bottom: 1.2rem;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card__title { font-size: 1.2rem; margin-bottom: .45rem; }
.service-card__desc { font-size: .94rem; margin-bottom: 1rem; }
.service-card__more {
	font-family: var(--font-head); font-weight: 600; font-size: .9rem;
	color: var(--blue);
}

/* ── Cards: work / blog ──────────────────────────────────────────────────── */

.work-card__media, .post-card__media {
	display: block; overflow: hidden;
	border-radius: var(--radius-lg);
	aspect-ratio: 4 / 3;
	background: var(--gray-200);
}
.work-card__media img, .post-card__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.work-card:hover .work-card__media img,
.post-card:hover .post-card__media img { transform: scale(1.045); }

.work-card__body { padding: 1rem .2rem 0; }
.work-card__tags, .post-card__meta {
	font-size: .78rem; text-transform: uppercase; letter-spacing: .1em;
	color: var(--gray-400); margin: 0 0 .35rem;
}
.section--dark .work-card__tags { color: #8A8A90; }
.work-card__title { font-size: 1.15rem; margin: 0; }
.work-card__title a { color: inherit; }
.work-card__title a:hover { color: var(--blue); text-decoration: none; }
.section--dark .work-card__title a:hover { color: var(--blue-bright); }
.work-card__quick {
	background: none; border: 0; padding: .35rem 0;
	font-size: .85rem; font-weight: 600; color: var(--blue);
}
.section--dark .work-card__quick { color: var(--blue-bright); }

.post-card__title { font-size: 1.15rem; margin: .4rem 0; }
.post-card__title a { color: inherit; }
.post-card__excerpt { font-size: .95rem; }

/* ── Cards: testimonial / team / mini ────────────────────────────────────── */

.tcard {
	margin: 0; background: var(--white);
	border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
	padding: 1.9rem;
	display: flex; flex-direction: column; gap: 1.4rem;
}
.section--dark .tcard { background: var(--ink-2); border-color: #2A2A2E; }
.tcard__quote p { font-size: 1.05rem; color: var(--gray-900); }
.section--dark .tcard__quote p { color: var(--white); }
.tcard__who { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.tcard__avatar img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.tcard__meta strong { display: block; color: var(--gray-900); font-family: var(--font-head); }
.section--dark .tcard__meta strong { color: var(--white); }
.tcard__meta em { font-style: normal; font-size: .88rem; color: var(--gray-400); }

.team-card { text-align: left; }
.team-card__photo { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: .9rem; }
.team-card__name { font-size: 1.05rem; margin-bottom: .15rem; }
.team-card__role { font-size: .9rem; color: var(--gray-400); margin: 0; }
.team-card__link { font-size: .85rem; font-weight: 600; }

.mini-card {
	background: var(--white);
	border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
	padding: 1.6rem;
}
.section--tint .mini-card { background: rgba(255, 255, 255, .75); }
.mini-card h3 { font-size: 1.08rem; color: var(--blue); }
.mini-card p { margin: 0; font-size: .95rem; }

/* ── Steps / process ─────────────────────────────────────────────────────── */

.steps {
	grid-template-columns: repeat(5, 1fr);
	display: grid; gap: 1.5rem;
	list-style: none; padding: 0; margin: 0;
	counter-reset: step;
}
.step__num {
	display: block;
	font-family: var(--font-head); font-weight: 700; font-size: 2rem;
	color: var(--blue); margin-bottom: .5rem;
}
.step__title { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { font-size: .93rem; margin: 0; }

.process-list { list-style: none; padding: 0; margin: 0 0 3rem; }
.process-row {
	display: grid; grid-template-columns: 90px 1fr 1.4fr;
	gap: 1.5rem 3rem; align-items: baseline;
	padding: 2.2rem 0; border-bottom: 1px solid var(--gray-200);
}
.process-row__num { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--blue); }
.process-row__title { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0; }
.process-row__text { margin: 0; }

/* ── Stats / chips ───────────────────────────────────────────────────────── */

.stats { text-align: left; }
.stat__value {
	display: block;
	font-family: var(--font-head); font-weight: 700;
	font-size: clamp(2.2rem, 4.5vw, 3.2rem);
	color: var(--blue);
}
.section--dark .stat__value { color: var(--blue-bright); }
.stat__label { color: inherit; opacity: .75; font-size: .95rem; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; }
.chip {
	padding: .45rem 1rem; border-radius: 999px;
	background: var(--white); border: 1px solid var(--gray-200);
	font-size: .88rem; font-weight: 500; color: var(--gray-900);
}

/* ── Case study ──────────────────────────────────────────────────────────── */

.case__hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.case__kicker {
	font-size: .82rem; font-weight: 600; text-transform: uppercase;
	letter-spacing: .12em; color: var(--blue-bright);
}
.case__meta {
	display: flex; gap: 2.5rem; flex-wrap: wrap;
	list-style: none; padding: 1.4rem 0 0; margin: 1.4rem 0 0;
	border-top: 1px solid #2A2A2E;
}
.case__meta li { font-weight: 500; color: var(--white); }
.case__meta li span {
	display: block; font-size: .78rem; text-transform: uppercase;
	letter-spacing: .1em; color: var(--gray-400); margin-bottom: .2rem;
}
.case__cover { margin-top: -2rem; }
.case__cover img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.case__gallery figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */

.price-card {
	position: relative;
	background: var(--white); border: 1px solid var(--gray-200);
	border-radius: var(--radius-lg); padding: 2.2rem;
	display: flex; flex-direction: column;
}
.price-card--featured { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.price-card__badge {
	position: absolute; top: -13px; left: 2rem;
	background: var(--blue); color: var(--white);
	font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	padding: .35rem .9rem; border-radius: 999px;
}
.price-card__price {
	font-family: var(--font-head); font-weight: 700; font-size: 2rem;
	color: var(--gray-900); margin-bottom: .2rem;
}
.price-card__tagline { color: var(--gray-400); font-size: .92rem; }
.price-card__features {
	list-style: none; padding: 0; margin: 1.2rem 0 1.8rem;
	display: grid; gap: .55rem; font-size: .95rem;
}
.price-card__features li::before { content: '✓'; color: var(--blue); font-weight: 700; margin-right: .55rem; }
.price-card .btn { margin-top: auto; }

.quote-band {
	margin-top: 4rem; text-align: center;
	background: var(--ink); color: #C9C9CE;
	border-radius: var(--radius-lg); padding: 3.5rem 2rem;
}
.quote-band h2 { color: var(--white); }

/* ── Forms ───────────────────────────────────────────────────────────────── */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.3rem; margin-bottom: 1.4rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { font-weight: 600; font-size: .9rem; color: var(--gray-900); }

.field input, .field select, .field textarea,
.form-newsletter input, .form-mini input {
	width: 100%;
	padding: .8rem 1rem;
	border: 1px solid var(--gray-200); border-radius: 10px;
	background: var(--white); color: var(--gray-900);
	font: inherit;
	transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus,
.form-newsletter input:focus {
	outline: 0; border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(43, 78, 255, .15);
}
.is-invalid { border-color: var(--coral) !important; }

.checks { display: flex; flex-wrap: wrap; gap: .55rem; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span {
	display: inline-block; padding: .5rem 1rem;
	border: 1.5px solid var(--gray-200); border-radius: 999px;
	background: var(--white);
	font-size: .88rem; font-weight: 500; color: var(--gray-900);
	cursor: pointer; transition: all .18s;
}
.check input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.check input:focus-visible + span { box-shadow: 0 0 0 3px rgba(43, 78, 255, .25); }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.form-status { margin: .8rem 0 0; font-size: .92rem; }
.form-status:empty { display: none; }

.form-newsletter { display: flex; gap: .6rem; flex-wrap: wrap; align-items: flex-start; }
.form-newsletter input { flex: 1 1 200px; }

.form-mini { display: grid; gap: .8rem; }
.mini-form h3 { margin-bottom: 1rem; }

/* ── FAQ accordion ────────────────────────────────────────────────────────── */

.faq-wrap { max-width: 840px; }
.faq-group { margin-bottom: 3rem; }
.faq-group__title {
	font-size: 1.3rem; color: var(--blue);
	margin-bottom: 1rem;
}
.faq__item { border-bottom: 1px solid var(--gray-200); }
.faq__question {
	width: 100%;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	background: none; border: 0; padding: 1.2rem 0;
	font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
	color: var(--gray-900); text-align: left;
}
.faq__question:hover { color: var(--blue); }
.faq__icon { flex-shrink: 0; transition: transform .3s; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__answer {
	display: grid; grid-template-rows: 0fr;
	transition: grid-template-rows .35s ease;
}
.faq__item.is-open .faq__answer { grid-template-rows: 1fr; }
.faq__answer-inner { overflow: hidden; padding-bottom: 0; }
.faq__item.is-open .faq__answer-inner { padding-bottom: 1.3rem; }

/* ── Work filter ─────────────────────────────────────────────────────────── */

.work-filter { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.5rem; }
.work-filter__btn {
	padding: .55rem 1.2rem;
	border: 1.5px solid var(--gray-200); border-radius: 999px;
	background: var(--white); color: var(--gray-900);
	font-weight: 500; font-size: .9rem;
	transition: all .18s;
}
.work-filter__btn:hover { border-color: var(--blue); color: var(--blue); }
.work-filter__btn.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ── Popups ──────────────────────────────────────────────────────────────── */

.popup {
	position: fixed; inset: 0; z-index: 500;
	display: flex; align-items: center; justify-content: center;
	padding: 1rem;
	visibility: hidden; opacity: 0;
}
.popup.is-open { visibility: visible; opacity: 1; }
.popup__overlay {
	position: absolute; inset: 0;
	background: rgba(13, 13, 13, .62);
	backdrop-filter: blur(4px);
}
.popup__panel {
	position: relative;
	width: min(100%, 520px); max-height: 90vh; overflow-y: auto;
	background: var(--white); border-radius: var(--radius-lg);
	padding: 2.4rem;
	box-shadow: var(--shadow-lg);
}
.popup--wide .popup__panel { width: min(100%, 860px); }
.popup__panel--center { text-align: center; }
.popup__panel--flush { padding: 0; overflow: hidden; }
.popup__close {
	position: absolute; top: .9rem; right: .9rem; z-index: 2;
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%;
	border: 0; background: rgba(13, 13, 13, .06); color: var(--gray-900);
	transition: background .2s;
}
.popup__close:hover { background: rgba(13, 13, 13, .12); }
.popup__kicker {
	font-size: .8rem; font-weight: 700; text-transform: uppercase;
	letter-spacing: .12em; color: var(--coral); margin-bottom: .4rem;
}
.popup__title { font-size: 1.6rem; margin-bottom: .4rem; }
.popup__lede { font-size: .95rem; margin-bottom: 1.4rem; }
.popup__video { aspect-ratio: 16 / 9; background: var(--ink); border-radius: 10px; overflow: hidden; }
.popup__video iframe { width: 100%; height: 100%; border: 0; }
body.popup-open { overflow: hidden; }

.qv__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.qv__body { padding: 1.8rem 2.2rem 2.2rem; }
.qv__title { margin-bottom: .4rem; }

/* Cookie bar */
.cookie-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 480;
	background: var(--ink); color: #C9C9CE;
	padding: 1rem 0;
	transform: translateY(110%);
	transition: transform .45s cubic-bezier(.2,.8,.2,1);
	font-size: .9rem;
}
.cookie-bar.is-open { transform: translateY(0); }
.cookie-bar__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cookie-bar__inner p { margin: 0; flex: 1 1 320px; }
.cookie-bar__actions { display: flex; align-items: center; gap: 1.2rem; }
.cookie-bar__link { color: var(--blue-bright); }

/* ── Floating CTA / toast ────────────────────────────────────────────────── */

.fab {
	position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 470;
	display: inline-flex; align-items: center; justify-content: center;
	width: 58px; height: 58px; border-radius: 50%; border: 0;
	background: var(--blue); color: var(--white);
	box-shadow: 0 12px 32px rgba(43, 78, 255, .4);
	transition: transform .2s, background .2s;
}
.fab:hover { transform: scale(1.07); background: var(--blue-deep); }

.toast {
	position: fixed; left: 50%; bottom: 1.6rem; z-index: 600;
	transform: translate(-50%, 160%);
	background: var(--ink); color: var(--white);
	border-left: 4px solid var(--blue);
	padding: .9rem 1.4rem; border-radius: 10px;
	box-shadow: var(--shadow-lg);
	max-width: min(92vw, 480px);
	font-size: .94rem;
	transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast--error { border-left-color: var(--coral); }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer { padding: 4rem 0 0; }
.site-footer__grid {
	display: grid; grid-template-columns: 1.3fr 1fr 1.1fr;
	gap: 3rem; padding-bottom: 3rem;
}
.site-footer__logo {
	font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
	color: var(--white); letter-spacing: .04em;
}
.site-footer__logo:hover { text-decoration: none; color: var(--blue-bright); }
.site-footer__brand p { font-size: .95rem; max-width: 34ch; }
.site-footer__heading { font-size: 1rem; margin-bottom: .5rem; }
.site-footer__news p { font-size: .9rem; margin-bottom: 1rem; }

.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-menu a { color: #C9C9CE; font-size: .95rem; }
.footer-menu a:hover { color: var(--blue-bright); text-decoration: none; }
.footer-menu .current-menu-item > a { color: var(--blue-bright); }

.socials { display: flex; gap: 1.1rem; list-style: none; padding: 0; margin: 1.1rem 0 0; }
.socials a { color: inherit; font-size: .92rem; font-weight: 600; }
.socials a:hover { color: var(--blue-bright); text-decoration: none; }
.contact .socials a { color: var(--gray-600); }
.contact .socials a:hover { color: var(--blue); }

.site-footer__bottom {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; flex-wrap: wrap;
	padding: 1.4rem 0; border-top: 1px solid #2A2A2E;
	font-size: .86rem;
}
.site-footer__bottom p { margin: 0; }
.legal-menu { display: flex; gap: 1.4rem; list-style: none; padding: 0; margin: 0; }
.legal-menu a { color: #8A8A90; font-size: .86rem; }
.legal-menu a:hover { color: var(--white); text-decoration: none; }

/* ── Misc pages ──────────────────────────────────────────────────────────── */

.prose { max-width: 72ch; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }

.post-single__cover { margin-top: -1rem; }
.post-single__cover img { border-radius: var(--radius-lg); }
.post-single__meta { color: var(--gray-400); font-size: .9rem; margin-bottom: .8rem; }

.post-nav {
	display: flex; justify-content: space-between; gap: 1rem;
	padding-bottom: 3rem; font-weight: 600;
}

.contact__list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.2rem; }
.contact__list li span {
	display: block; font-size: .78rem; text-transform: uppercase;
	letter-spacing: .1em; color: var(--gray-400); margin-bottom: .15rem;
}
.contact__list a { font-weight: 600; color: var(--gray-900); }
.contact__map { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.contact__map iframe { display: block; width: 100%; min-height: 320px; border: 0; }

.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
.next-steps h3 { font-size: 1.05rem; color: var(--blue); margin-bottom: .25rem; }
.next-steps p { margin: 0; font-size: .95rem; }

.thank-you { text-align: center; }
.thank-you__inner { display: flex; flex-direction: column; align-items: center; }
.thank-you__check { color: var(--blue-bright); }
.thank-you .hero__cta { justify-content: center; }

.page-404 { min-height: 70vh; display: flex; align-items: center; }
.page-404__code {
	font-family: var(--font-head); font-weight: 700;
	font-size: clamp(5rem, 16vw, 10rem); line-height: 1;
	color: var(--blue); margin: 0 0 1rem;
}
.page-404 form { margin-top: 2rem; max-width: 420px; }

.pagination { margin-top: 3rem; }
.pagination .page-numbers {
	display: inline-flex; padding: .5rem 1rem;
	border: 1px solid var(--gray-200); border-radius: 8px;
	margin-right: .4rem; color: var(--gray-900);
}
.pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
	.grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(3, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none;
		position: absolute; inset: var(--header-h) 0 auto 0;
		background: var(--paper);
		border-bottom: 1px solid var(--gray-200);
		padding: 1.2rem;
	}
	body.nav-open .site-nav { display: block; }
	.site-nav__list { flex-direction: column; gap: 1rem; }
	.site-header { position: sticky; }
	.site-header__actions .btn { display: none; } /* CTA still in menu/body */
	.form-grid { grid-template-columns: 1fr; }
	.process-row { grid-template-columns: 1fr; gap: .4rem; }
	.case__cover { margin-top: 0; }
}

@media (max-width: 560px) {
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
	.popup__panel { padding: 1.8rem 1.4rem; }
	.fab { width: 50px; height: 50px; right: 1rem; bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}
