/* ==========================================================================
   Scrap Cars Peterborough — theme stylesheet
   ========================================================================== */

:root {
	--ink-950: #090909;
	--ink-900: #121212;
	--ink-800: #1c1c1c;
	--ink-700: #2c2c2a;
	--gold-600: #c98f00;
	--gold-500: #f5b400;
	--gold-400: #ffcc4d;
	--gold-100: #fff3d6;
	--whatsapp: #25d366;
	--whatsapp-dark: #1ebe5b;
	--white: #ffffff;
	--gray-50: #f8f8f6;
	--gray-100: #efefea;
	--gray-200: #e1e1da;
	--gray-400: #96968c;
	--gray-500: #6c6c60;
	--gray-700: #3c3c34;
	--gray-900: #17170f;

	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--container: 1200px;
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 22px;
	--radius-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(9, 9, 9, 0.06), 0 1px 3px rgba(9, 9, 9, 0.08);
	--shadow-md: 0 8px 24px rgba(9, 9, 9, 0.1);
	--shadow-lg: 0 24px 60px rgba(9, 9, 9, 0.18);

	--ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset ------------------------------------------------------------------ */

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: hidden; }

body {
	margin: 0;
	font-family: var(--font-sans);
	color: var(--gray-900);
	background: var(--white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	width: 100%;
}

img { max-width: 100%; display: block; }
svg { width: 18px; height: 18px; flex: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 16px; }

h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink-900); }
p { margin: 0 0 1em; }

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

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.section { padding-block: clamp(56px, 8vw, 108px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--gold-600); margin-bottom: 14px;
}
.eyebrow::before {
	content: ""; width: 20px; height: 2px; background: var(--gold-500); border-radius: 2px;
}

.section-heading { max-width: 640px; margin-bottom: 40px; }
.section-heading h2 { font-size: clamp(28px, 3.4vw, 42px); }
.section-heading p { color: var(--gray-500); font-size: 17px; margin: 0; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--center .eyebrow::before { display: none; }

/* Buttons ------------------------------------------------------------------ */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; border-radius: var(--radius-pill); border: 0;
	font-weight: 700; font-size: 15.5px; line-height: 1; white-space: nowrap;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--gold-500); color: var(--ink-950); box-shadow: 0 10px 24px rgba(245, 180, 0, 0.35); }
.btn--primary:hover { background: var(--gold-400); box-shadow: 0 14px 30px rgba(245, 180, 0, 0.4); }

.btn--whatsapp { background: var(--whatsapp); color: var(--white); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32); }
.btn--whatsapp:hover { background: var(--whatsapp-dark); }

.btn--ghost { background: rgba(255, 255, 255, 0.1); color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.4); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }

.btn--outline { background: transparent; color: var(--ink-900); border: 1.5px solid var(--gray-200); }
.btn--outline:hover { border-color: var(--gold-600); color: var(--gold-600); }

.btn--block { width: 100%; }
.btn--lg { padding: 18px 34px; font-size: 16.5px; }

/* Header ------------------------------------------------------------------ */

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid var(--gray-100);
	box-shadow: var(--shadow-sm);
}

.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; padding-block: 14px;
}

.site-logo { display: flex; align-items: center; flex: none; }
.site-logo img { height: 46px; width: auto; }

.primary-nav__list { display: flex; align-items: center; gap: 4px; }
.primary-nav__list a {
	display: block; padding: 10px 16px; border-radius: var(--radius-pill);
	font-weight: 600; font-size: 15px; color: var(--ink-800);
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.primary-nav__list a:hover,
.primary-nav__list .current-menu-item > a { background: var(--gold-100); color: var(--gold-600); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .call-link {
	display: none; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-900); font-size: 14.5px;
}
.header-actions .call-link svg { width: 18px; height: 18px; color: var(--gold-600); }

.menu-toggle {
	display: none; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: var(--radius-sm);
	background: var(--ink-950); color: var(--white); border: 0; flex: none;
	position: relative; z-index: 110;
}
.menu-toggle svg { width: 22px; height: 22px; }

.nav-close { display: none; }

@media (max-width: 900px) {
	.primary-nav {
		position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); height: 100vh;
		background: var(--ink-950); padding: 100px 28px 40px; overflow-y: auto;
		transform: translateX(100%); transition: transform 0.35s var(--ease);
		z-index: 90;
	}
	.primary-nav.is-open { transform: translateX(0); }
	.primary-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
	.primary-nav__list a { color: var(--white); padding: 14px 4px; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
	.primary-nav__list a:hover,
	.primary-nav__list .current-menu-item > a { background: transparent; color: var(--gold-400); }
	.primary-nav__whatsapp { margin-top: 24px; display: block; }
	.menu-toggle { display: inline-flex; }
	/* The drawer has its own pinned close button once open, so the header
	   toggle (which sits at a higher z-index than the drawer) is hidden
	   rather than left floating on top of it. */
	.primary-nav.is-open ~ .header-actions .menu-toggle { visibility: hidden; }
	.nav-scrim { position: fixed; inset: 0; background: rgba(9,9,9,0.5); z-index: 80; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
	.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

	/* Pinned inside the drawer itself (not just the header toggle) so it
	   stays put regardless of how far the menu list scrolls. */
	.nav-close {
		display: flex; align-items: center; justify-content: center;
		position: absolute; top: 24px; right: 24px; z-index: 2;
		width: 40px; height: 40px; border-radius: 50%; border: 0;
		background: rgba(255,255,255,0.08); color: var(--white);
	}
	.nav-close svg { width: 18px; height: 18px; }
	.nav-close:hover { background: rgba(255,255,255,0.16); }
}

@media (min-width: 901px) {
	.header-actions .call-link { display: inline-flex; }
	.primary-nav__whatsapp { display: none; }
	.nav-close { display: none; }
}

/* Hero ------------------------------------------------------------------ */

.hero {
	position: relative; color: var(--white); overflow: hidden;
	padding-block: clamp(72px, 14vh, 140px) clamp(40px, 6vh, 64px);
}
.hero::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(9,9,9,0.86) 0%, rgba(9,9,9,0.8) 45%, rgba(9,9,9,0.95) 100%), var(--hero-img, none);
	background-size: cover; background-position: center 55%;
	z-index: -1;
}
.hero__badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
	padding: 8px 16px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 700;
	letter-spacing: 0.02em; margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 0 0 4px rgba(37,211,102,0.25); }

.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { font-size: clamp(38px, 5.6vw, 62px); color: var(--white); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero__lede { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,0.82); max-width: 48ch; margin-bottom: 32px; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; }
@media (max-width: 560px) { .hero__stats { grid-template-columns: repeat(2, 1fr); } }
.hero__stats .stat b { display: block; font-size: 24px; font-weight: 800; color: var(--white); }
.hero__stats .stat span { font-size: 13.5px; color: rgba(255,255,255,0.68); }

/* Quote form ------------------------------------------------------------------ */

.quote-card {
	background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	padding: clamp(20px, 2.4vw, 28px); color: var(--gray-900);
}
.quote-card__head { margin-bottom: 14px; }
.quote-card__head h2 { font-size: 21px; margin-bottom: 4px; }
.quote-card__head p { color: var(--gray-500); font-size: 13.5px; margin: 0; }
.quote-card__price {
	margin-top: 10px; display: flex; align-items: center; gap: 8px;
	background: var(--gold-100); color: var(--ink-900); font-weight: 700; font-size: 12.5px;
	padding: 8px 12px; border-radius: var(--radius-sm);
}

.quote-card__success { text-align: center; padding: 20px 8px 8px; }
.quote-card__success[hidden] { display: none; }
.quote-card__success-icon {
	width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
	background: #ecfdf3; color: #067647; display: flex; align-items: center; justify-content: center;
}
.quote-card__success-icon svg { width: 36px; height: 36px; }
.quote-card__success h2 { font-size: 23px; margin-bottom: 10px; }
.quote-card__success-message { color: var(--gray-500); font-size: 15px; max-width: 40ch; margin: 0 auto 28px; }
.quote-card__success-ctas { display: flex; flex-direction: column; gap: 10px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.form-field label { font-size: 12.5px; font-weight: 700; color: var(--ink-800); }
.form-field .req { color: var(--gold-600); }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
	border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
	padding: 9px 12px; background: var(--gray-50); color: var(--gray-900);
	transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
	width: 100%; font-size: 14.5px;
}
.form-field textarea { resize: vertical; min-height: 60px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
	outline: none; border-color: var(--gold-600); background: var(--white);
}

.form-section-title {
	font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--gray-400); margin: 14px 0 8px;
}
.form-section-title:first-child { margin-top: 0; }

.toggle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
@media (max-width: 520px) { .toggle-grid { grid-template-columns: 1fr; } }
.toggle-item {
	display: flex; flex-direction: column; gap: 6px; padding: 10px 12px;
	border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
}
.toggle-item span { font-size: 12.5px; font-weight: 700; color: var(--ink-800); }
.yes-no { display: flex; gap: 6px; }
.yes-no input { position: absolute; opacity: 0; pointer-events: none; }
.yes-no label {
	flex: 1; text-align: center; padding: 6px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
	font-weight: 700; font-size: 12.5px; color: var(--gray-500); cursor: pointer; transition: all 0.2s var(--ease);
}
.yes-no input:checked + label { border-color: var(--gold-600); background: var(--gold-100); color: var(--ink-900); }

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

.form-note { font-size: 12px; color: var(--gray-400); margin-top: 10px; text-align: center; }

.form-status {
	display: none; margin-bottom: 16px; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status--success { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.form-status--error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }

/* Trust strip ------------------------------------------------------------------ */

.trust-strip { background: var(--gray-50); border-block: 1px solid var(--gray-100); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: center; padding-block: 20px; }
.trust-strip__item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--ink-800); text-align: center; }
.trust-strip__item svg { width: 20px; height: 20px; color: var(--gold-600); flex: none; }

/* Coverage / postcodes ------------------------------------------------------------------ */

.postcode-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.postcode-chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px;
	background: var(--ink-950); color: var(--gold-400); border-radius: var(--radius-pill);
	font-weight: 700; font-size: 14px;
}
.postcode-chip svg { width: 15px; height: 15px; }

/* Feature cards ------------------------------------------------------------------ */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-grid--six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .feature-grid, .feature-grid--six { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1080px) { .feature-grid--six { grid-template-columns: repeat(2, 1fr); } }

.feature-card {
	background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
	padding: 32px; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card__icon {
	width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--ink-950); color: var(--gold-400);
	display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 21px; margin-bottom: 8px; }
.feature-card p { color: var(--gray-500); margin: 0; }

/* Process steps ------------------------------------------------------------------ */

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
	position: relative; text-align: center; padding: 32px 22px; border-radius: var(--radius-lg);
	background: var(--gray-50); border: 1px solid var(--gray-100);
}
.process-step__num {
	position: absolute; top: 16px; right: 20px; font-size: 13px; font-weight: 800;
	color: var(--gray-400);
}
.process-step__icon {
	width: 56px; height: 56px; border-radius: 50%; background: var(--gold-500); color: var(--ink-950);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.process-step__icon svg { width: 26px; height: 26px; }
.process-step h3 { font-size: 17.5px; margin-bottom: 8px; }
.process-step p { color: var(--gray-500); font-size: 14.5px; margin: 0; }

/* Car brands ------------------------------------------------------------------ */

.brand-grid {
	display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; align-items: center;
}
@media (max-width: 860px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
.brand-grid__item {
	aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
	background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-md);
	padding: 14px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.brand-grid__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--gold-500); }
.brand-grid__item img { width: 100%; height: 100%; object-fit: contain; }

/* Reviews ------------------------------------------------------------------ */

.star-rating { display: inline-flex; gap: 2px; }
.star-rating__star { position: relative; width: 18px; height: 18px; display: inline-block; color: var(--gray-200); }
.star-rating__star > svg { position: absolute; inset: 0; width: 18px; height: 18px; }
.star-rating__fill {
	position: absolute; inset: 0; width: 0; overflow: hidden; color: var(--gold-500); white-space: nowrap;
}
.star-rating__fill svg { width: 18px; height: 18px; flex: none; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
	background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
	padding: 28px; box-shadow: var(--shadow-sm);
}
.review-card .star-rating { margin-bottom: 14px; }
.review-card__text { color: var(--gray-700); font-size: 15px; margin-bottom: 20px; }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.review-card__avatar--placeholder {
	display: flex; align-items: center; justify-content: center; background: var(--ink-950); color: var(--gold-400);
	font-weight: 800; font-size: 16px;
}
.review-card__name { font-weight: 700; font-size: 14.5px; color: var(--ink-900); }

.reviews-widget-area { max-width: 100%; overflow-x: auto; }

/* Connect / contact ------------------------------------------------------------------ */

.connect {
	background: linear-gradient(150deg, var(--ink-950) 0%, var(--ink-900) 55%, var(--ink-800) 100%);
	color: var(--white); border-radius: var(--radius-lg); overflow: hidden; position: relative;
}
.connect__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; }
@media (max-width: 860px) { .connect__inner { grid-template-columns: 1fr; } }
.connect__main { padding: clamp(36px, 5vw, 60px); }
.connect__main .eyebrow { color: var(--gold-400); }
.connect__main .eyebrow::before { background: var(--gold-400); }
.connect__main h2 { color: var(--white); font-size: clamp(28px, 3.2vw, 38px); }
.connect__main p { color: rgba(255,255,255,0.72); max-width: 46ch; }
.connect__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

.connect__details { background: rgba(255,255,255,0.06); padding: clamp(28px, 4vw, 48px); border-left: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 860px) { .connect__details { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); } }
.connect__detail { display: flex; gap: 16px; padding-block: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.connect__detail:last-child { border-bottom: 0; }
.connect__detail .icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex: none; color: var(--gold-400); }
.connect__detail .icon svg { width: 20px; height: 20px; }
.connect__detail h4 { color: var(--white); font-size: 15px; margin-bottom: 2px; }
.connect__detail p { color: rgba(255,255,255,0.65); font-size: 14.5px; margin: 0; }

/* Partner callout ------------------------------------------------------------------ */

.partner-band {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	background: var(--gold-500); color: var(--ink-950); border-radius: var(--radius-lg);
	padding: 28px 34px;
}
.partner-band h3 { color: var(--ink-950); font-size: 20px; margin-bottom: 2px; }
.partner-band p { margin: 0; color: rgba(9,9,9,0.75); font-size: 14.5px; }
.partner-band a.btn { background: var(--ink-950); color: var(--white); }
.partner-band a.btn:hover { background: var(--ink-800); }

/* Social ------------------------------------------------------------------ */

.social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.social-row a {
	width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: var(--gray-100); color: var(--ink-800); transition: all 0.2s var(--ease);
}
.social-row a:hover { background: var(--gold-500); color: var(--ink-950); transform: translateY(-2px); }
.social-row a svg { width: 20px; height: 20px; }

.footer .social-row a { background: rgba(255,255,255,0.08); color: var(--white); }
.footer .social-row a:hover { background: var(--gold-500); color: var(--ink-950); }

/* Footer ------------------------------------------------------------------ */

.footer { background: var(--ink-950); color: rgba(255,255,255,0.7); }
.footer__top { padding-block: 56px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 780px) { .footer__top { grid-template-columns: 1fr; gap: 32px; } }
.footer__brand img { height: 44px; margin-bottom: 16px; }
.footer__brand p { max-width: 36ch; font-size: 14.5px; }
.footer h5 { color: var(--white); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a, .footer__links span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; transition: color 0.2s var(--ease); }
.footer__links a svg, .footer__links span svg { width: 16px; height: 16px; color: var(--gold-400); }
.footer__links a:hover { color: var(--gold-400); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 13.5px; }

/* Floating WhatsApp button ------------------------------------------------------------------ */

.whatsapp-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 200;
	width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: var(--white);
	display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(37,211,102,0.45);
	animation: scp-pulse 2.6s ease-in-out infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
@keyframes scp-pulse {
	0%, 100% { box-shadow: 0 12px 28px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
	50% { box-shadow: 0 12px 28px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0); }
}

/* Inner page hero ------------------------------------------------------------------ */

.page-hero {
	background: linear-gradient(150deg, var(--ink-950) 0%, var(--ink-900) 60%, var(--ink-800) 100%);
	color: var(--white); padding-block: 64px 76px; text-align: center;
}
.page-hero .eyebrow { justify-content: center; color: var(--gold-400); }
.page-hero .eyebrow::before { display: none; }
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 56ch; margin-inline: auto; }
.breadcrumbs { font-size: 13.5px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.breadcrumbs a { color: rgba(255,255,255,0.75); }
.breadcrumbs a:hover { color: var(--gold-400); }

/* Prose / page content ------------------------------------------------------------------ */

.prose { max-width: 760px; margin-inline: auto; font-size: 17px; color: var(--gray-700); }
.prose h2 { font-size: 26px; margin-top: 1.6em; color: var(--ink-900); }
.prose h3 { font-size: 20px; margin-top: 1.4em; color: var(--ink-900); }
.prose p { margin-bottom: 1.3em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 22px; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--gold-600); text-decoration: underline; text-decoration-color: var(--gold-100); text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-md); margin-block: 1.6em; }
.prose blockquote {
	margin: 1.8em 0; padding: 4px 24px; border-left: 3px solid var(--gold-500);
	font-size: 19px; font-style: italic; color: var(--ink-900);
}

.about-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto 56px; }
@media (max-width: 780px) { .about-highlights { grid-template-columns: 1fr; } }
.about-highlights .feature-card { padding: 24px; }

/* Blog listing ------------------------------------------------------------------ */

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card {
	display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
	background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 4 / 2.6; overflow: hidden; background: var(--gray-100); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: 12.5px; font-weight: 700; color: var(--gold-600); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.post-card__body h3 { font-size: 19px; margin-bottom: 10px; }
.post-card__body h3 a:hover { color: var(--gold-600); }
.post-card__body p { color: var(--gray-500); font-size: 14.5px; margin-bottom: 16px; flex: 1; }
.post-card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink-900); }
.post-card__link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.post-card:hover .post-card__link svg { transform: translateX(4px); }

.pagination ul { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span {
	display: flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding-inline: 10px;
	border-radius: var(--radius-sm); border: 1.5px solid var(--gray-200); font-weight: 700; font-size: 14px; color: var(--ink-800);
}
.pagination a:hover { border-color: var(--gold-600); color: var(--gold-600); }
.pagination .current { background: var(--ink-950); border-color: var(--ink-950); color: var(--white); }
.pagination svg { width: 16px; height: 16px; }

/* Single post ------------------------------------------------------------------ */

.single-post__media { max-width: 900px; margin: -48px auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.single-post__media img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.single-post__meta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; font-size: 13.5px; color: rgba(255,255,255,0.65); margin-top: 4px; }

.post-cta {
	margin: 40px auto; max-width: 760px; background: var(--gold-100); border-radius: var(--radius-md);
	padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.post-cta p { margin: 0; font-weight: 700; color: var(--ink-900); }

.related-posts { background: var(--gray-50); }

/* 404 ------------------------------------------------------------------ */

.error-404 { text-align: center; padding-block: clamp(60px, 12vh, 140px); }
.error-404__code { font-size: clamp(80px, 14vw, 160px); font-weight: 800; color: var(--gold-100); line-height: 1; margin-bottom: 8px; }
.error-404 .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Utility ------------------------------------------------------------------ */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flow > * + * { margin-top: 1em; }

@media (max-width: 640px) {
	.section { padding-block: 48px; }
	.quote-card { padding: 22px; }
}
