/* ===================== About + Contact pages =====================
   Page hero, story layout, fact panel, contact cards. Reuses the global
   section kit (overrides.css) and the feature/steps kit (service.css,
   enqueued alongside this file for these pages). */

/* ---- Page hero ---- */
.sm-page-hero {
	position: relative;
	background: var(--sm-navy);
	color: var(--sm-white);
	padding: clamp(3.5rem, 8vw, 6.5rem) 0;
	overflow: hidden;
}
.sm-page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.sm-page-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.2;
}
.sm-page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, var(--sm-navy) 30%, rgba(26, 58, 107, 0.55));
	z-index: 1;
}
.sm-page-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
}
.sm-page-hero .sm-eyebrow {
	color: var(--sm-green);
}
.sm-page-hero__title {
	font-family: var(--sm-font-display);
	font-weight: 800;
	font-size: clamp(2rem, 4.6vw, 3.35rem);
	line-height: 1.08;
	margin: 0.6rem 0 1rem;
	color: var(--sm-white); /* override the global h1 navy colour */
}
.sm-page-hero__title span {
	color: var(--sm-green);
}
.sm-page-hero__sub {
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
	margin: 0;
}

/* ---- Section tint modifier ---- */
.sm-section--tint {
	background: var(--sm-lightgrey);
}

/* ---- Feature grid + steps (unscoped — service.css scopes these to
   .sm-service-body__content, so About/Contact need their own copy) ---- */
.sm-page .sm-feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
	gap: var(--sm-space-5);
	margin-top: var(--sm-space-8);
}
.sm-page .sm-feature {
	background: var(--sm-lightgrey);
	border: 1px solid var(--sm-border);
	border-radius: var(--sm-radius-md);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.sm-section--tint .sm-feature {
	background: var(--sm-white);
}
.sm-page .sm-feature h3 {
	margin: 0;
	font-family: var(--sm-font-display);
	font-weight: 700;
	font-size: 1.0625rem;
	color: var(--sm-navy);
}
.sm-page .sm-feature p {
	margin: 0.45rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--sm-muted);
}
.sm-page .sm-steps {
	counter-reset: smstep;
	list-style: none;
	padding-left: 0;
	margin: var(--sm-space-8) auto 0;
	max-width: 760px;
}
.sm-page .sm-steps li {
	position: relative;
	padding-left: 3.25rem;
	margin-bottom: var(--sm-space-5);
	color: var(--sm-muted);
	line-height: 1.65;
}
.sm-page .sm-steps li:last-child {
	margin-bottom: 0;
}
.sm-page .sm-steps li strong {
	color: var(--sm-navy);
}
.sm-page .sm-steps li::before {
	counter-increment: smstep;
	content: counter(smstep);
	position: absolute;
	left: 0;
	top: -2px;
	width: 2.25rem;
	height: 2.25rem;
	background: var(--sm-green);
	color: #fff;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--sm-font-display);
	font-weight: 700;
	font-size: 0.95rem;
}

/* ---- About: story (two-column narrative + fact panel) ---- */
.sm-about-story__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.sm-about-story__body > * + * {
	margin-top: 1.1rem;
}
.sm-about-story__body h2 {
	font-family: var(--sm-font-display);
	font-weight: 800;
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	line-height: 1.15;
	color: var(--sm-navy);
	margin: 0;
}
.sm-about-story__body p {
	color: var(--sm-muted);
	line-height: 1.7;
}

/* ---- Fact panel ---- */
.sm-fact-panel {
	background: var(--sm-navy);
	color: var(--sm-white);
	border-radius: var(--sm-radius-xl);
	padding: clamp(1.75rem, 3.5vw, 2.75rem);
	box-shadow: var(--sm-shadow-lg);
}
.sm-fact-panel--green {
	background: var(--sm-green);
}
.sm-fact-panel__row {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.sm-fact-panel__row:first-child {
	padding-top: 0;
}
.sm-fact-panel__row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}
.sm-fact-panel__num {
	font-family: var(--sm-font-display);
	font-weight: 800;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1;
}
.sm-fact-panel__label {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.8);
}

/* ---- Contact: layout + cards ---- */
.sm-contact-layout {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
.sm-contact-aside > * + * {
	margin-top: var(--sm-space-5);
}
.sm-contact-card {
	background: var(--sm-white);
	border: 1px solid var(--sm-border);
	border-radius: var(--sm-radius-lg);
	padding: clamp(1.5rem, 3vw, 2.1rem);
	box-shadow: var(--sm-shadow-sm);
}
.sm-contact-card__label {
	display: inline-block;
	font-family: var(--sm-font-display);
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sm-green-dark);
	margin-bottom: 0.6rem;
}
.sm-contact-card h3 {
	font-family: var(--sm-font-display);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--sm-navy);
	margin: 0 0 0.5rem;
}
.sm-contact-card address {
	font-style: normal;
	color: var(--sm-muted);
	line-height: 1.65;
}
.sm-contact-detail {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.55rem 0;
	color: var(--sm-navy);
	font-weight: 600;
	font-family: var(--sm-font-display);
}
.sm-contact-detail svg {
	flex-shrink: 0;
	color: var(--sm-green);
}
.sm-contact-detail a {
	color: var(--sm-navy);
}
.sm-contact-detail a:hover {
	color: var(--sm-green-dark);
}
.sm-contact-detail span {
	font-family: var(--sm-font-body);
	font-weight: 400;
	color: var(--sm-muted);
}
.sm-contact-form-wrap {
	background: var(--sm-white);
	border: 1px solid var(--sm-border);
	border-radius: var(--sm-radius-lg);
	padding: clamp(1.5rem, 3.5vw, 2.5rem);
	box-shadow: var(--sm-shadow-md);
}
.sm-contact-form-wrap h2 {
	font-family: var(--sm-font-display);
	font-weight: 800;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	color: var(--sm-navy);
	margin: 0 0 0.4rem;
}
.sm-contact-form-wrap > p {
	color: var(--sm-muted);
	margin: 0 0 1.4rem;
	line-height: 1.6;
}

/* ---- Legal pages (privacy, terms, cookie, service, insurance, customs, storage) ---- */
.sm-legal {
	max-width: 820px;
	margin-inline: auto;
}
.sm-legal__updated {
	font-size: 0.9rem;
	color: var(--sm-muted);
	margin: 0 0 var(--sm-space-6);
	padding-bottom: var(--sm-space-5);
	border-bottom: 1px solid var(--sm-border);
}
.sm-legal h2 {
	font-family: var(--sm-font-display);
	font-weight: 800;
	font-size: clamp(1.35rem, 2.4vw, 1.7rem);
	color: var(--sm-navy);
	margin: var(--sm-space-8) 0 0.75rem;
}
.sm-legal h3 {
	font-family: var(--sm-font-display);
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--sm-navy);
	margin: var(--sm-space-5) 0 0.5rem;
}
.sm-legal p,
.sm-legal li {
	color: var(--sm-muted);
	line-height: 1.75;
}
.sm-legal p {
	margin: 0.75rem 0;
}
.sm-legal ul,
.sm-legal ol {
	margin: 0.75rem 0;
	padding-left: 1.4rem;
}
.sm-legal li {
	margin: 0.4rem 0;
}
.sm-legal a {
	color: var(--sm-green-dark);
	text-decoration: underline;
}
.sm-legal > *:first-child {
	margin-top: 0;
}

@media (max-width: 900px) {
	.sm-contact-layout {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 820px) {
	.sm-about-story__grid {
		grid-template-columns: 1fr;
	}
	.sm-about-story__media {
		order: -1;
	}
}

/* ============ Thank-you page ============ */
.sm-thankyou {
	background: var(--sm-bg);
	padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
}
.sm-thankyou__hero-inner {
	max-width: 44rem;
	margin: 0 auto;
	text-align: center;
}
.sm-thankyou__tick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 5rem;
	height: 5rem;
	color: var(--sm-green);
	background: var(--sm-green-tint);
	border-radius: 50%;
	margin-bottom: 1.5rem;
}
.sm-thankyou__title {
	font-size: clamp(1.875rem, 4vw, 2.75rem);
	font-weight: 800;
	color: var(--sm-navy);
	margin: 0.25rem 0 0.75rem;
}
.sm-thankyou__ref {
	margin: 0 0 1.5rem;
	color: var(--sm-muted);
	font-family: var(--sm-font-display);
	font-size: 0.9375rem;
}
.sm-thankyou__ref strong {
	display: inline-block;
	margin-left: 0.4rem;
	padding: 0.2rem 0.7rem;
	background: var(--sm-navy);
	color: var(--sm-white);
	border-radius: var(--sm-radius-pill);
	font-family: var(--sm-font-display);
	font-weight: 700;
	letter-spacing: 0.04em;
}
.sm-thankyou__lead {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--sm-text);
	margin: 0 0 2.5rem;
}
.sm-thankyou__what-next {
	background: var(--sm-white);
	border-radius: var(--sm-radius-lg);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	text-align: left;
	margin: 0 0 2.5rem;
	box-shadow: var(--sm-shadow-sm);
}
.sm-thankyou__what-next h2 {
	font-size: 1.25rem;
	margin: 0 0 1rem;
}
.sm-thankyou__steps {
	list-style: none;
	counter-reset: tystep;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1rem;
}
.sm-thankyou__steps li {
	counter-increment: tystep;
	display: grid;
	grid-template-columns: 2.25rem 1fr;
	gap: 0.85rem;
	align-items: start;
}
.sm-thankyou__steps li::before {
	content: counter(tystep);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--sm-green);
	color: var(--sm-navy);
	font-family: var(--sm-font-display);
	font-weight: 700;
}
/* Both text children share grid column 2 — without this the <span>
   auto-places into row 2 / column 1 (2.25rem wide) and the description
   wraps letter-by-letter. */
.sm-thankyou__steps strong,
.sm-thankyou__steps span {
	grid-column: 2;
}
.sm-thankyou__steps strong {
	display: block;
	color: var(--sm-navy);
	font-family: var(--sm-font-display);
	font-weight: 700;
	margin-bottom: 0.2rem;
}
.sm-thankyou__steps span {
	color: var(--sm-text);
	font-size: 0.9375rem;
	line-height: 1.55;
}
.sm-thankyou__actions {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 0 1.5rem;
}
.sm-thankyou__contact {
	color: var(--sm-muted);
	font-size: 0.9375rem;
	margin: 0;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}
