/* MegEvap — global stylesheet
   Modern industrial B2B. No external assets. */

:root {
  --navy-900: #0c1522;
  --navy-800: #12203a;
  --navy-700: #1a2f4f;
  --steel-600: #47536b;
  --steel-400: #8b96ab;
  --steel-200: #d8dde6;
  --steel-100: #eef1f5;
  --paper: #fafbfc;
  --white: #ffffff;
  --blue: #1668e3;
  --blue-dark: #0f4fb3;
  --orange: #f2620f;
  --orange-dark: #d1520a;
  --ink: #182337;
  --radius: 6px;
  --container: 1160px;
  --shadow-sm: 0 1px 2px rgba(12, 21, 34, 0.08);
  --shadow-md: 0 6px 24px -8px rgba(12, 21, 34, 0.18);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--navy-900);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

/* Accent phrase inside a heading — carries the number the eye should land on. */
.hl {
  color: var(--orange);
  box-shadow: inset 0 -0.22em 0 rgba(242, 98, 15, 0.16);
}

p { margin: 0 0 1.1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-900);
  border-bottom: 3px solid var(--blue);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.brand:hover { text-decoration: none; }
.brand .mark { flex: none; }
.brand .accent { color: #5ea0ff; }
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--steel-200);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--white); background: var(--navy-700); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--white); background: var(--navy-700); }
.nav-links a.nav-cta {
  margin-left: 8px;
  background: var(--blue);
  color: var(--white);
}
.nav-links a.nav-cta:hover { background: var(--blue-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(12, 21, 34, 0.96) 40%, rgba(18, 32, 58, 0.88)),
    var(--navy-800);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  /* subtle industrial grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { padding: 96px 0 88px; max-width: 780px; }
.hero h1 { color: var(--white); margin-bottom: 0.4em; }
.hero .kicker { color: #5ea0ff; }
.hero p.lead {
  font-size: 1.2rem;
  color: var(--steel-200);
  max-width: 620px;
  margin-bottom: 2em;
}

.kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(115deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.25em; }
.page-hero p { color: var(--steel-200); font-size: 1.15rem; max-width: 680px; margin: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-accent { background: var(--orange); color: var(--white); }
.btn-accent:hover { background: var(--orange-dark); }
.btn-outline { border-color: var(--steel-400); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */

.section { padding: 80px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--steel-600); font-size: 1.1rem; }

/* ---------- Cards ---------- */

.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); }
.card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--blue);
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--steel-600); font-size: 0.98rem; margin-bottom: 0; }
.card .card-link { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: 0.95rem; }

.section .card h3 a { color: inherit; }

/* ---------- Stats ---------- */

.stat-band {
  background: var(--navy-900);
  color: var(--white);
  padding: 56px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat .num {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #5ea0ff;
  line-height: 1.1;
}
.stat .label {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--steel-400);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Product sections ---------- */

.product-section { padding: 64px 0; border-bottom: 1px solid var(--steel-200); }
.product-section:last-of-type { border-bottom: 0; }
.product-section .section-head { margin-bottom: 32px; }

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

.model-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.model-card header {
  padding: 18px 22px;
  background: var(--navy-800);
  color: var(--white);
}
.model-card header h4 { color: var(--white); margin: 0; font-size: 1.1rem; }
.model-card header .tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5ea0ff;
}
.model-card .body { padding: 20px 22px; }
.model-card .body > p { color: var(--steel-600); font-size: 0.95rem; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table th, .spec-table td { padding: 7px 4px; text-align: left; vertical-align: top; }
.spec-table tr + tr { border-top: 1px solid var(--steel-100); }
.spec-table th {
  width: 38%;
  font-weight: 700;
  color: var(--navy-800);
  white-space: nowrap;
  padding-right: 14px;
}
.spec-table td { color: var(--steel-600); }

.feature-list { margin: 0.6em 0 1em; padding-left: 1.2em; color: var(--steel-600); font-size: 0.95rem; }
.feature-list li { margin-bottom: 0.35em; }

/* Wide data table (pre-cooler city table) */
.table-scroll { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
}
.data-table th, .data-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--steel-200); }
.data-table thead th {
  background: var(--navy-800);
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table tbody tr:nth-child(even) { background: var(--steel-100); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table-nowrap { white-space: nowrap; }

@media (max-width: 1000px) {
  /* Tablets: let cells and headers wrap so tables fit without sideways scrolling */
  .data-table-nowrap, .data-table thead th { white-space: normal; }
  .data-table th, .data-table td { padding: 10px 10px; }
}

@media (max-width: 620px) {
  /* Narrow numeric tables: let headers wrap so every column fits on screen */
  .data-table-fit { font-size: 0.9rem; }
  .data-table-fit th, .data-table-fit td { padding: 9px 8px; }
  .data-table-fit thead th { white-space: normal; font-size: 0.72rem; letter-spacing: 0.02em; vertical-align: bottom; }
}
@media (max-width: 360px) {
  .data-table-fit { font-size: 0.82rem; }
  .data-table-fit th, .data-table-fit td { padding: 8px 5px; }
  .data-table-fit thead th { font-size: 0.66rem; letter-spacing: 0; }
}

@media (max-width: 620px) {
  /* Wide spec tables: one card per row, each value labeled */
  .data-table-stack, .data-table-stack tbody, .data-table-stack tr, .data-table-stack td { display: block; width: 100%; }
  .data-table-stack { border: 0; background: none; white-space: normal; }
  .data-table-stack thead { display: none; }
  .data-table-stack tbody tr,
  .data-table-stack tbody tr:nth-child(even) {
    background: var(--white);
    border: 1px solid var(--steel-200);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 14px;
  }
  .data-table-stack tbody td,
  .data-table-stack tbody tr:last-child td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px;
    text-align: right;
    border-bottom: 1px solid var(--steel-100);
  }
  .data-table-stack tbody td:last-child { border-bottom: 0; }
  .data-table-stack td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--navy-800);
    text-align: left;
  }
  .data-table-stack tbody td:first-child {
    background: var(--navy-800);
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: left;
  }
  .data-table-stack td:first-child::before { content: none; }
}

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3"><circle cx="12" cy="12" r="11" fill="black" stroke="none"/><path d="M7 12.5l3.2 3.2L17 9"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3"><circle cx="12" cy="12" r="11" fill="black" stroke="none"/><path d="M7 12.5l3.2 3.2L17 9"/></svg>') center / contain no-repeat;
}
.check-list li strong { color: var(--navy-800); }

/* ---------- Callout / CTA band ---------- */

.cta-band {
  background:
    linear-gradient(115deg, rgba(12, 21, 34, 0.97) 30%, rgba(22, 104, 227, 0.28)),
    var(--navy-900);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--steel-200); max-width: 560px; margin: 0 auto 1.8em; }
.cta-band .btn-row { justify-content: center; }

.callout {
  border-left: 4px solid var(--blue);
  background: var(--steel-100);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin: 1.4em 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-card .icon { width: 40px; height: 40px; color: var(--blue); margin-bottom: 14px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.contact-card p { margin: 0; color: var(--steel-600); }
.contact-card a { font-weight: 700; }
.contact-card .big { font-size: 1.25rem; }
.copy-btn {
  margin-top: 8px;
  padding: 4px 10px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--blue); }
.copy-btn.copied { color: var(--white); background: var(--blue); border-color: var(--blue); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: var(--steel-400);
  padding: 56px 0 32px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55em; }
.site-footer a { color: var(--steel-200); }
.site-footer a:hover { color: var(--white); }
.footer-brand { color: var(--white); font-weight: 800; font-size: 1.2rem; margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid var(--navy-700);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ---------- Products: category cards + expanders ---------- */

a.cat-card {
  font: inherit;
  text-align: left;
  color: inherit;
  text-decoration: none;
}
a.cat-card:hover { border-color: var(--blue); text-decoration: none; }
a.cat-card:hover .cat-toggle-hint { color: var(--blue-dark); }
/* Category cards use h2 for heading order under the page h1, but should read
   at card scale rather than section-heading scale. */
.cat-card h2 { font-size: 1.3rem; color: var(--navy-900); }
.cat-card .cat-toggle-hint {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
}
.cat-card .cat-toggle-hint::after { content: " \2192"; }

.cat-detail {
  background: var(--white);
  border-top: 1px solid var(--steel-200);
}

/* ---------- Breadcrumbs ---------- */

.crumbs {
  font-size: 0.9rem;
  color: var(--steel-400);
  margin-bottom: 18px;
}
.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.crumbs li::after { content: "/"; margin-left: 8px; color: var(--steel-400); opacity: 0.6; }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--steel-200); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current="page"] { color: var(--steel-200); font-weight: 600; }

/* Collapsible model cards */
details.model-card > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: var(--navy-800);
  color: var(--white);
}
details.model-card > summary::-webkit-details-marker { display: none; }
details.model-card > summary:hover { background: var(--navy-700); }
/* h3 on the dedicated product pages, h4 on the /products hub — same treatment. */
.model-title h3, .model-title h4 { color: var(--white); margin: 0; font-size: 1.1rem; display: inline; }
.model-title .tag {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5ea0ff;
}
.chev { width: 20px; height: 20px; flex: none; transition: transform 0.2s; }
details[open] > summary .chev { transform: rotate(180deg); }

/* Generic inline expander (e.g. pre-cooler city table) */
details.expander {
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 0;
}
details.expander > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  font-weight: 700;
  color: var(--navy-800);
}
details.expander > summary::-webkit-details-marker { display: none; }
details.expander > summary:hover { color: var(--blue); }
details.expander[open] { padding-bottom: 22px; }
details.expander[open] > summary { border-bottom: 1px solid var(--steel-200); margin-bottom: 6px; }
details.expander > *:not(summary) { margin-left: 22px; margin-right: 22px; }

/* ---------- Motion: scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
/* Slide-in elements start offset sideways; don't let them widen the page */
main { overflow-x: clip; }

/* ---------- How it works diagram ---------- */

.hiw {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.hiw-step {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 22px;
  text-align: center;
}
.hiw-step .hiw-icon { width: 64px; height: 64px; margin: 0 auto 14px; }
.hiw-step h3 { font-size: 1.1rem; margin-bottom: 0.35em; }
.hiw-step p { color: var(--steel-600); font-size: 0.95rem; margin: 0; }
.hiw-temp {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
}
.hiw-temp.hot { background: #fdeadd; color: #c24d08; }
.hiw-temp.cool { background: #e0ecfd; color: var(--blue-dark); }

.hiw-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 4px;
  flex: none;
}
.hiw-arrow i {
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--blue);
  border-right: 3px solid var(--blue);
  transform: rotate(45deg);
  animation: hiwPulse 1.4s infinite;
}
.hiw-arrow i:nth-child(2) { animation-delay: 0.2s; }
.hiw-arrow i:nth-child(3) { animation-delay: 0.4s; }
@keyframes hiwPulse {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 1; }
}

/* dripping water in the media icon */
.drop { animation: drip 1.8s ease-in infinite; }
.drop.d2 { animation-delay: 0.6s; }
.drop.d3 { animation-delay: 1.2s; }
@keyframes drip {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  80% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}
/* gentle fan spin */
.spin { transform-origin: center; animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Slide-in reveal variants (desktop only) */
@media (min-width: 769px) {
  .reveal.from-left { transform: translateX(-48px); }
  .reveal.from-right { transform: translateX(48px); }
  .reveal.from-left.in, .reveal.from-right.in { transform: none; }
}

/* Interactive HIW steps */
.hiw-step { cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.hiw-step:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hiw-step.active { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue), var(--shadow-md); }
.hiw-hint {
  text-align: center;
  color: var(--steel-400);
  font-size: 0.92rem;
  font-weight: 600;
  margin: -8px 0 18px;
}

.hiw-detail { margin-top: 20px; }
.hiw-detail .panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}
.hiw-detail .panel.show { display: block; animation: slideInL 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.hiw-detail .panel.show.anim-right { animation-name: slideInR; }
.hiw-detail .panel.show.anim-up { animation-name: slideInU; }
@keyframes slideInL { from { opacity: 0; transform: translateX(-56px); } to { opacity: 1; transform: none; } }
@keyframes slideInR { from { opacity: 0; transform: translateX(56px); } to { opacity: 1; transform: none; } }
@keyframes slideInU { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hiw-detail h4 { margin-bottom: 0.4em; }
.hiw-detail p { color: var(--steel-600); margin-bottom: 0; }

/* Climate simulator */
.climate-sim label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-800);
  margin-bottom: 20px;
}
.climate-sim label .val { float: right; color: var(--blue); font-weight: 800; }
.climate-sim input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 36px;
  margin-top: 6px;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
  --fill: 50%;
}
/* WebKit/Blink have no progress pseudo-element, so main.js sets --fill */
.climate-sim input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--blue) var(--fill), var(--steel-200) var(--fill));
}
.climate-sim input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  box-shadow: 0 1px 4px rgba(11, 31, 58, 0.3);
}
.climate-sim input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--steel-200); }
.climate-sim input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--blue); }
.climate-sim input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  box-shadow: 0 1px 4px rgba(11, 31, 58, 0.3);
}
.climate-sim input[type="range"]:focus { outline: none; }
.climate-sim input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(22, 104, 227, 0.3); }
.climate-sim input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(22, 104, 227, 0.3); }
.cs-result {
  border-top: 1px solid var(--steel-200);
  margin-top: 8px;
  padding-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.cs-out { font-size: 3.2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.cs-drop { font-weight: 700; color: var(--navy-800); }
.cs-note { width: 100%; font-size: 0.88rem; color: var(--steel-400); margin: 10px 0 0; }

/* City picker + thermometer race (Why page) */
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  border: 1px solid var(--steel-200);
  background: var(--steel-100);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-800);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.chip.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.thermo-race { display: flex; gap: 40px; align-items: flex-end; justify-content: center; }
.thermo-col { text-align: center; }
.thermo-track {
  width: 36px;
  height: 190px;
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-radius: 999px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin: 0 auto 12px;
}
.thermo-fill {
  width: 100%;
  height: 0;
  border-radius: 999px;
  transition: height 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.thermo-fill.hot { background: linear-gradient(180deg, #f5934d, #f2620f); }
.thermo-fill.cool { background: linear-gradient(180deg, #5ea0ff, #1668e3); }
.thermo-val { display: block; font-weight: 800; font-size: 1.35rem; color: var(--navy-900); }
.thermo-label { display: block; font-size: 0.8rem; color: var(--steel-600); font-weight: 600; }
.thermo-drop { align-self: center; text-align: center; }
.thermo-drop .big { display: block; font-size: 2.6rem; font-weight: 800; color: var(--blue); line-height: 1.1; }
.thermo-drop .cap { display: block; font-size: 0.85rem; color: var(--steel-600); font-weight: 600; }

@media (max-width: 620px) {
  .thermo-race { gap: 24px; }
  .thermo-track { height: 150px; }
}

/* Pre-cooler before/after toggle (Products page) */
.pv-toggle { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pv-scene { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 22px; }
.pv-air { text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--steel-600); }
.pv-temp { display: block; font-weight: 800; font-size: 1.7rem; color: #c24d08; transition: color 0.35s; }
.precool-on .pv-temp { color: var(--blue-dark); }
.precool-viz .hiw-arrow i { border-color: #f2620f; }
.precool-on .hiw-arrow i { border-color: var(--blue); }
.pv-media {
  width: 26px;
  height: 96px;
  border-radius: 4px;
  background: repeating-linear-gradient(135deg, #5ea0ff 0 4px, #1668e3 4px 8px);
  opacity: 0;
  transform: scaleY(0.6);
  transition: opacity 0.35s, transform 0.35s;
}
.precool-on .pv-media { opacity: 1; transform: none; }
.pv-coil {
  width: 120px;
  height: 96px;
  border: 2px solid var(--steel-400);
  border-radius: 6px;
  background: repeating-linear-gradient(90deg, transparent 0 7px, var(--steel-200) 7px 9px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pv-coil span {
  background: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--steel-600);
}
.pv-gauge {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-800);
}
.pv-gauge .track { height: 14px; background: var(--steel-100); border-radius: 999px; overflow: hidden; }
.pv-fill {
  height: 100%;
  width: 92%;
  background: linear-gradient(90deg, #f2620f, #d1520a);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1), background 0.6s;
}
.precool-on .pv-fill { width: 55%; background: linear-gradient(90deg, #1668e3, #5ea0ff); }
.pv-status { grid-column: 1 / -1; font-weight: 600; font-size: 0.88rem; color: var(--steel-600); }

/* Humidifier droplets-vs-vapor animation (Products page) */
.hv-pane h3 .x { color: #c24d08; }
.hv-pane h3 .ok { color: var(--blue); }
.hv-stage {
  position: relative;
  height: 140px;
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 14px 0 16px;
}
.hv-box {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 36px;
  border: 2px solid var(--steel-400);
  border-radius: 4px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--steel-600);
}
.droplets .hv-box { box-shadow: inset 0 7px 0 rgba(94, 160, 255, 0.45); }
.hv-drop {
  position: absolute;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50% 0 50% 50%;
  transform: rotate(45deg);
  background: #5ea0ff;
  animation: hvFall 2.1s linear infinite;
}
@keyframes hvFall {
  0% { transform: translateY(0) rotate(45deg); opacity: 0; }
  12% { opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translateY(88px) rotate(45deg); opacity: 0; }
}
.hv-mist {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 160, 255, 0.45), transparent 70%);
  animation: hvDrift 5s ease-in-out infinite alternate;
}
@keyframes hvDrift {
  from { transform: translate(0, 0); opacity: 0.5; }
  to { transform: translate(14px, -8px); opacity: 0.95; }
}

@media (max-width: 620px) {
  .pv-scene { gap: 10px; }
  .pv-coil { width: 90px; }
}

/* ---------- Power comparison bars ---------- */

.power-compare { padding: 32px 28px; }
.pc-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--steel-600);
  margin-bottom: 22px;
}
.power-row {
  display: grid;
  grid-template-columns: 150px 1fr 70px;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.pc-label { font-weight: 700; font-size: 0.92rem; color: var(--navy-800); }
.pc-track {
  height: 22px;
  background: var(--steel-100);
  border-radius: 999px;
  overflow: hidden;
}
.pc-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.pc-bar-ac { background: linear-gradient(90deg, #f2620f, #d1520a); }
.pc-bar-evap { background: linear-gradient(90deg, #1668e3, #5ea0ff); }
.power-compare.in .pc-bar-ac { width: 100%; }
.power-compare.in .pc-bar-evap { width: 10px; }
.pc-value { font-weight: 800; font-size: 1.05rem; color: var(--navy-900); text-align: right; }
.pc-note { margin: 10px 0 0; font-size: 0.95rem; color: var(--steel-600); }

/* ---------- "Dig deeper" expanders ---------- */

details.dig {
  margin-top: 14px;
  border-top: 1px solid var(--steel-200);
  padding-top: 4px;
}
details.dig > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
}
details.dig > summary::-webkit-details-marker { display: none; }
details.dig > summary:hover { color: var(--blue-dark); }
details.dig > summary .chev { width: 16px; height: 16px; }
details.dig[open] > summary .chev { transform: rotate(180deg); }
details.dig > *:not(summary) { font-size: 0.97rem; color: var(--steel-600); }

/* ---------- FAQ list ---------- */

.faq-list { display: grid; gap: 12px; max-width: 880px; }
.faq-list > details.expander > summary { font-size: 1.05rem; line-height: 1.4; }
.faq-list > details.expander > *:not(summary) {
  margin-top: 14px;
  color: var(--steel-600);
}

/* ---------- 404 ---------- */

.error-page { padding: 96px 0 88px; text-align: center; }
.error-page p { max-width: 560px; margin: 0 auto 1.1em; color: var(--steel-600); font-size: 1.1rem; }
.error-page .error-code {
  font-size: clamp(4.5rem, 15vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--steel-200);
  margin: 0 0 12px;
}
.error-page .btn-row { justify-content: center; margin-top: 30px; }
/* .btn-outline is built for the dark bands; give it light-background colors here. */
.error-page .btn-outline { border-color: var(--steel-200); color: var(--navy-800); }
.error-page .btn-outline:hover { border-color: var(--steel-400); background: var(--white); }
.error-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  max-width: 620px;
  margin: 44px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--steel-200);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hiw-arrow i, .drop, .spin { animation: none; }
  .hiw-arrow i { opacity: 1; }
  .pc-bar { transition: none; }
  .hiw-detail .panel.show { animation: none; }
  .hiw-step, .hiw-step:hover { transform: none; }
  .hv-drop, .hv-mist { animation: none; }
  .hv-drop { top: auto; bottom: 52px; opacity: 1; }
  .hv-mist { opacity: 0.8; }
  .pv-fill, .pv-media, .pv-temp { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero-inner { padding: 64px 0 60px; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--navy-900);
    border-bottom: 3px solid var(--blue);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .nav-links a.nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 620px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  body { font-size: 1rem; }

  .hiw { flex-direction: column; }
  .hiw-arrow { transform: rotate(90deg); padding: 10px 0; }
  .power-row { grid-template-columns: 1fr; gap: 6px; }
  .pc-value { text-align: left; }
}

/* Photos */
.photo { margin: 0 0 20px; }
.photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--steel-100); }
.card .photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.photo figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--steel-600); }

/* Hero photo */
.hero .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-inner { max-width: none; }
.hero-photo { margin: 0; }
.hero-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 0; }
  .hero-inner { padding-bottom: 32px; }
  .hero-photo { padding-bottom: 56px; }
}
