/* =========================================================
   Top Quality Cooling, Santa Rosaweg 11, Curaçao
   Ice white, deep navy from their logo, cold blue air,
   a warm orange for the Curaçao heat, and the yellow
   highlighter from their printed price lists.
   ========================================================= */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ice: #F2F7FB;
  --frost: #E2F0FA;
  --frost-2: #CFE6F6;
  --white: #FFFFFF;
  --navy: #0A1E3C;
  --navy-2: #13305A;
  --blue: #1677D2;
  --cyan: #4CC3F0;
  --heat: #FF6A2B;
  --heat-soft: #FFE3D4;
  --marker: #FFE24A;
  --green: #17A35B;
  --ink: #0A1E3C;
  --muted: #5B6B82;
  --line: rgba(10, 30, 60, .12);

  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 74px;
  --r: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 24px 50px -28px rgba(10, 30, 60, .45);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; max-width: 100%; }
body { margin: 0; background: var(--ice); color: var(--ink); font-family: var(--body); font-size: 1.04rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { font-size: max(16px, 1rem); }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
p { margin: 0 0 1em; max-width: 62ch; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 500; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
body.is-locked { overflow: hidden; }

/* three languages: English, Papiamentu, Nederlands */
html[data-lang="en"] [lang="pap"], html[data-lang="en"] [lang="nl"],
html[data-lang="pap"] [lang="en"], html[data-lang="pap"] [lang="nl"],
html[data-lang="nl"] [lang="en"], html[data-lang="nl"] [lang="pap"] { display: none !important; }
html:not([data-lang]) [lang="pap"], html:not([data-lang]) [lang="nl"] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--display); font-stretch: 112%; font-weight: 800; line-height: .98; letter-spacing: -.02em; margin: 0 0 .45em; }
.h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); font-stretch: 118%; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--blue); margin-bottom: .9rem; font-size: .98rem; }
.eyebrow svg { width: 18px; height: 18px; }
.lead { font-size: clamp(1.08rem, 1.45vw, 1.22rem); color: var(--muted); }
.mark { background: linear-gradient(transparent 55%, var(--marker) 55%, var(--marker) 92%, transparent 92%); padding: 0 .08em; }
.muted { color: var(--muted); }
.cold { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .75rem 1.45rem; border-radius: 14px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .25s, color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -14px rgba(22,119,210,.9); }
.btn--blue:hover { background: #0f67b9; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--wa { background: var(--green); color: #fff; }
.btn--wa:hover { background: #128a4c; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--white { background: #fff; color: var(--navy); }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: .4rem 1rem; font-size: .92rem; border-radius: 11px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(242,247,251,.88); -webkit-backdrop-filter: saturate(1.5) blur(12px); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.2rem; }
.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); }
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.logo-word { font-family: var(--display); font-weight: 900; font-stretch: 120%; line-height: .9; font-size: 1.05rem; letter-spacing: -.01em; text-transform: uppercase; }
.logo-word span { display: block; color: var(--blue); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .1rem; }
.nav a { display: block; padding: .5rem .75rem; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav a:hover { background: var(--frost); }
.lang { display: flex; background: var(--frost); border-radius: 12px; padding: 3px; }
.lang button { border: 0; background: none; padding: .3rem .55rem; min-width: 42px; min-height: 38px; border-radius: 9px; font-weight: 700; font-size: .82rem; color: var(--muted); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 6px rgba(10,30,60,.12); }
.lang--menu { display: none !important; }
.quote-btn { position: relative; display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .4rem 1rem; border-radius: 12px; border: 0; background: var(--navy); color: #fff; font-weight: 700; }
.quote-btn svg { width: 20px; height: 20px; }
.q-count { min-width: 22px; height: 22px; border-radius: 99px; background: var(--marker); color: var(--navy); font-size: .78rem; display: grid; place-items: center; padding: 0 6px; transition: transform .3s var(--ease); }
.q-count.bump { transform: scale(1.4); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 22px; } .menu-btn span:nth-child(3) { top: 28px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1360px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); background: var(--ice); padding: 1.5rem var(--gutter); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.9rem; padding: .8rem 0; border-radius: 0; }
  .nav a:hover { background: none; }
  .menu-btn { display: block; }
  .header-inner > .lang { margin-left: auto; }
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ice); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 600px at 78% 30%, hsl(var(--glow-h, 200) 85% 55% / .55), transparent 60%), radial-gradient(700px 500px at 10% 100%, rgba(22,119,210,.35), transparent 60%); transition: background 1s; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,106,43,.55), rgba(255,140,60,.25) 50%, transparent); opacity: var(--heat, 1); transition: opacity 2.2s var(--ease); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem); }
.hero .eyebrow { color: var(--cyan); }
.hero h1 .cool { color: var(--cyan); }
.hero .lead { color: rgba(255,255,255,.78); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2.2rem; color: rgba(255,255,255,.8); font-size: .95rem; }
.hero-facts span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-facts svg { width: 18px; height: 18px; color: var(--cyan); }

.unit-stage { position: relative; }
.unit-card { position: relative; border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.2rem); background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ac-svg { width: 100%; height: auto; overflow: visible; }
.airflow path { fill: none; stroke: url(#air); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 46 22; opacity: .9; animation: flow 1.6s linear infinite; }
.airflow path:nth-child(2) { animation-duration: 2.2s; opacity: .55; }
.airflow path:nth-child(3) { animation-duration: 2.6s; opacity: .4; }
.airflow path:nth-child(4) { animation-duration: 2s; opacity: .7; }
.airflow path:nth-child(5) { animation-duration: 1.9s; opacity: .6; }
.airflow path:nth-child(6) { animation-duration: 2.4s; opacity: .45; }
@keyframes flow { to { stroke-dashoffset: -88; } }
.hero[data-power="off"] .airflow { opacity: 0; }
.airflow { transition: opacity .6s; }
.thermo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; flex-wrap: wrap; }
.thermo-readout { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.thermo-readout small { font-size: .45em; vertical-align: top; margin-left: .05em; }
.thermo-label { font-size: .88rem; color: rgba(255,255,255,.7); }
.thermo-ctrls { display: flex; gap: .5rem; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; font-size: 1.5rem; line-height: 1; transition: background .2s; }
.round:hover { background: rgba(255,255,255,.18); }
.round svg { width: 22px; height: 22px; }
.round[aria-pressed="false"] { color: var(--heat); }
.out-temp { position: absolute; top: -14px; right: 18px; background: var(--heat); color: #fff; font-weight: 700; font-size: .85rem; padding: .3rem .8rem; border-radius: 99px; box-shadow: 0 10px 20px -10px rgba(255,106,43,.8); display: inline-flex; gap: .35rem; align-items: center; }
.out-temp svg { width: 16px; height: 16px; }

/* ---------- Strip ---------- */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; gap: .8rem; align-items: center; padding: 1.3rem 1rem; border-left: 1px solid var(--line); }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-item svg { width: 34px; height: 34px; color: var(--blue); flex-shrink: 0; }
.strip-item b { display: block; font-size: 1rem; line-height: 1.25; }
.strip-item span { font-size: .88rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head > div { max-width: 44rem; }
.section-head .h2 { margin: 0; }
.section-head p { margin: 0; }

/* ---------- BTU calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.2rem, 3vw, 2rem); align-items: stretch; }
.panel { background: #fff; border-radius: 24px; padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow); min-width: 0; }
.ctrl { margin-bottom: 1.5rem; }
.ctrl:last-child { margin-bottom: 0; }
.ctrl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .45rem; font-weight: 600; }
.ctrl-top output { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; height: 36px; accent-color: var(--blue); }
.pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill > span { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem .95rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--ice); font-weight: 600; font-size: .94rem; cursor: pointer; transition: all .2s; }
.pill > span svg { width: 18px; height: 18px; }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.stepper { display: inline-flex; align-items: center; gap: .3rem; background: var(--ice); border-radius: 12px; padding: 3px; }
.stepper button { width: 42px; height: 42px; border: 0; border-radius: 10px; background: #fff; font-size: 1.3rem; font-weight: 700; box-shadow: 0 1px 2px rgba(10,30,60,.1); }
.stepper output { min-width: 34px; text-align: center; font-weight: 800; font-size: 1.1rem; }

.result { background: var(--navy); color: #fff; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.result::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(76,195,240,.45), transparent); }
.floorplan { position: relative; height: 190px; display: grid; place-items: center; margin-bottom: 1.2rem; }
.floorplan svg { width: 100%; height: 190px; overflow: visible; }
.room-rect { fill: rgba(76,195,240,.12); stroke: var(--cyan); stroke-width: 2; transition: all .35s var(--ease); }
.room-dim { fill: rgba(255,255,255,.75); font-size: 12px; font-family: var(--body); font-weight: 600; }
.result-btu { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(3rem, 6vw, 4.4rem); line-height: .95; font-variant-numeric: tabular-nums; }
.result-btu small { font-size: .35em; font-stretch: 100%; margin-left: .2rem; color: var(--cyan); }
.result-need { color: rgba(255,255,255,.7); font-size: .95rem; margin: .4rem 0 1rem; }
.gauge { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: .4rem 0 1.4rem; }
.gauge div { text-align: center; font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.55); }
.gauge div i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.12); margin-bottom: .4rem; transition: background .3s; }
.gauge div.on i { background: var(--cyan); }
.gauge div.on { color: #fff; }
.result-tip { font-size: .9rem; color: rgba(255,255,255,.75); background: rgba(255,255,255,.07); padding: .75rem .9rem; border-radius: 12px; margin-bottom: 1.2rem; }
.result .btn { margin-top: auto; }

/* ---------- Shop ---------- */
.shop { background: #fff; }
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.tabs { display: flex; gap: .4rem; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; border: 1.5px solid var(--line); background: var(--ice); border-radius: 12px; padding: .5rem 1rem; min-height: 44px; font-weight: 700; font-size: .95rem; transition: all .2s; }
.tab[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab small { font-weight: 600; opacity: .65; margin-left: .25rem; }
.install-toggle { display: inline-flex; align-items: center; gap: .7rem; background: var(--ice); border-radius: 14px; padding: .35rem .35rem .35rem 1rem; font-weight: 600; font-size: .95rem; }
.switch { position: relative; width: 58px; height: 32px; border-radius: 99px; border: 0; background: var(--frost-2); transition: background .25s; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(10,30,60,.25); transition: transform .3s var(--ease); }
.switch[aria-checked="true"] { background: var(--blue); }
.switch[aria-checked="true"]::after { transform: translateX(26px); }
.btu-filter { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.6rem; align-items: center; }
.btu-filter .label { font-size: .88rem; color: var(--muted); font-weight: 600; margin-right: .2rem; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: .35rem .9rem; min-height: 40px; font-weight: 600; font-size: .9rem; }
.chip[aria-pressed="true"] { border-color: var(--blue); background: var(--frost); color: var(--blue); }
.reco-flag { display: none; }

.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.product { position: relative; background: var(--ice); border-radius: var(--r); padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; min-width: 0; border: 2px solid transparent; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product.is-reco { border-color: var(--cyan); }
.product.is-reco .reco-flag { display: inline-flex; position: absolute; top: -12px; left: 1rem; background: var(--cyan); color: var(--navy); font-size: .76rem; font-weight: 800; padding: .2rem .65rem; border-radius: 99px; }
.p-art { height: 132px; display: grid; place-items: center; margin-bottom: .8rem; background: linear-gradient(180deg, #fff, var(--frost)); border-radius: 14px; padding: .8rem; }
.p-art svg { width: 100%; height: 100%; }
.p-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .55rem; }
.tag { font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 99px; background: #fff; color: var(--navy-2); border: 1px solid var(--line); }
.tag--inv { background: var(--frost); color: var(--blue); border-color: transparent; }
.tag--r32 { background: #E3F7EC; color: #0E7A43; border-color: transparent; }
.product h3 { font-size: 1.3rem; margin: 0 0 .15rem; }
.p-sub { font-size: .9rem; color: var(--muted); margin: 0 0 .9rem; }
.p-price { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: .6rem; }
.p-price b { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1.45rem; line-height: 1; font-variant-numeric: tabular-nums; display: block; }
.p-price small { display: block; font-size: .78rem; color: var(--muted); margin-top: .25rem; }
.p-add { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; transition: background .2s, transform .2s; }
.p-add svg { width: 20px; height: 20px; }
.p-add:hover { background: var(--blue); }
.p-add.is-added { background: var(--green); }
.shop-note { margin-top: 1.6rem; font-size: .92rem; color: var(--muted); text-align: center; max-width: none; }

/* ---------- Savings ---------- */
.savings { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.savings .eyebrow { color: var(--cyan); }
.savings .lead { color: rgba(255,255,255,.75); }
.savings-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.savings .panel { background: rgba(255,255,255,.06); box-shadow: none; border: 1px solid rgba(255,255,255,.12); }
.savings .pill > span { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.savings .pill input:checked + span { background: #fff; color: var(--navy); border-color: #fff; }
.savings input[type=range] { accent-color: var(--cyan); }
.bars { display: grid; gap: 1.1rem; margin: .4rem 0 1.6rem; }
.bar-row { display: grid; grid-template-columns: 1fr; gap: .35rem; }
.bar-label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: .95rem; }
.bar-label b { font-family: var(--display); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.bar { height: 16px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; transition: width .6s var(--ease); }
.bar--old i { background: linear-gradient(90deg, #FF9B5E, var(--heat)); }
.bar--inv i { background: linear-gradient(90deg, #7FDBFF, var(--cyan)); }
.big-saves { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.big-saves div { background: rgba(255,255,255,.06); border-radius: 16px; padding: 1rem; }
.big-saves b { display: block; font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--cyan); }
.big-saves span { font-size: .85rem; color: rgba(255,255,255,.7); }
.fine { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 1.2rem; max-width: none; }

/* ---------- Ventilation ---------- */
.vent-hero { position: relative; border-radius: 28px; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; margin-bottom: 1.8rem; isolation: isolate; }
.vent-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vent-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,30,60,.92), rgba(10,30,60,.55) 55%, rgba(10,30,60,.15)); }
.vent-hero > div { padding: clamp(1.4rem, 4vw, 3rem); max-width: 40rem; }
.vent-hero .eyebrow { color: var(--cyan); }
.vent-hero p { color: rgba(255,255,255,.82); }
.vent-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.vent-table th, .vent-table td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.vent-table th { font-size: .82rem; color: var(--muted); font-weight: 600; background: var(--ice); }
.vent-table td:last-child, .vent-table th:last-child { text-align: right; }
.vent-table tr:last-child td { border-bottom: 0; }
.vent-table .model { font-family: var(--display); font-stretch: 110%; font-weight: 800; white-space: nowrap; }
.vent-table .price { font-family: var(--display); font-stretch: 108%; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vent-table .ico { width: 72px; min-width: 72px; }
.vent-table .ico svg { width: 56px; height: 40px; max-width: none; }
.show-sm { display: none; }
.flow-bar { display: block; height: 6px; border-radius: 3px; background: var(--frost); margin-top: .35rem; max-width: 160px; }
.flow-bar i { display: block; height: 100%; border-radius: 3px; background: var(--cyan); }

/* ---------- Service ---------- */
.service-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.2rem, 3vw, 2rem); }
.steps { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .2rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 12px; background: var(--frost); color: var(--blue); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.steps b { display: block; font-size: 1.05rem; }
.steps span { color: var(--muted); font-size: .95rem; }
.side-cards { display: grid; gap: 1.1rem; }
.side-card { border-radius: 24px; padding: clamp(1.3rem, 3vw, 2rem); }
.side-card--blue { background: var(--blue); color: #fff; }
.side-card--blue p { color: rgba(255,255,255,.85); }
.side-card--ice { background: #fff; box-shadow: var(--shadow); }
.parts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.parts span { font-size: .85rem; font-weight: 600; padding: .3rem .7rem; border-radius: 99px; background: var(--ice); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border-radius: 16px; margin-bottom: .7rem; box-shadow: 0 1px 0 var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.3rem; font-weight: 700; font-size: 1.06rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.3rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ---------- Visit ---------- */
.visit { background: #fff; }
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.info { display: grid; gap: 1.2rem; margin-top: 1.4rem; }
.info-row { display: grid; grid-template-columns: 46px 1fr; gap: .9rem; align-items: start; }
.info-row .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--frost); color: var(--blue); display: grid; place-items: center; }
.info-row .ico svg { width: 22px; height: 22px; }
.info-row h3 { font-family: var(--body); font-weight: 700; font-size: 1rem; margin: 0 0 .1rem; line-height: 1.4; letter-spacing: 0; }
.info-row p { margin: 0; }
.open-pill { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 700; background: var(--ice); padding: .3rem .8rem; border-radius: 99px; margin-bottom: .5rem; }
.open-pill i { width: 9px; height: 9px; border-radius: 50%; background: #9AA6B6; }
.open-pill.is-open i { background: var(--green); box-shadow: 0 0 0 4px rgba(23,163,91,.18); }
.hours { width: 100%; max-width: 360px; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: .3rem 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; }
.hours tr.is-today td { font-weight: 700; color: var(--blue); }
.map { border-radius: 24px; overflow: hidden; min-height: 420px; position: relative; background: var(--frost); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding-block: 3rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .logo { color: #fff; margin-bottom: 1rem; }
.site-footer .logo-word span { color: var(--cyan); }
.site-footer h4 { font-family: var(--body); font-weight: 700; font-size: .95rem; letter-spacing: 0; color: var(--cyan); margin-bottom: .7rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: rgba(255,255,255,.7); }
.footnote { margin-top: 2.4rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .85rem; color: rgba(255,255,255,.55); }
.footnote p { margin: 0; max-width: none; color: inherit; }

/* ---------- Quote drawer ---------- */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--ice); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(10,30,60,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.drawer { margin: 0 0 0 auto; height: 100dvh; width: min(480px, 100vw); flex-direction: column; }
.drawer[open] { display: flex; animation: slide .4s var(--ease); }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.3rem; background: #fff; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.7rem; margin: 0; }
.x-btn { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.x-btn svg { width: 20px; height: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.1rem 1.3rem 1.5rem; }
.drawer-foot { padding: 1rem 1.3rem calc(1rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; align-items: center; background: #fff; border-radius: 16px; padding: .7rem; margin-bottom: .6rem; }
.line .art { width: 64px; height: 52px; background: var(--frost); border-radius: 10px; padding: 6px; }
.line .art svg { width: 100%; height: 100%; }
.line b { display: block; line-height: 1.2; font-size: .98rem; }
.line small { color: var(--muted); }
.line .rm { display: block; margin-top: .3rem; border: 0; background: none; padding: 0; font-size: .8rem; color: var(--muted); text-decoration: underline; }
.qty { display: inline-flex; align-items: center; background: var(--ice); border-radius: 10px; padding: 2px; }
.qty button { width: 34px; height: 34px; border: 0; background: #fff; border-radius: 8px; font-weight: 700; font-size: 1.1rem; }
.qty output { min-width: 28px; text-align: center; font-weight: 700; }
.totals { display: grid; gap: .2rem; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.2rem; font-weight: 800; margin-top: .25rem; }
.empty-q { text-align: center; padding: 2.5rem 1rem; }
.empty-q svg { width: 70px; height: 70px; margin: 0 auto 1rem; color: var(--frost-2); }
.form-title { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.3rem; margin: 1.5rem 0 .7rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.field { display: grid; gap: .3rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: .88rem; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: .72rem .9rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,119,210,.15); }
.field textarea { min-height: 80px; resize: vertical; }
.field.has-error input { border-color: #D33; }
.err { color: #C22; font-size: .82rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label > span { display: block; white-space: nowrap; text-align: center; padding: .65rem .5rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ---------- Toast + phone bar ---------- */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: calc(1.4rem + env(safe-area-inset-bottom)); z-index: 300; transform: translate(-50%, 160%); background: var(--navy); color: #fff; padding: .55rem .6rem .55rem 1.1rem; border-radius: 14px; display: flex; align-items: center; gap: .9rem; box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); transition: transform .45s var(--ease), visibility .45s; max-width: calc(100vw - 2rem); font-size: .95rem; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone-bar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid, .calc, .savings-grid, .service-grid, .visit-grid { grid-template-columns: 1fr; }
  .unit-stage { max-width: 560px; width: 100%; margin-inline: auto; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 700px) {
  :root { --header-h: 64px; --r: 16px; }
  body { font-size: 1rem; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-word { font-size: .9rem; }
  .header-inner { gap: .5rem; }
  .header-inner > .lang { display: none; }
  .quote-btn { margin-left: auto; padding: .4rem .75rem; min-height: 44px; }
  .quote-btn .q-label { display: none; }
  .lang--menu { display: flex !important; margin-top: 1.5rem; width: max-content; }
  .lang--menu button { min-width: 72px; min-height: 46px; font-size: .95rem; }
  .h1 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { gap: .5rem 1.1rem; font-size: .9rem; }
  .unit-card { padding: 1.1rem; border-radius: 22px; }
  .thermo-readout { font-size: 2.9rem; }
  .round { width: 48px; height: 48px; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item, .strip-item:nth-child(3) { border-left: 0; padding: 1rem 0; border-top: 1px solid var(--line); }
  .strip-item:first-child { border-top: 0; }
  .section { padding-block: 3.6rem; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .product { padding: .8rem .8rem 1rem; }
  .p-art { height: 92px; padding: .5rem; }
  .product h3 { font-size: 1.08rem; }
  .p-sub { font-size: .8rem; margin-bottom: .7rem; }
  .p-tags .tag:nth-child(n+3) { display: none; }
  .p-price { flex-direction: column; align-items: stretch; }
  .p-price b { font-size: 1.15rem; }
  .p-add { width: 100%; height: 42px; }
  .p-price small + small { display: none; }
  .btu-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .btu-filter .chip, .btu-filter .label { flex-shrink: 0; }
  .shop-bar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .shop-bar > * { min-width: 0; }
  .tabs { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); max-width: none; }
  .install-toggle { justify-content: space-between; }
  .big-saves { grid-template-columns: 1fr; }
  .big-saves div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .vent-hero { min-height: 280px; }
  .vent-table .ico, .vent-table .hide-sm { display: none; }
  .vent-table .show-sm { display: block; font-size: .8rem; line-height: 1.35; margin-top: .2rem; }
  .vent-table th, .vent-table td { padding: .75rem .8rem; }
  .map { min-height: 300px; }
  .visit-actions .btn { flex: 1 1 100%; }
  .fields { grid-template-columns: 1fr; }
  .drawer { width: 100vw; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(5.4rem + env(safe-area-inset-bottom)); }
  .phone-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .phone-bar.is-shown { transform: none; }
  .phone-bar .btn { min-height: 48px; padding: .4rem .5rem; font-size: .92rem; gap: .4rem; }
}
@media (max-width: 360px) {
  .logo-word { font-size: .8rem; }
  .vent-table th, .vent-table td { padding: .7rem .5rem; }
  .vent-table .model { white-space: normal; }
  .vent-table .p-add { width: 40px; height: 40px; }
  .products { gap: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}


/* ============ HOUSE BANNER + LOGO (header update) ============ */
@font-face { font-family: "Alaskan Nights"; src: url("../fonts/AlaskanNights.ttf") format("truetype"); font-display: swap; }
.logo-img { display: block; height: 36px; width: auto; }
@media (max-width: 420px) { .logo-img { height: 26px; } }
.tqc-banner { position: relative; overflow: hidden; background: #A9D8F8; color: var(--navy); isolation: isolate; }
.tqc-clouds { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.tqc-banner-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1rem, 3vw, 2.5rem); align-items: end; padding-top: clamp(2.5rem, 5vw, 4rem); }
.tqc-banner-text { align-self: center; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.tqc-badge { display: inline-block; padding: .45rem .9rem; border-radius: 12px; background: rgba(255,255,255,.6); color: #0D3FA6; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; }
.tqc-title { font-family: var(--display); font-weight: 900; font-stretch: 78%; text-transform: uppercase; font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 1; letter-spacing: 0; margin: 1rem 0 .9rem; color: var(--navy); }
.tqc-lead { margin: 0; max-width: 34rem; font-size: 1.1rem; color: #1B3A5C; }
.tqc-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.tqc-actions .btn--ghost { color: #0D3FA6; }
.tqc-contact { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.3rem; }
.tqc-line { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 700; color: var(--navy); text-decoration: none; }
.tqc-line:hover { text-decoration: underline; }
.tqc-line svg { width: 20px; height: 20px; color: #0D3FA6; flex-shrink: 0; }
.tqc-line--addr { display: none; }
.tqc-art { display: flex; align-items: flex-end; gap: .4rem; min-width: 0; }
.tqc-tech { flex: 0 0 17%; width: 17%; height: auto; margin-bottom: 1%; }
.tqc-house { flex: 1 1 auto; width: 83%; height: auto; display: block; }
.tqc-brands { background: var(--navy); color: #fff; }
.tqc-brands-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2.5rem; padding-block: 1.2rem; }
.tqc-brands-label { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9CCBF2; }
.tqc-brands-list { display: inline-flex; align-items: center; gap: 1.1rem; font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.tqc-brands-list i { font-style: normal; color: #4E7AA6; }
@media (max-width: 900px) {
  .tqc-banner-grid { grid-template-columns: 1fr; padding-top: 2rem; }
  .tqc-banner-text { padding-bottom: .5rem; }
  .tqc-line--addr { display: inline-flex; }
  .tqc-contact { flex-direction: column; gap: 0; }
  .tqc-art { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 520px) {
  .tqc-actions .btn { flex: 1 1 100%; }
  .tqc-lead { font-size: 1rem; }
}
.tqc-art { position: relative; }
/* Quote + Book a service in the logo blue */
.quote-btn, .tqc-actions .btn--navy { background: #0D3FA6; color: #fff; }
.quote-btn:hover, .tqc-actions .btn--navy:hover { background: #0A3288; }
/* Bigger header logo */
.logo-img { height: 46px; }
@media (max-width: 1080px) { .logo-img { height: 40px; } }
@media (max-width: 420px) { .logo-img { height: 30px; } }
.logo-img { height: 54px; }
@media (max-width: 1080px) { .logo-img { height: 46px; } }
@media (max-width: 420px) { .logo-img { height: 33px; } }
/* Keep menu labels on one line next to the bigger logo */
.header-inner { gap: 1rem; }
.nav a { white-space: nowrap; padding: .5rem .55rem; }
.logo { flex-shrink: 0; }
@media (max-width: 1360px) { .nav a { padding: .8rem 0; } }
@media (max-width: 420px) {
  .logo { flex: 1 1 auto; min-width: 0; }
  .logo-img { height: auto; width: 100%; max-width: 221px; }
  .quote-btn, .menu-btn { flex-shrink: 0; }
}
@media (max-width: 420px) { .header-inner { gap: .6rem; } }
/* Logo sits a little lower so it looks centred; menu links in the Quote blue */
.logo-img { position: relative; top: 5px; }
@media (max-width: 420px) { .logo-img { top: 3px; } }
.nav a { color: #0D3FA6; }
.nav a:hover { color: #0A3288; }
/* Bigger house */
.tqc-banner-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); }
.tqc-tech { flex-basis: 15%; width: 15%; }
.tqc-house { width: 85%; }
@media (max-width: 900px) {
  .tqc-banner-grid { grid-template-columns: 1fr; }
  .tqc-art { max-width: 640px; margin-inline: calc(var(--gutter) * -0.6); width: auto; }
}
.tqc-title { font-size: clamp(2.6rem, 4.6vw, 4.3rem); }


/* ============ PARTS & SUPPLIES ============ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.parts-shop { background: #fff; }
.cat-bar { display: grid; gap: .9rem; margin-bottom: .6rem; }
.cat-search { position: relative; display: block; max-width: 520px; }
.cat-search svg { position: absolute; left: 1rem; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.cat-search input { width: 100%; min-height: 50px; padding: .6rem 1rem .6rem 2.8rem; border: 1.5px solid var(--line); border-radius: 14px; background: var(--ice); font: inherit; color: var(--ink); }
.cat-search input:focus { outline: none; border-color: #0D3FA6; box-shadow: 0 0 0 3px rgba(13,63,166,.15); background: #fff; }
.cat-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.cat-chips .chip[aria-pressed="true"] { border-color: #0D3FA6; background: #0D3FA6; color: #fff; }
.cat-count { font-size: .9rem; margin: .4rem 0 1rem; }
.catalog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.part { display: flex; flex-direction: column; min-width: 0; background: var(--ice); border-radius: 18px; padding: .9rem; border: 1.5px solid transparent; transition: border-color .2s, box-shadow .2s; }
.part:hover { border-color: var(--frost-2); box-shadow: 0 14px 30px -22px rgba(10,30,60,.5); }
.part-img { aspect-ratio: 4 / 3; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; margin-bottom: .8rem; }
.part-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.part-img svg { width: 44px; height: 44px; color: var(--frost-2); }
.part-cat { font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #0D3FA6; }
.part h3 { font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.3; letter-spacing: 0; margin: .25rem 0 .2rem; overflow-wrap: anywhere; }
.part-spec { font-size: .86rem; color: var(--muted); margin: 0; }
.part-foot { margin-top: auto; padding-top: .8rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem; }
.part-price small { display: block; font-size: .75rem; color: var(--muted); }
.part-price b { font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: 1.2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.part-price .ask { font-family: var(--body); font-size: .95rem; font-weight: 700; color: var(--muted); }
.part .p-add { background: #0D3FA6; }
.part .p-add:hover { background: #0A3288; }
.part .p-add.is-added { background: var(--green); }
.cat-more { display: flex; justify-content: center; margin-top: 1.4rem; }
.cat-more .btn { color: #0D3FA6; }
.cat-empty { grid-column: 1 / -1; text-align: center; margin: 2rem auto; }
.line .art img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 1080px) { .catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .part { padding: .7rem; }
  .part h3 { font-size: .92rem; }
  .part-foot { flex-direction: column; align-items: stretch; }
  .part .p-add { width: 100%; height: 42px; }
  .cat-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .cat-chips .chip { flex-shrink: 0; }
}
@media (min-width: 1361px) { .nav a { padding-inline: .42rem; } .header-inner { gap: .9rem; } }

/* Footer logo: same logo as the header, on a white tile so it reads on navy */
.site-footer .footer-logo { display: inline-flex; background: #fff; border-radius: 14px; padding: .7rem 1.1rem .6rem; }
.site-footer .footer-logo img { display: block; height: 42px; width: auto; max-width: 100%; }
@media (max-width: 420px) { .site-footer .footer-logo img { height: 32px; } }
/* Part photos: a little smaller so they sit inside the box with breathing room */
.part-img img { width: 78%; height: 78%; padding: 0; object-fit: contain; }
/* Part photos smaller */
.part-img { aspect-ratio: 3 / 2; }
.part-img img { width: 62%; height: 62%; }
/* Address heading on one line */
#visit-title { font-size: clamp(1.7rem, 3.2vw, 2.9rem); white-space: nowrap; }
@media (max-width: 700px) { #visit-title { font-size: clamp(1.6rem, 8.2vw, 2.4rem); } }

/* Footer name in the Alaskan Nights font (same lettering as the shop sign) */
.footer-word { display: inline-block; font-family: "Alaskan Nights", var(--display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; letter-spacing: .02em; color: #fff; text-decoration: none; margin-bottom: .8rem; }
.footer-word:hover { color: var(--cyan); }

/* AC cards: price with installation on top, without installation underneath in bold */
.p-price small.p-other { margin-top: .15rem; font-size: .82rem; color: var(--ink); }
.p-price small.p-other strong { font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .p-price small + small.p-other { display: block; } }
