/**
 * Industry pack: HVAC.
 *
 * Two jobs, kept in one file on purpose:
 *   1) vertical token overrides (unlayered, so they win by cascade);
 *   2) the HVAC component layer: buttons, footer, cards, hero chrome.
 *
 * Layout contract enforced here (fixes the header/footer/content
 * misalignment at its root): there is exactly ONE page boundary.
 *   --ww-shell-width = max page width (1216px)
 *   --ww-gutter       = the page inset inside that boundary
 * Every full-bleed band (header, hero, footer) and every content shell
 * aligns to the same boundary minus the same gutter, so nothing can
 * drift left or right relative to anything else.
 */

:root {
	--ww-navy: #0e2a47;
	--ww-navy-deep: #0a2038;
	--ww-ink: #14232e;
	--ww-accent: #1868d8;
	--ww-accent-deep: #0f4c9c;
	--ww-tint: #e1ebf4;
	--ww-paper: #edf2f7;
	--ww-line: #cfdce7;
	--ww-heat: #d9481c;
	--ww-cool: #1868d8;
	--ww-display: "Barlow Condensed", "Arial Narrow", Inter, system-ui, sans-serif;
	/* One boundary for header, hero, content and footer. All four bands
	   inset by --ww-gutter, so every box shares the same left/right edge. */
	--ww-shell-width: 1216px;
	--ww-band: 1216px;
}

@font-face {
	font-family: "Barlow Condensed";
	src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Barlow Condensed";
	src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ---- Single page boundary, applied to every band and every shell ---- */
.ww-site-header__inner,
.ww-bleed__inner,
.ww-site-footer__inner,
.ww-site-footer__bottom,
.ww-shell,
.ww-page-shell,
.ww-block,
.ww-page-intro {
	width: 100%;
	max-width: var(--ww-band);
	margin-inline: auto;
	padding-inline: var(--ww-gutter);
}

/* Inner content of a shell already sits inside the boundary: no double inset. */
.ww-shell .ww-block,
.ww-shell .ww-page-intro,
.ww-shell .ww-grid,
.ww-shell .ww-empty,
.ww-shell .ww-disclosure {
	max-width: none;
	padding-inline: 0;
}

@media (max-width: 700px) {
	.ww-site-header__inner,
	.ww-bleed__inner,
	.ww-site-footer__inner,
	.ww-site-footer__bottom,
	.ww-shell,
	.ww-page-shell,
	.ww-block,
	.ww-page-intro {
		padding-inline: var(--ww-gutter-mobile);
	}
}

/* ---- Type: condensed trade headings, readable body ---- */
.ww-home-hero h1,
.ww-block--section .ww-section-heading h2,
.ww-card--tool .ww-card__title,
.ww-footer-col__title,
.ww-detail-hero h1 {
	font-family: var(--ww-display);
	font-weight: 700;
	letter-spacing: -0.01em;
}

/* ---- Buttons: white on navy in every state ---- */
.ww-button-primary,
.ww-button-primary:link,
.ww-button-primary:visited,
.ww-page-shell a.ww-button-primary,
.ww-page-shell a.ww-button-primary:link,
.ww-page-shell a.ww-button-primary:visited {
	border-color: var(--ww-navy);
	background: var(--ww-navy);
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(14, 42, 71, 0.24);
}

.ww-button-primary:hover,
.ww-button-primary:focus-visible,
.ww-page-shell a.ww-button-primary:hover,
.ww-page-shell a.ww-button-primary:focus-visible {
	border-color: var(--ww-navy-deep);
	background: var(--ww-navy-deep);
	color: #ffffff;
}

.ww-button--hero,
.ww-button--hero:link,
.ww-button--hero:visited {
	border: 2px solid #ffffff;
	background: #ffffff;
	color: var(--ww-navy);
	box-shadow: 0 10px 26px rgba(6, 20, 34, 0.35);
}

.ww-button--hero:hover,
.ww-button--hero:focus-visible {
	border-color: var(--ww-heat);
	background: var(--ww-heat);
	color: #ffffff;
}

.ww-button--ghost,
.ww-button--ghost:link,
.ww-button--ghost:visited {
	border: 2px solid rgba(255, 255, 255, 0.55);
	background: transparent;
	color: #ffffff;
	box-shadow: none;
}

.ww-button--ghost:hover,
.ww-button--ghost:focus-visible {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.ww-header-cta,
.ww-header-cta:link,
.ww-header-cta:visited {
	border: 2px solid #1560c4;
	background: #1560c4;
	color: #ffffff;
	box-shadow: none;
}

.ww-header-cta:hover,
.ww-header-cta:focus-visible {
	border-color: var(--ww-navy-deep);
	background: var(--ww-navy-deep);
	color: #ffffff;
}

/* ---- Hero: cooling -> heating signature band ---- */
.ww-block--hero.ww-home-hero {
	background: linear-gradient(180deg, #0b2338 0%, var(--ww-navy) 100%);
	border-bottom: 0;
	padding-bottom: 4px;
	border-image: none;
}

.ww-block--hero.ww-home-hero::after {
	content: "";
	display: block;
	height: 4px;
	background: linear-gradient(90deg, var(--ww-cool) 0%, var(--ww-cool) 55%, var(--ww-heat) 100%);
}

.ww-hero__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	padding: 6px 14px;
	color: #ffffff;
	font-family: var(--ww-display);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ww-hero__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.ww-hero__dot--cool {
	background: #4da3ff;
}

.ww-hero__dot--heat {
	background: var(--ww-heat);
}

.ww-home-hero h1 {
	font-size: clamp(2.1rem, 3.6vw, 3.1rem);
	line-height: 1.02;
	text-wrap: balance;
}

.ww-home-hero .ww-hero__media img {
	filter: drop-shadow(0 18px 40px rgba(4, 16, 28, 0.45));
}

.ww-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.ww-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.82rem;
	font-weight: 600;
}

.ww-hero__trust li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ww-cool);
	box-shadow: 0 0 0 3px rgba(24, 104, 216, 0.22);
}

/* ---- Calculator cards: category-accented left rail ---- */
.ww-card--tool,
.ww-card--calculator {
	position: relative;
	border-color: var(--ww-line);
	border-radius: 10px;
	padding: 24px 24px 22px 30px;
}

.ww-card--tool::before {
	content: "";
	position: absolute;
	inset: 18px auto 18px 14px;
	width: 4px;
	border-radius: 999px;
	background: var(--ww-cool);
}

.ww-card--cat-efficiency-cost::before {
	background: var(--ww-heat);
}

.ww-card--cat-duct-airflow::before {
	background: #0f9d8f;
}

.ww-card--cat-diagnostics::before {
	background: #b45309;
}

.ww-card--cat-retrofit::before {
	background: #7a5cc4;
}

.ww-card--tool .ww-card__label {
	color: var(--ww-accent-deep);
}

.ww-card--tool .ww-card__title {
	font-size: 1.5rem;
	line-height: 1.08;
}

.ww-card--tool .ww-card__action {
	color: var(--ww-accent-deep);
	font-weight: 800;
}

.ww-card:hover,
.ww-card--tool:hover {
	border-color: color-mix(in srgb, var(--ww-cool) 45%, var(--ww-line));
	box-shadow: 0 10px 26px rgba(14, 42, 71, 0.08);
}

.ww-card__title a:link,
.ww-card__title a:visited {
	color: var(--ww-navy);
}

.ww-card__title a:hover,
.ww-card__title a:focus-visible {
	color: var(--ww-accent-deep);
}

/* ---- Footer: 4-column marketing footer on the same boundary ---- */
.ww-site-footer {
	display: block;
	width: 100%;
	margin: 40px 0 0;
	padding: 0;
	border-top: 0;
	background: var(--ww-navy);
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.84rem;
}

.ww-site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, max-content));
	column-gap: 64px;
	row-gap: 44px;
	padding-top: 52px;
	padding-bottom: 36px;
}

.ww-footer-brand {
	min-width: 0;
}

.ww-footer-brand__tagline,
.ww-footer-brand__note {
	max-width: 36ch;
}

.ww-site-footer .ww-brand__mark {
	background: var(--ww-cool);
	color: #ffffff;
}

.ww-site-footer .ww-brand__fallback .ww-brand__name {
	color: #ffffff;
	font-family: var(--ww-display);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.ww-footer-brand__tagline {
	max-width: 36ch;
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.6;
}

.ww-footer-brand__note {
	max-width: 40ch;
	margin: 10px 0 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.78rem;
	line-height: 1.55;
}

.ww-footer-col__title {
	margin: 0 0 16px;
	color: #ffffff;
	font-size: 1.05rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.ww-footer-col__list {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ww-footer-col__list a,
.ww-site-footer .ww-footer-col__list li a {
	display: inline-block;
	padding: 0;
	color: rgba(255, 255, 255, 0.78);
	font-weight: 600;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.ww-footer-col__list a:hover,
.ww-footer-col__list a:focus-visible {
	color: #ffffff;
	text-decoration: underline;
}

.ww-site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 28px;
	padding-top: 18px;
	padding-bottom: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.78rem;
}

.ww-site-footer__bottom p {
	margin: 0;
	min-width: 0;
}

.ww-site-footer__copy {
	color: rgba(255, 255, 255, 0.8);
	font-weight: 600;
}

@media (max-width: 1000px) {
	.ww-site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, max-content));
		justify-content: space-between;
		column-gap: 32px;
		row-gap: 36px;
		padding-top: 44px;
	}
}

@media (max-width: 760px) {
	/* Master base drops .ww-site-footer back to block+padding on small
	   screens; the pack owns footer spacing now, so neutralize it. */
	.ww-site-footer {
		padding: 0;
	}
	.ww-footer-nav__list {
		justify-content: flex-start;
	}
}

@media (max-width: 620px) {
	.ww-site-footer__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.ww-site-footer__bottom {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}
}
