/* Carevient — clean B2B air-care site. No external dependencies. */
:root {
  --navy: #0b3542;
  --teal: #0e5a6d;
  --accent: #1f9d74;
  --accent-dark: #157a58;
  --ink: #1d2b30;
  --muted: #5b6b72;
  --line: #dfe8ea;
  --bg: #ffffff;
  --bg-soft: #f2f7f7;
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: .06em; color: var(--navy); }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--teal), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800;
}
.logo small { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .14em; display: block; line-height: 1.1; }
nav.main { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a {
  color: var(--ink); font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 8px;
}
nav.main a:hover { background: var(--bg-soft); text-decoration: none; color: var(--teal); }
nav.main a.active { color: var(--teal); background: var(--bg-soft); }
.btn {
  display: inline-block; background: var(--accent); color: #fff !important;
  font-weight: 700; padding: 11px 22px; border-radius: 9px; border: 0;
  cursor: pointer; font-size: 15px; white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn.ghost { background: #fff; color: var(--teal) !important; border: 1.5px solid var(--teal); }
.btn.ghost:hover { background: var(--bg-soft); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.header-cta { margin-left: 8px; }

/* Hero */
.hero {
  background: linear-gradient(115deg, rgba(8,42,54,.92) 0%, rgba(11,53,66,.86) 55%, rgba(14,90,109,.80) 100%), url('/assets/img/hero-hvac-ducts.jpg') center 38%/cover no-repeat;
  color: #fff; padding: 72px 0 64px;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.15; max-width: 720px; }
.hero h1 span { color: #7fe3b8; }
.hero p.lede { margin: 18px 0 26px; font-size: 18px; color: #d7e8e8; max-width: 680px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn.ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.7); }
.hero .btn.ghost:hover { background: rgba(255,255,255,.1); }
.hero-points { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; color: #bfe0dc; font-size: 14px; }
.hero-points b { color: #fff; display: block; font-size: 20px; }

/* Sections */
section.block { padding: 56px 0; }
section.block.soft { background: var(--bg-soft); }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; color: var(--navy); margin: 6px 0 10px; }
.section-sub { color: var(--muted); max-width: 720px; margin-bottom: 28px; }
.grid { display: grid; gap: 20px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } .header-cta { display: none; } }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; display: flex; flex-direction: column;
}
.card img { width: 100%; height: 190px; object-fit: cover; background: var(--bg-soft); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 18px; color: var(--navy); line-height: 1.35; }
.card-body p { color: var(--muted); font-size: 15px; flex: 1; }
.card-body .spec { font-size: 13px; color: var(--teal); font-weight: 700; }
.card-body .btn { align-self: flex-start; margin-top: 6px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--teal);
  background: #e3f2ef; border-radius: 20px; padding: 3px 10px; align-self: flex-start;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 20px;
  padding: 8px 16px; font-weight: 600; font-size: 14px; color: var(--navy);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); width: 100%; }
.split h2 { margin-top: 4px; }
.checks { list-style: none; margin: 16px 0; }
.checks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.steps { counter-reset: step; list-style: none; }
.steps li { counter-increment: step; padding-left: 52px; position: relative; margin-bottom: 22px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; background: var(--teal);
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.steps b { color: var(--navy); }
.note {
  background: #fff8e6; border: 1px solid #f0dc9a; border-radius: 10px;
  padding: 14px 18px; font-size: 14px; color: #6b5518; margin-top: 24px;
}
table.specs { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
table.specs th, table.specs td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
table.specs th { color: var(--navy); width: 34%; }

/* Product detail rows */
.prod { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; margin-bottom: 16px; display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: center; }
.prod-img { width: 100%; height: 220px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
@media (max-width: 640px) { .prod { grid-template-columns: 1fr; } .prod-img { height: 200px; } }
.prod h3 { color: var(--navy); font-size: 19px; }
.prod .meta { color: var(--teal); font-weight: 700; font-size: 14px; margin: 2px 0 8px; }
.prod p { color: var(--muted); font-size: 15px; }
.prod .foot { margin-top: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cat-title { margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }

/* Contact form */
form.inquiry { display: grid; gap: 14px; max-width: 620px; }
form.inquiry label { font-weight: 700; font-size: 14px; color: var(--navy); }
form.inquiry input, form.inquiry textarea, form.inquiry select {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--line);
  border-radius: 9px; font-size: 15px; font-family: inherit; background: #fff;
}
form.inquiry input:focus, form.inquiry textarea:focus, form.inquiry select:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.contact-card h3 { color: var(--navy); margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 15px; }

/* CTA band + footer */
.cta-band { background: var(--navy); color: #fff; padding: 48px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe3e2; margin-bottom: 22px; }
footer.site { border-top: 1px solid var(--line); padding: 36px 0 28px; color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
footer.site h4 { color: var(--navy); margin-bottom: 10px; font-size: 15px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 6px; }
.foot-base { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---- v2: conversion components ---- */
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #dbe6ea; }
.trust-row span { font-size: 14px; font-weight: 600; color: #0f3a4a; }
.trust-row span::before { content: "✓ "; color: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn.ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn.ghost:hover { background: #eef4f6; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--navy); border-radius: 14px; overflow: hidden; }
.stat { padding: 28px 22px; text-align: center; color: #fff; border-left: 1px solid rgba(255,255,255,.14); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 34px; font-weight: 800; color: #7fe3c0; letter-spacing: -.5px; }
.stat span { display: block; margin-top: 6px; font-size: 14px; color: #cfe0e6; }
.fineprint { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.6; }

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.app-card h3 { font-size: 18px; margin-bottom: 6px; }
.app-card p { font-size: 15px; color: #44555e; margin: 0; }
.app-card .sys { font-size: 13px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .5px; display: block; margin-top: 12px; }
.app-card img { width: calc(100% + 44px); height: 170px; object-fit: cover; margin: -22px -22px 14px; border-radius: 12px 12px 0 0; display: block; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.compare { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { background: var(--navy); color: #fff; font-size: 14px; }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 700; white-space: nowrap; }

.prod-detail { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; margin-top: 22px; }
.prod-detail h3 { font-size: 22px; margin-bottom: 4px; }
.prod-detail .meta { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.prod-photo { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.spec-table th, .spec-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 34%; color: var(--navy); font-weight: 700; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.prod-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.ds-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.ds-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.ds-card h3 { font-size: 17px; margin-bottom: 6px; }
.ds-card p { font-size: 14.5px; color: #44555e; margin-bottom: 16px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.check-list li { font-size: 15.5px; padding-left: 26px; position: relative; line-height: 1.55; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 800; }
.check-list li b { color: var(--navy); }

.compliance-note { background: #f2f7f5; border: 1px solid #cfe3d8; border-radius: 12px; padding: 22px 24px; font-size: 15px; line-height: 1.7; }
.compliance-note p { margin: 0 0 10px; }
.compliance-note p:last-child { margin: 0; }

.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.dual img { border-radius: 14px; width: 100%; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .app-grid, .ds-list { grid-template-columns: 1fr 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .dual { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .app-grid, .ds-list { grid-template-columns: 1fr; }
  .stat b { font-size: 27px; }
}

/* Hero trust row needs light text on the dark hero */
.hero .trust-row { border-top-color: rgba(255,255,255,.25); }
.hero .trust-row span { color: #d7e8e8; }
.hero .trust-row span::before { color: #7fe3c0; }

/* Mobile header: nav drops to a second row instead of overflowing */
@media (max-width: 760px) {
  .header-in { flex-wrap: wrap; height: auto; padding: 12px 0; row-gap: 0; }
  nav.main { order: 3; flex-basis: 100%; margin-left: 0; padding-top: 10px; }
  nav.main a { padding: 6px 9px; font-size: 14.5px; }
}

/* Demo video — how bipolar ionization works */
.video-wrap { max-width: 860px; margin: 28px auto 0; }
.video-wrap.narrow { max-width: 720px; }
.video-wrap video { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line); background: var(--navy); }
.video-wrap figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
