/* Warmup landing page template — ported verbatim from the approved design
   (quotelandingpage.netlify.app). Global selectors (:root/html/body) are re-rooted to .wlp so the
   same stylesheet works on the hosted page AND inside the Shadow DOM used by assets/page-embed.js.
   Additions for Form Studio live in landing-extra.css, so this file can be re-synced with the design. */
/* ============ Tokens ============ */

.wlp {
  --red: #cf1e30;
  --red-hover: #b00216;
  --ufh-dark: #1a1a1a;
  --red-deep: #7a0a16;
  --ember: #ff5a36;
  --amber: #ffb347;
  --red-soft: #fdecee;
  --navy: #2c3e55;
  --ink: #141416;
  --night: #0a0a0b;
  --text: #555;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --field: #f5f7fa;
  --field-line: #d5dde6;
  --grey: #f4f4f4;
  --green: #00b67a;
  --radius: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --heat: linear-gradient(100deg, var(--amber) 0%, var(--ember) 35%, var(--red) 70%, #ff7a59 100%);
}

/* ============ Base (mobile first) ============ */
* { box-sizing: border-box; }
.wlp { margin: 0; min-width: 320px; font-family: "Open Sans", Arial, sans-serif; font-size: 15px; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: calc(100% - 32px); max-width: 1240px; margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section { padding: 72px 0; }
.grey { background: var(--grey); }
.center { text-align: center; }

.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.h2 { color: var(--ink); font-size: clamp(28px, 6.5vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
.h2 em { color: var(--red); }
.grad { background: var(--heat); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }

.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--red-hover); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .75; cursor: wait; }
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn.block { width: 100%; }
.btn.white { background: #fff; color: var(--red); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #33302c; }
.hero-extra-cta { margin-top: 22px; min-height: 50px; padding: 0 24px; font-size: 14px; letter-spacing: 0; text-transform: none; text-align: center; }

.stars { display: inline-flex; gap: 2px; }
.stars i { display: grid; place-items: center; width: 18px; height: 18px; background: var(--green); }
.stars i.half { background: linear-gradient(90deg, var(--green) 50%, #dcdce6 50%); }
.stars i::before { content: "★"; color: #fff; font-size: 12px; line-height: 1; font-style: normal; }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.head img { width: 104px; }
.head-trust { display: none; }
.head .btn { min-height: 40px; padding: 0 16px; font-size: 11.5px; box-shadow: none; }

/* ============ Hero (light, photo-led – Warmup site style) ============ */
.hero { position: relative; padding: 22px 0 44px; background: var(--grey); color: var(--ink); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.hero-copy, .form-card, .hero-extra { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: #6b6b6b; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 { margin-top: 14px; font-size: clamp(34px, 9.4vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
.hero h1 .red { color: var(--red); }
.hero-sub { margin-top: 14px; max-width: 520px; color: #555; font-size: clamp(14.5px, 3.8vw, 17px); line-height: 1.6; }

/* Product photo with callout */
.shot { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: #e9e7e3; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.callout { position: absolute; left: 50%; bottom: 6%; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); pointer-events: none; }
.callout span { order: -1; margin-bottom: 8px; padding: 6px 10px; border-radius: 4px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.callout span b { color: var(--red); }
.callout::before { content: ""; order: 0; width: 1px; height: 26px; background: #fff; }
.callout::after { content: ""; order: 1; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: var(--red); }

/* Spec line – typographic, no boxes */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0 0; padding: 0; border-top: 1px solid #dcdcdc; list-style: none; }
.spec li { padding: 12px 12px 12px 0; border-bottom: 1px solid #dcdcdc; }
.spec li:nth-child(odd) { border-right: 1px solid #dcdcdc; }
.spec li:nth-child(even) { padding-left: 14px; }
.spec strong { display: block; color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.spec span { display: block; margin-top: 3px; color: #666; font-size: 12px; line-height: 1.3; }
.accolades { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 18px; }
.accolades img { height: 40px; width: auto; filter: brightness(0); opacity: .55; }
.accolades a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12.5px; font-weight: 600; }
.accolades a b::before { content: "★"; margin-right: 3px; color: var(--green); }

/* ============ v4 hero: warm, photo-led, mobile first ============ */
.hero { overflow: hidden; padding: 0 0 36px; background: #f3efe9; color: var(--ink); isolation: isolate; }
.hero-photo { position: relative; margin: 0; aspect-ratio: 16 / 9; max-height: 46vh; width: 100%; overflow: hidden; background: #e6ded3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 45%; }
.photo-badge { position: absolute; left: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.photo-badge .stars i { width: 16px; height: 16px; }
.photo-badge .stars i::before { font-size: 11px; }
.hero-grid { z-index: 1; gap: 20px; padding-top: 22px; }
.eyebrow { display: none; gap: 10px; color: #5f5951; font-size: clamp(9.5px, .78vw, 11px); letter-spacing: .15em; white-space: nowrap; }
.eyebrow::before { width: 28px; height: 1.5px; background: var(--red); }
.hero h1 { margin-top: 0; font-size: clamp(34px, 9vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; color: var(--ink); }
.hero h1 .red { color: var(--red); }
.hero-sub { max-width: 440px; margin-top: 10px; color: #5c5750; font-size: 15px; line-height: 1.65; }
.form-card { box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 26px 50px -26px rgba(60, 40, 20, .35); }
.hero .spec { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 4px; border-top: 1px solid #ddd5ca; }
.hero .spec li, .hero .spec li:nth-child(odd), .hero .spec li:nth-child(even) { padding: 14px 12px 0; border: 0; }
.hero .spec li:first-child { padding-left: 0; }
.hero .spec li + li { border-left: 1px solid #ddd5ca; }
.hero .spec strong { color: var(--ink); font-size: clamp(18px, 5vw, 24px); font-weight: 800; letter-spacing: -.02em; }
.hero .spec span { color: #5f5951; font-size: 12px; }
.hero .accolades { gap: 12px 24px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #ddd5ca; }
.hero .accolades img { height: 38px; filter: brightness(0); opacity: .45; }
.accolades img.acc-eco { height: 44px; filter: none; mix-blend-mode: normal; opacity: 1; }
.hero .accolades a { color: var(--ink); font-size: 12px; }

/* ============ Form card ============ */
.form-card { position: relative; scroll-margin-top: 72px; overflow: hidden; border-top: 4px solid var(--red); border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 24px 50px -28px rgba(0, 0, 0, .35); container-type: inline-size; }
.form-inner { position: relative; padding: 20px 18px 20px; background: #fff; color: var(--text); }

.form-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.form-head h2 { color: var(--ink); font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.form-head p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.timer { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: 11.5px; font-weight: 800; }
.timer svg { width: 14px; height: 14px; stroke-width: 2.4; }

/* Stepper */
.stepper { position: relative; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 6px; margin: 16px 0 4px; counter-reset: st; }
.stepper li { list-style: none; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11.5px; white-space: nowrap; font-weight: 700; transition: color .3s; }
.stepper li::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 12px; transition: all .3s var(--ease); }
.stepper li.on { color: var(--ink); }
@container (max-width: 380px) { .stepper li:not(.on) { font-size: 0; gap: 0; } }
.stepper li.on::before { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 0 0 4px rgba(208, 31, 47, .15); }
.stepper li.done::before { content: "✓"; border-color: var(--red); background: var(--red-soft); color: var(--red); }
.track { position: relative; height: 4px; margin: 10px 0 2px; overflow: hidden; border-radius: 4px; background: var(--line); }
.track span { position: absolute; inset: 0 auto 0 0; width: var(--p, 50%); border-radius: 4px; background: var(--red); transition: width .5s var(--ease); }
.stepper, .stepper + .track { padding: 0; }

.step { display: grid; gap: 16px; min-width: 0; margin: 14px 0 0; padding: 0; border: 0; }
.step[hidden] { display: none; }
.step:not([hidden]) { animation: stepIn .5s var(--ease) both; }
.row { display: grid; gap: 14px; }

.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.label, .field > label:not(.consent) { color: var(--ink); font-size: 14px; font-weight: 700; }
.req { color: var(--red); }
.opt { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.hint { font-size: 12px; color: var(--muted); }
.error { display: none; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--red); }
.error::before { content: "!"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; }
.invalid .error { display: flex; animation: shake .35s; }

.input { width: 100%; min-height: 54px; padding: 14px 16px; border: 1.5px solid transparent; border-radius: 12px; background: var(--field); font-size: 16px; /* 16px prevents iOS zoom */ box-shadow: inset 0 0 0 1px var(--field-line); transition: box-shadow .2s, background .2s, border-color .2s; appearance: none; }
.input:hover { box-shadow: inset 0 0 0 1px #b9c5d2; }
.input:focus { outline: none; background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(208, 31, 47, .12); }
.invalid .input { border-color: var(--red); background: #fff8f8; }
textarea.input { min-height: 96px; resize: vertical; }

/* Floating labels */
.float { position: relative; }
.float .input { padding: 22px 16px 8px; }
.float textarea.input { padding-top: 26px; }
.float label { position: absolute; left: 17px; top: 17px; color: var(--muted); font-size: 15px; font-weight: 600; pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; }
.float .input:focus + label, .float .input:not(:placeholder-shown) + label { transform: translateY(-9px) scale(.75); color: var(--red); }
.float .input:not(:focus):not(:placeholder-shown) + label { color: var(--muted); }
.float .valid-tick { position: absolute; right: 14px; top: 17px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3.2; opacity: 0; transform: scale(.4); transition: all .25s var(--ease); }
.float .input:valid:not(:placeholder-shown) ~ .valid-tick { opacity: 1; transform: none; }
.unit-tag { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; font-weight: 600; pointer-events: none; }

/* Interest tiles */
.tiles { display: grid; gap: 8px; }
.tile { position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 46px 9px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--field-line); cursor: pointer; transition: box-shadow .2s, background .2s, transform .2s var(--ease); }
.tile:hover { box-shadow: inset 0 0 0 1.5px #b9c5d2; transform: translateY(-1px); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile .t-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grey); color: var(--ink); transition: all .25s var(--ease); }
.tile b { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.25; }
.tile small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }
.tile .check { position: absolute; right: 12px; top: 50%; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--field-line); color: #fff; transform: translateY(-50%); transition: all .25s var(--ease); }
.tile .check svg { width: 13px; height: 13px; stroke-width: 3.4; transform: scale(0); transition: transform .25s var(--ease); }
.tile:has(input:checked) { background: linear-gradient(180deg, #fff, var(--red-soft)); box-shadow: inset 0 0 0 2px var(--red), 0 10px 24px -12px rgba(208, 31, 47, .5); }
.tile:has(input:checked) .t-ico { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.05); }
.tile:has(input:checked) .check { background: var(--red); box-shadow: none; }
.tile:has(input:checked) .check svg { transform: scale(1); }
.tile:has(input:focus-visible) { outline: 3px solid rgba(208, 31, 47, .3); outline-offset: 2px; }
.invalid .tile { box-shadow: inset 0 0 0 1.5px #f1b3b9; }

/* Flooring picture tiles */
.floors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.floor { position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 12px; cursor: pointer; background: #ddd; isolation: isolate; }
.floor input { position: absolute; opacity: 0; pointer-events: none; }
.floor img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.floor::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .7)); }
.floor span { position: absolute; left: 8px; right: 8px; bottom: 7px; color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.2; }
.floor .check { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .85); color: #fff; transition: all .25s var(--ease); }
.floor .check svg { width: 13px; height: 13px; stroke-width: 3.4; transform: scale(0); transition: transform .25s var(--ease); }
.floor:hover img { transform: scale(1.08); }
.floor:has(input:checked) { box-shadow: 0 0 0 3px var(--red), 0 10px 22px -10px rgba(208, 31, 47, .7); }
.floor:has(input:checked) .check { background: var(--red); }
.floor:has(input:checked) .check svg { transform: scale(1); }
.floor:has(input:focus-visible) { outline: 3px solid rgba(208, 31, 47, .35); outline-offset: 3px; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.add-note { justify-self: start; padding: 4px 0; border: 0; background: none; color: var(--navy); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.add-note[aria-expanded="true"] { display: none; }
.float[hidden] { display: none; }
.form-actions.duo { grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.floor-unsure { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--field-line); font-size: 12.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .2s; }
.floor-unsure input { accent-color: var(--red); margin: 0; }
.floor-unsure:has(input:checked) { box-shadow: inset 0 0 0 2px var(--red); background: var(--red-soft); }

/* Area quick picks */
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--grey); color: var(--ink); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all .2s var(--ease); }
.quick button:hover { background: #e9e9e9; }
.quick button.on { background: var(--ink); color: #fff; }
.quick button small { color: inherit; opacity: .6; font-size: 11px; }

/* Upload */
.file { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px; border: 1.5px dashed var(--field-line); border-radius: 14px; background: var(--field); cursor: pointer; transition: all .2s; }
.file:hover, .file.drag { border-color: var(--red); background: #fff; }
.file.has { border-style: solid; border-color: var(--green); background: #f2fbf7; }
.file input { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; opacity: 0; cursor: pointer; font-size: 0; }
.file { overflow: hidden; }
.file .f-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--red); box-shadow: 0 4px 12px rgba(0, 0, 0, .06); }
.file span { min-width: 0; }
.file b { display: block; color: var(--ink); font-size: 14px; }
.file em { display: block; overflow: hidden; font-style: normal; font-size: 12px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.perk { display: inline-flex; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #e6f7f0; color: #0a8a5c; font-size: 10.5px; font-weight: 700; vertical-align: 1px; }

.consent { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--field); font-size: 13px; line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.consent a { color: var(--navy); text-decoration: underline; font-weight: 600; }
.consent-title { margin: 0 0 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
.form-actions { display: grid; gap: 10px; margin-top: 2px; }
.back { justify-self: center; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.back:hover { color: var(--ink); }
.reassure { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.reassure span { display: inline-flex; align-items: center; gap: 5px; }
.reassure svg { width: 14px; height: 14px; color: var(--green); stroke-width: 2.4; }
.reassure .stars i { width: 15px; height: 15px; }
.reassure .stars i::before { font-size: 10px; }
.form-proof { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.form-proof .stars i { width: 15px; height: 15px; }
.form-proof .stars i::before { font-size: 10px; }

/* Success */
.success { display: none; padding: 16px 4px 6px; text-align: center; }
.success svg.ring { width: 88px; height: 88px; margin: 0 auto 14px; }
.success .ring circle { fill: none; stroke: var(--red); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s var(--ease) forwards; }
.success .ring path { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .5s var(--ease) .6s forwards; }
.success h2 { color: var(--ink); font-size: 24px; font-weight: 800; }
.success p { margin-top: 8px; }
.success ol { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; text-align: left; counter-reset: n; }
.success li { list-style: none; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--field); font-size: 13.5px; color: var(--ink); }
.success li::before { counter-increment: n; content: counter(n); display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; }
.form-card.done form, .form-card.done .form-head { display: none; }
.form-card.done .success { display: block; animation: stepIn .5s var(--ease) both; }

@container (min-width: 480px) {
  .form-inner { padding: 26px 28px 22px; }
  .form-head h2 { font-size: 26px; }
  .row.two { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 0; padding: 12px; }
  .tile > span:nth-of-type(2) { padding-right: 4px; }
  .tile .check { top: 14px; transform: none; }
  .floors { grid-template-columns: repeat(6, 1fr); }
  .floor span { font-size: 11px; }
}


/* ============ Reviews ============ */
.reviews { padding: 40px 0 30px; border-bottom: 1px solid var(--line); }
.tp-carousel { min-height: 140px; }
.g-reviews-mount { min-height: 120px; }
.g-reviews-note { margin: 0; padding: 40px 16px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; color: #6f6a63; font-size: 14px; }

/* ============ Steps ============ */
.next { position: relative; display: grid; gap: 14px; margin: 32px 0 0; padding: 0; counter-reset: s; }
.next li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); list-style: none; transition: transform .3s var(--ease), box-shadow .3s; }
.next li:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .2), 0 0 0 1px var(--line); }
.next li::before { counter-increment: s; content: "0" counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; font-size: 14px; font-weight: 700; }
.next h3 { color: var(--ink); font-size: 16px; font-weight: 800; }
.next p { margin-top: 4px; font-size: 14px; }

/* ============ Benefits ============ */
.benefits { display: grid; gap: 12px; margin-top: 28px; }
.benefit { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 16px; border-radius: var(--radius); background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.benefit:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .25); }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--red-soft); color: var(--red); flex: none; }
.benefit h3 { margin-top: 2px; color: var(--ink); font-size: 15px; font-weight: 800; }
.benefit p { margin-top: 2px; font-size: 14px; }
.benefit-note { display: block; margin-top: 6px; color: #7a736b; font-size: 11.5px; line-height: 1.4; }

.ba { position: relative; overflow: hidden; margin-top: 28px; aspect-ratio: 4 / 3; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba .bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-1.5px); pointer-events: none; box-shadow: 0 0 20px rgba(255, 255, 255, .6); }
.ba .knob { position: absolute; top: 50%; left: var(--pos); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--red); font-weight: 800; box-shadow: 0 8px 20px rgba(0, 0, 0, .25), 0 0 0 6px rgba(255, 255, 255, .3); transform: translate(-50%, -50%); pointer-events: none; }
.ba { cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba img { pointer-events: none; }
.ba input { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba:has(input:focus-visible) { outline: 3px solid rgba(208, 31, 47, .4); outline-offset: 3px; }
.ba .lbl { position: absolute; top: 14px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(20, 20, 20, .6); backdrop-filter: blur(6px); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.ba .lbl-l { left: 14px; }
.ba .lbl-r { right: 14px; background: var(--red); }
.ba-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* ============ 7iE thermostat (v6: dark, layered) ============ */
.feat { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.feat li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .03); transition: border-color .25s, background .25s; }
.feat li:hover { border-color: rgba(207, 30, 48, .7); background: rgba(207, 30, 48, .06); }
.feat .ico { width: 42px; height: 42px; border-radius: 10px; background: rgba(207, 30, 48, .16); color: #ff5a64; }
.feat .ico svg { width: 19px; height: 19px; }
.feat h3 { color: #fff; font-size: 15px; font-weight: 700; }
.feat p { margin-top: 3px; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .62); }
.works-with { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; color: rgba(255, 255, 255, .5); font-size: 12px; }
.works-with b { margin-right: 4px; font-weight: 600; }
.works-with span { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; color: #fff; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 2px; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.text-link svg { width: 14px; height: 14px; }
.text-link:hover { color: var(--red); }

/* ============ Smartcare ============ */
.sc-card { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fff; }
.sc-media { position: relative; background: #7a7b7b; }
.sc-media img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 40%; }
.sc-body { padding: 32px 22px 30px; }
.sc-body .kicker { color: #ff8a92; }
.sc-body h2 { color: #fff; font-size: clamp(28px, 6.5vw, 40px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
.sc-body h2 em { color: #ff8a92; font-style: normal; }
.sc-body > p { margin-top: 14px; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.65; }
.sc-free { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(255, 255, 255, .06); }
.sc-free b { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sc-free span { color: #fff; font-size: 17px; font-weight: 700; line-height: 1.3; }
.sc-free small { display: block; margin-top: 2px; color: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 400; }
.sc-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.sc-list li { display: flex; gap: 12px; color: rgba(255, 255, 255, .88); font-size: 15px; line-height: 1.5; }
.sc-list svg.i { width: 22px; height: 22px; margin-top: 1px; color: #ff8a92; }
.sc-list b { color: #fff; }
.sc-body .text-link { color: #fff; }
.sc-ast { color: var(--red); font-weight: 700; }
sup.sc-ast { margin-left: 1px; font-size: .7em; line-height: 0; }
.sc-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .6); font-size: 13px; }
@media (min-width: 900px) {
  .sc-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .sc-media img { position: absolute; inset: 0; aspect-ratio: auto; }
  .sc-media { min-height: 560px; }
  .sc-body { align-self: center; padding: 56px 52px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ Proof (dark) ============ */
.proof { position: relative; overflow: hidden; background: var(--night); color: rgba(255, 255, 255, .78); isolation: isolate; }
.proof::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 50% at 80% 0%, rgba(208, 31, 47, .35), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(255, 90, 54, .2), transparent 70%); }
.proof .h2 { color: #fff; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
.stats div { padding: 20px 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); }
.stats strong { font-size: clamp(34px, 9vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.stats sup { margin-left: 4px; color: var(--ember); font-size: 14px; font-weight: 800; }
.stats sup.gold { color: var(--amber); }
.stats span { display: block; margin-top: 10px; color: rgba(255, 255, 255, .55); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.guarantees { display: grid; gap: 10px; margin-top: 12px; }
.guarantee { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .04); transition: border-color .3s, background .3s; }
.guarantee:hover { border-color: rgba(208, 31, 47, .6); background: rgba(208, 31, 47, .08); }
.guarantee .ico { background: rgba(208, 31, 47, .2); color: #ff6b6b; }
.guarantee h3 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.guarantee p { margin-top: 4px; font-size: 13.5px; }
.awards { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 44px; margin-top: 40px; }
.awards img { height: 56px; width: auto; filter: brightness(0) invert(1); opacity: .6; }

/* ============ FAQ ============ */
.acc { display: grid; gap: 10px; margin-top: 28px; }
.acc details { border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.acc details[open] { box-shadow: 0 0 0 2px var(--red), 0 16px 30px -20px rgba(208, 31, 47, .5); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; color: var(--ink); font-size: 15px; font-weight: 700; list-style: none; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--grey); color: var(--ink); font-size: 18px; font-weight: 400; line-height: 1; transition: transform .3s var(--ease), background .3s, color .3s; }
.acc details[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.acc details p { padding: 0 20px 18px; font-size: 14.5px; }
.acc details a { text-decoration: underline; }

/* ============ CTA band ============ */
.cta-band { position: relative; overflow: hidden; padding: 72px 0; background: var(--red); color: #fff; isolation: isolate; }
.cta-band h2 { font-size: clamp(36px, 9vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.cta-band h2 em { color: #fff; font-style: italic; }
.cta-band p { margin: 14px 0 28px; color: rgba(255, 255, 255, .9); font-size: 16px; }

/* ============ Footer ============ */
.site-footer { padding: 28px 0 104px; font-size: 13px; color: var(--muted); }
.foot { display: grid; gap: 12px; justify-items: center; text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.foot a:hover { color: var(--red); }

/* ============ Sticky mobile CTA ============ */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(20, 20, 22, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); transform: translateY(160%); transition: transform .4s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta p { flex: 1; font-size: 12.5px; line-height: 1.3; }
.sticky-cta p b { display: block; font-size: 13.5px; }
.sticky-cta .btn { min-height: 46px; padding: 0 18px; font-size: 12px; }

/* ============ Reveal on scroll ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .rise { opacity: 0; animation: rise .9s var(--ease) forwards; }
.hero .rise:nth-child(2) { animation-delay: .08s; }
.hero .rise:nth-child(3) { animation-delay: .16s; }
.hero .rise:nth-child(4) { animation-delay: .24s; }
.hero .rise:nth-child(5) { animation-delay: .32s; }
.form-card.rise { animation-delay: .25s; }

/* ============ Keyframes ============ */
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes sweep { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3%); } }
@keyframes drift { to { transform: scale(1.16) translate(-2%, -1%); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes blink { 50% { opacity: .35; } }

/* ============ Tablet ============ */
@media (min-width: 640px) {
  section { padding: 88px 0; }
  .head-trust { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); }
  .head-trust b::before { content: "★"; margin-right: 3px; color: var(--green); }
  .spec { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .eyebrow { display: inline-flex; }
  .hero-photo { aspect-ratio: 16 / 7; }
  .hero .accolades a { margin-left: auto; }
  .spec li, .spec li:nth-child(even) { padding: 12px 14px; border-right: 1px solid rgba(255, 255, 255, .14); }
  .spec li:first-child { padding-left: 0; }
  .spec li:last-child { border-right: 0; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .guarantees { grid-template-columns: 1fr 1fr; }
  .next { grid-template-columns: repeat(3, 1fr); }
  .next li { grid-template-columns: 1fr; padding: 26px; }
  .next::before { content: ""; position: absolute; top: 52px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, rgba(208, 31, 47, .4), transparent); }
}

/* ============ Desktop ============ */
@media (min-width: 1024px) {
  section { padding: 110px 0; }
  .head { height: 72px; }
  .head img { width: 122px; }
  .head .btn { min-height: 46px; padding: 0 22px; font-size: 12.5px; }
  .hero { display: flex; align-items: center; min-height: calc(100svh - 72px); padding: 36px 0; }
  .hero > .wrap { max-width: 1440px; }
  .hero-photo { position: absolute; top: 0; right: 0; bottom: 0; left: 55%; z-index: 0; aspect-ratio: auto; max-height: none; width: auto; }
  .hero-photo img { object-position: 85% 50%; }
  .photo-badge { left: auto; right: 24px; bottom: 24px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 560px; grid-template-rows: auto auto; grid-template-areas: "copy form" "extra form"; align-content: center; column-gap: 56px; row-gap: 32px; padding-top: 0; }
  .hero-copy { grid-area: copy; align-self: end; }
  .hero-extra { grid-area: extra; align-self: start; }
  .form-card { grid-area: form; align-self: center; }
  .hero h1 { font-size: clamp(44px, min(4.2vw, 7.4vh), 64px); }
  .hero-sub { font-size: 16.5px; }
  .sticky-cta { display: none; }
  .split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
  .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
  .cta-band { padding: 110px 0; }
  .cta-band p { margin-bottom: 0; }
  .site-footer { padding-bottom: 32px; }
  .foot { grid-template-columns: auto 1fr auto; text-align: left; }
}

@media (min-width: 1280px) {
  .hero-photo { left: 50%; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 600px minmax(0, .3fr); grid-template-areas: "copy form ." "extra form ."; }
}

@media (min-width: 1024px) and (max-height: 800px) {
  .accolades img { height: 36px; }
  .hero-grid { row-gap: 28px; }
  .hero-sub { font-size: 16px; margin-top: 10px; }
}

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

/* ============ v5: clean, professional form ============ */
.form-card { border-top: 0; border-radius: 16px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 24px 48px -24px rgba(40, 30, 20, .3); }
.form-inner { padding: 22px 20px 20px; }
.form-head { display: block; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.form-head h2 { font-size: 21px; font-weight: 700; letter-spacing: -.015em; }
.form-head p { margin-top: 4px; color: #6f6f6f; font-size: 13px; }

/* Progress: text label + three-part bar */
.progress-head { margin: 16px 0 2px; }
.step-label { color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.form-card .stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0 0; padding: 0; }
.form-card .stepper li { display: block; height: 4px; border-radius: 4px; background: #e8e8e8; font-size: 0; color: transparent; transition: background .3s; }
.form-card .stepper li::before { content: none; }
.form-card .stepper li.on, .form-card .stepper li.done { background: var(--red); }

.step { gap: 20px; margin-top: 18px; }
.label, .field > label:not(.consent) { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.opt { font-size: 12px; }

/* Interest: clean selectable rows */
.form-card .tiles { grid-template-columns: 1fr; gap: 8px; }
.form-card .tile { flex-direction: row; align-items: center; gap: 12px; min-height: 56px; padding: 10px 44px 10px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px #dcdcdc; transform: none; }
.form-card .tile:hover { box-shadow: inset 0 0 0 1px #b8b8b8; transform: none; }
.form-card .tile .t-ico { width: 34px; height: 34px; border-radius: 8px; background: #f4f4f4; color: #333; transform: none; }
.form-card .tile .t-ico svg { width: 18px; height: 18px; }
.form-card .tile b { font-size: 14px; font-weight: 700; }
.form-card .tile small { font-size: 12px; color: #666; }
.form-card .tile .check { top: 50%; right: 14px; width: 20px; height: 20px; transform: translateY(-50%); box-shadow: inset 0 0 0 1.5px #c8c8c8; }
.form-card .tile:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 1.5px var(--red); }
.form-card .tile:has(input:checked) .t-ico { background: var(--red-soft); color: var(--red); transform: none; }

/* Flooring: picture + label underneath, check only when selected */
.form-card .floors { gap: 10px 8px; }
.form-card .floor { display: grid; gap: 6px; aspect-ratio: auto; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.form-card .floor::after { content: none; }
.form-card .floor img { position: static; z-index: auto; width: 100%; aspect-ratio: 1 / 1; height: auto; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); transition: box-shadow .2s, transform .3s var(--ease); }
.form-card .floor:hover img { transform: none; }
.form-card .floor span { position: static; color: #444; font-size: 11.5px; font-weight: 600; line-height: 1.25; text-align: center; }
.form-card .floor .check { top: 6px; right: 6px; width: 20px; height: 20px; background: var(--red); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s var(--ease); }
.form-card .floor:has(input:checked) { box-shadow: none; }
.form-card .floor:has(input:checked) img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red); }
.form-card .floor:has(input:checked) span { color: var(--ink); }
.form-card .floor:has(input:checked) .check { opacity: 1; transform: none; }
.form-card .floor:has(input:checked) .check svg { transform: scale(1); }
.form-card .floor-unsure { padding: 0; box-shadow: none; background: none; color: #555; font-size: 12.5px; font-weight: 600; }
.form-card .floor-unsure:has(input:checked) { box-shadow: none; background: none; color: var(--red); }

/* Area shortcuts: outlined chips */
.form-card .quick { gap: 6px; }
.form-card .quick button { min-height: 34px; padding: 0 12px; background: #fff; box-shadow: inset 0 0 0 1px #dcdcdc; color: #333; font-size: 12.5px; }
.form-card .quick button:hover { background: #fafafa; box-shadow: inset 0 0 0 1px #b8b8b8; }
.form-card .quick button.on { background: var(--red-soft); box-shadow: inset 0 0 0 1.5px var(--red); color: var(--red); }

/* Visual pick cards (radio): I am, project start, installer */
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.picks.duo { grid-template-columns: 1fr 1fr; }
.pick { position: relative; display: grid; justify-items: center; align-content: start; gap: 7px; padding: 14px 8px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #dcdcdc; text-align: center; cursor: pointer; transition: box-shadow .2s, background .2s, transform .2s var(--ease); }
.pick:hover { box-shadow: inset 0 0 0 1px #b8b8b8; transform: translateY(-1px); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick b { color: var(--ink); font-size: 12.5px; font-weight: 700; line-height: 1.25; }
.pick small { margin-top: -4px; color: #666; font-size: 11px; line-height: 1.3; }
.pick .p-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f4f4f4; color: #333; transition: all .25s var(--ease); }
.pick .p-ico svg { width: 22px; height: 22px; }
.pick .check { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s var(--ease); }
.pick .check svg { width: 11px; height: 11px; stroke-width: 3.4; }
.pick:has(input:checked) { background: linear-gradient(180deg, #fff, var(--red-soft)); box-shadow: inset 0 0 0 1.5px var(--red), 0 10px 22px -14px rgba(208, 31, 47, .55); }
.pick:has(input:checked) .p-ico { background: var(--red); color: #fff; transform: scale(1.06); }
.pick:has(input:checked) .check { opacity: 1; transform: none; }
.pick:has(input:focus-visible) { outline: 3px solid rgba(208, 31, 47, .3); outline-offset: 2px; }
.invalid .pick { box-shadow: inset 0 0 0 1.5px #f1b3b9; }
/* Project start: simple pill chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #dcdcdc; color: #333; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s var(--ease); }
.chip:hover { box-shadow: inset 0 0 0 1px #b8b8b8; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip svg { width: 14px; height: 14px; margin-left: -4px; stroke-width: 3; display: none; }
.chip:has(input:checked) { background: var(--red-soft); box-shadow: inset 0 0 0 1.5px var(--red); color: var(--red); }
.chip:has(input:checked) svg { display: block; }
.chip:has(input:focus-visible) { outline: 3px solid rgba(208, 31, 47, .3); outline-offset: 2px; }
.invalid .chip { box-shadow: inset 0 0 0 1.5px #f1b3b9; }
/* Postcode lookup */
.pc-menu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #dcdcdc, 0 18px 36px -14px rgba(0, 0, 0, .3); animation: faqIn .2s var(--ease); }
.pc-menu[hidden] { display: none; }
.pc-list { margin: 0; padding: 4px; list-style: none; }
.pc-list li { display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; border-radius: 7px; color: #666; font-size: 13px; cursor: pointer; }
.pc-list li b { color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.pc-list li[aria-selected="true"], .pc-list li:hover { background: var(--red-soft); }
.pc-list li[aria-selected="true"] b { color: var(--red); }
.pc-by { display: block; padding: 4px 12px 7px; border-top: 1px solid #f0f0f0; color: #6b6b6b; font-size: 10.5px; text-align: right; }
.pc-field .hint b { color: var(--ink); font-weight: 700; }
/* Area size slider: a 9×9 m floor plan (1m² squares) with a heated zone that grows */
.area { --p: 0%; --side: 0%; padding: 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px #e1e1e1; background: #fff; }
.area-top { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; }
.area-plan { position: relative; aspect-ratio: 1; border-radius: 6px; background: linear-gradient(#ececec 1px, transparent 1px) 0 0 / 11.111% 11.111%, linear-gradient(90deg, #ececec 1px, transparent 1px) 0 0 / 11.111% 11.111%, #fafafa; box-shadow: inset 0 0 0 2px #cfcfcf; overflow: hidden; }
.area-zone { position: absolute; left: 0; bottom: 0; width: var(--side); height: var(--side); border-radius: 0 4px 0 0; background: repeating-linear-gradient(90deg, rgba(207, 30, 48, .55) 0 1.5px, transparent 1.5px 5px), rgba(207, 30, 48, .12); box-shadow: inset 0 0 0 2px var(--red); transition: width .12s, height .12s; }
.area-dim { position: absolute; right: 5px; top: 4px; color: #6b6b6b; font-size: 10px; font-weight: 700; }
.area-val { display: block; color: var(--ink); font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.area-val small { color: #6b6b6b; font-size: 15px; font-weight: 700; }
.area.set .area-val { color: var(--red); }
.area-cat { display: block; margin-top: 6px; color: var(--ink); font-size: 13.5px; font-weight: 700; }
.area-eg { display: block; margin-top: 1px; color: #666; font-size: 12px; line-height: 1.35; }
.area-range { display: block; width: 100%; height: 30px; margin: 16px 0 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.area-range:focus { outline: none; }
.area-range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--red) var(--p), #ececec var(--p)); }
.area-range::-moz-range-track { height: 8px; border-radius: 8px; background: #ececec; }
.area-range::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--red); }
.area-range::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -9px; border: 4px solid #fff; border-radius: 50%; background: var(--red); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); -webkit-appearance: none; appearance: none; transition: transform .15s; }
.area-range::-moz-range-thumb { width: 18px; height: 18px; border: 4px solid #fff; border-radius: 50%; background: var(--red); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.area-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.area-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(207, 30, 48, .25), 0 2px 8px rgba(0, 0, 0, .3); }
.area-ticks { position: relative; height: 16px; margin: 4px 13px 0; color: #6b6b6b; font-size: 10.5px; font-weight: 600; }
.area-ticks span { position: absolute; left: var(--at); translate: -50% 0; white-space: nowrap; }
.area-ticks span::before { content: ""; position: absolute; left: 50%; top: -5px; width: 1px; height: 4px; background: #cfcfcf; }
.area-clear { margin-top: 10px; padding: 0; border: 0; background: none; color: #555; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@container (max-width: 400px) { .area-top { grid-template-columns: 84px 1fr; gap: 12px; } .area-val { font-size: 26px; } .area-ticks { font-size: 9.5px; } }
/* Installer / I am: wide cards with icon beside text */
.picks.duo .pick { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 2px 12px; padding: 14px 30px 14px 12px; text-align: left; }
.picks.duo .pick .p-ico { grid-row: span 2; }
.picks.duo .pick small { margin-top: 0; }
.picks.duo .pick b { font-size: 14px; }
@container (max-width: 400px) { .picks.duo .pick { gap: 2px 8px; padding: 10px 24px 10px 10px; } .picks.duo .pick .p-ico { width: 34px; height: 34px; } .picks.duo .pick .p-ico svg { width: 18px; height: 18px; } .picks.duo .pick b { font-size: 13px; } .pick b { font-size: 12px; } }

/* Inputs */
.form-card .input { min-height: 52px; border-radius: 10px; border: 1px solid #d6d6d6; background: #fff; box-shadow: none; }
.form-card .input:hover { border-color: #b8b8b8; box-shadow: none; }
.form-card .input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 20, 22, .08); }
.form-card .invalid .input { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(207, 30, 48, .08); }
.form-card .float label { color: #666; font-weight: 500; }
.form-card .float .input:focus + label { color: var(--ink); }

/* Upload + note */
.form-card .file { min-height: 58px; border: 1px dashed #cfcfcf; border-radius: 10px; background: #fafafa; }
.form-card .file:hover, .form-card .file.drag { border-color: var(--ink); background: #fff; }
.form-card .file .f-ico { width: 36px; height: 36px; border-radius: 8px; box-shadow: inset 0 0 0 1px #e3e3e3; color: #333; }
.form-card .perk { background: #eef7f2; }
.form-card .add-note { color: #333; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.form-card .consent { padding: 0; background: none; color: #555; font-size: 12.5px; }

/* Actions */
.form-card .btn { min-height: 52px; font-size: 12.5px; letter-spacing: .1em; }
.form-card .back { color: #555; font-size: 13px; }
.form-card .reassure { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: #666; font-size: 11.5px; }

@media (min-width: 1024px) and (max-height: 820px) {
  .form-inner { padding-top: 22px !important; padding-bottom: 18px !important; }
  .form-head { padding-bottom: 12px; }
  .progress-head { margin-top: 12px; }
  .step { gap: 14px; margin-top: 14px; }
  .form-card .tile { min-height: 50px; padding-top: 7px; padding-bottom: 7px; }
  .form-card .reassure { margin-top: 12px; padding-top: 10px; }
}

@container (min-width: 480px) {
  .form-inner { padding: 28px 30px 24px; }
  .form-head h2 { font-size: 23px; }
  .form-card .tiles { grid-template-columns: 1fr; }
  .form-card .floors { grid-template-columns: repeat(6, 1fr); }
}

/* ============ v6: responsive form + hero ============ */
.form-card .btn { padding: 0 20px; letter-spacing: .07em; white-space: nowrap; }
.form-card .label-row { flex-wrap: nowrap; }
.form-card .label-row .label { min-width: 0; }
.form-card .floor-unsure { flex: none; }

/* Narrow form (small phones) */
@container (max-width: 400px) {
  .form-inner { padding: 18px 16px 16px; }
  .form-head h2 { font-size: 19px; }
  .form-card .tile { min-height: 52px; padding: 8px 40px 8px 10px; gap: 10px; }
  .form-card .tile .t-ico { width: 30px; height: 30px; }
  .form-card .tile b { font-size: 13.5px; }
  .form-card .floors { gap: 8px 6px; }
  .form-card .floor span { font-size: 11px; }
  .form-card .quick button { padding: 0 10px; font-size: 12px; }
  .form-card .btn { font-size: 12px; }
  .form-actions.duo { grid-template-columns: 1fr; }
  .form-actions.duo .back { order: 2; }
  .form-card .reassure { gap: 6px 12px; }
}

@container (min-width: 400px) {
  .form-card .floors { grid-template-columns: repeat(6, 1fr); gap: 8px 6px; }
  .form-card .floor span { font-size: 11px; }
}

/* Tablet: one tidy centred column, shorter photo band */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-photo { aspect-ratio: 21 / 9; max-height: 38vh; }
  .hero-grid { max-width: 680px; margin-inline: auto; padding-top: 28px; }
  .hero h1 { font-size: clamp(38px, 6.4vw, 52px); }
}

@media (min-width: 1024px) {
}

/* Small laptops: slimmer form, more photo, no overlapping badge */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 520px; column-gap: 40px; }
  .hero-photo { left: 58%; }
  .photo-badge { display: none; }
  .hero h1 { font-size: clamp(40px, min(4.2vw, 7vh), 54px); }
}

/* ============ Header: single row, styled like warmup.co.uk ============ */
.site-header .head { position: relative; padding: 0 16px; }
.head-cta { display: flex; align-items: center; gap: 6px; }
.menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; stroke-width: 2; }
.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .3); }
.site-header.open .main-nav { display: block; }
.nav-row { padding: 6px 16px 12px; }
.nav-group { display: grid; }
.nav-group + .nav-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.main-nav a { display: block; padding: 11px 0; color: var(--ink); font-size: 15px; font-weight: 600; }
.main-nav a:hover { color: var(--red); }
@media (min-width: 1024px) { .site-header .head { padding: 0 36px; } .head-trust { display: none; } }
.site-header .head > a:first-child, .head-cta, .head-cta .btn { flex: none; white-space: nowrap; }
@media (min-width: 1360px) {
  .menu-btn { display: none; }
  .site-header .head { gap: 24px; }
  .main-nav, .site-header.open .main-nav { position: static; display: flex; flex: 1; align-self: stretch; border: 0; background: none; box-shadow: none; }
  .nav-row { display: flex; flex: 1; align-items: stretch; justify-content: space-between; padding: 0; }
  .nav-group { display: flex; align-items: stretch; }
  .nav-group + .nav-group { margin: 0; padding: 0; border: 0; }
  .main-nav a { display: flex; align-items: center; padding: 0 13px; color: #333; font-size: 14px; font-weight: 400; white-space: nowrap; }
  .main-nav a.pro { background: #f1eeee; }
}

/* ============ CAD design service ============ */
.cad { position: relative; overflow: hidden; background-color: #f3efe9; background-image: linear-gradient(rgba(122, 90, 60, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(122, 90, 60, .07) 1px, transparent 1px); background-size: 28px 28px; isolation: isolate; }
.cad::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 55% at 85% 30%, rgba(255, 90, 54, .16), transparent 70%), radial-gradient(35% 40% at 5% 95%, rgba(255, 179, 71, .18), transparent 70%); }
.cad-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; grid-template-areas: "head" "visual" "body"; }
.cad-head { grid-area: head; }
.cad-visual { grid-area: visual; position: relative; min-width: 0; }
.cad-body { grid-area: body; }
.cad-lede { max-width: 520px; margin-top: 14px; color: #5c5750; font-size: 15.5px; line-height: 1.7; }
.cad-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: c; }
.cad-steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 0 0 20px; }
.cad-steps li::before { counter-increment: c; content: counter(c); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--red); color: var(--red); font-size: 15px; font-weight: 800; }
.cad-steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, rgba(207, 30, 48, .45) 0 4px, transparent 4px 8px); }
.cad-steps li:last-child::before { background: var(--red); color: #fff; box-shadow: 0 8px 18px -8px rgba(207, 30, 48, .7); }
.cad-steps h3 { padding-top: 2px; color: var(--ink); font-size: 16px; font-weight: 700; }
.cad-steps p { margin-top: 2px; font-size: 14px; line-height: 1.55; }
.cad-gets { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.cad-gets li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #e4dcd2; color: var(--ink); font-size: 12.5px; font-weight: 600; }
.cad-gets svg.i { width: 15px; height: 15px; color: var(--red); stroke-width: 2.2; }

.cad-card { position: relative; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(60, 40, 20, .08), 0 40px 70px -40px rgba(90, 40, 20, .45); }
.cad-bar { display: flex; align-items: center; min-height: 48px; padding: 10px 110px 10px 16px; border-bottom: 1px solid #efe9e2; }
.cad-bar .ref { min-width: 0; overflow: hidden; color: #6b645b; font: 600 10.5px/1.3 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .06em; text-overflow: ellipsis; white-space: nowrap; }
.cad-bar .ref b { color: var(--ink); }
.cad-toggle { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(244, 240, 235, .95); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 8px 18px -10px rgba(0, 0, 0, .35); }
.cad-toggle button { min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: #6f675e; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.cad-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.cad-toggle button[data-view="heat"][aria-pressed="true"] { background: var(--red); color: #fff; }

.cad-fig { position: relative; margin: 0; aspect-ratio: 720 / 492; background: #fcfbf9; }
.cad-fig svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cad-fig .wall { fill: none; stroke: var(--ink); stroke-width: 8; stroke-linecap: square; }
.cad-fig .fix { fill: #fff; stroke: #9a948d; stroke-width: 1.5; }
.cad-fig .door { fill: none; stroke: #9a948d; stroke-width: 1.2; }
.cad-fig .door-arc { fill: none; stroke: #b9b3ac; stroke-width: 1; stroke-dasharray: 4 3; }
.cad-fig .win { fill: #fff; stroke: var(--ink); stroke-width: 1.4; }
.cad-fig .dim { fill: none; stroke: #b3aca4; stroke-width: 1; }
.cad-fig .dim-t { fill: #8a8178; font: 600 13px ui-monospace, Consolas, monospace; letter-spacing: .04em; }
.cad-fig .stat { fill: #fff; stroke: var(--red); stroke-width: 1.6; }
.cad-fig .stat-t { fill: var(--red); font: 800 9px "Open Sans", Arial, sans-serif; }
.cad-fig .cable { fill: none; stroke: url(#cadHeat); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.cad-fig .pulse { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .025 .975; opacity: 0; }
.cad-fig.in .cable { animation: draw 2.8s var(--ease) forwards; }
.cad-fig.in .cable.z2 { animation-delay: .5s; }
.cad-fig.in .cable.z3 { animation-delay: .8s; }
.cad-fig.in .pulse { animation: flow 7s linear 3s infinite; opacity: .85; transition: opacity .6s 3s; }
.cad-fig .zone { opacity: 0; transition: opacity .9s var(--ease); }
.cad-fig.heat .zone { opacity: 1; animation: breathe 5s ease-in-out infinite; }
.cad-fig.heat .zone:nth-of-type(2) { animation-delay: -1.6s; }
.cad-fig.heat .zone:nth-of-type(3) { animation-delay: -3.2s; }
.cad-fig.heat .cable { stroke-width: 1.6; opacity: .55; transition: opacity .6s, stroke-width .6s; }
.cad-fig .zone { transform-box: fill-box; transform-origin: center; }

.pin { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 4px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 11.5px; font-weight: 700; line-height: 1.2; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(60, 30, 10, .45), 0 0 0 1px rgba(0, 0, 0, .05); transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pin i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 800; }
.pin small { color: #6b645b; font-size: 11px; font-weight: 600; }
.cad-fig.in .pin { opacity: 1; transform: translate(-50%, -50%); }
.cad-fig.in .pin:nth-of-type(1) { transition-delay: 1.4s; }
.cad-fig.in .pin:nth-of-type(2) { transition-delay: 1.8s; }
.cad-fig.in .pin:nth-of-type(3) { transition-delay: 2.2s; }
.pin .temp { display: none; color: var(--red); }
.cad-fig.heat .pin small:not(.temp) { display: none; }
.cad-fig.heat .pin .temp { display: inline; }
@media (max-width: 520px) { .pin { padding: 3px; } .pin b, .pin small, .cad-fig.heat .pin .temp { display: none; } }

.cad-legend { position: absolute; left: 12px; bottom: 10px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); color: #6f675e; font-size: 10.5px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.cad-legend span { width: 64px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #ffe0b0, var(--amber), var(--ember), var(--red)); }
.cad-fig.heat .cad-legend { opacity: 1; transform: none; }
@media (max-width: 420px) { .cad-legend { display: none; } }

.cad-stamp { position: absolute; right: -10px; top: -14px; z-index: 3; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--red); color: #fff; text-align: center; box-shadow: 0 18px 30px -12px rgba(207, 30, 48, .7), inset 0 0 0 4px var(--red), inset 0 0 0 5.5px rgba(255, 255, 255, .7); transform: rotate(-10deg); }
.cad-stamp b { display: block; font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.cad-stamp small { display: block; margin-top: 3px; font-size: 9px; font-weight: 800; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 520px) { .cad-stamp { right: -4px; top: -18px; width: 76px; height: 76px; } .cad-stamp b { font-size: 18px; } .cad-stamp small { font-size: 7.5px; } }

.cad-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cad-table th, .cad-table td { padding: 9px 12px; border-top: 1px solid #efe9e2; text-align: right; white-space: nowrap; }
.cad-table th:first-child, .cad-table td:first-child { padding-left: 16px; text-align: left; }
.cad-table th:last-child, .cad-table td:last-child { padding-right: 16px; }
.cad-table thead th { color: #6b645b; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cad-table td { color: var(--ink); font-variant-numeric: tabular-nums; }
.cad-table td:first-child { font-weight: 700; }
.cad-table td:first-child i { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-size: 10px; font-style: normal; font-weight: 800; vertical-align: 1px; }
.cad-table tfoot td { background: #faf7f3; font-weight: 800; }
.cad-table tfoot td:last-child { color: var(--red); }
.cad-foot { padding: 10px 16px; border-top: 1px solid #efe9e2; color: #6b645b; font-size: 11px; }
@media (max-width: 420px) { .cad-table .hide-xs { display: none; } .cad-table th, .cad-table td { padding: 8px 10px; } }

@media (min-width: 1024px) {
  .cad-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "head visual" "body visual"; grid-template-rows: auto 1fr; column-gap: 72px; row-gap: 30px; align-items: start; }
  .cad-visual { align-self: center; }
  .cad-lede { font-size: 16.5px; }
  .cad-stamp { right: -26px; top: -30px; width: 112px; height: 112px; }
  .cad-stamp b { font-size: 26px; }
}

/* ============ World's best tiles ============ */
.wb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.wb-tile { display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 12px; background: #eee; }
.wb-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.wb-tile:hover img { transform: scale(1.04); }
@media (min-width: 1024px) { .wb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; } }

/* ============ Case studies ============ */
.cases { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px; margin: 28px -16px 0; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
.cases::-webkit-scrollbar { display: none; }
.case { display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: start; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); color: inherit; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.case:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -30px rgba(0, 0, 0, .35); }
.case-img { aspect-ratio: 3 / 2; overflow: hidden; background: #eee; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case:hover .case-img img { transform: scale(1.04); }
.case-b { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.case-b h3 { color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.3; }
.case-b p { margin: 8px 0 18px; font-size: 14px; line-height: 1.65; }
.case-b .text-link { align-self: flex-start; margin-top: auto; }
.cases-more { margin-top: 28px; }
@media (min-width: 640px) { .cases { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0 0; padding: 0; overflow: visible; } }
@media (min-width: 1024px) { .cases { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; } .case-b { padding: 24px; } }

/* ============ Sustainability (50/50: content + full-height photo) ============ */
section.sus { display: grid; padding: 0; }
.sus-left { position: relative; overflow: hidden; padding: 64px 0; }
.sus-left::before { content: "CO₂"; position: absolute; right: -16px; top: -24px; color: rgba(20, 20, 22, .05); font-size: clamp(120px, 14vw, 180px); font-weight: 800; line-height: 1; letter-spacing: -.04em; pointer-events: none; user-select: none; }
.sus-content { position: relative; width: calc(100% - 32px); max-width: 560px; margin: 0 auto; }
.sus-lede { max-width: 440px; margin: 16px 0 28px; font-size: 15px; line-height: 1.75; }
.sus-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 32px; padding: 0; list-style: none; }
.sus-stats li { position: relative; overflow: hidden; padding: 18px 16px; border: 1px solid rgba(207, 30, 48, .14); border-radius: 8px; }
.sus-stats li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.4, 0, .2, 1) calc(var(--i, 0) * 150ms); }
.sus-stats.in li::after { transform: scaleX(1); }
.sus-stats strong { display: block; margin-bottom: 6px; color: var(--red); font-size: clamp(26px, 6vw, 35px); font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sus-stats small { margin-left: 3px; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.sus-stats span { display: block; color: rgba(28, 28, 28, .45); font-size: 10px; font-weight: 700; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.sus-stats sup { font-size: 1em; vertical-align: baseline; }
.sus-note { margin-top: 18px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.sus-img { position: relative; min-height: 320px; overflow: hidden; }
.sus-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) { .sus .btn { width: 100%; } }
@media (min-width: 1024px) {
  section.sus { grid-template-columns: 1fr 1fr; }
  .sus-left { display: flex; align-items: center; padding: 110px 0; }
  .sus-content { width: auto; margin: 0 64px 0 max(16px, calc(50vw - 620px)); }
  .sus-img { min-height: 0; }
}

/* ============ Smartcare USP in hero ============ */
.sc-usp { display: flex; align-items: center; gap: 12px; max-width: 520px; margin-top: 16px; padding: 10px 14px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); color: #555; font-size: 13px; line-height: 1.45; transition: box-shadow .2s; }
.sc-usp:hover { box-shadow: 0 0 0 1.5px var(--red); }
.sc-usp img { flex: none; width: 92px; height: auto; }
.sc-usp span { flex: 1; min-width: 0; padding-left: 12px; border-left: 1px solid var(--line); }
.sc-usp b { display: block; color: var(--ink); font-weight: 700; }
.sc-usp svg { flex: none; width: 16px; height: 16px; color: var(--red); }
#smartcare { scroll-margin-top: 60px; }
@media (max-width: 400px) { .sc-usp img { width: 74px; } .sc-usp { gap: 10px; padding: 9px 12px; } .sc-usp span { padding-left: 10px; } }
@media (min-width: 1024px) and (max-height: 800px) { .sc-usp { margin-top: 12px; padding: 8px 12px; } }

/* ============ Enquiry copy ============ */
.gets { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 10px 0 0; padding: 0; list-style: none; }
.gets li { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-size: 12px; font-weight: 600; white-space: nowrap; }
.gets li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cf1e30' stroke-width='4'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 9px no-repeat; }
.step-why { margin: -4px 0 -2px; color: #666; font-size: 13px; line-height: 1.5; }
@media (min-width: 1024px) and (max-height: 820px) { .gets { margin-top: 6px; } .step-why { display: none; } .form-head p { font-size: 12.5px; } }

/* ============ Calmer hero headline ============ */
.hero h1 { font-size: clamp(28px, 7.8vw, 52px); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; max-width: none; }
.hero h1 .red { white-space: nowrap; }
.hero-sub { max-width: 400px; font-size: 16px; line-height: 1.6; }
@media (min-width: 1024px) { .hero h1 { font-size: clamp(40px, min(3.6vw, 6.6vh), 56px); } .hero-sub { font-size: 17px; } }

/* ============ Motion layer (subtle; CAD section excluded) ============ */
@keyframes pop { from { opacity: 0; translate: 0 16px; } }
@keyframes heroZoom { from { transform: scale(1.07); } }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } }
@keyframes knobHint { 0%, 100% { box-shadow: 0 8px 20px rgba(0, 0, 0, .25), 0 0 0 6px rgba(255, 255, 255, .3); } 50% { box-shadow: 0 8px 20px rgba(0, 0, 0, .25), 0 0 0 14px rgba(255, 255, 255, .12); } }
@keyframes glowDrift { to { transform: translate(-4%, 3%) scale(1.08); } }
@keyframes faqIn { from { opacity: 0; translate: 0 -6px; } }

/* Header deepens its shadow once you scroll */
.site-header { transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 10px 30px -18px rgba(0, 0, 0, .35); }

/* Staggered children – JS adds .stg and --i */
.stg:not(.in) > * { opacity: 0; }
.stg.in > * { animation: pop .7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }

/* Kicker rule draws in, heading accent underlines */
section:not(.cad) .reveal .kicker::before { width: 0; transition: width .7s var(--ease) .2s; }
section:not(.cad) .reveal.in .kicker::before { width: 22px; }
section:not(.cad) .reveal .h2 em { background: linear-gradient(90deg, rgba(255, 90, 54, .28), rgba(207, 30, 48, .18)) no-repeat 0 92% / 0 .14em; transition: background-size 1s var(--ease) .35s; }
section:not(.cad) .reveal.in .h2 em { background-size: 100% .14em; }

/* Buttons: soft shine on hover */
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
.btn:hover::after { transition: transform .8s var(--ease); transform: translateX(120%); }
.cad .btn::after { content: none; }
section:not(.cad) .text-link svg { transition: translate .25s var(--ease); }
section:not(.cad) .text-link:hover svg, .case:hover .text-link svg { translate: 4px 0; }
.case:hover .text-link { color: var(--red); }

/* Pointer spotlight on cards */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 90, 54, .16), transparent 65%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.spot:hover::after { opacity: 1; }

/* Hero */
.hero-photo img { animation: heroZoom 2.2s var(--ease) both; }
.photo-badge { transition: transform .25s var(--ease), box-shadow .25s; }
.photo-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, .2); }
.hero .accolades img { transition: opacity .25s; }
.hero .accolades img:hover { opacity: .8; }
.sc-usp svg { transition: translate .25s var(--ease); }
.sc-usp:hover svg { translate: 4px 0; }

/* How it works: connector draws, numbers glow on hover */
.next::before { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .3s; }
.next.in::before { transform: none; }
.next li::before { transition: box-shadow .3s, transform .3s var(--ease); }
.next li:hover::before { box-shadow: 0 0 0 6px rgba(207, 30, 48, .14); transform: scale(1.05); }

/* Proof */
.proof::before { animation: glowDrift 16s ease-in-out infinite alternate; }
.stats div { transition: border-color .3s, transform .3s var(--ease); }
.stats div:hover { border-color: rgba(255, 90, 54, .45); transform: translateY(-3px); }
.guarantee .ico, .benefit .ico, .feat .ico { transition: transform .3s var(--ease), background .3s, color .3s; }
.guarantee:hover .ico, .feat li:hover .ico { transform: rotate(-6deg) scale(1.08); }
.awards img { transition: opacity .3s; }
.awards img:hover { opacity: .95; }

/* Benefits + before/after */
.benefit:hover .ico { background: var(--red); color: #fff; transform: rotate(-6deg); }
.ba .knob { animation: knobHint 2.4s ease-in-out infinite; }
.ba.touched .knob { animation: none; }

/* Smartcare */
.sc-media img { transition: transform 1.2s var(--ease); }
.sc-card:hover .sc-media img { transform: scale(1.04); }
.sc-free { transition: border-color .3s, background .3s; }
.sc-free:hover { border-color: rgba(255, 138, 146, .5); background: rgba(255, 255, 255, .09); }
.sc-list li svg.i { transition: transform .3s var(--ease); }
.sc-list li:hover svg.i { transform: scale(1.15) rotate(-6deg); }

/* World's best */
.wb-tile { transition: transform .35s var(--ease), box-shadow .35s; }
.wb-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .45); }


/* 7iE */
.works-with span { transition: border-color .25s, background .25s; }
.works-with span:hover { border-color: rgba(255, 90, 100, .7); background: rgba(207, 30, 48, .12); }

/* FAQ */
.acc summary { transition: color .2s; }
.acc summary:hover { color: var(--red); }
.acc details[open] p { animation: faqIn .4s var(--ease); }

/* Final CTA */
.cta-band::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: radial-gradient(40% 50% at 15% 20%, rgba(255, 179, 71, .35), transparent 70%), radial-gradient(35% 45% at 85% 80%, rgba(122, 10, 22, .45), transparent 70%); animation: glowDrift 14s ease-in-out infinite alternate; }
.cta-band .btn { animation: ping 3s ease-out 1.5s infinite; }

@media (prefers-reduced-motion: reduce) {
  .stg:not(.in) > * { opacity: 1; }
  .next::before { transform: none; }
}
/* ============ Section personalities ============ */
/* How it works – circled numbers joined by a line (matches "How to Order" on warmup.co.uk) */
.how .next { gap: 40px; margin-top: 40px; }
.how .next::before { display: none; }
.how .next li { grid-template-columns: 1fr; justify-items: center; align-content: start; gap: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; text-align: center; }
.how .next li:hover { transform: none; box-shadow: none; }
.how .next li::before { position: relative; z-index: 1; width: 56px; height: 56px; margin-bottom: 24px; border: 1.5px solid #d0cdc8; border-radius: 50%; background: #fff; color: #888; font-size: 14px; font-weight: 800; letter-spacing: .04em; transition: background .3s, border-color .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.how .next li:hover::before { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(207, 30, 48, .38); transform: scale(1.12); }
.how .next h3 { margin-bottom: 8px; font-size: 16px; font-weight: 700; transition: color .3s; }
.how .next li:hover h3 { color: var(--red); }
.how .next p { max-width: 260px; margin: 0 auto; color: #777; font-size: 14.5px; line-height: 1.65; }
@media (min-width: 640px) {
  .how .next { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .how .next::before { content: ""; display: block; position: absolute; top: 28px; left: calc(100% / 6); right: calc(100% / 6); height: 1px; background: #dedad4; }
  .how .next li { padding: 0 16px; }
}

/* Smartcare – AI: orbiting glow border */
#smartcare { --ok: #3ddc97; }
@keyframes livePing { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); } 80%, 100% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); } }
#smartcare .sc-body .kicker { flex-wrap: wrap; row-gap: 8px; }
.sc-live { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding: 3px 9px; border-radius: 999px; background: rgba(61, 220, 151, .12); color: var(--ok); font-size: 9.5px; letter-spacing: .12em; }
.sc-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: livePing 1.8s ease-out infinite; }
.sc-toast { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; align-items: flex-start; gap: 12px; max-width: 340px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(18, 18, 20, .74); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: rgba(255, 255, 255, .8); font-size: 13px; line-height: 1.45; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); animation: floatY 5s ease-in-out infinite; }
.sc-toast b { display: flex; align-items: baseline; gap: 8px; color: #fff; font-size: 13px; }
.sc-toast small { color: rgba(255, 255, 255, .45); font-size: 10.5px; font-weight: 600; }
.sc-toast-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ok); color: #0b2a1d; }
.sc-toast-ico svg { width: 16px; height: 16px; stroke-width: 3; }
.sc-vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 10px; margin-top: 24px; }
.sc-vs-col { padding: 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.sc-vs-col h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: rgba(255, 255, 255, .5); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sc-vs-col h3 b { padding: 3px 9px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10px; letter-spacing: .12em; }
.sc-vs-col ol { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.sc-vs-col li { position: relative; padding-left: 22px; color: rgba(255, 255, 255, .5); font-size: 13.5px; line-height: 1.4; }
.sc-vs-col li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 8px; height: 2px; background: rgba(255, 255, 255, .3); }
.sc-vs-col.on { border-color: rgba(61, 220, 151, .4); }
.sc-vs-col.on h3 { color: var(--ok); }
.sc-vs-col.on li { color: #fff; font-weight: 600; }
.sc-vs-col.on li::before { content: "✓"; left: 0; top: 0; width: auto; height: auto; background: none; color: var(--ok); font-weight: 800; }
@media (max-width: 420px) { .sc-vs { grid-template-columns: 1fr; } }
#smartcare .sc-card { background: var(--ink); }

/* Why underfloor heating – warmth rising from the floor */
.ufh { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #fff6f0 55%, #ffe4d4 100%); isolation: isolate; }
.ufh::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -30%; z-index: -1; height: 60%; background: radial-gradient(50% 60% at 30% 100%, rgba(255, 179, 71, .3), transparent 70%), radial-gradient(45% 55% at 80% 100%, rgba(255, 90, 54, .22), transparent 70%); pointer-events: none; }
.ufh::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--heat); background-size: 200% auto; animation: shimmer 6s linear infinite; }
.ufh .benefit { background: rgba(255, 255, 255, .72); box-shadow: 0 0 0 1px rgba(207, 30, 48, .08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ufh .benefit .ico { background: var(--heat); color: #fff; }

/* Case studies – borderless gallery */
#case-studies .cases { counter-reset: cs; }
#case-studies .case { overflow: visible; border-radius: 0; background: none; box-shadow: none; counter-increment: cs; }
#case-studies .case:hover { transform: none; box-shadow: none; }
#case-studies .case-img { aspect-ratio: 4 / 5; border-radius: 14px; transition: box-shadow .4s var(--ease); }
#case-studies .case:hover .case-img { box-shadow: 0 28px 50px -30px rgba(0, 0, 0, .5); }
#case-studies .case-b { padding: 18px 2px 0; }
#case-studies .case-b::before { content: "0" counter(cs); margin-bottom: 6px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .16em; }

/* World's best – campaign billboard */
.wb { position: relative; overflow: hidden; background: #efeeeb; isolation: isolate; }
.wb::before { content: "World's best"; position: absolute; left: 50%; bottom: -.22em; z-index: -1; color: transparent; -webkit-text-stroke: 1.5px rgba(20, 20, 22, .1); font-size: clamp(90px, 17vw, 260px); font-weight: 800; line-height: 1; letter-spacing: -.05em; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
.wb { padding-bottom: clamp(110px, 14vw, 220px); }
.wb .wb-tile { box-shadow: 0 20px 40px -28px rgba(0, 0, 0, .4); }

/* 7iE – dark tech: dot grid + red glow */


/* FAQ – header row (title | intro + link), two columns of ruled questions */
.faq-head { display: grid; gap: 20px; }
.faq-aside { max-width: 490px; color: #777; font-size: 15px; line-height: 1.7; }
.faq-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding-bottom: 3px; border-bottom: 2px solid var(--red); color: var(--red); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: gap .2s; }
.faq-link:hover { gap: 12px; }
.faq-link svg.i { width: 14px; height: 14px; stroke-width: 2.4; }
.faq-cols { display: grid; margin-top: 40px; border-top: 1px solid var(--line); }
.faq .acc { gap: 0; margin-top: 0; }
.faq .acc details, .faq .acc details[open] { border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.faq .acc summary { padding: 22px 0; color: #1a1a1a; font-size: 15px; font-weight: 600; line-height: 1.45; }
.faq .acc summary::after { width: 20px; height: 20px; background: none; color: #aaa; font-size: 22px; font-weight: 300; }
.faq .acc details[open] summary { color: var(--red); }
.faq .acc details[open] summary::after { background: none; color: var(--red); }
.faq .acc details p { padding: 0 36px 22px 0; color: #666; }
@media (min-width: 1024px) {
  .faq-head { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .faq-head .h2 { max-width: 560px; }
  .faq-cols { grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: start; border-top: 0; }
  .faq-cols .acc { border-top: 1px solid var(--line); }
}

/* ============ 7iE: heat-reactive thermostat ============ */
@property --h { syntax: "<number>"; inherits: true; initial-value: 290; }
@property --warm { syntax: "<number>"; inherits: true; initial-value: .3; }
.t7-sec { --h: 290; --warm: .3; --hot: hsl(var(--h) 92% 62%); --hot-soft: hsl(var(--h) 92% 62% / .16); position: relative; overflow: hidden; isolation: isolate; background: #0a0a0d; color: rgba(255, 255, 255, .7); transition: --h 1s var(--ease), --warm 1s var(--ease); }
.t7-sec::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 22px 22px; -webkit-mask: radial-gradient(70% 60% at 70% 45%, #000, transparent); mask: radial-gradient(70% 60% at 70% 45%, #000, transparent); }
.t7-sec::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: min(1100px, 160vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, hsl(var(--h) 90% 55% / calc(.1 + var(--warm) * .26)), transparent); translate: -20% -50%; animation: t7Breathe 7s ease-in-out infinite; pointer-events: none; }
.t7 { display: grid; grid-template-areas: "head" "stage" "talk" "cta" "feat"; gap: 32px; }
.t7-head { grid-area: head; }
.t7-sec .kicker { color: var(--hot); transition: color .6s; }
.t7-sec .kicker::before { background: var(--hot); }
.t7-sec .h2 { color: #fff; }
.t7-sec .h2 em, section.t7-sec .reveal .h2 em, section.t7-sec .reveal.in .h2 em { font-style: normal; background: linear-gradient(90deg, hsl(calc(var(--h) - 60) 92% 68%), var(--hot)) 0 0 / 100% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.t7-lede { margin-top: 14px; max-width: 520px; color: rgba(255, 255, 255, .66); font-size: 15.5px; line-height: 1.7; }

/* Device stage */
.t7-stage { grid-area: stage; position: relative; display: grid; justify-items: center; gap: 22px; padding: 30px 0 0; }
.t7-dev { position: relative; width: min(330px, 80vw); aspect-ratio: 1; padding: 13px; border-radius: 30px; background: linear-gradient(150deg, #34343a, #0d0d10 55%, #1c1c20); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px rgba(255, 255, 255, .06), 0 50px 80px -30px rgba(0, 0, 0, .9), 0 0 120px -30px hsl(var(--h) 90% 55% / calc(.25 + var(--warm) * .5)); }
.t7-dev::after { content: ""; position: absolute; inset: 13px; border-radius: 19px; background: linear-gradient(125deg, rgba(255, 255, 255, .1), transparent 38%); pointer-events: none; }
.t7-screen { position: relative; display: grid; grid-template-rows: auto 1fr auto; height: 100%; padding: 16px 18px; overflow: hidden; border-radius: 19px; background: radial-gradient(80% 70% at 50% 55%, hsl(var(--h) 80% 30% / calc(.25 + var(--warm) * .35)), #050507 75%); color: #fff; }
.t7-bar { display: flex; align-items: center; justify-content: space-between; color: rgba(255, 255, 255, .6); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.t7-bar span { display: inline-flex; align-items: center; gap: 6px; }
.t7-bar span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 8px #3ddc97; }
.t7-dial { position: relative; display: grid; place-items: center; }
.t7-dial svg { position: absolute; inset: 50% auto auto 50%; width: 88%; height: 88%; translate: -50% -50%; rotate: 135deg; overflow: visible; }
.t7-dial circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.t7-track { stroke: rgba(255, 255, 255, .09); stroke-dasharray: 75 100; }
.t7-arc { stroke: var(--hot); stroke-dasharray: 0 100; filter: drop-shadow(0 0 6px hsl(var(--h) 92% 60% / .8)); transition: stroke-dasharray .9s var(--ease); }
.t7-read { position: relative; display: grid; justify-items: center; line-height: 1; }
.t7-read small { color: rgba(255, 255, 255, .55); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.t7-temp { margin: 6px 0 4px; font-size: clamp(54px, 15vw, 72px); font-weight: 300; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.t7-temp sup { margin-left: 2px; font-size: .4em; font-weight: 500; vertical-align: top; position: relative; top: .35em; }
.t7-state { color: var(--hot); font-size: 12px; font-weight: 700; transition: color .6s; }
.t7-keys { display: flex; align-items: center; justify-content: space-between; }
.t7-keys button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 22px; font-weight: 300; line-height: 1; cursor: pointer; transition: background .2s, transform .15s; }
.t7-keys button:hover { background: rgba(255, 255, 255, .16); }
.t7-keys button:active { transform: scale(.92); }
.t7-keys button:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }
.t7-mode { padding: 5px 10px; border-radius: 999px; background: var(--hot-soft); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; }
.t7-stage:not(.in) .t7-screen > * { opacity: 0; }
.t7-stage.in .t7-screen > * { animation: t7Wake .9s var(--ease) both; }
.t7-stage.in .t7-dial { animation-delay: .15s; }
.t7-stage.in .t7-keys { animation-delay: .3s; }

/* Rising heat shimmer under the device */
.t7-waves { position: absolute; left: 50%; top: -52px; z-index: 0; width: min(330px, 80vw); height: 90px; translate: -50% 0; pointer-events: none; opacity: calc(.15 + var(--warm) * .7); }
.t7-waves i { position: absolute; bottom: 0; width: 2px; height: 70px; border-radius: 2px; background: linear-gradient(transparent, var(--hot)); opacity: 0; animation: t7Rise 3.4s ease-in infinite; }
.t7-waves i:nth-child(1) { left: 18%; } .t7-waves i:nth-child(2) { left: 36%; animation-delay: 1.1s; } .t7-waves i:nth-child(3) { left: 54%; animation-delay: .5s; } .t7-waves i:nth-child(4) { left: 72%; animation-delay: 1.7s; } .t7-waves i:nth-child(5) { left: 86%; animation-delay: 2.4s; }

/* Slider */
.t7-slide { display: grid; gap: 8px; width: min(330px, 80vw); }
.t7-slide label { display: flex; justify-content: space-between; color: rgba(255, 255, 255, .5); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.t7-range { --p: 30%; width: 100%; height: 26px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.t7-range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, hsl(215 92% 62%), hsl(290 92% 62%) 50%, hsl(368 92% 62%)); }
.t7-range::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, hsl(215 92% 62%), hsl(290 92% 62%) 50%, hsl(368 92% 62%)); }
.t7-range::-webkit-slider-thumb { width: 22px; height: 22px; margin-top: -8px; border: 3px solid #fff; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 6px hsl(var(--h) 92% 62% / .25), 0 4px 10px rgba(0, 0, 0, .5); -webkit-appearance: none; appearance: none; transition: transform .15s; }
.t7-range::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 6px hsl(var(--h) 92% 62% / .25); }
.t7-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.t7-range:focus-visible { outline: 2px solid var(--hot); outline-offset: 4px; border-radius: 8px; }

/* SmartGeo saving badge */
.t7-devwrap { position: relative; z-index: 1; }
.t7-saving { position: absolute; left: 0; right: 0; top: -22px; z-index: 2; display: flex; align-items: center; gap: 10px; width: max-content; margin-inline: auto; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .6); animation: floatY 6s ease-in-out infinite; }
.t7-saving strong { color: var(--red); font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.t7-saving strong { font-size: 24px; }
.t7-saving > span { color: #555; font-size: 11px; font-weight: 600; line-height: 1.3; }

/* Talk to it: ecosystem tabs + conversation */
.t7-talk { grid-area: talk; display: grid; gap: 14px; }
.t7-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.t7-tabs button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 700; cursor: pointer; transition: all .25s var(--ease); }
.t7-tabs button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.t7-tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 8px 22px -10px hsl(var(--h) 92% 62% / .8); color: var(--ink); }
.t7-tabs button:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }
.t7-tabs small { padding: 2px 6px; border-radius: 6px; background: var(--hot-soft); color: var(--hot); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; }
.t7-tabs button[aria-selected="true"] small { background: var(--ink); color: #fff; }
.t7-chat { display: grid; gap: 8px; min-height: 108px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.t7-say, .t7-reply { display: flex; align-items: center; gap: 9px; width: fit-content; max-width: 100%; margin: 0; padding: 10px 14px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.t7-say { border-radius: 18px 18px 18px 4px; background: rgba(255, 255, 255, .95); color: var(--ink); }
.t7-say svg { flex: none; width: 16px; height: 16px; stroke-width: 2.2; color: hsl(var(--h) 70% 50%); }
.t7-say b { font-weight: 600; }
.t7-say b::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: blink 1s steps(1) infinite; }
.t7-say.done b::after { display: none; }
.t7-reply { justify-self: end; border-radius: 18px 18px 4px 18px; background: linear-gradient(90deg, hsl(calc(var(--h) - 50) 70% 48%), hsl(var(--h) 78% 50%)); color: #fff; opacity: 0; translate: 0 8px; transition: opacity .4s, translate .4s var(--ease); }
.t7-reply.show { opacity: 1; translate: 0 0; }
.t7-reply svg { width: 16px; height: 16px; stroke-width: 2.6; }
.t7-reply output { font-variant-numeric: tabular-nums; }
.t7-cta { grid-area: cta; }
.t7-cta.actions { margin-top: 0; }
.t7-cta .btn { background: hsl(var(--h) 75% 48%); box-shadow: 0 14px 30px -14px hsl(var(--h) 85% 50% / .7); transition: background .6s, box-shadow .6s, transform .2s var(--ease); }
.t7-cta .btn:hover { background: hsl(var(--h) 75% 40%); }
.t7-sec .text-link { color: #fff; }

/* Features: quiet row */
.t7-feat { grid-area: feat; display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .1); list-style: none; }
.t7-feat li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.t7-feat .ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--hot-soft); color: var(--hot); transition: transform .3s var(--ease); }
.t7-feat li:hover .ico { transform: rotate(-6deg) scale(1.08); }
.t7-feat svg { width: 18px; height: 18px; }
.t7-feat h3 { color: #fff; font-size: 15px; font-weight: 700; }
.t7-feat p { margin-top: 3px; color: rgba(255, 255, 255, .58); font-size: 13.5px; line-height: 1.55; }

@media (min-width: 640px) {
  .t7-feat { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .t7-feat li { border-bottom: 0; padding-top: 24px; }
}
@media (min-width: 1024px) {
  .t7 { grid-template-columns: 1fr 1fr; grid-template-areas: "head stage" "talk stage" "cta stage" "feat feat"; column-gap: 80px; row-gap: 26px; align-items: start; }
  .t7-head { align-self: end; }
  .t7-stage { padding-top: 0; }
  .t7-dev, .t7-slide { width: 360px; }
  .t7-waves { top: -70px; width: 360px; }
  .t7-saving { left: auto; right: calc(100% - 34px); top: calc(42% - 50px); display: grid; gap: 4px; margin: 0; padding: 16px 20px; }
  .t7-saving strong { font-size: 36px; }
  .t7-feat { margin-top: 30px; }
}

@keyframes t7Breathe { 0%, 100% { scale: 1; } 50% { scale: 1.06; } }
@keyframes t7Wake { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: none; } }
@keyframes t7Rise { 0% { opacity: 0; transform: translateY(20px) scaleY(.4); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-50px) scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .t7-sec::after, .t7-saving, .t7-waves i { animation: none; }
  .t7-stage.in .t7-screen > * { animation: none; }
  .t7-stage:not(.in) .t7-screen > * { opacity: 1; }
}
/* ============ Icon system: Warmup red, light line icons ============ */
svg.i { stroke-width: 1.6; }
.ico, .ufh .benefit .ico { background: var(--red-soft); color: var(--red); box-shadow: inset 0 0 0 1px rgba(207, 30, 48, .1); }
.benefit:hover .ico, .ufh .benefit:hover .ico { background: var(--red); color: #fff; box-shadow: none; }
/* Dark sections: solid red tile, white icon */
.feat .ico, .guarantee .ico { background: var(--red); color: #fff; box-shadow: 0 8px 18px -10px rgba(207, 30, 48, .8); }
/* 7iE feature icons follow the thermostat temperature (cool blue → violet → warm red) */
.t7-feat .ico { background: var(--hot); color: #fff; box-shadow: 0 8px 18px -10px hsl(var(--h) 92% 55% / .8); transition: background .6s, box-shadow .6s, transform .3s var(--ease); }
.sc-list svg.i, .t7-say svg { color: var(--red); stroke-width: 1.8; }
/* Form choices: red icon on neutral tile until picked */
.tile .t-ico, .form-card .tile .t-ico, .pick .p-ico, .form-card .file .f-ico { color: var(--red); }
.tile:has(input:checked) .t-ico, .pick:has(input:checked) .p-ico { background: var(--red); color: #fff; }
.form-card .tile:has(input:checked) .t-ico { background: var(--red-soft); color: var(--red); }
/* ============ Desktop: whole form above the fold ============ */
/* Interest options side by side once the form is wide enough */
@container (min-width: 480px) {
  .form-card .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-card .tile { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 0; padding: 12px 12px 11px; }
  .form-card .tile .check { top: 12px; right: 12px; transform: none; }
  .form-card .tile b { font-size: 13.5px; }
  .form-card .tile small { font-size: 11.5px; }
}
@media (min-width: 1024px) {
  .hero { padding: 16px 0; }
  .form-inner { padding: 22px 28px 18px; }
  .form-head { padding-bottom: 12px; }
  .progress-head { margin-top: 12px; }
  .step { gap: 16px; margin-top: 14px; }
  .step-why { display: none; }
  .form-card .floor img { aspect-ratio: 4 / 3; }
  .area { padding: 12px; }
  .area-top { grid-template-columns: 76px 1fr; gap: 14px; }
  .area-val { font-size: 26px; }
  .area-range { margin-top: 10px; }
  .form-card .reassure { margin-top: 12px; padding-top: 10px; }
  /* Safety net for short screens: the card scrolls inside itself rather than dropping below the fold */
  .form-card { max-height: calc(100svh - 72px - 24px); overflow-y: auto; scrollbar-width: thin; }
  /* When the card scrolls, keep "Secure & private · No obligation" in view at its bottom edge */
  .form-card .reassure { position: sticky; bottom: 0; z-index: 2; margin-bottom: -18px; padding-bottom: 12px; background: #fff; }
}
/* ============ Compact step 1: whole step above the fold ============ */
.form-card .step[data-step="1"] { gap: 12px; }
.form-card .step[data-step="1"] .field { gap: 6px; }
.form-card .step[data-step="1"] .label { font-size: 14px; }
/* Interest tiles */
.form-card .tile { min-height: 46px; padding: 7px 38px 7px 10px; gap: 10px; }
.form-card .tile .t-ico { width: 28px; height: 28px; }
.form-card .tile .t-ico svg { width: 16px; height: 16px; }
.form-card .tile b { font-size: 13.5px; }
.form-card .tile small { font-size: 11.5px; }
/* Flooring photos: shorter */
.form-card .floors { gap: 6px; }
.form-card .floor { gap: 4px; }
.form-card .floor img { aspect-ratio: 3 / 2; }
.form-card .floor .check { top: 4px; right: 4px; width: 18px; height: 18px; }
/* Subfloor type: slim inline chips */
.picks.trio { gap: 6px; }
.picks.trio .pick { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: 0 8px; padding: 7px 24px 7px 8px; text-align: left; }
.picks.trio .pick .p-ico { grid-row: span 2; width: 28px; height: 28px; border-radius: 8px; }
.picks.trio .pick .p-ico svg { width: 16px; height: 16px; }
.picks.trio .pick b { font-size: 12.5px; }
.picks.trio .pick small { margin-top: 0; font-size: 11px; }
.picks.trio .pick .check { top: 50%; right: 6px; width: 16px; height: 16px; margin-top: -8px; }
.picks.trio .pick .check svg { width: 10px; height: 10px; }
/* Area size: one slim row */
.form-card .area { padding: 8px 12px 6px; }
.form-card .area-top { grid-template-columns: 40px 1fr; gap: 10px; }
.form-card .area-dim { display: none; }
.form-card .area-val { display: inline; font-size: 20px; }
.form-card .area-val small { font-size: 12px; }
/* Manual size entry: a small number box next to the description, kept in step with the slider */
.form-card .area-read { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 12px; }
.form-card .area-val { display: flex; grid-row: span 2; align-items: baseline; gap: 4px; cursor: text; }
.form-card .area-cat, .form-card .area-eg { display: block; margin: 0; }
.area-num { width: 4.6ch; height: 34px; padding: 0 6px; border: 1.5px solid #dcdcdc; border-radius: 8px; background: #fff; color: inherit; font: inherit; font-size: 18px; letter-spacing: 0; text-align: center; -moz-appearance: textfield; appearance: textfield; transition: border-color .2s, box-shadow .2s; }
.area-num::-webkit-outer-spin-button, .area-num::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.area-num::placeholder { color: #6b6b6b; }
.area-num:hover { border-color: #b8b8b8; }
.area-num:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(207, 30, 48, .15); }
.area.set .area-num { border-color: var(--red); }
@container (max-width: 440px) { .form-card .area-ticks span:nth-child(2) { display: none; } }
.form-card .area-cat { display: inline; margin: 0 0 0 8px; font-size: 12.5px; }
.form-card .area-eg { font-size: 11px; }
.form-card .area-range { height: 24px; margin-top: 4px; }
.form-card .area-range::-webkit-slider-runnable-track { height: 6px; }
.form-card .area-range::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -7px; border-width: 3px; }
.form-card .area-range::-moz-range-thumb { width: 14px; height: 14px; border-width: 3px; }
.form-card .area-ticks { height: 14px; margin-top: 0; font-size: 10px; }
.form-card .area-clear { margin-top: 4px; }
@container (min-width: 480px) {
  .form-card .tile { flex-direction: row; align-items: center; padding: 8px 30px 8px 10px; gap: 8px; }
  .form-card .tile .check { top: 8px; right: 8px; width: 16px; height: 16px; }
  .form-card .tile .check svg { width: 10px; height: 10px; }
  .form-card .tile b { font-size: 13px; }
  .form-card .tile small { display: none; }
}
/* Small phones: construction chips drop the sub-line, area example hidden */
@container (max-width: 440px) {
  .picks.trio .pick { grid-template-columns: 1fr; justify-items: center; gap: 4px; padding: 8px 4px; text-align: center; }
  .picks.trio .pick .p-ico { grid-row: auto; }
  .picks.trio .pick small { display: none; }
  .picks.trio .pick .check { top: 5px; right: 5px; margin-top: 0; }
  .form-card .area-eg { display: none; }
}
@media (min-width: 1024px) {
  .form-card .floor img { aspect-ratio: 16 / 10; }
}
/* ============ Scroll cue: quiet hint at the bottom of the hero (desktop) ============ */
.scroll-cue { display: none; }
@media (min-width: 1024px) and (min-height: 700px) {
  #how-it-works { scroll-margin-top: 72px; }
  .scroll-cue { position: absolute; left: max(16px, calc((100% - 1440px) / 2)); bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 999px; color: #5f5951; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: 0; animation: rise .9s var(--ease) 1.2s forwards; transition: color .25s, background .25s, opacity .4s, translate .4s var(--ease); }
  .scroll-cue:hover, .scroll-cue:focus-visible { color: var(--red); background: rgba(255, 255, 255, .6); }
  .scroll-cue:focus-visible { outline: 2px solid rgba(207, 30, 48, .4); outline-offset: 2px; }
  .cue-mouse { position: relative; width: 20px; height: 30px; border: 1.6px solid currentColor; border-radius: 11px; }
  .cue-mouse::before { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; border-radius: 2px; background: var(--red); translate: -50% 0; animation: cueWheel 1.8s var(--ease) infinite; }
  .cue-mouse::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; translate: -50% 0; rotate: 45deg; opacity: .6; animation: cueArrow 1.8s var(--ease) infinite; }
  .scroll-cue:hover .cue-mouse::after { opacity: 1; }
  .scroll-cue.gone { opacity: 0 !important; translate: 0 10px; pointer-events: none; animation: none; }
}
@keyframes cueWheel { 0% { opacity: 0; translate: -50% -2px; } 20% { opacity: 1; } 70% { opacity: 0; translate: -50% 8px; } 100% { opacity: 0; translate: -50% 8px; } }
@keyframes cueArrow { 0%, 100% { translate: -50% 0; } 50% { translate: -50% 3px; } }
@media (prefers-reduced-motion: reduce) { .cue-mouse::before, .cue-mouse::after { animation: none; } .scroll-cue { opacity: 1; } }

/* ============ Accessibility (WCAG 2.2 AA) ============ */
.wlp { --focus: #141416; }
#smartcare .sc-card, .t7-sec, .cta-band, .sticky-cta, .proof { --focus: #fff; }
/* Keep focused things clear of the sticky header and the mobile enquiry bar */
/* One clear focus ring for keyboard users everywhere */
:where(a, button, summary, input[type=range], [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
#main:focus, .form-card:focus, #stepLabel:focus, #successTitle:focus { outline: none; }
.form-card .input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.tile:has(input:focus-visible), .pick:has(input:focus-visible), .chip:has(input:focus-visible), .floor:has(input:focus-visible), .file:has(input:focus-visible), .ba:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.floor-unsure:has(input:focus-visible), .consent:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.area-range:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }
/* Skip links: hidden until tabbed to */
.skip-links { position: absolute; top: 8px; left: 8px; z-index: 100; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.skip-link { position: absolute; left: 0; top: 0; padding: 12px 18px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; cursor: pointer; transform: translateY(-200%); }
.skip-link:focus { --focus: var(--red); position: static; transform: none; }
/* Comfortable tap targets (24px minimum, 44px for the main ones) */
.back { min-height: 44px; padding: 0 12px; }
.area-clear { min-height: 24px; }
/* "Simple" area question: no size label, room examples line or "Not sure" link (the slider and room names stay). */
.area.area-simple .area-eg, .area.area-simple .area-clear { display: none !important; }
.area.area-noticks .area-ticks { display: none !important; }   /* "Hide the room names under the slider" */
/* Custom marks: dots on the track plus tappable presets below it. */
.area-ticks.area-marks, .form-card .area-ticks.area-marks { height: 8px; margin-top: 2px; }
.area-ticks.area-marks span { top: 0; width: 6px; height: 6px; border-radius: 50%; background: #cfcfcf; translate: -50% 0; }
.area-ticks.area-marks span::before { content: none; }
.area-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.area-preset { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 12.5px; cursor: pointer; transition: border-color .15s, background .15s; }
.area-preset b { font-weight: 700; }
.area-preset small { color: var(--muted); font-size: 11px; font-weight: 600; }
.area-preset:hover { border-color: #c9c9c9; }
.area-preset.on { border-color: var(--red); background: var(--red-soft); }
.area-preset.on small { color: var(--red); }
.area-preset:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.area.area-length .area-presets { display: none; }
@container (max-width: 440px) {
  .area-presets { display: grid; grid-template-columns: 1fr 1fr; }
  .area-preset { flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 10px; border-radius: 12px; font-size: 12px; text-align: left; }
}
.area.area-simple.set .area-cat { display: none !important; }   /* the size label ("Small area" …) once a size is chosen; the prompt before still shows */
/* Length mode (linear ft / m): no floor plan, room names or room examples. */
.area.area-length .area-plan, .area.area-length .area-ticks, .area.area-length .area-eg { display: none !important; }
.area.area-length .area-top { grid-template-columns: 1fr; }
/* Options hidden because of an earlier answer. */
.wlp [data-show-for][hidden] { display: none !important; }
.floor-unsure { min-height: 28px; }
.site-footer nav a, .site-footer .foot > a { display: inline-block; padding: 4px 0; }
.motion-btn { padding: 4px 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* Hidden sticky bar can't be seen by screen readers or tabbed to */
.sticky-cta { visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
.sticky-cta.show { visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
/* Pause animations (button in the skip links and footer) */
.motion-off *, .motion-off *::before, .motion-off *::after { animation-play-state: paused !important; }
.motion-off .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (forced-colors: active) {
  .tile:has(input:checked), .pick:has(input:checked), .chip:has(input:checked), .floor:has(input:checked) { outline: 3px solid Highlight; }
}

/* ============ Flat sections: no gradients; only T7, proof and CTA keep a (flat) background ============ */
section.hero, section.how, section.ufh, section.wb, section.cad, section.sus, section.faq, section.grey, section#smartcare, section#case-studies { background: none; }
/* Light sections alternate white / soft grey so neighbours read apart (dark T7, proof and red CTA untouched) */
.wlp { --soft: #f7f7f7; }
section.how, .reviews, section.ufh, section.wb, section.sus { background: var(--soft); }
.reviews { border-bottom: 0; }
.sus-stats li { background: #fff; }
.proof::before, .cad::before, .cta-band::before, .ufh::before, .ufh::after, .sus::before, .t7-sec::before, .t7-sec::after { content: none; }
.stats div { background: rgba(255, 255, 255, .05); }

/* ============ Laptop screens: the whole of step 1, button included, without scrolling the form ============ */
@media (min-width: 1024px) and (max-height: 860px) {
  .form-inner { padding-top: 16px !important; padding-bottom: 10px !important; }
  .form-head { padding-bottom: 10px; }
  .form-head h2 { font-size: 22px; line-height: 1.2; }
  .form-head p { margin-top: 4px; font-size: 13px; line-height: 1.4; }
  .form-head .gets { margin-top: 6px; gap: 4px 14px; font-size: 12px; }
  .progress-head { margin-top: 10px; }
  .step { gap: 10px !important; margin-top: 10px; }
  .form-card .step[data-step="1"] .field { gap: 5px; }
  .form-card .tile { min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
  .form-card .floor img { aspect-ratio: 5 / 2; }
  .form-card .pick small { display: none; }
  .form-card .picks .pick { padding-top: 8px; padding-bottom: 8px; }
  .area { padding: 8px 12px; }
  .area-top { grid-template-columns: 40px 1fr; gap: 12px; }
  .area-plan { width: 40px; height: 40px; }
  .area-eg, .area-ticks { display: none; }
  .area-range { margin-top: 6px; }
  .form-card .btn { min-height: 46px; }
  .form-card .reassure { margin-top: 8px; padding-top: 8px; padding-bottom: 8px; margin-bottom: -10px; }
  /* Very short screens: if the form still has to scroll, the button stays in view above the reassurance */
  .form-card .form-actions { position: sticky; bottom: 36px; z-index: 2; background: #fff; padding-top: 8px; }
}
@media (min-width: 1024px) and (max-height: 780px) {
  .form-head p { display: none; }
}

/* ============ Phone with country code ============ */
.phone-row { display: grid; grid-template-columns: minmax(104px, auto) 1fr; gap: 8px; }
.wlp .phone-row select.cc.input { width: auto; height: 100%; min-height: 52px; padding: 0 30px 0 12px; background-position: right 10px center; font-size: 14px; }
.phone-row .float { min-width: 0; }
.wlp[dir="rtl"] .phone-row { direction: ltr; }

/* ============ Phones: heading and intro over the photo, the form straight after ============ */
@media (max-width: 767px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 28px; }
  .hero > .hero-photo { grid-area: 1 / 1; aspect-ratio: auto; max-height: none; min-height: 260px; height: 100%; }
  .hero > .hero-photo img { object-position: 78% 22%; }
  .hero-grid { display: contents; }
  .hero-copy { grid-area: 1 / 1; z-index: 1; align-self: end; padding: 96px 16px 18px; background: linear-gradient(to top, rgba(22, 17, 12, .82) 0%, rgba(22, 17, 12, .62) 48%, rgba(22, 17, 12, 0) 100%); }
  .hero-copy h1 { color: #fff; font-size: clamp(25px, 7.2vw, 32px); line-height: 1.12; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
  .hero-copy .hero-sub { margin-top: 8px; max-width: none; color: rgba(255, 255, 255, .92); font-size: 13.5px; line-height: 1.5; }
  .hero-copy .sc-usp { background: rgba(255, 255, 255, .94); }
  .hero .photo-badge { top: 14px; bottom: auto; }
  .form-card, .hero-extra { width: calc(100% - 32px); margin-inline: auto; }
  .form-card { margin-top: 16px; }
  .hero-extra { margin-top: 22px; }
}
