/* ==========================================================================
   NewGen Solar & Heat Pumps — design system
   Direction: "Haier-clean" (10 Jul 2026). White-dominant, near-black ink,
   hairlines, one blue accent. Type: Poppins throughout (12 Jul — matches the
   Panasonic page, the site style guide; SG+Inter retired, see brief).
   Source of truth: newgen-rebuild-handover-2026-07-10.md
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink: #14171a;
  --grey: #5c6670;
  --line: #e8eaed;
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --blue: #0072ce;        /* single brand accent (logo blue) */
  --blue-deep: #0057b8;
  --amber: #e8650d;       /* emergency accent, used sparingly */
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 16px 40px rgba(20, 23, 26, .10);
  --shadow-tile: 0 4px 14px rgba(10, 12, 14, .10);
  --container: 1240px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--font-heading); letter-spacing: 0; color: var(--ink); font-weight: 700; }
h1 { font-weight: 800; } /* Panasonic-page weight */
h1 .accent, h2 .accent, h3 .accent { color: var(--blue); } /* Panasonic-page heading pattern: blue tail on ink heading */
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 11px 20px; border-radius: var(--radius);
  font-weight: 600; font-size: 14px; font-family: var(--font-body);
  transition: background .15s, color .15s, border-color .15s; white-space: nowrap;
  border: none; cursor: pointer;
}
.btn-quote { background: var(--blue); color: #fff; }
.btn-quote:hover { background: var(--blue-deep); }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-lg { font-size: 15px; padding: 14px 28px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px; height: 84px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 48px; width: auto; }

.main-nav { display: flex; align-items: center; height: 100%; flex: 1; }
.nav-item { height: 100%; position: static; }
.nav-item.has-dropdown { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 6px; height: 100%;
  padding: 0 15px; font-size: 14.5px; font-weight: 500; color: var(--ink);
  border-bottom: 2px solid transparent; transition: border-color .15s;
}
.nav-item > a .caret { font-size: 9px; transition: transform .2s; color: var(--grey); }
.nav-item:hover > a, .nav-item.open > a { border-bottom-color: var(--ink); }
.nav-item:hover > a .caret, .nav-item.open > a .caret { transform: rotate(180deg); }

.header-ctas { display: flex; gap: 18px; align-items: center; flex-shrink: 0; }
.phone { font-weight: 700; color: var(--ink); font-size: 15.5px; font-family: var(--font-heading); }
.phone span { display: block; font-size: 10px; font-weight: 500; color: var(--grey); letter-spacing: .07em; font-family: var(--font-body); }
.link-emergency { font-size: 13.5px; font-weight: 600; color: var(--amber); }
.link-emergency:hover { text-decoration: underline; }
.search-btn {
  background: none; border: none; cursor: pointer; color: var(--ink);
  padding: 8px; border-radius: 50%; display: flex; align-items: center;
  transition: background .15s;
}
.search-btn:hover { background: var(--bg-soft); }

/* ---------- Mega menu & dropdowns ---------- */
.mega, .dropdown {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  border-top: 1px solid var(--line);
}
.nav-item:hover .mega, .nav-item.open .mega,
.nav-item:hover .dropdown, .nav-item.open .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega-inner {
  max-width: var(--container); margin: 0 auto; padding: 40px 24px 44px;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1.1fr; gap: 44px;
}
.mega h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--grey); margin-bottom: 16px; font-family: var(--font-body); font-weight: 600;
}
.mega li a { display: block; padding: 7px 0; font-size: 14.5px; color: var(--ink); transition: color .12s; }
.mega li a:hover { color: var(--blue); }
.mega li a small { display: block; font-size: 12px; color: var(--grey); }
.view-all { font-weight: 600; color: var(--blue) !important; margin-top: 6px; }
.view-all:hover { text-decoration: underline; }
.flagship {
  display: inline-block; border: 1px solid var(--blue); color: var(--blue);
  font-size: 9px; font-weight: 700; letter-spacing: .07em;
  padding: 1.5px 7px; border-radius: 20px; vertical-align: 2px; margin-left: 7px;
}
.mega-promo {
  background: var(--bg-soft); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.mega-promo .eyebrow { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--grey); font-weight: 600; }
.mega-promo h3 { font-size: 18px; line-height: 1.3; }
.mega-promo p { font-size: 13.5px; color: var(--grey); line-height: 1.55; }
.mega-promo .promo-link { font-size: 14px; font-weight: 600; color: var(--blue); margin-top: 4px; }
.mega-promo .promo-link:hover { text-decoration: underline; }

.dropdown { left: 0; right: auto; min-width: 230px; border-radius: 0 0 var(--radius) var(--radius); padding: 10px 0; }
.dropdown li a { display: block; padding: 10px 24px; font-size: 14px; }
.dropdown li a:hover { background: var(--bg-soft); color: var(--blue); }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; background: rgba(20,23,26,.45); z-index: 200;
  display: none; align-items: flex-start; justify-content: center; padding: 120px 24px 0;
}
.search-overlay.open { display: flex; }
.search-box {
  background: var(--white); border-radius: 10px; box-shadow: var(--shadow);
  width: 100%; max-width: 640px; overflow: hidden;
}
.search-box input {
  width: 100%; border: none; outline: none; padding: 20px 24px;
  font-size: 17px; font-family: var(--font-body); color: var(--ink);
}
.search-box .search-hint {
  padding: 14px 24px 18px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--grey); line-height: 1.6;
}
.search-box .search-hint b { color: var(--ink); font-weight: 600; }

/* ---------- Hero (Haier-woven: minimal copy, brand tiles at base) ---------- */
.hero {
  position: relative; color: #fff; padding: 110px 24px 210px;
  background-color: #14171a;
  background-size: cover; background-position: center;
}
.hero-inner { max-width: var(--container); margin: 0 auto; }
.hero h1 { font-size: 46px; max-width: 620px; margin: 0 0 26px; line-height: 1.08; font-weight: 700; color: #fff; }
.hero .btn + .btn { margin-left: 10px; }

.hero-brands { max-width: var(--container); margin: -120px auto 0; padding: 0 24px; position: relative; z-index: 5; }
.hero-brands .strip-label {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin-bottom: 12px;
}
.brand-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 12px; }
.brand-tile {
  background: var(--white); border-radius: var(--radius);
  padding: 24px 12px; text-align: center; transition: box-shadow .18s, transform .18s;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 90px; box-shadow: var(--shadow-tile);
}
.brand-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.brand-tile .brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--ink); }
.brand-tile .brand-sub { font-size: 10.5px; color: var(--grey); letter-spacing: .03em; }
.brand-tile.featured { outline: 1.5px solid var(--blue); outline-offset: -1.5px; }
.brand-tile.featured .brand-sub { color: var(--blue); font-weight: 600; }
.brand-tile img { height: 34px; width: auto; object-fit: contain; }

/* ---------- Audience tiles ---------- */
.tiles {
  max-width: var(--container); margin: 56px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: box-shadow .18s, transform .18s;
}
.tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.tile h3 { font-size: 15.5px; margin-bottom: 8px; font-weight: 600; }
.tile p { font-size: 13.5px; color: var(--grey); line-height: 1.55; }
.tile.emergency h3 { color: var(--amber); }

/* ---------- Content bands & chapters ---------- */
.band { padding: 100px 24px; }
.band-white { background: var(--white); }
.band-soft { background: var(--bg-soft); }
.chapter {
  max-width: var(--container); margin: 0 auto; display: grid;
  grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; }
.chapter h2 { font-size: 36px; line-height: 1.12; margin-bottom: 18px; font-weight: 700; }
.chapter p { font-size: 16px; line-height: 1.7; margin-bottom: 14px; color: var(--grey); }
.benefits { margin: 6px 0 26px; }
.benefits li { padding: 7px 0 7px 26px; position: relative; font-size: 15px; line-height: 1.55; color: var(--ink); }
.benefits li::before { content: "—"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.chapter-visual { border-radius: 10px; min-height: 400px; background-size: cover; background-position: center; }
.visual-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--bg-soft); border: 1px dashed var(--line);
  color: var(--grey); font-size: 12.5px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; padding: 20px;
}
.band-soft .visual-placeholder { background: var(--white); }

/* ---------- Photo break (single dark moment) ---------- */
.photo-break {
  position: relative; padding: 130px 24px; text-align: center; color: #fff;
  background-color: #14171a; background-size: cover; background-position: center;
}
.photo-break h2 { font-size: 34px; max-width: 720px; margin: 0 auto 14px; line-height: 1.15; font-weight: 700; color: #fff; }
.photo-break p { max-width: 540px; margin: 0 auto 32px; color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.65; }

/* ---------- Footer ---------- */
.site-footer { background: #14171a; color: #b8bec4; margin-top: 90px; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 64px 24px 28px; }
.footer-cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand img { height: 44px; width: auto; background: #fff; padding: 6px 10px; border-radius: 6px; }
.footer-brand p { font-size: 13px; line-height: 1.6; margin-top: 14px; color: #8d959c; max-width: 250px; }
.footer-col h5 {
  font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  color: #fff; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600;
}
.footer-col li a { display: block; padding: 5px 0; font-size: 13.5px; color: #b8bec4; }
.footer-col li a:hover { color: #fff; }
.footer-legal {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 24px; font-size: 12.5px; color: #8d959c; flex-wrap: wrap;
}
.footer-legal a:hover { color: #fff; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: #b8bec4; display: flex; }
.footer-socials a:hover { color: #fff; }

/* ---------- Mobile ---------- */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

@media (max-width: 1020px) {
  .hamburger { display: block; margin-left: auto; }
  .main-nav {
    display: none; position: absolute; top: 84px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    box-shadow: var(--shadow); max-height: calc(100vh - 118px); overflow-y: auto;
  }
  .main-nav.mobile-open { display: flex; }
  .nav-item { height: auto; }
  .nav-item > a { height: auto; padding: 15px 24px; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .mega, .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; box-shadow: none; background: var(--bg-soft);
  }
  .nav-item.open .mega, .nav-item.open .dropdown { display: block; }
  .mega-inner { grid-template-columns: 1fr; gap: 26px; padding: 22px 24px; }
  .header-ctas .link-emergency, .phone { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .hero { padding: 80px 24px 160px; }
  .hero h1 { font-size: 32px; }
  .hero-brands { margin-top: -100px; }
  .chapter { grid-template-columns: 1fr; gap: 36px; }
  .chapter-visual { min-height: 250px; }
  .band { padding: 64px 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .header-inner { gap: 14px; padding: 0 16px; }
  .header-ctas { gap: 10px; }
  .header-ctas .btn-quote { padding: 9px 12px; font-size: 13px; }
}

/* ---------- Page sub-nav (sticky, per product page — pattern from Reclaim/Panasonic) ---------- */
.page-subnav {
  position: sticky; top: 84px; z-index: 90;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.page-subnav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: flex-end; gap: 4px; height: 52px;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.subnav-brand {
  margin-right: auto; display: flex; align-items: center; padding-right: 16px;
  font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--ink);
  white-space: nowrap;
}
.subnav-brand img { height: 22px; width: auto; }
.page-subnav-inner::-webkit-scrollbar { display: none; }
.page-subnav a {
  padding: 6px 12px; font-size: 13.5px; font-weight: 500; color: var(--grey);
  border-radius: 20px; white-space: nowrap; transition: color .12s, background .12s;
}
.page-subnav a:hover { color: var(--ink); background: var(--bg-soft); }
.page-subnav a.active { color: var(--blue); background: #eaf3fb; font-weight: 600; }
.page-subnav .subnav-cta { margin-left: 8px; }
.page-subnav .subnav-cta .btn { padding: 8px 16px; font-size: 13px; }
.page-subnav .subnav-cta a.btn-quote { color: #fff; }
.page-subnav .subnav-cta a.btn-quote:hover { color: #fff; background: var(--blue-deep); }
@media (max-width: 1020px) {
  .page-subnav { top: 84px; }
  .page-subnav .subnav-cta { display: none; }
}

/* ---------- Spec tables (product pages) ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 18px 0 8px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { font-family: var(--font-body); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); font-weight: 600; }
.spec-table td:first-child { color: var(--grey); }
.spec-table td { color: var(--ink); }
.spec-table tr:hover td { background: var(--bg-soft); }

/* ---------- Hub / comparison components (heat-pumps hub, 11 Jul 2026) ---------- */
.hero-sub { max-width: 560px; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.65; margin: 0 0 30px; }

.strip-emergency { background: #fff6ee; border-bottom: 1px solid #f6dcc4; font-size: 14.5px; }
.strip-emergency-inner { max-width: var(--container); margin: 0 auto; padding: 12px 24px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.strip-emergency b { color: var(--amber); font-weight: 700; }
.strip-emergency a { font-weight: 600; color: var(--amber); }
.strip-emergency a:hover { text-decoration: underline; }

.router { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 16px; margin-top: 36px; }
.router-card { background: var(--bg-soft); border: 1px solid var(--bg-soft); border-radius: var(--radius); padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .18s, transform .18s; }
.router-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.router-img { height: 185px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 6px; }
.router-img img { max-height: 100%; max-width: 82%; object-fit: contain; }
.router-card h3 { font-size: 19px; }
.router-card p { font-size: 14.5px; color: var(--grey); line-height: 1.6; flex: 1; }
.router-card .go { font-weight: 600; color: var(--blue); font-size: 14px; }
.router-card .go:hover { text-decoration: underline; }
.router-card.featured { outline: 1.5px solid var(--blue); outline-offset: -1.5px; background: var(--bg-soft); }
.router-eyebrow { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.router-card .btn { align-self: flex-start; }
.router-note { margin-top: 16px; font-size: 13.5px; color: var(--grey); }
.router-note a { color: var(--blue); font-weight: 600; }
.router-note a:hover { text-decoration: underline; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.step-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.step-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--grey); line-height: 1.6; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; align-items: center; }
.chips-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .11em; color: var(--grey); font-weight: 600; margin-right: 4px; }
.chip { border: 1px solid var(--line); border-radius: 20px; padding: 7px 15px; font-size: 13.5px; font-weight: 500; background: var(--white); color: var(--ink); transition: border-color .12s, color .12s; }
.chip small { color: var(--grey); font-size: 12px; }
.chip:hover { border-color: var(--blue); color: var(--blue); }

.tier-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.tier-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; background: var(--white); }
.tier-band { font-family: var(--font-heading); font-weight: 700; color: var(--blue); font-size: 15px; letter-spacing: .06em; }
.tier-card h3 { font-size: 20px; }
.tier-card > p { font-size: 14.5px; color: var(--grey); line-height: 1.62; }
.tier-brands { margin: 2px 0; }
.tier-brands li a { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 8px 0; border-bottom: 1px solid var(--line); transition: color .12s; }
.tier-brands li:last-child a { border-bottom: none; }
.tier-brands li a:hover { color: var(--blue); }
.tier-brands li a small { display: block; color: var(--grey); font-weight: 400; font-size: 12.5px; }
.tier-fit { font-size: 13px; color: var(--grey); border-left: 2px solid var(--blue); padding-left: 10px; margin-top: auto; }
.tier-card.featured { outline: 1.5px solid var(--blue); outline-offset: -1.5px; } /* matches router/brand-tile featured pattern; bg stays white so brand-row hairlines read */
.tier-card.avoid { background: var(--bg-soft); } /* the cheap-end warning card — visually "not one of ours" */
.tier-card.avoid .tier-band { color: var(--grey); }
.tier-card.avoid .tier-fit { border-left-color: var(--grey); }

.compare-wrap { overflow-x: auto; margin-top: 32px; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare-table { min-width: 1020px; width: 100%; border-collapse: collapse; font-size: 13.5px; }
.compare-table th { font-family: var(--font-body); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); font-weight: 600; text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.compare-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:not(.tier-row):hover td { background: #fafbfc; } /* row tracking across 8 columns */
.compare-table td.sys a { font-weight: 600; color: var(--ink); }
.compare-table td.sys a:hover { color: var(--blue); }
.compare-table td.sys small { display: block; color: var(--grey); font-size: 12px; font-weight: 400; margin-top: 2px; }
.compare-table tr.tier-row td { background: var(--bg-soft); font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); padding: 10px 14px; }
.compare-table tr.tier-row td .price-band { margin-left: 6px; }
.price-band { font-family: var(--font-heading); font-weight: 700; color: var(--blue); letter-spacing: .05em; white-space: nowrap; }
.table-notes { font-size: 12.5px; color: var(--grey); line-height: 1.65; margin-top: 16px; max-width: 920px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Brand-column comparison matrix (13 July: table + "our take" merged; brands as columns) */
.compare-matrix { min-width: 1120px; table-layout: fixed; }
.compare-matrix th, .compare-matrix td { text-align: center; }
.compare-matrix .ct-label { position: sticky; left: 0; z-index: 1; background: var(--white); text-align: left; font-family: var(--font-body); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); font-weight: 600; }
.compare-matrix thead th { background: var(--bg-soft); padding: 12px 8px; }
.compare-matrix thead .ct-label { background: var(--bg-soft); }
.ct-brand { display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--line); border-radius: 8px; height: 54px; padding: 0 10px; transition: box-shadow .15s, transform .15s; }
.ct-brand:hover { box-shadow: var(--shadow-tile); transform: translateY(-2px); }
.ct-brand img { max-height: 28px; max-width: 100%; width: auto; object-fit: contain; }
.ct-brand.ct-text { font-family: var(--font-heading); font-weight: 700; font-size: 13px; color: var(--ink); }
.compare-matrix .ct-sys a { font-weight: 600; color: var(--ink); }
.compare-matrix .ct-sys a:hover { color: var(--blue); }
.compare-matrix .ct-sys small { display: block; color: var(--grey); font-size: 11.5px; font-weight: 400; margin-top: 2px; }
.compare-matrix td.ct-take { text-align: left; font-size: 12.5px; line-height: 1.6; vertical-align: top; }
.compare-matrix .ct-go { font-weight: 600; color: var(--blue); font-size: 12.5px; white-space: nowrap; }
.compare-matrix .ct-go:hover { text-decoration: underline; }

.take-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.take-card { background: var(--bg-soft); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.take-card h3 { font-size: 16.5px; }
.take-card p { font-size: 14.5px; color: var(--ink); line-height: 1.65; }
.take-card .go { font-size: 13.5px; font-weight: 600; color: var(--blue); margin-top: auto; padding-top: 6px; }
.take-card .go:hover { text-decoration: underline; }

.faq-list { margin-top: 36px; max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
details.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; font-family: var(--font-heading); font-weight: 600; font-size: 17px; color: var(--ink); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { color: var(--blue); }
details.faq-item summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--blue); line-height: 1; flex-shrink: 0; transition: transform .18s ease; }
details.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 34px 20px 0; }
.faq-answer p { font-size: 15px; color: var(--grey); line-height: 1.7; }
.faq-answer p + p { margin-top: 8px; }
.faq-answer a { color: var(--blue); font-weight: 600; }
.faq-answer a:hover { text-decoration: underline; }

.hero-cred { margin-top: 46px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); }

/* Photo hero (hub v5: tiles on the bricks up top; copy + flagship grounded on the deck) */
.hero-photo { background-size: cover; background-position: center bottom; background-color: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 34px 24px 20px; display: flex; min-height: clamp(500px, 30vw, 800px); }
.hero-photo-inner { max-width: var(--container); margin: 0 auto; width: 100%; display: flex; flex-direction: column; }
.hero-bottom { margin-top: auto; }
.hero-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 0 0 46px; }
.hero-tile { display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: var(--radius); height: 145px; padding: 0 24px; box-shadow: var(--shadow-tile); transition: box-shadow .18s, transform .18s; }
.hero-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.hero-tile img { max-height: 66px; max-width: 100%; width: auto; object-fit: contain; }
.hero-bottom { display: grid; grid-template-columns: 1.05fr auto .9fr; gap: 44px; align-items: end; }
.hero-copy-panel { background: rgba(255,255,255,.82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border-radius: 10px; padding: 24px 28px; max-width: 620px; }
.hero-copy-panel h1 { font-size: 30px; line-height: 1.12; margin-bottom: 10px; font-weight: 700; }
.hero-copy-panel p { color: #39424b; font-size: 15.5px; line-height: 1.6; margin: 0; }
.hero-flagship { display: flex; justify-content: center; align-items: flex-end; }
.hero-flagship img { max-height: 305px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(10,12,14,.3)); }
@media (max-width: 1020px) {
  .hero-photo { padding: 26px 24px 16px; min-height: 0; }
  .hero-tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
  .hero-tile { height: 96px; padding: 0 16px; }
  .hero-tile img { max-height: 44px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 22px; }
  .hero-copy-panel h1 { font-size: 25px; }
  .hero-flagship img { max-height: 220px; }
}
@media (max-width: 560px) {
  .hero-tiles { grid-template-columns: repeat(2, 1fr); }
  .hero-tile { height: 84px; }
}

/* Product hero (light, iStore-inspired: render + logos above the fold) */
.hero-product { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 64px 24px 56px; }
.hero-product-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero-product h1 { font-size: 44px; line-height: 1.08; margin-bottom: 20px; font-weight: 700; }
.hero-sub2 { color: var(--grey); font-size: 16.5px; line-height: 1.65; max-width: 560px; margin-bottom: 28px; }
.hero-cred2 { margin-top: 34px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.hero-product-visual { display: flex; justify-content: center; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 30px 34px; }
.hero-product-visual img { max-height: 360px; width: auto; max-width: 100%; object-fit: contain; }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.hero-product .btn { margin: 0 8px 10px 0; }

.brand-band { background: var(--white); border-bottom: 1px solid var(--line); }
.brand-band-inner { max-width: var(--container); margin: 0 auto; padding: 18px 24px; display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.band-label { font-size: 11px; text-transform: uppercase; letter-spacing: .11em; color: var(--grey); font-weight: 600; align-self: center; margin-right: 8px; }
.brand-chip { display: flex; align-items: center; justify-content: center; height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: box-shadow .15s, transform .15s; flex: 1; min-width: 118px; }
.brand-chip:hover { box-shadow: var(--shadow-tile); transform: translateY(-2px); }
.brand-chip img { max-height: 30px; max-width: 122px; width: auto; object-fit: contain; }
.brand-chip.text-chip { flex-direction: column; font-family: var(--font-heading); font-weight: 700; font-size: 13.5px; color: var(--ink); line-height: 1.25; }
.brand-chip.text-chip small { font-size: 9.5px; color: var(--grey); font-weight: 500; letter-spacing: .05em; font-family: var(--font-body); }

@media (max-width: 1020px) {
  .hero-product { padding: 44px 24px 40px; }
  .hero-product-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-product h1 { font-size: 32px; }
  .hero-product-visual img { max-height: 250px; }
  .brand-chip { min-width: 100px; height: 48px; }
  .brand-chip img { max-height: 24px; }
}

.shortlist-bar { margin-top: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.shortlist-bar h3 { font-size: 20px; margin-bottom: 6px; }
.shortlist-bar p { font-size: 14.5px; color: var(--grey); line-height: 1.6; max-width: 560px; }
.shortlist-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.shortlist-phone { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; }
.shortlist-phone:hover { color: var(--blue); }

.cta-final { text-align: center; max-width: 660px; margin: 0 auto; }
.cta-final h2 { font-size: 32px; margin-bottom: 14px; }
.cta-final p { color: var(--grey); font-size: 16px; line-height: 1.7; margin-bottom: 26px; }
.cta-final .phone-big { display: block; margin-top: 18px; font-family: var(--font-heading); font-weight: 700; font-size: 22px; color: var(--ink); }

/* Blue closing CTA — Panasonic-page pattern (site style guide), ported 13 July */
.cta-blue { background: radial-gradient(120% 130% at 50% 0%, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; padding: 90px 24px; text-align: center; }
.cta-blue .kicker { color: #bfe0ff; font-family: var(--font-heading); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px; }
.cta-blue h2 { color: #fff; font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: 0; }
.cta-blue .ph { font-family: var(--font-heading); font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: 1px; margin: 18px 0 6px; }
.cta-blue .ph a { color: #fff; }
.cta-blue .web { color: #bfe0ff; font-size: 18px; letter-spacing: 1px; }
.cta-blue .cta-actions { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.cta-blue .btn-white { background: #fff; color: var(--blue); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.cta-blue .btn-white:hover { background: #f0f7ff; }
.cta-blue .btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.cta-blue .btn-ghost:hover { border-color: #fff; }

@media (max-width: 1020px) {
  .router, .tier-cards { grid-template-columns: 1fr; }
  .router-img { height: 150px; }
  .steps, .take-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps, .take-cards { grid-template-columns: 1fr; }
}

/* ---------- Review proof (hub, 14 July): Elfsight wrappers + static trust cards ---------- */
.widget-center { display: flex; justify-content: center; margin-top: 36px; }
.widget-band { margin-top: 46px; }
.trust-cards { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.trust-card { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 20px 26px; min-width: 240px; }
.tc-left { display: flex; flex-direction: column; gap: 3px; }
.tc-stars { color: #f6a623; font-size: 16px; letter-spacing: 2.5px; line-height: 1; }
.tc-score { font-family: var(--font-heading); font-weight: 800; font-size: 24px; line-height: 1; color: var(--ink); }
.tc-right b { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 16.5px; color: var(--ink); }
.tc-right small { font-size: 12.5px; color: var(--grey); }
.tc-right small a { color: var(--blue); font-weight: 600; }
.tc-right small a:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .trust-cards { flex-direction: column; align-items: stretch; }
  .trust-card { justify-content: center; }
}

/* Anchor landing offset — sticky header (84px) + subnav (52px) = 136px chrome. Margins tuned per target so the HEADING
   lands ~20px below the subnav (band top-padding hides under the chrome): 100px-padded bands → 60; 56px band → 100;
   90px cta → 70; bare div → 160. (Ben, 14 July — v2 after over-correction) */
section[id] { scroll-margin-top: 60px; } /* generic: covers hub + pool + wilson + future pages */
#contact { scroll-margin-top: 70px; }
#reviews { scroll-margin-top: 100px; }
#google-reviews { scroll-margin-top: 160px; }

/* ---------- Full-bleed banner hero (pool page: Madimack InverELITE banner, 14 July) ---------- */
.hero-banner img { display: block; width: 100%; height: auto; }
.hero-banner-ctas { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 24px; background: var(--white); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dealer-badge { height: 46px; width: auto; flex-shrink: 0; }
.hero-banner-ctas .dealer-badge { margin-left: 10px; }

/* ---------- Hero badge + staggered hero entrance (14 July; chip removed, centre-aligned, slower — Ben) ---------- */
.hero-badge { display: flex; justify-content: center; align-self: end; margin-bottom: 54px; } /* 54px = (panel 224 − badge 116)/2 → badge centred on copy panel */
@media (max-width: 1020px) { .hero-badge { align-self: center; margin-bottom: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy-panel { animation: heroInLeft 1.1s cubic-bezier(.16,1,.3,1) .2s both; }
  .hero-flagship  { animation: heroInRight 1.1s cubic-bezier(.16,1,.3,1) .5s both; }
  .hero-badge     { animation: heroInUp 1.1s cubic-bezier(.16,1,.3,1) .85s both; }
}
@keyframes heroInLeft  { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes heroInRight { from { opacity: 0; transform: translateX(30px); }  to { opacity: 1; transform: none; } }
@keyframes heroInUp    { from { opacity: 0; transform: translateY(26px); }  to { opacity: 1; transform: none; } }
