/* ══════════════════════════════════════════════════════════════════════
   Seamless Accounting & Consultancy — custom design system
   Original implementation. No framework, no template code.
   ══════════════════════════════════════════════════════════════════════ */

/* ─── Fonts (self-hosted, SIL Open Font License) ──────────────────────── */
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-var-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Sora";
	src: url("../fonts/sora-var-latin.woff2") format("woff2");
	font-weight: 600 800;
	font-style: normal;
	font-display: swap;
}

/* ─── Design tokens ───────────────────────────────────────────────────── */
:root {
	/* Brand */
	--navy:        #1c3d6e;
	--navy-dark:   #142d52;
	--navy-deep:   #0e2140;
	--green:       #6abf2e;
	--green-dark:  #57a020;
	--green-deep:  #3f7716;
	--green-tint:  #eef7e3;

	/* Neutrals */
	--surface:     #ffffff;
	--surface-alt: #f5f8fb;
	--border:      #dfe6f0;
	--ink:         #16233b;
	--text:        #3c4a63;
	--text-soft:   #64718a;

	/* Type */
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: "Sora", var(--font-body);

	/* Shape & depth */
	--radius-sm: 10px;
	--radius:    16px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 3px rgba(14, 33, 64, 0.08);
	--shadow:    0 10px 30px -12px rgba(14, 33, 64, 0.22);
	--shadow-lg: 0 24px 55px -20px rgba(14, 33, 64, 0.32);

	/* Layout */
	--wrap-max: 74rem;
	--wrap-pad: clamp(1.25rem, 4vw, 2.5rem);
	--header-h: 4.75rem;
	--section-y: clamp(4rem, 9vw, 7rem);
}

/* ─── Reset & base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.15;
	color: var(--navy);
	letter-spacing: -0.015em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; }

[hidden] { display: none !important; }

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

:focus-visible {
	outline: 3px solid var(--green-dark);
	outline-offset: 2px;
	border-radius: 4px;
}

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

/* ─── Utilities ───────────────────────────────────────────────────────── */
.wrap {
	max-width: var(--wrap-max);
	margin-inline: auto;
	padding-inline: var(--wrap-pad);
}

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.skip-link {
	position: fixed;
	top: 0.75rem; left: 0.75rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--navy);
	color: #fff;
	border-radius: var(--radius-sm);
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; color: #fff; }

/* ─── Prose pages (privacy policy etc.) ───────────────────────────────── */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.35em; }
.prose .page-meta { color: var(--text-soft); font-size: 0.92rem; }

/* ─── Buttons ─────────────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	padding: 0.8em 1.6em;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--font-head);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease,
	            border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
	background: var(--green);
	color: var(--navy-deep);
	box-shadow: 0 6px 18px -8px rgba(106, 191, 46, 0.9);
}
.btn-primary:hover {
	background: var(--green-dark);
	color: #fff;
	box-shadow: 0 8px 22px -8px rgba(87, 160, 32, 0.9);
}

.btn-ghost {
	background: var(--surface);
	color: var(--navy);
	border-color: var(--border);
	box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn-outline {
	background: transparent;
	color: var(--navy);
	border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-sm { padding: 0.6em 1.3em; font-size: 0.92rem; }
.btn-lg { padding: 0.95em 1.9em; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

/* ─── Header ──────────────────────────────────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
	transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

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

.brand {
	display: flex;
	align-items: center;
	/* Tighter than the footer's 0.9rem: the logo PNG has a white outer
	   stroke that vanishes on the white header, inflating the optical gap */
	gap: 0.55rem;
	text-decoration: none;
}
.brand img { width: 2.9rem; height: 2.9rem; border-radius: 9px; }

.brand-name {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(1rem, 4.5vw, 1.15rem);
	line-height: 1.25;
	letter-spacing: 0.01em;
	color: var(--navy);
	white-space: nowrap;
}

.menu {
	display: flex;
	align-items: center;
	gap: clamp(0.75rem, 2vw, 1.75rem);
	list-style: none;
}

.menu a:not(.btn) {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.35em 0.15em;
	font-family: var(--font-head);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--navy);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.18s ease, border-color 0.18s ease;
}
.menu a:not(.btn):hover { color: var(--green-deep); }
.menu a.is-active { border-bottom-color: var(--green); }

.menu .btn { white-space: nowrap; }

.menu-phone a { color: var(--green-deep) !important; white-space: nowrap; }
.menu-phone a:hover { color: var(--navy) !important; }

.menu-btn {
	display: none;
	padding: 0.5rem;
	background: none;
	border: 0;
	color: var(--navy);
	cursor: pointer;
}
.menu-btn .icon { width: 1.7rem; height: 1.7rem; }
.menu-btn .close-icon { display: none; }

/* The desktop nav (4 links + phone + CTA) needs ~68em to fit beside the
   brand, so the hamburger stays up to 68em — not 56em like other layouts. */
@media (max-width: 68em) {
	.menu-btn { display: inline-flex; }

	body.menu-open { overflow: hidden; }

	.site-nav .menu {
		position: absolute;
		top: 100%; left: 0; right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0.25rem;
		padding: 1rem var(--wrap-pad) 1.5rem;
		background: #fff;
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow);
	}
	.site-nav.is-open .menu { display: flex; }
	.site-nav.is-open .menu-icon { display: none; }
	.site-nav.is-open .close-icon { display: block; }

	.menu a:not(.btn) {
		padding: 0.65em 0.25em;
		font-size: 1.05rem;
		border-bottom: 0;
	}
	.menu a.is-active { color: var(--green-deep); }
	.menu .btn { margin-top: 0.5rem; }
}

/* ─── Hero ────────────────────────────────────────────────────────────── */
.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(56rem 30rem at 110% -10%, rgba(106, 191, 46, 0.13), transparent 60%),
		radial-gradient(48rem 30rem at -15% 115%, rgba(28, 61, 110, 0.10), transparent 60%),
		linear-gradient(180deg, #fbfdf9 0%, var(--surface-alt) 100%);
	padding-block: clamp(4rem, 9vw, 7.5rem);
}

/* Soft leaf shapes echoing the logo mark */
.hero-leaf {
	position: absolute;
	width: 30rem; height: 12rem;
	border-radius: 100% 0 100% 0;
	pointer-events: none;
}
.hero-leaf-a {
	top: -4rem; right: -10rem;
	background: rgba(106, 191, 46, 0.09);
	transform: rotate(-18deg);
}
.hero-leaf-b {
	bottom: -6rem; left: -12rem;
	background: rgba(28, 61, 110, 0.06);
	transform: rotate(-18deg);
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2.5rem, 5vw, 5rem);
	align-items: center;
}

.eyebrow {
	display: inline-block;
	margin-bottom: 1.25rem;
	padding: 0.4em 1em;
	background: var(--green-tint);
	border: 1px solid rgba(106, 191, 46, 0.35);
	border-radius: 999px;
	font-family: var(--font-head);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--green-deep);
}

.hero h1 em {
	font-style: normal;
	color: var(--green-dark);
}

.lede {
	max-width: 34em;
	font-size: clamp(1.1rem, 1.6vw, 1.25rem);
	color: var(--text-soft);
	margin-bottom: 2rem;
}

.hero-note {
	margin-top: 1rem;
	font-size: 0.92rem;
	color: var(--text-soft);
}

.hero-card {
	padding: 2rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-top: 4px solid var(--green);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.hero-card-title {
	font-size: 1.05rem;
	margin-bottom: 1.25rem;
}

.tick-list {
	display: grid;
	gap: 1.1rem;
	list-style: none;
}
.tick-list li {
	display: flex;
	gap: 0.8rem;
	font-size: 0.98rem;
}
.tick-list .icon {
	margin-top: 0.15em;
	padding: 0.2em;
	width: 1.5em; height: 1.5em;
	background: var(--green-tint);
	border-radius: 50%;
	color: var(--green-deep);
	stroke-width: 3;
}
.tick-list strong { color: var(--ink); }

@media (max-width: 56em) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-card { max-width: 32rem; }
}

/* ─── Trust bar ───────────────────────────────────────────────────────── */
.trust {
	background: var(--navy-dark);
	color: #fff;
}

.trust-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem 2.5rem;
	padding-block: 1.15rem;
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
}
.trust-item .icon { color: var(--green); }
.trust-item strong { color: #fff; }

@media (max-width: 56em) {
	.trust-row { justify-content: flex-start; }
}

/* ─── Sections ────────────────────────────────────────────────────────── */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--surface-alt); }

.section-head {
	max-width: 46rem;
	margin: 0 auto clamp(2.5rem, 5vw, 4rem);
	text-align: center;
}
.section-head p {
	font-size: 1.1rem;
	color: var(--text-soft);
}

/* ─── Service cards ───────────────────────────────────────────────────── */
.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
	gap: 1.25rem;
	list-style: none;
}

.service-card {
	padding: 1.75rem 1.5rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
	transform: translateY(-4px);
	border-color: rgba(106, 191, 46, 0.55);
	box-shadow: var(--shadow);
}

.card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem; height: 3rem;
	margin-bottom: 1.1rem;
	background: var(--green-tint);
	border-radius: var(--radius-sm);
	color: var(--green-deep);
}
.card-icon .icon { width: 1.4rem; height: 1.4rem; }

.service-card h3 { font-size: 1.08rem; margin-bottom: 0.4em; }
.service-card p { font-size: 0.95rem; color: var(--text-soft); }

.card-link {
	display: inline-block;
	margin-top: 0.75rem;
	font-family: var(--font-head);
	font-size: 0.92rem;
	font-weight: 600;
}

/* Compact rows on phones so 12 cards don't become 12 screens of scroll */
@media (max-width: 36em) {
	.service-grid { gap: 0.75rem; }
	.service-card {
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 1rem;
		align-items: start;
		padding: 1.1rem 1.15rem;
	}
	.service-card .card-icon {
		grid-row: 1 / span 3;
		width: 2.5rem; height: 2.5rem;
		margin-bottom: 0;
	}
	.service-card h3 { font-size: 1.02rem; margin-bottom: 0.25em; }
	.service-card p { font-size: 0.9rem; }
	.card-link { margin-top: 0.4rem; }
}

/* ─── Why us features ─────────────────────────────────────────────────── */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.feature {
	display: flex;
	gap: 1.25rem;
	padding: 1.9rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.feature .card-icon { margin-bottom: 0; }
.feature h3 { font-size: 1.12rem; }
.feature p { font-size: 0.97rem; color: var(--text-soft); }

@media (max-width: 48em) {
	.feature-grid { grid-template-columns: 1fr; }
	.feature { flex-direction: column; gap: 1rem; }
}

/* ─── Stats band ──────────────────────────────────────────────────────── */
.stats {
	background: linear-gradient(120deg, var(--navy-deep), var(--navy) 70%, #26518f);
	color: #fff;
}

.stats-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	padding-block: clamp(3rem, 6vw, 4.5rem);
	text-align: center;
}

.stat { display: grid; gap: 0.4rem; justify-items: center; }

.stat-value {
	font-family: var(--font-head);
	font-size: clamp(2.4rem, 4.5vw, 3.4rem);
	font-weight: 800;
	line-height: 1;
	color: var(--green);
}

.stat-label {
	max-width: 18em;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 48em) {
	.stats-row { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ─── Testimonials ────────────────────────────────────────────────────── */
.quote-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.quote-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 2rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.stars {
	display: flex;
	gap: 0.2rem;
	margin-bottom: 1rem;
	color: var(--green-dark);
}
.stars .icon {
	width: 1.05rem; height: 1.05rem;
	fill: var(--green);
	stroke: none;
}

.quote-card blockquote {
	flex: 1;
	margin: 0 0 1.4rem;
	font-size: 0.99rem;
	color: var(--text);
}

.quote-card figcaption {
	display: grid;
	gap: 0.1rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--border);
	font-size: 0.92rem;
}
.quote-card figcaption strong { color: var(--ink); font-size: 1rem; }
.quote-card figcaption span { color: var(--text-soft); }

@media (max-width: 62em) {
	.quote-grid { grid-template-columns: 1fr; max-width: 36rem; margin-inline: auto; }
}

/* ─── CTA panel ───────────────────────────────────────────────────────── */
.cta-panel {
	padding: clamp(2.5rem, 6vw, 4.5rem);
	background:
		radial-gradient(40rem 20rem at 100% 0%, rgba(106, 191, 46, 0.16), transparent 55%),
		var(--green-tint);
	border: 1px solid rgba(106, 191, 46, 0.35);
	border-radius: var(--radius-lg);
	text-align: center;
}
.cta-panel p {
	max-width: 42em;
	margin: 0 auto 2rem;
	color: var(--text);
	font-size: 1.08rem;
}
.cta-panel .btn-group { justify-content: center; }

/* ─── Contact ─────────────────────────────────────────────────────────── */
.contact {
	background:
		radial-gradient(50rem 30rem at 0% 0%, rgba(106, 191, 46, 0.10), transparent 55%),
		linear-gradient(160deg, var(--navy-deep), var(--navy-dark));
	color: rgba(255, 255, 255, 0.85);
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2.5rem, 5vw, 5rem);
	align-items: start;
}

.contact h2 { color: #fff; }
.contact-intro > p { font-size: 1.1rem; margin-bottom: 2.5rem; }

.contact-list {
	display: grid;
	gap: 1.5rem;
	list-style: none;
}
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list strong {
	display: block;
	font-family: var(--font-head);
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 0.15rem;
}
.contact-list a { display: inline-block; padding: 0.35em 0; color: #fff; }
.contact-list a:hover { color: var(--green); }

.contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 2.75rem; height: 2.75rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--radius-sm);
	color: var(--green);
}

.contact-form-panel {
	padding: clamp(1.75rem, 4vw, 2.75rem);
	background: var(--surface);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	color: var(--text);
}

@media (max-width: 56em) {
	.contact-grid { grid-template-columns: 1fr; }
}

/* ─── Form ────────────────────────────────────────────────────────────── */
.field-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}
@media (max-width: 36em) {
	.field-row { grid-template-columns: 1fr; }
}

.field { margin-bottom: 1.1rem; }

.field label {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--font-head);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--navy);
}
.req { color: var(--green-deep); }

.field input,
.field textarea {
	width: 100%;
	padding: 0.75em 0.9em;
	background: var(--surface-alt);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 7rem; }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-soft); opacity: 0.9; }

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--green-dark);
	box-shadow: 0 0 0 3px rgba(106, 191, 46, 0.25);
	background: #fff;
}

.field input.is-invalid,
.field textarea.is-invalid { border-color: #c23a3a; }

.form-privacy {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	margin-top: 1.1rem;
	font-size: 0.85rem;
	color: var(--text-soft);
}
.form-privacy .icon { margin-top: 0.2em; color: var(--green-dark); }

.form-message {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	padding: 1.5rem;
	border-radius: var(--radius);
	font-size: 0.98rem;
}
.form-message .icon { width: 1.6rem; height: 1.6rem; margin-top: 0.1em; flex: none; }

.form-success {
	background: var(--green-tint);
	border: 1px solid rgba(106, 191, 46, 0.5);
	color: var(--text);
}
.form-success .icon { color: var(--green-dark); }
.form-success strong { color: var(--green-deep); }
.form-success a { color: var(--green-deep); }

.form-error {
	background: #fdf1f1;
	border: 1px solid #e5b4b4;
	color: #8f2b2b;
}
.form-error a { color: #8f2b2b; font-weight: 600; }

/* ─── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
	background: var(--navy-deep);
	color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.75rem;
	padding-block: 2.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}
.footer-brand img { width: 2.6rem; height: 2.6rem; border-radius: 9px; }
.footer-brand p {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.05rem;
	line-height: 1.35;
	color: #fff;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	list-style: none;
}
.footer-nav a {
	display: inline-block;
	padding: 0.6em 0;
	font-family: var(--font-head);
	font-size: 0.92rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}
.footer-nav a:hover { color: var(--green); }

.footer-legal {
	padding-block: 1.4rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.62);
}
.footer-legal p { margin: 0; }

/* ─── Back to top ─────────────────────────────────────────────────────── */
#back-to-top {
	position: fixed;
	right: 1.4rem; bottom: 1.4rem;
	z-index: 40;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem; height: 3rem;
	background: var(--navy);
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.75rem);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s,
	            background-color 0.18s ease;
}
#back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
#back-to-top:hover { background: var(--green-dark); }

/* ─── Scroll-reveal (opt-in via JS; no-JS users see everything) ───────── */
.reveal {
	opacity: 0;
	transform: translateY(1.1rem);
	transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-shown { opacity: 1; transform: none; }
