/* ═══════════════════════════════════════════════════════════════════════
   FORM SUCCESS PAGE
   Confirmation after form submission. Uses shared header.css tokens.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
	--fs-teal:   #14383f;
	--fs-teal-l: #1b4d5c;
	--fs-dark:   #1f1f1f;
	--fs-body:   #5f6368;
	--fs-border: #e8eaed;
	--fs-white:  #ffffff;
	--fs-accent: #ff4a34;
	--fs-bg:     #fafbfc;
	--fs-success: #22c55e;
}

main.fs {
	background: var(--fs-white);
}


/* ══════════════════════════════════════════════════════════════════════
   HERO — success indicator + message
   ══════════════════════════════════════════════════════════════════════ */
.fs-hero {
	background: linear-gradient(160deg, var(--fs-teal) 0%, var(--fs-teal-l) 100%);
	padding: 100px var(--h-pad, 20px) 80px;
}
@media (min-width: 768px) {
	.fs-hero {
		padding: 120px var(--h-pad, 40px) 100px;
	}
}

.fs-hero__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

/* ── Animated checkmark ────────────────────────────────────────────── */
.fs-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	margin-bottom: 32px;
}
@media (min-width: 768px) {
	.fs-check {
		width: 100px;
		height: 100px;
		margin-bottom: 40px;
	}
}

.fs-check__svg {
	width: 100%;
	height: 100%;
}

.fs-check__circle {
	fill: none;
	stroke: rgba(255, 255, 255, 0.3);
	stroke-dasharray: 214;
	stroke-dashoffset: 214;
	animation: fs-circle 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}

.fs-check__tick {
	fill: none;
	stroke: var(--fs-success);
	stroke-dasharray: 60;
	stroke-dashoffset: 60;
	animation: fs-tick 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.8s forwards;
}

@keyframes fs-circle {
	to { stroke-dashoffset: 0; stroke: rgba(255, 255, 255, 0.5); }
}
@keyframes fs-tick {
	to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.fs-check__circle,
	.fs-check__tick {
		stroke-dashoffset: 0;
		animation: none;
	}
	.fs-check__circle {
		stroke: rgba(255, 255, 255, 0.5);
	}
	.fs-check__tick {
		stroke: var(--fs-success);
	}
}

.fs-hero__title {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 32px;
	font-weight: 500;
	line-height: 1.15;
	color: var(--fs-white);
	margin: 0 0 16px;
}
@media (min-width: 768px) {
	.fs-hero__title {
		font-size: 44px;
	}
}
@media (min-width: 1200px) {
	.fs-hero__title {
		font-size: 52px;
	}
}

.fs-hero__subtitle {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}
@media (min-width: 768px) {
	.fs-hero__subtitle {
		font-size: 18px;
	}
}


/* ══════════════════════════════════════════════════════════════════════
   NEXT STEPS — timeline
   ══════════════════════════════════════════════════════════════════════ */
.fs-steps {
	padding: 64px var(--h-pad, 20px) 72px;
	background: var(--fs-white);
}
@media (min-width: 768px) {
	.fs-steps {
		padding: 80px var(--h-pad, 40px) 96px;
	}
}

.fs-steps__inner {
	max-width: 800px;
	margin: 0 auto;
}

.fs-steps__heading {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--fs-dark);
	margin: 0 0 40px;
	text-align: center;
}
@media (min-width: 768px) {
	.fs-steps__heading {
		font-size: 36px;
		margin-bottom: 56px;
	}
}

/* ── Timeline ──────────────────────────────────────────────────────── */
.fs-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

/* Vertical connecting line */
.fs-timeline::before {
	content: '';
	position: absolute;
	top: 28px;
	bottom: 28px;
	left: 23px;
	width: 1px;
	background: var(--fs-border);
}
@media (min-width: 768px) {
	.fs-timeline::before {
		left: 27px;
	}
}

.fs-timeline__item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding-bottom: 36px;
	position: relative;
}
.fs-timeline__item:last-child {
	padding-bottom: 0;
}
@media (min-width: 768px) {
	.fs-timeline__item {
		gap: 28px;
		padding-bottom: 44px;
	}
}

.fs-timeline__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: 50%;
	background: var(--fs-teal);
	color: var(--fs-white);
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	position: relative;
	z-index: 1;
}
@media (min-width: 768px) {
	.fs-timeline__number {
		width: 56px;
		height: 56px;
		min-width: 56px;
		font-size: 20px;
	}
}

.fs-timeline__content {
	padding-top: 4px;
}
@media (min-width: 768px) {
	.fs-timeline__content {
		padding-top: 8px;
	}
}

.fs-timeline__title {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 18px;
	font-weight: 600;
	color: var(--fs-dark);
	margin: 0 0 6px;
	line-height: 1.3;
}
@media (min-width: 768px) {
	.fs-timeline__title {
		font-size: 20px;
	}
}

.fs-timeline__desc {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--fs-body);
	margin: 0;
}
@media (min-width: 768px) {
	.fs-timeline__desc {
		font-size: 16px;
	}
}


/* ══════════════════════════════════════════════════════════════════════
   CONTACT INFO — card grid
   ══════════════════════════════════════════════════════════════════════ */
.fs-contact {
	padding: 64px var(--h-pad, 20px) 72px;
	background: var(--fs-bg);
}
@media (min-width: 768px) {
	.fs-contact {
		padding: 80px var(--h-pad, 40px) 96px;
	}
}

.fs-contact__inner {
	max-width: var(--h-max, 1440px);
	margin: 0 auto;
	text-align: center;
}

.fs-contact__heading {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 28px;
	font-weight: 500;
	color: var(--fs-dark);
	margin: 0 0 8px;
	line-height: 1.2;
}
@media (min-width: 768px) {
	.fs-contact__heading {
		font-size: 36px;
	}
}

.fs-contact__sub {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 16px;
	font-weight: 400;
	color: var(--fs-body);
	margin: 0 0 40px;
	line-height: 1.5;
}
@media (min-width: 768px) {
	.fs-contact__sub {
		font-size: 18px;
		margin-bottom: 56px;
	}
}

.fs-contact__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	max-width: 1000px;
	margin: 0 auto;
}
@media (min-width: 600px) {
	.fs-contact__grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (min-width: 1000px) {
	.fs-contact__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 24px;
	}
}

.fs-contact__card {
	background: var(--fs-white);
	border: 1px solid var(--fs-border);
	border-radius: 10px;
	padding: 28px 24px;
	text-align: center;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.fs-contact__card:hover {
	border-color: var(--fs-teal);
	box-shadow: 0 4px 16px rgba(20, 56, 63, 0.08);
}

.fs-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(20, 56, 63, 0.06);
	color: var(--fs-teal);
	margin-bottom: 16px;
}

.fs-contact__card-title {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 14px;
	font-weight: 500;
	color: var(--fs-body);
	margin: 0 0 6px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.fs-contact__card-value {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 18px;
	font-weight: 600;
	color: var(--fs-teal);
	text-decoration: none;
	transition: color 0.2s ease;
}
.fs-contact__card-value:hover {
	color: var(--fs-teal-l);
	text-decoration: underline;
}

.fs-contact__card-addr {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 15px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.5;
	color: var(--fs-dark);
	margin: 0;
}
.fs-contact__card-addr a {
	color: var(--fs-teal);
	text-decoration: none;
	font-weight: 500;
}
.fs-contact__card-addr a:hover {
	text-decoration: underline;
}


/* ══════════════════════════════════════════════════════════════════════
   CTA — return buttons
   ══════════════════════════════════════════════════════════════════════ */
.fs-cta {
	padding: 48px var(--h-pad, 20px) 80px;
	background: var(--fs-bg);
}
@media (min-width: 768px) {
	.fs-cta {
		padding: 32px var(--h-pad, 40px) 96px;
	}
}

.fs-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
@media (min-width: 600px) {
	.fs-cta__inner {
		flex-direction: row;
		justify-content: center;
		gap: 20px;
	}
}

.fs-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	padding: 14px 28px;
	border-radius: 50px;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.fs-cta__btn--primary {
	background: var(--fs-teal);
	color: var(--fs-white);
}
.fs-cta__btn--primary:hover {
	background: var(--fs-teal-l);
	box-shadow: 0 4px 16px rgba(20, 56, 63, 0.25);
	transform: translateY(-1px);
}
.fs-cta__btn--primary svg {
	flex-shrink: 0;
	transition: transform 0.25s ease;
}
.fs-cta__btn--primary:hover svg {
	transform: translateX(-3px);
}

.fs-cta__btn--ghost {
	background: transparent;
	color: var(--fs-dark);
	border: 1.5px solid var(--fs-border);
}
.fs-cta__btn--ghost:hover {
	border-color: var(--fs-teal);
	color: var(--fs-teal);
}
