/* =========================================================
   components.css — header, navigation, buttons, cards,
   forms, footer and other reusable pieces.
   Navy / white / teal: white header with a teal active state,
   gradient teal CTA, white 16px-radius cards with soft shadows,
   deep-navy footer with teal headings.
   ========================================================= */

/* ---------------------------------------------------------
   Header + branding
   --------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: #fff;
	border-bottom: 1px solid var(--line-soft);
	transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.site-header.is-stuck {
	box-shadow: var(--shadow-card);
}

/* Reading progress: a hairline that fills as the page is read. */
.scroll-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	overflow: hidden;
	pointer-events: none;
}

.scroll-progress i {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--navy-600), var(--teal-400));
	transform: scaleX(0);
	transform-origin: left center;
	will-change: transform;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	min-height: var(--header-h);
}

.site-header__brand { flex: none; }
.site-header__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: var(--sp-3);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-3);
	text-decoration: none;
	color: var(--brand);
}

.brand__mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--grad-navy);
	color: var(--teal-400);
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: 0.02em;
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.brand__name {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.125rem;
}

.brand__tag {
	font-size: 0.6875rem;
	font-weight: 500;
	color: var(--text-muted);
	letter-spacing: 0.02em;
}

.custom-logo-link img {
	max-height: 52px;
	width: auto;
}

/* ---------------------------------------------------------
   Primary navigation
   --------------------------------------------------------- */

.site-nav .menu {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav .menu-item { position: relative; }

.site-nav .menu-link {
	display: block;
	padding: 0.55rem 0.6rem;
	border-radius: var(--radius-sm);
	color: var(--ink-700);
	font-size: var(--fs-sm);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--dur) var(--ease);
}

@media (min-width: 1360px) {
	.site-nav .menu-link { padding-inline: 0.75rem; font-size: 1rem; }
}

/* Small desktops: seven items, the brand and the CTA share one row, so the
   partner mark and brand wordmark step aside and the links tighten up. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.partner-mark,
	.brand__text { display: none; }
	.site-nav .menu { gap: 0; }
	.site-nav .menu-link { padding-inline: 0.5rem; font-size: 0.875rem; }
	.site-header__actions > .btn { padding: 0.55rem 1rem; font-size: 0.875rem; }
}

.site-nav .menu-link:hover,
.site-nav .is-current > .menu-link,
.site-nav .current-menu-item > .menu-link,
.site-nav .current_page_item > .menu-link {
	color: var(--teal-700);
}

.site-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: var(--sp-2);
}

.menu-toggle-sub {
	display: none;
}

/* Desktop dropdowns */
@media (min-width: 1024px) {
	.site-nav .sub-menu {
		position: absolute;
		top: calc(100% + 6px);
		left: 0;
		min-width: 230px;
		background: #fff;
		border: 1px solid var(--line-soft);
		border-radius: var(--radius);
		box-shadow: var(--shadow-md);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: all var(--dur) var(--ease);
	}

	.site-nav .sub-menu .menu-link { font-size: var(--fs-sm); }

	.site-nav .menu-item:hover > .sub-menu,
	.site-nav .menu-item:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

/* Mobile drawer */
.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--line);
	background: #fff;
	place-items: center;
}

.nav-toggle__bars {
	display: grid;
	gap: 5px;
	width: 20px;
}

.nav-toggle__bars i {
	display: block;
	height: 2px;
	background: var(--brand);
	border-radius: 2px;
	transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim {
	position: fixed;
	inset: 0;
	z-index: 88;
	background: rgba(11, 26, 59, 0.55);
	opacity: 0;
	transition: opacity var(--dur) var(--ease);
}

.nav-scrim.is-visible { opacity: 1; }

@media (max-width: 1023px) {
	.nav-toggle { display: grid; }
}

/* Below this width the brand, CTA and toggle stop fitting on one row,
   so the CTA steps aside - the same action is inside the drawer and hero. */
@media (max-width: 619px) {
	.site-header__actions > .btn { display: none; }
}

@media (max-width: 1023px) {

	.site-nav {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 95;
		width: min(340px, 88vw);
		height: 100dvh;
		padding: calc(var(--sp-8) + 8px) var(--sp-5) var(--sp-6);
		background: #fff;
		box-shadow: var(--shadow-lg);
		overflow-y: auto;
		transform: translateX(102%);
		transition: transform var(--dur) var(--ease);
	}

	.site-nav.is-open { transform: none; }

	.site-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.site-nav .menu-item {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid var(--line-soft);
	}

	.site-nav .menu-link {
		flex: 1;
		padding: 0.9rem 0.5rem;
		font-size: 1.0625rem;
	}

	.menu-toggle-sub {
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		border-radius: var(--radius-sm);
	}

	.menu-toggle-sub .chev {
		width: 9px;
		height: 9px;
		border-right: 2px solid var(--ink-500);
		border-bottom: 2px solid var(--ink-500);
		transform: rotate(45deg) translate(-2px, -2px);
		transition: transform var(--dur) var(--ease);
	}

	.menu-toggle-sub[aria-expanded="true"] .chev {
		transform: rotate(-135deg) translate(-2px, -2px);
	}

	.site-nav .sub-menu {
		flex-basis: 100%;
		display: none;
		padding: 0 0 var(--sp-3) var(--sp-4);
	}

	.site-nav .sub-menu.is-open { display: block; }
}

/* ---------------------------------------------------------
   Buttons
   Pills:
   --accent  teal gradient, navy text (the one primary action)
   --primary navy, white text
   --white   white, navy text (on navy)
   --ghost   outline, navy on light and white on navy
   --red     reserved for destructive actions
   --------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	padding: 0.85rem 1.75rem;
	border-radius: var(--radius-pill);
	font-size: var(--fs-base);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	border: 1.5px solid transparent;
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
		background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--sm { padding: 0.6rem 1.2rem; font-size: var(--fs-sm); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.0625rem; }

.btn--accent {
	background: var(--grad-accent);
	border-color: transparent;
	color: var(--accent-ink);
	box-shadow: 0 6px 18px -8px rgba(20, 184, 201, 0.6);
}

.btn--accent:hover {
	color: var(--navy-950);
	box-shadow: var(--shadow-glow);
	filter: saturate(1.08) brightness(1.04);
}

.btn--primary {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

.btn--primary:hover {
	background: var(--navy-600);
	border-color: var(--navy-600);
	color: #fff;
	box-shadow: var(--shadow-glow-navy);
}

.btn--red {
	background: var(--red-500);
	border-color: var(--red-500);
	color: #fff;
}

.btn--red:hover {
	background: var(--red-600);
	border-color: var(--red-600);
	color: #fff;
	box-shadow: 0 0 30px rgba(227, 30, 36, 0.3);
}

.btn--white {
	background: #fff;
	border-color: #fff;
	color: var(--navy-700);
}

.btn--white:hover {
	background: var(--teal-050);
	border-color: var(--teal-050);
	color: var(--navy-800);
	box-shadow: var(--shadow-glow);
}

/* Outline button: navy on light surfaces, white on dark ones. */
.btn--ghost {
	border-color: var(--brand);
	color: var(--brand);
	background: transparent;
}

.btn--ghost:hover {
	background: var(--brand);
	color: #fff;
}

.section--dark .btn--ghost,
.hero .btn--ghost,
.page-hero .btn--ghost,
.cta-final__inner .btn--ghost,
.band .btn--ghost {
	border-color: rgba(255, 255, 255, 0.75);
	color: #fff;
}

.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.page-hero .btn--ghost:hover,
.cta-final__inner .btn--ghost:hover,
.band .btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--brand);
}

/* ---------------------------------------------------------
   Cards
   --------------------------------------------------------- */

.card-grid {
	display: grid;
	gap: var(--sp-4);
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: 1fr;
}

@media (min-width: 560px) {
	.card-grid--3,
	.card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
	.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
	.card-grid { gap: var(--sp-5); }
}

.card {
	position: relative;
	padding: var(--sp-5);
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.card:hover {
	transform: translateY(-4px);
	border-color: var(--teal-100);
	box-shadow: var(--shadow-md);
}

.card__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: var(--sp-4);
	border-radius: 50%;
	background: var(--teal-050);
	color: var(--teal-700);
}

.card__icon--accent {
	background: var(--navy-050);
	color: var(--brand);
}

.card__title {
	font-size: var(--fs-h4);
	margin-bottom: var(--sp-2);
}

.card__text {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--text-muted);
}

/* ---------------------------------------------------------
   Tick list / pills / feature row
   --------------------------------------------------------- */

.tick-list {
	list-style: none;
	margin: 0 0 var(--sp-6);
	padding: 0;
	display: grid;
	gap: var(--sp-3);
}

.tick-list li {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-3);
	font-size: var(--fs-base);
	color: var(--ink-700);
}

/* Small teal wells around the tick. */
.tick-list .icon,
.feature-row .icon {
	flex: none;
	width: 24px;
	height: 24px;
	padding: 4px;
	border-radius: 50%;
	background: var(--teal-500);
	color: var(--navy-900);
}

.tick-list .icon { margin-top: 1px; }

.pill {
	display: inline-block;
	padding: 0.25rem 0.7rem;
	border-radius: var(--radius-pill);
	background: var(--teal-050);
	color: var(--teal-700);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.feature-row {
	list-style: none;
	margin: 0 0 var(--sp-6);
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3) var(--sp-5);
}

.feature-row li {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-size: var(--fs-sm);
	font-weight: 600;
}

/* ---------------------------------------------------------
   Store buttons
   --------------------------------------------------------- */

.store-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
}

.store-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-3);
	padding: 0.6rem 1.1rem;
	border-radius: var(--radius);
	border: 1.5px solid var(--line);
	background: #fff;
	color: var(--brand);
	text-decoration: none;
	transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.store-btn:hover {
	transform: translateY(-2px);
	border-color: var(--teal-500);
	box-shadow: var(--shadow-sm);
	color: var(--brand);
}

.store-btn span {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.store-btn small {
	font-size: 0.6875rem;
	color: var(--text-muted);
}

.store-btn strong { font-size: 0.9375rem; }

.store-btn--light {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.24);
	color: #fff;
}

.store-btn--light:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--teal-400);
	color: #fff;
}

.store-btn--light small { color: rgba(255, 255, 255, 0.7); }

/* ---------------------------------------------------------
   Accordion
   --------------------------------------------------------- */

.accordion {
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-card);
	overflow: hidden;
}

.accordion__item + .accordion__item { border-top: 1px solid var(--line-soft); }

.accordion__heading { margin: 0; font-size: inherit; font-family: var(--font-sans); }

.accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	width: 100%;
	padding: var(--sp-4) var(--sp-5);
	text-align: left;
	font-size: var(--fs-base);
	font-weight: 600;
	color: var(--brand);
	transition: background var(--dur) var(--ease);
}

.accordion__trigger:hover { background: var(--surface-2); }

.accordion__chev {
	color: var(--teal-600);
	transition: transform var(--dur) var(--ease);
}

.accordion__trigger[aria-expanded="true"] .accordion__chev { transform: rotate(180deg); }

.accordion__panel {
	padding: 0 var(--sp-5) var(--sp-5);
	color: var(--text-muted);
	font-size: var(--fs-sm);
	line-height: 1.7;
}

/* ---------------------------------------------------------
   Forms
   --------------------------------------------------------- */

.search-form {
	display: flex;
	gap: var(--sp-2);
	max-width: 460px;
	margin-inline: auto;
}

.search-form__field,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
select,
textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1.5px solid #cdcdcd;
	border-radius: 10px;
	background: #fff;
	font-size: var(--fs-sm);
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.search-form__field:focus,
input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: var(--ring);
}

.search-form .btn { flex: none; }

.comment-form p { margin-bottom: var(--sp-4); }
.comment-form label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--sp-2); }

/* ---------------------------------------------------------
   Back to top (legacy single button)
   --------------------------------------------------------- */

.to-top {
	position: fixed;
	right: clamp(1rem, 2vw, 1.75rem);
	bottom: clamp(1rem, 2vw, 1.75rem);
	z-index: 80;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all var(--dur) var(--ease);
}

.to-top .icon { transform: rotate(180deg); }

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top:hover { background: var(--teal-600); color: #fff; }

/* ---------------------------------------------------------
   Social icon rows
   --------------------------------------------------------- */

.social-row {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-row a {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: inherit;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.social-row a:hover {
	background: var(--teal-500);
	color: var(--navy-900);
	transform: translateY(-1px);
}

/* ---------------------------------------------------------
   Partner (co-brand) mark in the header
   --------------------------------------------------------- */

.partner-mark {
	display: none;
	flex-direction: column;
	padding-left: var(--sp-4);
	margin-left: var(--sp-4);
	border-left: 1px solid var(--line);
	line-height: 1.2;
	text-decoration: none;
	color: var(--text-muted);
}

.partner-mark__by {
	font-size: 0.625rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.partner-mark__name {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 500;
	color: var(--brand);
}

.partner-mark:hover .partner-mark__name { color: var(--teal-700); }

@media (min-width: 560px) {
	.site-header__brand { display: flex; align-items: center; }
	.partner-mark { display: flex; }
}

/* ---------------------------------------------------------
   Tabs
   Text tabs with a teal underline on the active one.
   --------------------------------------------------------- */

.tabs {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.tabs > .tabs__pane { width: 100%; }

.tabs__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--sp-5);
	margin: 0 auto var(--sp-5);
	padding: 0;
	border-bottom: 1px solid var(--line);
}

.tabs__tab {
	margin-bottom: -1px;
	padding: 0.6rem 0.25rem;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	font-size: var(--fs-base);
	font-weight: 600;
	color: var(--ink-700);
	transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.tabs__tab:hover { color: var(--teal-700); }

.tabs__tab.is-active {
	color: var(--teal-700);
	border-bottom-color: var(--teal-500);
}

/* ---------------------------------------------------------
   Form fields
   --------------------------------------------------------- */

.field { margin: 0 0 var(--sp-4); }

.field label {
	display: block;
	margin-bottom: var(--sp-2);
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--ink-700);
}

.field label span { color: var(--red-500); }

.field-row {
	display: grid;
	gap: 0 var(--sp-4);
	grid-template-columns: 1fr;
}

@media (min-width: 560px) {
	.field-row { grid-template-columns: 1fr 1fr; }
}

.field--submit { margin-bottom: 0; }

/* Honeypot: present for bots, invisible and unreachable for people. */
.contact-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-note {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-3);
	margin-bottom: var(--sp-5);
	padding: var(--sp-4);
	border-radius: var(--radius);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.form-note--ok {
	background: var(--teal-050);
	color: var(--teal-700);
}

.form-note--bad {
	background: var(--red-050);
	color: var(--red-600);
}

/* ---------------------------------------------------------
   Floating quick actions
   --------------------------------------------------------- */

.quick-actions {
	position: fixed;
	right: clamp(0.75rem, 2vw, 1.5rem);
	bottom: clamp(0.75rem, 2vw, 1.5rem);
	z-index: 80;
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
}

.quick-actions__btn {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	color: #fff;
	box-shadow: var(--shadow-md);
	transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.quick-actions__btn:hover {
	transform: translateY(-2px);
	color: #fff;
}

.quick-actions__btn--wa { background: #1faa53; }
.quick-actions__btn--wa:hover { background: #17913f; }

.quick-actions__btn--call { background: var(--brand); }
.quick-actions__btn--call:hover { background: var(--navy-600); }

.quick-actions__btn--top {
	background: var(--navy-900);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
}

.quick-actions__btn--top .icon { transform: rotate(180deg); }

.quick-actions__btn--top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* ---------------------------------------------------------
   Footer
   Deep navy with a gradient hairline on top, teal column
   headings and chevron-led links. Brand column + three link
   columns, then a slim bottom bar.
   --------------------------------------------------------- */

.site-footer {
	position: relative;
	isolation: isolate;
	padding-top: clamp(3rem, 2.4rem + 2.5vw, 5rem);
	background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
	color: rgba(255, 255, 255, 0.85);
	font-size: var(--fs-sm);
	line-height: 1.55;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url("../img/pattern-pipes.svg") center / 480px auto repeat;
	opacity: 0.05;
	pointer-events: none;
}

/* Gradient hairline that separates the footer from whatever sits above it. */
.site-footer::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--navy-600), var(--teal-500) 50%, var(--navy-600));
	pointer-events: none;
}

.site-footer a { color: #fff; text-decoration: none; transition: color var(--dur) var(--ease); }
.site-footer a:hover { color: var(--teal-400); }

.site-footer .brand,
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: rgba(255, 255, 255, 0.55); }
.site-footer .brand__logo { height: 48px; }

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sp-6) var(--sp-5);
	padding-bottom: var(--sp-7);
}

/* Two columns from tablet; the brand spans the row above them. */
@media (min-width: 640px) {
	.footer-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-brand { grid-column: 1 / -1; }
}

/* Desktop: brand column beside three equal link columns. */
@media (min-width: 1000px) {
	.footer-grid {
		grid-template-columns: minmax(280px, 1.4fr) repeat(3, 1fr);
		gap: var(--sp-6) var(--sp-8);
	}
	.footer-brand { grid-column: auto; padding-right: var(--sp-6); }
}

/* Brand column */
.footer-brand__text {
	max-width: 36ch;
	margin: var(--sp-4) 0 0;
	color: rgba(255, 255, 255, 0.85);
}

.social-row--footer { margin-top: var(--sp-4); gap: var(--sp-2); }
.social-row--footer a {
	width: 36px; height: 36px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}
.social-row--footer a:hover { background: var(--teal-500); color: var(--navy-900); }

.footer-stores {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin-top: var(--sp-4);
}
.footer-stores .store-btn { padding: 0.4rem 0.8rem; gap: var(--sp-2); }
.footer-stores .store-btn small { font-size: 0.625rem; }
.footer-stores .store-btn strong { font-size: 0.875rem; }

/* Link columns */
.footer-title {
	margin: 0 0 var(--sp-4);
	font-family: var(--font-sans);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: var(--teal-400);
}

.footer-menu {
	display: grid;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	white-space: nowrap;
}

/* The small chevron that leads every TMT Plus footer link. */
.footer-menu a::before {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(-45deg);
	opacity: 0.85;
}

.contact-list {
	display: grid;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-3);
}

.contact-list .icon { margin-top: 3px; color: var(--teal-400); }

/* Bottom bar */
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2) var(--sp-5);
	align-items: center;
	justify-content: space-between;
	padding-block: var(--sp-4);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: var(--fs-xs);
	color: rgba(255, 255, 255, 0.7);
}

.footer-copy { margin: 0; }
.footer-copy__by { margin-left: var(--sp-3); }

@media (max-width: 559px) {
	/* On a phone the credit sits on its own line under the copyright. */
	.footer-copy__by { display: block; margin: var(--sp-1) 0 0; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}
.footer-copy__by a { color: var(--teal-400); }

.legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-4);
	margin: 0;
	padding: 0;
	list-style: none;
}
