/* ==========================================================================
   BMS Technologies site stylesheet. The only stylesheet; no framework.
   Phase 2 restyle. Sections: tokens, base, type helpers, buttons, header/nav,
   hero, news feed, home (products, extras), product pages (intro, highlights,
   capabilities, features, showcase), carousel, about, directions, what's new,
   contact, forms, results, CTA band, footer, utilities, media queries
   (1024 / 768 / 560)
   ========================================================================== */

/* --- Tokens -------------------------------------------------------------- */
:root {
	/* Brand red from the logo. White text on --brand is 9.8:1, so it works as a button fill. */
	--brand: #b22e2c;
	--brand-600: #9b2725;        /* hover on brand surfaces */
	--brand-700: #86201f;        /* brand text hover */
	--brand-100: #f6e2e1;
	--brand-50: #fbf3f2;

	/* Ink: a near-black from the logo's swoosh, for dark sections and headings */
	--ink: #14161b;
	--ink-800: #1f2228;
	--ink-700: #2d3139;

	/* Neutrals */
	--text: #2b2f36;
	--muted: #5f6672;
	--line: #e5e7eb;
	--surface: #ffffff;
	--surface-2: #f6f7f9;

	/* Shape and depth */
	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(20, 22, 27, 0.06), 0 1px 1px rgba(20, 22, 27, 0.04);
	--shadow-md: 0 12px 32px -12px rgba(20, 22, 27, 0.18), 0 2px 6px rgba(20, 22, 27, 0.06);
	--shadow-lg: 0 30px 60px -20px rgba(20, 22, 27, 0.3);

	/* Layout */
	--nav-h: 76px;
	--hero-fade: 1.5s;           /* fade-in of the hero video over its poster once it starts playing */
	--container: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(64px, 9vw, 120px);

	/* Type */
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	padding-top: var(--nav-h);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; }
main { display: block; }
address { font-style: normal; }

a { color: var(--brand); text-decoration: none; }
a:hover, a:focus-visible { color: var(--brand-700); text-decoration: underline; text-underline-offset: 0.15em; }

:focus-visible { outline: 3px solid rgba(178, 46, 44, 0.45); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--ink);
	text-wrap: balance;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }

/* Anchored sections sit below the fixed header when deep-linked. */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* --- Type helpers -------------------------------------------------------- */
.eyebrow {
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brand);
}
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 16px; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--muted); }
.lead p { margin-bottom: 1em; }
.lead p:last-child { margin-bottom: 0; }

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--brand);
}
.text-link:hover, .text-link:focus-visible { text-decoration: none; color: var(--ink); }
.text-link__arrow { width: 0.9em; height: 0.9em; transition: transform 0.2s ease; }
.text-link:hover .text-link__arrow { transform: translateX(4px); }

/* Inline SVG icons (Font Awesome paths via the {% icon %} shortcode) */
.icon-svg { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; fill: currentColor; }

/* Soft brand-tinted icon tiles */
.icon-tile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	color: var(--brand);
	background: var(--brand-50);
	border: 1px solid var(--brand-100);
}
.icon-tile .icon-svg { width: 20px; height: 20px; }
.icon-tile--lg { width: 60px; height: 60px; border-radius: 18px; }
.icon-tile--lg .icon-svg { width: 26px; height: 26px; }

.social-links { display: flex; gap: 14px; align-items: center; }
.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 18px;
	color: var(--muted);
	border: 1px solid var(--line);
	border-radius: 50%;
	transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.social-links a:hover, .social-links a:focus-visible { color: var(--brand); border-color: var(--brand); background: var(--brand-50); text-decoration: none; }
.social-links--light a { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.2); }
.social-links--light a:hover, .social-links--light a:focus-visible { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* --- Buttons ------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	background: var(--brand);
	border: 2px solid var(--brand);
	border-radius: 999px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover, .btn:focus-visible { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }

.btn--primary { color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: 0 8px 20px -10px rgba(178, 46, 44, 0.7); }
.btn--primary:hover, .btn--primary:focus-visible { color: #fff; background: var(--brand-600); border-color: var(--brand-600); }

.btn--outline { color: var(--ink); background: transparent; border-color: var(--line); }
.btn--outline:hover, .btn--outline:focus-visible { color: var(--ink); border-color: var(--ink); background: var(--surface); }

.btn--ghost { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: #fff; background: rgba(255, 255, 255, 0.16); border-color: #fff; }

.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }

/* --- Header / nav -------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--nav-h);
}

.site-header__brand { display: flex; align-items: center; margin-right: auto; }
.site-header__logo { display: block; width: 160px; height: 53px; }
.site-header__logo--light { display: none; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav__item { position: relative; }
.site-nav__item li { margin: 0; }
.site-nav__link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ink);
	background: none;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.15s ease, background-color 0.15s ease;
}
.site-nav__link:hover, .site-nav__link:focus-visible { text-decoration: none; background: var(--brand-50); color: var(--brand); }
.site-nav__link[aria-current="page"] { color: var(--brand); }
.site-nav__link[aria-current="page"]::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 3px;
	height: 2px;
	border-radius: 2px;
	background: var(--brand);
}
.site-nav__chevron { flex: 0 0 auto; transition: transform 0.2s ease; }
.site-nav__item--dropdown.is-open > .site-nav__link .site-nav__chevron { transform: rotate(180deg); }

/* Desktop dropdown: opens on hover / focus-within, or on click (JS adds .is-open) */
.site-nav__dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	display: block;
	min-width: 220px;
	margin: 10px 0 0;
	padding: 8px;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
/* A hover bridge so the menu does not close while the pointer crosses the gap. */
.site-nav__dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.site-nav__item--dropdown:hover > .site-nav__dropdown,
.site-nav__item--dropdown:focus-within > .site-nav__dropdown,
.site-nav__item--dropdown.is-open > .site-nav__dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition-delay: 0s;
}
.site-nav__sublink {
	display: block;
	padding: 10px 14px;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	border-radius: 10px;
}
.site-nav__sublink:hover, .site-nav__sublink:focus-visible { color: var(--brand); background: var(--brand-50); text-decoration: none; }
.site-nav__sublink[aria-current="page"] { color: var(--brand); }

.site-nav__extra { display: flex; align-items: center; gap: 18px; }
.site-nav__phone {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
	white-space: nowrap;
}
.site-nav__phone:hover { color: var(--brand); text-decoration: none; }

/* Phone shown next to the toggle on small screens only */
.site-header__phone { display: none; }

.site-header__toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 10px;
	cursor: pointer;
}
.site-header__bar {
	display: block;
	width: 20px;
	height: 2px;
	margin: 4px auto;
	background: var(--ink);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header__toggle[aria-expanded="true"] .site-header__bar:nth-child(2) { transform: translateY(6px) rotate(45deg); }
.site-header__toggle[aria-expanded="true"] .site-header__bar:nth-child(3) { opacity: 0; }
.site-header__toggle[aria-expanded="true"] .site-header__bar:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }

/* Transparent header over the video hero (JS adds .is-scrolled once the page moves). */
.js .site-header--overlay:not(.is-scrolled):not(.is-open) {
	background: transparent;
	border-color: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}
.js .site-header--overlay:not(.is-scrolled):not(.is-open) .site-header__logo--dark { display: none; }
.js .site-header--overlay:not(.is-scrolled):not(.is-open) .site-header__logo--light { display: block; }
.js .site-header--overlay:not(.is-scrolled):not(.is-open) .site-nav__link,
.js .site-header--overlay:not(.is-scrolled):not(.is-open) .site-nav__phone,
.js .site-header--overlay:not(.is-scrolled):not(.is-open) .site-header__phone { color: #fff; }
.js .site-header--overlay:not(.is-scrolled):not(.is-open) .site-nav__link:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.js .site-header--overlay:not(.is-scrolled):not(.is-open) .site-nav__link[aria-current="page"]::after { background: #fff; }
.js .site-header--overlay:not(.is-scrolled):not(.is-open) .site-header__toggle { border-color: rgba(255, 255, 255, 0.4); }
.js .site-header--overlay:not(.is-scrolled):not(.is-open) .site-header__bar { background: #fff; }
.js .site-header--overlay:not(.is-scrolled):not(.is-open) .btn--primary { box-shadow: none; }

/* --- Hero ---------------------------------------------------------------- */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	color: #fff;
	background: var(--ink);
}
.hero__inner { position: relative; z-index: 2; }
.hero__kicker {
	margin: 0 0 16px;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #e9908f;              /* lighter brand tint for dark backgrounds */
}
.hero__title {
	max-width: 16ch;
	font-size: clamp(36px, 5.2vw, 64px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: #fff;
}
.hero__subtitle {
	max-width: 58ch;
	margin: 20px 0 0;
	font-size: clamp(17px, 1.7vw, 20px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
}
.hero__lead p { margin: 0 0 0.8em; }
.hero__lead p:last-child { margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Video hero (home) */
.hero--video {
	/* The hero slides under the fixed header, so it needs the full viewport height to reach the fold. */
	min-height: 100vh;
	min-height: 100svh;
	margin-top: calc(-1 * var(--nav-h));
	padding: calc(var(--nav-h) + 48px) 0 72px;
}
.hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--ink) center / cover no-repeat;   /* hero.njk sets background-image to the poster */
}
/* site.js adds .is-hidden before the video plays and removes it on the first `playing` event,
   so the video fades in over the poster painted on .hero__media. */
.hero__video {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity var(--hero-fade) linear;
}
.hero__video.is-hidden { opacity: 0; transition: none; }   /* hidden instantly; only the fade-in animates */
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	background:
		linear-gradient(90deg, rgba(20, 22, 27, 0.85) 0%, rgba(20, 22, 27, 0.6) 45%, rgba(20, 22, 27, 0.25) 100%),
		linear-gradient(180deg, rgba(20, 22, 27, 0.5) 0%, rgba(20, 22, 27, 0) 35%, rgba(20, 22, 27, 0.6) 100%);
}
.hero--video .hero__title { font-size: clamp(44px, 7vw, 92px); }
.hero--video .hero__subtitle { font-size: clamp(17px, 1.8vw, 21px); }

/* Compact hero for inner pages */
.hero--page {
	padding: clamp(56px, 8vw, 96px) 0;
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(178, 46, 44, 0.45) 0%, rgba(178, 46, 44, 0) 60%),
		linear-gradient(135deg, var(--ink) 0%, var(--ink-800) 60%, var(--ink-700) 140%);
}
.hero--page .hero__title { max-width: 20ch; }
.hero--page::after {
	content: "";
	position: absolute;
	right: -10%;
	bottom: -40%;
	width: 50vw;
	max-width: 720px;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

/* --- News feed banner (filled by the Worker) ----------------------------- */
.news-feed {
	position: relative;
	z-index: 3;
	padding: 14px var(--gutter);
	text-align: center;
	color: var(--ink);
	background: var(--brand-50);
	border-bottom: 1px solid var(--brand-100);
}
.news-feed > :last-child { margin-bottom: 0; }
.news-feed h5 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; color: var(--brand); }

/* --- Home: products ------------------------------------------------------ */
.products { padding: var(--section) 0; background: var(--surface); }
.products__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.product-card {
	display: flex;
	flex-direction: column;
	padding: 32px 28px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.product-card__logo { display: block; height: 72px; margin-bottom: 24px; }
.product-card__logo img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: left center; }
.product-card__title { margin-bottom: 10px; font-size: 22px; }
.product-card__body { flex: 1; color: var(--muted); }
.product-card__body p:last-child { margin-bottom: 20px; }

/* --- Home: extras -------------------------------------------------------- */
.extras { padding: var(--section) 0; background: var(--surface-2); }
.extras__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.extra-card {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 20px 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.extra-card__title { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--ink); }

/* --- Product pages: intro ------------------------------------------------ */
.intro { padding: var(--section) 0; }
.intro__inner {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}
.intro__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 32px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}
.intro__logo img { display: block; width: 100%; height: auto; }
.intro__text .section-title { margin-bottom: 16px; }
.intro__text .lead a { text-decoration: underline; text-underline-offset: 0.15em; }

/* --- Product pages: highlights ------------------------------------------- */
.highlights-section { padding: 0 0 var(--section); }
.highlights {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.highlight {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 0;
	padding: 22px 24px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.highlight .icon-tile { background: var(--surface); }
.highlight__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }

/* --- Direct Mail: capabilities ------------------------------------------- */
.capabilities { padding: var(--section) 0; background: var(--surface-2); }
.capabilities__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.capabilities__inner .section-head { margin-bottom: 0; }
.capabilities__list p { font-size: 17px; color: var(--muted); }
.capabilities__list ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.capabilities__list li {
	position: relative;
	padding: 12px 16px 12px 40px;
	font-size: 15px;
	line-height: 1.5;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.capabilities__list li::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 18px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--brand);
}

/* --- Product pages: feature cards ---------------------------------------- */
.features { padding: var(--section) 0; }
.page-statements .features, .page-direct-mail .features { background: var(--surface-2); }
.page-online-billpay .features { background: var(--surface-2); }
.feature-grid { display: grid; gap: 24px; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature-card {
	display: flex;
	flex-direction: column;
	padding: 28px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}
.feature-card .icon-tile { margin-bottom: 20px; }
.feature-card__title { margin-bottom: 10px; font-size: 21px; }
.feature-card__body { color: var(--muted); }
.feature-card__body > :last-child { margin-bottom: 0; }
.feature-card__body ul { padding-left: 1.2em; }
.feature-card__body li { margin-bottom: 4px; }
.feature-card__body li::marker { color: var(--brand); }
.feature-card__body strong { color: var(--ink); }

/* --- Online-Billpay: showcase + carousel --------------------------------- */
.showcase { padding: var(--section) 0; }
.showcase .carousel { margin-top: 8px; }

.carousel {
	position: relative;
	width: 760px;
	max-width: 100%;
	margin: 24px auto 44px;
}
.carousel__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-md);
	background: var(--surface-2);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; padding: 24px; }
.carousel__slide img { display: block; width: auto; max-width: 100%; height: 440px; object-fit: contain; }

.carousel__control {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	padding: 0 0 4px;
	font-size: 28px;
	line-height: 1;
	color: var(--ink);
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--line);
	border-radius: 50%;
	box-shadow: var(--shadow-sm);
	cursor: pointer;
}
.carousel__control:hover { background: #fff; color: var(--brand); }
.carousel__control--prev { left: -22px; }
.carousel__control--next { right: -22px; }

.carousel__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -24px;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.carousel__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	background: var(--line);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.carousel__dot.is-active { background: var(--brand); transform: scale(1.25); }

/* --- About --------------------------------------------------------------- */
.about-intro { padding: var(--section) 0; }
.about-intro__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-intro__text .section-title { margin-bottom: 20px; }
.about-intro__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(32px, 5vw, 64px);
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}
.about-intro__logo img { width: 100%; max-width: 360px; height: auto; }

.about-features { padding: var(--section) 0; background: var(--surface-2); }
.about-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-feature + .about-feature { margin-top: var(--section); }
.about-feature__image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}
.about-feature__text .icon-tile { margin-bottom: 20px; }
.about-feature__title { margin-bottom: 16px; font-size: clamp(26px, 3vw, 34px); }
.about-feature__text p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.about-feature__text p:last-child { margin-bottom: 0; }

/* --- Directions / What's New --------------------------------------------- */
.map-section { padding: var(--section) 0; }
.map-responsive {
	position: relative;
	height: 0;
	padding-bottom: 50%;
	overflow: hidden;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-md);
}
.map-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.map-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.map-details__item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 22px 24px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.map-details__item p, .map-details__item address { margin: 0; font-size: 15px; line-height: 1.6; }
.map-details__label {
	margin: 0 0 2px !important;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--brand);
}
.feed-section { padding: var(--section) 0; }
.fb-embed { min-height: 600px; text-align: center; }

/* --- Contact ------------------------------------------------------------- */
.contact { padding: var(--section) 0; background: var(--surface-2); }
.contact__wrapper {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 32px;
	align-items: start;
}
.contact__info {
	padding: 36px 32px;
	color: #fff;
	background: linear-gradient(160deg, var(--ink-800) 0%, var(--ink) 100%);
	border-radius: var(--radius-lg);
}
.contact__header { margin-bottom: 10px; font-size: 28px; color: #fff; }
.contact__intro { margin-bottom: 28px; color: rgba(255, 255, 255, 0.72); }
.contact__intro p:last-child { margin-bottom: 0; }
.contact__block { padding-bottom: 20px; font-size: 17px; line-height: 1.6; }
.contact__block p, .contact__block address { margin: 0; }
.contact__block a { color: #fff; font-weight: 600; }
.contact__label {
	margin: 0 0 4px !important;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #e9908f;
}
.contact__info .social-links { margin-top: 8px; }

.contact__form {
	padding: clamp(24px, 4vw, 40px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}
.contact__form-title { margin-bottom: 8px; font-size: 28px; }
.contact__form-intro { margin-bottom: 24px; color: var(--muted); }

/* --- Forms --------------------------------------------------------------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
}
.form-hint { font-weight: 500; color: var(--muted); }
.form-control {
	display: block;
	width: 100%;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	color: var(--text);
	background: var(--surface);
	border: 1px solid #d3d7de;
	border-radius: 10px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control::placeholder { color: var(--muted); }
.form-control:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(178, 46, 44, 0.15); }
select.form-control {
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235f6672' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
textarea.form-control { resize: vertical; min-height: 140px; }
.form-control.is-invalid { border-color: #c0392b; }

/* Honeypot: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 0 0 18px; }

.alert {
	margin-bottom: 18px;
	padding: 12px 16px;
	font-size: 15px;
	border: 1px solid transparent;
	border-radius: 10px;
}
.alert--info { color: var(--ink); background: var(--surface-2); border-color: var(--line); }
.alert--success { color: #1e6b3a; background: #e8f7ee; border-color: #c6ebd4; }
.alert--danger { color: #9b2c22; background: #fdecea; border-color: #f5c6c1; }

/* --- Result pages (contact success / error, 404) ------------------------- */
.result { padding: var(--section) 0; background: var(--surface-2); }
.result__card {
	max-width: 640px;
	margin: 0 auto;
	padding: clamp(28px, 4vw, 48px);
	text-align: center;
	font-size: 17px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}
.result__title { margin-bottom: 12px; font-size: 28px; }
.result__card--error .result__title { color: var(--brand); }
.result__card p { color: var(--muted); }
.result__contact { margin: 20px 0 28px; line-height: 1.7; }
.result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0 0; }

/* --- CTA band ------------------------------------------------------------ */
.cta-band {
	padding: clamp(56px, 7vw, 88px) 0;
	color: #fff;
	background:
		radial-gradient(50% 100% at 0% 100%, rgba(178, 46, 44, 0.5) 0%, rgba(178, 46, 44, 0) 60%),
		linear-gradient(120deg, var(--ink) 0%, var(--ink-800) 100%);
}
.cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
.cta-band__title { max-width: 22ch; font-size: clamp(26px, 3vw, 36px); color: #fff; }
.cta-band__text { max-width: 48ch; margin: 10px 0 0; color: rgba(255, 255, 255, 0.75); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Footer -------------------------------------------------------------- */
.site-footer { color: rgba(255, 255, 255, 0.7); background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.06); }

.site-footer__content {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
	gap: 32px;
	padding-top: clamp(48px, 6vw, 72px);
	padding-bottom: clamp(40px, 5vw, 56px);
}
.site-footer__brand img { display: block; width: 170px; height: auto; margin-bottom: 16px; }
.site-footer__tagline { max-width: 30ch; margin: 0 0 20px; font-size: 14px; line-height: 1.6; }
.social-links--footer a { color: rgba(255, 255, 255, 0.75); border-color: rgba(255, 255, 255, 0.15); }
.social-links--footer a:hover, .social-links--footer a:focus-visible { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.site-footer__heading {
	margin: 0 0 14px;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #e9908f;
}
.site-footer__links { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 2.1; }
.site-footer__links a { color: rgba(255, 255, 255, 0.8); }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; text-decoration: none; }
.site-footer__contact { margin: 0 0 14px; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }
.site-footer__contact a { color: #fff; font-weight: 600; }

.site-footer__bottom {
	padding: 20px 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Utilities ----------------------------------------------------------- */
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero__video { display: none; }
	.btn, .product-card, .text-link__arrow, .site-nav__dropdown { transition: none; }
}

/* ==========================================================================
   Media queries
   ========================================================================== */
@media (max-width: 1024px) {
	.site-nav { gap: 16px; }
	.site-nav__link { padding: 8px 10px; font-size: 14px; }
	.site-nav__phone { display: none; }
	.products__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
	.extras__grid { grid-template-columns: repeat(2, 1fr); }
	.feature-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.highlights { grid-template-columns: 1fr; }
	.intro__inner { grid-template-columns: 260px 1fr; }
	.capabilities__inner { grid-template-columns: 1fr; }
	.map-details { grid-template-columns: 1fr; }
	.site-footer__content { grid-template-columns: repeat(2, 1fr); }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
	:root { --nav-h: 68px; }
	.site-header__inner { gap: 12px; }
	.site-header__logo { width: 130px; height: 43px; }
	.site-header__phone {
		display: block;
		margin-left: auto;
		font-family: var(--font-display);
		font-size: 15px;
		font-weight: 700;
		color: var(--ink);
		white-space: nowrap;
	}
	.site-header__toggle { display: block; }

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--gutter) 20px;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-md);
	}
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__link { width: 100%; padding: 12px 8px; font-size: 16px; border-radius: 8px; color: var(--ink) !important; }
	.site-nav__link--toggle { justify-content: space-between; }
	.site-nav__link[aria-current="page"]::after { display: none; }
	.site-nav__link[aria-current="page"] { background: var(--brand-50); color: var(--brand) !important; }
	.site-nav__dropdown {
		position: static;
		display: none;
		min-width: 0;
		margin: 0;
		padding: 0 0 8px 16px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}
	.site-nav__dropdown::after { display: none; }
	.site-nav__item--dropdown:hover > .site-nav__dropdown,
	.site-nav__item--dropdown:focus-within > .site-nav__dropdown { display: none; }
	.site-nav__item--dropdown.is-open > .site-nav__dropdown { display: block; }
	.site-nav__sublink { padding: 10px 8px; }
	.site-nav__extra { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
	.site-nav__extra .btn { flex: 1; }

	.hero--video { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 56px; }
	.hero--video .hero__title { font-size: clamp(40px, 12vw, 64px); }
	.hero__actions .btn { flex: 1 1 auto; }

	.extras__grid { grid-template-columns: 1fr; }
	.feature-grid--3, .feature-grid--2 { grid-template-columns: 1fr; }
	.intro__inner { grid-template-columns: 1fr; }
	.intro__logo { max-width: 360px; }
	.capabilities__list ul { grid-template-columns: 1fr; }
	.about-intro__inner { grid-template-columns: 1fr; }
	.about-intro__logo { order: -1; max-width: 420px; }
	.about-feature { grid-template-columns: 1fr; }
	.about-feature__image { order: -1; }
	.about-feature--reverse .about-feature__image { order: -1; }
	.map-responsive { padding-bottom: 100%; }

	.cta-band__actions { width: 100%; }
	.cta-band__actions .btn { flex: 1 1 auto; }

	.carousel__control--prev { left: 8px; }
	.carousel__control--next { right: 8px; }
	.carousel__slide img { height: 320px; }

	.contact__wrapper { grid-template-columns: 1fr; }
	.contact__info { padding: 28px 24px; }
	.form-row { grid-template-columns: 1fr; gap: 0; }

	.site-footer__content { grid-template-columns: 1fr 1fr; gap: 28px; }
	.site-footer__col--contact { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
	.site-header__phone { font-size: 0; }
	.site-header__phone::before {
		content: "";
		display: block;
		width: 22px;
		height: 22px;
		background: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
	}

	.hero__actions { flex-direction: column; }
	.hero__actions .btn { width: 100%; }

	.product-card { padding: 26px 22px; }
	.feature-card { padding: 22px; }
	.carousel__slide { padding: 12px; }
	.carousel__slide img { height: 260px; }
	.contact__form { padding: 22px 18px; }
	.result__actions .btn { flex: 1 1 auto; }

	.site-footer__content { grid-template-columns: 1fr; }
	.site-footer__bottom { text-align: center; }
}
