/*
 * ECT components.
 * Uses the --ect-* tokens from ect-global.css (shared with energycaretech.store).
 * Fallback values match the approved design system so the theme renders
 * correctly even before ect-global.css is copied into assets/css/.
 *
 * Sections:
 *  1. Tokens & base          6. Home blocks (stats, chips, families, cards)
 *  2. Buttons & utilities    7. Features, splits, pillars, bands
 *  3. Header & navigation    8. Product line (tables, brands, standards)
 *  4. Search                 9. Quote form & contact
 *  5. Hero                  10. Footer & sticky bar
 */

/* 1. Tokens & base ------------------------------------------------------- */
:root {
	--_navy: var(--ect-navy, #1B2E4B);
	--_navy-deep: #12203A;
	--_orange: var(--ect-orange, #E35E14);
	--_orange-hover: var(--ect-orange-hover, #C94E0D);
	--_sky: var(--ect-sky, #1C6EA4);
	--_heading: var(--ect-heading, #111827);
	--_body: var(--ect-body, #1F2937);
	--_muted: var(--ect-muted, #6B7889);
	--_bg: var(--ect-bg, #F4F6F8);
	--_border: var(--ect-border, #D1D8E0);
	--_danger: #B42318;
	--_ok: #0D5C46;
	--_radius: 8px;
	--_radius-lg: 14px;
	--_shadow: 0 10px 30px rgba(17, 24, 39, .10);
	--_font: var(--ect-font, "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif);
	--_wide: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }

body {
	margin: 0;
	font-family: var(--_font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--_body);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--_heading); line-height: 1.2; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); margin: 0 0 16px; }
h3 { font-size: 1.25rem; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--_sky); }
a:hover { color: var(--_navy); }
:focus-visible { outline: 3px solid var(--_orange); outline-offset: 2px; }
address { font-style: normal; }

/* 2. Buttons & utilities --------------------------------------------------- */
.ect-sr-only {
	position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
	overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}
.ect-skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.ect-skip:focus { left: 8px; }

.ect-container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.ect-container--narrow { width: min(880px, 100% - 32px); }
.ect-content { padding-block: 40px; }
.ect-section { padding-block: clamp(48px, 7vw, 88px); }
.ect-section__head { max-width: 760px; margin-bottom: 32px; }
.ect-section__intro { font-size: 1.125rem; color: var(--_muted); margin: 0; }
.ect-eyebrow {
	margin: 0 0 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: var(--_orange);
}
.ect-eyebrow--light { color: #F8B38A; }
.ect-prose p { max-width: 70ch; }
.ect-link-arrow { font-weight: 600; text-decoration: none; color: var(--_orange); }
.ect-link-arrow::after { content: " →"; }
.ect-link-arrow:hover { color: var(--_orange-hover); text-decoration: underline; }

.ect-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px; border-radius: var(--_radius);
	font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer;
	font-size: 1rem; line-height: 1.2; font-family: inherit;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.ect-btn--primary { background: var(--_orange); color: #fff; }
.ect-btn--primary:hover { background: var(--_orange-hover); color: #fff; }
.ect-btn--secondary { background: #fff; color: var(--_navy); border-color: var(--_navy); }
.ect-btn--secondary:hover { background: var(--_navy); color: #fff; }
.ect-btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.ect-btn--outline:hover { background: #fff; color: var(--_navy); }
.ect-btn--light { background: #fff; color: var(--_navy); }
.ect-btn--light:hover { background: #E5ECF5; color: var(--_navy); }
.ect-btn--ghost { background: transparent; color: var(--_navy); text-decoration: underline; }
.ect-btn[disabled] { opacity: .6; cursor: progress; }

.ect-checklist { columns: 2 280px; column-gap: 32px; padding: 0; list-style: none; }
.ect-checklist li { position: relative; padding-left: 28px; margin-bottom: 10px; break-inside: avoid; }
.ect-checklist li::before {
	content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px;
	border-left: 3px solid var(--_orange); border-bottom: 3px solid var(--_orange); transform: rotate(-45deg);
}
.ect-checklist--single { columns: 1; }

/* 3. Header & navigation --------------------------------------------------- */
.ect-topbar { background: var(--_navy); color: #C9D6E8; font-size: .875rem; }
.ect-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; width: min(var(--_wide), 100% - 32px); }
.ect-topbar__claim { margin: 0; }
.ect-topbar__links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.ect-topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.ect-topbar a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 767px) {
	.ect-topbar__claim { display: none; }
	.ect-topbar__inner { justify-content: center; }
}

.ect-header {
	background: #fff; position: sticky; top: 0; z-index: 40;
	border-bottom: 1px solid var(--_border); box-shadow: 0 2px 12px rgba(17, 24, 39, .05);
}
.ect-header__inner {
	width: min(var(--_wide), 100% - 32px); margin-inline: auto; padding-block: 10px;
	display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px 24px; align-items: center;
}
.ect-header__brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--_navy); font-weight: 700; }
.ect-logo { height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.ect-header__name { font-size: 1.125rem; }
.ect-header__search { grid-column: 1 / -1; }
.ect-header__nav { justify-self: end; }

.ect-menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.ect-menu > li { position: relative; }
.ect-menu a {
	display: block; padding: 10px 12px; color: var(--_heading); text-decoration: none;
	font-weight: 500; border-radius: 6px; white-space: nowrap;
}
.ect-menu a:hover, .ect-menu .current-menu-item > a, .ect-menu .current-menu-ancestor > a { color: var(--_orange); }
.ect-menu .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 3px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.ect-menu .sub-menu {
	display: none; position: absolute; left: 0; top: 100%; min-width: 260px; list-style: none; margin: 0;
	padding: 8px; background: #fff; border: 1px solid var(--_border); border-radius: var(--_radius); box-shadow: var(--_shadow);
}
.ect-menu > li:first-child > .sub-menu { display: none; grid-template-columns: repeat(2, minmax(220px, 1fr)); min-width: 520px; }
.ect-menu > li:hover > .sub-menu, .ect-menu > li:focus-within > .sub-menu { display: block; }
.ect-menu > li:first-child:hover > .sub-menu, .ect-menu > li:first-child:focus-within > .sub-menu { display: grid; }
.ect-menu .sub-menu a { font-weight: 400; padding: 8px 10px; }
.ect-menu .sub-menu a:hover { background: var(--_bg); color: var(--_navy); }

/* Mobile menu: native <details>, no JavaScript needed. */
.ect-mnav { display: none; position: relative; }
.ect-mnav__toggle {
	list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center;
	border: 1px solid var(--_border); border-radius: var(--_radius);
}
.ect-mnav__toggle::-webkit-details-marker { display: none; }
.ect-mnav__icon, .ect-mnav__icon::before, .ect-mnav__icon::after {
	display: block; width: 20px; height: 2px; background: var(--_navy); position: relative; content: "";
}
.ect-mnav__icon::before { position: absolute; top: -6px; }
.ect-mnav__icon::after { position: absolute; top: 6px; }
.ect-mnav[open] .ect-mnav__icon { background: transparent; }
.ect-mnav[open] .ect-mnav__icon::before { top: 0; transform: rotate(45deg); }
.ect-mnav[open] .ect-mnav__icon::after { top: 0; transform: rotate(-45deg); }
.ect-mnav__panel {
	position: absolute; right: 0; top: calc(100% + 10px); width: min(340px, 100vw - 32px);
	max-height: calc(100vh - 140px); overflow: auto; background: #fff; border: 1px solid var(--_border);
	border-radius: var(--_radius); box-shadow: var(--_shadow); padding: 12px; display: grid; gap: 12px;
}
.ect-mnav__menu, .ect-mnav__menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.ect-mnav__menu .sub-menu { padding-left: 14px; border-left: 2px solid var(--_border); margin: 2px 0 8px 10px; }
.ect-mnav__menu a { display: block; padding: 8px 6px; color: var(--_heading); text-decoration: none; font-weight: 500; }
.ect-mnav__menu .sub-menu a { font-weight: 400; font-size: .9375rem; padding-block: 6px; }

@media (min-width: 1280px) {
	.ect-header__inner { grid-template-columns: auto 1fr minmax(260px, 340px) auto; }
	.ect-header__search { grid-column: auto; grid-row: 1; grid-column-start: 3; }
	.ect-header__cta { grid-column-start: 4; grid-row: 1; }
}
@media (max-width: 1023px) {
	.ect-header__nav { display: none; }
	.ect-mnav { display: block; }
	.ect-header__inner { grid-template-columns: 1fr auto auto; }
}
@media (max-width: 767px) {
	.ect-header { position: relative; }
	.ect-header__cta { display: none; }
	.ect-header__inner { grid-template-columns: 1fr auto; }
	.ect-logo { height: 40px; }
}

/* 4. Search ----------------------------------------------------------------- */
.ect-search { position: relative; }
.ect-search__field { display: flex; background: #fff; border-radius: var(--_radius); border: 1px solid var(--_border); }
.ect-search__input {
	flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 14px;
	font: inherit; color: var(--_body); border-radius: var(--_radius) 0 0 var(--_radius);
}
.ect-search__input:focus { outline: none; }
.ect-search__field:focus-within { outline: 3px solid var(--_orange); outline-offset: 1px; }
.ect-search__submit {
	border: 0; background: var(--_orange); color: #fff; font-weight: 600; padding: 0 18px;
	border-radius: 0 var(--_radius) var(--_radius) 0; cursor: pointer; font: inherit;
}
.ect-search__submit:hover { background: var(--_orange-hover); }
.ect-search--hero .ect-search__field { border: 0; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.ect-search--hero .ect-search__input { padding: 16px 18px; font-size: 1.0625rem; }
.ect-search--hero .ect-search__submit { padding: 0 26px; font-size: 1.0625rem; }
.ect-search__panel {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px);
	background: #fff; color: var(--_body); border: 1px solid var(--_border); border-radius: var(--_radius);
	box-shadow: 0 12px 32px rgba(17, 24, 39, .16); max-height: min(70vh, 560px); overflow: auto; padding: 8px; z-index: 50;
}
.ect-search--hero .ect-search__panel { position: static; margin-top: 8px; }
.ect-search__status { margin: 4px 8px 8px; font-size: .875rem; color: var(--_muted); }
.ect-search__list { list-style: none; margin: 0; padding: 0; }
.ect-result {
	display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
	padding: 10px 12px; border-radius: 6px;
}
.ect-result[aria-selected="true"], .ect-result:hover { background: var(--_bg); }
.ect-result__main { text-decoration: none; color: inherit; display: block; min-width: 0; }
.ect-result__label { display: block; font-weight: 600; color: var(--_heading); }
.ect-result__meta { display: block; font-size: .875rem; color: var(--_muted); }
.ect-result__quote { font-weight: 600; color: var(--_orange); white-space: nowrap; }
.ect-result__store { grid-column: 1 / -1; font-size: .875rem; }
.ect-search__store, .ect-search__fallback { border-top: 1px solid var(--_border); margin-top: 8px; padding: 12px 8px 4px; }
.ect-search__store-title, .ect-search__fallback-title { font-weight: 600; margin: 0 0 4px; color: var(--_heading); }
.ect-search__fallback-text { margin: 0 0 12px; font-size: .9375rem; }
.ect-search__fallback-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ect-search__store-list { margin: 0; padding-left: 18px; }

/* 5. Hero -------------------------------------------------------------------- */
.ect-hero {
	position: relative; isolation: isolate; overflow: hidden; color: #fff;
	background: var(--_navy); padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px);
}
.ect-hero__media { position: absolute; inset: 0; z-index: -1; }
.ect-hero__img, .ect-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ect-hero__video { opacity: 0; transition: opacity .9s ease; }
.ect-hero__video.is-playing { opacity: 1; }
.ect-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(18, 32, 58, .95) 0%, rgba(27, 46, 75, .86) 42%, rgba(27, 46, 75, .45) 100%);
}
.ect-hero__inner { position: relative; }
.ect-hero__kicker { color: #F8B38A; font-weight: 600; margin: 0 0 10px; letter-spacing: .01em; }
.ect-hero__title { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 16px; max-width: 24ch; overflow-wrap: anywhere; }
.ect-hero__intro { max-width: 62ch; font-size: 1.125rem; color: #E5ECF5; margin: 0; }
.ect-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ect-hero__search { max-width: 720px; margin-top: 28px; }

.ect-hero--home { padding-block: clamp(64px, 10vw, 136px) clamp(56px, 8vw, 104px); min-height: min(86vh, 760px); display: flex; align-items: center; }
.ect-hero--home .ect-hero__inner { width: min(1200px, 100% - 32px); }
.ect-hero--home .ect-hero__title { font-size: clamp(2rem, 4.2vw, 3.25rem); max-width: 26ch; }
.ect-hero--compact .ect-hero__title { max-width: 30ch; }
.ect-hero--slim { padding-block: 40px 36px; }

.ect-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .875rem; }
.ect-crumbs li + li::before { content: "/"; margin-right: 6px; color: #8FA3BF; }
.ect-crumbs a { color: #C9D6E8; text-decoration: none; }
.ect-crumbs a:hover { color: #fff; text-decoration: underline; }
.ect-crumbs [aria-current] { color: #fff; }

@media (max-width: 767px) {
	.ect-hero__media::after { background: linear-gradient(180deg, rgba(18, 32, 58, .88) 0%, rgba(27, 46, 75, .92) 100%); }
	.ect-hero--home { min-height: 0; }
}

/* 6. Home blocks ------------------------------------------------------------ */
.ect-stats { background: #fff; border-bottom: 1px solid var(--_border); }
.ect-stats__list { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.ect-stats__item { padding: 28px 20px; border-left: 1px solid var(--_border); display: grid; gap: 4px; }
.ect-stats__item:first-child { border-left: 0; padding-left: 0; }
.ect-stats__value { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; color: var(--_navy); line-height: 1.1; }
.ect-stats__label { color: var(--_muted); font-size: .9375rem; }
@media (max-width: 767px) {
	.ect-stats__list { grid-template-columns: 1fr 1fr; }
	.ect-stats__item { padding: 18px 12px; border-left: 0; border-top: 1px solid var(--_border); }
	.ect-stats__item:nth-child(-n+2) { border-top: 0; }
	.ect-stats__item:first-child { padding-left: 12px; }
}

.ect-popular { background: var(--_bg); padding-block: 36px; }
.ect-popular__title { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--_muted); margin-bottom: 12px; }
.ect-popular__note { margin: 16px 0 0; color: var(--_muted); }
.ect-chips, .ect-jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ect-chip, .ect-jump a, .ect-line__brands a {
	display: inline-block; padding: 7px 14px; border: 1px solid var(--_border); border-radius: 999px;
	background: #fff; color: var(--_navy); text-decoration: none; font-weight: 500; font-size: .9375rem;
}
.ect-chip:hover, .ect-jump a:hover, .ect-line__brands a:hover { border-color: var(--_orange); color: var(--_orange); }
.ect-jump { padding-top: 28px; }

.ect-family { scroll-margin-top: 110px; }
.ect-family + .ect-family { margin-top: 48px; }
.ect-family__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-bottom: 20px; border-bottom: 2px solid var(--_navy); padding-bottom: 10px; }
.ect-family__title { margin: 0; font-size: 1.375rem; }
.ect-family__intro { margin: 0; color: var(--_muted); }

.ect-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ect-card__link {
	display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fff;
	border: 1px solid var(--_border); border-radius: var(--_radius-lg); overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ect-card__link:hover { transform: translateY(-3px); box-shadow: var(--_shadow); border-color: transparent; color: inherit; }
.ect-card__media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--_navy), #2C4A74); overflow: hidden; }
.ect-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ect-card__link:hover .ect-card__img { transform: scale(1.04); }
.ect-card__body { display: grid; gap: 6px; padding: 16px 18px 18px; flex: 1; align-content: start; }
.ect-card__title { margin: 0; font-size: 1.125rem; }
.ect-card__text { color: var(--_muted); font-size: .9375rem; }
.ect-card__more { margin-top: 4px; font-weight: 600; font-size: .9375rem; color: var(--_orange); }
.ect-card__more::after { content: " →"; }

/* 7. Features, splits, pillars, bands --------------------------------------- */
.ect-process { background: var(--_bg); }
.ect-process__inner { display: grid; gap: 40px; }
.ect-process--media .ect-process__inner { grid-template-columns: 1.1fr .9fr; align-items: center; }
.ect-process__figure, .ect-split__figure { margin: 0; border-radius: var(--_radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--_navy), #2C4A74); aspect-ratio: 4 / 3; }
.ect-figure-img { width: 100%; height: 100%; object-fit: cover; }
.ect-steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; margin: 0; }
.ect-steps li { counter-increment: s; padding-left: 48px; position: relative; }
.ect-steps li::before {
	content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
	background: var(--_navy); color: #fff; display: grid; place-items: center; font-weight: 700;
}
@media (max-width: 1023px) {
	.ect-process--media .ect-process__inner { grid-template-columns: 1fr; }
}

.ect-services { background: #fff; }
.ect-features { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ect-feature { border: 1px solid var(--_border); border-radius: var(--_radius-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.ect-feature__media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--_navy), #2C4A74); overflow: hidden; }
.ect-feature__img { width: 100%; height: 100%; object-fit: cover; }
.ect-feature__body { padding: 22px 24px 26px; }
.ect-feature__title { margin: 0 0 8px; }
.ect-feature__title a { color: var(--_heading); text-decoration: none; }
.ect-feature__title a:hover { color: var(--_orange); }

.ect-split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ect-split--reverse .ect-split__figure { order: 2; }
.ect-split + .ect-split { padding-top: 0; }
@media (max-width: 860px) {
	.ect-split__inner { grid-template-columns: 1fr; }
	.ect-split--reverse .ect-split__figure { order: 0; }
}

.ect-pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ect-pillars--two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.ect-pillar { background: var(--_bg); border-radius: var(--_radius-lg); padding: 22px 24px; border-top: 4px solid var(--_orange); }
.ect-pillar__title { font-size: 1.125rem; margin: 0 0 8px; }
.ect-pillar p { margin: 0; }

.ect-store-band { background: var(--_navy); color: #E5ECF5; padding-block: clamp(44px, 6vw, 72px); }
.ect-store-band h2 { color: #fff; }
.ect-store-band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.ect-store-band__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ect-store-band__links a {
	display: block; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--_radius);
	color: #fff; text-decoration: none; font-weight: 600;
}
.ect-store-band__links a::after { content: " ↗"; color: #F8B38A; }
.ect-store-band__links a:hover { background: rgba(255, 255, 255, .08); border-color: #F8B38A; color: #fff; }
@media (max-width: 860px) {
	.ect-store-band__inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.ect-store-band__links { grid-template-columns: 1fr; }
}

.ect-cta-band { background: linear-gradient(135deg, var(--_navy-deep), var(--_navy)); color: #E5ECF5; padding-block: clamp(40px, 6vw, 64px); }
.ect-cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.ect-cta-band__title { color: #fff; margin: 0 0 6px; font-size: clamp(1.375rem, 2.4vw, 1.875rem); }
.ect-cta-band__text { margin: 0; max-width: 62ch; }
.ect-cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ect-home__quote, .ect-line__quote { background: var(--_bg); }

/* 8. Product line ------------------------------------------------------------ */
.ect-line__supply-inner { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 960px) {
	.ect-line__supply-inner { grid-template-columns: 1fr; }
}
.ect-quickask {
	background: #fff; border: 1px solid var(--_border); border-top: 4px solid var(--_orange);
	border-radius: var(--_radius-lg); padding: 22px 24px; box-shadow: var(--_shadow); display: grid; gap: 10px;
}
.ect-quickask p { margin: 0; }
.ect-quickask__title { font-weight: 700; color: var(--_heading); font-size: 1.125rem; }

.ect-line__models { background: var(--_bg); }
.ect-line__models-intro { font-size: 1.0625rem; max-width: 75ch; margin: 0 0 8px; }
.ect-line__models-note { color: var(--_muted); }
.ect-line__brands { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ect-maker { margin-top: 36px; scroll-margin-top: 110px; }
.ect-maker__title { font-size: 1.375rem; margin-bottom: 4px; }
.ect-maker__note { color: var(--_muted); margin-top: 0; }
.ect-table-wrap { overflow-x: auto; max-width: 100%; margin-bottom: 24px; }
.ect-models { width: 100%; border-collapse: collapse; background: #fff; font-size: .9375rem; border-radius: var(--_radius); }
.ect-models caption { text-align: left; font-weight: 600; padding: 8px 0; color: var(--_heading); }
.ect-models th, .ect-models td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--_border); vertical-align: top; }
.ect-models thead th { background: #E9EDF2; font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; color: var(--_muted); }
.ect-models tbody th { white-space: nowrap; }
.ect-models tbody tr { scroll-margin-top: 130px; }
.ect-models tbody tr:target { background: #FFF4EC; outline: 2px solid var(--_orange); }
.ect-models__quote { font-weight: 600; color: var(--_orange); white-space: nowrap; }
.ect-models td, .ect-models th { overflow-wrap: anywhere; }
.ect-models__action { width: 1%; }

/* Mobile: each model becomes a card, nothing scrolls sideways. */
@media (max-width: 639px) {
	.ect-models, .ect-models tbody, .ect-models tr, .ect-models th, .ect-models td { display: block; width: 100%; }
	.ect-models { background: transparent; }
	.ect-models caption { display: block; width: 100%; }
	.ect-models thead { display: none; }
	.ect-models tbody tr { border: 1px solid var(--_border); border-radius: var(--_radius); margin-bottom: 12px; padding: 4px 0; background: #fff; }
	.ect-models th, .ect-models td { border-bottom: 0; padding: 6px 14px; }
	.ect-models tbody th { font-size: 1.0625rem; white-space: normal; }
	.ect-models td[data-label]::before, .ect-models tbody th[data-label]::before {
		content: attr(data-label); display: block; font-size: .75rem; text-transform: uppercase;
		letter-spacing: .04em; color: var(--_muted);
	}
	.ect-models tbody th[data-label="Model"]::before { content: none; }
	.ect-models__action { width: 100%; padding-bottom: 12px !important; }
}
.ect-aka summary { cursor: pointer; }

.ect-line__standards { background: var(--_bg); }
.ect-models--standards tbody th { width: 220px; }

.ect-brandgroup__title { font-size: 1.0625rem; margin: 28px 0 12px; color: var(--_navy); }
.ect-brandgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ect-brand {
	display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: start; scroll-margin-top: 130px;
	border: 1px solid var(--_border); border-radius: var(--_radius); padding: 12px 14px; background: #fff;
}
.ect-brand:target { outline: 2px solid var(--_orange); background: #FFF4EC; }
.ect-brand__name { font-weight: 600; color: var(--_heading); }
.ect-brand__note { grid-column: 1 / -1; grid-row: 2; font-size: .875rem; color: var(--_muted); }
.ect-brand__quote { font-weight: 600; color: var(--_orange); font-size: .9375rem; }

.ect-faq { border-bottom: 1px solid var(--_border); padding-block: 14px; }
.ect-faq summary { cursor: pointer; font-weight: 600; color: var(--_heading); }
.ect-faq p { margin: 10px 0 0; }
.ect-line__related { background: #fff; }

/* 9. Quote form & contact --------------------------------------------------- */
.ect-quote { background: #fff; border: 1px solid var(--_border); border-radius: 12px; padding: clamp(20px, 4vw, 40px); scroll-margin-top: 110px; box-shadow: var(--_shadow); }
.ect-quote__title { margin-top: 0; }
.ect-quote__form { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .ect-quote__form { grid-template-columns: 1fr 1fr; } }
.ect-field--full, .ect-quote__actions, .ect-quote__result { grid-column: 1 / -1; }
.ect-field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--_heading); }
.ect-field input, .ect-field select, .ect-field textarea {
	width: 100%; font: inherit; color: var(--_body); padding: 10px 12px; min-height: 44px;
	border: 1px solid var(--_border); border-radius: var(--_radius); background: #fff;
}
.ect-field.is-invalid input, .ect-field.is-invalid textarea { border-color: var(--_danger); }
.ect-field__error { color: var(--_danger); margin: 4px 0 0; font-size: .875rem; min-height: 0; }
.ect-field__error:empty { display: none; }
.ect-field__help { color: var(--_muted); font-size: .875rem; margin: 4px 0 0; }
.ect-req, .ect-opt { font-weight: 400; font-size: .8125rem; color: var(--_muted); }
.ect-quote__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ect-quote__privacy { color: var(--_muted); font-size: .875rem; margin: 8px 0 0; }
.ect-quote__alert, .ect-quote__result.is-error {
	border-left: 4px solid var(--_danger); background: #FEF3F2; padding: 12px 16px; border-radius: 6px;
}
.ect-quote__fallback { display: flex; flex-wrap: wrap; gap: 8px; }
.ect-quote__success { border-left: 4px solid var(--_ok); background: #ECFDF3; padding: 16px 20px; border-radius: 6px; }
.ect-quote__success-title, .ect-quote__result-title { font-weight: 700; color: var(--_heading); margin: 0 0 6px; }
.ect-quote__warning { color: #7A4800; }
.ect-quote__alt { margin-top: 20px; font-size: .9375rem; color: var(--_muted); }

.ect-quote-page { background: var(--_bg); }
.ect-quote-page__inner { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
@media (max-width: 960px) {
	.ect-quote-page__inner { grid-template-columns: 1fr; }
}
.ect-contact-card { background: #fff; border: 1px solid var(--_border); border-radius: var(--_radius-lg); padding: 22px 24px; position: sticky; top: 130px; }
.ect-contact-card__title { font-size: 1.25rem; margin: 0 0 12px; }
.ect-contact-card__list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; }
.ect-contact-card__list span { display: block; font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--_muted); }
.ect-contact-card__list a { font-weight: 600; overflow-wrap: anywhere; }
.ect-contact-card__note { font-size: .9375rem; color: var(--_muted); margin: 0; }
.ect-offices { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ect-offices h3 { font-size: 1.0625rem; margin: 0 0 6px; }

.ect-entry__title { margin-top: 0; }
.ect-admin-note { background: #FFF4EC; border-left: 4px solid var(--_orange); padding: 12px 16px; }

/* 10. Footer & sticky bar ---------------------------------------------------- */
.ect-footer { background: var(--_navy-deep); color: #C9D6E8; padding: 56px 0 96px; font-size: .9375rem; }
.ect-footer a { color: #fff; text-decoration: none; }
.ect-footer a:hover { text-decoration: underline; color: #fff; }
.ect-footer .ect-btn--primary:hover { text-decoration: none; }
.ect-footer__inner { width: min(1200px, 100% - 32px); margin-inline: auto; display: grid; gap: 32px; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
@media (max-width: 1023px) { .ect-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ect-footer__inner { grid-template-columns: 1fr; } }
.ect-footer__brand { font-size: 1.25rem; font-weight: 700; color: #fff; margin: 0 0 8px; }
.ect-footer__heading { font-weight: 700; color: #fff; margin: 0 0 10px; font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; }
.ect-footer__heading + address, .ect-footer__heading + p { margin-top: 0; }
.ect-footer address, .ect-footer__col > p { margin-bottom: 20px; }
.ect-footer__menu { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.ect-footer__menu .sub-menu { display: none; }
.ect-footer__legal { width: min(1200px, 100% - 32px); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; color: #8FA3BF; }

.ect-sticky {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex;
	background: #fff; border-top: 1px solid var(--_border); box-shadow: 0 -6px 16px rgba(17, 24, 39, .08);
	padding-bottom: env(safe-area-inset-bottom);
}
.ect-sticky a { flex: 1; text-align: center; padding: 14px 8px; font-weight: 600; text-decoration: none; color: var(--_navy); }
.ect-sticky .ect-sticky__quote { background: var(--_orange); color: #fff; flex: 2; }
@media (min-width: 768px) {
	.ect-sticky { display: none; }
	.ect-footer { padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
	.ect-hero__video { display: none; }
}
