/* AstraForm main stylesheet. Loads after Bootstrap and re-asserts the design's base rules.
   Desktop (1200px+) is the base; only the five approved max-width queries are used. */

:root {
	--color-navy: #0b1628;
	--color-blue: #0877d8;
	--color-text: var(--color-slate); /* Same navy-slate as the slate sections. */
	--color-bg: #f4f6f8;
	--color-slate: #173554;
	--color-sky: #258bff;
	--color-sky-light: #69b4ff;
	--color-muted: #526579;
	--color-footer: #081321;
	--color-tint: #e8eff6; /* light blue-grey section/table/callout background */
	--color-border: #dce4ed; /* hairlines on light backgrounds */
	--color-panel-dark: #142941; /* panels on navy sections */
	--color-panel-dark-border: #29435d;
	--color-silver: #a7b1bd; /* footer text, numbered-step divider */
	--color-mist: #d0dce8; /* text on the slate checklist section */
	--font-size-page-heading: clamp(43px, 5vw, 72px); /* inner-page hero h1 and page-title band */
	--wrap-max: 1320px;
	--wrap-pad: 5%;
	--eyebrow-gap: 14px;

	/* Contrast-safe (WCAG 2.1 AA) text colours per background; containers set --color-eyebrow / --color-focus. */
	--color-eyebrow-on-light: var(--color-sky); /* design colour #258bff, as in the original pages (3.12:1 on #f4f6f8, below AA 4.5:1; AA-safe alternative #0868c9) */
	--color-eyebrow-on-navy: var(--color-sky); /* #258bff on #0b1628: 5.36:1 */
	--color-eyebrow-on-slate: var(--color-sky); /* design colour #258bff (was #69b4ff, 5.72:1 on #173554) */
	--color-focus: var(--color-blue); /* >= 3.9:1 on light backgrounds */
	--color-focus-on-dark: var(--color-sky-light); /* >= 5.7:1 on navy/slate */
	/* Hero photo overlay, darkened from the source so text over the photo passes at every width. */
	--hero-overlay: linear-gradient(90deg, var(--color-navy) 5%, rgba(11, 22, 40, .94) 50%, rgba(11, 22, 40, .25) 90%);
	--hero-overlay-stacked: linear-gradient(90deg, rgba(11, 22, 40, .96) 0%, rgba(11, 22, 40, .86) 100%);
	--hero-overlay-page: linear-gradient(90deg, var(--color-navy) 5%, rgba(11, 22, 40, .94) 60%, rgba(11, 22, 40, .45) 100%);
}

/* ---------- Base (re-asserts source over Bootstrap reboot) ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Smooth anchor scrolling comes from Bootstrap's reboot, only under prefers-reduced-motion: no-preference (§19). */

body {
	margin: 0;
	font: 16px/1.65 Arial, Helvetica, sans-serif;
	color: var(--color-text);
	background: var(--color-bg);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: bold;
}

h1 {
	font-size: clamp(42px, 5.2vw, 82px);
	line-height: 1.04;
	letter-spacing: -.045em;
}

h2 {
	font-size: clamp(30px, 3vw, 48px);
	line-height: 1.12;
	letter-spacing: -.035em;
}

h3 {
	font-size: 23px;
	line-height: 1.2;
}

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 2px;
}

img {
	max-width: 100%;
	height: auto;
}

/* Container: Bootstrap .container with the design's max-width and % gutters */
.wrap {
	width: 100%;
	max-width: var(--wrap-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--wrap-pad);
	padding-right: var(--wrap-pad);
}

/* Skip link (Bootstrap .visually-hidden-focusable hides it until focused) */
.skip-link:focus {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 10px 16px;
	background: #fff;
	color: var(--color-navy);
	font-weight: bold;
}

/* ---------- Buttons ---------- */
.af-btn {
	display: inline-block;
	background: var(--color-blue);
	color: #fff;
	padding: 13px 23px;
	font-size: 13px;
	font-weight: bold;
	border: 0;
}

.af-btn:hover {
	color: #fff;
}

.af-btn--outline {
	border: 1px solid #8799ad;
	background: transparent;
}

/* ---------- Header ---------- */
.site-header {
	background: #fff;
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0;
	flex-wrap: wrap;
}

.site-nav__logo {
	display: block;
}

.site-nav img {
	display: block;
	width: 100%;
	max-width: 200px;
	height: auto;
}

.site-nav .links {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.site-nav .links a:hover,
.site-nav .links a.nav-active {
	color: var(--color-blue);
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--color-footer);
	color: var(--color-silver);
	padding: 72px 0 32px;
	font-size: 15px;
	line-height: 1.6;
}

.site-footer__main {
	row-gap: 48px;
}

/* Three link columns + Contact sit side by side, each as wide as its content with an even gap
   between them (two by two below 1200px). */
.site-footer__nav {
	--bs-gutter-x: 36px;
	row-gap: 44px;
}

@media all and (max-width: 767px) {
	.site-footer__nav {
		--bs-gutter-x: 24px;
	}
}

.site-footer__logo {
	display: block;
}

.site-footer__logo img {
	display: block;
	width: 100%;
	max-width: 200px;
	height: auto;
}

.site-footer__tagline {
	margin: 28px 0 0;
	max-width: 260px;
	overflow-wrap: anywhere;
}

.site-footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-top: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}

.site-footer__social:hover {
	background: rgba(255, 255, 255, .2);
}

.site-footer__heading {
	margin: 0 0 24px;
	font-size: 13px;
	line-height: 1.3;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
}

.site-footer__links,
.site-footer__legal {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links li {
	margin-bottom: 16px;
	overflow-wrap: anywhere;
}

.site-footer a {
	color: var(--color-silver);
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
}

.site-footer__address {
	color: var(--color-silver);
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-top: 64px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 13px;
}

.site-footer__copyright {
	color: #8f9cae; /* muted, 6.6:1 on the footer navy */
}

.site-footer__brand-name {
	color: var(--color-sky); /* company name in the accent blue, 5.6:1 on the footer navy */
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
}

/* Generic fallback content (index.php / page.php editor content, 404, search) */
.content-fallback {
	padding-top: 50px;
	padding-bottom: 50px;
	overflow-wrap: anywhere; /* long pasted URLs or search terms never widen the page */
}

/* Page-title banner: the page's <h1> on plain pages, and on section pages whose hero is hidden. */
.page-title {
	padding: 80px 0;
	background: var(--color-navy);
	color: #fff;
}

.page-title__heading {
	max-width: 850px;
	font-size: var(--font-size-page-heading);
}

/* =====================================================================
   Page sections (one ACF tab + group per section; templates in template-parts/sections)
   Column layouts use Bootstrap .row/.col-* in the templates. Each component
   only sets the Bootstrap gutter variables to the design's exact spacing
   (Bootstrap's g-* scale has no 18/20/25/55px steps).
   ===================================================================== */

/* ---------- Shared section parts ---------- */
.af-section {
	padding: 80px 0;
}

.af-section--dark {
	background: var(--color-navy);
	color: #fff;
}

.eyebrow {
	font-size: 12px;
	font-weight: bold;
	letter-spacing: .18em;
	color: var(--color-eyebrow, var(--color-eyebrow-on-light));
	text-transform: uppercase;
}

/* Dark backgrounds: lighter eyebrow and focus ring so both keep AA contrast. */
.hero,
.af-section--dark,
.checklist,
.feature-strip,
.site-footer {
	--color-focus: var(--color-focus-on-dark);
}

.hero,
.checklist {
	--color-eyebrow: var(--color-eyebrow-on-slate);
}

.af-section--dark {
	--color-eyebrow: var(--color-eyebrow-on-navy);
}

/* One eyebrow -> heading gap for every section. Containers space their children with
   margins (not flex/grid gap) so nothing adds to it; with no eyebrow there is no gap. */
.eyebrow + h1,
.eyebrow + h2 {
	margin-top: var(--eyebrow-gap);
}

.section-heading {
	margin-bottom: 35px;
}

.section-heading .lead-text {
	margin-top: 34px; /* source: 14px row gap + 20px paragraph margin */
}

/* Inner-page heading block (panels, table): narrower, intro text closer to the heading. */
.section-heading--narrow {
	max-width: 820px;
	margin-bottom: 36px;
}

.section-heading--narrow .lead-text {
	max-width: none;
	margin-top: 17px;
}

.lead-text,
.split__text {
	margin-top: 20px;
	color: var(--color-muted);
	max-width: 720px;
}

.af-section--dark .lead-text {
	color: #b5c6d8;
}

/* Two-column "intro + content" row used by Intro with Feature Boxes and Text with Checklist */
.split {
	--bs-gutter-x: 55px;
	--bs-gutter-y: 55px;
}

h1,
h2,
h3,
.eyebrow,
.af-btn,
.hero__text,
.split__text,
.lead-text,
.panel-grid__text,
.image-card__label,
.image-card__tag,
.image-card__text,
.image-card__tags,
.callout__text,
.cta__note,
.spec-table__note,
.cta__text {
	/* "anywhere" wraps like break-word but also lowers min-content width, so an
	   over-long word can't push shrink-to-fit boxes (hero flex column, table cells) wider. */
	overflow-wrap: anywhere;
}

/* ---------- Hero Banner ---------- */
.hero {
	position: relative; /* positioning context for the background photo + overlay */
	background: var(--color-navy);
	color: #fff;
}

/* Photo fills the banner behind the text (image overlay = permitted absolute positioning). */
.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center right;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--hero-overlay);
}

.hero__inner {
	position: relative;
	z-index: 2;
	min-height: 620px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

/* Photo-only banner (no text filled in) keeps the banner height without an empty wrapper. */
.hero--image-only {
	min-height: 620px;
}

/* 24px between hero items; the eyebrow -> h1 gap comes from the shared --eyebrow-gap rule. */
.hero__inner > * + * {
	margin-top: 24px;
}

.hero__highlight {
	color: var(--color-sky-light);
}

.hero__text {
	max-width: 550px;
	color: #c5d2e0;
	font-size: 19px;
}

.hero__buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* Inner-page banner (variant 'page'): height from padding, smaller heading. */
.hero--page .hero__image {
	object-position: center;
}

/* The page heading runs further right (850px), so the overlay stays darker for longer. */
.hero--page::before {
	background: var(--hero-overlay-page);
}

.hero--page .hero__inner {
	min-height: 0;
	padding-top: 115px;
	padding-bottom: 110px;
}

.hero--page.hero--image-only {
	min-height: 320px;
}

.hero--page .hero__heading {
	max-width: 850px;
	font-size: var(--font-size-page-heading);
}

.hero--page .hero__text {
	max-width: 660px;
	margin-top: 22px;
}

/* ---------- Numbered Highlights Strip ---------- */
.feature-strip {
	padding: 22px 0;
	background: var(--color-slate);
	color: #fff;
}

.feature-strip__list {
	--bs-gutter-x: 20px;
	--bs-gutter-y: 20px;
	font-size: 13px;
	font-weight: bold;
}

.feature-strip__item {
	overflow-wrap: break-word;
}

.feature-strip__number {
	margin-right: 12px;
	color: var(--color-sky-light);
}

/* ---------- Intro with Feature Boxes ---------- */
.intro-features__grid {
	--bs-gutter-x: 18px;
	--bs-gutter-y: 18px;
}

.intro-features__item {
	padding: 25px;
	background: #fff;
	border-top: 3px solid var(--color-sky);
}

.intro-features__text {
	margin-top: 8px;
	font-size: 14px;
	color: var(--color-muted);
}

/* ---------- Photo Cards ---------- */
.image-cards__grid {
	--bs-gutter-x: 20px;
	--bs-gutter-y: 20px;
}

.image-card {
	background: var(--color-panel-dark);
	border: 1px solid var(--color-panel-dark-border);
	color: #fff;
}

.image-card__photo {
	position: relative; /* context for the photo + gradient layers */
	display: flex;
	align-items: flex-end;
	min-height: 220px;
	padding: 20px;
	background-color: var(--color-slate);
}

.image-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.image-card__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, var(--color-navy) 0%, transparent 75%);
}

.image-card__label {
	position: relative;
	z-index: 1;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: .15em;
	color: #fff;
}

.image-card__body {
	min-height: 230px;
	padding: 25px;
}

.image-card__text {
	margin: 14px 0;
	font-size: 15px;
	color: #c0cfde;
}

.image-card__tags {
	font-size: 13px;
	color: #79bbff;
}

/* Inner-page cards (variant 'page'): two per row, a taller photo band with no label or
   gradient on it, the label above the title, and white cards on a light section. */
.image-cards--page .image-cards__grid {
	--bs-gutter-x: 22px;
	--bs-gutter-y: 22px;
}

.image-cards--page .image-card__photo {
	min-height: 260px;
	padding: 0;
}

.image-cards--page .image-card__photo::after {
	content: none;
}

/* No photo chosen: keep the band as a plain decorative block so cards in a row stay aligned. */
.image-cards--page .image-card--no-photo::before {
	content: "";
	display: block;
	min-height: 260px;
	background-color: var(--color-slate);
}

.image-cards--page .image-card__body {
	min-height: 0;
	padding: 28px;
}

.image-card__tag {
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--color-sky-light);
}

.image-cards--page .image-card__text {
	margin: 12px 0 0;
	font-size: 16px;
}

.image-cards--page:not(.af-section--dark) .image-card {
	background: #fff;
	border-color: var(--color-border);
	color: var(--color-text);
}

.image-cards--page:not(.af-section--dark) .image-card__tag {
	color: var(--color-blue); /* 4.53:1 on white */
}

.image-cards--page:not(.af-section--dark) .image-card__text {
	color: var(--color-muted); /* 5.9:1 on white */
}

/* Examples line: its own row under the text (the homepage keeps it inline). */
.image-cards--page .image-card__tags {
	display: block;
	margin-top: 12px;
}

.image-cards--page:not(.af-section--dark) .image-card__tags {
	color: var(--color-blue); /* 4.53:1 on white (homepage #79bbff would be 2.0:1) */
}

/* ---------- Numbered Steps ---------- */
.process-steps__list {
	--bs-gutter-x: 25px;
	--bs-gutter-y: 25px;
	/* 30px below the heading; Bootstrap's row pulls up by one vertical gutter. */
	margin-top: calc(30px - var(--bs-gutter-y));
}

.process-steps__item {
	padding-top: 24px;
	border-top: 1px solid var(--color-silver);
}

.process-steps__number {
	font-size: 35px;
	font-weight: bold;
	color: var(--color-sky);
}

.process-steps__text {
	margin-top: 10px;
	color: var(--color-muted);
}

/* ---------- Text with Checklist ---------- */
.checklist {
	background: var(--color-slate);
	color: #fff;
}

.checklist .split__text {
	color: var(--color-mist);
}

.checklist__list {
	margin: 1em 0;
	padding-left: 18px;
	columns: 2;
	column-gap: 30px;
	color: var(--color-mist);
}

/* ---------- Call to Action ---------- */
.cta {
	text-align: center;
	background: var(--color-tint);
}

.cta__text,
.cta__note {
	max-width: 650px;
	margin: 16px auto 24px;
}

.cta__note {
	font-size: 13px;
	color: var(--color-muted); /* 5.1:1 on #e8eff6 (source #718295: 3.5) */
}

.cta--page .af-btn {
	margin-top: 18px;
}

/* ---------- Numbered Info Panels ---------- */
.panel-grid__list {
	--bs-gutter-x: 20px;
	--bs-gutter-y: 20px;
}

.panel-grid__panel {
	padding: 30px;
	background: #fff;
	border: 1px solid var(--color-border);
	border-top: 3px solid var(--color-sky);
}

.panel-grid__number {
	margin-bottom: 18px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: .14em;
	color: var(--color-blue); /* 4.53:1 on white */
}

.panel-grid__title {
	font-size: 21px;
}

.panel-grid__text {
	margin-top: 12px;
	font-size: 15px;
	color: var(--color-muted);
}

.af-section--dark .panel-grid__panel {
	background: var(--color-panel-dark);
	border-color: var(--color-panel-dark-border);
}

.af-section--dark .panel-grid__number {
	color: var(--color-sky-light); /* source #0877d8 is 3.2:1 on #142941 */
}

.af-section--dark .panel-grid__text {
	color: #bdccda;
}

/* Step-by-step timeline (variant 'timeline'): two per row (col-md-6), wider gap,
   "STEP 01" labels; min-height (not height) so long text still grows the panel. */
.panel-grid--timeline .panel-grid__list {
	--bs-gutter-x: 24px;
	--bs-gutter-y: 24px;
}

.panel-grid--timeline .panel-grid__panel {
	min-height: 220px;
}

.panel-grid--timeline .panel-grid__number {
	text-transform: uppercase;
}

/* ---------- Comparison Table ---------- */
.spec-table__table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.spec-table__table th,
.spec-table__table td {
	padding: 17px 20px;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
	vertical-align: top;
	/* "anywhere" (not break-word) also lowers the cell's min-content width, so an
	   auto-width table can shrink a column holding a long word instead of overflowing.
	   The 7em floor (border-box) stops a short column (e.g. "Parylene") being squeezed
	   until ordinary words break; 3 x 7em fits the 432px table at 480px. Below 480px
	   the rows stack instead (see the 479px query). */
	overflow-wrap: anywhere;
	min-width: 7em;
}

.spec-table__table thead th,
.spec-table__table thead td {
	background: var(--color-tint);
	color: var(--color-text);
}

/* Row titles are <th scope="row"> for screen readers but look like the other cells. */
.spec-table__table tbody th,
.spec-table__table td {
	font-weight: normal;
	color: #4f6378;
}

/* Short codes such as "AF-4" stay on one line. */
.spec-table__table .nowrap {
	white-space: nowrap;
}

.spec-table__note {
	margin-top: 16px;
	font-size: 13px;
	color: var(--color-muted); /* 5.5:1 on #f4f6f8 (source #718295: 3.8) */
}

/* ---------- Highlighted Note ---------- */
.callout__box {
	margin-top: 30px;
	padding: 35px;
	background: var(--color-tint);
	border-left: 4px solid var(--color-blue);
}

.callout__title {
	font-size: 23px;
	line-height: 1.2;
	letter-spacing: normal;
}

.callout__text {
	margin-top: 12px;
	color: var(--color-muted);
}

/* =====================================================================
   Responsive (approved queries only; source 800px -> 767px, 520px -> 479px).
   Header/footer need no rules: they wrap via flex-wrap.
   ===================================================================== */
/* Column counts come from the Bootstrap col-* classes in the templates. */
@media all and (max-width: 991px) {
	/* The split stacks below 992px (col-lg-6); drop its wide horizontal gutter so the
	   row's negative margins stay inside the 5% wrap padding down to 320px. */
	.split {
		--bs-gutter-x: 0;
	}

	/* Hero text spans most of the width here, so darken the photo evenly. */
	.hero::before {
		background: var(--hero-overlay-stacked);
	}
}

@media all and (max-width: 767px) {
	.hero--page .hero__inner {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	/* Tighter table cells (as the source does on small screens), so the row labels'
	   longest words (e.g. "Environmental") fit their column at 480-767px without breaking. */
	.spec-table__table th,
	.spec-table__table td {
		padding: 10px 12px;
		font-size: 14px;
	}
}

@media all and (max-width: 479px) {
	.af-section {
		padding: 50px 0;
	}

	/* Comparison table stacks: each row becomes a block, row label on top, then each
	   cell under its column heading (data-label). Three columns can't hold ordinary
	   words at this width. Header row stays available to screen readers only. */
	.spec-table__table,
	.spec-table__table tbody,
	.spec-table__table tr,
	.spec-table__table th,
	.spec-table__table td {
		display: block;
		width: 100%;
	}

	.spec-table__table thead {
		position: absolute; /* standard visually-hidden pattern; not layout */
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.spec-table__table tbody tr {
		padding: 16px 18px;
		border-bottom: 1px solid var(--color-border);
	}

	.spec-table__table tbody th,
	.spec-table__table tbody td {
		min-width: 0;
		padding: 0;
		border: 0;
		font-size: 15px;
	}

	.spec-table__table tbody th {
		font-weight: bold;
		color: var(--color-text);
	}

	.spec-table__table tbody td:empty {
		display: none;
	}

	.spec-table__table tbody > tr > * + * {
		margin-top: 10px;
	}

	.spec-table__table td[data-label]::before {
		content: attr(data-label);
		display: block;
		font-size: 12px;
		font-weight: bold;
		color: var(--color-text);
	}

	.hero__inner,
	.hero--image-only {
		min-height: 560px;
	}

	.checklist__list {
		columns: 1;
	}
}

/* ---------- Enquiry Modal ---------- */
.quote-modal {
	width: calc(100% - 32px);
	max-width: 880px;
	max-height: calc(100% - 32px);
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--color-text);
	box-shadow: 0 30px 80px rgba(8, 19, 33, .5);
}

.quote-modal[open] {
	animation: quote-modal-in .28s ease-out;
}

.quote-modal[open]::backdrop {
	animation: quote-modal-fade .28s ease-out;
}

/* Light, softly blurred overlay so the modal stands out against the dark page sections. */
.quote-modal::backdrop {
	background: rgba(222, 230, 240, .78);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

/* Script adds this class only when the visitor has not asked for reduced motion. */
.quote-modal--static[open],
.quote-modal--static[open]::backdrop {
	animation: none;
}

@keyframes quote-modal-in {
	from {
		opacity: 0;
		transform: translateY(16px) scale(.98);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes quote-modal-fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.quote-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--color-tint);
	color: var(--color-text);
	cursor: pointer;
	transition: background-color .15s, color .15s;
}

.quote-modal__close:hover {
	background: var(--color-blue);
	color: #fff;
}

.quote-modal__close:focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 2px;
}

/* Left: navy brand panel */
.quote-modal__aside {
	position: relative;
	padding: 48px 40px;
	background: var(--color-navy);
	color: #d3dbe6; /* 11:1 on the panel navy */
	--color-eyebrow: var(--color-sky);
}

/* Faint emblem watermark in the bottom corner, behind the text. */
.quote-modal__aside::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/favicon-192.png") no-repeat right -50px bottom -50px / 240px;
	opacity: .1;
	pointer-events: none;
}

.quote-modal__aside > * {
	position: relative;
}

.quote-modal__title {
	margin-top: var(--eyebrow-gap);
	font-size: 32px;
	line-height: 1.12;
	letter-spacing: -.02em;
	color: #fff;
	overflow-wrap: anywhere;
}

.quote-modal__intro {
	margin-top: 16px;
}

.quote-modal__more {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, .16);
}

.quote-modal__more-title {
	margin-bottom: 14px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
}

.quote-modal__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.quote-modal__list li {
	position: relative;
	margin-bottom: 12px;
	padding-left: 28px;
	font-size: 15px;
}

.quote-modal__list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--color-sky);
	font-weight: bold;
}

/* Right: form */
.quote-modal__main {
	padding: 48px 40px 40px;
}

.quote-modal__row {
	--bs-gutter-x: 16px;
}

.quote-modal__field {
	margin-bottom: 18px;
}

.quote-modal__field label {
	display: block;
	margin-bottom: 7px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.quote-modal__field input,
.quote-modal__field textarea {
	display: block;
	width: 100%;
	padding: 13px 14px;
	border: 1px solid #8799ad;
	border-radius: 0;
	background: #fff;
	color: var(--color-text);
	font: inherit;
	transition: border-color .15s, box-shadow .15s;
}

.quote-modal__field input:hover,
.quote-modal__field textarea:hover {
	border-color: var(--color-blue);
}

.quote-modal__field input:focus,
.quote-modal__field textarea:focus {
	outline: 0;
	border-color: var(--color-blue);
	box-shadow: 0 0 0 3px rgba(8, 119, 216, .22);
}

.quote-modal__field input[readonly] {
	background: var(--color-tint);
	border-color: var(--color-border);
	font-weight: bold;
}

.quote-modal__field textarea {
	resize: vertical;
}

.quote-modal__error {
	margin-bottom: 18px;
	padding: 10px 14px;
	border-left: 3px solid #b3261e;
	background: #fcefee;
	color: #8c1d18; /* 7.4:1 on the pale red */
	font-size: 14px;
}

.quote-modal__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	padding: 16px 23px;
	cursor: pointer;
	transition: background-color .15s;
}

.quote-modal__submit:hover {
	background: #065fb0;
}

.quote-modal__submit svg {
	transition: transform .15s;
}

.quote-modal__submit:hover svg {
	transform: translateX(4px);
}

.quote-modal__done {
	padding: 40px 0 16px;
	text-align: center;
	overflow-wrap: anywhere;
}

.quote-modal__tick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--color-tint);
	color: var(--color-blue);
}

.quote-modal__done-title {
	margin-bottom: 8px;
	font-size: 24px;
	font-weight: bold;
	color: var(--color-text);
}

.quote-modal__done a {
	color: var(--color-blue);
	text-decoration: underline;
}

@media all and (max-width: 767px) {
	.quote-modal__aside {
		padding: 32px 24px 28px;
	}

	.quote-modal__aside::before {
		background-size: 160px;
		background-position: right -40px bottom -40px;
	}

	.quote-modal__title {
		font-size: 26px;
		padding-right: 36px;
	}

	.quote-modal__more {
		display: none;
	}

	.quote-modal__main {
		padding: 28px 24px 28px;
	}
}

@media all and (max-width: 479px) {
	.quote-modal {
		width: calc(100% - 20px);
		max-height: calc(100% - 20px);
	}

	.quote-modal__aside {
		padding: 28px 20px 24px;
	}

	.quote-modal__main {
		padding: 24px 20px;
	}
}
