/* Brand colours: change these two lines to rebrand the whole site. */
:root {
  --brand: #1f6f6a;
  --brand-dark: #154f4b;
  --accent: #f2a541;
  --ink: #1c2526;
  --muted: #5e6b6c;
  --line: #dde4e4;
  --bg: #f4f7f7;
  --card: #ffffff;
  --ok: #1d7a46;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.demo-bar {
  background: var(--accent); color: #2a1a00; text-align: center;
  font-size: 13px; font-weight: 600; padding: 6px 12px;
}

.top { background: var(--brand); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { color: #fff; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: .2px; }
.top-tag { font-size: 13px; opacity: .85; text-align: right; }
@media (max-width: 520px) { .top-tag { display: none; } }

main.wrap { padding-top: 24px; padding-bottom: 48px; }

/* ---------- Questions ---------- */
.q { max-width: 620px; margin: 0 auto; }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 22px; }
.progress > span { display: block; height: 100%; background: var(--brand); transition: width .25s ease; }
.q h1 { font-size: 24px; line-height: 1.25; margin: 0 0 6px; }
.q .hint { color: var(--muted); margin: 0 0 20px; }
.opts { display: grid; gap: 10px; }
.opts.cols { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink);
  text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.opt:hover { border-color: var(--brand); }
.opt:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.opt.sel { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,111,106,.15); }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.opt .ico { font-size: 22px; width: 28px; text-align: center; flex: none; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea {
  font: inherit; font-size: 16px; padding: 13px 14px; border: 2px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.err { color: #b42318; font-size: 14px; min-height: 20px; margin: 4px 0 0; }

.nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 16px; border-radius: 10px; cursor: pointer;
  padding: 13px 22px; border: 2px solid var(--brand); background: var(--brand); color: #fff;
  text-decoration: none;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: rgba(31,111,106,.08); }
.btn.link { border: 0; background: none; color: var(--muted); padding: 8px 0; font-weight: 600; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Results ---------- */
.res-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.res-head h1 { font-size: 26px; margin: 0; line-height: 1.2; }
.res-head p { margin: 4px 0 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { background: #e6f0ef; color: var(--brand-dark); border-radius: 99px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.notice { background: #fff8eb; border: 1px solid #f6d79b; border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; font-size: 15px; }

.toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar label { font-size: 14px; color: var(--muted); }
.toolbar select { font: inherit; padding: 8px 10px; border-radius: 8px; border: 2px solid var(--line); background: #fff; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.card .tag { position: absolute; top: 14px; right: 14px; background: var(--accent); color: #2a1a00; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 3px 10px; }
.card .art { display: flex; justify-content: center; padding: 6px 0; }
.card h2 { font-size: 19px; margin: 0; line-height: 1.25; }
.card .brand { color: var(--muted); font-size: 14px; font-weight: 600; margin: 0; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size { font: inherit; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 8px; border: 2px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.size.sel { border-color: var(--brand); background: #e6f0ef; }
.size.rec::after { content: " \2713"; color: var(--ok); }
.card ul { margin: 0; padding-left: 20px; color: var(--ink); font-size: 15px; }
.warranty { font-size: 14px; font-weight: 600; color: var(--ok); }
.price { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.price .lbl { font-size: 13px; color: var(--muted); }
.price .amt { font-size: 28px; font-weight: 800; }
.card .actions { display: grid; gap: 8px; }
.finance { font-size: 14px; text-align: center; }
.finance button { background: none; border: 0; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }

.section { margin-top: 36px; }
.section h2 { font-size: 22px; margin: 0 0 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--brand); font-weight: 800; }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 14px; color: var(--muted); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding-bottom: 14px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }

.center { text-align: center; max-width: 560px; margin: 30px auto; }
.center h1 { font-size: 26px; }
.big-ok { font-size: 54px; color: var(--ok); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(10,20,20,.55); display: flex; align-items: flex-end; justify-content: center; z-index: 50; padding: 0; }
.modal[hidden] { display: none; }
.modal-box { background: #fff; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; border-radius: 18px 18px 0 0; padding: 24px 20px 20px; position: relative; }
.modal-box h2 { margin: 0 0 6px; font-size: 21px; padding-right: 30px; }
.modal-box .sub { color: var(--muted); margin: 0 0 16px; }
.modal-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--muted); }
.files { font-size: 14px; color: var(--muted); }

@media (min-width: 640px) {
  .modal { align-items: center; padding: 20px; }
  .modal-box { border-radius: 18px; }
  .q h1 { font-size: 28px; }
}

/* ---------- Depth ---------- */
body { background: linear-gradient(180deg, #eef4f3 0, var(--bg) 420px); }
.top { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.opt { box-shadow: 0 1px 2px rgba(16,40,40,.06), 0 4px 12px rgba(16,40,40,.05); }
.opt:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(16,40,40,.10); }
.btn { box-shadow: 0 4px 12px rgba(31,111,106,.25); transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost, .btn.link { box-shadow: none; }
.card { border: 0; box-shadow: 0 1px 3px rgba(16,40,40,.08), 0 10px 30px rgba(16,40,40,.08); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(16,40,40,.08), 0 18px 40px rgba(16,40,40,.12); }
.card .art { background: radial-gradient(ellipse at 50% 35%, #ffffff 0, #eef3f3 70%); border-radius: 12px; padding: 14px 0 8px; }
.bestfor { font-size: 14px; color: var(--muted); margin-top: -8px; }
details { box-shadow: 0 1px 3px rgba(16,40,40,.05); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* ---------- Landing ---------- */
.hero { display: grid; gap: 24px; align-items: center; background: #fff; border-radius: 22px; padding: 28px 20px;
  box-shadow: 0 1px 3px rgba(16,40,40,.06), 0 20px 50px rgba(16,40,40,.10); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,111,106,.14), rgba(31,111,106,0) 70%); }
.hero-text { position: relative; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; margin: 0 0 8px; }
.hero h1 { font-size: 30px; line-height: 1.15; margin: 0 0 10px; }
.lead { font-size: 17px; color: var(--muted); margin: 0 0 18px; }
.pc-form { display: flex; gap: 8px; }
.pc-form input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 14px; border: 2px solid var(--line); border-radius: 10px; text-transform: uppercase; }
.pc-form input::placeholder { text-transform: none; }
.pc-form input:focus { outline: none; border-color: var(--brand); }
.pc-form .btn { white-space: nowrap; }
.trust { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; font-weight: 600; }
.trust li::before { content: "\2713"; color: var(--ok); margin-right: 6px; font-weight: 800; }
.hero-art { display: flex; justify-content: center; align-items: flex-end; gap: 4px; position: relative; min-height: 170px; }
.hero-b { filter: drop-shadow(0 12px 18px rgba(16,40,40,.18)); }
.hb0 { transform: translateY(10px) rotate(-3deg); }
.hb2 { transform: translateY(10px) rotate(3deg); }

.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 1px 3px rgba(16,40,40,.06), 0 8px 24px rgba(16,40,40,.06); }
.step span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; }
.step h3 { margin: 10px 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.split { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: #e3f2ea; color: var(--ok); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.panel { background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 1px 3px rgba(16,40,40,.06), 0 12px 30px rgba(16,40,40,.08); }
.panel h3 { margin: 0 0 4px; }
.brand-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.brand-list span { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-weight: 700; font-size: 14px; }

.mini-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.mini { background: #fff; border-radius: 16px; padding: 14px; text-align: center; box-shadow: 0 1px 3px rgba(16,40,40,.06), 0 8px 24px rgba(16,40,40,.07); }
.mini .art { background: radial-gradient(ellipse at 50% 35%, #fff 0, #eef3f3 70%); border-radius: 12px; padding: 10px 0 4px; }
.mini h3 { font-size: 15px; margin: 10px 0 2px; }
.mini p { margin: 0; font-size: 14px; }
.mini .from strong { font-size: 18px; }

/* ---------- Details modal ---------- */
.det-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.det-head .art { background: radial-gradient(ellipse at 50% 35%, #fff 0, #eef3f3 70%); border-radius: 12px; padding: 8px; flex: none; }
.det-head .brand { margin: 0; color: var(--muted); font-weight: 600; font-size: 14px; }
.modal-box h3 { font-size: 16px; margin: 18px 0 8px; }
.modal-box ul { margin: 0; padding-left: 20px; }
.modal-box ul.ticks { padding-left: 0; }
.kv small { color: var(--muted); font-weight: 400; }

@media (min-width: 760px) {
  .hero { grid-template-columns: 1.15fr 1fr; padding: 40px; }
  .hero h1 { font-size: 40px; }
  .hero-art { min-height: 240px; }
}

/* Mobile fixes */
.hero { grid-template-columns: minmax(0, 1fr); }
.hero-text { min-width: 0; }
.pc-form { flex-wrap: wrap; }
.pc-form input { flex: 1 1 180px; }
.pc-form .btn { flex: 1 0 auto; }
@media (max-width: 759px) {
  .hero { padding: 24px 16px; }
  .hero h1 { font-size: 28px; }
  .hero-b svg { width: 27vw; height: auto; }
  .hero-b.hb1 svg { width: 33vw; }
  .hero-art { min-height: 0; }
}

/* ---------- Bigger top banner with phone + logos ---------- */
.top-in { min-height: 84px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 24px; }
.logos { display: flex; align-items: center; gap: 10px; }
.logos:empty { display: none; }
.brand-logo { height: 54px; width: auto; display: block; }
.top-right { display: flex; align-items: center; gap: 18px; }
.phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 9px 16px; white-space: nowrap; }
.phone:hover { background: rgba(255,255,255,.24); }
@media (max-width: 760px) {
  .top-in { min-height: 72px; }
  .logo { font-size: 20px; gap: 8px; }
  .brand-logo { height: 40px; }
  .top-tag { display: none; }
  .phone { font-size: 15px; padding: 7px 11px; }
}
@media (max-width: 400px) {
  .logo { font-size: 17px; }
  .phone { font-size: 14px; padding: 6px 10px; gap: 5px; }
}
.top-in { flex-wrap: wrap; row-gap: 8px; }
.logo { min-width: 0; }
@media (max-width: 760px) {
  .brand-logo { height: 34px; }
  .logos { gap: 6px; }
}
.brand-logo { background: #fff; border-radius: 8px; padding: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }

/* ---------- Header redesign (19 Nov) ---------- */
.top { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(16,40,40,.07); position: sticky; top: 0; z-index: 40; }
.topbar { background: var(--brand-dark); color: #e8f3f2; font-size: 13px; font-weight: 600; }
.topbar-in { display: flex; justify-content: center; gap: 28px; min-height: 34px; align-items: center; flex-wrap: wrap; }
.topbar-in span::before { content: "\2713"; color: var(--accent); margin-right: 6px; font-weight: 800; }
.top-in { min-height: 86px; padding-top: 12px; padding-bottom: 12px; flex-wrap: nowrap; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.wm { font-size: 28px; letter-spacing: -.5px; line-height: 1; white-space: nowrap; }
.wm b { font-weight: 800; color: var(--ink); }
.wm span { font-weight: 800; color: var(--brand); }
.wm i { font-style: normal; font-weight: 600; color: var(--muted); font-size: .72em; }
.top-right { display: flex; align-items: center; gap: 22px; }
.logos { gap: 14px; }
.brand-logo { height: 52px; background: none; border-radius: 4px; padding: 0; box-shadow: none; }
.phone { gap: 12px; color: #fff; background: linear-gradient(180deg, #f4b153, #e9962c); border: 0; border-radius: 14px;
  padding: 9px 18px 9px 10px; box-shadow: 0 6px 16px rgba(233,150,44,.35); font-size: 20px; }
.phone:hover { background: linear-gradient(180deg, #f6bb66, #ec9f3c); transform: translateY(-1px); }
.ph-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.22); }
.ph-txt { display: flex; flex-direction: column; line-height: 1.1; }
.ph-txt small { font-size: 12px; font-weight: 600; opacity: .9; }
.ph-txt strong { font-size: 20px; font-weight: 800; letter-spacing: .3px; }
.demo-bar { position: relative; z-index: 41; }

@media (max-width: 900px) {
  .logos { display: none; }
}
@media (max-width: 760px) {
  .topbar-in { gap: 14px; font-size: 12px; min-height: 30px; }
  .hide-sm { display: none; }
  .top-in { min-height: 66px; padding-top: 8px; padding-bottom: 8px; gap: 10px; }
  .wm { font-size: 22px; }
  .flame { width: 26px; height: 32px; }
  .phone { padding: 6px; border-radius: 12px; }
  .ph-txt small { display: none; }
  .ph-txt strong { font-size: 15px; }
  .ph-ico { width: 32px; height: 32px; }
}
@media (max-width: 440px) {
  .topbar-in span:nth-child(2) { display: none; }
  .wm { font-size: 19px; }
  .flame { width: 22px; height: 27px; }
  .logo { gap: 6px; }
  .phone { gap: 6px; padding: 5px 9px 5px 5px; }
  .ph-ico { width: 28px; height: 28px; border-radius: 8px; }
  .ph-ico svg { width: 16px; height: 16px; }
  .ph-txt strong { font-size: 14px; letter-spacing: 0; }
}
@media (max-width: 359px) {
  .ph-txt { display: none; }
  .phone { padding: 4px; }
  .ph-ico { width: 40px; height: 40px; }
}

/* Accreditation logos shown under the hero on smaller screens */
.accred { display: none; align-items: center; gap: 14px; margin-top: 16px; }
.accred img { height: 44px; width: auto; }
@media (max-width: 900px) { .accred { display: flex; } }

/* Desktop hero: two columns again (the mobile fix above must not override it) */
@media (min-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

/* ---------- Brand filter ---------- */
.brand-filter { display: flex; align-items: center; gap: 10px; margin: -2px 0 18px; }
.bf-label { font-size: 14px; color: var(--muted); flex: none; }
.bf-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.bf { flex: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); background: #fff; border: 2px solid var(--line);
  border-radius: 999px; padding: 7px 14px; cursor: pointer; box-shadow: 0 1px 3px rgba(16,40,40,.06); white-space: nowrap; }
.bf span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 4px; border-radius: 99px;
  background: var(--bg); color: var(--muted); font-size: 12px; padding: 0 6px; }
.bf:hover { border-color: var(--brand); }
.bf.sel { background: var(--brand); border-color: var(--brand); color: #fff; }
.bf.sel span { background: rgba(255,255,255,.22); color: #fff; }
.bf:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 600px) { .bf-label { display: none; } .brand-filter { margin-right: -16px; } }
@media (min-width: 601px) {
  .bf-row { flex-wrap: wrap; overflow: visible; padding-bottom: 2px; }
  .brand-filter { align-items: flex-start; }
  .bf-label { padding-top: 9px; }
}
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
